[Snyk] Security upgrade @nestjs/core from 10.4.22 to 11.1.18#1385
[Snyk] Security upgrade @nestjs/core from 10.4.22 to 11.1.18#1385postiz-agent[bot] wants to merge 1 commit intomainfrom
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-NESTJSCORE-15920868
|
This major version upgrade from NestJS v10 to v11 introduces several significant breaking changes that require developer action. The risk is high due to mandatory code and environment updates. Key Breaking Changes:
Recommendation: Source: Official Migration Guide
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This PR has been marked as Spam, please re-open if this is a mistake. |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
| "@nestjs/cli": "10.0.2", | ||
| "@nestjs/common": "^10.0.2", | ||
| "@nestjs/core": "^10.0.2", | ||
| "@nestjs/core": "^11.1.18", |
There was a problem hiding this comment.
Bug: The PR upgrades @nestjs/core to v11 while leaving the tightly coupled @nestjs/common at v10. This major version mismatch will likely cause a runtime error on startup.
Severity: CRITICAL
Suggested Fix
Both @nestjs/core and @nestjs/common should be on the same major version. Update @nestjs/common to the same v11 version as @nestjs/core in package.json and then run pnpm install to regenerate the lock file.
Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: package.json#L72
Potential issue: The `package.json` is being updated to use `@nestjs/core@11.1.18` while
`@nestjs/common` remains on v10. These two packages are tightly coupled within the
NestJS framework. Major version updates in NestJS, such as v11, introduce breaking
changes. This mismatch will likely lead to a runtime error during application startup
when `NestFactory.create()` is called, as it will try to use incompatible internal APIs.
The PR author's note, "Failed to update the pnpm-lock.yaml," strongly suggests that the
dependency resolution failed, confirming this incompatibility.
Did we get this right? 👍 / 👎 to inform future reviews.
|
This PR has been marked as Spam, please re-open if this is a mistake. |
Snyk has created this PR to fix 1 vulnerabilities in the pnpm dependencies of this project.
Snyk changed the following file(s):
package.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-NESTJSCORE-15920868
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:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.