Skip to content
Merged
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
10 changes: 5 additions & 5 deletions src/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@
"mantine-form-zod-resolver": "^1.3.0",
"pdfjs-dist": "^5.4.394",
"pluralize": "^8.0.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react": "^19.2.1",
"react-dom": "^19.2.1",
Comment on lines +41 to +42
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

Update eslint-plugin-react-hooks to v6+ for React 19.2 compatibility.

React 19.2 requires eslint-plugin-react-hooks v6.0.0 or higher for new hook semantics, but the current version in devDependencies is ^5.2.0. This version mismatch could result in missed linting warnings for hooks.

Update the eslint-plugin-react-hooks version in devDependencies:

-    "eslint-plugin-react-hooks": "^5.2.0",
+    "eslint-plugin-react-hooks": "^6.0.0",

Verify the latest version and update both dependencies and lock file:

#!/bin/bash
# Check current version of eslint-plugin-react-hooks
npm view eslint-plugin-react-hooks@latest version
🤖 Prompt for AI Agents
In src/ui/package.json around lines 41 to 42, devDependency
eslint-plugin-react-hooks is still at ^5.2.0 which is incompatible with React
19.2; update eslint-plugin-react-hooks to v6.0.0 or higher (use the latest
6.x/7.x available), run npm install (or npm install --save-dev
eslint-plugin-react-hooks@<latest>) to update package.json and regenerate the
lockfile (package-lock.json or yarn.lock), and verify the installed version with
npm view or npm ls to ensure the lockfile and devDependencies are consistent.

"react-pdf": "^10.2.0",
"react-pdftotext": "^1.3.0",
"react-qr-reader": "^3.0.0-beta-1",
"react-router-dom": "^7.9.5",
"zod": "^4.1.12",
"zod-validation-error": "^4.0.2"
"react-router-dom": "^7.10.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

react-router-dom 7.10.0 breaking changes release notes

💡 Result:

I couldn't find an official react-router / react-router-dom v7.10.0 release or release notes. The official changelog and GitHub releases list stops at v7.9.6 (latest stable) and the npm/package tracking sites show only pre-release tags for 7.10.0 (e.g. 7.10.0-pre.0 / 7.10.0-pre.1). Sources:

  • Official changelog (latest v7.9.6). (reactrouter.com)
  • GitHub releases for remix-run/react-router (latest tag v7.9.6). (github.com)
  • Package/version listings showing 7.10.0 pre-releases (Snyk / Socket). (security.snyk.io)

Would you like me to watch for a published v7.10.0 and summarize its breaking changes when it appears, or check the 7.10.0 pre-release notes/commit history for any breaking changes now?

Citations:


Use a stable, officially released version of react-router-dom.

v7.10.0 is not yet officially released—only pre-release versions (7.10.0-pre.0, 7.10.0-pre.1, etc.) exist. The latest stable release is v7.9.6. Using ^7.10.0 will install pre-release versions in production, introducing unnecessary risk. Update to ^7.9.6 or specify the exact stable version needed.

🤖 Prompt for AI Agents
In src/ui/package.json at line 46, the dependency "react-router-dom": "^7.10.0"
references a pre-release; change it to a stable release by updating the version
to "^7.9.6" (or pin to "7.9.6") in package.json, then run your package manager
(npm/yarn/pnpm) to update lockfile and reinstall to ensure only the stable
version is used in production.

"zod": "^4.1.13",
"zod-validation-error": "^5.0.0"
},
"devDependencies": {
"@eslint/compat": "^1.2.8",
Expand Down
48 changes: 35 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8670,13 +8670,20 @@ react-docgen@^8.0.0:
resolve "^1.22.1"
strip-indent "^4.0.0"

"react-dom@^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", react-dom@^19.2.0:
"react-dom@^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0":
version "19.2.0"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-19.2.0.tgz#00ed1e959c365e9a9d48f8918377465466ec3af8"
integrity sha512-UlbRu4cAiGaIewkPyiRGJk0imDN2T3JjieT6spoL2UeSf5od4n5LB/mQ4ejmxhCFT1tYe8IvaFulzynWovsEFQ==
dependencies:
scheduler "^0.27.0"

react-dom@^19.2.1:
version "19.2.1"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-19.2.1.tgz#ce3527560bda4f997e47d10dab754825b3061f59"
integrity sha512-ibrK8llX2a4eOskq1mXKu/TGZj9qzomO+sNfO98M6d9zIPOEhlBkMkBUBLd1vgS0gQsLDBzA+8jJBVXDnfHmJg==
dependencies:
scheduler "^0.27.0"

react-dropzone@14.3.8:
version "14.3.8"
resolved "https://registry.yarnpkg.com/react-dropzone/-/react-dropzone-14.3.8.tgz#a7eab118f8a452fe3f8b162d64454e81ba830582"
Expand Down Expand Up @@ -8770,17 +8777,17 @@ react-remove-scroll@^2.7.1:
use-callback-ref "^1.3.3"
use-sidecar "^1.1.3"

react-router-dom@^7.9.5:
version "7.9.5"
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-7.9.5.tgz#99a88cde83919bdfc84fbb3d6bf7c6fc18ca0758"
integrity sha512-mkEmq/K8tKN63Ae2M7Xgz3c9l9YNbY+NHH6NNeUmLA3kDkhKXRsNb/ZpxaEunvGo2/3YXdk5EJU3Hxp3ocaBPw==
react-router-dom@^7.10.0:
version "7.10.0"
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-7.10.0.tgz#88e706f9f09cc5039c3694b643993bd8ef93fc12"
integrity sha512-Q4haR150pN/5N75O30iIsRJcr3ef7p7opFaKpcaREy0GQit6uCRu1NEiIFIwnHJQy0bsziRFBweR/5EkmHgVUQ==
dependencies:
react-router "7.9.5"
react-router "7.10.0"

react-router@7.9.5:
version "7.9.5"
resolved "https://registry.yarnpkg.com/react-router/-/react-router-7.9.5.tgz#68722186b4c9f42be36e658d9fe5d62ac1e0808b"
integrity sha512-JmxqrnBZ6E9hWmf02jzNn9Jm3UqyeimyiwzD69NjxGySG6lIz/1LVPsoTCwN7NBX2XjCEa1LIX5EMz1j2b6u6A==
react-router@7.10.0:
version "7.10.0"
resolved "https://registry.yarnpkg.com/react-router/-/react-router-7.10.0.tgz#45b666036800a023997137ee6caef6d4b8c79f78"
integrity sha512-FVyCOH4IZ0eDDRycODfUqoN8ZSR2LbTvtx6RPsBgzvJ8xAXlMZNCrOFpu+jb8QbtZnpAd/cEki2pwE848pNGxw==
dependencies:
cookie "^1.0.1"
set-cookie-parser "^2.6.0"
Expand Down Expand Up @@ -8812,11 +8819,16 @@ react-transition-group@4.4.5:
loose-envify "^1.4.0"
prop-types "^15.6.2"

"react@^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", react@^19.2.0:
"react@^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0":
version "19.2.0"
resolved "https://registry.yarnpkg.com/react/-/react-19.2.0.tgz#d33dd1721698f4376ae57a54098cb47fc75d93a5"
integrity sha512-tmbWg6W31tQLeB5cdIBOicJDJRR2KzXsV7uSK9iNfLWQ5bIZfxuPEHp7M8wiHyHnn0DD1i7w3Zmin0FtkrwoCQ==

react@^19.2.1:
version "19.2.1"
resolved "https://registry.yarnpkg.com/react/-/react-19.2.1.tgz#8600fa205e58e2e807f6ef431c9f6492591a2700"
integrity sha512-DGrYcCWK7tvYMnWh79yrPHt+vdx9tY+1gPZa7nJQtO/p8bLTDaHp4dzwEhQB7pZ4Xe3ok4XKuEPrVuc+wlpkmw==

readable-stream@^2.0.0, readable-stream@^2.3.3:
version "2.3.8"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b"
Expand Down Expand Up @@ -10712,12 +10724,22 @@ zod-openapi@^5.4.0:
resolved "https://registry.yarnpkg.com/zod-openapi/-/zod-openapi-5.4.3.tgz#ec886fac181b778bc2e9ccc3462c470543f23e26"
integrity sha512-6kJ/gJdvHZtuxjYHoMtkl2PixCwRuZ/s79dVkEr7arHvZGXfx7Cvh53X3HfJ5h9FzGelXOXlnyjwfX0sKEPByw==

zod-validation-error@^4.0.1, zod-validation-error@^4.0.2:
zod-validation-error@^4.0.1:
version "4.0.2"
resolved "https://registry.yarnpkg.com/zod-validation-error/-/zod-validation-error-4.0.2.tgz#bc605eba49ce0fcd598c127fee1c236be3f22918"
integrity sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==

zod@^4.0.14, zod@^4.1.12:
zod-validation-error@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/zod-validation-error/-/zod-validation-error-5.0.0.tgz#96db948070b7bfcb13bfec5134113e580f9eee38"
integrity sha512-hmk+pkyKq7Q71PiWVSDUc3VfpzpvcRHZ3QPw9yEMVvmtCekaMeOHnbr3WbxfrgEnQTv6haGP4cmv0Ojmihzsxw==

zod@^4.0.14:
version "4.1.12"
resolved "https://registry.yarnpkg.com/zod/-/zod-4.1.12.tgz#64f1ea53d00eab91853195653b5af9eee68970f0"
integrity sha512-JInaHOamG8pt5+Ey8kGmdcAcg3OL9reK8ltczgHTAwNhMys/6ThXHityHxVV2p3fkw/c+MAvBHFVYHFZDmjMCQ==

zod@^4.1.13:
version "4.1.13"
resolved "https://registry.yarnpkg.com/zod/-/zod-4.1.13.tgz#93699a8afe937ba96badbb0ce8be6033c0a4b6b1"
integrity sha512-AvvthqfqrAhNH9dnfmrfKzX5upOdjUVJYFqNSlkmGf64gRaTzlPwz99IHYnVs28qYAybvAlBV+H7pn0saFY4Ig==
Loading