@cabloy/vue-runtime-core 3.4.45 → 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.
@@ -3151,9 +3151,11 @@ const normalizeSlot = (key, rawSlot, ctx) => {
3151
3151
  }
3152
3152
  const normalized = withCtx((...args) => {
3153
3153
  if (currentInstance && (!ctx || ctx.root === currentInstance.root)) {
3154
- warn$1(
3155
- `Slot "${key}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`
3156
- );
3154
+ if (typeof window !== "undefined") {
3155
+ warn$1(
3156
+ `Slot "${key}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`
3157
+ );
3158
+ }
3157
3159
  }
3158
3160
  return normalizeSlotValue(rawSlot(...args));
3159
3161
  }, ctx);
@@ -3710,16 +3712,20 @@ function createHydrationFunctions(rendererInternals) {
3710
3712
  }
3711
3713
  } else {
3712
3714
  if (node.data !== vnode.children) {
3713
- warn$1(
3714
- `Hydration text mismatch in`,
3715
- node.parentNode,
3716
- `
3715
+ if (node.parentNode.getAttribute(
3716
+ "data-hydrate-ignore-text"
3717
+ ) === null) {
3718
+ warn$1(
3719
+ `Hydration text mismatch in`,
3720
+ node.parentNode,
3721
+ `
3717
3722
  - rendered on server: ${JSON.stringify(
3718
- node.data
3719
- )}
3723
+ node.data
3724
+ )}
3720
3725
  - expected on client: ${JSON.stringify(vnode.children)}`
3721
- );
3722
- logMismatchError();
3726
+ );
3727
+ logMismatchError();
3728
+ }
3723
3729
  node.data = vnode.children;
3724
3730
  }
3725
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);
@@ -3157,9 +3157,11 @@ const normalizeSlot = (key, rawSlot, ctx) => {
3157
3157
  }
3158
3158
  const normalized = withCtx((...args) => {
3159
3159
  if (!!(process.env.NODE_ENV !== "production") && currentInstance && (!ctx || ctx.root === currentInstance.root)) {
3160
- warn$1(
3161
- `Slot "${key}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`
3162
- );
3160
+ if (typeof window !== "undefined") {
3161
+ warn$1(
3162
+ `Slot "${key}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`
3163
+ );
3164
+ }
3163
3165
  }
3164
3166
  return normalizeSlotValue(rawSlot(...args));
3165
3167
  }, ctx);
@@ -3716,16 +3718,20 @@ function createHydrationFunctions(rendererInternals) {
3716
3718
  }
3717
3719
  } else {
3718
3720
  if (node.data !== vnode.children) {
3719
- (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && warn$1(
3720
- `Hydration text mismatch in`,
3721
- node.parentNode,
3722
- `
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
+ `
3723
3728
  - rendered on server: ${JSON.stringify(
3724
- node.data
3725
- )}
3729
+ node.data
3730
+ )}
3726
3731
  - expected on client: ${JSON.stringify(vnode.children)}`
3727
- );
3728
- logMismatchError();
3732
+ );
3733
+ logMismatchError();
3734
+ }
3729
3735
  node.data = vnode.children;
3730
3736
  }
3731
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.45",
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.45"
50
+ "@vue/reactivity": "npm:@cabloy/vue-reactivity@3.4.47"
51
51
  }
52
52
  }