@cabloy/vue-runtime-core 3.4.45 → 3.4.46

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);
@@ -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);
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.46",
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.46"
51
51
  }
52
52
  }