Repository navigation
Fix 14 open Dependabot alerts (tar, adm-zip, fast-uri) - #34
Merged
Merged
Conversation
Resolve the tar, adm-zip, and fast-uri Dependabot alerts by bumping the direct adm-zip devDependency and adding npm `overrides` that force every transitive copy onto a patched release: - tar: all copies collapse to 7.5.22 (advisory ranges have no lower bound, so the nested 6.2.1 copies under node-gyp / node-pre-gyp were the real trigger; upstream already moved to tar ^7). - adm-zip: 0.6.0 (CVE fix; API-compatible getEntry/getData/extractAllTo). - fast-uri: 3.1.4 (under ajv). sharp is intentionally left at 0.34.5 and tracked separately: bumping it to 0.35.x also bumps bundled libvips (1.2.4 -> 1.3.2), which trips the license-compliance review gate and needs human review of THIRD-PARTY notices and source-material hashes. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 20e90862-851f-454d-ac9a-a22df286f4e2
adilei
force-pushed
the
adilei-fix-dependabot-alerts
branch
from
August 2, 2026 18:00
3fdffcf to
a9b55d1
Compare
This was referenced Aug 2, 2026
Giorgio Ughini (GiorgioUghini)
approved these changes
Aug 3, 2026
Giorgio Ughini (GiorgioUghini)
left a comment
Contributor
There was a problem hiding this comment.
This one is fine
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.
What this does
Resolves 14 of the open Dependabot alerts by bumping a direct devDependency and adding npm
overridesthat force every transitive copy onto a patched release.overrides→ all copies collapse to 7.5.22^0.5.18→^0.6.0(+ override) → 0.6.0overrides→ 3.1.4 (underajv)Why overrides (not just a top-level bump)
The tar advisory ranges have no lower bound (e.g.
<= 7.5.18,< 7.5.7). The real trigger was the nested 6.2.1 copies undernode-gyp/@mapbox/node-pre-gyp, not the top-level7.5.20. A globaltaroverride collapses every copy to7.5.22. This is safe:@mapbox/node-pre-gyp@2andnode-gyp@11+already adoptedtar ^7upstream, and the remaining 6.x consumers are all build-time/optional.adm-zip 0.6.0is a security patch that keeps thegetEntry/getData/extractAllTo/extractEntryToAPI used byscripts/compliance.mjsand the onnxruntime-node install script.Verification
npm run typecheck✅npm test→ 58/58 ✅npm run compliance:licenses✅Not included — sharp (tracked separately)
The 15th alert (sharp, high) is intentionally left out. Bumping sharp to 0.35.x also bumps bundled libvips 1.2.4 → 1.3.2, which trips the deliberate license-compliance review gate (
third_party/compliance-policy.json+RELEASING.md) and requires human review of theTHIRD-PARTY-NOTICES.mdand ~40 source-material hashes. Tracked in a separate issue so it gets the required review.Note
The
brace-expansion/minimatchnpm-audit noise is out of scope — those advisories are auto-dismissed in Dependabot and have no published patched 1.x/2.x release.