@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
  **/
@@ -1095,7 +1095,7 @@ const arrayInstrumentations = {
1095
1095
  join(separator) {
1096
1096
  return reactiveReadArray(this).join(separator);
1097
1097
  },
1098
- // keys() iterator only reads `length`, no optimisation required
1098
+ // keys() iterator only reads `length`, no optimization required
1099
1099
  lastIndexOf(...args) {
1100
1100
  return searchProxy(this, "lastIndexOf", args);
1101
1101
  },
@@ -1447,7 +1447,7 @@ function createInstrumentations(readonly, shallow) {
1447
1447
  get size() {
1448
1448
  const target = this["__v_raw"];
1449
1449
  !readonly && track(toRaw(target), "iterate", ITERATE_KEY);
1450
- return Reflect.get(target, "size", target);
1450
+ return target.size;
1451
1451
  },
1452
1452
  has(key) {
1453
1453
  const target = this["__v_raw"];
@@ -6116,7 +6116,7 @@ function legacyRenderSlot(instance, name, fallback, props, bindObject) {
6116
6116
  }
6117
6117
  return renderSlot(instance.slots, name, props, fallback && (() => fallback));
6118
6118
  }
6119
- function legacyresolveScopedSlots(fns, raw, hasDynamicKeys) {
6119
+ function legacyResolveScopedSlots(fns, raw, hasDynamicKeys) {
6120
6120
  return createSlots(
6121
6121
  raw || { $stable: !hasDynamicKeys },
6122
6122
  mapKeyToName(fns)
@@ -6283,7 +6283,7 @@ function installCompatInstanceProperties(map) {
6283
6283
  _b: () => legacyBindObjectProps,
6284
6284
  _v: () => createTextVNode,
6285
6285
  _e: () => createCommentVNode,
6286
- _u: () => legacyresolveScopedSlots,
6286
+ _u: () => legacyResolveScopedSlots,
6287
6287
  _g: () => legacyBindObjectListeners,
6288
6288
  _d: () => legacyBindDynamicKeys,
6289
6289
  _p: () => legacyPrependModifier
@@ -7204,7 +7204,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
7204
7204
  return vm;
7205
7205
  }
7206
7206
  }
7207
- Vue.version = `2.6.14-compat:${"3.5.19"}`;
7207
+ Vue.version = `2.6.14-compat:${"3.5.20"}`;
7208
7208
  Vue.config = singletonApp.config;
7209
7209
  Vue.use = (plugin, ...options) => {
7210
7210
  if (plugin && isFunction(plugin.install)) {
@@ -12408,7 +12408,7 @@ function isMemoSame(cached, memo) {
12408
12408
  return true;
12409
12409
  }
12410
12410
 
12411
- const version = "3.5.19";
12411
+ const version = "3.5.20";
12412
12412
  const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
12413
12413
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
12414
12414
  const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
@@ -12852,6 +12852,8 @@ function patchClass(el, value, isSVG) {
12852
12852
  const vShowOriginalDisplay = Symbol("_vod");
12853
12853
  const vShowHidden = Symbol("_vsh");
12854
12854
  const vShow = {
12855
+ // used for prop mismatch check during hydration
12856
+ name: "show",
12855
12857
  beforeMount(el, { value }, { transition }) {
12856
12858
  el[vShowOriginalDisplay] = el.style.display === "none" ? "" : el.style.display;
12857
12859
  if (transition && value) {
@@ -12885,9 +12887,6 @@ const vShow = {
12885
12887
  setDisplay(el, value);
12886
12888
  }
12887
12889
  };
12888
- if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) {
12889
- vShow.name = "show";
12890
- }
12891
12890
  function setDisplay(el, value) {
12892
12891
  el.style.display = value ? el[vShowOriginalDisplay] : "none";
12893
12892
  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
  **/
@@ -1094,7 +1094,7 @@ var Vue = (function () {
1094
1094
  join(separator) {
1095
1095
  return reactiveReadArray(this).join(separator);
1096
1096
  },
1097
- // keys() iterator only reads `length`, no optimisation required
1097
+ // keys() iterator only reads `length`, no optimization required
1098
1098
  lastIndexOf(...args) {
1099
1099
  return searchProxy(this, "lastIndexOf", args);
1100
1100
  },
@@ -1446,7 +1446,7 @@ var Vue = (function () {
1446
1446
  get size() {
1447
1447
  const target = this["__v_raw"];
1448
1448
  !readonly && track(toRaw(target), "iterate", ITERATE_KEY);
1449
- return Reflect.get(target, "size", target);
1449
+ return target.size;
1450
1450
  },
1451
1451
  has(key) {
1452
1452
  const target = this["__v_raw"];
@@ -6083,7 +6083,7 @@ If this is a native custom element, make sure to exclude it from component resol
6083
6083
  }
6084
6084
  return renderSlot(instance.slots, name, props, fallback && (() => fallback));
6085
6085
  }
6086
- function legacyresolveScopedSlots(fns, raw, hasDynamicKeys) {
6086
+ function legacyResolveScopedSlots(fns, raw, hasDynamicKeys) {
6087
6087
  return createSlots(
6088
6088
  raw || { $stable: !hasDynamicKeys },
6089
6089
  mapKeyToName(fns)
@@ -6250,7 +6250,7 @@ If this is a native custom element, make sure to exclude it from component resol
6250
6250
  _b: () => legacyBindObjectProps,
6251
6251
  _v: () => createTextVNode,
6252
6252
  _e: () => createCommentVNode,
6253
- _u: () => legacyresolveScopedSlots,
6253
+ _u: () => legacyResolveScopedSlots,
6254
6254
  _g: () => legacyBindObjectListeners,
6255
6255
  _d: () => legacyBindDynamicKeys,
6256
6256
  _p: () => legacyPrependModifier
@@ -7166,7 +7166,7 @@ If this is a native custom element, make sure to exclude it from component resol
7166
7166
  return vm;
7167
7167
  }
7168
7168
  }
7169
- Vue.version = `2.6.14-compat:${"3.5.19"}`;
7169
+ Vue.version = `2.6.14-compat:${"3.5.20"}`;
7170
7170
  Vue.config = singletonApp.config;
7171
7171
  Vue.use = (plugin, ...options) => {
7172
7172
  if (plugin && isFunction(plugin.install)) {
@@ -12274,7 +12274,7 @@ Component that was made reactive: `,
12274
12274
  return true;
12275
12275
  }
12276
12276
 
12277
- const version = "3.5.19";
12277
+ const version = "3.5.20";
12278
12278
  const warn = warn$1 ;
12279
12279
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
12280
12280
  const devtools = devtools$1 ;
@@ -12706,6 +12706,8 @@ Component that was made reactive: `,
12706
12706
  const vShowOriginalDisplay = Symbol("_vod");
12707
12707
  const vShowHidden = Symbol("_vsh");
12708
12708
  const vShow = {
12709
+ // used for prop mismatch check during hydration
12710
+ name: "show",
12709
12711
  beforeMount(el, { value }, { transition }) {
12710
12712
  el[vShowOriginalDisplay] = el.style.display === "none" ? "" : el.style.display;
12711
12713
  if (transition && value) {
@@ -12739,9 +12741,6 @@ Component that was made reactive: `,
12739
12741
  setDisplay(el, value);
12740
12742
  }
12741
12743
  };
12742
- {
12743
- vShow.name = "show";
12744
- }
12745
12744
  function setDisplay(el, value) {
12746
12745
  el.style.display = value ? el[vShowOriginalDisplay] : "none";
12747
12746
  el[vShowHidden] = !value;