@cabloy/vue-runtime-core 3.4.44 → 3.4.45

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.
@@ -4937,7 +4937,9 @@ function baseCreateRenderer(options, createHydrationFns) {
4937
4937
  invokeVNodeHook(vnodeHook, parent, initialVNode);
4938
4938
  }
4939
4939
  toggleRecurse(instance, true);
4940
- if (el && hydrateNode) {
4940
+ const _zova = _getValidZova(instance);
4941
+ const _maybeAllowHydrate = !_zova || _zova.meta.ssr.isRuntimeSsrPreHydration;
4942
+ if (el && hydrateNode && _maybeAllowHydrate) {
4941
4943
  const hydrateSubTree = () => {
4942
4944
  {
4943
4945
  startMeasure(instance, `render`);
@@ -3736,7 +3736,9 @@ function baseCreateRenderer(options, createHydrationFns) {
3736
3736
  invokeVNodeHook(vnodeHook, parent, initialVNode);
3737
3737
  }
3738
3738
  toggleRecurse(instance, true);
3739
- if (el && hydrateNode) {
3739
+ const _zova = _getValidZova(instance);
3740
+ const _maybeAllowHydrate = !_zova || _zova.meta.ssr.isRuntimeSsrPreHydration;
3741
+ if (el && hydrateNode && _maybeAllowHydrate) {
3740
3742
  const hydrateSubTree = () => {
3741
3743
  instance.subTree = renderComponentRoot(instance);
3742
3744
  hydrateNode(
@@ -4992,7 +4992,9 @@ function baseCreateRenderer(options, createHydrationFns) {
4992
4992
  invokeVNodeHook(vnodeHook, parent, initialVNode);
4993
4993
  }
4994
4994
  toggleRecurse(instance, true);
4995
- if (el && hydrateNode) {
4995
+ const _zova = _getValidZova(instance);
4996
+ const _maybeAllowHydrate = !_zova || _zova.meta.ssr.isRuntimeSsrPreHydration;
4997
+ if (el && hydrateNode && _maybeAllowHydrate) {
4996
4998
  const hydrateSubTree = () => {
4997
4999
  if (!!(process.env.NODE_ENV !== "production")) {
4998
5000
  startMeasure(instance, `render`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabloy/vue-runtime-core",
3
- "version": "3.4.44",
3
+ "version": "3.4.45",
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.44"
50
+ "@vue/reactivity": "npm:@cabloy/vue-reactivity@3.4.45"
51
51
  }
52
52
  }