@nestjs/axios
12.0.2 · 13 Nov 2026MIT7.1M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgradeLatest releases
All 27 releases- 12.x · latest line
12.0.2
13 Nov 2026http: Abort underlying request via AbortController on unsubscription
12.0.1
14 Sep 2026Add HTTP Query verb (RFC 10008)
What's Changed
Add HTTP Query verb (RFC 10008)
12.0.0
27 Aug 2026You are on Node 20.19+ / 22.12+ / 24+.
You do not import from internal paths such as
@nestjs/axios/dist/...— import from the package root instead.If you were importing from the removed root
index.jsshim path explicitly, drop the path and import the package by name.
What's Changed
@nestjs/axiosis now a native ES module, and the major version is aligned with the Nest 12 release line (there is no 5.x — 4.0.1 goes straight to 12.0.0).ESM migration
The package is published as pure ESM (
"type": "module", compiled withNodeNext) behind a properexportsmap. The legacy rootindex.js/index.d.ts/index.tsshims are gone, and deep imports into build internals are no longer resolvable — import from the package root:import { HttpModule, HttpService } from '@nestjs/axios';require(esm) — CommonJS still works
You do not need to convert your app to ESM. Thanks to Node's
require(esm)support, a CommonJS app can keep doing:const { HttpModule, HttpService } = require('@nestjs/axios');This is why the supported Node range is now declared explicitly:
"engines": { "node": "^20.19.0 || ^22.12.0 || >=24.0.0" }Those are the versions where
require(esm)is available and unflagged. On older Node releases, requiring this package will fail withERR_REQUIRE_ESM.Upgrading
For most applications, the upgrade is:
npm i @nestjs/axios@12
Then check that:
You are on Node 20.19+ / 22.12+ / 24+.
You do not import from internal paths such as
@nestjs/axios/dist/...— import from the package root instead.If you were importing from the removed root
index.jsshim path explicitly, drop the path and import the package by name.
Dependency tracking
Know when your own dependencies move
@nestjs/axios shipped a new major in the last 12 months, among 3 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Reading releases, release notes and advisories…
Registry facts last checked 21 Nov 2026. Releases and advisories last read 21 Nov 2026.
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.