Browse Source

build: build 2.5.21

dev
Evan You 6 years ago
parent
commit
b449e17eef
  1. 19
      dist/vue.common.js
  2. 19
      dist/vue.esm.js
  3. 19
      dist/vue.js
  4. 4
      dist/vue.min.js
  5. 11
      dist/vue.runtime.common.js
  6. 11
      dist/vue.runtime.esm.js
  7. 11
      dist/vue.runtime.js
  8. 4
      dist/vue.runtime.min.js
  9. 13
      packages/vue-server-renderer/basic.js
  10. 13
      packages/vue-server-renderer/build.js
  11. 2
      packages/vue-server-renderer/package.json
  12. 8
      packages/vue-template-compiler/browser.js
  13. 8
      packages/vue-template-compiler/build.js
  14. 2
      packages/vue-template-compiler/package.json

19
dist/vue.common.js

@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.20
* Vue.js v2.5.21
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
@ -2903,7 +2903,7 @@ function mountComponent (
// component's mounted hook), which relies on vm._watcher being already defined
new Watcher(vm, updateComponent, noop, {
before: function before () {
if (vm._isMounted) {
if (vm._isMounted && !vm._isDestroyed) {
callHook(vm, 'beforeUpdate');
}
}
@ -3844,9 +3844,10 @@ function renderList (
ret[i] = render(val[key], key, i);
}
}
if (isDef(ret)) {
(ret)._isVList = true;
if (!isDef(ret)) {
ret = [];
}
(ret)._isVList = true;
return ret
}
@ -5188,7 +5189,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});
Vue.version = '2.5.20';
Vue.version = '2.5.21';
/* */
@ -6846,7 +6847,7 @@ function genComponentModel (
el.model = {
value: ("(" + value + ")"),
expression: ("\"" + value + "\""),
expression: JSON.stringify(value),
callback: ("function (" + baseValueExpression + ") {" + assignment + "}")
};
}
@ -9467,7 +9468,7 @@ function processKey (el) {
var parent = el.parent;
if (iterator && iterator === exp && parent && parent.tag === 'transition-group') {
warn$2(
"Do not use v-for index as key on <transtion-group> children, " +
"Do not use v-for index as key on <transition-group> children, " +
"this is the same as not using keys."
);
}
@ -10584,7 +10585,9 @@ function genChildren (
el$1.tag !== 'template' &&
el$1.tag !== 'slot'
) {
var normalizationType = checkSkip && state.maybeComponent(el$1) ? ",1" : "";
var normalizationType = checkSkip
? state.maybeComponent(el$1) ? ",1" : ",0"
: "";
return ("" + ((altGenElement || genElement)(el$1, state)) + normalizationType)
}
var normalizationType$1 = checkSkip

19
dist/vue.esm.js

@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.20
* Vue.js v2.5.21
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
@ -2901,7 +2901,7 @@ function mountComponent (
// component's mounted hook), which relies on vm._watcher being already defined
new Watcher(vm, updateComponent, noop, {
before: function before () {
if (vm._isMounted) {
if (vm._isMounted && !vm._isDestroyed) {
callHook(vm, 'beforeUpdate');
}
}
@ -3842,9 +3842,10 @@ function renderList (
ret[i] = render(val[key], key, i);
}
}
if (isDef(ret)) {
(ret)._isVList = true;
if (!isDef(ret)) {
ret = [];
}
(ret)._isVList = true;
return ret
}
@ -5186,7 +5187,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});
Vue.version = '2.5.20';
Vue.version = '2.5.21';
/* */
@ -6844,7 +6845,7 @@ function genComponentModel (
el.model = {
value: ("(" + value + ")"),
expression: ("\"" + value + "\""),
expression: JSON.stringify(value),
callback: ("function (" + baseValueExpression + ") {" + assignment + "}")
};
}
@ -9465,7 +9466,7 @@ function processKey (el) {
var parent = el.parent;
if (iterator && iterator === exp && parent && parent.tag === 'transition-group') {
warn$2(
"Do not use v-for index as key on <transtion-group> children, " +
"Do not use v-for index as key on <transition-group> children, " +
"this is the same as not using keys."
);
}
@ -10582,7 +10583,9 @@ function genChildren (
el$1.tag !== 'template' &&
el$1.tag !== 'slot'
) {
var normalizationType = checkSkip && state.maybeComponent(el$1) ? ",1" : "";
var normalizationType = checkSkip
? state.maybeComponent(el$1) ? ",1" : ",0"
: "";
return ("" + ((altGenElement || genElement)(el$1, state)) + normalizationType)
}
var normalizationType$1 = checkSkip

19
dist/vue.js

@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.20
* Vue.js v2.5.21
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
@ -2899,7 +2899,7 @@
// component's mounted hook), which relies on vm._watcher being already defined
new Watcher(vm, updateComponent, noop, {
before: function before () {
if (vm._isMounted) {
if (vm._isMounted && !vm._isDestroyed) {
callHook(vm, 'beforeUpdate');
}
}
@ -3833,9 +3833,10 @@
ret[i] = render(val[key], key, i);
}
}
if (isDef(ret)) {
(ret)._isVList = true;
if (!isDef(ret)) {
ret = [];
}
(ret)._isVList = true;
return ret
}
@ -5170,7 +5171,7 @@
value: FunctionalRenderContext
});
Vue.version = '2.5.20';
Vue.version = '2.5.21';
/* */
@ -6826,7 +6827,7 @@
el.model = {
value: ("(" + value + ")"),
expression: ("\"" + value + "\""),
expression: JSON.stringify(value),
callback: ("function (" + baseValueExpression + ") {" + assignment + "}")
};
}
@ -9441,7 +9442,7 @@
var parent = el.parent;
if (iterator && iterator === exp && parent && parent.tag === 'transition-group') {
warn$2(
"Do not use v-for index as key on <transtion-group> children, " +
"Do not use v-for index as key on <transition-group> children, " +
"this is the same as not using keys."
);
}
@ -10553,7 +10554,9 @@
el$1.tag !== 'template' &&
el$1.tag !== 'slot'
) {
var normalizationType = checkSkip && state.maybeComponent(el$1) ? ",1" : "";
var normalizationType = checkSkip
? state.maybeComponent(el$1) ? ",1" : ",0"
: "";
return ("" + ((altGenElement || genElement)(el$1, state)) + normalizationType)
}
var normalizationType$1 = checkSkip

4
dist/vue.min.js

File diff suppressed because one or more lines are too long

11
dist/vue.runtime.common.js

@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.20
* Vue.js v2.5.21
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
@ -2894,7 +2894,7 @@ function mountComponent (
// component's mounted hook), which relies on vm._watcher being already defined
new Watcher(vm, updateComponent, noop, {
before: function before () {
if (vm._isMounted) {
if (vm._isMounted && !vm._isDestroyed) {
callHook(vm, 'beforeUpdate');
}
}
@ -3835,9 +3835,10 @@ function renderList (
ret[i] = render(val[key], key, i);
}
}
if (isDef(ret)) {
(ret)._isVList = true;
if (!isDef(ret)) {
ret = [];
}
(ret)._isVList = true;
return ret
}
@ -5179,7 +5180,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});
Vue.version = '2.5.20';
Vue.version = '2.5.21';
/* */

11
dist/vue.runtime.esm.js

@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.20
* Vue.js v2.5.21
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
@ -2892,7 +2892,7 @@ function mountComponent (
// component's mounted hook), which relies on vm._watcher being already defined
new Watcher(vm, updateComponent, noop, {
before: function before () {
if (vm._isMounted) {
if (vm._isMounted && !vm._isDestroyed) {
callHook(vm, 'beforeUpdate');
}
}
@ -3833,9 +3833,10 @@ function renderList (
ret[i] = render(val[key], key, i);
}
}
if (isDef(ret)) {
(ret)._isVList = true;
if (!isDef(ret)) {
ret = [];
}
(ret)._isVList = true;
return ret
}
@ -5177,7 +5178,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});
Vue.version = '2.5.20';
Vue.version = '2.5.21';
/* */

11
dist/vue.runtime.js

@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.20
* Vue.js v2.5.21
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
@ -2890,7 +2890,7 @@
// component's mounted hook), which relies on vm._watcher being already defined
new Watcher(vm, updateComponent, noop, {
before: function before () {
if (vm._isMounted) {
if (vm._isMounted && !vm._isDestroyed) {
callHook(vm, 'beforeUpdate');
}
}
@ -3824,9 +3824,10 @@
ret[i] = render(val[key], key, i);
}
}
if (isDef(ret)) {
(ret)._isVList = true;
if (!isDef(ret)) {
ret = [];
}
(ret)._isVList = true;
return ret
}
@ -5161,7 +5162,7 @@
value: FunctionalRenderContext
});
Vue.version = '2.5.20';
Vue.version = '2.5.21';
/* */

4
dist/vue.runtime.min.js

File diff suppressed because one or more lines are too long

13
packages/vue-server-renderer/basic.js

@ -3467,7 +3467,7 @@
el.model = {
value: ("(" + value + ")"),
expression: ("\"" + value + "\""),
expression: JSON.stringify(value),
callback: ("function (" + baseValueExpression + ") {" + assignment + "}")
};
}
@ -3909,7 +3909,7 @@
var parent = el.parent;
if (iterator && iterator === exp && parent && parent.tag === 'transition-group') {
warn$1(
"Do not use v-for index as key on <transtion-group> children, " +
"Do not use v-for index as key on <transition-group> children, " +
"this is the same as not using keys."
);
}
@ -5058,7 +5058,9 @@
el$1.tag !== 'template' &&
el$1.tag !== 'slot'
) {
var normalizationType = checkSkip && state.maybeComponent(el$1) ? ",1" : "";
var normalizationType = checkSkip
? state.maybeComponent(el$1) ? ",1" : ",0"
: "";
return ("" + ((altGenElement || genElement)(el$1, state)) + normalizationType)
}
var normalizationType$1 = checkSkip
@ -6884,9 +6886,10 @@
ret[i] = render(val[key], key, i);
}
}
if (isDef(ret)) {
(ret)._isVList = true;
if (!isDef(ret)) {
ret = [];
}
(ret)._isVList = true;
return ret
}

13
packages/vue-server-renderer/build.js

@ -3228,7 +3228,7 @@ function genComponentModel (
el.model = {
value: ("(" + value + ")"),
expression: ("\"" + value + "\""),
expression: JSON.stringify(value),
callback: ("function (" + baseValueExpression + ") {" + assignment + "}")
};
}
@ -3670,7 +3670,7 @@ function processKey (el) {
var parent = el.parent;
if (iterator && iterator === exp && parent && parent.tag === 'transition-group') {
warn$1(
"Do not use v-for index as key on <transtion-group> children, " +
"Do not use v-for index as key on <transition-group> children, " +
"this is the same as not using keys."
);
}
@ -4824,7 +4824,9 @@ function genChildren (
el$1.tag !== 'template' &&
el$1.tag !== 'slot'
) {
var normalizationType = checkSkip && state.maybeComponent(el$1) ? ",1" : "";
var normalizationType = checkSkip
? state.maybeComponent(el$1) ? ",1" : ",0"
: "";
return ("" + ((altGenElement || genElement)(el$1, state)) + normalizationType)
}
var normalizationType$1 = checkSkip
@ -6656,9 +6658,10 @@ function renderList (
ret[i] = render(val[key], key, i);
}
}
if (isDef(ret)) {
(ret)._isVList = true;
if (!isDef(ret)) {
ret = [];
}
(ret)._isVList = true;
return ret
}

2
packages/vue-server-renderer/package.json

@ -1,6 +1,6 @@
{
"name": "vue-server-renderer",
"version": "2.5.20",
"version": "2.5.21",
"description": "server renderer for Vue 2.0",
"main": "index.js",
"types": "types/index.d.ts",

8
packages/vue-template-compiler/browser.js

@ -2464,7 +2464,7 @@
el.model = {
value: ("(" + value + ")"),
expression: ("\"" + value + "\""),
expression: JSON.stringify(value),
callback: ("function (" + baseValueExpression + ") {" + assignment + "}")
};
}
@ -2906,7 +2906,7 @@
var parent = el.parent;
if (iterator && iterator === exp && parent && parent.tag === 'transition-group') {
warn$1(
"Do not use v-for index as key on <transtion-group> children, " +
"Do not use v-for index as key on <transition-group> children, " +
"this is the same as not using keys."
);
}
@ -4182,7 +4182,9 @@
el$1.tag !== 'template' &&
el$1.tag !== 'slot'
) {
var normalizationType = checkSkip && state.maybeComponent(el$1) ? ",1" : "";
var normalizationType = checkSkip
? state.maybeComponent(el$1) ? ",1" : ",0"
: "";
return ("" + ((altGenElement || genElement)(el$1, state)) + normalizationType)
}
var normalizationType$1 = checkSkip

8
packages/vue-template-compiler/build.js

@ -2084,7 +2084,7 @@ function genComponentModel (
el.model = {
value: ("(" + value + ")"),
expression: ("\"" + value + "\""),
expression: JSON.stringify(value),
callback: ("function (" + baseValueExpression + ") {" + assignment + "}")
};
}
@ -2526,7 +2526,7 @@ function processKey (el) {
var parent = el.parent;
if (iterator && iterator === exp && parent && parent.tag === 'transition-group') {
warn$1(
"Do not use v-for index as key on <transtion-group> children, " +
"Do not use v-for index as key on <transition-group> children, " +
"this is the same as not using keys."
);
}
@ -3814,7 +3814,9 @@ function genChildren (
el$1.tag !== 'template' &&
el$1.tag !== 'slot'
) {
var normalizationType = checkSkip && state.maybeComponent(el$1) ? ",1" : "";
var normalizationType = checkSkip
? state.maybeComponent(el$1) ? ",1" : ",0"
: "";
return ("" + ((altGenElement || genElement)(el$1, state)) + normalizationType)
}
var normalizationType$1 = checkSkip

2
packages/vue-template-compiler/package.json

@ -1,6 +1,6 @@
{
"name": "vue-template-compiler",
"version": "2.5.20",
"version": "2.5.21",
"description": "template compiler for Vue 2.0",
"main": "index.js",
"unpkg": "browser.js",

Loading…
Cancel
Save