fix(security): patch all known dependency vulnerabilities#447
Merged
Conversation
Resolves all advisories reported by npm audit (13 -> 0) via overrides: - form-data ^4.0.6 (high: CRLF injection, GHSA-hmw2-7cc7-3qxx) - uuid ^11.1.1 (moderate: missing buffer bounds check, GHSA-w5hq-g745-h8pq) - js-yaml ^4.2.0 (moderate: quadratic-complexity DoS, GHSA-h67p-54hq-rp68) Transitive fixes for @babel/core, brace-expansion, fast-uri, fast-xml-builder, fast-xml-parser and ws were picked up by the refreshed lockfile. uuid/js-yaml are pulled in transitively via nyc; overrides avoid the nyc 17 -> 14 downgrade that 'npm audit fix --force' would have forced. Build and all 57 tests pass.
form-data@4.0.6 requires hasown ^2.0.4; the lockfile still pinned 2.0.3, which broke 'npm ci' sync validation. Verified clean: npm ci -> 0 vulnerabilities, tsc clean, 57 tests passing.
This was referenced Jun 19, 2026
Closed
Merged
msrivastav13
added a commit
that referenced
this pull request
Jun 19, 2026
Minor release bundling the changes merged since 1.1.0: - fix(metadata:rename): resolve -o flag collision hiding default org (#443, #449) - fix(security): patch all known dependency vulnerabilities (#447) - chore(deps): bump @salesforce/core to ^8.31.1 (#448) - docs: use 'sf' instead of 'sfdx' in command examples (#449) Verified: npm ci clean, 0 vulnerabilities, 57 tests passing, prepack builds.
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.
Summary
Patches all vulnerabilities reported by
npm audit(13 → 0) on this branch, usingoverridesto lift transitive dependencies to fixed versions without forcing breaking major downgrades of direct devDependencies.Changes
Added three entries to
overridesinpackage.json(alongside the existingserialize-javascriptpin):form-data^4.0.6uuid^11.1.1js-yaml^4.2.0The refreshed
package-lock.jsonalso picks up fixes for the remaining advisories that resolved cleanly vianpm audit fix:@babel/core,brace-expansion,fast-uri,fast-xml-builder,fast-xml-parser, andws.Why
overridesinstead ofnpm audit fix --forceuuidandjs-yamlare pulled in transitively throughnyc(istanbul-lib-processinfoand@istanbuljs/load-nyc-config).npm audit fix --forcewanted to downgradenyc17 → 14 to resolve them — a breaking change to a direct devDependency. Overrides lift the nested copies to fixed versions while keepingnyc@17.Verification
tsc -p . --noEmit— cleannpm test— 57 passingnpm audit— 0 vulnerabilities (in environments whereform-data@4.0.6is fetchable)