Skip to content

Conversation

greg-md
Copy link
Owner

@greg-md greg-md commented Aug 22, 2025

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json
  • package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
critical severity Function Call With Incorrect Argument Type
SNYK-JS-SHAJS-12089400
  848  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

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.

@Copilot Copilot AI review requested due to automatic review settings August 22, 2025 08:30
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades two npm dependencies to fix a critical security vulnerability (SNYK-JS-SHAJS-12089400) related to incorrect argument types in function calls. The upgrade involves major version bumps that may introduce breaking changes.

  • Upgrades @nestjs/graphql from v7.9.11 to v8.0.0 (major version)
  • Upgrades apollo-server-fastify from v2.21.0 to v3.13.0 (major version)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

"@nestjs/config": "^0.6.3",
"@nestjs/core": "^7.5.1",
"@nestjs/graphql": "^7.9.11",
"@nestjs/graphql": "^8.0.0",
Copy link
Preview

Copilot AI Aug 22, 2025

Choose a reason for hiding this comment

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

The upgrade from @nestjs/graphql v7.9.11 to v8.0.0 is a major version change that likely introduces breaking changes. Ensure that all GraphQL schema definitions, resolvers, and decorators are compatible with the new API, as NestJS GraphQL v8 introduced significant changes to the module configuration and decorator usage.

Suggested change
"@nestjs/graphql": "^8.0.0",
"@nestjs/graphql": "^7.9.11",

Copilot uses AI. Check for mistakes.

"@types/sinon": "^9.0.10",
"apollo-server-fastify": "^2.21.0",
"apollo-server-fastify": "^3.13.0",
"graphql": "^14.7.0",
Copy link
Preview

Copilot AI Aug 22, 2025

Choose a reason for hiding this comment

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

The upgrade from apollo-server-fastify v2.21.0 to v3.13.0 is a major version change with breaking changes. Apollo Server v3 introduced significant API changes including plugin API modifications, schema building changes, and different server configuration patterns that may require code updates.

Suggested change
"graphql": "^14.7.0",
"graphql": "^15.0.0",

Copilot uses AI. Check for mistakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants