Skip to content
Open
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
94 changes: 15 additions & 79 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
"openai": "^6.38.0",
"posthog-js": "^1.372.9",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-dom": "^19.2.6",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P0: react-dom was upgraded to 19.x while react is still 18.x, which creates a runtime version mismatch and can crash app initialization.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At package.json, line 32:

<comment>`react-dom` was upgraded to 19.x while `react` is still 18.x, which creates a runtime version mismatch and can crash app initialization.</comment>

<file context>
@@ -29,14 +29,14 @@
     "posthog-js": "^1.372.9",
     "react": "^18.3.1",
-    "react-dom": "^18.3.1",
+    "react-dom": "^19.2.6",
     "xlsx": "^0.18.5"
   },
</file context>

"react-swipeable": "^7.0.2",
"use-long-press": "^3.3.0"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@sentry/vite-plugin": "^5.2.1",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@types/react-dom": "^19.2.3",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2: @types/react-dom was upgraded to 19.x without upgrading @types/react to 19.x, which can introduce TypeScript type mismatches.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At package.json, line 39:

<comment>`@types/react-dom` was upgraded to 19.x without upgrading `@types/react` to 19.x, which can introduce TypeScript type mismatches.</comment>

<file context>
@@ -29,14 +29,14 @@
     "@sentry/vite-plugin": "^5.2.1",
     "@types/react": "^18.3.0",
-    "@types/react-dom": "^18.3.0",
+    "@types/react-dom": "^19.2.3",
     "@vitejs/plugin-react": "^4.3.1",
     "eslint": "^9.39.4",
</file context>

"@vitejs/plugin-react": "^4.3.1",
"eslint": "^9.39.4",
"eslint-plugin-react-hooks": "^5.0.0",
Expand Down