build: build 2.6.6

This commit is contained in:
Evan You 2019-02-11 23:20:04 -05:00
parent 29c348f3cf
commit ac7a5bdaed
19 changed files with 211 additions and 43 deletions

View File

@ -1,5 +1,5 @@
/*!
* Vue.js v2.6.5
* Vue.js v2.6.6
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
@ -5379,7 +5379,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});
Vue.version = '2.6.5';
Vue.version = '2.6.6';
/* */
@ -10791,7 +10791,13 @@ function genHandler (handler) {
}
function genKeyFilter (keys) {
return ("if(('keyCode' in $event)&&" + (keys.map(genFilterCode).join('&&')) + ")return null;")
return (
// make sure the key filters only apply to KeyboardEvents
// #9441: can't use 'keyCode' in $event because Chrome autofill fires fake
// key events that do not have keyCode property...
"if(!$event.type.indexOf('key')&&" +
(keys.map(genFilterCode).join('&&')) + ")return null;"
)
}
function genFilterCode (key) {
@ -11154,7 +11160,12 @@ function genScopedSlots (
// for example if the slot contains dynamic names, has v-if or v-for on them...
var needsForceUpdate = Object.keys(slots).some(function (key) {
var slot = slots[key];
return slot.slotTargetDynamic || slot.if || slot.for
return (
slot.slotTargetDynamic ||
slot.if ||
slot.for ||
containsSlotChild(slot) // is passing down slot from parent which may be dynamic
)
});
// OR when it is inside another scoped slot (the reactivity is disconnected)
// #9438
@ -11174,6 +11185,16 @@ function genScopedSlots (
}).join(',')) + "]" + (needsForceUpdate ? ",true" : "") + ")")
}
function containsSlotChild (el) {
if (el.type === 1) {
if (el.tag === 'slot') {
return true
}
return el.children.some(containsSlotChild)
}
return false
}
function genScopedSlot (
el,
state

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
/*!
* Vue.js v2.6.5
* Vue.js v2.6.6
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
@ -5410,7 +5410,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});
Vue.version = '2.6.5';
Vue.version = '2.6.6';
/* */
@ -10806,7 +10806,13 @@ function genHandler (handler) {
}
function genKeyFilter (keys) {
return `if(('keyCode' in $event)&&${keys.map(genFilterCode).join('&&')})return null;`
return (
// make sure the key filters only apply to KeyboardEvents
// #9441: can't use 'keyCode' in $event because Chrome autofill fires fake
// key events that do not have keyCode property...
`if(!$event.type.indexOf('key')&&` +
`${keys.map(genFilterCode).join('&&')})return null;`
)
}
function genFilterCode (key) {
@ -11213,7 +11219,12 @@ function genScopedSlots (
// for example if the slot contains dynamic names, has v-if or v-for on them...
let needsForceUpdate = Object.keys(slots).some(key => {
const slot = slots[key];
return slot.slotTargetDynamic || slot.if || slot.for
return (
slot.slotTargetDynamic ||
slot.if ||
slot.for ||
containsSlotChild(slot) // is passing down slot from parent which may be dynamic
)
});
// OR when it is inside another scoped slot (the reactivity is disconnected)
// #9438
@ -11235,6 +11246,16 @@ function genScopedSlots (
}]${needsForceUpdate ? `,true` : ``})`
}
function containsSlotChild (el) {
if (el.type === 1) {
if (el.tag === 'slot') {
return true
}
return el.children.some(containsSlotChild)
}
return false
}
function genScopedSlot (
el,
state

File diff suppressed because one or more lines are too long

29
dist/vue.esm.js vendored
View File

@ -1,5 +1,5 @@
/*!
* Vue.js v2.6.5
* Vue.js v2.6.6
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
@ -5399,7 +5399,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});
Vue.version = '2.6.5';
Vue.version = '2.6.6';
/* */
@ -10822,7 +10822,13 @@ function genHandler (handler) {
}
function genKeyFilter (keys) {
return ("if(('keyCode' in $event)&&" + (keys.map(genFilterCode).join('&&')) + ")return null;")
return (
// make sure the key filters only apply to KeyboardEvents
// #9441: can't use 'keyCode' in $event because Chrome autofill fires fake
// key events that do not have keyCode property...
"if(!$event.type.indexOf('key')&&" +
(keys.map(genFilterCode).join('&&')) + ")return null;"
)
}
function genFilterCode (key) {
@ -11188,7 +11194,12 @@ function genScopedSlots (
// for example if the slot contains dynamic names, has v-if or v-for on them...
var needsForceUpdate = Object.keys(slots).some(function (key) {
var slot = slots[key];
return slot.slotTargetDynamic || slot.if || slot.for
return (
slot.slotTargetDynamic ||
slot.if ||
slot.for ||
containsSlotChild(slot) // is passing down slot from parent which may be dynamic
)
});
// OR when it is inside another scoped slot (the reactivity is disconnected)
// #9438
@ -11208,6 +11219,16 @@ function genScopedSlots (
}).join(',')) + "]" + (needsForceUpdate ? ",true" : "") + ")")
}
function containsSlotChild (el) {
if (el.type === 1) {
if (el.tag === 'slot') {
return true
}
return el.children.some(containsSlotChild)
}
return false
}
function genScopedSlot (
el,
state

29
dist/vue.js vendored
View File

@ -1,5 +1,5 @@
/*!
* Vue.js v2.6.5
* Vue.js v2.6.6
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
@ -5383,7 +5383,7 @@
value: FunctionalRenderContext
});
Vue.version = '2.6.5';
Vue.version = '2.6.6';
/* */
@ -10795,7 +10795,13 @@
}
function genKeyFilter (keys) {
return ("if(('keyCode' in $event)&&" + (keys.map(genFilterCode).join('&&')) + ")return null;")
return (
// make sure the key filters only apply to KeyboardEvents
// #9441: can't use 'keyCode' in $event because Chrome autofill fires fake
// key events that do not have keyCode property...
"if(!$event.type.indexOf('key')&&" +
(keys.map(genFilterCode).join('&&')) + ")return null;"
)
}
function genFilterCode (key) {
@ -11158,7 +11164,12 @@
// for example if the slot contains dynamic names, has v-if or v-for on them...
var needsForceUpdate = Object.keys(slots).some(function (key) {
var slot = slots[key];
return slot.slotTargetDynamic || slot.if || slot.for
return (
slot.slotTargetDynamic ||
slot.if ||
slot.for ||
containsSlotChild(slot) // is passing down slot from parent which may be dynamic
)
});
// OR when it is inside another scoped slot (the reactivity is disconnected)
// #9438
@ -11178,6 +11189,16 @@
}).join(',')) + "]" + (needsForceUpdate ? ",true" : "") + ")")
}
function containsSlotChild (el) {
if (el.type === 1) {
if (el.tag === 'slot') {
return true
}
return el.children.some(containsSlotChild)
}
return false
}
function genScopedSlot (
el,
state

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.6.5
* Vue.js v2.6.6
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
@ -5370,7 +5370,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});
Vue.version = '2.6.5';
Vue.version = '2.6.6';
/* */

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
/*!
* Vue.js v2.6.5
* Vue.js v2.6.6
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
@ -5390,7 +5390,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});
Vue.version = '2.6.5';
Vue.version = '2.6.6';
/* */

4
dist/vue.runtime.js vendored
View File

@ -1,5 +1,5 @@
/*!
* Vue.js v2.6.5
* Vue.js v2.6.6
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
@ -5374,7 +5374,7 @@
value: FunctionalRenderContext
});
Vue.version = '2.6.5';
Vue.version = '2.6.6';
/* */

File diff suppressed because one or more lines are too long

View File

@ -5156,7 +5156,13 @@
}
function genKeyFilter (keys) {
return ("if(('keyCode' in $event)&&" + (keys.map(genFilterCode).join('&&')) + ")return null;")
return (
// make sure the key filters only apply to KeyboardEvents
// #9441: can't use 'keyCode' in $event because Chrome autofill fires fake
// key events that do not have keyCode property...
"if(!$event.type.indexOf('key')&&" +
(keys.map(genFilterCode).join('&&')) + ")return null;"
)
}
function genFilterCode (key) {
@ -5519,7 +5525,12 @@
// for example if the slot contains dynamic names, has v-if or v-for on them...
var needsForceUpdate = Object.keys(slots).some(function (key) {
var slot = slots[key];
return slot.slotTargetDynamic || slot.if || slot.for
return (
slot.slotTargetDynamic ||
slot.if ||
slot.for ||
containsSlotChild(slot) // is passing down slot from parent which may be dynamic
)
});
// OR when it is inside another scoped slot (the reactivity is disconnected)
// #9438
@ -5539,6 +5550,16 @@
}).join(',')) + "]" + (needsForceUpdate ? ",true" : "") + ")")
}
function containsSlotChild (el) {
if (el.type === 1) {
if (el.tag === 'slot') {
return true
}
return el.children.some(containsSlotChild)
}
return false
}
function genScopedSlot (
el,
state

View File

@ -4906,7 +4906,13 @@ function genHandler (handler) {
}
function genKeyFilter (keys) {
return ("if(('keyCode' in $event)&&" + (keys.map(genFilterCode).join('&&')) + ")return null;")
return (
// make sure the key filters only apply to KeyboardEvents
// #9441: can't use 'keyCode' in $event because Chrome autofill fires fake
// key events that do not have keyCode property...
"if(!$event.type.indexOf('key')&&" +
(keys.map(genFilterCode).join('&&')) + ")return null;"
)
}
function genFilterCode (key) {
@ -5269,7 +5275,12 @@ function genScopedSlots (
// for example if the slot contains dynamic names, has v-if or v-for on them...
var needsForceUpdate = Object.keys(slots).some(function (key) {
var slot = slots[key];
return slot.slotTargetDynamic || slot.if || slot.for
return (
slot.slotTargetDynamic ||
slot.if ||
slot.for ||
containsSlotChild(slot) // is passing down slot from parent which may be dynamic
)
});
// OR when it is inside another scoped slot (the reactivity is disconnected)
// #9438
@ -5289,6 +5300,16 @@ function genScopedSlots (
}).join(',')) + "]" + (needsForceUpdate ? ",true" : "") + ")")
}
function containsSlotChild (el) {
if (el.type === 1) {
if (el.tag === 'slot') {
return true
}
return el.children.some(containsSlotChild)
}
return false
}
function genScopedSlot (
el,
state

File diff suppressed because one or more lines are too long

View File

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

View File

@ -4216,7 +4216,13 @@
}
function genKeyFilter (keys) {
return ("if(('keyCode' in $event)&&" + (keys.map(genFilterCode).join('&&')) + ")return null;")
return (
// make sure the key filters only apply to KeyboardEvents
// #9441: can't use 'keyCode' in $event because Chrome autofill fires fake
// key events that do not have keyCode property...
"if(!$event.type.indexOf('key')&&" +
(keys.map(genFilterCode).join('&&')) + ")return null;"
)
}
function genFilterCode (key) {
@ -4579,7 +4585,12 @@
// for example if the slot contains dynamic names, has v-if or v-for on them...
var needsForceUpdate = Object.keys(slots).some(function (key) {
var slot = slots[key];
return slot.slotTargetDynamic || slot.if || slot.for
return (
slot.slotTargetDynamic ||
slot.if ||
slot.for ||
containsSlotChild(slot) // is passing down slot from parent which may be dynamic
)
});
// OR when it is inside another scoped slot (the reactivity is disconnected)
// #9438
@ -4599,6 +4610,16 @@
}).join(',')) + "]" + (needsForceUpdate ? ",true" : "") + ")")
}
function containsSlotChild (el) {
if (el.type === 1) {
if (el.tag === 'slot') {
return true
}
return el.children.some(containsSlotChild)
}
return false
}
function genScopedSlot (
el,
state

View File

@ -3846,7 +3846,13 @@ function genHandler (handler) {
}
function genKeyFilter (keys) {
return ("if(('keyCode' in $event)&&" + (keys.map(genFilterCode).join('&&')) + ")return null;")
return (
// make sure the key filters only apply to KeyboardEvents
// #9441: can't use 'keyCode' in $event because Chrome autofill fires fake
// key events that do not have keyCode property...
"if(!$event.type.indexOf('key')&&" +
(keys.map(genFilterCode).join('&&')) + ")return null;"
)
}
function genFilterCode (key) {
@ -4212,7 +4218,12 @@ function genScopedSlots (
// for example if the slot contains dynamic names, has v-if or v-for on them...
var needsForceUpdate = Object.keys(slots).some(function (key) {
var slot = slots[key];
return slot.slotTargetDynamic || slot.if || slot.for
return (
slot.slotTargetDynamic ||
slot.if ||
slot.for ||
containsSlotChild(slot) // is passing down slot from parent which may be dynamic
)
});
// OR when it is inside another scoped slot (the reactivity is disconnected)
// #9438
@ -4232,6 +4243,16 @@ function genScopedSlots (
}).join(',')) + "]" + (needsForceUpdate ? ",true" : "") + ")")
}
function containsSlotChild (el) {
if (el.type === 1) {
if (el.tag === 'slot') {
return true
}
return el.children.some(containsSlotChild)
}
return false
}
function genScopedSlot (
el,
state

View File

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