Packages

axios

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

Your version

0.21.2

4 Sep 2021Where it was published

0.35.0 is the newest release of 0.21.x.

In short

1 security8 fixed45 internal

Security

Fixes 1 advisory that affected 0.21.1

23 advisories affect 0.21.2; 1.18.0 fixes them

18 more

Release note

Fixes and Functionality

  • Updating axios requests to be delayed by pre-emptive promise creation

  • Adding "synchronous" and "runWhen" options to interceptors api

  • Updating of transformResponse

  • Adding ability to omit User-Agent header

  • Adding multiple JSON improvements (#3688, #3763)

  • Fixing quadratic runtime and extra memory usage when setting a maxContentLength

  • Adding parseInt to config.timeout

  • Adding custom return type support to interceptor

  • Security

    Adding security fix for ReDoS vulnerability

Documentation

Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:

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.