diff --git a/package.json b/package.json index 99e2dad5..d21acae8 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "remark-html": "^16.0.1", "rollup-plugin-node-polyfills": "^0.2.1", "scule": "^1.3.0", - "std-env": "^3.10.0", + "std-env": "^4.0.0", "tinyglobby": "^0.2.15", "ufo": "^1.6.3", "unocss": "66.6.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8504689d..73c0d195 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -153,11 +153,11 @@ importers: specifier: ^1.3.0 version: 1.3.0 std-env: - specifier: ^3.10.0 - version: 3.10.0 + specifier: ^4.0.0 + version: 4.0.0 tinyglobby: specifier: ^0.2.15 - version: 0.2.15 + version: 0.2.16 ufo: specifier: ^1.6.3 version: 1.6.3 @@ -5482,6 +5482,7 @@ packages: basic-ftp@5.2.0: resolution: {integrity: sha512-VoMINM2rqJwJgfdHq6RiUudKt2BV+FY5ZFezP/ypmwayk68+NzzAQy4XXLlqsGD4MCzq3DrmNFD/uUmBJuGoXw==} engines: {node: '>=10.0.0'} + deprecated: Security vulnerability fixed in 5.2.1, please upgrade before-after-hook@4.0.0: resolution: {integrity: sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ==} @@ -6181,9 +6182,6 @@ packages: detect-node-es@1.1.0: resolution: {integrity: sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==} - devalue@5.7.0: - resolution: {integrity: sha512-qCvc8m7cImp1QDCsiY+C2EdSBWSj7Ucfoq87scSdYboDiIKdvMtFbH1U2VReBls6WMhMaUOoK3ZJEDNG/7zm3w==} - devalue@5.7.1: resolution: {integrity: sha512-MUbZ586EgQqdRnC4yDrlod3BEdyvE4TapGYHMW2CiaW+KkkFmWEFqBUaLltEZCGi0iFXCEjRF0OjF0DV2QHjOA==} @@ -10237,10 +10235,6 @@ packages: resolution: {integrity: sha512-VKS/ZaQhhkKFMANmAOhhXVoIfBXblQxGX1myCQ2faQrfmobMftXeJPcZGp0gS07ocvGJWDLZGyOZDadDBqYIJg==} engines: {node: '>=18'} - tinyglobby@0.2.15: - resolution: {integrity: sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==} - engines: {node: '>=12.0.0'} - tinyglobby@0.2.16: resolution: {integrity: sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==} engines: {node: '>=12.0.0'} @@ -12668,7 +12662,7 @@ snapshots: '@nuxt/kit': 4.4.2(magicast@0.5.2) chokidar: 5.0.0 pathe: 2.0.3 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 transitivePeerDependencies: - magicast @@ -12971,7 +12965,7 @@ snapshots: esbuild: 0.27.7 eslint: 9.39.4(jiti@2.6.1) h3: 1.15.11 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 ws: 8.19.0 transitivePeerDependencies: - bufferutil @@ -13550,7 +13544,7 @@ snapshots: simple-git: 3.33.0 sirv: 3.0.2 structured-clone-es: 2.0.0 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 vite: 8.0.7(@types/node@25.3.5)(esbuild@0.27.7)(jiti@2.6.1)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2) vite-plugin-inspect: 11.3.3(@nuxt/kit@4.4.2(magicast@0.5.2))(vite@8.0.7(@types/node@25.3.5)(esbuild@0.27.7)(jiti@2.6.1)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)) vite-plugin-vue-tracer: 1.3.0(vite@8.0.7(@types/node@25.3.5)(esbuild@0.27.7)(jiti@2.6.1)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2))(vue@3.5.30(typescript@5.9.3)) @@ -13642,7 +13636,7 @@ snapshots: ofetch: 1.5.1 pathe: 2.0.3 sirv: 3.0.2 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 ufo: 1.6.3 unifont: 0.7.4 unplugin: 3.0.0 @@ -13726,7 +13720,7 @@ snapshots: rc9: 3.0.1 scule: 1.3.0 semver: 7.7.4 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 ufo: 1.6.3 unctx: 2.5.0 untyped: 2.0.0 @@ -13751,7 +13745,7 @@ snapshots: rc9: 3.0.1 scule: 1.3.0 semver: 7.7.4 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 ufo: 1.6.3 unctx: 2.5.0 untyped: 2.0.0 @@ -13776,7 +13770,7 @@ snapshots: rc9: 3.0.1 scule: 1.3.0 semver: 7.7.4 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 ufo: 1.6.3 unctx: 2.5.0 untyped: 2.0.0 @@ -13792,7 +13786,7 @@ snapshots: consola: 3.4.2 defu: 6.1.7 destr: 2.0.5 - devalue: 5.7.0 + devalue: 5.7.1 errx: 0.1.0 escape-string-regexp: 5.0.0 exsolve: 1.0.8 @@ -14176,7 +14170,7 @@ snapshots: semver: 7.7.4 string-width: 4.2.3 supports-color: 8.1.1 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 widest-line: 3.1.0 wordwrap: 1.0.0 wrap-ansi: 7.0.0 @@ -15192,7 +15186,7 @@ snapshots: ora: 9.3.0 read-package-up: 12.0.0 rxjs: 7.8.2 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 tsx: 4.21.0 typeid-js: 1.2.0 vite: 7.3.1(@types/node@25.3.5)(jiti@2.6.1)(lightningcss@1.32.0)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2) @@ -15426,7 +15420,7 @@ snapshots: pretty-ms: 9.3.0 split2: 4.2.0 tar-fs: 2.1.4 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 transitivePeerDependencies: - '@noble/hashes' - '@sanity/telemetry' @@ -16240,7 +16234,7 @@ snapshots: debug: 4.4.3(supports-color@8.1.1) minimatch: 9.0.5 semver: 7.7.4 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 ts-api-utils: 2.4.0(typescript@5.9.3) typescript: 5.9.3 transitivePeerDependencies: @@ -16255,7 +16249,7 @@ snapshots: debug: 4.4.3(supports-color@8.1.1) minimatch: 10.2.4 semver: 7.7.4 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 ts-api-utils: 2.4.0(typescript@5.9.3) typescript: 5.9.3 transitivePeerDependencies: @@ -16343,7 +16337,7 @@ snapshots: magic-string: 0.30.21 pathe: 2.0.3 perfect-debounce: 2.1.0 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 unplugin-utils: 0.3.1 '@unocss/config@66.6.7': @@ -16399,7 +16393,7 @@ snapshots: '@unocss/rule-utils': 66.6.7 css-tree: 3.2.1 postcss: 8.5.8 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 '@unocss/preset-attributify@66.6.7': dependencies: @@ -16492,7 +16486,7 @@ snapshots: chokidar: 5.0.0 magic-string: 0.30.21 pathe: 2.0.3 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 unplugin-utils: 0.3.1 vite: 8.0.7(@types/node@25.3.5)(esbuild@0.27.7)(jiti@2.6.1)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2) @@ -16504,7 +16498,7 @@ snapshots: chokidar: 5.0.0 magic-string: 0.30.21 pathe: 2.0.3 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 unplugin: 2.3.11 unplugin-utils: 0.3.1 webpack: 5.105.2(esbuild@0.27.7) @@ -17959,8 +17953,6 @@ snapshots: detect-node-es@1.1.0: {} - devalue@5.7.0: {} - devalue@5.7.1: {} devlop@1.1.0: @@ -21080,7 +21072,7 @@ snapshots: cookie-es: 2.0.1 defu: 6.1.7 destr: 2.0.5 - devalue: 5.7.0 + devalue: 5.7.1 errx: 0.1.0 escape-string-regexp: 5.0.0 exsolve: 1.0.8 @@ -21109,7 +21101,7 @@ snapshots: scule: 1.3.0 semver: 7.7.4 std-env: 3.10.0 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 ufo: 1.6.3 ultrahtml: 1.6.0 uncrypto: 0.1.3 @@ -22716,7 +22708,7 @@ snapshots: styled-components: 6.3.11(react-dom@19.2.4(react@19.2.4))(react@19.2.4) tar-fs: 2.1.4 tar-stream: 3.1.8 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 urlpattern-polyfill: 10.1.0 use-device-pixel-ratio: 1.1.2(react@19.2.4) use-hot-module-reload: 2.0.0(react@19.2.4) @@ -23418,11 +23410,6 @@ snapshots: tinyexec@1.1.1: {} - tinyglobby@0.2.15: - dependencies: - fdir: 6.5.0(picomatch@4.0.4) - picomatch: 4.0.4 - tinyglobby@0.2.16: dependencies: fdir: 6.5.0(picomatch@4.0.4) @@ -23707,7 +23694,7 @@ snapshots: pkg-types: 2.3.0 scule: 1.3.0 strip-literal: 3.1.0 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 unplugin: 2.3.11 unplugin-utils: 0.3.1 @@ -23724,7 +23711,7 @@ snapshots: pkg-types: 2.3.0 scule: 1.3.0 strip-literal: 3.1.0 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 unplugin: 3.0.0 unplugin-utils: 0.3.1 @@ -23833,7 +23820,7 @@ snapshots: pathe: 2.0.3 picomatch: 4.0.4 scule: 1.3.0 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 unplugin: 2.3.11 unplugin-utils: 0.3.1 yaml: 2.8.2 @@ -24058,7 +24045,7 @@ snapshots: picocolors: 1.1.1 picomatch: 4.0.4 tiny-invariant: 1.3.3 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 vite: 7.3.1(@types/node@25.3.5)(jiti@2.6.1)(lightningcss@1.32.0)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2) vscode-uri: 3.1.0 optionalDependencies: @@ -24113,7 +24100,7 @@ snapshots: picomatch: 4.0.4 postcss: 8.5.8 rollup: 4.59.0 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 optionalDependencies: '@types/node': 25.3.5 fsevents: 2.3.3 @@ -24129,7 +24116,7 @@ snapshots: picomatch: 4.0.4 postcss: 8.5.8 rolldown: 1.0.0-rc.13 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 optionalDependencies: '@types/node': 25.3.5 esbuild: 0.27.7 @@ -24176,7 +24163,7 @@ snapshots: std-env: 3.10.0 tinybench: 2.9.0 tinyexec: 1.1.1 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 tinyrainbow: 3.0.3 vite: 7.3.1(@types/node@25.3.5)(jiti@2.6.1)(lightningcss@1.32.0)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2) why-is-node-running: 2.3.0 @@ -24241,7 +24228,7 @@ snapshots: pathe: 2.0.3 picomatch: 4.0.4 scule: 1.3.0 - tinyglobby: 0.2.15 + tinyglobby: 0.2.16 unplugin: 3.0.0 unplugin-utils: 0.3.1 vue: 3.5.30(typescript@5.9.3) diff --git a/test/unit/bundle.spec.ts b/test/unit/bundle.spec.ts index eb3aaa3c..ee7db22c 100644 --- a/test/unit/bundle.spec.ts +++ b/test/unit/bundle.spec.ts @@ -78,7 +78,7 @@ describe('project sizes', () => { stats.server = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir) expect .soft(roundToKilobytes(stats.server.totalBytes)) - .toMatchInlineSnapshot(`"2354k"`) + .toMatchInlineSnapshot(`"2353k"`) const modules = await analyzeSizes('node_modules/**/*', serverDir) expect