@vue/runtime-core 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/runtime-core v3.4.24
2
+ * @vue/runtime-core v3.4.25
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -2406,11 +2406,13 @@ function getKeepAliveChild(vnode) {
2406
2406
  return vnode.component.subTree;
2407
2407
  }
2408
2408
  const { shapeFlag, children } = vnode;
2409
- if (shapeFlag & 16) {
2410
- return children[0];
2411
- }
2412
- if (shapeFlag & 32 && shared.isFunction(children.default)) {
2413
- return children.default();
2409
+ if (children) {
2410
+ if (shapeFlag & 16) {
2411
+ return children[0];
2412
+ }
2413
+ if (shapeFlag & 32 && shared.isFunction(children.default)) {
2414
+ return children.default();
2415
+ }
2414
2416
  }
2415
2417
  }
2416
2418
  function setTransitionHooks(vnode, hooks) {
@@ -4016,7 +4018,7 @@ function hasInjectionContext() {
4016
4018
  return !!(currentInstance || currentRenderingInstance || currentApp);
4017
4019
  }
4018
4020
 
4019
- const internalObjectProto = /* @__PURE__ */ Object.create(null);
4021
+ const internalObjectProto = {};
4020
4022
  const createInternalObject = () => Object.create(internalObjectProto);
4021
4023
  const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
4022
4024
 
@@ -8090,7 +8092,7 @@ function isMemoSame(cached, memo) {
8090
8092
  return true;
8091
8093
  }
8092
8094
 
8093
- const version = "3.4.24";
8095
+ const version = "3.4.25";
8094
8096
  const warn = warn$1 ;
8095
8097
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
8096
8098
  const devtools = devtools$1 ;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/runtime-core v3.4.24
2
+ * @vue/runtime-core v3.4.25
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1795,11 +1795,13 @@ function getKeepAliveChild(vnode) {
1795
1795
  return vnode;
1796
1796
  }
1797
1797
  const { shapeFlag, children } = vnode;
1798
- if (shapeFlag & 16) {
1799
- return children[0];
1800
- }
1801
- if (shapeFlag & 32 && shared.isFunction(children.default)) {
1802
- return children.default();
1798
+ if (children) {
1799
+ if (shapeFlag & 16) {
1800
+ return children[0];
1801
+ }
1802
+ if (shapeFlag & 32 && shared.isFunction(children.default)) {
1803
+ return children.default();
1804
+ }
1803
1805
  }
1804
1806
  }
1805
1807
  function setTransitionHooks(vnode, hooks) {
@@ -3079,7 +3081,7 @@ function hasInjectionContext() {
3079
3081
  return !!(currentInstance || currentRenderingInstance || currentApp);
3080
3082
  }
3081
3083
 
3082
- const internalObjectProto = /* @__PURE__ */ Object.create(null);
3084
+ const internalObjectProto = {};
3083
3085
  const createInternalObject = () => Object.create(internalObjectProto);
3084
3086
  const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
3085
3087
 
@@ -6278,7 +6280,7 @@ function isMemoSame(cached, memo) {
6278
6280
  return true;
6279
6281
  }
6280
6282
 
6281
- const version = "3.4.24";
6283
+ const version = "3.4.25";
6282
6284
  const warn$1 = shared.NOOP;
6283
6285
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
6284
6286
  const devtools = void 0;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/runtime-core v3.4.24
2
+ * @vue/runtime-core v3.4.25
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -2410,11 +2410,13 @@ function getKeepAliveChild(vnode) {
2410
2410
  return vnode.component.subTree;
2411
2411
  }
2412
2412
  const { shapeFlag, children } = vnode;
2413
- if (shapeFlag & 16) {
2414
- return children[0];
2415
- }
2416
- if (shapeFlag & 32 && isFunction(children.default)) {
2417
- return children.default();
2413
+ if (children) {
2414
+ if (shapeFlag & 16) {
2415
+ return children[0];
2416
+ }
2417
+ if (shapeFlag & 32 && isFunction(children.default)) {
2418
+ return children.default();
2419
+ }
2418
2420
  }
2419
2421
  }
2420
2422
  function setTransitionHooks(vnode, hooks) {
@@ -4024,7 +4026,7 @@ function hasInjectionContext() {
4024
4026
  return !!(currentInstance || currentRenderingInstance || currentApp);
4025
4027
  }
4026
4028
 
4027
- const internalObjectProto = /* @__PURE__ */ Object.create(null);
4029
+ const internalObjectProto = {};
4028
4030
  const createInternalObject = () => Object.create(internalObjectProto);
4029
4031
  const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
4030
4032
 
@@ -8160,7 +8162,7 @@ function isMemoSame(cached, memo) {
8160
8162
  return true;
8161
8163
  }
8162
8164
 
8163
- const version = "3.4.24";
8165
+ const version = "3.4.25";
8164
8166
  const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
8165
8167
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
8166
8168
  const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/runtime-core",
3
- "version": "3.4.24",
3
+ "version": "3.4.25",
4
4
  "description": "@vue/runtime-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/runtime-core.esm-bundler.js",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
48
48
  "dependencies": {
49
- "@vue/shared": "3.4.24",
50
- "@vue/reactivity": "3.4.24"
49
+ "@vue/shared": "3.4.25",
50
+ "@vue/reactivity": "3.4.25"
51
51
  }
52
52
  }