@vue/compat 3.5.19 → 3.5.20

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.19
2
+ * @vue/compat v3.5.20
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1168,7 +1168,7 @@ const arrayInstrumentations = {
1168
1168
  join(separator) {
1169
1169
  return reactiveReadArray(this).join(separator);
1170
1170
  },
1171
- // keys() iterator only reads `length`, no optimisation required
1171
+ // keys() iterator only reads `length`, no optimization required
1172
1172
  lastIndexOf(...args) {
1173
1173
  return searchProxy(this, "lastIndexOf", args);
1174
1174
  },
@@ -1520,7 +1520,7 @@ function createInstrumentations(readonly, shallow) {
1520
1520
  get size() {
1521
1521
  const target = this["__v_raw"];
1522
1522
  !readonly && track(toRaw(target), "iterate", ITERATE_KEY);
1523
- return Reflect.get(target, "size", target);
1523
+ return target.size;
1524
1524
  },
1525
1525
  has(key) {
1526
1526
  const target = this["__v_raw"];
@@ -6189,7 +6189,7 @@ function legacyRenderSlot(instance, name, fallback, props, bindObject) {
6189
6189
  }
6190
6190
  return renderSlot(instance.slots, name, props, fallback && (() => fallback));
6191
6191
  }
6192
- function legacyresolveScopedSlots(fns, raw, hasDynamicKeys) {
6192
+ function legacyResolveScopedSlots(fns, raw, hasDynamicKeys) {
6193
6193
  return createSlots(
6194
6194
  raw || { $stable: !hasDynamicKeys },
6195
6195
  mapKeyToName(fns)
@@ -6356,7 +6356,7 @@ function installCompatInstanceProperties(map) {
6356
6356
  _b: () => legacyBindObjectProps,
6357
6357
  _v: () => createTextVNode,
6358
6358
  _e: () => createCommentVNode,
6359
- _u: () => legacyresolveScopedSlots,
6359
+ _u: () => legacyResolveScopedSlots,
6360
6360
  _g: () => legacyBindObjectListeners,
6361
6361
  _d: () => legacyBindDynamicKeys,
6362
6362
  _p: () => legacyPrependModifier
@@ -7277,7 +7277,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
7277
7277
  return vm;
7278
7278
  }
7279
7279
  }
7280
- Vue.version = `2.6.14-compat:${"3.5.19"}`;
7280
+ Vue.version = `2.6.14-compat:${"3.5.20"}`;
7281
7281
  Vue.config = singletonApp.config;
7282
7282
  Vue.use = (plugin, ...options) => {
7283
7283
  if (plugin && isFunction(plugin.install)) {
@@ -12481,7 +12481,7 @@ function isMemoSame(cached, memo) {
12481
12481
  return true;
12482
12482
  }
12483
12483
 
12484
- const version = "3.5.19";
12484
+ const version = "3.5.20";
12485
12485
  const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
12486
12486
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
12487
12487
  const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
@@ -12925,6 +12925,8 @@ function patchClass(el, value, isSVG) {
12925
12925
  const vShowOriginalDisplay = Symbol("_vod");
12926
12926
  const vShowHidden = Symbol("_vsh");
12927
12927
  const vShow = {
12928
+ // used for prop mismatch check during hydration
12929
+ name: "show",
12928
12930
  beforeMount(el, { value }, { transition }) {
12929
12931
  el[vShowOriginalDisplay] = el.style.display === "none" ? "" : el.style.display;
12930
12932
  if (transition && value) {
@@ -12958,9 +12960,6 @@ const vShow = {
12958
12960
  setDisplay(el, value);
12959
12961
  }
12960
12962
  };
12961
- if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) {
12962
- vShow.name = "show";
12963
- }
12964
12963
  function setDisplay(el, value) {
12965
12964
  el.style.display = value ? el[vShowOriginalDisplay] : "none";
12966
12965
  el[vShowHidden] = !value;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.5.19
2
+ * @vue/compat v3.5.20
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1167,7 +1167,7 @@ var Vue = (function () {
1167
1167
  join(separator) {
1168
1168
  return reactiveReadArray(this).join(separator);
1169
1169
  },
1170
- // keys() iterator only reads `length`, no optimisation required
1170
+ // keys() iterator only reads `length`, no optimization required
1171
1171
  lastIndexOf(...args) {
1172
1172
  return searchProxy(this, "lastIndexOf", args);
1173
1173
  },
@@ -1519,7 +1519,7 @@ var Vue = (function () {
1519
1519
  get size() {
1520
1520
  const target = this["__v_raw"];
1521
1521
  !readonly && track(toRaw(target), "iterate", ITERATE_KEY);
1522
- return Reflect.get(target, "size", target);
1522
+ return target.size;
1523
1523
  },
1524
1524
  has(key) {
1525
1525
  const target = this["__v_raw"];
@@ -6156,7 +6156,7 @@ If this is a native custom element, make sure to exclude it from component resol
6156
6156
  }
6157
6157
  return renderSlot(instance.slots, name, props, fallback && (() => fallback));
6158
6158
  }
6159
- function legacyresolveScopedSlots(fns, raw, hasDynamicKeys) {
6159
+ function legacyResolveScopedSlots(fns, raw, hasDynamicKeys) {
6160
6160
  return createSlots(
6161
6161
  raw || { $stable: !hasDynamicKeys },
6162
6162
  mapKeyToName(fns)
@@ -6323,7 +6323,7 @@ If this is a native custom element, make sure to exclude it from component resol
6323
6323
  _b: () => legacyBindObjectProps,
6324
6324
  _v: () => createTextVNode,
6325
6325
  _e: () => createCommentVNode,
6326
- _u: () => legacyresolveScopedSlots,
6326
+ _u: () => legacyResolveScopedSlots,
6327
6327
  _g: () => legacyBindObjectListeners,
6328
6328
  _d: () => legacyBindDynamicKeys,
6329
6329
  _p: () => legacyPrependModifier
@@ -7239,7 +7239,7 @@ If this is a native custom element, make sure to exclude it from component resol
7239
7239
  return vm;
7240
7240
  }
7241
7241
  }
7242
- Vue.version = `2.6.14-compat:${"3.5.19"}`;
7242
+ Vue.version = `2.6.14-compat:${"3.5.20"}`;
7243
7243
  Vue.config = singletonApp.config;
7244
7244
  Vue.use = (plugin, ...options) => {
7245
7245
  if (plugin && isFunction(plugin.install)) {
@@ -12347,7 +12347,7 @@ Component that was made reactive: `,
12347
12347
  return true;
12348
12348
  }
12349
12349
 
12350
- const version = "3.5.19";
12350
+ const version = "3.5.20";
12351
12351
  const warn = warn$1 ;
12352
12352
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
12353
12353
  const devtools = devtools$1 ;
@@ -12779,6 +12779,8 @@ Component that was made reactive: `,
12779
12779
  const vShowOriginalDisplay = Symbol("_vod");
12780
12780
  const vShowHidden = Symbol("_vsh");
12781
12781
  const vShow = {
12782
+ // used for prop mismatch check during hydration
12783
+ name: "show",
12782
12784
  beforeMount(el, { value }, { transition }) {
12783
12785
  el[vShowOriginalDisplay] = el.style.display === "none" ? "" : el.style.display;
12784
12786
  if (transition && value) {
@@ -12812,9 +12814,6 @@ Component that was made reactive: `,
12812
12814
  setDisplay(el, value);
12813
12815
  }
12814
12816
  };
12815
- {
12816
- vShow.name = "show";
12817
- }
12818
12817
  function setDisplay(el, value) {
12819
12818
  el.style.display = value ? el[vShowOriginalDisplay] : "none";
12820
12819
  el[vShowHidden] = !value;