@vue/compat 3.4.20 → 3.4.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue.cjs.js +10 -7
- package/dist/vue.cjs.prod.js +6 -6
- package/dist/vue.esm-browser.js +10 -7
- package/dist/vue.esm-browser.prod.js +4 -4
- package/dist/vue.esm-bundler.js +10 -7
- package/dist/vue.global.js +10 -7
- package/dist/vue.global.prod.js +4 -4
- package/dist/vue.runtime.esm-browser.js +10 -7
- package/dist/vue.runtime.esm-browser.prod.js +4 -4
- package/dist/vue.runtime.esm-bundler.js +10 -7
- package/dist/vue.runtime.global.js +10 -7
- package/dist/vue.runtime.global.prod.js +4 -4
- package/package.json +2 -2
package/dist/vue.esm-bundler.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.4.
|
|
2
|
+
* @vue/compat v3.4.21
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -1598,7 +1598,10 @@ function warn$1(msg, ...args) {
|
|
|
1598
1598
|
instance,
|
|
1599
1599
|
11,
|
|
1600
1600
|
[
|
|
1601
|
-
msg + args.
|
|
1601
|
+
msg + args.map((a) => {
|
|
1602
|
+
var _a, _b;
|
|
1603
|
+
return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a);
|
|
1604
|
+
}).join(""),
|
|
1602
1605
|
instance && instance.proxy,
|
|
1603
1606
|
trace.map(
|
|
1604
1607
|
({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`
|
|
@@ -3293,7 +3296,7 @@ const SuspenseImpl = {
|
|
|
3293
3296
|
rendererInternals
|
|
3294
3297
|
);
|
|
3295
3298
|
} else {
|
|
3296
|
-
if (parentSuspense && parentSuspense.deps > 0) {
|
|
3299
|
+
if (parentSuspense && parentSuspense.deps > 0 && !n1.suspense.isInFallback) {
|
|
3297
3300
|
n2.suspense = n1.suspense;
|
|
3298
3301
|
n2.suspense.vnode = n2;
|
|
3299
3302
|
n2.el = n1.el;
|
|
@@ -6535,7 +6538,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6535
6538
|
return vm;
|
|
6536
6539
|
}
|
|
6537
6540
|
}
|
|
6538
|
-
Vue.version = `2.6.14-compat:${"3.4.
|
|
6541
|
+
Vue.version = `2.6.14-compat:${"3.4.21"}`;
|
|
6539
6542
|
Vue.config = singletonApp.config;
|
|
6540
6543
|
Vue.use = (p, ...options) => {
|
|
6541
6544
|
if (p && isFunction(p.install)) {
|
|
@@ -11458,7 +11461,7 @@ function isMemoSame(cached, memo) {
|
|
|
11458
11461
|
return true;
|
|
11459
11462
|
}
|
|
11460
11463
|
|
|
11461
|
-
const version = "3.4.
|
|
11464
|
+
const version = "3.4.21";
|
|
11462
11465
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
11463
11466
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
11464
11467
|
const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
|
@@ -12146,15 +12149,15 @@ function patchDOMProp(el, key, value, prevChildren, parentComponent, parentSuspe
|
|
|
12146
12149
|
const tag = el.tagName;
|
|
12147
12150
|
if (key === "value" && tag !== "PROGRESS" && // custom elements may use _value internally
|
|
12148
12151
|
!tag.includes("-")) {
|
|
12149
|
-
el._value = value;
|
|
12150
12152
|
const oldValue = tag === "OPTION" ? el.getAttribute("value") || "" : el.value;
|
|
12151
12153
|
const newValue = value == null ? "" : value;
|
|
12152
|
-
if (oldValue !== newValue) {
|
|
12154
|
+
if (oldValue !== newValue || !("_value" in el)) {
|
|
12153
12155
|
el.value = newValue;
|
|
12154
12156
|
}
|
|
12155
12157
|
if (value == null) {
|
|
12156
12158
|
el.removeAttribute(key);
|
|
12157
12159
|
}
|
|
12160
|
+
el._value = value;
|
|
12158
12161
|
return;
|
|
12159
12162
|
}
|
|
12160
12163
|
let needRemove = false;
|
package/dist/vue.global.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.4.
|
|
2
|
+
* @vue/compat v3.4.21
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -1601,7 +1601,10 @@ getter: `, this.getter);
|
|
|
1601
1601
|
instance,
|
|
1602
1602
|
11,
|
|
1603
1603
|
[
|
|
1604
|
-
msg + args.
|
|
1604
|
+
msg + args.map((a) => {
|
|
1605
|
+
var _a, _b;
|
|
1606
|
+
return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a);
|
|
1607
|
+
}).join(""),
|
|
1605
1608
|
instance && instance.proxy,
|
|
1606
1609
|
trace.map(
|
|
1607
1610
|
({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`
|
|
@@ -3289,7 +3292,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
3289
3292
|
rendererInternals
|
|
3290
3293
|
);
|
|
3291
3294
|
} else {
|
|
3292
|
-
if (parentSuspense && parentSuspense.deps > 0) {
|
|
3295
|
+
if (parentSuspense && parentSuspense.deps > 0 && !n1.suspense.isInFallback) {
|
|
3293
3296
|
n2.suspense = n1.suspense;
|
|
3294
3297
|
n2.suspense.vnode = n2;
|
|
3295
3298
|
n2.el = n1.el;
|
|
@@ -6494,7 +6497,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6494
6497
|
return vm;
|
|
6495
6498
|
}
|
|
6496
6499
|
}
|
|
6497
|
-
Vue.version = `2.6.14-compat:${"3.4.
|
|
6500
|
+
Vue.version = `2.6.14-compat:${"3.4.21"}`;
|
|
6498
6501
|
Vue.config = singletonApp.config;
|
|
6499
6502
|
Vue.use = (p, ...options) => {
|
|
6500
6503
|
if (p && isFunction(p.install)) {
|
|
@@ -11333,7 +11336,7 @@ Component that was made reactive: `,
|
|
|
11333
11336
|
return true;
|
|
11334
11337
|
}
|
|
11335
11338
|
|
|
11336
|
-
const version = "3.4.
|
|
11339
|
+
const version = "3.4.21";
|
|
11337
11340
|
const warn = warn$1 ;
|
|
11338
11341
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
11339
11342
|
const devtools = devtools$1 ;
|
|
@@ -12006,15 +12009,15 @@ Component that was made reactive: `,
|
|
|
12006
12009
|
const tag = el.tagName;
|
|
12007
12010
|
if (key === "value" && tag !== "PROGRESS" && // custom elements may use _value internally
|
|
12008
12011
|
!tag.includes("-")) {
|
|
12009
|
-
el._value = value;
|
|
12010
12012
|
const oldValue = tag === "OPTION" ? el.getAttribute("value") || "" : el.value;
|
|
12011
12013
|
const newValue = value == null ? "" : value;
|
|
12012
|
-
if (oldValue !== newValue) {
|
|
12014
|
+
if (oldValue !== newValue || !("_value" in el)) {
|
|
12013
12015
|
el.value = newValue;
|
|
12014
12016
|
}
|
|
12015
12017
|
if (value == null) {
|
|
12016
12018
|
el.removeAttribute(key);
|
|
12017
12019
|
}
|
|
12020
|
+
el._value = value;
|
|
12018
12021
|
return;
|
|
12019
12022
|
}
|
|
12020
12023
|
let needRemove = false;
|