Packages

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

Other targets from 1.18.0Newest 1.x, Latest1.21.1Clears its 12 advisories1.20.0
  1. 1.18.0yours
  2. 1.18.1target
0
changes to make
0
advisories fixed
0
new
4
fixes

Security

Release by release

  1. 1.18.1

    22 Jun 20264 fixes
    • 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 the AxiosURLSearchParams instance correctly.

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.