@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 CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.4.20
2
+ * @vue/compat v3.4.21
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1649,7 +1649,10 @@ function warn$1(msg, ...args) {
1649
1649
  instance,
1650
1650
  11,
1651
1651
  [
1652
- msg + args.join(""),
1652
+ msg + args.map((a) => {
1653
+ var _a, _b;
1654
+ return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a);
1655
+ }).join(""),
1653
1656
  instance && instance.proxy,
1654
1657
  trace.map(
1655
1658
  ({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`
@@ -3337,7 +3340,7 @@ const SuspenseImpl = {
3337
3340
  rendererInternals
3338
3341
  );
3339
3342
  } else {
3340
- if (parentSuspense && parentSuspense.deps > 0) {
3343
+ if (parentSuspense && parentSuspense.deps > 0 && !n1.suspense.isInFallback) {
3341
3344
  n2.suspense = n1.suspense;
3342
3345
  n2.suspense.vnode = n2;
3343
3346
  n2.el = n1.el;
@@ -6575,7 +6578,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6575
6578
  return vm;
6576
6579
  }
6577
6580
  }
6578
- Vue.version = `2.6.14-compat:${"3.4.20"}`;
6581
+ Vue.version = `2.6.14-compat:${"3.4.21"}`;
6579
6582
  Vue.config = singletonApp.config;
6580
6583
  Vue.use = (p, ...options) => {
6581
6584
  if (p && isFunction(p.install)) {
@@ -11431,7 +11434,7 @@ function isMemoSame(cached, memo) {
11431
11434
  return true;
11432
11435
  }
11433
11436
 
11434
- const version = "3.4.20";
11437
+ const version = "3.4.21";
11435
11438
  const warn = warn$1 ;
11436
11439
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11437
11440
  const devtools = devtools$1 ;
@@ -12058,15 +12061,15 @@ function patchDOMProp(el, key, value, prevChildren, parentComponent, parentSuspe
12058
12061
  const tag = el.tagName;
12059
12062
  if (key === "value" && tag !== "PROGRESS" && // custom elements may use _value internally
12060
12063
  !tag.includes("-")) {
12061
- el._value = value;
12062
12064
  const oldValue = tag === "OPTION" ? el.getAttribute("value") || "" : el.value;
12063
12065
  const newValue = value == null ? "" : value;
12064
- if (oldValue !== newValue) {
12066
+ if (oldValue !== newValue || !("_value" in el)) {
12065
12067
  el.value = newValue;
12066
12068
  }
12067
12069
  if (value == null) {
12068
12070
  el.removeAttribute(key);
12069
12071
  }
12072
+ el._value = value;
12070
12073
  return;
12071
12074
  }
12072
12075
  let needRemove = false;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.4.20
2
+ * @vue/compat v3.4.21
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -2382,7 +2382,7 @@ const SuspenseImpl = {
2382
2382
  rendererInternals
2383
2383
  );
2384
2384
  } else {
2385
- if (parentSuspense && parentSuspense.deps > 0) {
2385
+ if (parentSuspense && parentSuspense.deps > 0 && !n1.suspense.isInFallback) {
2386
2386
  n2.suspense = n1.suspense;
2387
2387
  n2.suspense.vnode = n2;
2388
2388
  n2.el = n1.el;
@@ -5246,7 +5246,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
5246
5246
  return vm;
5247
5247
  }
5248
5248
  }
5249
- Vue.version = `2.6.14-compat:${"3.4.20"}`;
5249
+ Vue.version = `2.6.14-compat:${"3.4.21"}`;
5250
5250
  Vue.config = singletonApp.config;
5251
5251
  Vue.use = (p, ...options) => {
5252
5252
  if (p && isFunction(p.install)) {
@@ -9115,7 +9115,7 @@ function isMemoSame(cached, memo) {
9115
9115
  return true;
9116
9116
  }
9117
9117
 
9118
- const version = "3.4.20";
9118
+ const version = "3.4.21";
9119
9119
  const warn$1 = NOOP;
9120
9120
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
9121
9121
  const devtools = void 0;
@@ -9728,15 +9728,15 @@ function patchDOMProp(el, key, value, prevChildren, parentComponent, parentSuspe
9728
9728
  const tag = el.tagName;
9729
9729
  if (key === "value" && tag !== "PROGRESS" && // custom elements may use _value internally
9730
9730
  !tag.includes("-")) {
9731
- el._value = value;
9732
9731
  const oldValue = tag === "OPTION" ? el.getAttribute("value") || "" : el.value;
9733
9732
  const newValue = value == null ? "" : value;
9734
- if (oldValue !== newValue) {
9733
+ if (oldValue !== newValue || !("_value" in el)) {
9735
9734
  el.value = newValue;
9736
9735
  }
9737
9736
  if (value == null) {
9738
9737
  el.removeAttribute(key);
9739
9738
  }
9739
+ el._value = value;
9740
9740
  return;
9741
9741
  }
9742
9742
  let needRemove = false;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.4.20
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.join(""),
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)}>`
@@ -3286,7 +3289,7 @@ const SuspenseImpl = {
3286
3289
  rendererInternals
3287
3290
  );
3288
3291
  } else {
3289
- if (parentSuspense && parentSuspense.deps > 0) {
3292
+ if (parentSuspense && parentSuspense.deps > 0 && !n1.suspense.isInFallback) {
3290
3293
  n2.suspense = n1.suspense;
3291
3294
  n2.suspense.vnode = n2;
3292
3295
  n2.el = n1.el;
@@ -6497,7 +6500,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6497
6500
  return vm;
6498
6501
  }
6499
6502
  }
6500
- Vue.version = `2.6.14-compat:${"3.4.20"}`;
6503
+ Vue.version = `2.6.14-compat:${"3.4.21"}`;
6501
6504
  Vue.config = singletonApp.config;
6502
6505
  Vue.use = (p, ...options) => {
6503
6506
  if (p && isFunction(p.install)) {
@@ -11336,7 +11339,7 @@ function isMemoSame(cached, memo) {
11336
11339
  return true;
11337
11340
  }
11338
11341
 
11339
- const version = "3.4.20";
11342
+ const version = "3.4.21";
11340
11343
  const warn = warn$1 ;
11341
11344
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11342
11345
  const devtools = devtools$1 ;
@@ -12009,15 +12012,15 @@ function patchDOMProp(el, key, value, prevChildren, parentComponent, parentSuspe
12009
12012
  const tag = el.tagName;
12010
12013
  if (key === "value" && tag !== "PROGRESS" && // custom elements may use _value internally
12011
12014
  !tag.includes("-")) {
12012
- el._value = value;
12013
12015
  const oldValue = tag === "OPTION" ? el.getAttribute("value") || "" : el.value;
12014
12016
  const newValue = value == null ? "" : value;
12015
- if (oldValue !== newValue) {
12017
+ if (oldValue !== newValue || !("_value" in el)) {
12016
12018
  el.value = newValue;
12017
12019
  }
12018
12020
  if (value == null) {
12019
12021
  el.removeAttribute(key);
12020
12022
  }
12023
+ el._value = value;
12021
12024
  return;
12022
12025
  }
12023
12026
  let needRemove = false;