@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
|
@@ -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
|
**/
|
|
@@ -1533,7 +1533,10 @@ function warn$1(msg, ...args) {
|
|
|
1533
1533
|
instance,
|
|
1534
1534
|
11,
|
|
1535
1535
|
[
|
|
1536
|
-
msg + args.
|
|
1536
|
+
msg + args.map((a) => {
|
|
1537
|
+
var _a, _b;
|
|
1538
|
+
return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a);
|
|
1539
|
+
}).join(""),
|
|
1537
1540
|
instance && instance.proxy,
|
|
1538
1541
|
trace.map(
|
|
1539
1542
|
({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`
|
|
@@ -3228,7 +3231,7 @@ const SuspenseImpl = {
|
|
|
3228
3231
|
rendererInternals
|
|
3229
3232
|
);
|
|
3230
3233
|
} else {
|
|
3231
|
-
if (parentSuspense && parentSuspense.deps > 0) {
|
|
3234
|
+
if (parentSuspense && parentSuspense.deps > 0 && !n1.suspense.isInFallback) {
|
|
3232
3235
|
n2.suspense = n1.suspense;
|
|
3233
3236
|
n2.suspense.vnode = n2;
|
|
3234
3237
|
n2.el = n1.el;
|
|
@@ -6470,7 +6473,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6470
6473
|
return vm;
|
|
6471
6474
|
}
|
|
6472
6475
|
}
|
|
6473
|
-
Vue.version = `2.6.14-compat:${"3.4.
|
|
6476
|
+
Vue.version = `2.6.14-compat:${"3.4.21"}`;
|
|
6474
6477
|
Vue.config = singletonApp.config;
|
|
6475
6478
|
Vue.use = (p, ...options) => {
|
|
6476
6479
|
if (p && isFunction(p.install)) {
|
|
@@ -11393,7 +11396,7 @@ function isMemoSame(cached, memo) {
|
|
|
11393
11396
|
return true;
|
|
11394
11397
|
}
|
|
11395
11398
|
|
|
11396
|
-
const version = "3.4.
|
|
11399
|
+
const version = "3.4.21";
|
|
11397
11400
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
11398
11401
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
11399
11402
|
const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
|
@@ -12081,15 +12084,15 @@ function patchDOMProp(el, key, value, prevChildren, parentComponent, parentSuspe
|
|
|
12081
12084
|
const tag = el.tagName;
|
|
12082
12085
|
if (key === "value" && tag !== "PROGRESS" && // custom elements may use _value internally
|
|
12083
12086
|
!tag.includes("-")) {
|
|
12084
|
-
el._value = value;
|
|
12085
12087
|
const oldValue = tag === "OPTION" ? el.getAttribute("value") || "" : el.value;
|
|
12086
12088
|
const newValue = value == null ? "" : value;
|
|
12087
|
-
if (oldValue !== newValue) {
|
|
12089
|
+
if (oldValue !== newValue || !("_value" in el)) {
|
|
12088
12090
|
el.value = newValue;
|
|
12089
12091
|
}
|
|
12090
12092
|
if (value == null) {
|
|
12091
12093
|
el.removeAttribute(key);
|
|
12092
12094
|
}
|
|
12095
|
+
el._value = value;
|
|
12093
12096
|
return;
|
|
12094
12097
|
}
|
|
12095
12098
|
let needRemove = false;
|
|
@@ -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
|
**/
|
|
@@ -1536,7 +1536,10 @@ getter: `, this.getter);
|
|
|
1536
1536
|
instance,
|
|
1537
1537
|
11,
|
|
1538
1538
|
[
|
|
1539
|
-
msg + args.
|
|
1539
|
+
msg + args.map((a) => {
|
|
1540
|
+
var _a, _b;
|
|
1541
|
+
return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a);
|
|
1542
|
+
}).join(""),
|
|
1540
1543
|
instance && instance.proxy,
|
|
1541
1544
|
trace.map(
|
|
1542
1545
|
({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`
|
|
@@ -3224,7 +3227,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
3224
3227
|
rendererInternals
|
|
3225
3228
|
);
|
|
3226
3229
|
} else {
|
|
3227
|
-
if (parentSuspense && parentSuspense.deps > 0) {
|
|
3230
|
+
if (parentSuspense && parentSuspense.deps > 0 && !n1.suspense.isInFallback) {
|
|
3228
3231
|
n2.suspense = n1.suspense;
|
|
3229
3232
|
n2.suspense.vnode = n2;
|
|
3230
3233
|
n2.el = n1.el;
|
|
@@ -6429,7 +6432,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6429
6432
|
return vm;
|
|
6430
6433
|
}
|
|
6431
6434
|
}
|
|
6432
|
-
Vue.version = `2.6.14-compat:${"3.4.
|
|
6435
|
+
Vue.version = `2.6.14-compat:${"3.4.21"}`;
|
|
6433
6436
|
Vue.config = singletonApp.config;
|
|
6434
6437
|
Vue.use = (p, ...options) => {
|
|
6435
6438
|
if (p && isFunction(p.install)) {
|
|
@@ -11268,7 +11271,7 @@ Component that was made reactive: `,
|
|
|
11268
11271
|
return true;
|
|
11269
11272
|
}
|
|
11270
11273
|
|
|
11271
|
-
const version = "3.4.
|
|
11274
|
+
const version = "3.4.21";
|
|
11272
11275
|
const warn = warn$1 ;
|
|
11273
11276
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
11274
11277
|
const devtools = devtools$1 ;
|
|
@@ -11941,15 +11944,15 @@ Component that was made reactive: `,
|
|
|
11941
11944
|
const tag = el.tagName;
|
|
11942
11945
|
if (key === "value" && tag !== "PROGRESS" && // custom elements may use _value internally
|
|
11943
11946
|
!tag.includes("-")) {
|
|
11944
|
-
el._value = value;
|
|
11945
11947
|
const oldValue = tag === "OPTION" ? el.getAttribute("value") || "" : el.value;
|
|
11946
11948
|
const newValue = value == null ? "" : value;
|
|
11947
|
-
if (oldValue !== newValue) {
|
|
11949
|
+
if (oldValue !== newValue || !("_value" in el)) {
|
|
11948
11950
|
el.value = newValue;
|
|
11949
11951
|
}
|
|
11950
11952
|
if (value == null) {
|
|
11951
11953
|
el.removeAttribute(key);
|
|
11952
11954
|
}
|
|
11955
|
+
el._value = value;
|
|
11953
11956
|
return;
|
|
11954
11957
|
}
|
|
11955
11958
|
let needRemove = false;
|