Skip to content

Commit ac7a5bd

Browse files
committed
build: build 2.6.6
1 parent 29c348f commit ac7a5bd

19 files changed

+211
-43
lines changed

dist/vue.common.dev.js

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.6.5
2+
* Vue.js v2.6.6
33
* (c) 2014-2019 Evan You
44
* Released under the MIT License.
55
*/
@@ -5379,7 +5379,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
53795379
value: FunctionalRenderContext
53805380
});
53815381

5382-
Vue.version = '2.6.5';
5382+
Vue.version = '2.6.6';
53835383

53845384
/* */
53855385

@@ -10791,7 +10791,13 @@ function genHandler (handler) {
1079110791
}
1079210792

1079310793
function genKeyFilter (keys) {
10794-
return ("if(('keyCode' in $event)&&" + (keys.map(genFilterCode).join('&&')) + ")return null;")
10794+
return (
10795+
// make sure the key filters only apply to KeyboardEvents
10796+
// #9441: can't use 'keyCode' in $event because Chrome autofill fires fake
10797+
// key events that do not have keyCode property...
10798+
"if(!$event.type.indexOf('key')&&" +
10799+
(keys.map(genFilterCode).join('&&')) + ")return null;"
10800+
)
1079510801
}
1079610802

1079710803
function genFilterCode (key) {
@@ -11154,7 +11160,12 @@ function genScopedSlots (
1115411160
// for example if the slot contains dynamic names, has v-if or v-for on them...
1115511161
var needsForceUpdate = Object.keys(slots).some(function (key) {
1115611162
var slot = slots[key];
11157-
return slot.slotTargetDynamic || slot.if || slot.for
11163+
return (
11164+
slot.slotTargetDynamic ||
11165+
slot.if ||
11166+
slot.for ||
11167+
containsSlotChild(slot) // is passing down slot from parent which may be dynamic
11168+
)
1115811169
});
1115911170
// OR when it is inside another scoped slot (the reactivity is disconnected)
1116011171
// #9438
@@ -11174,6 +11185,16 @@ function genScopedSlots (
1117411185
}).join(',')) + "]" + (needsForceUpdate ? ",true" : "") + ")")
1117511186
}
1117611187

11188+
function containsSlotChild (el) {
11189+
if (el.type === 1) {
11190+
if (el.tag === 'slot') {
11191+
return true
11192+
}
11193+
return el.children.some(containsSlotChild)
11194+
}
11195+
return false
11196+
}
11197+
1117711198
function genScopedSlot (
1117811199
el,
1117911200
state

dist/vue.common.prod.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue.esm.browser.js

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.6.5
2+
* Vue.js v2.6.6
33
* (c) 2014-2019 Evan You
44
* Released under the MIT License.
55
*/
@@ -5410,7 +5410,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
54105410
value: FunctionalRenderContext
54115411
});
54125412

5413-
Vue.version = '2.6.5';
5413+
Vue.version = '2.6.6';
54145414

54155415
/* */
54165416

@@ -10806,7 +10806,13 @@ function genHandler (handler) {
1080610806
}
1080710807

1080810808
function genKeyFilter (keys) {
10809-
return `if(('keyCode' in $event)&&${keys.map(genFilterCode).join('&&')})return null;`
10809+
return (
10810+
// make sure the key filters only apply to KeyboardEvents
10811+
// #9441: can't use 'keyCode' in $event because Chrome autofill fires fake
10812+
// key events that do not have keyCode property...
10813+
`if(!$event.type.indexOf('key')&&` +
10814+
`${keys.map(genFilterCode).join('&&')})return null;`
10815+
)
1081010816
}
1081110817

1081210818
function genFilterCode (key) {
@@ -11213,7 +11219,12 @@ function genScopedSlots (
1121311219
// for example if the slot contains dynamic names, has v-if or v-for on them...
1121411220
let needsForceUpdate = Object.keys(slots).some(key => {
1121511221
const slot = slots[key];
11216-
return slot.slotTargetDynamic || slot.if || slot.for
11222+
return (
11223+
slot.slotTargetDynamic ||
11224+
slot.if ||
11225+
slot.for ||
11226+
containsSlotChild(slot) // is passing down slot from parent which may be dynamic
11227+
)
1121711228
});
1121811229
// OR when it is inside another scoped slot (the reactivity is disconnected)
1121911230
// #9438
@@ -11235,6 +11246,16 @@ function genScopedSlots (
1123511246
}]${needsForceUpdate ? `,true` : ``})`
1123611247
}
1123711248

11249+
function containsSlotChild (el) {
11250+
if (el.type === 1) {
11251+
if (el.tag === 'slot') {
11252+
return true
11253+
}
11254+
return el.children.some(containsSlotChild)
11255+
}
11256+
return false
11257+
}
11258+
1123811259
function genScopedSlot (
1123911260
el,
1124011261
state

dist/vue.esm.browser.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue.esm.js

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.6.5
2+
* Vue.js v2.6.6
33
* (c) 2014-2019 Evan You
44
* Released under the MIT License.
55
*/
@@ -5399,7 +5399,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
53995399
value: FunctionalRenderContext
54005400
});
54015401

5402-
Vue.version = '2.6.5';
5402+
Vue.version = '2.6.6';
54035403

54045404
/* */
54055405

@@ -10822,7 +10822,13 @@ function genHandler (handler) {
1082210822
}
1082310823

1082410824
function genKeyFilter (keys) {
10825-
return ("if(('keyCode' in $event)&&" + (keys.map(genFilterCode).join('&&')) + ")return null;")
10825+
return (
10826+
// make sure the key filters only apply to KeyboardEvents
10827+
// #9441: can't use 'keyCode' in $event because Chrome autofill fires fake
10828+
// key events that do not have keyCode property...
10829+
"if(!$event.type.indexOf('key')&&" +
10830+
(keys.map(genFilterCode).join('&&')) + ")return null;"
10831+
)
1082610832
}
1082710833

1082810834
function genFilterCode (key) {
@@ -11188,7 +11194,12 @@ function genScopedSlots (
1118811194
// for example if the slot contains dynamic names, has v-if or v-for on them...
1118911195
var needsForceUpdate = Object.keys(slots).some(function (key) {
1119011196
var slot = slots[key];
11191-
return slot.slotTargetDynamic || slot.if || slot.for
11197+
return (
11198+
slot.slotTargetDynamic ||
11199+
slot.if ||
11200+
slot.for ||
11201+
containsSlotChild(slot) // is passing down slot from parent which may be dynamic
11202+
)
1119211203
});
1119311204
// OR when it is inside another scoped slot (the reactivity is disconnected)
1119411205
// #9438
@@ -11208,6 +11219,16 @@ function genScopedSlots (
1120811219
}).join(',')) + "]" + (needsForceUpdate ? ",true" : "") + ")")
1120911220
}
1121011221

11222+
function containsSlotChild (el) {
11223+
if (el.type === 1) {
11224+
if (el.tag === 'slot') {
11225+
return true
11226+
}
11227+
return el.children.some(containsSlotChild)
11228+
}
11229+
return false
11230+
}
11231+
1121111232
function genScopedSlot (
1121211233
el,
1121311234
state

dist/vue.js

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.6.5
2+
* Vue.js v2.6.6
33
* (c) 2014-2019 Evan You
44
* Released under the MIT License.
55
*/
@@ -5383,7 +5383,7 @@
53835383
value: FunctionalRenderContext
53845384
});
53855385

5386-
Vue.version = '2.6.5';
5386+
Vue.version = '2.6.6';
53875387

53885388
/* */
53895389

@@ -10795,7 +10795,13 @@
1079510795
}
1079610796

1079710797
function genKeyFilter (keys) {
10798-
return ("if(('keyCode' in $event)&&" + (keys.map(genFilterCode).join('&&')) + ")return null;")
10798+
return (
10799+
// make sure the key filters only apply to KeyboardEvents
10800+
// #9441: can't use 'keyCode' in $event because Chrome autofill fires fake
10801+
// key events that do not have keyCode property...
10802+
"if(!$event.type.indexOf('key')&&" +
10803+
(keys.map(genFilterCode).join('&&')) + ")return null;"
10804+
)
1079910805
}
1080010806

1080110807
function genFilterCode (key) {
@@ -11158,7 +11164,12 @@
1115811164
// for example if the slot contains dynamic names, has v-if or v-for on them...
1115911165
var needsForceUpdate = Object.keys(slots).some(function (key) {
1116011166
var slot = slots[key];
11161-
return slot.slotTargetDynamic || slot.if || slot.for
11167+
return (
11168+
slot.slotTargetDynamic ||
11169+
slot.if ||
11170+
slot.for ||
11171+
containsSlotChild(slot) // is passing down slot from parent which may be dynamic
11172+
)
1116211173
});
1116311174
// OR when it is inside another scoped slot (the reactivity is disconnected)
1116411175
// #9438
@@ -11178,6 +11189,16 @@
1117811189
}).join(',')) + "]" + (needsForceUpdate ? ",true" : "") + ")")
1117911190
}
1118011191

11192+
function containsSlotChild (el) {
11193+
if (el.type === 1) {
11194+
if (el.tag === 'slot') {
11195+
return true
11196+
}
11197+
return el.children.some(containsSlotChild)
11198+
}
11199+
return false
11200+
}
11201+
1118111202
function genScopedSlot (
1118211203
el,
1118311204
state

dist/vue.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue.runtime.common.dev.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.6.5
2+
* Vue.js v2.6.6
33
* (c) 2014-2019 Evan You
44
* Released under the MIT License.
55
*/
@@ -5370,7 +5370,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
53705370
value: FunctionalRenderContext
53715371
});
53725372

5373-
Vue.version = '2.6.5';
5373+
Vue.version = '2.6.6';
53745374

53755375
/* */
53765376

dist/vue.runtime.common.prod.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue.runtime.esm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.6.5
2+
* Vue.js v2.6.6
33
* (c) 2014-2019 Evan You
44
* Released under the MIT License.
55
*/
@@ -5390,7 +5390,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
53905390
value: FunctionalRenderContext
53915391
});
53925392

5393-
Vue.version = '2.6.5';
5393+
Vue.version = '2.6.6';
53945394

53955395
/* */
53965396

0 commit comments

Comments
 (0)