Skip to content

Commit

Permalink
fix: vite security issue (#9773)
Browse files Browse the repository at this point in the history
  • Loading branch information
LunaticMuch authored Jan 23, 2024
1 parent 3b5824a commit 9aa7a53
Show file tree
Hide file tree
Showing 9 changed files with 95 additions and 46 deletions.
5 changes: 5 additions & 0 deletions .changeset/tricky-cobras-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro": patch
---

Raises the required vite version to address a vulnerability in `vite.server.fs.deny` that affected the dev mode.
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
"tsconfck": "^3.0.0",
"unist-util-visit": "^5.0.0",
"vfile": "^6.0.1",
"vite": "^5.0.10",
"vite": "^5.0.12",
"vitefu": "^0.2.5",
"which-pm": "^2.1.1",
"yargs-parser": "^21.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/markdoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"devalue": "^4.3.2",
"linkedom": "^0.16.4",
"mocha": "^10.2.0",
"vite": "^5.0.10"
"vite": "^5.0.12"
},
"engines": {
"node": ">=18.14.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"remark-shiki-twoslash": "^3.1.3",
"remark-toc": "^9.0.0",
"unified": "^11.0.4",
"vite": "^5.0.10"
"vite": "^5.0.12"
},
"engines": {
"node": ">=18.14.1"
Expand Down
4 changes: 2 additions & 2 deletions packages/integrations/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@
"astro-scripts": "workspace:*",
"chai": "^4.3.7",
"cheerio": "1.0.0-rc.12",
"mocha": "^10.2.0",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"vite": "^5.0.10",
"mocha": "^10.2.0"
"vite": "^5.0.12"
},
"peerDependencies": {
"@types/react": "^17.0.50 || ^18.0.21",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"svelte": "^4.2.5",
"vite": "^5.0.10"
"vite": "^5.0.12"
},
"peerDependencies": {
"astro": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"chai": "^4.3.7",
"mocha": "^10.2.0",
"tailwindcss": "^3.3.5",
"vite": "^5.0.10"
"vite": "^5.0.12"
},
"peerDependencies": {
"astro": "^3.0.0 || ^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"cheerio": "1.0.0-rc.12",
"linkedom": "^0.16.4",
"mocha": "^10.2.0",
"vite": "^5.0.10",
"vite": "^5.0.12",
"vue": "^3.3.8"
},
"peerDependencies": {
Expand Down
120 changes: 82 additions & 38 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9aa7a53

Please sign in to comment.