@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
  }
@@ -1933,6 +1936,10 @@ class ComputedRefImpl {
1933
1936
  * @internal
1934
1937
  */
1935
1938
  this.globalVersion = globalVersion - 1;
1939
+ /**
1940
+ * @internal
1941
+ */
1942
+ this.next = void 0;
1936
1943
  // for backwards compat
1937
1944
  this.effect = this;
1938
1945
  this["__v_isReadonly"] = !setter;
@@ -7124,7 +7131,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
7124
7131
  return vm;
7125
7132
  }
7126
7133
  }
7127
- Vue.version = `2.6.14-compat:${"3.5.9"}`;
7134
+ Vue.version = `2.6.14-compat:${"3.5.10"}`;
7128
7135
  Vue.config = singletonApp.config;
7129
7136
  Vue.use = (plugin, ...options) => {
7130
7137
  if (plugin && isFunction(plugin.install)) {
@@ -12293,7 +12300,7 @@ function isMemoSame(cached, memo) {
12293
12300
  return true;
12294
12301
  }
12295
12302
 
12296
- const version = "3.5.9";
12303
+ const version = "3.5.10";
12297
12304
  const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
12298
12305
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
12299
12306
  const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
@@ -13168,6 +13175,11 @@ const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) =>
13168
13175
  if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
13169
13176
  patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
13170
13177
  }
13178
+ } else if (
13179
+ // #11081 force set props for possible async custom element
13180
+ el._isVueCE && (/[A-Z]/.test(key) || !isString(nextValue))
13181
+ ) {
13182
+ patchDOMProp(el, camelize(key), nextValue, parentComponent);
13171
13183
  } else {
13172
13184
  if (key === "true-value") {
13173
13185
  el._trueValue = nextValue;
@@ -13208,13 +13220,7 @@ function shouldSetAsProp(el, key, value, isSVG) {
13208
13220
  if (isNativeOn(key) && isString(value)) {
13209
13221
  return false;
13210
13222
  }
13211
- if (key in el) {
13212
- return true;
13213
- }
13214
- if (el._isVueCE && (/[A-Z]/.test(key) || !isString(value))) {
13215
- return true;
13216
- }
13217
- return false;
13223
+ return key in el;
13218
13224
  }
13219
13225
 
13220
13226
  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
  **/
@@ -577,12 +577,17 @@ var Vue = (function () {
577
577
  let e = batchedSub;
578
578
  let next;
579
579
  while (e) {
580
- e.flags &= ~8;
580
+ if (!(e.flags & 1)) {
581
+ e.flags &= ~8;
582
+ }
581
583
  e = e.next;
582
584
  }
583
585
  e = batchedSub;
584
586
  batchedSub = void 0;
585
587
  while (e) {
588
+ next = e.next;
589
+ e.next = void 0;
590
+ e.flags &= ~8;
586
591
  if (e.flags & 1) {
587
592
  try {
588
593
  ;
@@ -591,8 +596,6 @@ var Vue = (function () {
591
596
  if (!error) error = err;
592
597
  }
593
598
  }
594
- next = e.next;
595
- e.next = void 0;
596
599
  e = next;
597
600
  }
598
601
  }
@@ -1926,6 +1929,10 @@ var Vue = (function () {
1926
1929
  * @internal
1927
1930
  */
1928
1931
  this.globalVersion = globalVersion - 1;
1932
+ /**
1933
+ * @internal
1934
+ */
1935
+ this.next = void 0;
1929
1936
  // for backwards compat
1930
1937
  this.effect = this;
1931
1938
  this["__v_isReadonly"] = !setter;
@@ -7086,7 +7093,7 @@ If this is a native custom element, make sure to exclude it from component resol
7086
7093
  return vm;
7087
7094
  }
7088
7095
  }
7089
- Vue.version = `2.6.14-compat:${"3.5.9"}`;
7096
+ Vue.version = `2.6.14-compat:${"3.5.10"}`;
7090
7097
  Vue.config = singletonApp.config;
7091
7098
  Vue.use = (plugin, ...options) => {
7092
7099
  if (plugin && isFunction(plugin.install)) {
@@ -12164,7 +12171,7 @@ Component that was made reactive: `,
12164
12171
  return true;
12165
12172
  }
12166
12173
 
12167
- const version = "3.5.9";
12174
+ const version = "3.5.10";
12168
12175
  const warn = warn$1 ;
12169
12176
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
12170
12177
  const devtools = devtools$1 ;
@@ -13020,6 +13027,11 @@ Expected function or array of functions, received type ${typeof value}.`
13020
13027
  if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
13021
13028
  patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
13022
13029
  }
13030
+ } else if (
13031
+ // #11081 force set props for possible async custom element
13032
+ el._isVueCE && (/[A-Z]/.test(key) || !isString(nextValue))
13033
+ ) {
13034
+ patchDOMProp(el, camelize(key), nextValue, parentComponent);
13023
13035
  } else {
13024
13036
  if (key === "true-value") {
13025
13037
  el._trueValue = nextValue;
@@ -13060,13 +13072,7 @@ Expected function or array of functions, received type ${typeof value}.`
13060
13072
  if (isNativeOn(key) && isString(value)) {
13061
13073
  return false;
13062
13074
  }
13063
- if (key in el) {
13064
- return true;
13065
- }
13066
- if (el._isVueCE && (/[A-Z]/.test(key) || !isString(value))) {
13067
- return true;
13068
- }
13069
- return false;
13075
+ return key in el;
13070
13076
  }
13071
13077
 
13072
13078
  const REMOVAL = {};