diff --git a/.changeset/breezy-eyes-cheat.md b/.changeset/breezy-eyes-cheat.md new file mode 100644 index 000000000000..97fca781110e --- /dev/null +++ b/.changeset/breezy-eyes-cheat.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Bump Vite to 4.1 diff --git a/packages/astro/package.json b/packages/astro/package.json index 037603d8fa24..d8a60449bf00 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -147,7 +147,7 @@ "typescript": "*", "unist-util-visit": "^4.1.0", "vfile": "^5.3.2", - "vite": "^4.0.3", + "vite": "^4.1.2", "vitefu": "^0.2.4", "yargs-parser": "^21.0.1", "zod": "^3.17.3" diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json index 1187811677e5..3f2638079aa1 100644 --- a/packages/integrations/image/package.json +++ b/packages/integrations/image/package.json @@ -60,7 +60,7 @@ "mocha": "^9.2.2", "rollup-plugin-copy": "^3.4.0", "sharp": "^0.31.0", - "vite": "^4.0.3" + "vite": "^4.1.2" }, "peerDependencies": { "astro": "workspace:^2.0.13", diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 2f6a7be3c6b4..5d69781a8bb5 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -68,7 +68,7 @@ "remark-rehype": "^10.1.0", "remark-shiki-twoslash": "^3.1.0", "remark-toc": "^8.0.1", - "vite": "^4.0.3" + "vite": "^4.1.2" }, "engines": { "node": ">=16.12.0" diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json index 5238505ce23e..6ed624dcb2ee 100644 --- a/packages/integrations/netlify/package.json +++ b/packages/integrations/netlify/package.json @@ -49,7 +49,7 @@ "chai": "^4.3.6", "cheerio": "^1.0.0-rc.11", "mocha": "^9.2.2", - "vite": "^4.0.3" + "vite": "^4.1.2" }, "astro": { "external": true diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index ba3c25de7054..c9ec0b24e72c 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -40,11 +40,11 @@ "astro": "workspace:*", "astro-scripts": "workspace:*", "svelte": "^3.54.0", - "vite": "^4.0.3" + "vite": "^4.1.2" }, "peerDependencies": { - "svelte": "^3.54.0", - "astro": "workspace:^2.0.13" + "astro": "workspace:^2.0.13", + "svelte": "^3.54.0" }, "engines": { "node": ">=16.12.0" diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index c5e22f15d0c8..dc77c6b4d01d 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -37,11 +37,11 @@ "astro": "workspace:*", "astro-scripts": "workspace:*", "tailwindcss": "^3.0.24", - "vite": "^4.0.3" + "vite": "^4.1.2" }, "peerDependencies": { - "tailwindcss": "^3.0.24", - "astro": "workspace:^2.0.13" + "astro": "workspace:^2.0.13", + "tailwindcss": "^3.0.24" }, "pnpm": { "peerDependencyRules": { diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index 5f167a94a943..0389011e9c42 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -46,12 +46,12 @@ "chai": "^4.3.6", "linkedom": "^0.14.17", "mocha": "^9.2.2", - "vite": "^4.0.3", + "vite": "^4.1.2", "vue": "^3.2.37" }, "peerDependencies": { - "vue": "^3.2.30", - "astro": "workspace:^2.0.13" + "astro": "workspace:^2.0.13", + "vue": "^3.2.30" }, "engines": { "node": ">=16.12.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8e557b499964..ba938230ed45 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -460,7 +460,7 @@ importers: unified: ^10.1.2 unist-util-visit: ^4.1.0 vfile: ^5.3.2 - vite: ^4.0.3 + vite: ^4.1.2 vitefu: ^0.2.4 yargs-parser: ^21.0.1 zod: ^3.17.3 @@ -513,8 +513,8 @@ importers: typescript: 4.9.5 unist-util-visit: 4.1.2 vfile: 5.3.7 - vite: 4.1.1_sass@1.58.0 - vitefu: 0.2.4_vite@4.1.1 + vite: 4.1.2_sass@1.58.0 + vitefu: 0.2.4_vite@4.1.2 yargs-parser: 21.1.1 zod: 3.20.6 devDependencies: @@ -2734,7 +2734,7 @@ importers: mocha: ^9.2.2 rollup-plugin-copy: ^3.4.0 sharp: ^0.31.0 - vite: ^4.0.3 + vite: ^4.1.2 dependencies: '@altano/tiny-async-pool': 1.0.2 http-cache-semantics: 4.1.1 @@ -2753,7 +2753,7 @@ importers: mocha: 9.2.2 rollup-plugin-copy: 3.4.0 sharp: 0.31.3 - vite: 4.1.1 + vite: 4.1.2 packages/integrations/image/test/fixtures/background-color-image: specifiers: @@ -2922,7 +2922,7 @@ importers: shiki: ^0.11.1 unist-util-visit: ^4.1.0 vfile: ^5.3.2 - vite: ^4.0.3 + vite: ^4.1.2 dependencies: '@astrojs/markdown-remark': link:../../markdown/remark '@astrojs/prism': link:../../astro-prism @@ -2961,7 +2961,7 @@ importers: remark-rehype: 10.1.0 remark-shiki-twoslash: 3.1.0 remark-toc: 8.0.1 - vite: 4.1.1 + vite: 4.1.2 packages/integrations/mdx/test/fixtures/css-head-mdx: specifiers: @@ -3059,7 +3059,7 @@ importers: cheerio: ^1.0.0-rc.11 esbuild: ^0.15.18 mocha: ^9.2.2 - vite: ^4.0.3 + vite: ^4.1.2 dependencies: '@astrojs/webapi': link:../../webapi '@netlify/functions': 1.4.0 @@ -3072,7 +3072,7 @@ importers: chai: 4.3.7 cheerio: 1.0.0-rc.12 mocha: 9.2.2 - vite: 4.1.1_@types+node@14.18.36 + vite: 4.1.2_@types+node@14.18.36 packages/integrations/netlify/test/edge-functions/fixtures/dynimport: specifiers: @@ -3322,15 +3322,15 @@ importers: astro-scripts: workspace:* svelte: ^3.54.0 svelte2tsx: ^0.5.11 - vite: ^4.0.3 + vite: ^4.1.2 dependencies: - '@sveltejs/vite-plugin-svelte': 2.0.2_svelte@3.55.1+vite@4.1.1 + '@sveltejs/vite-plugin-svelte': 2.0.2_svelte@3.55.1+vite@4.1.2 svelte2tsx: 0.5.23_svelte@3.55.1 devDependencies: astro: link:../../astro astro-scripts: link:../../../scripts svelte: 3.55.1 - vite: 4.1.1 + vite: 4.1.2 packages/integrations/tailwind: specifiers: @@ -3341,7 +3341,7 @@ importers: postcss: ^8.4.14 postcss-load-config: ^4.0.1 tailwindcss: ^3.0.24 - vite: ^4.0.3 + vite: ^4.1.2 dependencies: '@proload/core': 0.3.3 autoprefixer: 10.4.13_postcss@8.4.21 @@ -3351,7 +3351,7 @@ importers: astro: link:../../astro astro-scripts: link:../../../scripts tailwindcss: 3.2.6_postcss@8.4.21 - vite: 4.1.1 + vite: 4.1.2 packages/integrations/turbolinks: specifiers: @@ -3411,11 +3411,11 @@ importers: chai: ^4.3.6 linkedom: ^0.14.17 mocha: ^9.2.2 - vite: ^4.0.3 + vite: ^4.1.2 vue: ^3.2.37 dependencies: - '@vitejs/plugin-vue': 4.0.0_vite@4.1.1+vue@3.2.47 - '@vitejs/plugin-vue-jsx': 3.0.0_vite@4.1.1+vue@3.2.47 + '@vitejs/plugin-vue': 4.0.0_vite@4.1.2+vue@3.2.47 + '@vitejs/plugin-vue-jsx': 3.0.0_vite@4.1.2+vue@3.2.47 '@vue/babel-plugin-jsx': 1.1.1 '@vue/compiler-sfc': 3.2.47 devDependencies: @@ -3425,7 +3425,7 @@ importers: chai: 4.3.7 linkedom: 0.14.21 mocha: 9.2.2 - vite: 4.1.1 + vite: 4.1.2 vue: 3.2.47 packages/integrations/vue/test/fixtures/app-entrypoint: @@ -7020,7 +7020,7 @@ packages: string.prototype.matchall: 4.0.8 dev: false - /@sveltejs/vite-plugin-svelte/2.0.2_svelte@3.55.1+vite@4.1.1: + /@sveltejs/vite-plugin-svelte/2.0.2_svelte@3.55.1+vite@4.1.2: resolution: {integrity: sha512-xCEan0/NNpQuL0l5aS42FjwQ6wwskdxC3pW1OeFtEKNZwRg7Evro9lac9HesGP6TdFsTv2xMes5ASQVKbCacxg==} engines: {node: ^14.18.0 || >= 16} peerDependencies: @@ -7036,8 +7036,8 @@ packages: magic-string: 0.27.0 svelte: 3.55.1 svelte-hmr: 0.15.1_svelte@3.55.1 - vite: 4.1.1 - vitefu: 0.2.4_vite@4.1.1 + vite: 4.1.2 + vitefu: 0.2.4_vite@4.1.2 transitivePeerDependencies: - supports-color dev: false @@ -7694,7 +7694,7 @@ packages: - supports-color dev: false - /@vitejs/plugin-vue-jsx/3.0.0_vite@4.1.1+vue@3.2.47: + /@vitejs/plugin-vue-jsx/3.0.0_vite@4.1.2+vue@3.2.47: resolution: {integrity: sha512-vurkuzgac5SYuxd2HUZqAFAWGTF10diKBwJNbCvnWijNZfXd+7jMtqjPFbGt7idOJUn584fP1Ar9j/GN2jQ3Ew==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -7707,13 +7707,13 @@ packages: '@babel/core': 7.20.12 '@babel/plugin-transform-typescript': 7.20.13_@babel+core@7.20.12 '@vue/babel-plugin-jsx': 1.1.1_@babel+core@7.20.12 - vite: 4.1.1 + vite: 4.1.2 vue: 3.2.47 transitivePeerDependencies: - supports-color dev: false - /@vitejs/plugin-vue/4.0.0_vite@4.1.1+vue@3.2.47: + /@vitejs/plugin-vue/4.0.0_vite@4.1.2+vue@3.2.47: resolution: {integrity: sha512-e0X4jErIxAB5oLtDqbHvHpJe/uWNkdpYV83AOG2xo2tEVSzCzewgJMtREZM30wXnM5ls90hxiOtAuVU6H5JgbA==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -7723,7 +7723,7 @@ packages: vite: optional: true dependencies: - vite: 4.1.1 + vite: 4.1.2 vue: 3.2.47 dev: false @@ -15188,8 +15188,8 @@ packages: fsevents: 2.3.2 dev: false - /vite/4.1.1: - resolution: {integrity: sha512-LM9WWea8vsxhr782r9ntg+bhSFS06FJgCvvB0+8hf8UWtvaiDagKYWXndjfX6kGl74keHJUcpzrQliDXZlF5yg==} + /vite/4.1.2: + resolution: {integrity: sha512-MWDb9Rfy3DI8omDQySbMK93nQqStwbsQWejXRY2EBzEWKmLAXWb1mkI9Yw2IJrc+oCvPCI1Os5xSSIBYY6DEAw==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: @@ -15220,8 +15220,8 @@ packages: optionalDependencies: fsevents: 2.3.2 - /vite/4.1.1_@types+node@14.18.36: - resolution: {integrity: sha512-LM9WWea8vsxhr782r9ntg+bhSFS06FJgCvvB0+8hf8UWtvaiDagKYWXndjfX6kGl74keHJUcpzrQliDXZlF5yg==} + /vite/4.1.2_@types+node@14.18.36: + resolution: {integrity: sha512-MWDb9Rfy3DI8omDQySbMK93nQqStwbsQWejXRY2EBzEWKmLAXWb1mkI9Yw2IJrc+oCvPCI1Os5xSSIBYY6DEAw==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: @@ -15254,8 +15254,8 @@ packages: fsevents: 2.3.2 dev: true - /vite/4.1.1_sass@1.58.0: - resolution: {integrity: sha512-LM9WWea8vsxhr782r9ntg+bhSFS06FJgCvvB0+8hf8UWtvaiDagKYWXndjfX6kGl74keHJUcpzrQliDXZlF5yg==} + /vite/4.1.2_sass@1.58.0: + resolution: {integrity: sha512-MWDb9Rfy3DI8omDQySbMK93nQqStwbsQWejXRY2EBzEWKmLAXWb1mkI9Yw2IJrc+oCvPCI1Os5xSSIBYY6DEAw==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: @@ -15297,7 +15297,7 @@ packages: optional: true dev: false - /vitefu/0.2.4_vite@4.1.1: + /vitefu/0.2.4_vite@4.1.2: resolution: {integrity: sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==} peerDependencies: vite: ^3.0.0 || ^4.0.0 @@ -15305,7 +15305,7 @@ packages: vite: optional: true dependencies: - vite: 4.1.1_sass@1.58.0 + vite: 4.1.2_sass@1.58.0 dev: false /vitest/0.20.3: