Skip to content

chore(deps): bump @nestjs/swagger from 11.2.6 to 12.0.2 - #752

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/nestjs/swagger-12.0.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/nestjs/swagger-12.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 20, 2026

Copy link
Copy Markdown
Contributor

Bumps @nestjs/swagger from 11.2.6 to 12.0.2.

Release notes

Sourced from @​nestjs/swagger's releases.

12.0.2

What's Changed

New Contributors

Full Changelog: nestjs/swagger@12.0.1...12.0.2

Release 12.0.1

12.0.1 (2026-08-28)

Bug fixes

Dependencies

Committers: 1

Release 12.0.0

What's Changed

@nestjs/swagger is now a native ES module, requires Nest 12, and changes how nullable schemas are spelled in the generated document.

ESM migration

The package is published as pure ESM ("type": "module", compiled with NodeNext) behind a proper exports map. The legacy root index.ts / plugin.js / plugin.ts shims are gone, and deep imports into build internals are no longer resolvable — import from the package root (@nestjs/swagger) or from @nestjs/swagger/plugin.

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 { SwaggerModule } = require('@nestjs/swagger'). The CLI plugin entry (@nestjs/swagger/plugin) also keeps a require condition so nest-cli.json setups load it unchanged.

This is why the package now declares "engines": { "node": "^20.19.0 || >=22.12.0" } — those are the Node versions where require(esm) is available without a flag.

... (truncated)

Commits
  • 8f00eb9 chore(): release v12.0.2
  • bfb2315 fix(swagger-ui): preserve $ characters when building swagger-ui-init.js (#4119)
  • 2bea96a feat: support the HTTP QUERY method (RFC 10008) (#4007)
  • 752e5c7 chore(deps): update dependency supertest to v7.3.0 (#4142)
  • 4faed70 fix(deps): update dependency @​microsoft/tsdoc to v0.17.0 (#4124)
  • d0e7976 fix(deps): update dependency swagger-ui-dist to v5.33.0 (#4128)
  • abce2be fix: declare typescript as an optional peer dependency (#4134)
  • 234c20c fix(standard-schema): promote schema description to parameter object (#4140)
  • 9652868 chore(deps): update dependency oxlint to v1.85.0 (#4141)
  • 92ee181 chore(deps): update nest monorepo to v12.0.4 (#4138)
  • 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/swagger](https://github.com/nestjs/swagger) from 11.2.6 to 12.0.2.
- [Release notes](https://github.com/nestjs/swagger/releases)
- [Commits](nestjs/swagger@11.2.6...12.0.2)

---
updated-dependencies:
- dependency-name: "@nestjs/swagger"
  dependency-version: 12.0.2
  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 Oct 20, 2026
@FilOzzy FilOzzy added this to FOC Oct 20, 2026
@github-project-automation github-project-automation Bot moved this to 📌 Triage in FOC Oct 20, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​nestjs/​swagger@​11.2.6 ⏵ 12.0.29810087 +196 +3100

View full report

@FilOzzy FilOzzy moved this from 📌 Triage to 🐱 Todo in FOC Oct 20, 2026

This branch has not been deployed

No deployments
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

Status: 🐱 Todo

Development

Successfully merging this pull request may close these issues.

1 participant