Skip to content
This repository was archived by the owner on Oct 26, 2026. It is now read-only.

deps: bump axios to ^1.20.0 (clears 21 advisories; removal flagged as alternative) - #13

Merged
nrupala merged 1 commit into
masterfrom
deps/axios-1.20.0
Oct 13, 2026
Merged

nrupala merged 1 commit into
masterfrom
deps/axios-1.20.0

Conversation

@nrupala

@nrupala nrupala commented Oct 13, 2026

Copy link
Copy Markdown
Owner

Dependency upgrade (release-gate fleet scan, wave 2)

  • package.json: axios ^1.6.0 → ^1.20.0
  • package-lock.json: axios 1.16.1 → 1.20.0 (regenerated with npm 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 in src/. 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 version field (0.1.0 → 0.2.1) to match package.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.
  • Lockfile diff audit: exactly one package version changed (axios 1.16.1 → 1.20.0), plus the root version sync noted above.
  • OSV: axios@1.16.1 → 21 advisories; axios@1.20.0 → 0.
  • Pushed-branch tree verified via the compare API: exactly package.json + package-lock.json changed.

Draft only — nothing merged or deployed.

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
nrupala marked this pull request as draft October 13, 2026 15:53
@nrupala
nrupala marked this pull request as ready for review October 13, 2026 19:23
@nrupala
nrupala merged commit ed6c715 into master Oct 13, 2026
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant