You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This upgrade contains a major version jump for @nestjs/swagger which introduces significant breaking changes and requires a full framework migration. The bcrypt upgrade also includes an important environment change.
@nestjs/swagger 6.2.1 → 11.4.5 (HIGH RISK)
This is a very large upgrade spanning five major versions (v7 through v11). This is not a simple package update but requires a full application migration through several major versions of the NestJS framework itself. Each major version of @nestjs/swagger is tightly coupled with a major version of the @nestjs/core framework.
Key Breaking Changes Across Versions:
Framework Rewrite (v7): The underlying engine for @nestjs/swagger was rewritten around v7 to use TypeScript's AST. This was a fundamental shift to reduce boilerplate and improve capabilities but introduced significant breaking changes to how DTOs and models are decorated. [8, 9]
Core Framework Dependencies: Upgrading to 11.x requires upgrading the entire NestJS application to v11, which includes its own set of breaking changes related to modules like @nestjs/config, @nestjs/axios (replacing HttpModule), and platform-specific packages. [15, 16]
Node.js Version: Newer versions of NestJS require newer versions of Node.js.
Recommendation: This upgrade cannot be handled as a minor change. A dedicated migration effort is required, following the official NestJS migration guides for each major version (v7, v8, v9, v10, v11). It is highly recommended to perform this migration incrementally in a separate branch.
bcrypt 5.1.0 → 6.0.0 (MEDIUM RISK)
This major version upgrade introduces an important environment-related breaking change.
Node.js Support: Support for Node.js versions 16 and below has been dropped. Your environment must be running Node.js v18 or higher. [4]
Build System: The package has switched from node-pre-gyp to prebuildify for handling pre-compiled binaries. [2, 6] This should be seamless for most users but may require verification in restrictive CI/CD or containerized environments that have specific rules for fetching dependencies.
No breaking changes to the core API (hash, compare, etc.) have been noted. [1, 7]
Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to fix 3 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
package.jsonpackage-lock.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-JSYAML-17900054
SNYK-JS-TAR-17909068
SNYK-JS-TAR-17909152
Breaking Change Risk
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Allocation of Resources Without Limits or Throttling