This repository was archived by the owner on Oct 26, 2026. It is now read-only.
Repository navigation
deps: bump axios to ^1.20.0 (clears 21 advisories; removal flagged as alternative) - #13
Merged
Merged
Conversation
The locked axios 1.16.1 carries 21 OSV advisories; 1.20.0 carries none. axios is declared in dependencies but no import of it exists in src/ — removal is the alternative; this PR upgrades (the smaller, reversible step) and flags removal for a follow-up decision.
nrupala
marked this pull request as draft
October 13, 2026 15:53
nrupala
marked this pull request as ready for review
October 13, 2026 19:23
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Dependency upgrade (release-gate fleet scan, wave 2)
package.json:axios^1.6.0→^1.20.0package-lock.json: axios 1.16.1 → 1.20.0 (regenerated withnpm install --package-lock-only; the only package version that changes in the lockfile is axios)Why
The locked axios 1.16.1 carries 21 advisories in OSV; axios 1.20.0 carries none (verified against the OSV API at PR time — the same source the fleet scanner uses;
npm audit's endpoint is unreachable from the build sandbox).Removal is the alternative — flagged, not done here
axios is declared under
dependencies, but no import of axios exists anywhere insrc/. Deleting the dependency outright would remove the surface entirely and is arguably the cleaner end state. This PR takes the smaller, reversible step (upgrade to the patched line) and leaves the removal decision visible: if nothing grows an axios import, a follow-up PR can drop it.Note on the lockfile root version
Regenerating the lockfile also synced its root
versionfield (0.1.0 → 0.2.1) to matchpackage.json— a pre-existing drift on master that npm corrects on any lockfile write. No other entries changed.What merging changes for callers
Nothing at runtime today (no code path imports axios). If a future code path does, it gets the patched 1.20.0 line.
Checks run
npm install+npm run build(tsc) on the bumped tree — clean.package.json+package-lock.jsonchanged.Draft only — nothing merged or deployed.