Skip to content

Commit 1d1f883

Browse files
Fix security vulnerabilities
- Update react-syntax-highlighter to v15.6.6 to fix highlight.js ReDOS issues - Update @vercel/node to v5.3.24 - Add pnpm overrides for undici, prismjs, and esbuild - All vulnerabilities resolved (0 found)
1 parent 4c6d622 commit 1d1f883

File tree

2 files changed

+665
-359
lines changed

2 files changed

+665
-359
lines changed

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"react-dom": "^18.3.1",
7777
"react-hook-form": "^7.63.0",
7878
"react-resizable-panels": "^3.0.6",
79-
"react-syntax-highlighter": "^5.8.0",
79+
"react-syntax-highlighter": "^15.6.6",
8080
"react-textarea-autosize": "^8.5.9",
8181
"recharts": "^3.2.1",
8282
"server-only": "^0.0.1",
@@ -96,7 +96,10 @@
9696
},
9797
"pnpm": {
9898
"overrides": {
99-
"zod": "^3.25.76"
99+
"zod": "^3.25.76",
100+
"undici": "^6.21.3",
101+
"prismjs": "^1.30.0",
102+
"esbuild": "^0.25.9"
100103
}
101104
},
102105
"devDependencies": {
@@ -113,7 +116,7 @@
113116
"@types/uuid": "^10.0.0",
114117
"@typescript-eslint/eslint-plugin": "^8.44.1",
115118
"@typescript-eslint/parser": "^8.44.1",
116-
"@vercel/node": "^2.15.10",
119+
"@vercel/node": "^5.3.24",
117120
"autoprefixer": "^10.4.21",
118121
"eslint": "^9.15.0",
119122
"eslint-config-next": "15.1.1",

0 commit comments

Comments
 (0)