[Snyk] Security upgrade @apollo/server from 4.8.1 to 5.4.0#11674
[Snyk] Security upgrade @apollo/server from 4.8.1 to 5.4.0#11674snyk-io[bot] wants to merge 1 commit intomasterfrom
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-APOLLOSERVER-15208673
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
✅ 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. |
WalkthroughThis pull request upgrades the Apollo Server dependency in the catalog-graphql plugin from version 4.x to version 5.4.0, representing a major version update. Apollo Server v5 introduces breaking changes and new features that may require code adjustments to maintain compatibility. This upgrade affects the GraphQL server implementation within the catalog-graphql plugin and should be accompanied by corresponding code changes to align with the new API surface. The update brings potential performance improvements and access to the latest features available in Apollo Server v5. Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
participant Client
participant CatalogGraphQL as Catalog GraphQL Plugin
participant ApolloServer as Apollo Server (v4→v5)
participant CatalogModel as Catalog Model
participant Backend as Backstage Backend
Note over ApolloServer: Upgraded from v4.0.0 to v5.4.0
Client->>CatalogGraphQL: GraphQL Query Request
activate CatalogGraphQL
CatalogGraphQL->>ApolloServer: Parse & Validate Query
activate ApolloServer
ApolloServer->>CatalogGraphQL: Validated Query
deactivate ApolloServer
CatalogGraphQL->>CatalogModel: Resolve Entity Data
activate CatalogModel
CatalogModel->>Backend: Fetch Catalog Entities
activate Backend
Backend-->>CatalogModel: Entity Data
deactivate Backend
CatalogModel-->>CatalogGraphQL: Resolved Data
deactivate CatalogModel
CatalogGraphQL->>ApolloServer: Format Response
activate ApolloServer
ApolloServer-->>CatalogGraphQL: GraphQL Response
deactivate ApolloServer
CatalogGraphQL-->>Client: Query Result
deactivate CatalogGraphQL
Note over Client,Backend: Apollo Server v5 may include<br/>performance improvements and<br/>updated GraphQL execution
Note for WindsurfPlease change the default marketplace provider to the following in the windsurf settings:Marketplace Extension Gallery Service URL: https://marketplace.visualstudio.com/_apis/public/gallery Marketplace Gallery Item URL: https://marketplace.visualstudio.com/items Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts belowEmoji Descriptions:
Interact with the Bot:
Also you can trigger various commands with the bot by doing The current supported commands are
More commands to be added soon. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
plugins/catalog-graphql/package.jsonNote for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the
.yarn/cache/directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to runyarnto update the contents of the./yarn/cachedirectory.If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed with an upgrade:
SNYK-JS-APOLLOSERVER-15208673
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:
🦉 Regular Expression Denial of Service (ReDoS)
EntelligenceAI PR Summary
This PR upgrades Apollo Server from v4 to v5.4.0 in the catalog-graphql plugin.
@apollo/serverdependency from ^4.0.0 to ^5.4.0 inplugins/catalog-graphql/package.json