Packages

axios

1.21.1 · 9 Nov 2026MIT150.1M / weekRepositoryHomepagenpmAtom feed

Your version

1.2.0

22 Nov 2022Where it was published

1.21.1 is the newest release of 1.x.

In short

6 fixed2 changed23 internal

Security

31 advisories affect 1.2.0; 1.20.0 fixes them

26 more

Release note

Changed

  • changed: refactored module exports #5162

  • change: re-added support for loading Axios with require('axios').default #5225

Fixed

  • Improve AxiosHeaders class #5224

  • TypeScript type definitions for commonjs #5196

  • Type definition of use method on AxiosInterceptorManager to match the the README #5071

  • __dirname is not defined in the sandbox #5269

  • AxiosError.toJSON method to avoid circular references #5247

  • Z_BUF_ERROR when content-encoding is set but the response body is empty #5250

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.