Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade graphql from 16.6.0 to 16.10.0 #1750

Open
wants to merge 1 commit into
base: canary
Choose a base branch
from

Conversation

X-oss-byte
Copy link
Owner

@X-oss-byte X-oss-byte commented Jan 6, 2025

snyk-top-banner

Snyk has created this PR to upgrade graphql from 16.6.0 to 16.10.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 9 versions ahead of your current version.

  • The recommended version was released 22 days ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
medium severity Denial of Service (DoS)
SNYK-JS-GRAPHQL-5905181
586 Proof of Concept
Release notes
Package name: graphql from graphql GitHub release notes

Important

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

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Summary by Sourcery

Upgrade graphql from 16.6.0 to 16.10.0 to address a denial of service vulnerability.

Bug Fixes:

  • Fix a denial of service vulnerability in graphql.

Enhancements:

  • Update documentation, including converting to Nextra and adding a GraphQLConf 2024 banner.
  • Expose tokenCount on the DocumentNode.
  • Add support for fourfold nested lists.
  • Introduce "recommended" validation rules.
  • Enable passing values configuration to GraphQLEnumType as a thunk.
  • Implement OneOf Input Objects via the @OneOf directive.
  • Properly type extensions in GraphQLFormattedError.
  • Catch OverlappingFieldsCanBeMergedRule violations with nested fragments.
  • Backport introspection type fix.
  • Address empty selection-set.
  • Remove globalThis check and align with what bundlers can accept.
  • Fix publish scripts.
  • Upgrade codecov action and pass token.
  • Fix codecov workflow.
  • Upgrade deprecated actions.

Snyk has created this PR to upgrade graphql from 16.6.0 to 16.10.0.

See this package in npm:
graphql

See this project in Snyk:
https://app.snyk.io/org/sammytezzy/project/763a3cbe-b2f2-4ba6-b822-33af7cd6243f?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

vercel bot commented Jan 6, 2025

Deployment failed with the following error:

Could not parse File as JSON: vercel.json

Copy link

vercel bot commented Jan 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-js-next-plugin-storybook-g5dx ❌ Failed (Inspect) Jan 6, 2025 5:58pm
next-x-storybook ❌ Failed (Inspect) Jan 6, 2025 5:58pm

Copy link

stackblitz bot commented Jan 6, 2025

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

changeset-bot bot commented Jan 6, 2025

⚠️ No Changeset found

Latest commit: 4409831

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

sourcery-ai bot commented Jan 6, 2025

Reviewer's Guide by Sourcery

This pull request upgrades the graphql dependency from version 16.6.0 to 16.10.0 in the examples/api-routes-apollo-server/package.json file. This upgrade resolves a Denial of Service (DoS) vulnerability, identified as SNYK-JS-GRAPHQL-5905181.

State diagram showing security status transition

stateDiagram-v2
    direction LR
    state "GraphQL v16.6.0" as v1
    state "GraphQL v16.10.0" as v2
    [*] --> v1
    v1 --> v2: Upgrade
    note left of v1: Vulnerable to DoS
    note right of v2: DoS vulnerability fixed
Loading

File-Level Changes

Change Details Files
Upgrade graphql to 16.10.0
  • Updated the graphql dependency version from 16.6.0 to 16.10.0 in the package.json file.
examples/api-routes-apollo-server/package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

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