@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
  **/
@@ -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
  }
@@ -2006,6 +2009,10 @@ class ComputedRefImpl {
2006
2009
  * @internal
2007
2010
  */
2008
2011
  this.globalVersion = globalVersion - 1;
2012
+ /**
2013
+ * @internal
2014
+ */
2015
+ this.next = void 0;
2009
2016
  // for backwards compat
2010
2017
  this.effect = this;
2011
2018
  this["__v_isReadonly"] = !setter;
@@ -7197,7 +7204,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
7197
7204
  return vm;
7198
7205
  }
7199
7206
  }
7200
- Vue.version = `2.6.14-compat:${"3.5.9"}`;
7207
+ Vue.version = `2.6.14-compat:${"3.5.10"}`;
7201
7208
  Vue.config = singletonApp.config;
7202
7209
  Vue.use = (plugin, ...options) => {
7203
7210
  if (plugin && isFunction(plugin.install)) {
@@ -12366,7 +12373,7 @@ function isMemoSame(cached, memo) {
12366
12373
  return true;
12367
12374
  }
12368
12375
 
12369
- const version = "3.5.9";
12376
+ const version = "3.5.10";
12370
12377
  const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
12371
12378
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
12372
12379
  const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
@@ -13241,6 +13248,11 @@ const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) =>
13241
13248
  if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
13242
13249
  patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
13243
13250
  }
13251
+ } else if (
13252
+ // #11081 force set props for possible async custom element
13253
+ el._isVueCE && (/[A-Z]/.test(key) || !isString(nextValue))
13254
+ ) {
13255
+ patchDOMProp(el, camelize(key), nextValue, parentComponent);
13244
13256
  } else {
13245
13257
  if (key === "true-value") {
13246
13258
  el._trueValue = nextValue;
@@ -13281,13 +13293,7 @@ function shouldSetAsProp(el, key, value, isSVG) {
13281
13293
  if (isNativeOn(key) && isString(value)) {
13282
13294
  return false;
13283
13295
  }
13284
- if (key in el) {
13285
- return true;
13286
- }
13287
- if (el._isVueCE && (/[A-Z]/.test(key) || !isString(value))) {
13288
- return true;
13289
- }
13290
- return false;
13296
+ return key in el;
13291
13297
  }
13292
13298
 
13293
13299
  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
  **/
@@ -650,12 +650,17 @@ var Vue = (function () {
650
650
  let e = batchedSub;
651
651
  let next;
652
652
  while (e) {
653
- e.flags &= ~8;
653
+ if (!(e.flags & 1)) {
654
+ e.flags &= ~8;
655
+ }
654
656
  e = e.next;
655
657
  }
656
658
  e = batchedSub;
657
659
  batchedSub = void 0;
658
660
  while (e) {
661
+ next = e.next;
662
+ e.next = void 0;
663
+ e.flags &= ~8;
659
664
  if (e.flags & 1) {
660
665
  try {
661
666
  ;
@@ -664,8 +669,6 @@ var Vue = (function () {
664
669
  if (!error) error = err;
665
670
  }
666
671
  }
667
- next = e.next;
668
- e.next = void 0;
669
672
  e = next;
670
673
  }
671
674
  }
@@ -1999,6 +2002,10 @@ var Vue = (function () {
1999
2002
  * @internal
2000
2003
  */
2001
2004
  this.globalVersion = globalVersion - 1;
2005
+ /**
2006
+ * @internal
2007
+ */
2008
+ this.next = void 0;
2002
2009
  // for backwards compat
2003
2010
  this.effect = this;
2004
2011
  this["__v_isReadonly"] = !setter;
@@ -7159,7 +7166,7 @@ If this is a native custom element, make sure to exclude it from component resol
7159
7166
  return vm;
7160
7167
  }
7161
7168
  }
7162
- Vue.version = `2.6.14-compat:${"3.5.9"}`;
7169
+ Vue.version = `2.6.14-compat:${"3.5.10"}`;
7163
7170
  Vue.config = singletonApp.config;
7164
7171
  Vue.use = (plugin, ...options) => {
7165
7172
  if (plugin && isFunction(plugin.install)) {
@@ -12237,7 +12244,7 @@ Component that was made reactive: `,
12237
12244
  return true;
12238
12245
  }
12239
12246
 
12240
- const version = "3.5.9";
12247
+ const version = "3.5.10";
12241
12248
  const warn = warn$1 ;
12242
12249
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
12243
12250
  const devtools = devtools$1 ;
@@ -13093,6 +13100,11 @@ Expected function or array of functions, received type ${typeof value}.`
13093
13100
  if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
13094
13101
  patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
13095
13102
  }
13103
+ } else if (
13104
+ // #11081 force set props for possible async custom element
13105
+ el._isVueCE && (/[A-Z]/.test(key) || !isString(nextValue))
13106
+ ) {
13107
+ patchDOMProp(el, camelize(key), nextValue, parentComponent);
13096
13108
  } else {
13097
13109
  if (key === "true-value") {
13098
13110
  el._trueValue = nextValue;
@@ -13133,13 +13145,7 @@ Expected function or array of functions, received type ${typeof value}.`
13133
13145
  if (isNativeOn(key) && isString(value)) {
13134
13146
  return false;
13135
13147
  }
13136
- if (key in el) {
13137
- return true;
13138
- }
13139
- if (el._isVueCE && (/[A-Z]/.test(key) || !isString(value))) {
13140
- return true;
13141
- }
13142
- return false;
13148
+ return key in el;
13143
13149
  }
13144
13150
 
13145
13151
  const REMOVAL = {};