vue 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.
package/dist/vue.cjs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * vue v3.5.9
2
+ * vue v3.5.10
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1,5 +1,5 @@
1
1
  /**
2
- * vue v3.5.9
2
+ * vue v3.5.10
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1,5 +1,5 @@
1
1
  /**
2
- * vue v3.5.9
2
+ * vue v3.5.10
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -647,12 +647,17 @@ function endBatch() {
647
647
  let e = batchedSub;
648
648
  let next;
649
649
  while (e) {
650
- e.flags &= ~8;
650
+ if (!(e.flags & 1)) {
651
+ e.flags &= ~8;
652
+ }
651
653
  e = e.next;
652
654
  }
653
655
  e = batchedSub;
654
656
  batchedSub = void 0;
655
657
  while (e) {
658
+ next = e.next;
659
+ e.next = void 0;
660
+ e.flags &= ~8;
656
661
  if (e.flags & 1) {
657
662
  try {
658
663
  ;
@@ -661,8 +666,6 @@ function endBatch() {
661
666
  if (!error) error = err;
662
667
  }
663
668
  }
664
- next = e.next;
665
- e.next = void 0;
666
669
  e = next;
667
670
  }
668
671
  }
@@ -1996,6 +1999,10 @@ class ComputedRefImpl {
1996
1999
  * @internal
1997
2000
  */
1998
2001
  this.globalVersion = globalVersion - 1;
2002
+ /**
2003
+ * @internal
2004
+ */
2005
+ this.next = void 0;
1999
2006
  // for backwards compat
2000
2007
  this.effect = this;
2001
2008
  this["__v_isReadonly"] = !setter;
@@ -10518,7 +10525,7 @@ function isMemoSame(cached, memo) {
10518
10525
  return true;
10519
10526
  }
10520
10527
 
10521
- const version = "3.5.9";
10528
+ const version = "3.5.10";
10522
10529
  const warn = warn$1 ;
10523
10530
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
10524
10531
  const devtools = devtools$1 ;
@@ -11305,6 +11312,11 @@ const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) =>
11305
11312
  if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
11306
11313
  patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
11307
11314
  }
11315
+ } else if (
11316
+ // #11081 force set props for possible async custom element
11317
+ el._isVueCE && (/[A-Z]/.test(key) || !isString(nextValue))
11318
+ ) {
11319
+ patchDOMProp(el, camelize(key), nextValue);
11308
11320
  } else {
11309
11321
  if (key === "true-value") {
11310
11322
  el._trueValue = nextValue;
@@ -11345,13 +11357,7 @@ function shouldSetAsProp(el, key, value, isSVG) {
11345
11357
  if (isNativeOn(key) && isString(value)) {
11346
11358
  return false;
11347
11359
  }
11348
- if (key in el) {
11349
- return true;
11350
- }
11351
- if (el._isVueCE && (/[A-Z]/.test(key) || !isString(value))) {
11352
- return true;
11353
- }
11354
- return false;
11360
+ return key in el;
11355
11361
  }
11356
11362
 
11357
11363
  const REMOVAL = {};