diff --git a/package.json b/package.json index 3040c9df9b..9564639c06 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "vue-router": "4.3.2", "vue-tsc": "2.0.13" }, - "packageManager": "pnpm@9.0.2", + "packageManager": "pnpm@9.0.4", "engines": { "node": "^14.18.0 || >=16.10.0" }, diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index c57badcc9c..57fbc8688f 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -66,9 +66,9 @@ "@nuxt/telemetry": "^2.5.4", "@nuxt/ui-templates": "^1.3.3", "@nuxt/vite-builder": "workspace:*", - "@unhead/dom": "^1.9.5", - "@unhead/ssr": "^1.9.5", - "@unhead/vue": "^1.9.5", + "@unhead/dom": "^1.9.7", + "@unhead/ssr": "^1.9.7", + "@unhead/vue": "^1.9.7", "@vue/shared": "^3.4.23", "acorn": "8.11.3", "c12": "^1.10.0", diff --git a/packages/schema/package.json b/packages/schema/package.json index 68d3caa998..5e0114b539 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.5", + "@unhead/schema": "1.9.7", "@vitejs/plugin-vue": "5.0.4", "@vitejs/plugin-vue-jsx": "3.1.0", "@vue/compiler-core": "3.4.23", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 026bccacc4..c2b588d6bf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -264,14 +264,14 @@ importers: specifier: ^14.18.0 || >=16.10.0 version: 20.12.7 '@unhead/dom': - specifier: ^1.9.5 - version: 1.9.5 + specifier: ^1.9.7 + version: 1.9.7 '@unhead/ssr': - specifier: ^1.9.5 - version: 1.9.5 + specifier: ^1.9.7 + version: 1.9.7 '@unhead/vue': - specifier: ^1.9.5 - version: 1.9.5(vue@3.4.23(typescript@5.4.5)) + specifier: ^1.9.7 + version: 1.9.7(vue@3.4.23(typescript@5.4.5)) '@vue/shared': specifier: ^3.4.23 version: 3.4.23 @@ -485,8 +485,8 @@ importers: specifier: 8.0.8 version: 8.0.8 '@unhead/schema': - specifier: 1.9.5 - version: 1.9.5 + specifier: 1.9.7 + version: 1.9.7 '@vitejs/plugin-vue': specifier: 5.0.4 version: 5.0.4(vite@5.2.9(@types/node@20.12.7)(sass@1.69.4)(terser@5.27.0))(vue@3.4.23(typescript@5.4.5)) @@ -880,7 +880,7 @@ importers: version: 3.4.23(typescript@5.4.5) vue-router: specifier: latest - version: 4.3.1(vue@3.4.23(typescript@5.4.5)) + version: 4.3.2(vue@3.4.23(typescript@5.4.5)) test/fixtures/minimal: dependencies: @@ -2300,10 +2300,6 @@ packages: resolution: {integrity: sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==} engines: {node: ^16.0.0 || >=18.0.0} - '@typescript-eslint/scope-manager@7.6.0': - resolution: {integrity: sha512-ngttyfExA5PsHSx0rdFgnADMYQi+Zkeiv4/ZxGYUWd0nLs63Ha0ksmp8VMxAIC0wtCFxMos7Lt3PszJssG/E6w==} - engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/scope-manager@7.7.0': resolution: {integrity: sha512-/8INDn0YLInbe9Wt7dK4cXLDYp0fNHP5xKLHvZl3mOT5X17rK/YShXaiNmorl+/U4VKCVIjJnx4Ri5b0y+HClw==} engines: {node: ^18.18.0 || >=20.0.0} @@ -2322,10 +2318,6 @@ packages: resolution: {integrity: sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==} engines: {node: ^16.0.0 || >=18.0.0} - '@typescript-eslint/types@7.6.0': - resolution: {integrity: sha512-h02rYQn8J+MureCvHVVzhl69/GAfQGPQZmOMjG1KfCl7o3HtMSlPaPUAPu6lLctXI5ySRGIYk94clD/AUMCUgQ==} - engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/types@7.7.0': resolution: {integrity: sha512-G01YPZ1Bd2hn+KPpIbrAhEWOn5lQBrjxkzHkWvP6NucMXFtfXoevK82hzQdpfuQYuhkvFDeQYbzXCjR1z9Z03w==} engines: {node: ^18.18.0 || >=20.0.0} @@ -2339,15 +2331,6 @@ packages: typescript: optional: true - '@typescript-eslint/typescript-estree@7.6.0': - resolution: {integrity: sha512-+7Y/GP9VuYibecrCQWSKgl3GvUM5cILRttpWtnAu8GNL9j11e4tbuGZmZjJ8ejnKYyBRb2ddGQ3rEFCq3QjMJw==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - '@typescript-eslint/typescript-estree@7.7.0': resolution: {integrity: sha512-8p71HQPE6CbxIBy2kWHqM1KGrC07pk6RJn40n0DSc6bMOBBREZxSDJ+BmRzc8B5OdaMh1ty3mkuWRg4sCFiDQQ==} engines: {node: ^18.18.0 || >=20.0.0} @@ -2363,12 +2346,6 @@ packages: peerDependencies: eslint: ^7.0.0 || ^8.0.0 - '@typescript-eslint/utils@7.6.0': - resolution: {integrity: sha512-x54gaSsRRI+Nwz59TXpCsr6harB98qjXYzsRxGqvA5Ue3kQH+FxS7FYU81g/omn22ML2pZJkisy6Q+ElK8pBCA==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - eslint: ^8.56.0 - '@typescript-eslint/utils@7.7.0': resolution: {integrity: sha512-LKGAXMPQs8U/zMRFXDZOzmMKgFv3COlxUQ+2NMPhbqgVm6R1w+nU1i4836Pmxu9jZAuIeyySNrN/6Rc657ggig==} engines: {node: ^18.18.0 || >=20.0.0} @@ -2379,10 +2356,6 @@ packages: resolution: {integrity: sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==} engines: {node: ^16.0.0 || >=18.0.0} - '@typescript-eslint/visitor-keys@7.6.0': - resolution: {integrity: sha512-4eLB7t+LlNUmXzfOu1VAIAdkjbu5xNSerURS9X/S5TUKWFRpXRQZbmtPqgKmYx8bj3J0irtQXSiWAOY82v+cgw==} - engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/visitor-keys@7.7.0': resolution: {integrity: sha512-h0WHOj8MhdhY8YWkzIF30R379y0NqyOHExI9N9KCzvmu05EgG4FumeYa3ccfKUSphyWkWQE1ybVrgz/Pbam6YA==} engines: {node: ^18.18.0 || >=20.0.0} @@ -2393,20 +2366,20 @@ packages: '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} - '@unhead/dom@1.9.5': - resolution: {integrity: sha512-t+JvAFX+Qkx+IEZFBQV5rZoj/6SKHd3tqXqxpsER588DWxU0J6dzvAVJrof/vRTMjJ1lM6B8SxKhZppSZ7H2iQ==} + '@unhead/dom@1.9.7': + resolution: {integrity: sha512-suZVi8apZCNEMKuasGboBB3njJJm+gd8G0NA89geVozJ0bz40FvLyLEJZ9LirbzpujmhgHhsUSvlq4QyslRqdQ==} - '@unhead/schema@1.9.5': - resolution: {integrity: sha512-n0upGPplBn5Y/4PIqKp7/tzOhz7USos5lFjf8UKvMNoOIitEa+avP2u7gRQ9yOhHmOAH9AXDeX7mhSvhO+Tqxw==} + '@unhead/schema@1.9.7': + resolution: {integrity: sha512-naQGY1gQqq8DmQCxVTOeeXIqaRwbqnLEgvQl12zPEDviYxmg7TCbmKyN9uT4ZarQbJ2WYT2UtYvdSrmTXcwlBw==} - '@unhead/shared@1.9.5': - resolution: {integrity: sha512-WN2T8th1wYn4A1bb6o8Z59wNVMPkD6YdNQIlmSbEP9zuSYyVEh3BIxqSdxWM/xl8atN8fNwVW06knaF51VmKXA==} + '@unhead/shared@1.9.7': + resolution: {integrity: sha512-srji+qaBkkGOTdtTmFxt3AebFYcpt1qQHeQva7X3dSm5nZJDoKj35BJJTZfBSRCjgvkTtsdVUT14f9p9/4BCMA==} - '@unhead/ssr@1.9.5': - resolution: {integrity: sha512-l9fqAKM3odX/8Ac8l7v7Nlot5f+e6ktINT/PjBuXf+pHHmPz7+eKWzNL95KVB/o0uxmJr2BVijDwCPYrgmjfjQ==} + '@unhead/ssr@1.9.7': + resolution: {integrity: sha512-3K0J9biCypPzJ5o4AgjhKboX2Sas4COj54wfT+ghSfyQ05Lp5IlWxw0FrXuxKPk54ObovskUwIf8eCa9ke0Vuw==} - '@unhead/vue@1.9.5': - resolution: {integrity: sha512-L3yDB6Mwm92gJNPqZApMwfGluS0agR0HIizkXCKKz3WkZ+ef/negMwTNGpTtd+uqh/+hSyG73Bl4yySuPsD4nA==} + '@unhead/vue@1.9.7': + resolution: {integrity: sha512-c5pcNvi3FwMfqd+lfD3XUyRKPDv/AVPrep84CFXaqB7ebb+2OQTgtxBiCoRsa8+DtdhYI50lYJ/yeVdfLI9XUw==} peerDependencies: vue: 3.4.23 @@ -3222,9 +3195,6 @@ packages: concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} - confbox@0.1.3: - resolution: {integrity: sha512-eH3ZxAihl1PhKfpr4VfEN6/vUd87fmgb6JkldHgg/YR6aEBhW63qUDgzP2Y6WM0UumdsYp5H3kibalXAdHfbgg==} - confbox@0.1.7: resolution: {integrity: sha512-uJcB/FKZtBMCJpK8MQji6bJHgu1tixKPxRLeGkNzBoOZzpnZUJm0jm2/sBDWcuBx1dYgxV4JU+g5hmNxCyAmdA==} @@ -6523,8 +6493,8 @@ packages: unenv@1.9.0: resolution: {integrity: sha512-QKnFNznRxmbOF1hDgzpqrlIf6NC5sbZ2OJ+5Wl3OX8uM+LUJXbj4TXvLJCtwbPTmbMHCLIz6JLKNinNsMShK9g==} - unhead@1.9.5: - resolution: {integrity: sha512-eBKDPO9IMltRze9mHNYIVdosjlqoNFbwJRbykGT/7z/S5uYR2QRCXmIhEsJT4crffy6KQyB5ywLPqjRPx0s57A==} + unhead@1.9.7: + resolution: {integrity: sha512-Kv7aU5l41qiq36t9qMks8Pgsj7adaTBm9aDS6USlmodTXioeqlJ5vEu9DI+8ZZPwRlmof3aDlo1kubyaXdSNmQ==} unicode-emoji-modifier-base@1.0.0: resolution: {integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==} @@ -6919,11 +6889,6 @@ packages: peerDependencies: vue: 3.4.23 - vue-router@4.3.1: - resolution: {integrity: sha512-D0h3oyP6vp28BOvxv2hVpiqFTjTJizCf1BuMmCibc8UW0Ll/N80SWqDd/hqPMaZfzW1j+s2s+aTRyBIP9ElzOw==} - peerDependencies: - vue: 3.4.23 - vue-router@4.3.2: resolution: {integrity: sha512-hKQJ1vDAZ5LVkKEnHhmm1f9pMiWIBNGF5AwU67PdH7TyXCj/a4hTccuUuYCAMgJK6rO/NVYtQIEN3yL8CECa7Q==} peerDependencies: @@ -8581,11 +8546,6 @@ snapshots: '@typescript-eslint/types': 6.21.0 '@typescript-eslint/visitor-keys': 6.21.0 - '@typescript-eslint/scope-manager@7.6.0': - dependencies: - '@typescript-eslint/types': 7.6.0 - '@typescript-eslint/visitor-keys': 7.6.0 - '@typescript-eslint/scope-manager@7.7.0': dependencies: '@typescript-eslint/types': 7.7.0 @@ -8605,8 +8565,6 @@ snapshots: '@typescript-eslint/types@6.21.0': {} - '@typescript-eslint/types@7.6.0': {} - '@typescript-eslint/types@7.7.0': {} '@typescript-eslint/typescript-estree@6.21.0(typescript@5.4.5)': @@ -8624,21 +8582,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@7.6.0(typescript@5.4.5)': - dependencies: - '@typescript-eslint/types': 7.6.0 - '@typescript-eslint/visitor-keys': 7.6.0 - debug: 4.3.4 - globby: 11.1.0 - is-glob: 4.0.3 - minimatch: 9.0.4 - semver: 7.6.0 - ts-api-utils: 1.3.0(typescript@5.4.5) - optionalDependencies: - typescript: 5.4.5 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/typescript-estree@7.7.0(typescript@5.4.5)': dependencies: '@typescript-eslint/types': 7.7.0 @@ -8668,20 +8611,6 @@ snapshots: - supports-color - typescript - '@typescript-eslint/utils@7.6.0(eslint@9.0.0)(typescript@5.4.5)': - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.0.0) - '@types/json-schema': 7.0.15 - '@types/semver': 7.5.8 - '@typescript-eslint/scope-manager': 7.6.0 - '@typescript-eslint/types': 7.6.0 - '@typescript-eslint/typescript-estree': 7.6.0(typescript@5.4.5) - eslint: 9.0.0 - semver: 7.6.0 - transitivePeerDependencies: - - supports-color - - typescript - '@typescript-eslint/utils@7.7.0(eslint@9.0.0)(typescript@5.4.5)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.0.0) @@ -8701,11 +8630,6 @@ snapshots: '@typescript-eslint/types': 6.21.0 eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@7.6.0': - dependencies: - '@typescript-eslint/types': 7.6.0 - eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@7.7.0': dependencies: '@typescript-eslint/types': 7.7.0 @@ -8719,31 +8643,31 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@unhead/dom@1.9.5': + '@unhead/dom@1.9.7': dependencies: - '@unhead/schema': 1.9.5 - '@unhead/shared': 1.9.5 + '@unhead/schema': 1.9.7 + '@unhead/shared': 1.9.7 - '@unhead/schema@1.9.5': + '@unhead/schema@1.9.7': dependencies: hookable: 5.5.3 zhead: 2.2.4 - '@unhead/shared@1.9.5': + '@unhead/shared@1.9.7': dependencies: - '@unhead/schema': 1.9.5 + '@unhead/schema': 1.9.7 - '@unhead/ssr@1.9.5': + '@unhead/ssr@1.9.7': dependencies: - '@unhead/schema': 1.9.5 - '@unhead/shared': 1.9.5 + '@unhead/schema': 1.9.7 + '@unhead/shared': 1.9.7 - '@unhead/vue@1.9.5(vue@3.4.23(typescript@5.4.5))': + '@unhead/vue@1.9.7(vue@3.4.23(typescript@5.4.5))': dependencies: - '@unhead/schema': 1.9.5 - '@unhead/shared': 1.9.5 + '@unhead/schema': 1.9.7 + '@unhead/shared': 1.9.7 hookable: 5.5.3 - unhead: 1.9.5 + unhead: 1.9.7 vue: 3.4.23(typescript@5.4.5) '@unocss/astro@0.58.6(rollup@4.14.3)(vite@5.2.9(@types/node@20.12.7)(sass@1.69.4)(terser@5.27.0))': @@ -9612,7 +9536,7 @@ snapshots: c12@1.10.0: dependencies: chokidar: 3.6.0 - confbox: 0.1.3 + confbox: 0.1.7 defu: 6.1.4 dotenv: 16.4.5 giget: 1.2.1 @@ -9832,8 +9756,6 @@ snapshots: concat-map@0.0.1: {} - confbox@0.1.3: {} - confbox@0.1.7: {} config-chain@1.1.13: @@ -10354,7 +10276,7 @@ snapshots: eslint-plugin-import-x@0.5.0(eslint@9.0.0)(typescript@5.4.5): dependencies: - '@typescript-eslint/utils': 7.6.0(eslint@9.0.0)(typescript@5.4.5) + '@typescript-eslint/utils': 7.7.0(eslint@9.0.0)(typescript@5.4.5) debug: 4.3.4 doctrine: 3.0.0 eslint: 9.0.0 @@ -13739,11 +13661,11 @@ snapshots: node-fetch-native: 1.6.4 pathe: 1.1.2 - unhead@1.9.5: + unhead@1.9.7: dependencies: - '@unhead/dom': 1.9.5 - '@unhead/schema': 1.9.5 - '@unhead/shared': 1.9.5 + '@unhead/dom': 1.9.7 + '@unhead/schema': 1.9.7 + '@unhead/shared': 1.9.7 hookable: 5.5.3 unicode-emoji-modifier-base@1.0.0: {} @@ -14236,11 +14158,6 @@ snapshots: dependencies: vue: 3.4.23(typescript@5.4.5) - vue-router@4.3.1(vue@3.4.23(typescript@5.4.5)): - dependencies: - '@vue/devtools-api': 6.5.1 - vue: 3.4.23(typescript@5.4.5) - vue-router@4.3.2(vue@3.4.23(typescript@5.4.5)): dependencies: '@vue/devtools-api': 6.5.1 diff --git a/test/bundle.test.ts b/test/bundle.test.ts index 2c4923bae5..73b5ce2dc6 100644 --- a/test/bundle.test.ts +++ b/test/bundle.test.ts @@ -35,7 +35,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"209k"') const modules = await analyzeSizes('node_modules/**/*', serverDir) - expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot(`"1337k"`) + expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot(`"1336k"`) const packages = modules.files .filter(m => m.endsWith('package.json')) @@ -75,7 +75,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot(`"528k"`) const modules = await analyzeSizes('node_modules/**/*', serverDir) - expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot(`"75.9k"`) + expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot(`"75.7k"`) const packages = modules.files .filter(m => m.endsWith('package.json'))