@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.
@@ -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
  **/
@@ -1533,7 +1533,10 @@ function warn$1(msg, ...args) {
1533
1533
  instance,
1534
1534
  11,
1535
1535
  [
1536
- msg + args.join(""),
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)}>`
@@ -3221,7 +3224,7 @@ const SuspenseImpl = {
3221
3224
  rendererInternals
3222
3225
  );
3223
3226
  } else {
3224
- if (parentSuspense && parentSuspense.deps > 0) {
3227
+ if (parentSuspense && parentSuspense.deps > 0 && !n1.suspense.isInFallback) {
3225
3228
  n2.suspense = n1.suspense;
3226
3229
  n2.suspense.vnode = n2;
3227
3230
  n2.el = n1.el;
@@ -6432,7 +6435,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6432
6435
  return vm;
6433
6436
  }
6434
6437
  }
6435
- Vue.version = `2.6.14-compat:${"3.4.20"}`;
6438
+ Vue.version = `2.6.14-compat:${"3.4.21"}`;
6436
6439
  Vue.config = singletonApp.config;
6437
6440
  Vue.use = (p, ...options) => {
6438
6441
  if (p && isFunction(p.install)) {
@@ -11271,7 +11274,7 @@ function isMemoSame(cached, memo) {
11271
11274
  return true;
11272
11275
  }
11273
11276
 
11274
- const version = "3.4.20";
11277
+ const version = "3.4.21";
11275
11278
  const warn = warn$1 ;
11276
11279
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11277
11280
  const devtools = devtools$1 ;
@@ -11944,15 +11947,15 @@ function patchDOMProp(el, key, value, prevChildren, parentComponent, parentSuspe
11944
11947
  const tag = el.tagName;
11945
11948
  if (key === "value" && tag !== "PROGRESS" && // custom elements may use _value internally
11946
11949
  !tag.includes("-")) {
11947
- el._value = value;
11948
11950
  const oldValue = tag === "OPTION" ? el.getAttribute("value") || "" : el.value;
11949
11951
  const newValue = value == null ? "" : value;
11950
- if (oldValue !== newValue) {
11952
+ if (oldValue !== newValue || !("_value" in el)) {
11951
11953
  el.value = newValue;
11952
11954
  }
11953
11955
  if (value == null) {
11954
11956
  el.removeAttribute(key);
11955
11957
  }
11958
+ el._value = value;
11956
11959
  return;
11957
11960
  }
11958
11961
  let needRemove = false;