-
Notifications
You must be signed in to change notification settings - Fork 110
fix(root): resolve shell-quote, fast-xml-parser, and uuid dependency vulnerabilities fixes DOC-344 #1124
fix(root): resolve shell-quote, fast-xml-parser, and uuid dependency vulnerabilities fixes DOC-344 #1124
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -120,6 +120,7 @@ | |
| "flatted@<3.4.2": "^3.4.2", | ||
| "form-data@>=4.0.0 <4.0.4": "^4.0.4", | ||
| "fast-xml-parser@<4.5.5": "^4.5.5", | ||
| "fast-xml-parser@<5.7.0": "^5.7.0", | ||
| "glob@>=10.2.0 <10.5.0": "^10.5.0", | ||
| "js-yaml@<3.14.2": "^3.14.2", | ||
| "js-yaml@>=4.0.0 <4.1.1": "^4.1.1", | ||
|
|
@@ -128,10 +129,12 @@ | |
| "minimatch@>=9.0.0 <9.0.7": "^9.0.7", | ||
| "picomatch@<2.3.2": "^2.3.2", | ||
| "serialize-javascript@<7.0.5": "^7.0.5", | ||
| "shell-quote@>=1.1.0 <=1.8.3": "^1.8.4", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This adds the Prompt To Fix With AIThis is a comment left during a code review.
Path: package.json
Line: 132
Comment:
**Mirror workspace override**
This adds the `shell-quote` security override only under `package.json`, but the repo also keeps pnpm overrides in `pnpm-workspace.yaml`, where the related `fast-xml-parser` and `uuid` fixes already live. Installs that use the workspace settings as the source of truth can miss this new `shell-quote` override and continue resolving `@scalar/api-client`'s vulnerable transitive range without the forced `1.8.4` patch. Add the same override to `pnpm-workspace.yaml` and regenerate the lockfile so both pnpm configuration sources enforce the critical advisory fix.
How can I resolve this? If you propose a fix, please make it concise. |
||
| "seroval@<1.4.1": "^1.4.1", | ||
| "socket.io-parser@>=4.0.0 <4.2.6": "^4.2.6", | ||
| "svgo@>=3.0.0 <3.3.3": "^3.3.3", | ||
| "undici@<6.24.0": "^6.24.0" | ||
| "undici@<6.24.0": "^6.24.0", | ||
| "uuid@<11.1.1": "^11.1.1" | ||
| } | ||
| }, | ||
| "packageManager": "pnpm@10.30.3+sha512.c961d1e0a2d8e354ecaa5166b822516668b7f44cb5bd95122d590dd81922f606f5473b6d23ec4a5be05e7fcd18e8488d47d978bbe981872f1145d06e9a740017" | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The old
fast-xml-parser@<4.5.5override still overlaps the newfast-xml-parser@<5.7.0override, but they point to different replacement ranges. For a dependency that originally resolves below4.5.5, two override rules now match and one of them still remediates only to^4.5.5, which is below the new advisory floor this PR is trying to enforce. This can make fresh installs or audits apply the older remediation target instead of consistently forcing all vulnerablefast-xml-parserversions to^5.7.0.Prompt To Fix With AI