From 79787c8123830182facdc3661c0534d91e50e8fb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 09:58:53 +0000 Subject: [PATCH 1/3] chore(deps): update all non-major dependencies (main) (#26466) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe --- .github/workflows/dependency-review.yml | 2 +- package.json | 4 +- packages/kit/package.json | 2 +- packages/nuxt/package.json | 8 +- packages/schema/package.json | 4 +- packages/vite/package.json | 2 +- pnpm-lock.yaml | 244 ++++++++++++------------ test/bundle.test.ts | 4 +- 8 files changed, 135 insertions(+), 135 deletions(-) diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 8723dc6692..e781898a7a 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -19,4 +19,4 @@ jobs: - name: 'Checkout Repository' uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: 'Dependency Review' - uses: actions/dependency-review-action@0fa40c3c10055986a88de3baa0d6ec17c5a894b3 # v4.2.3 + uses: actions/dependency-review-action@733dd5d4a5203f238c33806593ec0f5fc5343d8c # v4.2.4 diff --git a/package.json b/package.json index 1f59ebf7c9..fbe4a76551 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@nuxt/webpack-builder": "workspace:*", "rollup": "^4.13.0", "nuxt": "workspace:*", - "vite": "5.2.5", + "vite": "5.2.6", "vue": "3.4.21", "magic-string": "^0.30.8" }, @@ -68,7 +68,7 @@ "fs-extra": "11.2.0", "globby": "14.0.1", "h3": "1.11.1", - "happy-dom": "14.3.3", + "happy-dom": "14.3.6", "jiti": "1.21.0", "markdownlint-cli": "0.39.0", "nitropack": "2.9.4", diff --git a/packages/kit/package.json b/packages/kit/package.json index 000c6294b0..20af6be35a 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -52,7 +52,7 @@ "lodash-es": "4.17.21", "nitropack": "2.9.4", "unbuild": "latest", - "vite": "5.2.5", + "vite": "5.2.6", "vitest": "1.4.0", "webpack": "5.91.0" }, diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 2a5e672358..40a162f6b8 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.8.20", - "@unhead/ssr": "^1.8.20", - "@unhead/vue": "^1.8.20", + "@unhead/dom": "^1.9.1", + "@unhead/ssr": "^1.9.1", + "@unhead/vue": "^1.9.1", "@vue/shared": "^3.4.21", "acorn": "8.11.3", "c12": "^1.10.0", @@ -122,7 +122,7 @@ "@types/fs-extra": "11.0.4", "@vitejs/plugin-vue": "5.0.4", "unbuild": "latest", - "vite": "5.2.5", + "vite": "5.2.6", "vitest": "1.4.0" }, "peerDependencies": { diff --git a/packages/schema/package.json b/packages/schema/package.json index 74eb344d24..9341346fe4 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.8.20", + "@unhead/schema": "1.9.1", "@vitejs/plugin-vue": "5.0.4", "@vitejs/plugin-vue-jsx": "3.1.0", "@vue/compiler-core": "3.4.21", @@ -52,7 +52,7 @@ "unbuild": "latest", "unctx": "2.3.1", "unenv": "1.9.0", - "vite": "5.2.5", + "vite": "5.2.6", "vue": "3.4.21", "vue-bundle-renderer": "2.0.0", "vue-loader": "17.4.2", diff --git a/packages/vite/package.json b/packages/vite/package.json index e89380512b..3b2ac94b92 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -62,7 +62,7 @@ "ufo": "^1.5.3", "unenv": "^1.9.0", "unplugin": "^1.10.0", - "vite": "^5.2.5", + "vite": "^5.2.6", "vite-node": "^1.4.0", "vite-plugin-checker": "^0.6.4", "vue-bundle-renderer": "^2.0.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6d01fe33e3..73a34938ed 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,7 +11,7 @@ overrides: '@nuxt/webpack-builder': workspace:* rollup: ^4.13.0 nuxt: workspace:* - vite: 5.2.5 + vite: 5.2.6 vue: 3.4.21 magic-string: ^0.30.8 @@ -27,7 +27,7 @@ importers: version: link:packages/kit '@nuxt/test-utils': specifier: 3.12.0 - version: 3.12.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.3)(playwright-core@1.42.1)(vite@5.2.5)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21) + version: 3.12.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.6)(playwright-core@1.42.1)(vite@5.2.6)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21) '@nuxt/webpack-builder': specifier: workspace:* version: link:packages/webpack @@ -92,8 +92,8 @@ importers: specifier: 1.11.1 version: 1.11.1 happy-dom: - specifier: 14.3.3 - version: 14.3.3 + specifier: 14.3.6 + version: 14.3.6 jiti: specifier: 1.21.0 version: 1.21.0 @@ -138,10 +138,10 @@ importers: version: 1.5.3 vitest: specifier: 1.4.0 - version: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.3) + version: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.6) vitest-environment-nuxt: specifier: 1.0.0 - version: 1.0.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.3)(playwright-core@1.42.1)(vite@5.2.5)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21) + version: 1.0.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.6)(playwright-core@1.42.1)(vite@5.2.6)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21) vue: specifier: 3.4.21 version: 3.4.21(typescript@5.4.3) @@ -228,11 +228,11 @@ importers: specifier: latest version: 2.0.0(typescript@5.4.3) vite: - specifier: 5.2.5 - version: 5.2.5(@types/node@20.11.30) + specifier: 5.2.6 + version: 5.2.6(@types/node@20.11.30) vitest: specifier: 1.4.0 - version: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.3) + version: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.6) webpack: specifier: 5.91.0 version: 5.91.0 @@ -244,7 +244,7 @@ importers: version: 2.0.2 '@nuxt/devtools': specifier: ^1.1.3 - version: 1.1.3(@unocss/reset@0.58.6)(floating-vue@5.2.2)(nuxt@packages+nuxt)(rollup@4.13.0)(unocss@0.58.6)(vite@5.2.5)(vue@3.4.21) + version: 1.1.3(@unocss/reset@0.58.6)(floating-vue@5.2.2)(nuxt@packages+nuxt)(rollup@4.13.0)(unocss@0.58.6)(vite@5.2.6)(vue@3.4.21) '@nuxt/kit': specifier: workspace:* version: link:../kit @@ -264,14 +264,14 @@ importers: specifier: ^14.18.0 || >=16.10.0 version: 20.11.30 '@unhead/dom': - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.9.1 + version: 1.9.1 '@unhead/ssr': - specifier: ^1.8.20 - version: 1.8.20 + specifier: ^1.9.1 + version: 1.9.1 '@unhead/vue': - specifier: ^1.8.20 - version: 1.8.20(vue@3.4.21) + specifier: ^1.9.1 + version: 1.9.1(vue@3.4.21) '@vue/shared': specifier: ^3.4.21 version: 3.4.21 @@ -422,16 +422,16 @@ importers: version: 11.0.4 '@vitejs/plugin-vue': specifier: 5.0.4 - version: 5.0.4(vite@5.2.5)(vue@3.4.21) + version: 5.0.4(vite@5.2.6)(vue@3.4.21) unbuild: specifier: latest version: 2.0.0(typescript@5.4.3) vite: - specifier: 5.2.5 - version: 5.2.5(@types/node@20.11.30) + specifier: 5.2.6 + version: 5.2.6(@types/node@20.11.30) vitest: specifier: 1.4.0 - version: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.3) + version: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.6) packages/schema: dependencies: @@ -482,14 +482,14 @@ importers: specifier: 8.0.8 version: 8.0.8 '@unhead/schema': - specifier: 1.8.20 - version: 1.8.20 + specifier: 1.9.1 + version: 1.9.1 '@vitejs/plugin-vue': specifier: 5.0.4 - version: 5.0.4(vite@5.2.5)(vue@3.4.21) + version: 5.0.4(vite@5.2.6)(vue@3.4.21) '@vitejs/plugin-vue-jsx': specifier: 3.1.0 - version: 3.1.0(vite@5.2.5)(vue@3.4.21) + version: 3.1.0(vite@5.2.6)(vue@3.4.21) '@vue/compiler-core': specifier: 3.4.21 version: 3.4.21 @@ -524,8 +524,8 @@ importers: specifier: 1.9.0 version: 1.9.0 vite: - specifier: 5.2.5 - version: 5.2.5(@types/node@20.11.30) + specifier: 5.2.6 + version: 5.2.6(@types/node@20.11.30) vue: specifier: 3.4.21 version: 3.4.21(typescript@5.4.3) @@ -555,10 +555,10 @@ importers: version: 5.0.5(rollup@4.13.0) '@vitejs/plugin-vue': specifier: ^5.0.4 - version: 5.0.4(vite@5.2.5)(vue@3.4.21) + version: 5.0.4(vite@5.2.6)(vue@3.4.21) '@vitejs/plugin-vue-jsx': specifier: ^3.1.0 - version: 3.1.0(vite@5.2.5)(vue@3.4.21) + version: 3.1.0(vite@5.2.6)(vue@3.4.21) autoprefixer: specifier: ^10.4.19 version: 10.4.19(postcss@8.4.38) @@ -638,14 +638,14 @@ importers: specifier: ^1.10.0 version: 1.10.0 vite: - specifier: 5.2.5 - version: 5.2.5(@types/node@20.11.30) + specifier: 5.2.6 + version: 5.2.6(@types/node@20.11.30) vite-node: specifier: ^1.4.0 version: 1.4.0(@types/node@20.11.30) vite-plugin-checker: specifier: ^0.6.4 - version: 0.6.4(eslint@8.57.0)(typescript@5.4.3)(vite@5.2.5)(vue-tsc@2.0.7) + version: 0.6.4(eslint@8.57.0)(typescript@5.4.3)(vite@5.2.6)(vue-tsc@2.0.7) vue-bundle-renderer: specifier: ^2.0.0 version: 2.0.0 @@ -868,7 +868,7 @@ importers: version: 1.3.4 vitest: specifier: 1.0.2 - version: 1.0.2(@types/node@20.11.30)(happy-dom@14.3.3) + version: 1.0.2(@types/node@20.11.30)(happy-dom@14.3.6) vue: specifier: 3.4.21 version: 3.4.21(typescript@5.4.3) @@ -2178,17 +2178,17 @@ packages: resolution: {integrity: sha512-GBzP8zOc7CGWyFQS6dv1lQz8VVpz5C2yRszbXufwG/9zhStTIH50EtD87NmWbTMwXDvZLNg8GIpb1UFdH93JCA==} dev: false - /@nuxt/devtools-kit@1.1.3(nuxt@packages+nuxt)(vite@5.2.5): + /@nuxt/devtools-kit@1.1.3(nuxt@packages+nuxt)(vite@5.2.6): resolution: {integrity: sha512-bVIGng74haYAvJXiV+xtk7xrpHPZOJtcV4Flgl9IM+PYSjqs5pIRFRDnDwCQYAGt99hxGtQkdTBRqPQLxVCmeA==} peerDependencies: nuxt: workspace:* - vite: 5.2.5 + vite: 5.2.6 dependencies: '@nuxt/kit': link:packages/kit '@nuxt/schema': link:packages/schema execa: 7.2.0 nuxt: link:packages/nuxt - vite: 5.2.5(@types/node@20.11.30) + vite: 5.2.6(@types/node@20.11.30) dev: false /@nuxt/devtools-wizard@1.1.3: @@ -2207,19 +2207,19 @@ packages: semver: 7.6.0 dev: false - /@nuxt/devtools@1.1.3(@unocss/reset@0.58.6)(floating-vue@5.2.2)(nuxt@packages+nuxt)(rollup@4.13.0)(unocss@0.58.6)(vite@5.2.5)(vue@3.4.21): + /@nuxt/devtools@1.1.3(@unocss/reset@0.58.6)(floating-vue@5.2.2)(nuxt@packages+nuxt)(rollup@4.13.0)(unocss@0.58.6)(vite@5.2.6)(vue@3.4.21): resolution: {integrity: sha512-+mps8+01b2ntJOHNNTfeUTj4A/b2CyAxvmbwgoDc91XAycpJMWqzYzqBXemR4ZoDL8mbk6coQ1rmz8f1dM25fA==} hasBin: true peerDependencies: nuxt: workspace:* - vite: 5.2.5 + vite: 5.2.6 dependencies: '@antfu/utils': 0.7.7 - '@nuxt/devtools-kit': 1.1.3(nuxt@packages+nuxt)(vite@5.2.5) + '@nuxt/devtools-kit': 1.1.3(nuxt@packages+nuxt)(vite@5.2.6) '@nuxt/devtools-wizard': 1.1.3 '@nuxt/kit': link:packages/kit - '@vue/devtools-applet': 7.0.20(@unocss/reset@0.58.6)(floating-vue@5.2.2)(unocss@0.58.6)(vite@5.2.5)(vue@3.4.21) - '@vue/devtools-core': 7.0.20(vite@5.2.5)(vue@3.4.21) + '@vue/devtools-applet': 7.0.20(@unocss/reset@0.58.6)(floating-vue@5.2.2)(unocss@0.58.6)(vite@5.2.6)(vue@3.4.21) + '@vue/devtools-core': 7.0.20(vite@5.2.6)(vue@3.4.21) '@vue/devtools-kit': 7.0.20(vue@3.4.21) birpc: 0.2.17 consola: 3.2.3 @@ -2249,9 +2249,9 @@ packages: simple-git: 3.23.0 sirv: 2.0.4 unimport: 3.7.1(rollup@4.13.0) - vite: 5.2.5(@types/node@20.11.30) - vite-plugin-inspect: 0.8.3(@nuxt/kit@packages+kit)(rollup@4.13.0)(vite@5.2.5) - vite-plugin-vue-inspector: 4.0.2(vite@5.2.5) + vite: 5.2.6(@types/node@20.11.30) + vite-plugin-inspect: 0.8.3(@nuxt/kit@packages+kit)(rollup@4.13.0)(vite@5.2.6) + vite-plugin-vue-inspector: 4.0.2(vite@5.2.6) which: 3.0.1 ws: 8.16.0 transitivePeerDependencies: @@ -2328,7 +2328,7 @@ packages: rc9: 2.1.1 std-env: 3.7.0 - /@nuxt/test-utils@3.12.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.3)(playwright-core@1.42.1)(vite@5.2.5)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21): + /@nuxt/test-utils@3.12.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.6)(playwright-core@1.42.1)(vite@5.2.6)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21): resolution: {integrity: sha512-Q3HP53TDIYeqHT65r31HZhK/gRwVBmchSdVj1tfiYECyqstckvsQ4Cyt/GX/XmD7cLdD3d5aHow8LaMfP+BSqQ==} engines: {node: ^14.18.0 || >=16.10.0} peerDependencies: @@ -2342,7 +2342,7 @@ packages: happy-dom: ^9.10.9 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 jsdom: ^22.0.0 || ^23.0.0 || ^24.0.0 playwright-core: ^1.34.3 - vite: 5.2.5 + vite: 5.2.6 vitest: ^0.34.6 || ^1.0.0 vue: 3.4.21 vue-router: ^4.0.0 @@ -2381,7 +2381,7 @@ packages: fake-indexeddb: 5.0.2 get-port-please: 3.1.2 h3: 1.11.1 - happy-dom: 14.3.3 + happy-dom: 14.3.6 local-pkg: 0.5.0 magic-string: 0.30.8 node-fetch-native: 1.6.3 @@ -2395,9 +2395,9 @@ packages: ufo: 1.5.3 unenv: 1.9.0 unplugin: 1.10.0 - vite: 5.2.5(@types/node@20.11.30) - vitest: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.3) - vitest-environment-nuxt: 1.0.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.3)(playwright-core@1.42.1)(vite@5.2.5)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21) + vite: 5.2.6(@types/node@20.11.30) + vitest: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.6) + vitest-environment-nuxt: 1.0.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.6)(playwright-core@1.42.1)(vite@5.2.6)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21) vue: 3.4.21(typescript@5.4.3) vue-router: 4.3.0(vue@3.4.21) dev: true @@ -3339,56 +3339,56 @@ packages: /@ungap/structured-clone@1.2.0: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} - /@unhead/dom@1.8.20: - resolution: {integrity: sha512-TXRQSVbqBOQc02m3wxgj55m93U8a3WBHV9xJi2zVX/iHEJgeQbZMJ+rV0YJkHy2OHAC0MfjVQA5NDLaVwtromw==} + /@unhead/dom@1.9.1: + resolution: {integrity: sha512-5YVT8pyg7Mw8niWwklP8nFKK9WLIvaK4O3tXvqpW9OxSAexJG576bh6FR0hEtSDLBkJh+pI8mMMMIuzSdK/whA==} dependencies: - '@unhead/schema': 1.8.20 - '@unhead/shared': 1.8.20 + '@unhead/schema': 1.9.1 + '@unhead/shared': 1.9.1 dev: false - /@unhead/schema@1.8.20: - resolution: {integrity: sha512-n0e5jsKino8JTHc4wpr4l8MXXIrj0muYYAEVa0WSYkIVnMiBr1Ik3l6elhCr4fdSyJ3M2DQQleea/oZCr11XCw==} + /@unhead/schema@1.9.1: + resolution: {integrity: sha512-wCJKNx4l837NEVMWP3MnUfkgsnMyuXwYs7+5VvbYzAWbnZSvQt/K10xDV0N7ft9RSlPfgukVVG+gtARm1kGVHQ==} dependencies: hookable: 5.5.3 zhead: 2.2.4 - /@unhead/shared@1.8.20: - resolution: {integrity: sha512-J0fdtavcMtXcG0g9jmVW03toqfr8A0G7k+Q6jdpwuUPhWk/vhfZn3aiRV+F8LlU91c/AbGWDv8T1MrtMQbb0Sg==} + /@unhead/shared@1.9.1: + resolution: {integrity: sha512-rZgzXzOeF4vu2bJJAkHJckgPgWGfpDA3/vesPhJIZGs2NkGYi9lDwMUeJ90HKCMJv1+JRAcPOokjRi6vRlnQpg==} dependencies: - '@unhead/schema': 1.8.20 + '@unhead/schema': 1.9.1 dev: false - /@unhead/ssr@1.8.20: - resolution: {integrity: sha512-Cq1NcdYZ/IAkJ0muqdOBxJXb5dn+uV+RvIXDykRb9lGgriU/S0fzUw8XYTYMwLlvW6rSMrtRx319hz2D3ZrBkA==} + /@unhead/ssr@1.9.1: + resolution: {integrity: sha512-ojY5umX2rtEvmsAFX935DPxk+rZfmgLOEMP1etJGYmCh2GQskK4USjUp9uYJyf0DP0xh+42R4a06e5602CIWHQ==} dependencies: - '@unhead/schema': 1.8.20 - '@unhead/shared': 1.8.20 + '@unhead/schema': 1.9.1 + '@unhead/shared': 1.9.1 dev: false - /@unhead/vue@1.8.20(vue@3.4.21): - resolution: {integrity: sha512-Lm6cnbX/QGCh+pxGN1Tl6LVXxYs5bLlN8APfI2rQ5kMNRE6Yy7r2eY5wCZ0SfsSRonqJxzVlgMMh8JPEY5d4GQ==} + /@unhead/vue@1.9.1(vue@3.4.21): + resolution: {integrity: sha512-clSKIkwtw26Lx5tR7ecJ/zvyFJkghvJU+jt2liQ4XYQb/Qaveh8L7gqsI1RKUuKaXAjlo2Z4Jpp1v9nHxA0heg==} peerDependencies: vue: 3.4.21 dependencies: - '@unhead/schema': 1.8.20 - '@unhead/shared': 1.8.20 + '@unhead/schema': 1.9.1 + '@unhead/shared': 1.9.1 hookable: 5.5.3 - unhead: 1.8.20 + unhead: 1.9.1 vue: 3.4.21(typescript@5.4.3) dev: false - /@unocss/astro@0.58.6(rollup@4.13.0)(vite@5.2.5): + /@unocss/astro@0.58.6(rollup@4.13.0)(vite@5.2.6): resolution: {integrity: sha512-0BvbhEp5Ln6wFNnhISusB2hcfycWkdgnjlFMcLT69efvj4G39MzB6JYT/1qiidLfpj35HcqkpBz7TfZ4bUmOAw==} peerDependencies: - vite: 5.2.5 + vite: 5.2.6 peerDependenciesMeta: vite: optional: true dependencies: '@unocss/core': 0.58.6 '@unocss/reset': 0.58.6 - '@unocss/vite': 0.58.6(rollup@4.13.0)(vite@5.2.5) - vite: 5.2.5(@types/node@20.11.30) + '@unocss/vite': 0.58.6(rollup@4.13.0)(vite@5.2.6) + vite: 5.2.6(@types/node@20.11.30) transitivePeerDependencies: - rollup dev: false @@ -3571,10 +3571,10 @@ packages: '@unocss/core': 0.58.6 dev: false - /@unocss/vite@0.58.6(rollup@4.13.0)(vite@5.2.5): + /@unocss/vite@0.58.6(rollup@4.13.0)(vite@5.2.6): resolution: {integrity: sha512-DPXCoYU/Ozqc/Jeptd41XvtW8MSgVxmtTyhpMAsm/hJuBfwIV7Fy3TZquf4V9BpaTb4ao1LVXzgXmVUmj2HXpA==} peerDependencies: - vite: 5.2.5 + vite: 5.2.6 dependencies: '@ampproject/remapping': 2.3.0 '@rollup/pluginutils': 5.1.0(rollup@4.13.0) @@ -3586,7 +3586,7 @@ packages: chokidar: 3.6.0 fast-glob: 3.3.2 magic-string: 0.30.8 - vite: 5.2.5(@types/node@20.11.30) + vite: 5.2.6(@types/node@20.11.30) transitivePeerDependencies: - rollup dev: false @@ -3612,29 +3612,29 @@ packages: - encoding - supports-color - /@vitejs/plugin-vue-jsx@3.1.0(vite@5.2.5)(vue@3.4.21): + /@vitejs/plugin-vue-jsx@3.1.0(vite@5.2.6)(vue@3.4.21): resolution: {integrity: sha512-w9M6F3LSEU5kszVb9An2/MmXNxocAnUb3WhRr8bHlimhDrXNt6n6D2nJQR3UXpGlZHh/EsgouOHCsM8V3Ln+WA==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - vite: 5.2.5 + vite: 5.2.6 vue: 3.4.21 dependencies: '@babel/core': 7.24.3 '@babel/plugin-transform-typescript': 7.24.1(@babel/core@7.24.3) '@vue/babel-plugin-jsx': 1.1.5(@babel/core@7.24.3) - vite: 5.2.5(@types/node@20.11.30) + vite: 5.2.6(@types/node@20.11.30) vue: 3.4.21(typescript@5.4.3) transitivePeerDependencies: - supports-color - /@vitejs/plugin-vue@5.0.4(vite@5.2.5)(vue@3.4.21): + /@vitejs/plugin-vue@5.0.4(vite@5.2.6)(vue@3.4.21): resolution: {integrity: sha512-WS3hevEszI6CEVEx28F8RjTX97k3KsrcY6kvTg7+Whm5y3oYvcqzVeGCU3hxSAn4uY2CLCkeokkGKpoctccilQ==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: - vite: 5.2.5 + vite: 5.2.6 vue: 3.4.21 dependencies: - vite: 5.2.5(@types/node@20.11.30) + vite: 5.2.6(@types/node@20.11.30) vue: 3.4.21(typescript@5.4.3) /@vitest/coverage-v8@1.4.0(vitest@1.4.0): @@ -3656,7 +3656,7 @@ packages: strip-literal: 2.0.0 test-exclude: 6.0.0 v8-to-istanbul: 9.2.0 - vitest: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.3) + vitest: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.6) transitivePeerDependencies: - supports-color dev: true @@ -3844,12 +3844,12 @@ packages: /@vue/devtools-api@6.5.1: resolution: {integrity: sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==} - /@vue/devtools-applet@7.0.20(@unocss/reset@0.58.6)(floating-vue@5.2.2)(unocss@0.58.6)(vite@5.2.5)(vue@3.4.21): + /@vue/devtools-applet@7.0.20(@unocss/reset@0.58.6)(floating-vue@5.2.2)(unocss@0.58.6)(vite@5.2.6)(vue@3.4.21): resolution: {integrity: sha512-q48RtnhFmC0kd4N+3Edfctv6oL2neN6crUapBydSr6szjR87dQJygTEYKlpyx0SHmVLVwq4mcgFuf1ftAKjd/w==} peerDependencies: vue: 3.4.21 dependencies: - '@vue/devtools-core': 7.0.20(vite@5.2.5)(vue@3.4.21) + '@vue/devtools-core': 7.0.20(vite@5.2.6)(vue@3.4.21) '@vue/devtools-kit': 7.0.20(vue@3.4.21) '@vue/devtools-shared': 7.0.20 '@vue/devtools-ui': 7.0.20(@unocss/reset@0.58.6)(floating-vue@5.2.2)(unocss@0.58.6)(vue@3.4.21) @@ -3876,7 +3876,7 @@ packages: - vite dev: false - /@vue/devtools-core@7.0.20(vite@5.2.5)(vue@3.4.21): + /@vue/devtools-core@7.0.20(vite@5.2.6)(vue@3.4.21): resolution: {integrity: sha512-JefAn0ljTUPtoEJ47PjEfcLQb9BVt3OH1R6aD8qZ7bNYwZH+xystXpVJ3pW+1iDnOXjfpLgc3bsHUZoxlfobpw==} dependencies: '@vue/devtools-kit': 7.0.20(vue@3.4.21) @@ -3884,7 +3884,7 @@ packages: mitt: 3.0.1 nanoid: 3.3.7 pathe: 1.1.2 - vite-hot-client: 0.2.3(vite@5.2.5) + vite-hot-client: 0.2.3(vite@5.2.6) transitivePeerDependencies: - vite - vue @@ -3924,7 +3924,7 @@ packages: colord: 2.9.3 floating-vue: 5.2.2(@nuxt/kit@packages+kit)(vue@3.4.21) focus-trap: 7.5.4 - unocss: 0.58.6(postcss@8.4.38)(rollup@4.13.0)(vite@5.2.5) + unocss: 0.58.6(postcss@8.4.38)(rollup@4.13.0)(vite@5.2.6) vue: 3.4.21(typescript@5.4.3) transitivePeerDependencies: - '@vue/composition-api' @@ -6766,8 +6766,8 @@ packages: transitivePeerDependencies: - uWebSockets.js - /happy-dom@14.3.3: - resolution: {integrity: sha512-hsecx5SDUUwVW0MK5sxFWA7WHLabvzIEKjf9gah+siJp/LD+bMyFfAO18b9mlc5meMADVUm6O/YF4+CliaMD6g==} + /happy-dom@14.3.6: + resolution: {integrity: sha512-fUb3dn0iuyyxRGqwFoU5iy6wjozxt/Qw7zGeRMockbBlpOegrV7Y0HIYBMQw8X4s7qpu55Tu7cNFoRM8s9VW5A==} engines: {node: '>=16.0.0'} dependencies: entities: 4.5.0 @@ -11189,12 +11189,12 @@ packages: node-fetch-native: 1.6.3 pathe: 1.1.2 - /unhead@1.8.20: - resolution: {integrity: sha512-IJOCYact/7Za3M7CeeCWs8Vze53kHvKDUy/EXtkTm/an5StgqOt2uCnS3HrkioIMKdHBpy/qtTc6E3BoGMOq7Q==} + /unhead@1.9.1: + resolution: {integrity: sha512-qTyA0V6xjUrIJp6KWs0CqAayw4K2DE7rh0GO0vmcC2YuF0HITO/3zkVtG7zhJUd5VeGgGCO/82zatDOOhMyneA==} dependencies: - '@unhead/dom': 1.8.20 - '@unhead/schema': 1.8.20 - '@unhead/shared': 1.8.20 + '@unhead/dom': 1.9.1 + '@unhead/schema': 1.9.1 + '@unhead/shared': 1.9.1 hookable: 5.5.3 dev: false @@ -11295,19 +11295,19 @@ packages: resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==} engines: {node: '>= 10.0.0'} - /unocss@0.58.6(postcss@8.4.38)(rollup@4.13.0)(vite@5.2.5): + /unocss@0.58.6(postcss@8.4.38)(rollup@4.13.0)(vite@5.2.6): resolution: {integrity: sha512-HBstDtC6KKD5yCYh5hHpPdHGZai0B/iLlDwkOIK+xfQYrvl8tNBvKfRz3xgiaI5MJ+fLmEOxbfXQIjleU1A0iA==} engines: {node: '>=14'} peerDependencies: '@unocss/webpack': 0.58.6 - vite: 5.2.5 + vite: 5.2.6 peerDependenciesMeta: '@unocss/webpack': optional: true vite: optional: true dependencies: - '@unocss/astro': 0.58.6(rollup@4.13.0)(vite@5.2.5) + '@unocss/astro': 0.58.6(rollup@4.13.0)(vite@5.2.6) '@unocss/cli': 0.58.6(rollup@4.13.0) '@unocss/core': 0.58.6 '@unocss/extractor-arbitrary-variants': 0.58.6 @@ -11326,8 +11326,8 @@ packages: '@unocss/transformer-compile-class': 0.58.6 '@unocss/transformer-directives': 0.58.6 '@unocss/transformer-variant-group': 0.58.6 - '@unocss/vite': 0.58.6(rollup@4.13.0)(vite@5.2.5) - vite: 5.2.5(@types/node@20.11.30) + '@unocss/vite': 0.58.6(rollup@4.13.0)(vite@5.2.6) + vite: 5.2.6(@types/node@20.11.30) transitivePeerDependencies: - postcss - rollup @@ -11550,12 +11550,12 @@ packages: vfile-message: 4.0.2 dev: true - /vite-hot-client@0.2.3(vite@5.2.5): + /vite-hot-client@0.2.3(vite@5.2.6): resolution: {integrity: sha512-rOGAV7rUlUHX89fP2p2v0A2WWvV3QMX2UYq0fRqsWSvFvev4atHWqjwGoKaZT1VTKyLGk533ecu3eyd0o59CAg==} peerDependencies: - vite: 5.2.5 + vite: 5.2.6 dependencies: - vite: 5.2.5(@types/node@20.11.30) + vite: 5.2.6(@types/node@20.11.30) dev: false /vite-node@1.0.2(@types/node@20.11.30): @@ -11567,7 +11567,7 @@ packages: debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.2.5(@types/node@20.11.30) + vite: 5.2.6(@types/node@20.11.30) transitivePeerDependencies: - '@types/node' - less @@ -11588,7 +11588,7 @@ packages: debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.2.5(@types/node@20.11.30) + vite: 5.2.6(@types/node@20.11.30) transitivePeerDependencies: - '@types/node' - less @@ -11599,7 +11599,7 @@ packages: - supports-color - terser - /vite-plugin-checker@0.6.4(eslint@8.57.0)(typescript@5.4.3)(vite@5.2.5)(vue-tsc@2.0.7): + /vite-plugin-checker@0.6.4(eslint@8.57.0)(typescript@5.4.3)(vite@5.2.6)(vue-tsc@2.0.7): resolution: {integrity: sha512-2zKHH5oxr+ye43nReRbC2fny1nyARwhxdm0uNYp/ERy4YvU9iZpNOsueoi/luXw5gnpqRSvjcEPxXbS153O2wA==} engines: {node: '>=14.16'} peerDependencies: @@ -11608,7 +11608,7 @@ packages: optionator: ^0.9.1 stylelint: '>=13' typescript: '*' - vite: 5.2.5 + vite: 5.2.6 vls: '*' vti: '*' vue-tsc: '>=1.3.9' @@ -11643,7 +11643,7 @@ packages: strip-ansi: 6.0.1 tiny-invariant: 1.3.1 typescript: 5.4.3 - vite: 5.2.5(@types/node@20.11.30) + vite: 5.2.6(@types/node@20.11.30) vscode-languageclient: 7.0.0 vscode-languageserver: 7.0.0 vscode-languageserver-textdocument: 1.0.11 @@ -11651,12 +11651,12 @@ packages: vue-tsc: 2.0.7(typescript@5.4.3) dev: false - /vite-plugin-inspect@0.8.3(@nuxt/kit@packages+kit)(rollup@4.13.0)(vite@5.2.5): + /vite-plugin-inspect@0.8.3(@nuxt/kit@packages+kit)(rollup@4.13.0)(vite@5.2.6): resolution: {integrity: sha512-SBVzOIdP/kwe6hjkt7LSW4D0+REqqe58AumcnCfRNw4Kt3mbS9pEBkch+nupu2PBxv2tQi69EQHQ1ZA1vgB/Og==} engines: {node: '>=14'} peerDependencies: '@nuxt/kit': '*' - vite: 5.2.5 + vite: 5.2.6 peerDependenciesMeta: '@nuxt/kit': optional: true @@ -11671,16 +11671,16 @@ packages: perfect-debounce: 1.0.0 picocolors: 1.0.0 sirv: 2.0.4 - vite: 5.2.5(@types/node@20.11.30) + vite: 5.2.6(@types/node@20.11.30) transitivePeerDependencies: - rollup - supports-color dev: false - /vite-plugin-vue-inspector@4.0.2(vite@5.2.5): + /vite-plugin-vue-inspector@4.0.2(vite@5.2.6): resolution: {integrity: sha512-KPvLEuafPG13T7JJuQbSm5PwSxKFnVS965+MP1we2xGw9BPkkc/+LPix5MMWenpKWqtjr0ws8THrR+KuoDC8hg==} peerDependencies: - vite: 5.2.5 + vite: 5.2.6 dependencies: '@babel/core': 7.24.3 '@babel/plugin-proposal-decorators': 7.23.2(@babel/core@7.24.3) @@ -11691,13 +11691,13 @@ packages: '@vue/compiler-dom': 3.4.21 kolorist: 1.8.0 magic-string: 0.30.8 - vite: 5.2.5(@types/node@20.11.30) + vite: 5.2.6(@types/node@20.11.30) transitivePeerDependencies: - supports-color dev: false - /vite@5.2.5(@types/node@20.11.30): - resolution: {integrity: sha512-a+rTAqkMmJ2hQpC6dfAyyc5M0YLH3BGZKLpA6pU9AhzlcK1YZS8P/ov9OcdHxaf+j0sM0DIh/txH7ydTHUpISg==} + /vite@5.2.6(@types/node@20.11.30): + resolution: {integrity: sha512-FPtnxFlSIKYjZ2eosBQamz4CbyrTizbZ3hnGJlh/wMtCrlp1Hah6AzBLjGI5I2urTfNnpovpHdrL6YRuBOPnCA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -11731,10 +11731,10 @@ packages: optionalDependencies: fsevents: 2.3.3 - /vitest-environment-nuxt@1.0.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.3)(playwright-core@1.42.1)(vite@5.2.5)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21): + /vitest-environment-nuxt@1.0.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.6)(playwright-core@1.42.1)(vite@5.2.6)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21): resolution: {integrity: sha512-AWMO9h4HdbaFdPWZw34gALFI8gbBiOpvfbyeZwHIPfh4kWg/TwElYHvYMQ61WPUlCGaS5LebfHkaI0WPyb//Iw==} dependencies: - '@nuxt/test-utils': 3.12.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.3)(playwright-core@1.42.1)(vite@5.2.5)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21) + '@nuxt/test-utils': 3.12.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.6)(playwright-core@1.42.1)(vite@5.2.6)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21) transitivePeerDependencies: - '@cucumber/cucumber' - '@jest/globals' @@ -11752,7 +11752,7 @@ packages: - vue-router dev: true - /vitest@1.0.2(@types/node@20.11.30)(happy-dom@14.3.3): + /vitest@1.0.2(@types/node@20.11.30)(happy-dom@14.3.6): resolution: {integrity: sha512-F3NVwwpXfRSDnJmyv+ALPwSRVt0zDkRRE18pwUHSUPXAlWQ47rY1dc99ziMW5bBHyqwK2ERjMisLNoef64qk9w==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -11788,7 +11788,7 @@ packages: chai: 4.3.10 debug: 4.3.4 execa: 8.0.1 - happy-dom: 14.3.3 + happy-dom: 14.3.6 local-pkg: 0.5.0 magic-string: 0.30.8 pathe: 1.1.2 @@ -11797,7 +11797,7 @@ packages: strip-literal: 1.3.0 tinybench: 2.5.1 tinypool: 0.8.2 - vite: 5.2.5(@types/node@20.11.30) + vite: 5.2.6(@types/node@20.11.30) vite-node: 1.0.2(@types/node@20.11.30) why-is-node-running: 2.2.2 transitivePeerDependencies: @@ -11810,7 +11810,7 @@ packages: - terser dev: true - /vitest@1.4.0(@types/node@20.11.30)(happy-dom@14.3.3): + /vitest@1.4.0(@types/node@20.11.30)(happy-dom@14.3.6): resolution: {integrity: sha512-gujzn0g7fmwf83/WzrDTnncZt2UiXP41mHuFYFrdwaLRVQ6JYQEiME2IfEjU3vcFL3VKa75XhI3lFgn+hfVsQw==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -11845,7 +11845,7 @@ packages: chai: 4.3.10 debug: 4.3.4 execa: 8.0.1 - happy-dom: 14.3.3 + happy-dom: 14.3.6 local-pkg: 0.5.0 magic-string: 0.30.8 pathe: 1.1.2 @@ -11854,7 +11854,7 @@ packages: strip-literal: 2.0.0 tinybench: 2.5.1 tinypool: 0.8.2 - vite: 5.2.5(@types/node@20.11.30) + vite: 5.2.6(@types/node@20.11.30) vite-node: 1.4.0(@types/node@20.11.30) why-is-node-running: 2.2.2 transitivePeerDependencies: diff --git a/test/bundle.test.ts b/test/bundle.test.ts index a2f64be04f..7b0a037dfc 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('"207k"') const modules = await analyzeSizes('node_modules/**/*', serverDir) - expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"1337k"') + expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"1335k"') 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('"526k"') const modules = await analyzeSizes('node_modules/**/*', serverDir) - expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"77.8k"') + expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"76.0k"') const packages = modules.files .filter(m => m.endsWith('package.json')) From 8911c0d0dd1173c9b5601b7c8902c787e591779c Mon Sep 17 00:00:00 2001 From: Julien Huang Date: Mon, 25 Mar 2024 11:19:02 +0100 Subject: [PATCH 2/3] fix(nuxt): move `v-if` to wrapper in islands transform (#26386) --- .../nuxt/src/components/islandsTransform.ts | 51 +++++++++++++------ packages/nuxt/test/islandTransform.test.ts | 35 +++++++++++-- 2 files changed, 67 insertions(+), 19 deletions(-) diff --git a/packages/nuxt/src/components/islandsTransform.ts b/packages/nuxt/src/components/islandsTransform.ts index 5d4f452508..da41e693df 100644 --- a/packages/nuxt/src/components/islandsTransform.ts +++ b/packages/nuxt/src/components/islandsTransform.ts @@ -34,6 +34,7 @@ const HAS_SLOT_OR_CLIENT_RE = /(]*>)|(nuxt-client)/ const TEMPLATE_RE = /