Packages

axios

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

Your version

1.13.6

27 Feb 2026Where it was published

1.21.1 is the newest release of 1.x.

In short

1 breaking3 new1 fixed3 changed3 internal

  • Breaking

    None identified in this release.

Security

34 advisories affect 1.13.6; 1.20.0 fixes them

29 more

Release note

This release focuses on platform compatibility, error handling improvements, and code quality maintenance.

Important Changes

  • Breaking

    None identified in this release.

  • Action Required: Users targeting React Native should verify their integration, particularly if relying on specific Blob or FormData behaviours, as improvements have been made to support these objects.

New Features

  • React Native Blob Support: Axios now includes support for React Native Blob objects. Thanks to @moh3n9595 for the initial implementation.

  • Code Quality: Implemented prettier across the codebase and resolved associated formatting issues.

Bug Fixes

  • Environment Compatibility:

    • Fixed module exports for React Native and Browserify environments.

    • Added safe FormData detection for the WeChat Mini Program environment.

  • Error Handling:

    • AxiosError.message is now correctly enumerable.

    • AxiosError.from now correctly copies the status property from the source error, ensuring better error propagation.

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.