@cabloy/vue-runtime-core 3.4.25 → 3.4.27

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
- * @cabloy/vue-runtime-core v3.4.23
2
+ * @cabloy/vue-runtime-core v3.4.25
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -852,21 +852,21 @@ function renderComponentRoot(instance) {
852
852
  vnode,
853
853
  proxy,
854
854
  withProxy,
855
- props,
856
855
  propsOptions: [propsOptions],
857
856
  slots,
858
857
  attrs,
859
858
  emit,
860
859
  render,
861
860
  renderCache,
861
+ props,
862
862
  data,
863
863
  setupState,
864
864
  ctx,
865
865
  inheritAttrs
866
866
  } = instance;
867
+ const prev = setCurrentRenderingInstance(instance);
867
868
  let result;
868
869
  let fallthroughAttrs;
869
- const prev = setCurrentRenderingInstance(instance);
870
870
  {
871
871
  accessedAttrs = false;
872
872
  }
@@ -888,7 +888,7 @@ function renderComponentRoot(instance) {
888
888
  thisProxy,
889
889
  proxyToUse,
890
890
  renderCache,
891
- props,
891
+ true ? reactivity.shallowReadonly(props) : props,
892
892
  setupState,
893
893
  data,
894
894
  ctx
@@ -902,7 +902,7 @@ function renderComponentRoot(instance) {
902
902
  }
903
903
  result = normalizeVNode(
904
904
  render2.length > 1 ? render2(
905
- props,
905
+ true ? reactivity.shallowReadonly(props) : props,
906
906
  true ? {
907
907
  get attrs() {
908
908
  markAttrsAccessed();
@@ -912,9 +912,8 @@ function renderComponentRoot(instance) {
912
912
  emit
913
913
  } : { attrs, slots, emit }
914
914
  ) : render2(
915
- props,
915
+ true ? reactivity.shallowReadonly(props) : props,
916
916
  null
917
- /* we know it doesn't need it */
918
917
  )
919
918
  );
920
919
  fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);
@@ -2409,11 +2408,13 @@ function getKeepAliveChild(vnode) {
2409
2408
  return vnode.component.subTree;
2410
2409
  }
2411
2410
  const { shapeFlag, children } = vnode;
2412
- if (shapeFlag & 16) {
2413
- return children[0];
2414
- }
2415
- if (shapeFlag & 32 && shared.isFunction(children.default)) {
2416
- return children.default();
2411
+ if (children) {
2412
+ if (shapeFlag & 16) {
2413
+ return children[0];
2414
+ }
2415
+ if (shapeFlag & 32 && shared.isFunction(children.default)) {
2416
+ return children.default();
2417
+ }
2417
2418
  }
2418
2419
  }
2419
2420
  function setTransitionHooks(vnode, hooks) {
@@ -4019,7 +4020,7 @@ function hasInjectionContext() {
4019
4020
  return !!(currentInstance || currentRenderingInstance || currentApp);
4020
4021
  }
4021
4022
 
4022
- const internalObjectProto = /* @__PURE__ */ Object.create(null);
4023
+ const internalObjectProto = {};
4023
4024
  const createInternalObject = () => Object.create(internalObjectProto);
4024
4025
  const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
4025
4026
 
@@ -8093,7 +8094,7 @@ function isMemoSame(cached, memo) {
8093
8094
  return true;
8094
8095
  }
8095
8096
 
8096
- const version = "3.4.23";
8097
+ const version = "3.4.25";
8097
8098
  const warn = warn$1 ;
8098
8099
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
8099
8100
  const devtools = devtools$1 ;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @cabloy/vue-runtime-core v3.4.23
2
+ * @cabloy/vue-runtime-core v3.4.25
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -421,21 +421,21 @@ function renderComponentRoot(instance) {
421
421
  vnode,
422
422
  proxy,
423
423
  withProxy,
424
- props,
425
424
  propsOptions: [propsOptions],
426
425
  slots,
427
426
  attrs,
428
427
  emit,
429
428
  render,
430
429
  renderCache,
430
+ props,
431
431
  data,
432
432
  setupState,
433
433
  ctx,
434
434
  inheritAttrs
435
435
  } = instance;
436
+ const prev = setCurrentRenderingInstance(instance);
436
437
  let result;
437
438
  let fallthroughAttrs;
438
- const prev = setCurrentRenderingInstance(instance);
439
439
  try {
440
440
  if (vnode.shapeFlag & 4) {
441
441
  const proxyToUse = withProxy || proxy;
@@ -454,7 +454,7 @@ function renderComponentRoot(instance) {
454
454
  thisProxy,
455
455
  proxyToUse,
456
456
  renderCache,
457
- props,
457
+ false ? shallowReadonly(props) : props,
458
458
  setupState,
459
459
  data,
460
460
  ctx
@@ -466,7 +466,7 @@ function renderComponentRoot(instance) {
466
466
  if (false) ;
467
467
  result = normalizeVNode(
468
468
  render2.length > 1 ? render2(
469
- props,
469
+ false ? shallowReadonly(props) : props,
470
470
  false ? {
471
471
  get attrs() {
472
472
  markAttrsAccessed();
@@ -476,9 +476,8 @@ function renderComponentRoot(instance) {
476
476
  emit
477
477
  } : { attrs, slots, emit }
478
478
  ) : render2(
479
- props,
479
+ false ? shallowReadonly(props) : props,
480
480
  null
481
- /* we know it doesn't need it */
482
481
  )
483
482
  );
484
483
  fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);
@@ -1796,11 +1795,13 @@ function getKeepAliveChild(vnode) {
1796
1795
  return vnode;
1797
1796
  }
1798
1797
  const { shapeFlag, children } = vnode;
1799
- if (shapeFlag & 16) {
1800
- return children[0];
1801
- }
1802
- if (shapeFlag & 32 && shared.isFunction(children.default)) {
1803
- 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
+ }
1804
1805
  }
1805
1806
  }
1806
1807
  function setTransitionHooks(vnode, hooks) {
@@ -3080,7 +3081,7 @@ function hasInjectionContext() {
3080
3081
  return !!(currentInstance || currentRenderingInstance || currentApp);
3081
3082
  }
3082
3083
 
3083
- const internalObjectProto = /* @__PURE__ */ Object.create(null);
3084
+ const internalObjectProto = {};
3084
3085
  const createInternalObject = () => Object.create(internalObjectProto);
3085
3086
  const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
3086
3087
 
@@ -6279,7 +6280,7 @@ function isMemoSame(cached, memo) {
6279
6280
  return true;
6280
6281
  }
6281
6282
 
6282
- const version = "3.4.23";
6283
+ const version = "3.4.25";
6283
6284
  const warn$1 = shared.NOOP;
6284
6285
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
6285
6286
  const devtools = void 0;