@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.
@@ -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
  **/
@@ -4461,11 +4461,13 @@ function getKeepAliveChild(vnode) {
4461
4461
  return vnode.component.subTree;
4462
4462
  }
4463
4463
  const { shapeFlag, children } = vnode;
4464
- if (shapeFlag & 16) {
4465
- return children[0];
4466
- }
4467
- if (shapeFlag & 32 && isFunction(children.default)) {
4468
- return children.default();
4464
+ if (children) {
4465
+ if (shapeFlag & 16) {
4466
+ return children[0];
4467
+ }
4468
+ if (shapeFlag & 32 && isFunction(children.default)) {
4469
+ return children.default();
4470
+ }
4469
4471
  }
4470
4472
  }
4471
4473
  function setTransitionHooks(vnode, hooks) {
@@ -6478,7 +6480,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6478
6480
  return vm;
6479
6481
  }
6480
6482
  }
6481
- Vue.version = `2.6.14-compat:${"3.4.24"}`;
6483
+ Vue.version = `2.6.14-compat:${"3.4.25"}`;
6482
6484
  Vue.config = singletonApp.config;
6483
6485
  Vue.use = (p, ...options) => {
6484
6486
  if (p && isFunction(p.install)) {
@@ -7115,7 +7117,7 @@ function shouldSkipAttr(key, instance) {
7115
7117
  return false;
7116
7118
  }
7117
7119
 
7118
- const internalObjectProto = /* @__PURE__ */ Object.create(null);
7120
+ const internalObjectProto = {};
7119
7121
  const createInternalObject = () => Object.create(internalObjectProto);
7120
7122
  const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
7121
7123
 
@@ -11308,7 +11310,7 @@ function isMemoSame(cached, memo) {
11308
11310
  return true;
11309
11311
  }
11310
11312
 
11311
- const version = "3.4.24";
11313
+ const version = "3.4.25";
11312
11314
  const warn = warn$1 ;
11313
11315
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11314
11316
  const devtools = devtools$1 ;