@cabloy/vue-runtime-core 3.4.47 → 3.4.49

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.
@@ -3510,8 +3510,8 @@ const TeleportImpl = {
3510
3510
  props
3511
3511
  } = vnode;
3512
3512
  if (target) {
3513
- hostRemove(targetStart);
3514
- hostRemove(targetAnchor);
3513
+ targetStart && hostRemove(targetStart);
3514
+ targetAnchor && hostRemove(targetAnchor);
3515
3515
  }
3516
3516
  doRemove && hostRemove(anchor);
3517
3517
  if (shapeFlag & 16) {
@@ -3712,20 +3712,6 @@ function createHydrationFunctions(rendererInternals) {
3712
3712
  }
3713
3713
  } else {
3714
3714
  if (node.data !== vnode.children) {
3715
- if (node.parentNode.getAttribute(
3716
- "data-hydrate-ignore-text"
3717
- ) === null) {
3718
- warn$1(
3719
- `Hydration text mismatch in`,
3720
- node.parentNode,
3721
- `
3722
- - rendered on server: ${JSON.stringify(
3723
- node.data
3724
- )}
3725
- - expected on client: ${JSON.stringify(vnode.children)}`
3726
- );
3727
- logMismatchError();
3728
- }
3729
3715
  node.data = vnode.children;
3730
3716
  }
3731
3717
  nextNode = nextSibling(node);
@@ -2575,8 +2575,8 @@ const TeleportImpl = {
2575
2575
  props
2576
2576
  } = vnode;
2577
2577
  if (target) {
2578
- hostRemove(targetStart);
2579
- hostRemove(targetAnchor);
2578
+ targetStart && hostRemove(targetStart);
2579
+ targetAnchor && hostRemove(targetAnchor);
2580
2580
  }
2581
2581
  doRemove && hostRemove(anchor);
2582
2582
  if (shapeFlag & 16) {
@@ -2770,11 +2770,6 @@ function createHydrationFunctions(rendererInternals) {
2770
2770
  }
2771
2771
  } else {
2772
2772
  if (node.data !== vnode.children) {
2773
- if (node.parentNode.getAttribute(
2774
- "data-hydrate-ignore-text"
2775
- ) === null) {
2776
- logMismatchError();
2777
- }
2778
2773
  node.data = vnode.children;
2779
2774
  }
2780
2775
  nextNode = nextSibling(node);
@@ -3516,8 +3516,8 @@ const TeleportImpl = {
3516
3516
  props
3517
3517
  } = vnode;
3518
3518
  if (target) {
3519
- hostRemove(targetStart);
3520
- hostRemove(targetAnchor);
3519
+ targetStart && hostRemove(targetStart);
3520
+ targetAnchor && hostRemove(targetAnchor);
3521
3521
  }
3522
3522
  doRemove && hostRemove(anchor);
3523
3523
  if (shapeFlag & 16) {
@@ -3718,20 +3718,6 @@ function createHydrationFunctions(rendererInternals) {
3718
3718
  }
3719
3719
  } else {
3720
3720
  if (node.data !== vnode.children) {
3721
- if (node.parentNode.getAttribute(
3722
- "data-hydrate-ignore-text"
3723
- ) === null) {
3724
- (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && warn$1(
3725
- `Hydration text mismatch in`,
3726
- node.parentNode,
3727
- `
3728
- - rendered on server: ${JSON.stringify(
3729
- node.data
3730
- )}
3731
- - expected on client: ${JSON.stringify(vnode.children)}`
3732
- );
3733
- logMismatchError();
3734
- }
3735
3721
  node.data = vnode.children;
3736
3722
  }
3737
3723
  nextNode = nextSibling(node);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabloy/vue-runtime-core",
3
- "version": "3.4.47",
3
+ "version": "3.4.49",
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.47"
50
+ "@vue/reactivity": "npm:@cabloy/vue-reactivity@3.4.49"
51
51
  }
52
52
  }