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

+25-4
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

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue.esm.browser.js

+25-4
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

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue.esm.js

+25-4
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

+25-4
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

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue.runtime.common.dev.js

+2-2
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

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue.runtime.esm.js

+2-2
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

dist/vue.runtime.js

+2-2
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
*/
@@ -5374,7 +5374,7 @@
53745374
value: FunctionalRenderContext
53755375
});
53765376

5377-
Vue.version = '2.6.5';
5377+
Vue.version = '2.6.6';
53785378

53795379
/* */
53805380

dist/vue.runtime.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/vue-server-renderer/basic.js

+23-2
Original file line numberDiff line numberDiff line change
@@ -5156,7 +5156,13 @@
51565156
}
51575157

51585158
function genKeyFilter (keys) {
5159-
return ("if(('keyCode' in $event)&&" + (keys.map(genFilterCode).join('&&')) + ")return null;")
5159+
return (
5160+
// make sure the key filters only apply to KeyboardEvents
5161+
// #9441: can't use 'keyCode' in $event because Chrome autofill fires fake
5162+
// key events that do not have keyCode property...
5163+
"if(!$event.type.indexOf('key')&&" +
5164+
(keys.map(genFilterCode).join('&&')) + ")return null;"
5165+
)
51605166
}
51615167

51625168
function genFilterCode (key) {
@@ -5519,7 +5525,12 @@
55195525
// for example if the slot contains dynamic names, has v-if or v-for on them...
55205526
var needsForceUpdate = Object.keys(slots).some(function (key) {
55215527
var slot = slots[key];
5522-
return slot.slotTargetDynamic || slot.if || slot.for
5528+
return (
5529+
slot.slotTargetDynamic ||
5530+
slot.if ||
5531+
slot.for ||
5532+
containsSlotChild(slot) // is passing down slot from parent which may be dynamic
5533+
)
55235534
});
55245535
// OR when it is inside another scoped slot (the reactivity is disconnected)
55255536
// #9438
@@ -5539,6 +5550,16 @@
55395550
}).join(',')) + "]" + (needsForceUpdate ? ",true" : "") + ")")
55405551
}
55415552

5553+
function containsSlotChild (el) {
5554+
if (el.type === 1) {
5555+
if (el.tag === 'slot') {
5556+
return true
5557+
}
5558+
return el.children.some(containsSlotChild)
5559+
}
5560+
return false
5561+
}
5562+
55425563
function genScopedSlot (
55435564
el,
55445565
state

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

+23-2
Original file line numberDiff line numberDiff line change
@@ -4906,7 +4906,13 @@ function genHandler (handler) {
49064906
}
49074907

49084908
function genKeyFilter (keys) {
4909-
return ("if(('keyCode' in $event)&&" + (keys.map(genFilterCode).join('&&')) + ")return null;")
4909+
return (
4910+
// make sure the key filters only apply to KeyboardEvents
4911+
// #9441: can't use 'keyCode' in $event because Chrome autofill fires fake
4912+
// key events that do not have keyCode property...
4913+
"if(!$event.type.indexOf('key')&&" +
4914+
(keys.map(genFilterCode).join('&&')) + ")return null;"
4915+
)
49104916
}
49114917

49124918
function genFilterCode (key) {
@@ -5269,7 +5275,12 @@ function genScopedSlots (
52695275
// for example if the slot contains dynamic names, has v-if or v-for on them...
52705276
var needsForceUpdate = Object.keys(slots).some(function (key) {
52715277
var slot = slots[key];
5272-
return slot.slotTargetDynamic || slot.if || slot.for
5278+
return (
5279+
slot.slotTargetDynamic ||
5280+
slot.if ||
5281+
slot.for ||
5282+
containsSlotChild(slot) // is passing down slot from parent which may be dynamic
5283+
)
52735284
});
52745285
// OR when it is inside another scoped slot (the reactivity is disconnected)
52755286
// #9438
@@ -5289,6 +5300,16 @@ function genScopedSlots (
52895300
}).join(',')) + "]" + (needsForceUpdate ? ",true" : "") + ")")
52905301
}
52915302

5303+
function containsSlotChild (el) {
5304+
if (el.type === 1) {
5305+
if (el.tag === 'slot') {
5306+
return true
5307+
}
5308+
return el.children.some(containsSlotChild)
5309+
}
5310+
return false
5311+
}
5312+
52925313
function genScopedSlot (
52935314
el,
52945315
state

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

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/vue-server-renderer/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-server-renderer",
3-
"version": "2.6.5",
3+
"version": "2.6.6",
44
"description": "server renderer for Vue 2.0",
55
"main": "index.js",
66
"types": "types/index.d.ts",

0 commit comments

Comments
 (0)