@vitejs/devtools 0.0.0-alpha.32 → 0.0.0-alpha.33

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.
Files changed (29) hide show
  1. package/dist/{DockIcon-DC06YRV1.js → DockIcon-BxTh1m5v.js} +11 -14
  2. package/dist/{ViewBuiltinLogs-BpU8wNYx.js → ViewBuiltinLogs-BwyIDX5w.js} +3 -5
  3. package/dist/{ViewBuiltinTerminals-1w0Jz6t0.js → ViewBuiltinTerminals-yFL0jGW0.js} +5 -11
  4. package/dist/cli-commands-BRi5CDUR.js +94 -0
  5. package/dist/cli-commands.js +3 -67
  6. package/dist/cli.js +3 -5
  7. package/dist/client/inject.js +6 -9
  8. package/dist/client/standalone/assets/ViewBuiltinLogs-B6YocKEt.js +1 -0
  9. package/dist/client/standalone/assets/{ViewBuiltinTerminals-BfkQ4Bsj.js → ViewBuiltinTerminals-BoJR1xWn.js} +2 -2
  10. package/dist/client/standalone/assets/_plugin-vue_export-helper-DCOpKI5t.js +1 -0
  11. package/dist/client/standalone/assets/index-7t5UlDkF.css +1 -0
  12. package/dist/client/standalone/assets/index-BmL7atlP.js +3 -0
  13. package/dist/client/standalone/index.html +3 -2
  14. package/dist/client/webcomponents.d.ts +4 -4
  15. package/dist/client/webcomponents.js +162 -79
  16. package/dist/config.js +1 -3
  17. package/dist/dirs.js +1 -3
  18. package/dist/{dist-B1eLoAag.js → dist-C5wFunwn.js} +11 -50
  19. package/dist/{docks-BVWse3rL.js → docks-YFmtkjZj.js} +2 -6
  20. package/dist/{export-helper-DjM8b2QE.js → export-helper-C1Zyf6xf.js} +1 -2
  21. package/dist/index.js +2 -3
  22. package/dist/plugins-C3h3TsXX.js +1870 -0
  23. package/dist/{vue.runtime.esm-bundler-CHmRsJSH.js → vue.runtime.esm-bundler-DL9ItCI-.js} +71 -96
  24. package/package.json +14 -14
  25. package/dist/client/standalone/assets/ViewBuiltinLogs-D_1j1vpl.js +0 -1
  26. package/dist/client/standalone/assets/index-DWcF5wcd.js +0 -2
  27. package/dist/client/standalone/assets/index-DzhHPm4X.css +0 -1
  28. package/dist/plugins-CM-4geJK.js +0 -3040
  29. package/dist/standalone-CfUW6ZhV.js +0 -34
@@ -1,6 +1,6 @@
1
- //#region ../../node_modules/.pnpm/@vue+shared@3.5.28/node_modules/@vue/shared/dist/shared.esm-bundler.js
1
+ //#region ../../node_modules/.pnpm/@vue+shared@3.5.29/node_modules/@vue/shared/dist/shared.esm-bundler.js
2
2
  /**
3
- * @vue/shared v3.5.28
3
+ * @vue/shared v3.5.29
4
4
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
5
5
  * @license MIT
6
6
  **/
@@ -129,7 +129,7 @@ const isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);
129
129
  const isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);
130
130
  const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
131
131
  const isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);
132
- const isBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`);
132
+ specialBooleanAttrs + "";
133
133
  function includeBooleanAttr(value) {
134
134
  return !!value || value === "";
135
135
  }
@@ -184,11 +184,10 @@ const stringifySymbol = (v, i = "") => {
184
184
  var _a;
185
185
  return isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v;
186
186
  };
187
-
188
187
  //#endregion
189
- //#region ../../node_modules/.pnpm/@vue+reactivity@3.5.28/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js
188
+ //#region ../../node_modules/.pnpm/@vue+reactivity@3.5.29/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js
190
189
  /**
191
- * @vue/reactivity v3.5.28
190
+ * @vue/reactivity v3.5.29
192
191
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
193
192
  * @license MIT
194
193
  **/
@@ -1612,11 +1611,10 @@ function traverse(value, depth = Infinity, seen) {
1612
1611
  }
1613
1612
  return value;
1614
1613
  }
1615
-
1616
1614
  //#endregion
1617
- //#region ../../node_modules/.pnpm/@vue+runtime-core@3.5.28/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js
1615
+ //#region ../../node_modules/.pnpm/@vue+runtime-core@3.5.29/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js
1618
1616
  /**
1619
- * @vue/runtime-core v3.5.28
1617
+ * @vue/runtime-core v3.5.29
1620
1618
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
1621
1619
  * @license MIT
1622
1620
  **/
@@ -1702,8 +1700,8 @@ function formatProp(key, value, raw) {
1702
1700
  value = JSON.stringify(value);
1703
1701
  return raw ? value : [`${key}=${value}`];
1704
1702
  } else if (typeof value === "number" || typeof value === "boolean" || value == null) return raw ? value : [`${key}=${value}`];
1705
- else if (isRef(value)) {
1706
- value = formatProp(key, toRaw(value.value), true);
1703
+ else if (/* @__PURE__ */ isRef(value)) {
1704
+ value = formatProp(key, /* @__PURE__ */ toRaw(value.value), true);
1707
1705
  return raw ? value : [
1708
1706
  `${key}=Ref<`,
1709
1707
  value,
@@ -1711,7 +1709,7 @@ function formatProp(key, value, raw) {
1711
1709
  ];
1712
1710
  } else if (isFunction(value)) return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];
1713
1711
  else {
1714
- value = toRaw(value);
1712
+ value = /* @__PURE__ */ toRaw(value);
1715
1713
  return raw ? value : [`${key}=`, value];
1716
1714
  }
1717
1715
  }
@@ -2315,7 +2313,7 @@ function markAsyncBoundary(instance) {
2315
2313
  const knownTemplateRefs = /* @__PURE__ */ new WeakSet();
2316
2314
  function useTemplateRef(key) {
2317
2315
  const i = getCurrentInstance();
2318
- const r = shallowRef(null);
2316
+ const r = /* @__PURE__ */ shallowRef(null);
2319
2317
  if (i) {
2320
2318
  const refs = i.refs === EMPTY_OBJ ? i.refs = {} : i.refs;
2321
2319
  if (!!(process.env.NODE_ENV !== "production") && isTemplateRefKey(refs, key)) warn$1(`useTemplateRef('${key}') already exists.`);
@@ -2325,7 +2323,7 @@ function useTemplateRef(key) {
2325
2323
  set: (val) => r.value = val
2326
2324
  });
2327
2325
  } else if (!!(process.env.NODE_ENV !== "production")) warn$1(`useTemplateRef() is called when there is no active component instance to be associated with.`);
2328
- const ret = !!(process.env.NODE_ENV !== "production") ? readonly(r) : r;
2326
+ const ret = !!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ readonly(r) : r;
2329
2327
  if (!!(process.env.NODE_ENV !== "production")) knownTemplateRefs.add(ret);
2330
2328
  return ret;
2331
2329
  }
@@ -2353,10 +2351,10 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
2353
2351
  const oldRef = oldRawRef && oldRawRef.r;
2354
2352
  const refs = owner.refs === EMPTY_OBJ ? owner.refs = {} : owner.refs;
2355
2353
  const setupState = owner.setupState;
2356
- const rawSetupState = toRaw(setupState);
2354
+ const rawSetupState = /* @__PURE__ */ toRaw(setupState);
2357
2355
  const canSetSetupRef = setupState === EMPTY_OBJ ? NO : (key) => {
2358
2356
  if (!!(process.env.NODE_ENV !== "production")) {
2359
- if (hasOwn(rawSetupState, key) && !isRef(rawSetupState[key])) warn$1(`Template ref "${key}" used on a non-ref value. It will not work in the production build.`);
2357
+ if (hasOwn(rawSetupState, key) && !/* @__PURE__ */ isRef(rawSetupState[key])) warn$1(`Template ref "${key}" used on a non-ref value. It will not work in the production build.`);
2360
2358
  if (knownTemplateRefs.has(rawSetupState[key])) return false;
2361
2359
  }
2362
2360
  if (isTemplateRefKey(refs, key)) return false;
@@ -2372,7 +2370,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
2372
2370
  if (isString(oldRef)) {
2373
2371
  refs[oldRef] = null;
2374
2372
  if (canSetSetupRef(oldRef)) setupState[oldRef] = null;
2375
- } else if (isRef(oldRef)) {
2373
+ } else if (/* @__PURE__ */ isRef(oldRef)) {
2376
2374
  const oldRawRefAtom = oldRawRef;
2377
2375
  if (canSetRef(oldRef, oldRawRefAtom.k)) oldRef.value = null;
2378
2376
  if (oldRawRefAtom.k) refs[oldRawRefAtom.k] = null;
@@ -2381,7 +2379,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
2381
2379
  if (isFunction(ref)) callWithErrorHandling(ref, owner, 12, [value, refs]);
2382
2380
  else {
2383
2381
  const _isString = isString(ref);
2384
- const _isRef = isRef(ref);
2382
+ const _isRef = /* @__PURE__ */ isRef(ref);
2385
2383
  if (_isString || _isRef) {
2386
2384
  const doSet = () => {
2387
2385
  if (rawRef.f) {
@@ -2427,8 +2425,8 @@ function invalidatePendingSetRef(rawRef) {
2427
2425
  }
2428
2426
  }
2429
2427
  const isComment = (node) => node.nodeType === 8;
2430
- const requestIdleCallback = getGlobalThis().requestIdleCallback || ((cb) => setTimeout(cb, 1));
2431
- const cancelIdleCallback = getGlobalThis().cancelIdleCallback || ((id) => clearTimeout(id));
2428
+ getGlobalThis().requestIdleCallback;
2429
+ getGlobalThis().cancelIdleCallback;
2432
2430
  function forEachElement(node, cb) {
2433
2431
  if (isComment(node) && node.data === "[") {
2434
2432
  let depth = 1;
@@ -2514,9 +2512,9 @@ function defineAsyncComponent(source) {
2514
2512
  onError(err);
2515
2513
  return () => errorComponent ? createVNode(errorComponent, { error: err }) : null;
2516
2514
  });
2517
- const loaded = ref(false);
2518
- const error = ref();
2519
- const delayed = ref(!!delay);
2515
+ const loaded = /* @__PURE__ */ ref(false);
2516
+ const error = /* @__PURE__ */ ref();
2517
+ const delayed = /* @__PURE__ */ ref(!!delay);
2520
2518
  if (delay) setTimeout(() => {
2521
2519
  delayed.value = false;
2522
2520
  }, delay);
@@ -2618,12 +2616,12 @@ function renderList(source, renderItem, cache, index) {
2618
2616
  const cached = cache && cache[index];
2619
2617
  const sourceIsArray = isArray(source);
2620
2618
  if (sourceIsArray || isString(source)) {
2621
- const sourceIsReactiveArray = sourceIsArray && isReactive(source);
2619
+ const sourceIsReactiveArray = sourceIsArray && /* @__PURE__ */ isReactive(source);
2622
2620
  let needsWrap = false;
2623
2621
  let isReadonlySource = false;
2624
2622
  if (sourceIsReactiveArray) {
2625
- needsWrap = !isShallow(source);
2626
- isReadonlySource = isReadonly(source);
2623
+ needsWrap = !/* @__PURE__ */ isShallow(source);
2624
+ isReadonlySource = /* @__PURE__ */ isReadonly(source);
2627
2625
  source = shallowReadArray(source);
2628
2626
  }
2629
2627
  ret = new Array(source.length);
@@ -2682,10 +2680,10 @@ const publicPropertiesMap = /* @__PURE__ */ extend(/* @__PURE__ */ Object.create
2682
2680
  $: (i) => i,
2683
2681
  $el: (i) => i.vnode.el,
2684
2682
  $data: (i) => i.data,
2685
- $props: (i) => !!(process.env.NODE_ENV !== "production") ? shallowReadonly(i.props) : i.props,
2686
- $attrs: (i) => !!(process.env.NODE_ENV !== "production") ? shallowReadonly(i.attrs) : i.attrs,
2687
- $slots: (i) => !!(process.env.NODE_ENV !== "production") ? shallowReadonly(i.slots) : i.slots,
2688
- $refs: (i) => !!(process.env.NODE_ENV !== "production") ? shallowReadonly(i.refs) : i.refs,
2683
+ $props: (i) => !!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ shallowReadonly(i.props) : i.props,
2684
+ $attrs: (i) => !!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ shallowReadonly(i.attrs) : i.attrs,
2685
+ $slots: (i) => !!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ shallowReadonly(i.slots) : i.slots,
2686
+ $refs: (i) => !!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ shallowReadonly(i.refs) : i.refs,
2689
2687
  $parent: (i) => getPublicInstance(i.parent),
2690
2688
  $root: (i) => getPublicInstance(i.root),
2691
2689
  $host: (i) => i.ce,
@@ -2814,7 +2812,7 @@ function exposePropsOnRenderContext(instance) {
2814
2812
  }
2815
2813
  function exposeSetupStateOnRenderContext(instance) {
2816
2814
  const { ctx, setupState } = instance;
2817
- Object.keys(toRaw(setupState)).forEach((key) => {
2815
+ Object.keys(/* @__PURE__ */ toRaw(setupState)).forEach((key) => {
2818
2816
  if (!setupState.__isScriptSetup) {
2819
2817
  if (isReservedPrefix(key[0])) {
2820
2818
  warn$1(`setup() return property ${JSON.stringify(key)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);
@@ -2872,7 +2870,7 @@ function applyOptions(instance) {
2872
2870
  if (!!(process.env.NODE_ENV !== "production") && isPromise(data)) warn$1(`data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>.`);
2873
2871
  if (!isObject(data)) process.env.NODE_ENV !== "production" && warn$1(`data() should return an object.`);
2874
2872
  else {
2875
- instance.data = reactive(data);
2873
+ instance.data = /* @__PURE__ */ reactive(data);
2876
2874
  if (!!(process.env.NODE_ENV !== "production")) for (const key in data) {
2877
2875
  checkDuplicateProperties("Data", key);
2878
2876
  if (!isReservedPrefix(key[0])) Object.defineProperty(ctx, key, {
@@ -2953,7 +2951,7 @@ function resolveInjections(injectOptions, ctx, checkDuplicateProperties = NOOP)
2953
2951
  if (isObject(opt)) if ("default" in opt) injected = inject(opt.from || key, opt.default, true);
2954
2952
  else injected = inject(opt.from || key);
2955
2953
  else injected = inject(opt);
2956
- if (isRef(injected)) Object.defineProperty(ctx, key, {
2954
+ if (/* @__PURE__ */ isRef(injected)) Object.defineProperty(ctx, key, {
2957
2955
  enumerable: true,
2958
2956
  configurable: true,
2959
2957
  get: () => injected.value,
@@ -3303,15 +3301,15 @@ function renderComponentRoot(instance) {
3303
3301
  warn$1(`Property '${String(key)}' was accessed via 'this'. Avoid using 'this' in templates.`);
3304
3302
  return Reflect.get(target, key, receiver);
3305
3303
  } }) : proxyToUse;
3306
- result = normalizeVNode(render.call(thisProxy, proxyToUse, renderCache, !!(process.env.NODE_ENV !== "production") ? shallowReadonly(props) : props, setupState, data, ctx));
3304
+ result = normalizeVNode(render.call(thisProxy, proxyToUse, renderCache, !!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ shallowReadonly(props) : props, setupState, data, ctx));
3307
3305
  fallthroughAttrs = attrs;
3308
3306
  } else {
3309
3307
  const render2 = Component;
3310
3308
  if (!!(process.env.NODE_ENV !== "production") && attrs === props) markAttrsAccessed();
3311
- result = normalizeVNode(render2.length > 1 ? render2(!!(process.env.NODE_ENV !== "production") ? shallowReadonly(props) : props, !!(process.env.NODE_ENV !== "production") ? {
3309
+ result = normalizeVNode(render2.length > 1 ? render2(!!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ shallowReadonly(props) : props, !!(process.env.NODE_ENV !== "production") ? {
3312
3310
  get attrs() {
3313
3311
  markAttrsAccessed();
3314
- return shallowReadonly(attrs);
3312
+ return /* @__PURE__ */ shallowReadonly(attrs);
3315
3313
  },
3316
3314
  slots,
3317
3315
  emit
@@ -3319,7 +3317,7 @@ function renderComponentRoot(instance) {
3319
3317
  attrs,
3320
3318
  slots,
3321
3319
  emit
3322
- }) : render2(!!(process.env.NODE_ENV !== "production") ? shallowReadonly(props) : props, null));
3320
+ }) : render2(!!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ shallowReadonly(props) : props, null));
3323
3321
  fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);
3324
3322
  }
3325
3323
  } catch (err) {
@@ -3474,7 +3472,7 @@ function initProps(instance, rawProps, isStateful, isSSR = false) {
3474
3472
  setFullProps(instance, rawProps, props, attrs);
3475
3473
  for (const key in instance.propsOptions[0]) if (!(key in props)) props[key] = void 0;
3476
3474
  if (!!(process.env.NODE_ENV !== "production")) validateProps(rawProps || {}, props, instance);
3477
- if (isStateful) instance.props = isSSR ? props : shallowReactive(props);
3475
+ if (isStateful) instance.props = isSSR ? props : /* @__PURE__ */ shallowReactive(props);
3478
3476
  else if (!instance.type.props) instance.props = attrs;
3479
3477
  else instance.props = props;
3480
3478
  instance.attrs = attrs;
@@ -3487,7 +3485,7 @@ function isInHmrContext(instance) {
3487
3485
  }
3488
3486
  function updateProps(instance, rawProps, rawPrevProps, optimized) {
3489
3487
  const { props, attrs, vnode: { patchFlag } } = instance;
3490
- const rawCurrentProps = toRaw(props);
3488
+ const rawCurrentProps = /* @__PURE__ */ toRaw(props);
3491
3489
  const [options] = instance.propsOptions;
3492
3490
  let hasAttrsChanged = false;
3493
3491
  if (!(!!(process.env.NODE_ENV !== "production") && isInHmrContext(instance)) && (optimized || patchFlag > 0) && !(patchFlag & 16)) {
@@ -3546,7 +3544,7 @@ function setFullProps(instance, rawProps, props, attrs) {
3546
3544
  }
3547
3545
  }
3548
3546
  if (needCastKeys) {
3549
- const rawCurrentProps = toRaw(props);
3547
+ const rawCurrentProps = /* @__PURE__ */ toRaw(props);
3550
3548
  const castValues = rawCastValues || EMPTY_OBJ;
3551
3549
  for (let i = 0; i < needCastKeys.length; i++) {
3552
3550
  const key = needCastKeys[i];
@@ -3649,13 +3647,13 @@ function getType(ctor) {
3649
3647
  return "";
3650
3648
  }
3651
3649
  function validateProps(rawProps, props, instance) {
3652
- const resolvedValues = toRaw(props);
3650
+ const resolvedValues = /* @__PURE__ */ toRaw(props);
3653
3651
  const options = instance.propsOptions[0];
3654
3652
  const camelizePropsKey = Object.keys(rawProps).map((key) => camelize(key));
3655
3653
  for (const key in options) {
3656
3654
  let opt = options[key];
3657
3655
  if (opt == null) continue;
3658
- validateProp(key, resolvedValues[key], opt, !!(process.env.NODE_ENV !== "production") ? shallowReadonly(resolvedValues) : resolvedValues, !camelizePropsKey.includes(key));
3656
+ validateProp(key, resolvedValues[key], opt, !!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ shallowReadonly(resolvedValues) : resolvedValues, !camelizePropsKey.includes(key));
3659
3657
  }
3660
3658
  }
3661
3659
  function validateProp(name, value, prop, props, isAbsent) {
@@ -4953,14 +4951,13 @@ function isSameVNodeType(n1, n2) {
4953
4951
  }
4954
4952
  return n1.type === n2.type && n1.key === n2.key;
4955
4953
  }
4956
- let vnodeArgsTransformer;
4957
4954
  const createVNodeWithArgsTransform = (...args) => {
4958
- return _createVNode(...vnodeArgsTransformer ? vnodeArgsTransformer(args, currentRenderingInstance) : args);
4955
+ return _createVNode(...args);
4959
4956
  };
4960
4957
  const normalizeKey = ({ key }) => key != null ? key : null;
4961
4958
  const normalizeRef = ({ ref, ref_key, ref_for }) => {
4962
4959
  if (typeof ref === "number") ref = "" + ref;
4963
- return ref != null ? isString(ref) || isRef(ref) || isFunction(ref) ? {
4960
+ return ref != null ? isString(ref) || /* @__PURE__ */ isRef(ref) || isFunction(ref) ? {
4964
4961
  i: currentRenderingInstance,
4965
4962
  r: ref,
4966
4963
  k: ref_key,
@@ -5025,13 +5022,13 @@ function _createVNode(type, props = null, children = null, patchFlag = 0, dynami
5025
5022
  let { class: klass, style } = props;
5026
5023
  if (klass && !isString(klass)) props.class = normalizeClass(klass);
5027
5024
  if (isObject(style)) {
5028
- if (isProxy(style) && !isArray(style)) style = extend({}, style);
5025
+ if (/* @__PURE__ */ isProxy(style) && !isArray(style)) style = extend({}, style);
5029
5026
  props.style = normalizeStyle(style);
5030
5027
  }
5031
5028
  }
5032
5029
  const shapeFlag = isString(type) ? 1 : isSuspense(type) ? 128 : isTeleport(type) ? 64 : isObject(type) ? 4 : isFunction(type) ? 2 : 0;
5033
- if (!!(process.env.NODE_ENV !== "production") && shapeFlag & 4 && isProxy(type)) {
5034
- type = toRaw(type);
5030
+ if (!!(process.env.NODE_ENV !== "production") && shapeFlag & 4 && /* @__PURE__ */ isProxy(type)) {
5031
+ type = /* @__PURE__ */ toRaw(type);
5035
5032
  warn$1(`Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with \`markRaw\` or using \`shallowRef\` instead of \`ref\`.`, `
5036
5033
  Component that was made reactive: `, type);
5037
5034
  }
@@ -5039,7 +5036,7 @@ Component that was made reactive: `, type);
5039
5036
  }
5040
5037
  function guardReactiveProps(props) {
5041
5038
  if (!props) return null;
5042
- return isProxy(props) || isInternalObject(props) ? extend({}, props) : props;
5039
+ return /* @__PURE__ */ isProxy(props) || isInternalObject(props) ? extend({}, props) : props;
5043
5040
  }
5044
5041
  function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false) {
5045
5042
  const { props, ref, patchFlag, children, transition } = vnode;
@@ -5307,7 +5304,7 @@ function setupStatefulComponent(instance, isSSR) {
5307
5304
  pauseTracking();
5308
5305
  const setupContext = instance.setupContext = setup.length > 1 ? createSetupContext(instance) : null;
5309
5306
  const reset = setCurrentInstance(instance);
5310
- const setupResult = callWithErrorHandling(setup, instance, 0, [!!(process.env.NODE_ENV !== "production") ? shallowReadonly(instance.props) : instance.props, setupContext]);
5307
+ const setupResult = callWithErrorHandling(setup, instance, 0, [!!(process.env.NODE_ENV !== "production") ? /* @__PURE__ */ shallowReadonly(instance.props) : instance.props, setupContext]);
5311
5308
  const isAsyncSetup = isPromise(setupResult);
5312
5309
  resetTracking();
5313
5310
  reset();
@@ -5337,29 +5334,10 @@ function handleSetupResult(instance, setupResult, isSSR) {
5337
5334
  } else if (!!(process.env.NODE_ENV !== "production") && setupResult !== void 0) warn$1(`setup() should return an object. Received: ${setupResult === null ? "null" : typeof setupResult}`);
5338
5335
  finishComponentSetup(instance, isSSR);
5339
5336
  }
5340
- let compile;
5341
- let installWithProxy;
5342
- const isRuntimeOnly = () => !compile;
5337
+ const isRuntimeOnly = () => true;
5343
5338
  function finishComponentSetup(instance, isSSR, skipOptions) {
5344
5339
  const Component = instance.type;
5345
- if (!instance.render) {
5346
- if (!isSSR && compile && !Component.render) {
5347
- const template = Component.template || __VUE_OPTIONS_API__ && resolveMergedOptions(instance).template;
5348
- if (template) {
5349
- if (!!(process.env.NODE_ENV !== "production")) startMeasure(instance, `compile`);
5350
- const { isCustomElement, compilerOptions } = instance.appContext.config;
5351
- const { delimiters, compilerOptions: componentCompilerOptions } = Component;
5352
- const finalCompilerOptions = extend(extend({
5353
- isCustomElement,
5354
- delimiters
5355
- }, compilerOptions), componentCompilerOptions);
5356
- Component.render = compile(template, finalCompilerOptions);
5357
- if (!!(process.env.NODE_ENV !== "production")) endMeasure(instance, `compile`);
5358
- }
5359
- }
5360
- instance.render = Component.render || NOOP;
5361
- if (installWithProxy) installWithProxy(instance);
5362
- }
5340
+ if (!instance.render) instance.render = Component.render || NOOP;
5363
5341
  if (__VUE_OPTIONS_API__ && true) {
5364
5342
  const reset = setCurrentInstance(instance);
5365
5343
  pauseTracking();
@@ -5370,7 +5348,7 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
5370
5348
  reset();
5371
5349
  }
5372
5350
  }
5373
- if (!!(process.env.NODE_ENV !== "production") && !Component.render && instance.render === NOOP && !isSSR) if (!compile && Component.template) warn$1("Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias \"vue\" to \"vue/dist/vue.esm-bundler.js\".");
5351
+ if (!!(process.env.NODE_ENV !== "production") && !Component.render && instance.render === NOOP && !isSSR) if (Component.template) warn$1("Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias \"vue\" to \"vue/dist/vue.esm-bundler.js\".");
5374
5352
  else warn$1(`Component is missing template or render function: `, Component);
5375
5353
  }
5376
5354
  const attrsProxyHandlers = !!(process.env.NODE_ENV !== "production") ? {
@@ -5405,7 +5383,7 @@ function createSetupContext(instance) {
5405
5383
  let exposedType = typeof exposed;
5406
5384
  if (exposedType === "object") {
5407
5385
  if (isArray(exposed)) exposedType = "array";
5408
- else if (isRef(exposed)) exposedType = "ref";
5386
+ else if (/* @__PURE__ */ isRef(exposed)) exposedType = "ref";
5409
5387
  }
5410
5388
  if (exposedType !== "object") warn$1(`expose() should be passed a plain object, received ${exposedType}.`);
5411
5389
  }
@@ -5469,7 +5447,7 @@ function isClassComponent(value) {
5469
5447
  return isFunction(value) && "__vccOpts" in value;
5470
5448
  }
5471
5449
  const computed = (getterOrOptions, debugOptions) => {
5472
- const c = computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);
5450
+ const c = /* @__PURE__ */ computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);
5473
5451
  if (!!(process.env.NODE_ENV !== "production")) {
5474
5452
  const i = getCurrentInstance();
5475
5453
  if (i && i.appContext.config.warnRecursiveComputed) c._warnRecursive = true;
@@ -5508,7 +5486,7 @@ function initCustomFormatter() {
5508
5486
  vueStyle,
5509
5487
  `VueInstance`
5510
5488
  ];
5511
- else if (isRef(obj)) {
5489
+ else if (/* @__PURE__ */ isRef(obj)) {
5512
5490
  pauseTracking();
5513
5491
  const value = obj.value;
5514
5492
  resetTracking();
@@ -5524,25 +5502,25 @@ function initCustomFormatter() {
5524
5502
  formatValue(value),
5525
5503
  `>`
5526
5504
  ];
5527
- } else if (isReactive(obj)) return [
5505
+ } else if (/* @__PURE__ */ isReactive(obj)) return [
5528
5506
  "div",
5529
5507
  {},
5530
5508
  [
5531
5509
  "span",
5532
5510
  vueStyle,
5533
- isShallow(obj) ? "ShallowReactive" : "Reactive"
5511
+ /* @__PURE__ */ isShallow(obj) ? "ShallowReactive" : "Reactive"
5534
5512
  ],
5535
5513
  "<",
5536
5514
  formatValue(obj),
5537
- `>${isReadonly(obj) ? ` (readonly)` : ``}`
5515
+ `>${/* @__PURE__ */ isReadonly(obj) ? ` (readonly)` : ``}`
5538
5516
  ];
5539
- else if (isReadonly(obj)) return [
5517
+ else if (/* @__PURE__ */ isReadonly(obj)) return [
5540
5518
  "div",
5541
5519
  {},
5542
5520
  [
5543
5521
  "span",
5544
5522
  vueStyle,
5545
- isShallow(obj) ? "ShallowReadonly" : "Readonly"
5523
+ /* @__PURE__ */ isShallow(obj) ? "ShallowReadonly" : "Readonly"
5546
5524
  ],
5547
5525
  "<",
5548
5526
  formatValue(obj),
@@ -5563,9 +5541,9 @@ function initCustomFormatter() {
5563
5541
  };
5564
5542
  function formatInstance(instance) {
5565
5543
  const blocks = [];
5566
- if (instance.type.props && instance.props) blocks.push(createInstanceBlock("props", toRaw(instance.props)));
5544
+ if (instance.type.props && instance.props) blocks.push(createInstanceBlock("props", /* @__PURE__ */ toRaw(instance.props)));
5567
5545
  if (instance.setupState !== EMPTY_OBJ) blocks.push(createInstanceBlock("setup", instance.setupState));
5568
- if (instance.data !== EMPTY_OBJ) blocks.push(createInstanceBlock("data", toRaw(instance.data)));
5546
+ if (instance.data !== EMPTY_OBJ) blocks.push(createInstanceBlock("data", /* @__PURE__ */ toRaw(instance.data)));
5569
5547
  const computed = extractKeys(instance, "computed");
5570
5548
  if (computed) blocks.push(createInstanceBlock("computed", computed));
5571
5549
  const injected = extractKeys(instance, "inject");
@@ -5627,7 +5605,7 @@ function initCustomFormatter() {
5627
5605
  keywordStyle,
5628
5606
  v
5629
5607
  ];
5630
- else if (isObject(v)) return ["object", { object: asRaw ? toRaw(v) : v }];
5608
+ else if (isObject(v)) return ["object", { object: asRaw ? /* @__PURE__ */ toRaw(v) : v }];
5631
5609
  else return [
5632
5610
  "span",
5633
5611
  stringStyle,
@@ -5648,22 +5626,21 @@ function initCustomFormatter() {
5648
5626
  if (Comp.mixins && Comp.mixins.some((m) => isKeyOfType(m, key, type))) return true;
5649
5627
  }
5650
5628
  function genRefFlag(v) {
5651
- if (isShallow(v)) return `ShallowRef`;
5629
+ if (/* @__PURE__ */ isShallow(v)) return `ShallowRef`;
5652
5630
  if (v.effect) return `ComputedRef`;
5653
5631
  return `Ref`;
5654
5632
  }
5655
5633
  if (window.devtoolsFormatters) window.devtoolsFormatters.push(formatter);
5656
5634
  else window.devtoolsFormatters = [formatter];
5657
5635
  }
5658
- const version = "3.5.28";
5636
+ const version = "3.5.29";
5659
5637
  const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
5660
- const devtools = (process.env.NODE_ENV, devtools$1);
5661
- const setDevtoolsHook = (process.env.NODE_ENV, setDevtoolsHook$1);
5662
-
5638
+ process.env.NODE_ENV;
5639
+ process.env.NODE_ENV;
5663
5640
  //#endregion
5664
- //#region ../../node_modules/.pnpm/@vue+runtime-dom@3.5.28/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
5641
+ //#region ../../node_modules/.pnpm/@vue+runtime-dom@3.5.29/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
5665
5642
  /**
5666
- * @vue/runtime-dom v3.5.28
5643
+ * @vue/runtime-dom v3.5.29
5667
5644
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
5668
5645
  * @license MIT
5669
5646
  **/
@@ -5969,7 +5946,7 @@ function shouldSetAsProp(el, key, value, isSVG) {
5969
5946
  const REMOVAL = {};
5970
5947
  /* @__NO_SIDE_EFFECTS__ */
5971
5948
  function defineCustomElement(options, extraOptions, _createApp) {
5972
- let Comp = defineComponent(options, extraOptions);
5949
+ let Comp = /* @__PURE__ */ defineComponent(options, extraOptions);
5973
5950
  if (isPlainObject(Comp)) Comp = extend({}, Comp, extraOptions);
5974
5951
  class VueCustomElement extends VueElement {
5975
5952
  constructor(initialProps) {
@@ -6430,11 +6407,10 @@ function normalizeContainer(container) {
6430
6407
  if (!!(process.env.NODE_ENV !== "production") && window.ShadowRoot && container instanceof window.ShadowRoot && container.mode === "closed") warn(`mounting on a ShadowRoot with \`{mode: "closed"}\` may lead to unpredictable bugs`);
6431
6408
  return container;
6432
6409
  }
6433
-
6434
6410
  //#endregion
6435
- //#region ../../node_modules/.pnpm/vue@3.5.28_typescript@5.9.3/node_modules/vue/dist/vue.runtime.esm-bundler.js
6411
+ //#region ../../node_modules/.pnpm/vue@3.5.29_typescript@5.9.3/node_modules/vue/dist/vue.runtime.esm-bundler.js
6436
6412
  /**
6437
- * vue v3.5.28
6413
+ * vue v3.5.29
6438
6414
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
6439
6415
  * @license MIT
6440
6416
  **/
@@ -6442,6 +6418,5 @@ function initDev() {
6442
6418
  initCustomFormatter();
6443
6419
  }
6444
6420
  if (!!(process.env.NODE_ENV !== "production")) initDev();
6445
-
6446
6421
  //#endregion
6447
- export { withCtx as A, toRef as B, onUnmounted as C, useTemplateRef as D, renderSlot as E, onScopeDispose as F, normalizeStyle as G, toValue as H, reactive as I, toDisplayString as K, readonly as L, customRef as M, getCurrentScope as N, watch as O, markRaw as P, ref as R, onMounted as S, renderList as T, unref as U, toRefs as V, normalizeClass as W, getCurrentInstance as _, Fragment as a, inject as b, createBaseVNode as c, createElementBlock as d, createStaticVNode as f, defineComponent as g, defineAsyncComponent as h, withModifiers as i, withDirectives as j, watchEffect as k, createBlock as l, createVNode as m, vShow as n, Suspense as o, createTextVNode as p, withKeys as r, computed as s, defineCustomElement as t, createCommentVNode as u, h as v, openBlock as w, nextTick as x, hasInjectionContext as y, shallowRef as z };
6422
+ export { withCtx as A, toRef as B, onUnmounted as C, useTemplateRef as D, renderSlot as E, onScopeDispose as F, normalizeStyle as G, toValue as H, reactive as I, toDisplayString as K, readonly as L, customRef as M, getCurrentScope as N, watch as O, markRaw as P, ref as R, onMounted as S, renderList as T, unref as U, toRefs as V, normalizeClass as W, getCurrentInstance as _, Fragment as a, inject as b, createBaseVNode as c, createElementBlock as d, createStaticVNode as f, defineComponent as g, defineAsyncComponent as h, withModifiers as i, withDirectives as j, watchEffect as k, createBlock as l, createVNode as m, vShow as n, Suspense as o, createTextVNode as p, withKeys as r, computed as s, defineCustomElement as t, createCommentVNode as u, h as v, openBlock as w, nextTick as x, hasInjectionContext as y, shallowRef as z };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vitejs/devtools",
3
3
  "type": "module",
4
- "version": "0.0.0-alpha.32",
4
+ "version": "0.0.0-alpha.33",
5
5
  "description": "Vite DevTools",
6
6
  "author": "VoidZero Inc.",
7
7
  "license": "MIT",
@@ -42,11 +42,11 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "birpc": "^4.0.0",
45
- "cac": "^6.7.14",
45
+ "cac": "^7.0.0",
46
46
  "h3": "^1.15.5",
47
47
  "immer": "^11.1.4",
48
- "launch-editor": "^2.12.0",
49
- "mlly": "^1.8.0",
48
+ "launch-editor": "^2.13.1",
49
+ "mlly": "^1.8.1",
50
50
  "obug": "^2.1.1",
51
51
  "open": "^11.0.0",
52
52
  "pathe": "^2.0.3",
@@ -54,25 +54,25 @@
54
54
  "sirv": "^3.0.2",
55
55
  "tinyexec": "^1.0.2",
56
56
  "ws": "^8.19.0",
57
- "@vitejs/devtools-kit": "0.0.0-alpha.32",
58
- "@vitejs/devtools-rpc": "0.0.0-alpha.32",
59
- "@vitejs/devtools-rolldown": "0.0.0-alpha.32"
57
+ "@vitejs/devtools-kit": "0.0.0-alpha.33",
58
+ "@vitejs/devtools-rolldown": "0.0.0-alpha.33",
59
+ "@vitejs/devtools-rpc": "0.0.0-alpha.33"
60
60
  },
61
61
  "devDependencies": {
62
- "@clack/prompts": "^1.0.0",
62
+ "@clack/prompts": "^1.1.0",
63
63
  "@vitejs/plugin-vue": "^6.0.4",
64
64
  "@xterm/addon-fit": "^0.11.0",
65
65
  "@xterm/xterm": "^6.0.0",
66
- "dompurify": "^3.3.1",
66
+ "dompurify": "^3.3.2",
67
67
  "tsdown": "^0.20.3",
68
68
  "typescript": "^5.9.3",
69
69
  "unplugin-vue": "^7.1.1",
70
70
  "unplugin-vue-router": "^0.19.2",
71
- "vite": "^8.0.0-beta.14",
72
- "vue": "^3.5.28",
73
- "vue-router": "^5.0.2",
74
- "vue-tsc": "^3.2.4",
75
- "@vitejs/devtools-rolldown": "0.0.0-alpha.32"
71
+ "vite": "^8.0.0-beta.16",
72
+ "vue": "^3.5.29",
73
+ "vue-router": "^5.0.3",
74
+ "vue-tsc": "^3.2.5",
75
+ "@vitejs/devtools-rolldown": "0.0.0-alpha.33"
76
76
  },
77
77
  "scripts": {
78
78
  "build": "pnpm build:js && pnpm build:standalone",
@@ -1 +0,0 @@
1
- import{c as e,m as t,n}from"./index-DWcF5wcd.js";var r={};function i(n,r){return t(),e(`div`,null,` Logs // TODO: `)}var a=n(r,[[`render`,i]]);export{a as default};