Repository navigation
fix: update 21 vulnerable dependencies - #85
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
rdietrick
requested review from
alejandra-zapata,
cloudyjohnny,
gabewonders,
katie-wood and
parkerbrown11
as code owners
September 9, 2026 17:28
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Several new overrides are unscoped pins that can downgrade already-updated dependencies (per the current lockfile), so they should be range-scoped to only affect vulnerable versions.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review tier: Lite
Findings: 1
New issues introduced by this change (1)
| Severity | Finding |
|---|---|
package.json — The ws override currently pins 8.21.0, but package-lock.json already resolves ws@​8.21.1… |
What changed in this PR
This PR aims to mitigate reported npm dependency vulnerabilities by adding/updating overrides in package.json so transitive dependencies resolve to patched versions.
Changes:
- Expanded
package.jsonoverridesto pin/force patched versions for multiple vulnerable transitive dependencies. - Added targeted override entries for packages called out by vulnerability tooling (e.g.,
undici,ws,tar,@babel/core).
| File | Description |
|---|---|
| package.json | Adds many npm overrides entries intended to force vulnerable transitive dependencies to patched versions. |
Suppressed comments (5)
package.json:57
- The
fast-xml-builderoverride pins1.1.7, butpackage-lock.jsonalready containsfast-xml-builder@1.3.0under@salesforce/cli. A global pin would force a downgrade; use a range-scoped override so only vulnerable versions are replaced.
"fast-xml-builder": "1.1.7",
package.json:58
- The
taroverride pins7.5.18, butpackage-lock.jsonalready resolves newer versions (tar@7.5.22and an in-bundletar@7.5.19). Pinning can unintentionally downgrade; scope the override to only apply to versions below the fixed version.
"tar": "7.5.18",
package.json:60
- The
@babel/coreoverride pins7.29.6, butpackage-lock.jsonalready includes@babel/core@7.29.7(under@salesforce/cli). A global pin would downgrade that copy; prefer a range-scoped override to only bump vulnerable versions.
"@babel/core": "7.29.6",
package.json:62
- Several overrides here pin versions lower than what is already present in
package-lock.json(e.g.,@protobufjs/utf8is1.1.2andpostcss-selector-parseris7.1.4in the lockfile). Unscoped pins can cause regressions by downgrading; scope these overrides to only affect vulnerable ranges.
"@protobufjs/utf8": "1.1.1",
"postcss-selector-parser": "7.1.3"
package.json:54
- The
markdown-itoverride pins14.2.0, butpackage-lock.jsonalready resolvesmarkdown-it@14.3.0under@salesforce/cli. A global pin can force a downgrade; scope the override to only apply to versions below the fixed version.
"markdown-it": "14.2.0",
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| "picomatch@3": "3.0.2", | ||
| "linkify-it": "5.0.2", | ||
| "undici@7": "7.29.0", | ||
| "ws": "8.21.0", |
katie-wood
approved these changes
Sep 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Vulnerability Fix
This PR was generated by the Copilot SDK agent (
auto).Changes Applied
Skipped
Vulnerabilities Addressed
Requested by @rdietrick