-
Notifications
You must be signed in to change notification settings - Fork 0
feat(security): update react monorepo to v19 #1031
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -85,8 +85,8 @@ | |
| "dist" | ||
| ], | ||
| "peerDependencies": { | ||
| "react": "^18.3.1", | ||
| "react-dom": "^18.3.1" | ||
| "react": "^19.2.6", | ||
| "react-dom": "^19.2.6" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Breaking peer dependency change without major version bumpHigh Severity Dropping React 18 from Triggered by project rule: Code Review Guidelines Reviewed by Cursor Bugbot for commit fcbc738. Configure here. |
||
| }, | ||
| "dependencies": { | ||
| "@hookform/resolvers": "5.2.2", | ||
|
|
||


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.
Peer dependency range too restrictive for library consumers
High Severity
The
peerDependenciesforreactandreact-domare set to^19.2.6, which requires>=19.2.6 <20.0.0. This excludes all consumers on React 19.0.x, 19.1.x, and 19.2.0–19.2.5. Since the library code uses no APIs specific to React 19.2.6, the range is needlessly restrictive. For a published npm library consumed by external partners, this will cause peer dependency warnings or install failures. The range would more appropriately be^19.0.0.Triggered by project rule: Code Review Guidelines
Reviewed by Cursor Bugbot for commit fcbc738. Configure here.