@cabloy/vue-runtime-core 3.5.7 → 3.5.8

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.
@@ -2321,7 +2321,7 @@ function defineAsyncComponent(source) {
2321
2321
  pendingRequest = null;
2322
2322
  return load();
2323
2323
  };
2324
- const load = () => {
2324
+ const load = (attrs) => {
2325
2325
  let thisRequest;
2326
2326
  return pendingRequest || (thisRequest = pendingRequest = loader().catch((err) => {
2327
2327
  err = err instanceof Error ? err : new Error(String(err));
@@ -2369,7 +2369,7 @@ function defineAsyncComponent(source) {
2369
2369
  if (resolvedComp) {
2370
2370
  doHydrate();
2371
2371
  } else {
2372
- load().then(() => !instance.isUnmounted && doHydrate());
2372
+ load(instance.attrs).then(() => !instance.isUnmounted && doHydrate());
2373
2373
  }
2374
2374
  },
2375
2375
  get __asyncResolved() {
@@ -2391,7 +2391,7 @@ function defineAsyncComponent(source) {
2391
2391
  );
2392
2392
  };
2393
2393
  if (suspensible && instance.suspense || isInSSRComponentSetup) {
2394
- return load().then((comp) => {
2394
+ return load(instance.attrs).then((comp) => {
2395
2395
  return () => createInnerComp(comp, instance);
2396
2396
  }).catch((err) => {
2397
2397
  onError(err);
@@ -2419,7 +2419,7 @@ function defineAsyncComponent(source) {
2419
2419
  }
2420
2420
  }, timeout);
2421
2421
  }
2422
- load().then(() => {
2422
+ load(instance.attrs).then(() => {
2423
2423
  loaded.value = true;
2424
2424
  if (instance.parent && isKeepAlive(instance.parent.vnode)) {
2425
2425
  instance.parent.update();
@@ -1701,7 +1701,7 @@ function defineAsyncComponent(source) {
1701
1701
  pendingRequest = null;
1702
1702
  return load();
1703
1703
  };
1704
- const load = () => {
1704
+ const load = (attrs) => {
1705
1705
  let thisRequest;
1706
1706
  return pendingRequest || (thisRequest = pendingRequest = loader().catch((err) => {
1707
1707
  err = err instanceof Error ? err : new Error(String(err));
@@ -1741,7 +1741,7 @@ function defineAsyncComponent(source) {
1741
1741
  if (resolvedComp) {
1742
1742
  doHydrate();
1743
1743
  } else {
1744
- load().then(() => !instance.isUnmounted && doHydrate());
1744
+ load(instance.attrs).then(() => !instance.isUnmounted && doHydrate());
1745
1745
  }
1746
1746
  },
1747
1747
  get __asyncResolved() {
@@ -1763,7 +1763,7 @@ function defineAsyncComponent(source) {
1763
1763
  );
1764
1764
  };
1765
1765
  if (suspensible && instance.suspense || isInSSRComponentSetup) {
1766
- return load().then((comp) => {
1766
+ return load(instance.attrs).then((comp) => {
1767
1767
  return () => createInnerComp(comp, instance);
1768
1768
  }).catch((err) => {
1769
1769
  onError(err);
@@ -1791,7 +1791,7 @@ function defineAsyncComponent(source) {
1791
1791
  }
1792
1792
  }, timeout);
1793
1793
  }
1794
- load().then(() => {
1794
+ load(instance.attrs).then(() => {
1795
1795
  loaded.value = true;
1796
1796
  if (instance.parent && isKeepAlive(instance.parent.vnode)) {
1797
1797
  instance.parent.update();
@@ -2336,7 +2336,7 @@ function defineAsyncComponent(source) {
2336
2336
  pendingRequest = null;
2337
2337
  return load();
2338
2338
  };
2339
- const load = () => {
2339
+ const load = (attrs) => {
2340
2340
  let thisRequest;
2341
2341
  return pendingRequest || (thisRequest = pendingRequest = loader().catch((err) => {
2342
2342
  err = err instanceof Error ? err : new Error(String(err));
@@ -2384,7 +2384,7 @@ function defineAsyncComponent(source) {
2384
2384
  if (resolvedComp) {
2385
2385
  doHydrate();
2386
2386
  } else {
2387
- load().then(() => !instance.isUnmounted && doHydrate());
2387
+ load(instance.attrs).then(() => !instance.isUnmounted && doHydrate());
2388
2388
  }
2389
2389
  },
2390
2390
  get __asyncResolved() {
@@ -2406,7 +2406,7 @@ function defineAsyncComponent(source) {
2406
2406
  );
2407
2407
  };
2408
2408
  if (suspensible && instance.suspense || isInSSRComponentSetup) {
2409
- return load().then((comp) => {
2409
+ return load(instance.attrs).then((comp) => {
2410
2410
  return () => createInnerComp(comp, instance);
2411
2411
  }).catch((err) => {
2412
2412
  onError(err);
@@ -2434,7 +2434,7 @@ function defineAsyncComponent(source) {
2434
2434
  }
2435
2435
  }, timeout);
2436
2436
  }
2437
- load().then(() => {
2437
+ load(instance.attrs).then(() => {
2438
2438
  loaded.value = true;
2439
2439
  if (instance.parent && isKeepAlive(instance.parent.vnode)) {
2440
2440
  instance.parent.update();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabloy/vue-runtime-core",
3
- "version": "3.5.7",
3
+ "version": "3.5.8",
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.5.6",
50
- "@vue/reactivity": "npm:@cabloy/vue-reactivity@3.5.7"
50
+ "@vue/reactivity": "npm:@cabloy/vue-reactivity@3.5.8"
51
51
  }
52
52
  }