@cabloy/vue-runtime-core 3.4.26 → 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;
@@ -1,9 +1,9 @@
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
  **/
6
- import { pauseTracking, resetTracking, isRef, toRaw, isShallow, isReactive, ReactiveEffect, getCurrentScope, ref, shallowReadonly, track, reactive, shallowReactive, trigger, isProxy, proxyRefs, markRaw, EffectScope, computed as computed$1, customRef, isReadonly } from '@vue/reactivity';
6
+ import { pauseTracking, resetTracking, isRef, toRaw, shallowReadonly, isShallow, isReactive, ReactiveEffect, getCurrentScope, ref, track, reactive, shallowReactive, trigger, isProxy, proxyRefs, markRaw, EffectScope, computed as computed$1, customRef, isReadonly } from '@vue/reactivity';
7
7
  export { EffectScope, ReactiveEffect, TrackOpTypes, TriggerOpTypes, customRef, effect, effectScope, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, triggerRef, unref } from '@vue/reactivity';
8
8
  import { isString, isFunction, isPromise, isArray, NOOP, getGlobalThis, extend, EMPTY_OBJ, toHandlerKey, looseToNumber, hyphenate, camelize, isObject, isOn, hasOwn, isModelListener, capitalize, toNumber, hasChanged, remove, isSet, isMap, isPlainObject, isBuiltInDirective, invokeArrayFns, isRegExp, isGloballyAllowed, NO, isReservedProp, EMPTY_ARR, toRawType, makeMap, def, normalizeClass, stringifyStyle, normalizeStyle, isKnownSvgAttr, isBooleanAttr, isKnownHtmlAttr, includeBooleanAttr, isRenderableAttrValue } from '@vue/shared';
9
9
  export { camelize, capitalize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';
@@ -854,21 +854,21 @@ function renderComponentRoot(instance) {
854
854
  vnode,
855
855
  proxy,
856
856
  withProxy,
857
- props,
858
857
  propsOptions: [propsOptions],
859
858
  slots,
860
859
  attrs,
861
860
  emit,
862
861
  render,
863
862
  renderCache,
863
+ props,
864
864
  data,
865
865
  setupState,
866
866
  ctx,
867
867
  inheritAttrs
868
868
  } = instance;
869
+ const prev = setCurrentRenderingInstance(instance);
869
870
  let result;
870
871
  let fallthroughAttrs;
871
- const prev = setCurrentRenderingInstance(instance);
872
872
  if (!!(process.env.NODE_ENV !== "production")) {
873
873
  accessedAttrs = false;
874
874
  }
@@ -890,7 +890,7 @@ function renderComponentRoot(instance) {
890
890
  thisProxy,
891
891
  proxyToUse,
892
892
  renderCache,
893
- props,
893
+ !!(process.env.NODE_ENV !== "production") ? shallowReadonly(props) : props,
894
894
  setupState,
895
895
  data,
896
896
  ctx
@@ -904,7 +904,7 @@ function renderComponentRoot(instance) {
904
904
  }
905
905
  result = normalizeVNode(
906
906
  render2.length > 1 ? render2(
907
- props,
907
+ !!(process.env.NODE_ENV !== "production") ? shallowReadonly(props) : props,
908
908
  !!(process.env.NODE_ENV !== "production") ? {
909
909
  get attrs() {
910
910
  markAttrsAccessed();
@@ -914,9 +914,8 @@ function renderComponentRoot(instance) {
914
914
  emit
915
915
  } : { attrs, slots, emit }
916
916
  ) : render2(
917
- props,
917
+ !!(process.env.NODE_ENV !== "production") ? shallowReadonly(props) : props,
918
918
  null
919
- /* we know it doesn't need it */
920
919
  )
921
920
  );
922
921
  fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);
@@ -2413,11 +2412,13 @@ function getKeepAliveChild(vnode) {
2413
2412
  return vnode.component.subTree;
2414
2413
  }
2415
2414
  const { shapeFlag, children } = vnode;
2416
- if (shapeFlag & 16) {
2417
- return children[0];
2418
- }
2419
- if (shapeFlag & 32 && isFunction(children.default)) {
2420
- return children.default();
2415
+ if (children) {
2416
+ if (shapeFlag & 16) {
2417
+ return children[0];
2418
+ }
2419
+ if (shapeFlag & 32 && isFunction(children.default)) {
2420
+ return children.default();
2421
+ }
2421
2422
  }
2422
2423
  }
2423
2424
  function setTransitionHooks(vnode, hooks) {
@@ -4027,7 +4028,7 @@ function hasInjectionContext() {
4027
4028
  return !!(currentInstance || currentRenderingInstance || currentApp);
4028
4029
  }
4029
4030
 
4030
- const internalObjectProto = /* @__PURE__ */ Object.create(null);
4031
+ const internalObjectProto = {};
4031
4032
  const createInternalObject = () => Object.create(internalObjectProto);
4032
4033
  const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
4033
4034
 
@@ -8163,7 +8164,7 @@ function isMemoSame(cached, memo) {
8163
8164
  return true;
8164
8165
  }
8165
8166
 
8166
- const version = "3.4.23";
8167
+ const version = "3.4.25";
8167
8168
  const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
8168
8169
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
8169
8170
  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": "@cabloy/vue-runtime-core",
3
- "version": "3.4.26",
3
+ "version": "3.4.27",
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.23",
50
- "@vue/reactivity": "3.4.23"
49
+ "@vue/shared": "3.4.25",
50
+ "@vue/reactivity": "3.4.25"
51
51
  }
52
52
  }