-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
refactor: Upgrade @apollo/server from 4.12.0 to 4.12.1 #9791
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
Conversation
Snyk has created this PR to upgrade @apollo/server from 4.12.0 to 4.12.1. See this package in npm: @apollo/server See this project in Snyk: https://app.snyk.io/org/acinader/project/21343059-02d9-4182-87d7-718a44b181ef?utm_source=github&utm_medium=referral&page=upgrade-pr
I will reformat the title to use the proper commit message syntax. |
🚀 Thanks for opening this pull request! |
📝 WalkthroughWalkthroughThe dependency "@apollo/server" in the package.json file was updated from version 4.12.0 to 4.12.1. No additional changes were made to other dependencies or parts of the file. Changes
Sequence Diagram(s)(No sequence diagram generated as the change is limited to a dependency version update.) 📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
package-lock.json
is excluded by!**/package-lock.json
📒 Files selected for processing (1)
package.json
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (13)
- GitHub Check: PostgreSQL 17, PostGIS 3.5
- GitHub Check: PostgreSQL 15, PostGIS 3.4
- GitHub Check: PostgreSQL 16, PostGIS 3.5
- GitHub Check: PostgreSQL 15, PostGIS 3.3
- GitHub Check: Redis Cache
- GitHub Check: PostgreSQL 15, PostGIS 3.5
- GitHub Check: Node 18
- GitHub Check: MongoDB 8, ReplicaSet
- GitHub Check: MongoDB 7, ReplicaSet
- GitHub Check: Node 20
- GitHub Check: MongoDB 6, ReplicaSet
- GitHub Check: Docker Build
- GitHub Check: Code Analysis (javascript)
@@ -20,7 +20,7 @@ | |||
], | |||
"license": "Apache-2.0", | |||
"dependencies": { | |||
"@apollo/server": "4.12.0", | |||
"@apollo/server": "4.12.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Approve patch bump of @apollo/server to 4.12.1
This is a safe patch upgrade that only updates internal dependencies. Confirm that 4.12.1 exists, update your lockfile, and run your CI/test suite to catch any regressions.
Run:
🏁 Script executed:
#!/bin/bash
# Verify the published version and update lockfile
npm view @apollo/server@4.12.1 version
# Install updated deps and run tests
npm install
npm test
# Audit for vulnerabilities
npm audit
Length of output: 9095
Tests are failing after bump – missing lsb_release
utility
The upgrade to @apollo/server@4.12.1 is a safe patch bump (version exists), but your test suite errors out with:
Error: spawn lsb_release ENOENT
This indicates that mongodb-runner
requires the OS lsb_release
command. Please address the following before merging:
- Ensure
lsb_release
is installed in your local/CI environment (e.g.apt-get install lsb-release
on Debian/Ubuntu). - Re-run
npm install
and commit the updated lockfile (package-lock.json
oryarn.lock
). - Re-run
npm test
to confirm all tests pass. - Run
npm audit
and address any critical vulnerabilities (considernpm audit fix
ornpm audit fix --force
for breaking changes).
🤖 Prompt for AI Agents
In package.json at line 23, after upgrading @apollo/server to version 4.12.1,
the test suite fails due to a missing OS utility 'lsb_release'. To fix this,
ensure the 'lsb_release' command is installed in your local and CI environments
(e.g., run 'apt-get install lsb-release' on Debian/Ubuntu). Then, run 'npm
install' to update dependencies and commit the updated lockfile. Finally, rerun
'npm test' to verify tests pass and run 'npm audit' to check for
vulnerabilities, fixing any critical issues as needed.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## alpha #9791 +/- ##
=======================================
Coverage 93.00% 93.00%
=======================================
Files 187 187
Lines 15082 15082
Branches 174 174
=======================================
Hits 14027 14027
Misses 1043 1043
Partials 12 12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Snyk has created this PR to upgrade @apollo/server from 4.12.0 to 4.12.1.
ℹ️ 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 1 version ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: @apollo/server
Patch Changes
41f98d4
]:Patch Changes
89e3f84
,2550d9f
]:Important
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 CodeRabbit