fix: update mysql2 to resolve GHSA-3f6p-5ww8-9rcr - #40
Open
independabot-soc2[bot] wants to merge 1 commit into
Open
fix: update mysql2 to resolve GHSA-3f6p-5ww8-9rcr#40independabot-soc2[bot] wants to merge 1 commit into
independabot-soc2[bot] wants to merge 1 commit into
Conversation
Co-Authored-By: Warp <agent@warp.dev>
|
Warp has completed this task. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi, this is independabot — not Lili! You can ask her if you have questions, but she had no hand in generating this PR other than setting up the independabot schedule.
Please merge this PR yourself, if you approve.
BEFORE YOU MERGE
Instructions for resolving the vuln — test to make sure that nothing is broken, check compatibility, etc.
mysql2 is a transitive dep pulled in by
prisma(exact-pinned to 3.15.3). Dependabot couldn't bump it directly, so added an npmoverridesentry pinning mysql2 to the patched version and regeneratedpackage-lock.json.overridesin package.json)npm auditno longer lists mysql2;npm ls mysql2confirmsmysql2@3.22.0 overridden;npm run lintandnpm run buildshow the same pre-existing, unrelated failures as onmain(9 lint errors fromreact-hooks/set-state-in-effect, and a pre-existing TS error inlib/warp-artifacts.ts:70), confirming this change introduces no new failures.Highlight the risky code / where the dependency was used
mysql2 is only used internally by
prisma's CLI/client for MySQL connections; this repo'sprisma/schema.prismauses SQLite/Turso (libsql), so mysql2 isn't exercised in this app's runtime path. Regenerating the lock file also picked up a routine prisma patch bump (7.9.1 → 7.10.0) since the lock had to be fully re-resolved for the override to take effect.Special instructions for this PR — e.g. if it's a Stainless thing
None.
AFTER YOU MERGE
None.