Skip to content

Commit 1489b99

Browse files
committed
build: build 2.6.5
1 parent e7d49cd commit 1489b99

17 files changed

+180
-70
lines changed

Diff for: dist/vue.common.dev.js

+21-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.6.4
2+
* Vue.js v2.6.5
33
* (c) 2014-2019 Evan You
44
* Released under the MIT License.
55
*/
@@ -2539,8 +2539,14 @@ function normalizeScopedSlots (
25392539
} else if (slots._normalized) {
25402540
// fast path 1: child component re-render only, parent did not change
25412541
return slots._normalized
2542-
} else if (slots.$stable && prevSlots && prevSlots !== emptyObject) {
2543-
// fast path 2: stable scoped slots, only need to normalize once
2542+
} else if (
2543+
slots.$stable &&
2544+
prevSlots &&
2545+
prevSlots !== emptyObject &&
2546+
Object.keys(normalSlots).length === 0
2547+
) {
2548+
// fast path 2: stable scoped slots w/ no normal slots to proxy,
2549+
// only need to normalize once
25442550
return prevSlots
25452551
} else {
25462552
res = {};
@@ -2566,8 +2572,8 @@ function normalizeScopedSlots (
25662572
}
25672573

25682574
function normalizeScopedSlot(normalSlots, key, fn) {
2569-
var normalized = function (scope) {
2570-
var res = fn(scope || {});
2575+
var normalized = function () {
2576+
var res = arguments.length ? fn.apply(null, arguments) : fn({});
25712577
res = res && typeof res === 'object' && !Array.isArray(res)
25722578
? [res] // single vnode
25732579
: normalizeChildren(res);
@@ -5373,7 +5379,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
53735379
value: FunctionalRenderContext
53745380
});
53755381

5376-
Vue.version = '2.6.4';
5382+
Vue.version = '2.6.5';
53775383

53785384
/* */
53795385

@@ -7459,9 +7465,17 @@ function add$1 (
74597465
var original = handler;
74607466
handler = original._wrapper = function (e) {
74617467
if (
7468+
// no bubbling, should always fire.
7469+
// this is just a safety net in case event.timeStamp is unreliable in
7470+
// certain weird environments...
7471+
e.target === e.currentTarget ||
7472+
// event is fired after handler attachment
74627473
e.timeStamp >= attachedTimestamp ||
7474+
// #9462 bail for iOS 9 bug: event.timeStamp is 0 after history.pushState
7475+
e.timeStamp === 0 ||
74637476
// #9448 bail if event is fired in another document in a multi-page
7464-
// electron/nw.js app
7477+
// electron/nw.js app, since event.timeStamp will be using a different
7478+
// starting reference
74657479
e.target.ownerDocument !== document
74667480
) {
74677481
return original.apply(this, arguments)

Diff for: 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.

Diff for: dist/vue.esm.browser.js

+21-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.6.4
2+
* Vue.js v2.6.5
33
* (c) 2014-2019 Evan You
44
* Released under the MIT License.
55
*/
@@ -2567,8 +2567,14 @@ function normalizeScopedSlots (
25672567
} else if (slots._normalized) {
25682568
// fast path 1: child component re-render only, parent did not change
25692569
return slots._normalized
2570-
} else if (slots.$stable && prevSlots && prevSlots !== emptyObject) {
2571-
// fast path 2: stable scoped slots, only need to normalize once
2570+
} else if (
2571+
slots.$stable &&
2572+
prevSlots &&
2573+
prevSlots !== emptyObject &&
2574+
Object.keys(normalSlots).length === 0
2575+
) {
2576+
// fast path 2: stable scoped slots w/ no normal slots to proxy,
2577+
// only need to normalize once
25722578
return prevSlots
25732579
} else {
25742580
res = {};
@@ -2594,8 +2600,8 @@ function normalizeScopedSlots (
25942600
}
25952601

25962602
function normalizeScopedSlot(normalSlots, key, fn) {
2597-
const normalized = scope => {
2598-
let res = fn(scope || {});
2603+
const normalized = function () {
2604+
let res = arguments.length ? fn.apply(null, arguments) : fn({});
25992605
res = res && typeof res === 'object' && !Array.isArray(res)
26002606
? [res] // single vnode
26012607
: normalizeChildren(res);
@@ -5404,7 +5410,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
54045410
value: FunctionalRenderContext
54055411
});
54065412

5407-
Vue.version = '2.6.4';
5413+
Vue.version = '2.6.5';
54085414

54095415
/* */
54105416

@@ -7482,9 +7488,17 @@ function add$1 (
74827488
const original = handler;
74837489
handler = original._wrapper = function (e) {
74847490
if (
7491+
// no bubbling, should always fire.
7492+
// this is just a safety net in case event.timeStamp is unreliable in
7493+
// certain weird environments...
7494+
e.target === e.currentTarget ||
7495+
// event is fired after handler attachment
74857496
e.timeStamp >= attachedTimestamp ||
7497+
// #9462 bail for iOS 9 bug: event.timeStamp is 0 after history.pushState
7498+
e.timeStamp === 0 ||
74867499
// #9448 bail if event is fired in another document in a multi-page
7487-
// electron/nw.js app
7500+
// electron/nw.js app, since event.timeStamp will be using a different
7501+
// starting reference
74887502
e.target.ownerDocument !== document
74897503
) {
74907504
return original.apply(this, arguments)

Diff for: 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.

Diff for: dist/vue.esm.js

+21-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.6.4
2+
* Vue.js v2.6.5
33
* (c) 2014-2019 Evan You
44
* Released under the MIT License.
55
*/
@@ -2545,8 +2545,14 @@ function normalizeScopedSlots (
25452545
} else if (slots._normalized) {
25462546
// fast path 1: child component re-render only, parent did not change
25472547
return slots._normalized
2548-
} else if (slots.$stable && prevSlots && prevSlots !== emptyObject) {
2549-
// fast path 2: stable scoped slots, only need to normalize once
2548+
} else if (
2549+
slots.$stable &&
2550+
prevSlots &&
2551+
prevSlots !== emptyObject &&
2552+
Object.keys(normalSlots).length === 0
2553+
) {
2554+
// fast path 2: stable scoped slots w/ no normal slots to proxy,
2555+
// only need to normalize once
25502556
return prevSlots
25512557
} else {
25522558
res = {};
@@ -2572,8 +2578,8 @@ function normalizeScopedSlots (
25722578
}
25732579

25742580
function normalizeScopedSlot(normalSlots, key, fn) {
2575-
var normalized = function (scope) {
2576-
var res = fn(scope || {});
2581+
var normalized = function () {
2582+
var res = arguments.length ? fn.apply(null, arguments) : fn({});
25772583
res = res && typeof res === 'object' && !Array.isArray(res)
25782584
? [res] // single vnode
25792585
: normalizeChildren(res);
@@ -5393,7 +5399,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
53935399
value: FunctionalRenderContext
53945400
});
53955401

5396-
Vue.version = '2.6.4';
5402+
Vue.version = '2.6.5';
53975403

53985404
/* */
53995405

@@ -7481,9 +7487,17 @@ function add$1 (
74817487
var original = handler;
74827488
handler = original._wrapper = function (e) {
74837489
if (
7490+
// no bubbling, should always fire.
7491+
// this is just a safety net in case event.timeStamp is unreliable in
7492+
// certain weird environments...
7493+
e.target === e.currentTarget ||
7494+
// event is fired after handler attachment
74847495
e.timeStamp >= attachedTimestamp ||
7496+
// #9462 bail for iOS 9 bug: event.timeStamp is 0 after history.pushState
7497+
e.timeStamp === 0 ||
74857498
// #9448 bail if event is fired in another document in a multi-page
7486-
// electron/nw.js app
7499+
// electron/nw.js app, since event.timeStamp will be using a different
7500+
// starting reference
74877501
e.target.ownerDocument !== document
74887502
) {
74897503
return original.apply(this, arguments)

Diff for: dist/vue.js

+21-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.6.4
2+
* Vue.js v2.6.5
33
* (c) 2014-2019 Evan You
44
* Released under the MIT License.
55
*/
@@ -2543,8 +2543,14 @@
25432543
} else if (slots._normalized) {
25442544
// fast path 1: child component re-render only, parent did not change
25452545
return slots._normalized
2546-
} else if (slots.$stable && prevSlots && prevSlots !== emptyObject) {
2547-
// fast path 2: stable scoped slots, only need to normalize once
2546+
} else if (
2547+
slots.$stable &&
2548+
prevSlots &&
2549+
prevSlots !== emptyObject &&
2550+
Object.keys(normalSlots).length === 0
2551+
) {
2552+
// fast path 2: stable scoped slots w/ no normal slots to proxy,
2553+
// only need to normalize once
25482554
return prevSlots
25492555
} else {
25502556
res = {};
@@ -2570,8 +2576,8 @@
25702576
}
25712577

25722578
function normalizeScopedSlot(normalSlots, key, fn) {
2573-
var normalized = function (scope) {
2574-
var res = fn(scope || {});
2579+
var normalized = function () {
2580+
var res = arguments.length ? fn.apply(null, arguments) : fn({});
25752581
res = res && typeof res === 'object' && !Array.isArray(res)
25762582
? [res] // single vnode
25772583
: normalizeChildren(res);
@@ -5377,7 +5383,7 @@
53775383
value: FunctionalRenderContext
53785384
});
53795385

5380-
Vue.version = '2.6.4';
5386+
Vue.version = '2.6.5';
53815387

53825388
/* */
53835389

@@ -7463,9 +7469,17 @@
74637469
var original = handler;
74647470
handler = original._wrapper = function (e) {
74657471
if (
7472+
// no bubbling, should always fire.
7473+
// this is just a safety net in case event.timeStamp is unreliable in
7474+
// certain weird environments...
7475+
e.target === e.currentTarget ||
7476+
// event is fired after handler attachment
74667477
e.timeStamp >= attachedTimestamp ||
7478+
// #9462 bail for iOS 9 bug: event.timeStamp is 0 after history.pushState
7479+
e.timeStamp === 0 ||
74677480
// #9448 bail if event is fired in another document in a multi-page
7468-
// electron/nw.js app
7481+
// electron/nw.js app, since event.timeStamp will be using a different
7482+
// starting reference
74697483
e.target.ownerDocument !== document
74707484
) {
74717485
return original.apply(this, arguments)

Diff for: dist/vue.min.js

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

Diff for: dist/vue.runtime.common.dev.js

+21-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.6.4
2+
* Vue.js v2.6.5
33
* (c) 2014-2019 Evan You
44
* Released under the MIT License.
55
*/
@@ -2530,8 +2530,14 @@ function normalizeScopedSlots (
25302530
} else if (slots._normalized) {
25312531
// fast path 1: child component re-render only, parent did not change
25322532
return slots._normalized
2533-
} else if (slots.$stable && prevSlots && prevSlots !== emptyObject) {
2534-
// fast path 2: stable scoped slots, only need to normalize once
2533+
} else if (
2534+
slots.$stable &&
2535+
prevSlots &&
2536+
prevSlots !== emptyObject &&
2537+
Object.keys(normalSlots).length === 0
2538+
) {
2539+
// fast path 2: stable scoped slots w/ no normal slots to proxy,
2540+
// only need to normalize once
25352541
return prevSlots
25362542
} else {
25372543
res = {};
@@ -2557,8 +2563,8 @@ function normalizeScopedSlots (
25572563
}
25582564

25592565
function normalizeScopedSlot(normalSlots, key, fn) {
2560-
var normalized = function (scope) {
2561-
var res = fn(scope || {});
2566+
var normalized = function () {
2567+
var res = arguments.length ? fn.apply(null, arguments) : fn({});
25622568
res = res && typeof res === 'object' && !Array.isArray(res)
25632569
? [res] // single vnode
25642570
: normalizeChildren(res);
@@ -5364,7 +5370,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
53645370
value: FunctionalRenderContext
53655371
});
53665372

5367-
Vue.version = '2.6.4';
5373+
Vue.version = '2.6.5';
53685374

53695375
/* */
53705376

@@ -6811,9 +6817,17 @@ function add$1 (
68116817
var original = handler;
68126818
handler = original._wrapper = function (e) {
68136819
if (
6820+
// no bubbling, should always fire.
6821+
// this is just a safety net in case event.timeStamp is unreliable in
6822+
// certain weird environments...
6823+
e.target === e.currentTarget ||
6824+
// event is fired after handler attachment
68146825
e.timeStamp >= attachedTimestamp ||
6826+
// #9462 bail for iOS 9 bug: event.timeStamp is 0 after history.pushState
6827+
e.timeStamp === 0 ||
68156828
// #9448 bail if event is fired in another document in a multi-page
6816-
// electron/nw.js app
6829+
// electron/nw.js app, since event.timeStamp will be using a different
6830+
// starting reference
68176831
e.target.ownerDocument !== document
68186832
) {
68196833
return original.apply(this, arguments)

Diff for: 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.

Diff for: dist/vue.runtime.esm.js

+21-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.6.4
2+
* Vue.js v2.6.5
33
* (c) 2014-2019 Evan You
44
* Released under the MIT License.
55
*/
@@ -2536,8 +2536,14 @@ function normalizeScopedSlots (
25362536
} else if (slots._normalized) {
25372537
// fast path 1: child component re-render only, parent did not change
25382538
return slots._normalized
2539-
} else if (slots.$stable && prevSlots && prevSlots !== emptyObject) {
2540-
// fast path 2: stable scoped slots, only need to normalize once
2539+
} else if (
2540+
slots.$stable &&
2541+
prevSlots &&
2542+
prevSlots !== emptyObject &&
2543+
Object.keys(normalSlots).length === 0
2544+
) {
2545+
// fast path 2: stable scoped slots w/ no normal slots to proxy,
2546+
// only need to normalize once
25412547
return prevSlots
25422548
} else {
25432549
res = {};
@@ -2563,8 +2569,8 @@ function normalizeScopedSlots (
25632569
}
25642570

25652571
function normalizeScopedSlot(normalSlots, key, fn) {
2566-
var normalized = function (scope) {
2567-
var res = fn(scope || {});
2572+
var normalized = function () {
2573+
var res = arguments.length ? fn.apply(null, arguments) : fn({});
25682574
res = res && typeof res === 'object' && !Array.isArray(res)
25692575
? [res] // single vnode
25702576
: normalizeChildren(res);
@@ -5384,7 +5390,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
53845390
value: FunctionalRenderContext
53855391
});
53865392

5387-
Vue.version = '2.6.4';
5393+
Vue.version = '2.6.5';
53885394

53895395
/* */
53905396

@@ -6833,9 +6839,17 @@ function add$1 (
68336839
var original = handler;
68346840
handler = original._wrapper = function (e) {
68356841
if (
6842+
// no bubbling, should always fire.
6843+
// this is just a safety net in case event.timeStamp is unreliable in
6844+
// certain weird environments...
6845+
e.target === e.currentTarget ||
6846+
// event is fired after handler attachment
68366847
e.timeStamp >= attachedTimestamp ||
6848+
// #9462 bail for iOS 9 bug: event.timeStamp is 0 after history.pushState
6849+
e.timeStamp === 0 ||
68376850
// #9448 bail if event is fired in another document in a multi-page
6838-
// electron/nw.js app
6851+
// electron/nw.js app, since event.timeStamp will be using a different
6852+
// starting reference
68396853
e.target.ownerDocument !== document
68406854
) {
68416855
return original.apply(this, arguments)

0 commit comments

Comments
 (0)