@cabloy/vue-runtime-core 3.4.42 → 3.4.44

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.
@@ -4916,6 +4916,12 @@ function baseCreateRenderer(options, createHydrationFns) {
4916
4916
  instance.vnode = n2;
4917
4917
  }
4918
4918
  };
4919
+ function _getValidZova(instance) {
4920
+ while (instance) {
4921
+ if (instance.zova) return instance.zova;
4922
+ instance = instance.parent;
4923
+ }
4924
+ }
4919
4925
  const setupRenderEffect = (instance, initialVNode, container, anchor, parentSuspense, namespace, optimized) => {
4920
4926
  const componentUpdateFn = () => {
4921
4927
  if (!instance.isMounted) {
@@ -5023,6 +5029,9 @@ function baseCreateRenderer(options, createHydrationFns) {
5023
5029
  if (zova && zova.meta.ssr.isRuntimeSsrPreHydration) {
5024
5030
  return;
5025
5031
  }
5032
+ if (!instance.subTree) {
5033
+ return;
5034
+ }
5026
5035
  {
5027
5036
  const nonHydratedAsyncRoot = locateNonHydratedAsyncRoot(instance);
5028
5037
  if (nonHydratedAsyncRoot) {
@@ -5113,6 +5122,10 @@ function baseCreateRenderer(options, createHydrationFns) {
5113
5122
  );
5114
5123
  const update = instance.update = () => {
5115
5124
  if (effect.dirty) {
5125
+ const zova = _getValidZova(instance);
5126
+ if (zova && zova.meta.ssr.isRuntimeSsrPreHydration && !zova.meta.ssr._hydratingInstanceRecord(instance)) {
5127
+ return;
5128
+ }
5116
5129
  effect.run();
5117
5130
  }
5118
5131
  };
@@ -3715,6 +3715,12 @@ function baseCreateRenderer(options, createHydrationFns) {
3715
3715
  instance.vnode = n2;
3716
3716
  }
3717
3717
  };
3718
+ function _getValidZova(instance) {
3719
+ while (instance) {
3720
+ if (instance.zova) return instance.zova;
3721
+ instance = instance.parent;
3722
+ }
3723
+ }
3718
3724
  const setupRenderEffect = (instance, initialVNode, container, anchor, parentSuspense, namespace, optimized) => {
3719
3725
  const componentUpdateFn = () => {
3720
3726
  if (!instance.isMounted) {
@@ -3795,6 +3801,9 @@ function baseCreateRenderer(options, createHydrationFns) {
3795
3801
  if (zova && zova.meta.ssr.isRuntimeSsrPreHydration) {
3796
3802
  return;
3797
3803
  }
3804
+ if (!instance.subTree) {
3805
+ return;
3806
+ }
3798
3807
  {
3799
3808
  const nonHydratedAsyncRoot = locateNonHydratedAsyncRoot(instance);
3800
3809
  if (nonHydratedAsyncRoot) {
@@ -3864,6 +3873,10 @@ function baseCreateRenderer(options, createHydrationFns) {
3864
3873
  );
3865
3874
  const update = instance.update = () => {
3866
3875
  if (effect.dirty) {
3876
+ const zova = _getValidZova(instance);
3877
+ if (zova && zova.meta.ssr.isRuntimeSsrPreHydration && !zova.meta.ssr._hydratingInstanceRecord(instance)) {
3878
+ return;
3879
+ }
3867
3880
  effect.run();
3868
3881
  }
3869
3882
  };
@@ -4971,6 +4971,12 @@ function baseCreateRenderer(options, createHydrationFns) {
4971
4971
  instance.vnode = n2;
4972
4972
  }
4973
4973
  };
4974
+ function _getValidZova(instance) {
4975
+ while (instance) {
4976
+ if (instance.zova) return instance.zova;
4977
+ instance = instance.parent;
4978
+ }
4979
+ }
4974
4980
  const setupRenderEffect = (instance, initialVNode, container, anchor, parentSuspense, namespace, optimized) => {
4975
4981
  const componentUpdateFn = () => {
4976
4982
  if (!instance.isMounted) {
@@ -5078,6 +5084,9 @@ function baseCreateRenderer(options, createHydrationFns) {
5078
5084
  if (zova && zova.meta.ssr.isRuntimeSsrPreHydration) {
5079
5085
  return;
5080
5086
  }
5087
+ if (!instance.subTree) {
5088
+ return;
5089
+ }
5081
5090
  {
5082
5091
  const nonHydratedAsyncRoot = locateNonHydratedAsyncRoot(instance);
5083
5092
  if (nonHydratedAsyncRoot) {
@@ -5168,6 +5177,10 @@ function baseCreateRenderer(options, createHydrationFns) {
5168
5177
  );
5169
5178
  const update = instance.update = () => {
5170
5179
  if (effect.dirty) {
5180
+ const zova = _getValidZova(instance);
5181
+ if (zova && zova.meta.ssr.isRuntimeSsrPreHydration && !zova.meta.ssr._hydratingInstanceRecord(instance)) {
5182
+ return;
5183
+ }
5171
5184
  effect.run();
5172
5185
  }
5173
5186
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabloy/vue-runtime-core",
3
- "version": "3.4.42",
3
+ "version": "3.4.44",
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.42"
50
+ "@vue/reactivity": "npm:@cabloy/vue-reactivity@3.4.44"
51
51
  }
52
52
  }