Packages

axios

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

Your version

1.13.3

25 Jan 2026Where it was published

1.21.1 is the newest release of 1.x.

In short

9 new7 fixed2 changed

Security

35 advisories affect 1.13.3; 1.20.0 fixes them

30 more

Release note

Release notes

Bug Fixes

  • http2: Use port 443 for HTTPS connections by default.

  • interceptor: handle the error in the same interceptor

  • Main field in package.json should correspond to cjs artifacts

  • package.json: add 'bun' package.json 'exports' condition. Load the Node.js build in Bun instead of the browser build

  • silentJSONParsing=false should throw on invalid JSON

  • Turn AxiosError into a native error

  • types: add handlers to AxiosInterceptorManager interface

  • types: restore AxiosError.cause type from unknown to Error

  • Unclear error message is thrown when specifying an empty proxy authorization

Features

Reverts

  • Revert "fix: silentJSONParsing=false should throw on invalid JSON (#7253) (#7…" (#7298) (a4230f5), closes #7253 #7 #7298

  • deps: bump peter-evans/create-pull-request from 7 to 8 in the github-actions group

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.