Skip to content

build(deps): bump @nestjs/axios from 4.0.1 to 12.0.0 - #909

Merged
feyishola merged 1 commit into
mainfrom
dependabot/npm_and_yarn/nestjs/axios-12.0.0
Sep 1, 2026
Merged

build(deps): bump @nestjs/axios from 4.0.1 to 12.0.0#909
feyishola merged 1 commit into
mainfrom
dependabot/npm_and_yarn/nestjs/axios-12.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 30, 2026

Copy link
Copy Markdown
Contributor

Bumps @nestjs/axios from 4.0.1 to 12.0.0.

Release notes

Sourced from @​nestjs/axios's releases.

Release 12.0.0

What's Changed

@nestjs/axios is 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 with NodeNext) behind a proper exports map. The legacy root index.js / index.d.ts / index.ts shims 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 with ERR_REQUIRE_ESM.

Upgrading

For most applications, the upgrade is:

npm i @nestjs/axios@12

Then check that:

  1. You are on Node 20.19+ / 22.12+ / 24+.
  2. You do not import from internal paths such as @nestjs/axios/dist/... — import from the package root instead.
  3. If you were importing from the removed root index.js shim path explicitly, drop the path and import the package by name.
Commits
  • 10cefb3 chore(): release v12.0.0
  • a988df5 chore: upgrade to v12
  • c4b9df9 chore(deps): update dependency axios to v1.20.0 (#1781)
  • 210caf2 chore(deps): update nest monorepo to v11.2.3 (#1780)
  • 3266444 chore(deps): update dependency oxlint to v1.80.0 (#1779)
  • 5fe2ad4 chore(deps): update dependency vite to v8.2.2 (#1778)
  • a909611 chore(deps): update dependency oxlint to v1.79.0 (#1777)
  • 405c7e2 chore(deps): update dependency vitest to v4.1.11 (#1776)
  • df9a2ca test: enable legacy decorators for spec files
  • 60154c8 Merge remote-tracking branch 'origin/master'
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@nestjs/axios](https://github.com/nestjs/axios) from 4.0.1 to 12.0.0.
- [Release notes](https://github.com/nestjs/axios/releases)
- [Commits](nestjs/axios@4.0.1...12.0.0)

---
updated-dependencies:
- dependency-name: "@nestjs/axios"
  dependency-version: 12.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 30, 2026

@feyishola feyishola left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

@feyishola
feyishola merged commit 09c83a8 into main Sep 1, 2026
4 of 7 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/nestjs/axios-12.0.0 branch September 1, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant