@cabloy/vue-runtime-core 3.4.43 → 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.
package/dist/runtime-core.cjs.js
CHANGED
|
@@ -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) {
|
|
@@ -4931,7 +4937,9 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
4931
4937
|
invokeVNodeHook(vnodeHook, parent, initialVNode);
|
|
4932
4938
|
}
|
|
4933
4939
|
toggleRecurse(instance, true);
|
|
4934
|
-
|
|
4940
|
+
const _zova = _getValidZova(instance);
|
|
4941
|
+
const _maybeAllowHydrate = !_zova || _zova.meta.ssr.isRuntimeSsrPreHydration;
|
|
4942
|
+
if (el && hydrateNode && _maybeAllowHydrate) {
|
|
4935
4943
|
const hydrateSubTree = () => {
|
|
4936
4944
|
{
|
|
4937
4945
|
startMeasure(instance, `render`);
|
|
@@ -5116,6 +5124,10 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
5116
5124
|
);
|
|
5117
5125
|
const update = instance.update = () => {
|
|
5118
5126
|
if (effect.dirty) {
|
|
5127
|
+
const zova = _getValidZova(instance);
|
|
5128
|
+
if (zova && zova.meta.ssr.isRuntimeSsrPreHydration && !zova.meta.ssr._hydratingInstanceRecord(instance)) {
|
|
5129
|
+
return;
|
|
5130
|
+
}
|
|
5119
5131
|
effect.run();
|
|
5120
5132
|
}
|
|
5121
5133
|
};
|
|
@@ -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) {
|
|
@@ -3730,7 +3736,9 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
3730
3736
|
invokeVNodeHook(vnodeHook, parent, initialVNode);
|
|
3731
3737
|
}
|
|
3732
3738
|
toggleRecurse(instance, true);
|
|
3733
|
-
|
|
3739
|
+
const _zova = _getValidZova(instance);
|
|
3740
|
+
const _maybeAllowHydrate = !_zova || _zova.meta.ssr.isRuntimeSsrPreHydration;
|
|
3741
|
+
if (el && hydrateNode && _maybeAllowHydrate) {
|
|
3734
3742
|
const hydrateSubTree = () => {
|
|
3735
3743
|
instance.subTree = renderComponentRoot(instance);
|
|
3736
3744
|
hydrateNode(
|
|
@@ -3867,6 +3875,10 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
3867
3875
|
);
|
|
3868
3876
|
const update = instance.update = () => {
|
|
3869
3877
|
if (effect.dirty) {
|
|
3878
|
+
const zova = _getValidZova(instance);
|
|
3879
|
+
if (zova && zova.meta.ssr.isRuntimeSsrPreHydration && !zova.meta.ssr._hydratingInstanceRecord(instance)) {
|
|
3880
|
+
return;
|
|
3881
|
+
}
|
|
3870
3882
|
effect.run();
|
|
3871
3883
|
}
|
|
3872
3884
|
};
|
|
@@ -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) {
|
|
@@ -4986,7 +4992,9 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
4986
4992
|
invokeVNodeHook(vnodeHook, parent, initialVNode);
|
|
4987
4993
|
}
|
|
4988
4994
|
toggleRecurse(instance, true);
|
|
4989
|
-
|
|
4995
|
+
const _zova = _getValidZova(instance);
|
|
4996
|
+
const _maybeAllowHydrate = !_zova || _zova.meta.ssr.isRuntimeSsrPreHydration;
|
|
4997
|
+
if (el && hydrateNode && _maybeAllowHydrate) {
|
|
4990
4998
|
const hydrateSubTree = () => {
|
|
4991
4999
|
if (!!(process.env.NODE_ENV !== "production")) {
|
|
4992
5000
|
startMeasure(instance, `render`);
|
|
@@ -5171,6 +5179,10 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
5171
5179
|
);
|
|
5172
5180
|
const update = instance.update = () => {
|
|
5173
5181
|
if (effect.dirty) {
|
|
5182
|
+
const zova = _getValidZova(instance);
|
|
5183
|
+
if (zova && zova.meta.ssr.isRuntimeSsrPreHydration && !zova.meta.ssr._hydratingInstanceRecord(instance)) {
|
|
5184
|
+
return;
|
|
5185
|
+
}
|
|
5174
5186
|
effect.run();
|
|
5175
5187
|
}
|
|
5176
5188
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cabloy/vue-runtime-core",
|
|
3
|
-
"version": "3.4.
|
|
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.
|
|
50
|
+
"@vue/reactivity": "npm:@cabloy/vue-reactivity@3.4.45"
|
|
51
51
|
}
|
|
52
52
|
}
|