@vue/runtime-dom 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/runtime-dom v3.5.9
2
+ * @vue/runtime-dom v3.5.10
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -709,6 +709,11 @@ const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) =>
709
709
  if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
710
710
  patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
711
711
  }
712
+ } else if (
713
+ // #11081 force set props for possible async custom element
714
+ el._isVueCE && (/[A-Z]/.test(key) || !shared.isString(nextValue))
715
+ ) {
716
+ patchDOMProp(el, shared.camelize(key), nextValue);
712
717
  } else {
713
718
  if (key === "true-value") {
714
719
  el._trueValue = nextValue;
@@ -749,13 +754,7 @@ function shouldSetAsProp(el, key, value, isSVG) {
749
754
  if (isNativeOn(key) && shared.isString(value)) {
750
755
  return false;
751
756
  }
752
- if (key in el) {
753
- return true;
754
- }
755
- if (el._isVueCE && (/[A-Z]/.test(key) || !shared.isString(value))) {
756
- return true;
757
- }
758
- return false;
757
+ return key in el;
759
758
  }
760
759
 
761
760
  const REMOVAL = {};
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/runtime-dom v3.5.9
2
+ * @vue/runtime-dom v3.5.10
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -678,6 +678,11 @@ const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) =>
678
678
  if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
679
679
  patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
680
680
  }
681
+ } else if (
682
+ // #11081 force set props for possible async custom element
683
+ el._isVueCE && (/[A-Z]/.test(key) || !shared.isString(nextValue))
684
+ ) {
685
+ patchDOMProp(el, shared.camelize(key), nextValue);
681
686
  } else {
682
687
  if (key === "true-value") {
683
688
  el._trueValue = nextValue;
@@ -718,13 +723,7 @@ function shouldSetAsProp(el, key, value, isSVG) {
718
723
  if (isNativeOn(key) && shared.isString(value)) {
719
724
  return false;
720
725
  }
721
- if (key in el) {
722
- return true;
723
- }
724
- if (el._isVueCE && (/[A-Z]/.test(key) || !shared.isString(value))) {
725
- return true;
726
- }
727
- return false;
726
+ return key in el;
728
727
  }
729
728
 
730
729
  const REMOVAL = {};
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/runtime-dom v3.5.9
2
+ * @vue/runtime-dom 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;
@@ -10445,7 +10452,7 @@ function isMemoSame(cached, memo) {
10445
10452
  return true;
10446
10453
  }
10447
10454
 
10448
- const version = "3.5.9";
10455
+ const version = "3.5.10";
10449
10456
  const warn = warn$1 ;
10450
10457
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
10451
10458
  const devtools = devtools$1 ;
@@ -11232,6 +11239,11 @@ const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) =>
11232
11239
  if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
11233
11240
  patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
11234
11241
  }
11242
+ } else if (
11243
+ // #11081 force set props for possible async custom element
11244
+ el._isVueCE && (/[A-Z]/.test(key) || !isString(nextValue))
11245
+ ) {
11246
+ patchDOMProp(el, camelize(key), nextValue);
11235
11247
  } else {
11236
11248
  if (key === "true-value") {
11237
11249
  el._trueValue = nextValue;
@@ -11272,13 +11284,7 @@ function shouldSetAsProp(el, key, value, isSVG) {
11272
11284
  if (isNativeOn(key) && isString(value)) {
11273
11285
  return false;
11274
11286
  }
11275
- if (key in el) {
11276
- return true;
11277
- }
11278
- if (el._isVueCE && (/[A-Z]/.test(key) || !isString(value))) {
11279
- return true;
11280
- }
11281
- return false;
11287
+ return key in el;
11282
11288
  }
11283
11289
 
11284
11290
  const REMOVAL = {};