chore(deps): bump react and @types/react#2588
Conversation
AssigneesThe following users could not be added as assignees: Please fix the above issues or remove invalid values from |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Caution MetaMask internal reviewing guidelines:
|
17d65ef to
102a2a1
Compare
| "prettier": "^3.6.2", | ||
| "prism-react-renderer": "^2.4.1", | ||
| "react": "^18.0.0", | ||
| "react": "^19.2.3", |
There was a problem hiding this comment.
React 19 and React DOM 18 version mismatch
High Severity
The react package was updated to version ^19.2.3 but react-dom remains at ^18.0.0. React and React DOM must use the same major version to be compatible. This version mismatch will cause runtime errors because React 19's internal APIs are incompatible with React DOM 18. The react-dom dependency needs to be updated to version 19.x alongside the react update.
| "prettier": "^3.6.2", | ||
| "prism-react-renderer": "^2.4.1", | ||
| "react": "^18.0.0", | ||
| "react": "^19.2.3", |
There was a problem hiding this comment.
Override forces React 18 conflicting with React 19
Medium Severity
The overrides section forces react-alert to use react: ^18.0.0 and react-dom: ^18.0.0, which was compatible when the main project used React 18. With react now upgraded to ^19.2.3, this override creates a version conflict that can cause npm to install both React 18 and React 19. Having multiple React versions at runtime causes the well-known "Invalid Hook Call" error and breaks component state sharing between packages.
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together. Updates `react` from 18.3.1 to 19.2.3 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.3/packages/react) Updates `@types/react` from 18.3.9 to 19.2.7 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: react dependency-version: 19.2.3 dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/react" dependency-version: 19.2.7 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
102a2a1 to
bba209a
Compare
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps react and @types/react. These dependencies needed to be updated together.
Updates
reactfrom 18.3.1 to 19.2.3Release notes
Sourced from react's releases.
... (truncated)
Changelog
Sourced from react's changelog.
... (truncated)
Commits
612e371Version 19.2.3b910fc1Version 19.2.2053df4eVersion 19.2.15667a41Bump next prerelease version numbers (#34639)8bb7241Bump useEffectEvent to Canary (#34610)e3c9656Ensure Performance Track are Clamped and Don't overlap (#34509)68f00c9Release Activity in Canary (#34374)0e10ee9[Reconciler] Set ProfileMode for Host Root Fiber by default in dev (#34432)3bf8ab4Add missing Activity export to development mode (#34439)1549bda[Flight] Only assign_storein dev mode when creating lazy types (#34354)Updates
@types/reactfrom 18.3.9 to 19.2.7Commits
You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Note
Updates dependency versions only.
reactto^19.2.3inpackage.json@types/reactto^19.2.8inpackage.jsonWritten by Cursor Bugbot for commit bba209a. This will update automatically on new commits. Configure here.