8000 build(deps): bump react from 19.3.0 to 19.3.1 by dependabot[bot] · Pull Request #3 · inkspect-code-review/inkspect-core · GitHub
[go: up one dir, main page]

Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 70 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
"nodemailer": "10.2.1",
"pg": "^8.16.0",
"radix-ui": "^1.8.1",
"react": "19.3.0",
"react": "19.3.1",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 · Keep React DOM on the same exact version as React

This upgrades React to 19.3.1 while React DOM remains pinned to 19.3.0 in both the manifest and lockfile. React DOM requires its React version to match exactly and checks this when loading rendering entry points. Rendering consumers can therefore fail with an incompatible React versions error even if dependency installation succeeds.

Suggested fix
Upgrade react-dom to 19.3.1 alongside react and regenerate package-lock.json so both installed packages resolve to the same exact version.

Verification
Perform a clean install, confirm the resolved React and React DOM versions match, and run a smoke test that imports react-dom/server and renders a simple React element. Confirm that no incompatible versions error occurs.

Comment @inkspectsi review again after pushing your changes to request another review.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 · Upgrade React DOM alongside React

React is now pinned to 19.3.1 while react-dom remains pinned to 19.3.0. React DOM checks that its version exactly matches React, including the patch version. This pairing can throw an incompatible React versions error when client or server rendering is loaded.

Suggested fix
Bump react-dom to 19.3.1 as well and regenerate package-lock.json so both installed packages have matching versions.

Verification
Perform a clean npm ci, confirm matching versions with npm ls react react-dom, and exercise react-dom/client and react-dom/server rendering entry points without a version mismatch error.

Comment @inkspectsi review again after pushing your changes to request another review.

"react-dom": "19.3.0",
"react-markdown": "^10.1.0",
"react-qr-code": "^2.2.0",
Expand Down
Loading
0