@vue/compat 3.5.9 → 3.5.10

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.5.9
2
+ * @vue/compat v3.5.10
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -574,12 +574,17 @@ function endBatch() {
574
574
  let e = batchedSub;
575
575
  let next;
576
576
  while (e) {
577
- e.flags &= ~8;
577
+ if (!(e.flags & 1)) {
578
+ e.flags &= ~8;
579
+ }
578
580
  e = e.next;
579
581
  }
580
582
  e = batchedSub;
581
583
  batchedSub = void 0;
582
584
  while (e) {
585
+ next = e.next;
586
+ e.next = void 0;
587
+ e.flags &= ~8;
583
588
  if (e.flags & 1) {
584
589
  try {
585
590
  ;
@@ -588,8 +593,6 @@ function endBatch() {
588
593
  if (!error) error = err;
589
594
  }
590
595
  }
591
- next = e.next;
592
- e.next = void 0;
593
596
  e = next;
594
597
  }
595
598
  }
@@ -1923,6 +1926,10 @@ class ComputedRefImpl {
1923
1926
  * @internal
1924
1927
  */
1925
1928
  this.globalVersion = globalVersion - 1;
1929
+ /**
1930
+ * @internal
1931
+ */
1932
+ this.next = void 0;
1926
1933
  // for backwards compat
1927
1934
  this.effect = this;
1928
1935
  this["__v_isReadonly"] = !setter;
@@ -7092,7 +7099,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
7092
7099
  return vm;
7093
7100
  }
7094
7101
  }
7095
- Vue.version = `2.6.14-compat:${"3.5.9"}`;
7102
+ Vue.version = `2.6.14-compat:${"3.5.10"}`;
7096
7103
  Vue.config = singletonApp.config;
7097
7104
  Vue.use = (plugin, ...options) => {
7098
7105
  if (plugin && isFunction(plugin.install)) {
@@ -12207,7 +12214,7 @@ function isMemoSame(cached, memo) {
12207
12214
  return true;
12208
12215
  }
12209
12216
 
12210
- const version = "3.5.9";
12217
+ const version = "3.5.10";
12211
12218
  const warn = warn$1 ;
12212
12219
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
12213
12220
  const devtools = devtools$1 ;
@@ -13082,6 +13089,11 @@ const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) =>
13082
13089
  if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
13083
13090
  patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
13084
13091
  }
13092
+ } else if (
13093
+ // #11081 force set props for possible async custom element
13094
+ el._isVueCE && (/[A-Z]/.test(key) || !isString(nextValue))
13095
+ ) {
13096
+ patchDOMProp(el, camelize(key), nextValue, parentComponent);
13085
13097
  } else {
13086
13098
  if (key === "true-value") {
13087
13099
  el._trueValue = nextValue;
@@ -13122,13 +13134,7 @@ function shouldSetAsProp(el, key, value, isSVG) {
13122
13134
  if (isNativeOn(key) && isString(value)) {
13123
13135
  return false;
13124
13136
  }
13125
- if (key in el) {
13126
- return true;
13127
- }
13128
- if (el._isVueCE && (/[A-Z]/.test(key) || !isString(value))) {
13129
- return true;
13130
- }
13131
- return false;
13137
+ return key in el;
13132
13138
  }
13133
13139
 
13134
13140
  const REMOVAL = {};