@cabloy/vue-runtime-core 3.4.46 → 3.4.47

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.
@@ -3712,16 +3712,20 @@ function createHydrationFunctions(rendererInternals) {
3712
3712
  }
3713
3713
  } else {
3714
3714
  if (node.data !== vnode.children) {
3715
- warn$1(
3716
- `Hydration text mismatch in`,
3717
- node.parentNode,
3718
- `
3715
+ if (node.parentNode.getAttribute(
3716
+ "data-hydrate-ignore-text"
3717
+ ) === null) {
3718
+ warn$1(
3719
+ `Hydration text mismatch in`,
3720
+ node.parentNode,
3721
+ `
3719
3722
  - rendered on server: ${JSON.stringify(
3720
- node.data
3721
- )}
3723
+ node.data
3724
+ )}
3722
3725
  - expected on client: ${JSON.stringify(vnode.children)}`
3723
- );
3724
- logMismatchError();
3726
+ );
3727
+ logMismatchError();
3728
+ }
3725
3729
  node.data = vnode.children;
3726
3730
  }
3727
3731
  nextNode = nextSibling(node);
@@ -2770,7 +2770,11 @@ function createHydrationFunctions(rendererInternals) {
2770
2770
  }
2771
2771
  } else {
2772
2772
  if (node.data !== vnode.children) {
2773
- logMismatchError();
2773
+ if (node.parentNode.getAttribute(
2774
+ "data-hydrate-ignore-text"
2775
+ ) === null) {
2776
+ logMismatchError();
2777
+ }
2774
2778
  node.data = vnode.children;
2775
2779
  }
2776
2780
  nextNode = nextSibling(node);
@@ -3718,16 +3718,20 @@ function createHydrationFunctions(rendererInternals) {
3718
3718
  }
3719
3719
  } else {
3720
3720
  if (node.data !== vnode.children) {
3721
- (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && warn$1(
3722
- `Hydration text mismatch in`,
3723
- node.parentNode,
3724
- `
3721
+ if (node.parentNode.getAttribute(
3722
+ "data-hydrate-ignore-text"
3723
+ ) === null) {
3724
+ (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && warn$1(
3725
+ `Hydration text mismatch in`,
3726
+ node.parentNode,
3727
+ `
3725
3728
  - rendered on server: ${JSON.stringify(
3726
- node.data
3727
- )}
3729
+ node.data
3730
+ )}
3728
3731
  - expected on client: ${JSON.stringify(vnode.children)}`
3729
- );
3730
- logMismatchError();
3732
+ );
3733
+ logMismatchError();
3734
+ }
3731
3735
  node.data = vnode.children;
3732
3736
  }
3733
3737
  nextNode = nextSibling(node);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabloy/vue-runtime-core",
3
- "version": "3.4.46",
3
+ "version": "3.4.47",
4
4
  "description": "@vue/runtime-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/runtime-core.esm-bundler.js",
@@ -47,6 +47,6 @@
47
47
  "homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
48
48
  "dependencies": {
49
49
  "@vue/shared": "3.4.37",
50
- "@vue/reactivity": "npm:@cabloy/vue-reactivity@3.4.46"
50
+ "@vue/reactivity": "npm:@cabloy/vue-reactivity@3.4.47"
51
51
  }
52
52
  }