@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.
package/dist/vue.cjs.js CHANGED
@@ -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
  **/
@@ -700,12 +700,17 @@ function endBatch() {
700
700
  let e = batchedSub;
701
701
  let next;
702
702
  while (e) {
703
- e.flags &= ~8;
703
+ if (!(e.flags & 1)) {
704
+ e.flags &= ~8;
705
+ }
704
706
  e = e.next;
705
707
  }
706
708
  e = batchedSub;
707
709
  batchedSub = void 0;
708
710
  while (e) {
711
+ next = e.next;
712
+ e.next = void 0;
713
+ e.flags &= ~8;
709
714
  if (e.flags & 1) {
710
715
  try {
711
716
  ;
@@ -714,8 +719,6 @@ function endBatch() {
714
719
  if (!error) error = err;
715
720
  }
716
721
  }
717
- next = e.next;
718
- e.next = void 0;
719
722
  e = next;
720
723
  }
721
724
  }
@@ -2049,6 +2052,10 @@ class ComputedRefImpl {
2049
2052
  * @internal
2050
2053
  */
2051
2054
  this.globalVersion = globalVersion - 1;
2055
+ /**
2056
+ * @internal
2057
+ */
2058
+ this.next = void 0;
2052
2059
  // for backwards compat
2053
2060
  this.effect = this;
2054
2061
  this["__v_isReadonly"] = !setter;
@@ -7218,7 +7225,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
7218
7225
  return vm;
7219
7226
  }
7220
7227
  }
7221
- Vue.version = `2.6.14-compat:${"3.5.9"}`;
7228
+ Vue.version = `2.6.14-compat:${"3.5.10"}`;
7222
7229
  Vue.config = singletonApp.config;
7223
7230
  Vue.use = (plugin, ...options) => {
7224
7231
  if (plugin && isFunction(plugin.install)) {
@@ -12333,7 +12340,7 @@ function isMemoSame(cached, memo) {
12333
12340
  return true;
12334
12341
  }
12335
12342
 
12336
- const version = "3.5.9";
12343
+ const version = "3.5.10";
12337
12344
  const warn = warn$1 ;
12338
12345
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
12339
12346
  const devtools = devtools$1 ;
@@ -13142,6 +13149,11 @@ const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) =>
13142
13149
  if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
13143
13150
  patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
13144
13151
  }
13152
+ } else if (
13153
+ // #11081 force set props for possible async custom element
13154
+ el._isVueCE && (/[A-Z]/.test(key) || !isString(nextValue))
13155
+ ) {
13156
+ patchDOMProp(el, camelize(key), nextValue, parentComponent);
13145
13157
  } else {
13146
13158
  if (key === "true-value") {
13147
13159
  el._trueValue = nextValue;
@@ -13182,13 +13194,7 @@ function shouldSetAsProp(el, key, value, isSVG) {
13182
13194
  if (isNativeOn(key) && isString(value)) {
13183
13195
  return false;
13184
13196
  }
13185
- if (key in el) {
13186
- return true;
13187
- }
13188
- if (el._isVueCE && (/[A-Z]/.test(key) || !isString(value))) {
13189
- return true;
13190
- }
13191
- return false;
13197
+ return key in el;
13192
13198
  }
13193
13199
 
13194
13200
  const REMOVAL = {};
@@ -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
  **/
@@ -606,12 +606,17 @@ function endBatch() {
606
606
  let e = batchedSub;
607
607
  let next;
608
608
  while (e) {
609
- e.flags &= ~8;
609
+ if (!(e.flags & 1)) {
610
+ e.flags &= ~8;
611
+ }
610
612
  e = e.next;
611
613
  }
612
614
  e = batchedSub;
613
615
  batchedSub = void 0;
614
616
  while (e) {
617
+ next = e.next;
618
+ e.next = void 0;
619
+ e.flags &= ~8;
615
620
  if (e.flags & 1) {
616
621
  try {
617
622
  ;
@@ -620,8 +625,6 @@ function endBatch() {
620
625
  if (!error) error = err;
621
626
  }
622
627
  }
623
- next = e.next;
624
- e.next = void 0;
625
628
  e = next;
626
629
  }
627
630
  }
@@ -1854,6 +1857,10 @@ class ComputedRefImpl {
1854
1857
  * @internal
1855
1858
  */
1856
1859
  this.globalVersion = globalVersion - 1;
1860
+ /**
1861
+ * @internal
1862
+ */
1863
+ this.next = void 0;
1857
1864
  // for backwards compat
1858
1865
  this.effect = this;
1859
1866
  this["__v_isReadonly"] = !setter;
@@ -5807,7 +5814,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
5807
5814
  return vm;
5808
5815
  }
5809
5816
  }
5810
- Vue.version = `2.6.14-compat:${"3.5.9"}`;
5817
+ Vue.version = `2.6.14-compat:${"3.5.10"}`;
5811
5818
  Vue.config = singletonApp.config;
5812
5819
  Vue.use = (plugin, ...options) => {
5813
5820
  if (plugin && isFunction(plugin.install)) {
@@ -9928,7 +9935,7 @@ function isMemoSame(cached, memo) {
9928
9935
  return true;
9929
9936
  }
9930
9937
 
9931
- const version = "3.5.9";
9938
+ const version = "3.5.10";
9932
9939
  const warn$1 = NOOP;
9933
9940
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
9934
9941
  const devtools = void 0;
@@ -10701,6 +10708,11 @@ const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) =>
10701
10708
  if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
10702
10709
  patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
10703
10710
  }
10711
+ } else if (
10712
+ // #11081 force set props for possible async custom element
10713
+ el._isVueCE && (/[A-Z]/.test(key) || !isString(nextValue))
10714
+ ) {
10715
+ patchDOMProp(el, camelize(key), nextValue, parentComponent);
10704
10716
  } else {
10705
10717
  if (key === "true-value") {
10706
10718
  el._trueValue = nextValue;
@@ -10741,13 +10753,7 @@ function shouldSetAsProp(el, key, value, isSVG) {
10741
10753
  if (isNativeOn(key) && isString(value)) {
10742
10754
  return false;
10743
10755
  }
10744
- if (key in el) {
10745
- return true;
10746
- }
10747
- if (el._isVueCE && (/[A-Z]/.test(key) || !isString(value))) {
10748
- return true;
10749
- }
10750
- return false;
10756
+ return key in el;
10751
10757
  }
10752
10758
 
10753
10759
  const REMOVAL = {};
@@ -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
  **/
@@ -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;
@@ -7165,7 +7172,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
7165
7172
  return vm;
7166
7173
  }
7167
7174
  }
7168
- Vue.version = `2.6.14-compat:${"3.5.9"}`;
7175
+ Vue.version = `2.6.14-compat:${"3.5.10"}`;
7169
7176
  Vue.config = singletonApp.config;
7170
7177
  Vue.use = (plugin, ...options) => {
7171
7178
  if (plugin && isFunction(plugin.install)) {
@@ -12280,7 +12287,7 @@ function isMemoSame(cached, memo) {
12280
12287
  return true;
12281
12288
  }
12282
12289
 
12283
- const version = "3.5.9";
12290
+ const version = "3.5.10";
12284
12291
  const warn = warn$1 ;
12285
12292
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
12286
12293
  const devtools = devtools$1 ;
@@ -13155,6 +13162,11 @@ const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) =>
13155
13162
  if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
13156
13163
  patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
13157
13164
  }
13165
+ } else if (
13166
+ // #11081 force set props for possible async custom element
13167
+ el._isVueCE && (/[A-Z]/.test(key) || !isString(nextValue))
13168
+ ) {
13169
+ patchDOMProp(el, camelize(key), nextValue, parentComponent);
13158
13170
  } else {
13159
13171
  if (key === "true-value") {
13160
13172
  el._trueValue = nextValue;
@@ -13195,13 +13207,7 @@ function shouldSetAsProp(el, key, value, isSVG) {
13195
13207
  if (isNativeOn(key) && isString(value)) {
13196
13208
  return false;
13197
13209
  }
13198
- if (key in el) {
13199
- return true;
13200
- }
13201
- if (el._isVueCE && (/[A-Z]/.test(key) || !isString(value))) {
13202
- return true;
13203
- }
13204
- return false;
13210
+ return key in el;
13205
13211
  }
13206
13212
 
13207
13213
  const REMOVAL = {};