build: build 2.5.21

This commit is contained in:
Evan You 2018-12-11 17:52:18 -05:00
parent 847e493768
commit b449e17eef
14 changed files with 83 additions and 61 deletions

19
dist/vue.common.js vendored
View File

@ -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 vendored
View File

@ -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 vendored
View File

@ -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 vendored

File diff suppressed because one or more lines are too long

View File

@ -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';
/* */

View File

@ -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 vendored
View File

@ -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';
/* */

File diff suppressed because one or more lines are too long

View File

@ -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
}

View File

@ -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
}

View File

@ -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",

View File

@ -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

View File

@ -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

View File

@ -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",