Packages

axios

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

Your version

1.8.0

26 Feb 2025Where it was published

1.21.1 is the newest release of 1.x.

In short

3 breaking1 new2 fixed3 internal

  • Breaking

    Code relying on the above will now combine the URLs instead of prefer request URL

  • Breaking

    Add config option for allowing absolute URLs

  • Breaking

    Add default value for allowAbsoluteUrls in buildFullPath

Security

33 advisories affect 1.8.0; 1.20.0 fixes them

28 more

Release note

Release notes

Bug Fixes

  • Missing word in SUPPORT_QUESTION.yml

  • utils: replace getRandomValues with crypto module

Features

  • Add config for ignoring absolute URLs

Breaking changes

  • Breaking

    Code relying on the above will now combine the URLs instead of prefer request URL

  • Breaking

    Add config option for allowing absolute URLs

  • Breaking

    Add default value for allowAbsoluteUrls in buildFullPath

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.