@vue/runtime-dom 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/runtime-dom v3.5.19
2
+ * @vue/runtime-dom v3.5.20
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -388,6 +388,8 @@ function patchClass(el, value, isSVG) {
388
388
  const vShowOriginalDisplay = Symbol("_vod");
389
389
  const vShowHidden = Symbol("_vsh");
390
390
  const vShow = {
391
+ // used for prop mismatch check during hydration
392
+ name: "show",
391
393
  beforeMount(el, { value }, { transition }) {
392
394
  el[vShowOriginalDisplay] = el.style.display === "none" ? "" : el.style.display;
393
395
  if (transition && value) {
@@ -421,9 +423,6 @@ const vShow = {
421
423
  setDisplay(el, value);
422
424
  }
423
425
  };
424
- {
425
- vShow.name = "show";
426
- }
427
426
  function setDisplay(el, value) {
428
427
  el.style.display = value ? el[vShowOriginalDisplay] : "none";
429
428
  el[vShowHidden] = !value;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/runtime-dom v3.5.19
2
+ * @vue/runtime-dom v3.5.20
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -384,6 +384,8 @@ function patchClass(el, value, isSVG) {
384
384
  const vShowOriginalDisplay = Symbol("_vod");
385
385
  const vShowHidden = Symbol("_vsh");
386
386
  const vShow = {
387
+ // used for prop mismatch check during hydration
388
+ name: "show",
387
389
  beforeMount(el, { value }, { transition }) {
388
390
  el[vShowOriginalDisplay] = el.style.display === "none" ? "" : el.style.display;
389
391
  if (transition && value) {
@@ -46,7 +46,7 @@ interface VShowElement extends HTMLElement {
46
46
  [vShowHidden]: boolean;
47
47
  }
48
48
  export declare const vShow: ObjectDirective<VShowElement> & {
49
- name?: 'show';
49
+ name: 'show';
50
50
  };
51
51
 
52
52
  declare const systemModifiers: readonly ["ctrl", "shift", "alt", "meta"];
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/runtime-dom v3.5.19
2
+ * @vue/runtime-dom v3.5.20
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1091,7 +1091,7 @@ const arrayInstrumentations = {
1091
1091
  join(separator) {
1092
1092
  return reactiveReadArray(this).join(separator);
1093
1093
  },
1094
- // keys() iterator only reads `length`, no optimisation required
1094
+ // keys() iterator only reads `length`, no optimization required
1095
1095
  lastIndexOf(...args) {
1096
1096
  return searchProxy(this, "lastIndexOf", args);
1097
1097
  },
@@ -1443,7 +1443,7 @@ function createInstrumentations(readonly, shallow) {
1443
1443
  get size() {
1444
1444
  const target = this["__v_raw"];
1445
1445
  !readonly && track(toRaw(target), "iterate", ITERATE_KEY);
1446
- return Reflect.get(target, "size", target);
1446
+ return target.size;
1447
1447
  },
1448
1448
  has(key) {
1449
1449
  const target = this["__v_raw"];
@@ -10559,7 +10559,7 @@ function isMemoSame(cached, memo) {
10559
10559
  return true;
10560
10560
  }
10561
10561
 
10562
- const version = "3.5.19";
10562
+ const version = "3.5.20";
10563
10563
  const warn = warn$1 ;
10564
10564
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
10565
10565
  const devtools = devtools$1 ;
@@ -10959,6 +10959,8 @@ function patchClass(el, value, isSVG) {
10959
10959
  const vShowOriginalDisplay = Symbol("_vod");
10960
10960
  const vShowHidden = Symbol("_vsh");
10961
10961
  const vShow = {
10962
+ // used for prop mismatch check during hydration
10963
+ name: "show",
10962
10964
  beforeMount(el, { value }, { transition }) {
10963
10965
  el[vShowOriginalDisplay] = el.style.display === "none" ? "" : el.style.display;
10964
10966
  if (transition && value) {
@@ -10992,9 +10994,6 @@ const vShow = {
10992
10994
  setDisplay(el, value);
10993
10995
  }
10994
10996
  };
10995
- {
10996
- vShow.name = "show";
10997
- }
10998
10997
  function setDisplay(el, value) {
10999
10998
  el.style.display = value ? el[vShowOriginalDisplay] : "none";
11000
10999
  el[vShowHidden] = !value;