@vue/compat 3.4.24 → 3.4.25

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/vue.cjs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.4.24
2
+ * @vue/compat v3.4.25
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -4598,11 +4598,13 @@ function getKeepAliveChild(vnode) {
4598
4598
  return vnode.component.subTree;
4599
4599
  }
4600
4600
  const { shapeFlag, children } = vnode;
4601
- if (shapeFlag & 16) {
4602
- return children[0];
4603
- }
4604
- if (shapeFlag & 32 && isFunction(children.default)) {
4605
- return children.default();
4601
+ if (children) {
4602
+ if (shapeFlag & 16) {
4603
+ return children[0];
4604
+ }
4605
+ if (shapeFlag & 32 && isFunction(children.default)) {
4606
+ return children.default();
4607
+ }
4606
4608
  }
4607
4609
  }
4608
4610
  function setTransitionHooks(vnode, hooks) {
@@ -6621,7 +6623,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6621
6623
  return vm;
6622
6624
  }
6623
6625
  }
6624
- Vue.version = `2.6.14-compat:${"3.4.24"}`;
6626
+ Vue.version = `2.6.14-compat:${"3.4.25"}`;
6625
6627
  Vue.config = singletonApp.config;
6626
6628
  Vue.use = (p, ...options) => {
6627
6629
  if (p && isFunction(p.install)) {
@@ -7258,7 +7260,7 @@ function shouldSkipAttr(key, instance) {
7258
7260
  return false;
7259
7261
  }
7260
7262
 
7261
- const internalObjectProto = /* @__PURE__ */ Object.create(null);
7263
+ const internalObjectProto = {};
7262
7264
  const createInternalObject = () => Object.create(internalObjectProto);
7263
7265
  const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
7264
7266
 
@@ -11468,7 +11470,7 @@ function isMemoSame(cached, memo) {
11468
11470
  return true;
11469
11471
  }
11470
11472
 
11471
- const version = "3.4.24";
11473
+ const version = "3.4.25";
11472
11474
  const warn = warn$1 ;
11473
11475
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11474
11476
  const devtools = devtools$1 ;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.4.24
2
+ * @vue/compat v3.4.25
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -3543,11 +3543,13 @@ function getKeepAliveChild(vnode) {
3543
3543
  return vnode;
3544
3544
  }
3545
3545
  const { shapeFlag, children } = vnode;
3546
- if (shapeFlag & 16) {
3547
- return children[0];
3548
- }
3549
- if (shapeFlag & 32 && isFunction(children.default)) {
3550
- return children.default();
3546
+ if (children) {
3547
+ if (shapeFlag & 16) {
3548
+ return children[0];
3549
+ }
3550
+ if (shapeFlag & 32 && isFunction(children.default)) {
3551
+ return children.default();
3552
+ }
3551
3553
  }
3552
3554
  }
3553
3555
  function setTransitionHooks(vnode, hooks) {
@@ -5279,7 +5281,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
5279
5281
  return vm;
5280
5282
  }
5281
5283
  }
5282
- Vue.version = `2.6.14-compat:${"3.4.24"}`;
5284
+ Vue.version = `2.6.14-compat:${"3.4.25"}`;
5283
5285
  Vue.config = singletonApp.config;
5284
5286
  Vue.use = (p, ...options) => {
5285
5287
  if (p && isFunction(p.install)) {
@@ -5806,7 +5808,7 @@ function shouldSkipAttr(key, instance) {
5806
5808
  return false;
5807
5809
  }
5808
5810
 
5809
- const internalObjectProto = /* @__PURE__ */ Object.create(null);
5811
+ const internalObjectProto = {};
5810
5812
  const createInternalObject = () => Object.create(internalObjectProto);
5811
5813
  const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
5812
5814
 
@@ -9138,7 +9140,7 @@ function isMemoSame(cached, memo) {
9138
9140
  return true;
9139
9141
  }
9140
9142
 
9141
- const version = "3.4.24";
9143
+ const version = "3.4.25";
9142
9144
  const warn$1 = NOOP;
9143
9145
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
9144
9146
  const devtools = void 0;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.4.24
2
+ * @vue/compat v3.4.25
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -4526,11 +4526,13 @@ function getKeepAliveChild(vnode) {
4526
4526
  return vnode.component.subTree;
4527
4527
  }
4528
4528
  const { shapeFlag, children } = vnode;
4529
- if (shapeFlag & 16) {
4530
- return children[0];
4531
- }
4532
- if (shapeFlag & 32 && isFunction(children.default)) {
4533
- return children.default();
4529
+ if (children) {
4530
+ if (shapeFlag & 16) {
4531
+ return children[0];
4532
+ }
4533
+ if (shapeFlag & 32 && isFunction(children.default)) {
4534
+ return children.default();
4535
+ }
4534
4536
  }
4535
4537
  }
4536
4538
  function setTransitionHooks(vnode, hooks) {
@@ -6543,7 +6545,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6543
6545
  return vm;
6544
6546
  }
6545
6547
  }
6546
- Vue.version = `2.6.14-compat:${"3.4.24"}`;
6548
+ Vue.version = `2.6.14-compat:${"3.4.25"}`;
6547
6549
  Vue.config = singletonApp.config;
6548
6550
  Vue.use = (p, ...options) => {
6549
6551
  if (p && isFunction(p.install)) {
@@ -7180,7 +7182,7 @@ function shouldSkipAttr(key, instance) {
7180
7182
  return false;
7181
7183
  }
7182
7184
 
7183
- const internalObjectProto = /* @__PURE__ */ Object.create(null);
7185
+ const internalObjectProto = {};
7184
7186
  const createInternalObject = () => Object.create(internalObjectProto);
7185
7187
  const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
7186
7188
 
@@ -11373,7 +11375,7 @@ function isMemoSame(cached, memo) {
11373
11375
  return true;
11374
11376
  }
11375
11377
 
11376
- const version = "3.4.24";
11378
+ const version = "3.4.25";
11377
11379
  const warn = warn$1 ;
11378
11380
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11379
11381
  const devtools = devtools$1 ;