diff --git a/package.json b/package.json index 0b210ee960..6dcdd3d001 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "execa": "7.2.0", "fs-extra": "11.1.1", "globby": "13.2.2", - "h3": "1.8.0", + "h3": "1.8.1", "happy-dom": "10.11.0", "jiti": "1.19.3", "markdownlint-cli": "^0.33.0", diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 020c990a5e..cbd130ee9a 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -58,9 +58,9 @@ "@nuxt/telemetry": "^2.4.1", "@nuxt/ui-templates": "^1.3.1", "@nuxt/vite-builder": "workspace:../vite", - "@unhead/dom": "^1.3.7", - "@unhead/ssr": "^1.3.7", - "@unhead/vue": "^1.3.7", + "@unhead/dom": "^1.3.9", + "@unhead/ssr": "^1.3.9", + "@unhead/vue": "^1.3.9", "@vue/shared": "^3.3.4", "acorn": "8.10.0", "c12": "^1.4.2", @@ -74,7 +74,7 @@ "estree-walker": "^3.0.3", "fs-extra": "^11.1.1", "globby": "^13.2.2", - "h3": "^1.8.0", + "h3": "^1.8.1", "hookable": "^5.5.3", "jiti": "^1.19.3", "klona": "^2.0.6", @@ -97,7 +97,7 @@ "ultrahtml": "^1.3.0", "uncrypto": "^0.1.3", "unctx": "^2.3.1", - "unenv": "^1.7.3", + "unenv": "^1.7.4", "unimport": "^3.2.0", "unplugin": "^1.4.0", "unplugin-vue-router": "^0.6.4", diff --git a/packages/schema/package.json b/packages/schema/package.json index 083adef852..b54a073a40 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -32,12 +32,12 @@ "@types/file-loader": "5.0.1", "@types/pug": "2.0.6", "@types/sass-loader": "8.0.5", - "@unhead/schema": "1.3.7", + "@unhead/schema": "1.3.9", "@vitejs/plugin-vue": "4.3.3", "@vitejs/plugin-vue-jsx": "3.0.2", "@vue/compiler-core": "3.3.4", "esbuild-loader": "4.0.1", - "h3": "1.8.0", + "h3": "1.8.1", "ignore": "5.2.4", "nitropack": "2.6.1", "unbuild": "latest", diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index 64e6c7cb4a..767d2e48e9 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -27,7 +27,7 @@ "consola": "^3.2.3", "defu": "^6.1.2", "execa": "^7.2.0", - "get-port-please": "^3.0.1", + "get-port-please": "^3.0.2", "ofetch": "^1.3.3", "pathe": "^1.1.1", "ufo": "^1.3.0" diff --git a/packages/vite/package.json b/packages/vite/package.json index 1d56db32a1..479852c8e2 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -40,8 +40,8 @@ "estree-walker": "^3.0.3", "externality": "^1.0.2", "fs-extra": "^11.1.1", - "get-port-please": "^3.0.1", - "h3": "^1.8.0", + "get-port-please": "^3.0.2", + "h3": "^1.8.1", "knitwork": "^1.0.0", "magic-string": "^0.30.3", "mlly": "^1.4.1", diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 90a838d263..c708960276 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -32,7 +32,7 @@ "file-loader": "^6.2.0", "fork-ts-checker-webpack-plugin": "^8.0.0", "fs-extra": "^11.1.1", - "h3": "^1.8.0", + "h3": "^1.8.1", "hash-sum": "^2.0.0", "lodash-es": "^4.17.21", "magic-string": "^0.30.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 75c019dfaa..e9f880e266 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -80,8 +80,8 @@ importers: specifier: 13.2.2 version: 13.2.2 h3: - specifier: 1.8.0 - version: 1.8.0 + specifier: 1.8.1 + version: 1.8.1 happy-dom: specifier: 10.11.0 version: 10.11.0 @@ -264,14 +264,14 @@ importers: specifier: ^14.18.0 || >=16.10.0 version: 18.17.11 '@unhead/dom': - specifier: ^1.3.7 - version: 1.3.7 + specifier: ^1.3.9 + version: 1.3.9 '@unhead/ssr': - specifier: ^1.3.7 - version: 1.3.7 + specifier: ^1.3.9 + version: 1.3.9 '@unhead/vue': - specifier: ^1.3.7 - version: 1.3.7(vue@3.3.4) + specifier: ^1.3.9 + version: 1.3.9(vue@3.3.4) '@vue/shared': specifier: ^3.3.4 version: 3.3.4 @@ -312,8 +312,8 @@ importers: specifier: ^13.2.2 version: 13.2.2 h3: - specifier: ^1.8.0 - version: 1.8.0 + specifier: ^1.8.1 + version: 1.8.1 hookable: specifier: ^5.5.3 version: 5.5.3 @@ -381,8 +381,8 @@ importers: specifier: ^2.3.1 version: 2.3.1 unenv: - specifier: ^1.7.3 - version: 1.7.3 + specifier: ^1.7.4 + version: 1.7.4 unimport: specifier: ^3.2.0 version: 3.2.0(rollup@3.28.1) @@ -479,8 +479,8 @@ importers: specifier: 8.0.5 version: 8.0.5 '@unhead/schema': - specifier: 1.3.7 - version: 1.3.7 + specifier: 1.3.9 + version: 1.3.9 '@vitejs/plugin-vue': specifier: 4.3.3 version: 4.3.3(vite@4.4.9)(vue@3.3.4) @@ -494,8 +494,8 @@ importers: specifier: 4.0.1 version: 4.0.1(webpack@5.88.2) h3: - specifier: 1.8.0 - version: 1.8.0 + specifier: 1.8.1 + version: 1.8.1 ignore: specifier: 5.2.4 version: 5.2.4 @@ -548,8 +548,8 @@ importers: specifier: ^7.2.0 version: 7.2.0 get-port-please: - specifier: ^3.0.1 - version: 3.0.1 + specifier: ^3.0.2 + version: 3.0.2 ofetch: specifier: ^1.3.3 version: 1.3.3 @@ -621,11 +621,11 @@ importers: specifier: ^11.1.1 version: 11.1.1 get-port-please: - specifier: ^3.0.1 - version: 3.0.1 + specifier: ^3.0.2 + version: 3.0.2 h3: - specifier: ^1.8.0 - version: 1.8.0 + specifier: ^1.8.1 + version: 1.8.1 knitwork: specifier: ^1.0.0 version: 1.0.0 @@ -745,8 +745,8 @@ importers: specifier: ^11.1.1 version: 11.1.1 h3: - specifier: ^1.8.0 - version: 1.8.0 + specifier: ^1.8.1 + version: 1.8.1 hash-sum: specifier: ^2.0.0 version: 2.0.0 @@ -3166,41 +3166,41 @@ packages: eslint-visitor-keys: 3.4.3 dev: true - /@unhead/dom@1.3.7: - resolution: {integrity: sha512-utDjimElXvPrpArysKbrUFWacF4exwXB5tOZ9H3SUJOJxIPtz4GZZgkPTPv+UHV9Z+21MP/a6dFldc5j9EAO4A==} + /@unhead/dom@1.3.9: + resolution: {integrity: sha512-bTbPFjXjmk8MC0cBC+7Bgf0Mcw62gsE2XqOhMH/qQo6NP4vR2XGxqy054Y7MGurznR1JVAqxUiU3cR/oxWFk3g==} dependencies: - '@unhead/schema': 1.3.7 - '@unhead/shared': 1.3.7 + '@unhead/schema': 1.3.9 + '@unhead/shared': 1.3.9 dev: false - /@unhead/schema@1.3.7: - resolution: {integrity: sha512-C0+wA2ZZl4d2Aj0z3mFoDKDTv/22z0Tu5giXj+T+iEmfAir9k6kH2UrrCDMkHUP/mRnBSEg1URBrFq2al34VKg==} + /@unhead/schema@1.3.9: + resolution: {integrity: sha512-iIa0dczd2qTOxwYZbVR+iAKdlELnLTlKSFsN/YuJ/33sRi5VFa9D8TDBEPLec9gpcjB/bH0FhERfR4bb4UbRuA==} dependencies: hookable: 5.5.3 zhead: 2.0.10 - /@unhead/shared@1.3.7: - resolution: {integrity: sha512-73bs2B5wCMCr+X81qbEVPwFd/7pN8SXSgsSSwq9KkhmB+hC3bipiDST+Fe1h7F80lZ4iu9EwjrNxNlXw+tLjsw==} + /@unhead/shared@1.3.9: + resolution: {integrity: sha512-lBXK1gzsg3XOnsOgYUVTT2RKOvM+AB0myDXkwQb0jsJB3Tc1qVOSz9JAOR+ZGrosSr7+Iv91+Fu/0E+knxaj2Q==} dependencies: - '@unhead/schema': 1.3.7 + '@unhead/schema': 1.3.9 dev: false - /@unhead/ssr@1.3.7: - resolution: {integrity: sha512-6FNA2h4AA3I52YQUJ7JqAi0JmixFTa/hM9UWoLDGu9FpFJKiQfRX4s1bm8RPaLC+HTR/GhGdUcwkT4gxU54SLg==} + /@unhead/ssr@1.3.9: + resolution: {integrity: sha512-FTt4IQOAxHiSfRM7IoJJiFnUEBH8CG5zkJOQ/LydG19QpYa9/AGOi4xvngeCr++1as51p2hWoRO6gPxSRhV8cA==} dependencies: - '@unhead/schema': 1.3.7 - '@unhead/shared': 1.3.7 + '@unhead/schema': 1.3.9 + '@unhead/shared': 1.3.9 dev: false - /@unhead/vue@1.3.7(vue@3.3.4): - resolution: {integrity: sha512-ekvE592mAJxwoscCt/6Z2gwXHb4IzWIUsy/vcBXd/aEo0bOPww9qObCyS3/GxhknRdItDhJOwfO9CId+bSRG8Q==} + /@unhead/vue@1.3.9(vue@3.3.4): + resolution: {integrity: sha512-rVAsRLBc+3Y//NRmr7vmRs5yhIf65jYSvcj0V5DtDfDwql7BbGgc3VIIEvY0+EjLQuNsS5kxwm78LSPCIl/3Xw==} peerDependencies: vue: '>=2.7 || >=3' dependencies: - '@unhead/schema': 1.3.7 - '@unhead/shared': 1.3.7 + '@unhead/schema': 1.3.9 + '@unhead/shared': 1.3.9 hookable: 5.5.3 - unhead: 1.3.7 + unhead: 1.3.9 vue: 3.3.4 dev: false @@ -6053,8 +6053,8 @@ packages: engines: {node: '>=8.0.0'} dev: true - /get-port-please@3.0.1: - resolution: {integrity: sha512-R5pcVO8Z1+pVDu8Ml3xaJCEkBiiy1VQN9za0YqH8GIi1nIqD4IzQhzY6dDzMRtdS1lyiGlucRzm8IN8wtLIXng==} + /get-port-please@3.0.2: + resolution: {integrity: sha512-c14cAITf0E+uqdxGALvyYHwOL7UsnWcv3oDtgDAZksiVSGN87xlWVUWGZcmWQU3cICdaOxT+6LdQzUfK2ei1SA==} /get-stdin@9.0.0: resolution: {integrity: sha512-dVKBjfWisLAicarI2Sf+JuBE/DghV4UzNAVe9yhEJuzeREd3JhOTE9cUaJTeSa77fsbQUK3pcOpJfM59+VKZaA==} @@ -6237,8 +6237,8 @@ packages: dependencies: duplexer: 0.1.2 - /h3@1.8.0: - resolution: {integrity: sha512-057VY83X7Tg5n4XU2GV9M3dsCWUU4jtw2Lc/r4GjAcf9Jb6GI1mD5F8TCQHUcvLMEgtx6lbfobOFu7Vdmejihg==} + /h3@1.8.1: + resolution: {integrity: sha512-m5rFuu+5bpwBBHqqS0zexjK+Q8dhtFRvO9JXQG0RvSPL6QrIT6vv42vuBM22SLOgGMoZYsHk0y7VPidt9s+nkw==} dependencies: cookie-es: 1.0.0 defu: 6.1.2 @@ -6247,7 +6247,7 @@ packages: radix3: 1.1.0 ufo: 1.3.0 uncrypto: 0.1.3 - unenv: 1.7.3 + unenv: 1.7.4 /happy-dom@10.11.0: resolution: {integrity: sha512-CmUT4LOLzvAsbYqgTJESrPyvF0gxLDkDG/KK1o/HYU7+c9o/VVIKXl3feJZnuCYbGqemw7meiQaZcL4SMgn1jQ==} @@ -7122,8 +7122,8 @@ packages: clipboardy: 3.0.0 consola: 3.2.3 defu: 6.1.2 - get-port-please: 3.0.1 - h3: 1.8.0 + get-port-please: 3.0.2 + h3: 1.8.1 http-shutdown: 1.2.2 jiti: 1.19.3 mlly: 1.4.1 @@ -7991,7 +7991,7 @@ packages: fs-extra: 11.1.1 globby: 13.2.2 gzip-size: 7.0.0 - h3: 1.8.0 + h3: 1.8.1 hookable: 5.5.3 httpxy: 0.1.2 is-primitive: 3.0.1 @@ -8022,7 +8022,7 @@ packages: ufo: 1.3.0 uncrypto: 0.1.3 unctx: 2.3.1 - unenv: 1.7.3 + unenv: 1.7.4 unimport: 3.2.0(rollup@3.28.1) unstorage: 1.9.0 transitivePeerDependencies: @@ -8211,7 +8211,7 @@ packages: '@vitejs/plugin-vue-jsx': 3.0.2(vite@4.4.9)(vue@3.3.4) '@vitest/ui': 0.33.0(vitest@0.33.0) defu: 6.1.2 - get-port-please: 3.0.1 + get-port-please: 3.0.2 perfect-debounce: 1.0.0 std-env: 3.4.3 vite: 4.4.9(@types/node@18.17.11) @@ -10452,8 +10452,8 @@ packages: dependencies: busboy: 1.6.0 - /unenv@1.7.3: - resolution: {integrity: sha512-5NGaBSP0acq5FAnjw9m6sA/QaImYkEjpYXPc99l/KUIb1qbxki1PSvX3ZNnK3pWIC2XwIHrOul2P7FiHyWgeXA==} + /unenv@1.7.4: + resolution: {integrity: sha512-fjYsXYi30It0YCQYqLOcT6fHfMXsBr2hw9XC7ycf8rTG7Xxpe3ZssiqUnD0khrjiZEmkBXWLwm42yCSCH46fMw==} dependencies: consola: 3.2.3 defu: 6.1.2 @@ -10461,12 +10461,12 @@ packages: node-fetch-native: 1.4.0 pathe: 1.1.1 - /unhead@1.3.7: - resolution: {integrity: sha512-XRkDIaIK325UyKwSqV6fDbFKJ4HYuT5mCEnIhUqNBtUYv6b7jdXzYTfUiZSb1ciJyTqvzRHFWDtmGtJo1L375Q==} + /unhead@1.3.9: + resolution: {integrity: sha512-vzWZJW8l6dlNM5egJs3c7NMHWZ+iw2x7jCZtU2rrhwFINlKCaA3J42fvOeDxx6t5QR9dfZ96HF2AeNlCcPT+bQ==} dependencies: - '@unhead/dom': 1.3.7 - '@unhead/schema': 1.3.7 - '@unhead/shared': 1.3.7 + '@unhead/dom': 1.3.9 + '@unhead/schema': 1.3.9 + '@unhead/shared': 1.3.9 hookable: 5.5.3 dev: false @@ -10655,7 +10655,7 @@ packages: anymatch: 3.1.3 chokidar: 3.5.3 destr: 2.0.1 - h3: 1.8.0 + h3: 1.8.1 ioredis: 5.3.2 listhen: 1.4.0 lru-cache: 10.0.1 @@ -10930,11 +10930,11 @@ packages: '@vue/test-utils': 2.4.1(vue@3.3.4) defu: 6.1.2 estree-walker: 3.0.3 - h3: 1.8.0 + h3: 1.8.1 happy-dom: 10.11.0 magic-string: 0.30.3 ofetch: 1.3.3 - unenv: 1.7.3 + unenv: 1.7.4 vitest: 0.33.0(happy-dom@10.11.0) vue: 3.3.4 vue-router: 4.2.4(vue@3.3.4) diff --git a/test/bundle.test.ts b/test/bundle.test.ts index f1005e216e..8d12b77efa 100644 --- a/test/bundle.test.ts +++ b/test/bundle.test.ts @@ -19,7 +19,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM for (const outputDir of ['.output', '.output-inline']) { it('default client bundle size', async () => { const clientStats = await analyzeSizes('**/*.js', join(rootDir, outputDir, 'public')) - expect.soft(roundToKilobytes(clientStats.totalBytes)).toMatchInlineSnapshot('"96.6k"') + expect.soft(roundToKilobytes(clientStats.totalBytes)).toMatchInlineSnapshot('"96.9k"') expect(clientStats.files.map(f => f.replace(/\..*\.js/, '.js'))).toMatchInlineSnapshot(` [ "_nuxt/entry.js", @@ -32,7 +32,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM const serverDir = join(rootDir, '.output/server') const serverStats = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir) - expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"297k"') + expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"300k"') const modules = await analyzeSizes('node_modules/**/*', serverDir) expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"1822k"') @@ -71,10 +71,10 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM const serverDir = join(rootDir, '.output-inline/server') const serverStats = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir) - expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"603k"') + expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"606k"') const modules = await analyzeSizes('node_modules/**/*', serverDir) - expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"70.5k"') + expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"70.6k"') const packages = modules.files .filter(m => m.endsWith('package.json'))