@vitejs/devtools-vite 0.7.5 → 0.7.6
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/nitro.json +1 -1
- package/dist/public/200.html +1 -1
- package/dist/public/404.html +1 -1
- package/dist/public/_nuxt/{wpgbpZnN.js → 51O8tKLC.js} +1 -1
- package/dist/public/_nuxt/B3eE09d-.js +4 -0
- package/dist/public/_nuxt/{DQnUUMYq.js → BMyPfja7.js} +1 -1
- package/dist/public/_nuxt/{DhFFjbqA.js → BU3RLqzC.js} +1 -1
- package/dist/public/_nuxt/BXzW-15h.js +3 -0
- package/dist/public/_nuxt/{CDQGb42n.js → BiywBLuM.js} +2 -2
- package/dist/public/_nuxt/BomN9dnN.js +1 -0
- package/dist/public/_nuxt/{Bg12qPnB.js → C0tXHD8J.js} +1 -1
- package/dist/public/_nuxt/{CalLwgPO.js → DGlgHJBp.js} +1 -1
- package/dist/public/_nuxt/{BhDboB-h.js → D_shstzp.js} +1 -1
- package/dist/public/_nuxt/{CPWQluYJ.js → DgNunWKg.js} +2 -2
- package/dist/public/_nuxt/{CJuEsIsF.js → DxqvJVyq.js} +1 -1
- package/dist/public/_nuxt/builds/latest.json +1 -1
- package/dist/public/_nuxt/builds/meta/06da823c-d5d5-4d15-b76b-9285b009cd67.json +1 -0
- package/dist/public/_nuxt/diff.worker-BfJRfivr.js +10 -0
- package/dist/public/_nuxt/{entry.D95oyE9v.css → entry.p_0EwC2c.css} +1 -1
- package/dist/public/_nuxt/error-404.CLjXqCCe.css +1 -0
- package/dist/public/_nuxt/error-500.DCqDWmxV.css +1 -0
- package/dist/public/index.html +1 -1
- package/package.json +9 -9
- package/dist/public/_nuxt/DkMap51T.js +0 -3
- package/dist/public/_nuxt/J8lRZh1a.js +0 -1
- package/dist/public/_nuxt/RhPIW04S.js +0 -4
- package/dist/public/_nuxt/builds/meta/e0c5d337-9d27-4a4c-b7dc-63866522715d.json +0 -1
- package/dist/public/_nuxt/diff.worker-uZCDVY-Q.js +0 -10
- package/dist/public/_nuxt/error-404.Cpu3hZFK.css +0 -1
- package/dist/public/_nuxt/error-500.Cq2LsdDN.css +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{L as e,P as t,Qt as n,R as r,Xt as i,Yt as a,Zt as o,i as s,pt as c,wt as l}from"./BXzW-15h.js";var u=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;function d(e){return u.test(e)}import.meta.url.replace(/\/app\/.*$/,`/`);var ee=Symbol(`layout-meta`),f=Symbol(`route`),p=n({docsBase:i,reporters:o});String.fromCharCode;var m=/#/g,h=/&/g,te=/\//g,ne=/=/g,g=/\?/g,_=/\+/g,re=/%5e/gi,ie=/%60/gi,ae=/%7c/gi,oe=/%20/gi,se=/%2f/gi,ce=/%252f/gi;function v(e){return encodeURI(``+e).replace(ae,`|`)}function y(e){return v(typeof e==`string`?e:JSON.stringify(e)).replace(_,`%2B`).replace(oe,`+`).replace(m,`%23`).replace(h,`%26`).replace(ie,"`").replace(re,`^`).replace(te,`%2F`)}function b(e){return y(e).replace(ne,`%3D`)}function x(e){return v(e).replace(m,`%23`).replace(g,`%3F`).replace(ce,`%2F`).replace(h,`%26`).replace(_,`%2B`)}function S(e=``){try{return decodeURIComponent(``+e)}catch{return``+e}}function le(e){return S(e.replace(se,`%252F`))}function C(e){return S(e.replace(_,` `))}function w(e){return S(e.replace(_,` `))}function T(e=``){let t=Object.create(null);e[0]===`?`&&(e=e.slice(1));for(let n of e.split(`&`)){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let r=C(e[1]);if(r===`__proto__`||r===`constructor`)continue;let i=w(e[2]||``);t[r]===void 0?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}function E(e,t){return(typeof t==`number`||typeof t==`boolean`)&&(t=String(t)),t?Array.isArray(t)?t.map(t=>`${b(e)}=${y(t)}`).join(`&`):`${b(e)}=${y(t)}`:b(e)}function ue(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>E(t,e[t])).filter(Boolean).join(`&`)}var de=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,fe=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,pe=/^([/\\]\s*){2,}[^/\\]/,me=/^[\s\0]*(blob|data|javascript|vbscript):$/i,he=/\/$|\/\?|\/#/,ge=/^\.?\//;function D(e,t={}){return typeof t==`boolean`&&(t={acceptRelative:t}),t.strict?de.test(e):fe.test(e)||(t.acceptRelative?pe.test(e):!1)}function O(e){return!!e&&me.test(e)}function k(e=``,t){return t?he.test(e):e.endsWith(`/`)}function A(e=``,t){if(!t)return(k(e)?e.slice(0,-1):e)||`/`;if(!k(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);i!==-1&&(n=e.slice(0,i),r=e.slice(i));let[a,...o]=n.split(`?`);return((a.endsWith(`/`)?a.slice(0,-1):a)||`/`)+(o.length>0?`?${o.join(`?`)}`:``)+r}function j(e=``,t){if(!t)return e.endsWith(`/`)?e:e+`/`;if(k(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);if(i!==-1&&(n=e.slice(0,i),r=e.slice(i),!n))return r;let[a,...o]=n.split(`?`);return a+`/`+(o.length>0?`?${o.join(`?`)}`:``)+r}function M(e,t){if(F(t)||D(e))return e;let n=A(t);if(e.startsWith(n)){let t=e[n.length];if(!t||t===`/`||t===`?`)return e}return L(n,e)}function N(e,t){if(F(t))return e;let n=A(t);if(!e.startsWith(n))return e;let r=e[n.length];return r&&r!==`/`&&r!==`?`?e:`/`+e.slice(n.length).replace(/^\/+/,``)}function P(e,t){let n=B(e);return n.search=ue({...T(n.search),...t}),ve(n)}function F(e){return!e||e===`/`}function I(e){return e&&e!==`/`}function L(e,...t){let n=e||``;for(let e of t.filter(e=>I(e)))if(n){let t=e.replace(ge,``);n=j(n)+t}else n=e;return n}function _e(...e){let t=/\/(?!\/)/,n=e.filter(Boolean),r=[],i=0;for(let e of n)if(e&&e!==`/`){for(let[n,a]of e.split(t).entries())if(a&&a!==`.`){if(a===`..`){if(r.length===1&&D(r[0]))continue;r.pop(),i--;continue}if(n===1&&r[r.length-1]?.endsWith(`:/`)){r[r.length-1]+=`/`+a;continue}r.push(a),i++}}let a=r.join(`/`);return i>=0?n[0]?.startsWith(`/`)&&!a.startsWith(`/`)?a=`/`+a:n[0]?.startsWith(`./`)&&!a.startsWith(`./`)&&(a=`./`+a):a=`../`.repeat(-1*i)+a,n[n.length-1]?.endsWith(`/`)&&!a.endsWith(`/`)&&(a+=`/`),a}function R(e,t){return S(A(e))===S(A(t))}var z=Symbol.for(`ufo:protocolRelative`);function B(e=``,t){let n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){let[,e,t=``]=n;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:``,host:``,search:``,hash:``}}if(!D(e,{acceptRelative:!0}))return t?B(t+e):V(e);let[,r=``,i,a=``]=e.replace(/\\/g,`/`).match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o=``,s=``]=a.match(/([^#/?]*)(.*)?/)||[];r===`file:`&&(s=s.replace(/\/(?=[A-Za-z]:)/,``));let{pathname:c,search:l,hash:u}=V(s);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):``,host:o,pathname:c,search:l,hash:u,[z]:!r}}function V(e=``){let[t=``,n=``,r=``]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function ve(e){let t=e.pathname||``,n=e.search?(e.search.startsWith(`?`)?``:`?`)+e.search:``,r=e.hash||``,i=e.auth?e.auth+`@`:``,a=e.host||``;return(e.protocol||e[z]?(e.protocol||``)+`//`:``)+i+a+t+n+r}function H(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function U(e,t,n=`.`,r){if(!H(t))return U(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(i[t]=Array.isArray(a)&&Array.isArray(i[t])?[...a,...i[t]]:H(a)&&H(i[t])?U(a,i[t],(n?`${n}.`:``)+t.toString(),r):a))}return i}function ye(e){return(...t)=>t.reduce((t,n)=>U(t,n,``,e),{})}var be=ye();function xe(e,t){try{return t in e}catch{return!1}}var W=class extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,t={}){super(e,t),t.cause&&!this.cause&&(this.cause=t.cause)}toJSON(){let e={message:this.message,statusCode:K(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=G(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}};function Se(e){if(typeof e==`string`)return new W(e);if(Ce(e))return e;let t=new W(e.message??e.statusMessage??``,{cause:e.cause||e});if(xe(e,`stack`))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=K(e.statusCode,t.statusCode):e.status&&(t.statusCode=K(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){let e=t.statusMessage;G(t.statusMessage)!==e&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Ce(e){return e?.constructor?.__h3_error__===!0}var we=/[^\u0009\u0020-\u007E]/g;function G(e=``){return e.replace(we,``)}function K(e,t=200){return!e||(typeof e==`string`&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}globalThis.Headers,globalThis.Response;var q=()=>s()?.$router;function Te(e){let t=e.scope,n=c();for(;n;){if(n===t)return!0;n=n.parent}return!1}var Ee=(()=>{if(e()){let e=t();if(!e||Te(e))return r(f,s()._route)}return s()._route});function De(e){return e}var Oe=()=>{try{if(s()._processingMiddleware)return!0}catch{return!1}return!1},ke=(e,t)=>{e||=`/`;let n=typeof e==`string`?e:`path`in e?J(e):q().resolve(e).href;if(t?.open){let{protocol:e}=new URL(n,window.location.href);if(e&&O(e))throw p.NUXT_E2002({toPath:n,protocol:e});let{target:r=`_blank`,windowFeatures:i={}}=t.open,a=[];for(let[e,t]of Object.entries(i))t!==void 0&&a.push(`${e.toLowerCase()}=${t}`);return open(n,r,a.join(`, `)),Promise.resolve()}let r=D(n,{acceptRelative:!0}),i=t?.external||r;if(i){if(!t?.external)throw p.NUXT_E2001({toPath:n});let{protocol:e}=new URL(n,window.location.href);if(e&&O(e))throw p.NUXT_E2002({toPath:n,protocol:e})}let a=Oe();if(!i&&a){if(t?.replace){if(typeof e==`string`){let{pathname:t,search:n,hash:r}=B(e);return{path:t,...n&&{query:T(n)},...r&&{hash:r},replace:!0}}return{...e,replace:!0}}return e}let o=q(),c=s();if(i)return c._scope.stop(),t?.replace?location.replace(n):location.href=n,a?c.isHydrating?new Promise(()=>{}):!1:Promise.resolve();let l=typeof e==`string`?Y(e):e;return t?.replace?o.replace(l):o.push(l)};function J(e){return P(e.path||``,e.query||{})+(e.hash||``)}function Y(e){let t=B(e);return x(le(t.pathname))+t.search+t.hash}var Ae=`__nuxt_error`,X=()=>l(s().payload,`error`),Z=e=>{let t=$(e);try{let e=X();s().hooks.callHook(`app:error`,t),e.value||=t}catch{throw t}return t},Q=(e,t)=>{let n=e.callHook(`app:error`,$(t));return a.NUXT_E1012({userAgent:navigator.userAgent,cause:t}),n},je=async(e,t)=>{if(d(navigator.userAgent)){await Q(e,t);return}await e.runWithContext(()=>Z(t))},Me=async(e={})=>{let t=s(),n=X();t.callHook(`app:error:cleared`,e),e.redirect&&await q().replace(e.redirect),n.value=void 0},Ne=e=>!!e&&typeof e==`object`&&`__nuxt_error`in e,$=e=>{typeof e!=`string`&&e.statusText&&(e.message??=e.statusText);let t=Se(e);return Object.defineProperty(t,Ae,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};export{j as C,ee as D,p as E,f as O,P as S,A as T,O as _,Ne as a,T as b,De as c,J as d,Ee as f,R as g,D as h,$ as i,d as k,Y as l,be as m,je as n,Z as o,q as p,Me as r,X as s,Q as t,ke as u,_e as v,N as w,M as x,L as y};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,N as t,Ot as n,Q as r,S as i,T as a,Wt as o,Y as s,Z as c,g as l,j as u,lt as d,qt as f,x as p}from"./
|
|
1
|
+
import{C as e,N as t,Ot as n,Q as r,S as i,T as a,Wt as o,Y as s,Z as c,g as l,j as u,lt as d,qt as f,x as p}from"./BXzW-15h.js";import{B as m,i as h,u as g,z as _}from"./B3eE09d-.js";import{t as v}from"./BDNMzG2s.js";var y={},b={class:`w-full pt8 pb6 flex flex-col gap3 items-center`};function x(e,t){return s(),a(`header`,b,[r(e.$slots,`default`)])}var S=v(y,[[`render`,x]]),C={key:1,class:`px4 pb4 flex flex-col items-center relative`},w={class:`border border-base rounded p2 flex flex-col gap-4 justify-center`},T={class:`font-mono truncate`},E=t({__name:`home`,setup(t){let r=h(),{state:v,isLoading:y}=g(async()=>{let[e,t]=await Promise.all([r.value.call(`vite:meta-info`),r.value.call(`vite:env-info`)]);return{metadata:e,envInfo:t}},null),b=p(()=>v.value?.metadata),x=p(()=>v.value?.envInfo),E=p(()=>[{id:`project`,icon:`i-ph-briefcase-duotone`,rows:[{id:`root`,icon:`i-ph-folder-duotone`,label:`Root`,value:b.value?.root},{id:`base`,icon:`i-ph-folder-simple-user-duotone`,label:`Base`,value:b.value?.base},{id:`plugins`,icon:`i-ph-plugs-duotone`,label:`Plugins`,value:b.value?.plugins.length??0}]},{id:`system`,icon:`i-ph-desktop-tower-duotone`,rows:[{id:`os`,icon:`i-ph-app-window-duotone`,label:`OS`,value:x.value?.os},{id:`cpu`,icon:`i-ph:cpu-duotone`,label:`CPU`,value:x.value?.cpu},{id:`memory`,icon:`i-ph:memory-duotone`,label:`Memory`,value:x.value?.memory}]},{id:`runtime`,icon:`i-ph-stack-duotone`,rows:[{id:`node`,icon:`i-catppuccin-package-json icon-catppuccin`,label:`Node`,value:x.value?.node},{id:`bun`,icon:`i-catppuccin:bun icon-catppuccin`,label:`Bun`,value:x.value?.bun},{id:`npm`,icon:`i-catppuccin:npm icon-catppuccin`,label:`NPM`,value:x.value?.npm},{id:`pnpm`,icon:`i-catppuccin:pnpm icon-catppuccin`,label:`PNPM`,value:x.value?.pnpm},{id:`yarn`,icon:`i-catppuccin:yarn icon-catppuccin`,label:`Yarn`,value:x.value?.yarn}]}]);return(t,r)=>{let p=_;return n(y)?(s(),e(p,{key:0,text:`Connecting...`})):(s(),a(`div`,C,[u(S,null,{default:d(()=>[u(m)]),_:1}),i(`div`,w,[(s(!0),a(l,null,c(E.value,e=>(s(),a(`div`,{key:e.id,class:`p4 flex gap-14 items-center`},[i(`div`,{class:o([`text-3xl flex ml3`,e.icon])},null,2),i(`div`,null,[(s(!0),a(l,null,c(e.rows,e=>(s(),a(`div`,{key:e.id,class:`grid grid-cols-[max-content_80px_2fr] gap-2 items-center`},[i(`div`,{class:o(e.icon)},null,2),i(`div`,null,f(e.label),1),i(`div`,T,f(e.value),1)]))),128))])]))),128))])]))}}});export{E as default};
|