@cabloy/vue-runtime-core 3.5.35 → 3.5.36

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.
@@ -5223,10 +5223,10 @@ function baseCreateRenderer(options, createHydrationFns) {
5223
5223
  }
5224
5224
  };
5225
5225
  const updateComponent = (n1, n2, optimized) => {
5226
- const instance = n2.component = n1.component;
5227
- if (instance) {
5228
- instance.zovaHostProviders = n2.zovaHostProviders;
5226
+ if (n2.component !== n1.component) {
5227
+ n1.component.zovaHostProviders = n2.zovaHostProviders;
5229
5228
  }
5229
+ const instance = n2.component = n1.component;
5230
5230
  if (shouldUpdateComponent(n1, n2, optimized)) {
5231
5231
  if (instance.asyncDep && !instance.asyncResolved) {
5232
5232
  {
@@ -4007,10 +4007,10 @@ function baseCreateRenderer(options, createHydrationFns) {
4007
4007
  }
4008
4008
  };
4009
4009
  const updateComponent = (n1, n2, optimized) => {
4010
- const instance = n2.component = n1.component;
4011
- if (instance) {
4012
- instance.zovaHostProviders = n2.zovaHostProviders;
4010
+ if (n2.component !== n1.component) {
4011
+ n1.component.zovaHostProviders = n2.zovaHostProviders;
4013
4012
  }
4013
+ const instance = n2.component = n1.component;
4014
4014
  if (shouldUpdateComponent(n1, n2, optimized)) {
4015
4015
  if (instance.asyncDep && !instance.asyncResolved) {
4016
4016
  updateComponentPreRender(instance, n2, optimized);
@@ -5280,10 +5280,10 @@ function baseCreateRenderer(options, createHydrationFns) {
5280
5280
  }
5281
5281
  };
5282
5282
  const updateComponent = (n1, n2, optimized) => {
5283
- const instance = n2.component = n1.component;
5284
- if (instance) {
5285
- instance.zovaHostProviders = n2.zovaHostProviders;
5283
+ if (n2.component !== n1.component) {
5284
+ n1.component.zovaHostProviders = n2.zovaHostProviders;
5286
5285
  }
5286
+ const instance = n2.component = n1.component;
5287
5287
  if (shouldUpdateComponent(n1, n2, optimized)) {
5288
5288
  if (instance.asyncDep && !instance.asyncResolved) {
5289
5289
  if (!!(process.env.NODE_ENV !== "production")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabloy/vue-runtime-core",
3
- "version": "3.5.35",
3
+ "version": "3.5.36",
4
4
  "description": "@vue/runtime-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/runtime-core.esm-bundler.js",