vue 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 v3.4.24
2
+ * vue v3.4.25
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1,5 +1,5 @@
1
1
  /**
2
- * vue v3.4.24
2
+ * vue v3.4.25
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1,5 +1,5 @@
1
1
  /**
2
- * vue v3.4.24
2
+ * vue v3.4.25
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -3956,11 +3956,13 @@ function getKeepAliveChild(vnode) {
3956
3956
  return vnode.component.subTree;
3957
3957
  }
3958
3958
  const { shapeFlag, children } = vnode;
3959
- if (shapeFlag & 16) {
3960
- return children[0];
3961
- }
3962
- if (shapeFlag & 32 && isFunction(children.default)) {
3963
- return children.default();
3959
+ if (children) {
3960
+ if (shapeFlag & 16) {
3961
+ return children[0];
3962
+ }
3963
+ if (shapeFlag & 32 && isFunction(children.default)) {
3964
+ return children.default();
3965
+ }
3964
3966
  }
3965
3967
  }
3966
3968
  function setTransitionHooks(vnode, hooks) {
@@ -5560,7 +5562,7 @@ function hasInjectionContext() {
5560
5562
  return !!(currentInstance || currentRenderingInstance || currentApp);
5561
5563
  }
5562
5564
 
5563
- const internalObjectProto = /* @__PURE__ */ Object.create(null);
5565
+ const internalObjectProto = {};
5564
5566
  const createInternalObject = () => Object.create(internalObjectProto);
5565
5567
  const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
5566
5568
 
@@ -9617,7 +9619,7 @@ function isMemoSame(cached, memo) {
9617
9619
  return true;
9618
9620
  }
9619
9621
 
9620
- const version = "3.4.24";
9622
+ const version = "3.4.25";
9621
9623
  const warn = warn$1 ;
9622
9624
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
9623
9625
  const devtools = devtools$1 ;