axios
1.21.1 · 9 Nov 2026MIT150.1M / weekRepositoryHomepagenpmAtom feed
Upgrading axios From 1.18.0 to 1.18.1
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 4
- fixes
Security
12 advisories still affect 1.18.1
- Axios: HTTP/2 adapter bypasses configured DNS lookup and proxy controlshigh · GHSA-3pq3-5fj3-cg6v
- Axios: CIDR-form NO_PROXY entries are ignored, causing proxy exclusion bypass for internal IP rangesmoderate · GHSA-44g4-m2mj-wpvx
- Axios: Fetch Adapter Header Injection via Inherited FormData getHeadersmoderate · GHSA-4hqw-qxg8-jxx2
Upgrading to 1.20.0 clears them.
Release by release
- Fixed
AxiosError Serialisation: Made AxiosError#cause non-enumerable to prevent circular JSON serialisation failures when errors include nested causes.
- Fixed
Node HTTP Adapter: Guarded socket.setKeepAlive for proxy agent streams, accepted path-only URLs when socketPath is configured, deferred environment proxy handling to Node, and explicitly passed maxBodyLength through to follow-redirects. (#10917, #10930, #10942, #10993)
- Fixed
Runtime and Type Correctness: Fixed several runtime crashes, type definition mismatches, and incorrect error handling paths. (#10959, #11021)
- Fixed
AxiosURLSearchParams: Switched the encoder callback to an arrow function so
encoder.call(this)receives theAxiosURLSearchParamsinstance correctly.
- Fixed
2 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.