diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index deb79741dd..ac97f68473 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -66,9 +66,9 @@ "@nuxt/telemetry": "^2.5.3", "@nuxt/ui-templates": "^1.3.1", "@nuxt/vite-builder": "workspace:*", - "@unhead/dom": "^1.9.1", - "@unhead/ssr": "^1.9.1", - "@unhead/vue": "^1.9.1", + "@unhead/dom": "^1.9.2", + "@unhead/ssr": "^1.9.2", + "@unhead/vue": "^1.9.2", "@vue/shared": "^3.4.21", "acorn": "8.11.3", "c12": "^1.10.0", diff --git a/packages/schema/package.json b/packages/schema/package.json index 989b8f7b37..75cd1023b7 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -38,7 +38,7 @@ "@types/file-loader": "5.0.4", "@types/pug": "2.0.10", "@types/sass-loader": "8.0.8", - "@unhead/schema": "1.9.1", + "@unhead/schema": "1.9.2", "@vitejs/plugin-vue": "5.0.4", "@vitejs/plugin-vue-jsx": "3.1.0", "@vue/compiler-core": "3.4.21", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 92c98fd4b7..8be2b4d8cf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -264,14 +264,14 @@ importers: specifier: ^14.18.0 || >=16.10.0 version: 20.11.30 '@unhead/dom': - specifier: ^1.9.1 - version: 1.9.1 + specifier: ^1.9.2 + version: 1.9.2 '@unhead/ssr': - specifier: ^1.9.1 - version: 1.9.1 + specifier: ^1.9.2 + version: 1.9.2 '@unhead/vue': - specifier: ^1.9.1 - version: 1.9.1(vue@3.4.21) + specifier: ^1.9.2 + version: 1.9.2(vue@3.4.21) '@vue/shared': specifier: ^3.4.21 version: 3.4.21 @@ -482,8 +482,8 @@ importers: specifier: 8.0.8 version: 8.0.8 '@unhead/schema': - specifier: 1.9.1 - version: 1.9.1 + specifier: 1.9.2 + version: 1.9.2 '@vitejs/plugin-vue': specifier: 5.0.4 version: 5.0.4(vite@5.2.6)(vue@3.4.21) @@ -3346,41 +3346,41 @@ packages: /@ungap/structured-clone@1.2.0: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} - /@unhead/dom@1.9.1: - resolution: {integrity: sha512-5YVT8pyg7Mw8niWwklP8nFKK9WLIvaK4O3tXvqpW9OxSAexJG576bh6FR0hEtSDLBkJh+pI8mMMMIuzSdK/whA==} + /@unhead/dom@1.9.2: + resolution: {integrity: sha512-yREmUAfYJsPV9qR3G85MkdH+FdvsHf8AIJRm7FgQidrPxFr8tCICdID3+jXULz3oq8pFye1tAyHlBHXeq3SIpA==} dependencies: - '@unhead/schema': 1.9.1 - '@unhead/shared': 1.9.1 + '@unhead/schema': 1.9.2 + '@unhead/shared': 1.9.2 dev: false - /@unhead/schema@1.9.1: - resolution: {integrity: sha512-wCJKNx4l837NEVMWP3MnUfkgsnMyuXwYs7+5VvbYzAWbnZSvQt/K10xDV0N7ft9RSlPfgukVVG+gtARm1kGVHQ==} + /@unhead/schema@1.9.2: + resolution: {integrity: sha512-NRCAcuWtD2WCL8u3qR1yn41JpDB+ExjBnSLAuJseOD9+XJjQBqPRgx/bhxZ3Dx6vrrCnCF+SvKr+W1pa+3mWdA==} dependencies: hookable: 5.5.3 zhead: 2.2.4 - /@unhead/shared@1.9.1: - resolution: {integrity: sha512-rZgzXzOeF4vu2bJJAkHJckgPgWGfpDA3/vesPhJIZGs2NkGYi9lDwMUeJ90HKCMJv1+JRAcPOokjRi6vRlnQpg==} + /@unhead/shared@1.9.2: + resolution: {integrity: sha512-jXQ4vK9wXf66hflOSBUXQKVsOLJrYVSOknDH+9PTwz5CIgJv/Y/o/NkRCJjyf5W7qFf605Te28lbTeLumT+BeQ==} dependencies: - '@unhead/schema': 1.9.1 + '@unhead/schema': 1.9.2 dev: false - /@unhead/ssr@1.9.1: - resolution: {integrity: sha512-ojY5umX2rtEvmsAFX935DPxk+rZfmgLOEMP1etJGYmCh2GQskK4USjUp9uYJyf0DP0xh+42R4a06e5602CIWHQ==} + /@unhead/ssr@1.9.2: + resolution: {integrity: sha512-XKNAK3A67ZZpNq8arTyUj7brmTOYH3PJrVSx546MCQQvCuP6U3brWyIPy12+a/XiAxr4z62vd2IHCZya8OrZrQ==} dependencies: - '@unhead/schema': 1.9.1 - '@unhead/shared': 1.9.1 + '@unhead/schema': 1.9.2 + '@unhead/shared': 1.9.2 dev: false - /@unhead/vue@1.9.1(vue@3.4.21): - resolution: {integrity: sha512-clSKIkwtw26Lx5tR7ecJ/zvyFJkghvJU+jt2liQ4XYQb/Qaveh8L7gqsI1RKUuKaXAjlo2Z4Jpp1v9nHxA0heg==} + /@unhead/vue@1.9.2(vue@3.4.21): + resolution: {integrity: sha512-wp0eOyb7tu2isSt1IiDGm194W/8DVL3cXZd8uvhVlhS9yPL3TzwrSNbvwx95fhfrGuXFraoLjp4SpZ2BCszFsg==} peerDependencies: vue: 3.4.21 dependencies: - '@unhead/schema': 1.9.1 - '@unhead/shared': 1.9.1 + '@unhead/schema': 1.9.2 + '@unhead/shared': 1.9.2 hookable: 5.5.3 - unhead: 1.9.1 + unhead: 1.9.2 vue: 3.4.21(typescript@5.4.3) dev: false @@ -11197,12 +11197,12 @@ packages: node-fetch-native: 1.6.4 pathe: 1.1.2 - /unhead@1.9.1: - resolution: {integrity: sha512-qTyA0V6xjUrIJp6KWs0CqAayw4K2DE7rh0GO0vmcC2YuF0HITO/3zkVtG7zhJUd5VeGgGCO/82zatDOOhMyneA==} + /unhead@1.9.2: + resolution: {integrity: sha512-CveP8bjL8gUJnZ1NqcMU1roe+VuM14wr0cJfNek/LCSI2i968mHDD5tbDXNcMSAVOhffKj6WkTngTUKNOZxA7g==} dependencies: - '@unhead/dom': 1.9.1 - '@unhead/schema': 1.9.1 - '@unhead/shared': 1.9.1 + '@unhead/dom': 1.9.2 + '@unhead/schema': 1.9.2 + '@unhead/shared': 1.9.2 hookable: 5.5.3 dev: false diff --git a/test/bundle.test.ts b/test/bundle.test.ts index c12fd76f66..5eb102893a 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('"106k"') + expect.soft(roundToKilobytes(clientStats.totalBytes)).toMatchInlineSnapshot('"105k"') expect(clientStats.files.map(f => f.replace(/\..*\.js/, '.js'))).toMatchInlineSnapshot(` [ "_nuxt/entry.js", @@ -75,7 +75,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"526k"') const modules = await analyzeSizes('node_modules/**/*', serverDir) - expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"76.0k"') + expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"75.6k"') const packages = modules.files .filter(m => m.endsWith('package.json'))