fix: pin postcss override to clear backend audit vulnerability (#1701)

vitest pulls in vite, which pulls in postcss@8.5.15, flagged high
severity for a source-map path traversal advisory. Pin postcss via
npm overrides (same pattern already used for brace-expansion) so the
fix is scoped to the vulnerable transitive dependency instead of
letting a broad npm audit fix churn unrelated packages.
This commit is contained in:
Anso
2026-07-24 15:21:22 -04:00
committed by GitHub
parent 79914fe750
commit e33eda3c38
2 changed files with 9 additions and 8 deletions
+2 -1
View File
@@ -30,7 +30,8 @@
"node": ">=26.0.0"
},
"overrides": {
"brace-expansion": "^5.0.7"
"brace-expansion": "^5.0.7",
"postcss": "^8.5.23"
},
"devDependencies": {
"@eslint/js": "^10.0.1",