chore(deps): override form-data to 4.0.6#441
Merged
RetricSu merged 2 commits intoJul 2, 2026
Merged
Conversation
Resolves GHSA-7m2j-8qp9-m8jw (CRLF injection) by forcing transitive form-data to 4.0.6 via pnpm override.
pnpm 10 reads overrides and onlyBuiltDependencies from pnpm-workspace.yaml instead of package.json.
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.
Force the transitive "form-data" dependency to the patched version 4.0.6 to resolve the CRLF injection vulnerability (GHSA-7m2j-8qp9-m8jw).\n\nChanges:\n- Added a pnpm override in "pnpm-workspace.yaml" so all resolutions of form-data in the range ">=4.0.0 <4.0.6" resolve to 4.0.6.\n- Updated "pnpm-lock.yaml" so the only form-data version is 4.0.6.\n- Moved the existing "onlyBuiltDependencies" config from package.json to pnpm-workspace.yaml because pnpm 10 reads these settings from the workspace file.\n\nTests pass locally with pnpm 10.34.4.