From ed973fbc8cf76764c7509f2a798531b92238cb4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Westman?= Date: Mon, 21 Sep 2026 14:09:18 +0200 Subject: [PATCH] fix(deps): align react-dom with react #650 bumped react to ^19.2.7 but left react-dom at ^19.2.3, which the lockfile resolves to 19.2.4. React 19 refuses to run when the two differ: Error: Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got: - react: 19.2.7 - react-dom: 19.2.4 Every test that renders fails on main as a result. before: Test Files 15 failed | 9 passed (24) after: Test Files 24 passed (24) Tests 171 passed Match react-dom's range to react's so the two cannot drift apart again. Co-Authored-By: Claude Opus 5 (1M context) --- package-lock.json | 11 ++++++----- package.json | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index f00ceccb..e752d462 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@martinstark/storage-ts": "^1.1.0", "bowser": "^2.13.1", "react": "^19.2.7", - "react-dom": "^19.2.3", + "react-dom": "^19.2.7", "react-hook-form": "^7.81.0", "react-hotkeys-hook": "^4.5.0", "react-router": "^7.18.3", @@ -6797,14 +6797,15 @@ } }, "node_modules/react-dom": { - "version": "19.2.4", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.4.tgz", - "integrity": "sha512-AXJdLo8kgMbimY95O2aKQqsz2iWi9jMgKJhRBAxECE4IFxfcazB2LmzloIoibJI3C12IlY20+KFaLv+71bUJeQ==", + "version": "19.2.7", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.7.tgz", + "integrity": "sha512-t0BRVXvbiE/o20Hfw669rLbMCDWtYZLvmJigy2f0MxsXF+71pxhR3xOkspmsO8h3ZlNzyibAmtCa3l4lYKk6gQ==", + "license": "MIT", "dependencies": { "scheduler": "^0.27.0" }, "peerDependencies": { - "react": "^19.2.4" + "react": "^19.2.7" } }, "node_modules/react-hook-form": { diff --git a/package.json b/package.json index 369b6b08..bf020f81 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@martinstark/storage-ts": "^1.1.0", "bowser": "^2.13.1", "react": "^19.2.7", - "react-dom": "^19.2.3", + "react-dom": "^19.2.7", "react-hook-form": "^7.81.0", "react-hotkeys-hook": "^4.5.0", "react-router": "^7.18.3",