chore(frontend): resolve the high-severity brace-expansion advisory (#6180)

npm audit --omit=dev --audit-level=high is a CI gate and it currently fails on
main: swagger-ui-react pulls @swagger-api/apidom-reference, which pins
minimatch, which resolves brace-expansion to 5.0.8 — the range covered by
GHSA-rgw5-rvv9-x895.

Pin the patched 5.0.9 through the existing swagger-ui-react overrides block
rather than globally: minimatch@3 under eslint-plugin-jsx-a11y still needs the
1.x line, and a blanket override would force v5 there too.
This commit is contained in:
n0ctal
2026-08-06 19:29:03 +05:00
committed by GitHub
parent 199ddaf485
commit 7eacce6a46
2 changed files with 15 additions and 1 deletions
+2 -1
View File
@@ -89,7 +89,8 @@
"react": "^19.0.0"
},
"swagger-ui-react": {
"js-yaml": "^4.2.0"
"js-yaml": "^4.2.0",
"brace-expansion": "^5.0.9"
},
"@typeschema/valibot": {
"valibot": "^1.1.0"