Skip to content

Commit 8986f33

Browse files
BYKcursoragent
andauthored
Dependency security updates (#1225)
## Fix Dependabot Security Vulnerabilities This PR addresses multiple Dependabot security alerts by updating vulnerable dependencies to their patched versions. **Key Changes:** * Updated various direct and transitive dependencies including `cookie`, `esbuild`, `brace-expansion`, `tmp`, `js-yaml`, `body-parser`, and `mdast-util-to-hast`. * Updated `@sentry/*` packages across the workspace via catalog updates and direct dependency bumps in `packages/spotlight/package.json`. * Introduced `pnpm.overrides` in the root `package.json` to ensure `vite` versions `6.0.0-6.3.5` are upgraded to `6.3.6+` to mitigate reported CVEs, specifically targeting transitive `vite` dependencies brought in by `astro`. **Verification:** * Build and lint tasks pass successfully. * Existing test failures in `docker-compose.test.ts` are noted as pre-existing and unrelated to these dependency updates. --------- Co-authored-by: Cursor Agent <[email protected]>
1 parent ebcfd92 commit 8986f33

File tree

4 files changed

+306
-1574
lines changed

4 files changed

+306
-1574
lines changed

package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,19 @@
3030
"cross-spawn": ">=7.0.5",
3131
"form-data": ">=4.0.4",
3232
"devalue": ">=5.3.2",
33-
"next": "^15.4.8"
33+
"next": "^15.4.8",
34+
"cookie": ">=0.7.0",
35+
"esbuild": ">=0.25.0",
36+
"brace-expansion": ">=2.0.2 <3",
37+
"tmp": ">=0.2.4",
38+
"js-yaml": ">=4.1.1",
39+
"body-parser": ">=2.2.1",
40+
"mdast-util-to-hast": ">=13.2.1"
41+
},
42+
"pnpm": {
43+
"overrides": {
44+
"vite@>=6.0.0 <6.3.6": ">=6.3.6"
45+
}
3446
},
3547
"simple-git-hooks": {
3648
"pre-commit": "pnpm exec lint-staged --concurrent false"

packages/spotlight/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
"@radix-ui/react-dropdown-menu": "^2.1.15",
7878
"@radix-ui/react-slot": "^1.2.3",
7979
"@radix-ui/react-tooltip": "^1.2.7",
80-
"@sentry/browser": "^10.26.0",
81-
"@sentry/electron": "^7.3.0",
82-
"@sentry/react": "^10.26.0",
80+
"@sentry/browser": "^10.31.0",
81+
"@sentry/electron": "^7.5.0",
82+
"@sentry/react": "^10.31.0",
8383
"@sentry/vite-plugin": "^2.22.5",
8484
"@shikijs/transformers": "^3.13.0",
8585
"@tailwindcss/vite": "catalog:",

0 commit comments

Comments
 (0)