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
2 changes: 1 addition & 1 deletion apps/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@orpc/tanstack-query": "^1.9.4",
"@remixicon/react": "^4.7.0",
"@tanstack/query-db-collection": "0.2.37",
"@tanstack/react-db": "0.1.36",
"@tanstack/react-db": "0.1.60",
"date-fns": "^4.1.0",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
Expand Down
2 changes: 1 addition & 1 deletion apps/public/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"@tanstack/react-table": "^8.21.3",
"react-hook-form": "^7.57.0",
"@workspace/ui": "workspace:*",
"recharts": "3.3.0"
"recharts": "3.6.0"
}
}
6 changes: 3 additions & 3 deletions apps/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"sentry:sourcemaps": "tsc && tsc-alias && sentry-cli sourcemaps inject --org of-4f --project node-cloudflare-workers ./dist && sentry-cli sourcemaps upload --org of-4f --project node-cloudflare-workers ./dist"
},
"dependencies": {
"@blocknote/server-util": "^0.41.1",
"@blocknote/server-util": "^0.45.0",
"@cloudflare/workers-types": "^4.20250712.0",
"@hono/zod-validator": "^0.7.0",
"@neondatabase/serverless": "^1.0.1",
Expand All @@ -33,15 +33,15 @@
"@sentry/cli": "^2.58.0",
"@sentry/cloudflare": "^10.23.0",
"dotenv": "^17.1.0",
"drizzle-orm": "^0.44.2",
"drizzle-orm": "^0.45.1",
"drizzle-seed": "^0.3.1",
"drizzle-valibot": "^0.4.2",
"hono": "^4.7.6",
"pg": "^8.14.1",
"pino": "^10.1.0",
"react-email": "4.3.2",
"resend": "^6.2.2",
"valibot": "1.1.0"
"valibot": "1.2.0"
},
"devDependencies": {
"pino-pretty": "^13.1.2",
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@
"@tanstack/router-plugin": "^1.133.13",
"@types/bun": "^1.3.0",
"@types/node": "^24.5.2",
"@types/react": "19.2.2",
"@types/react-dom": "19.2.2",
"@types/react": "19.2.7",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-basic-ssl": "^2.1.0",
"@vitejs/plugin-react": "^5.1.1",
"alchemy": "^0.77.5",
"alchemy": "^0.83.0",
"cloudflare": "^5.2.0",
"husky": "^9.1.7",
"knip": "^5.64.0",
Expand All @@ -66,30 +66,30 @@
},
"packageManager": "bun@1.2.10",
"dependencies": {
"@blocknote/core": "^0.41.1",
"@blocknote/react": "^0.41.1",
"@blocknote/shadcn": "^0.41.1",
"@blocknote/core": "^0.45.0",
"@blocknote/react": "^0.45.0",
"@blocknote/shadcn": "^0.45.0",
"@orpc/client": "^1.9.4",
"@orpc/server": "^1.9.4",
"@tabler/icons-react": "^3.35.0",
"@tanstack/db": "^0.4.20",
"@tanstack/db": "^0.5.16",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: The overrides in apps/admin/package.json force an old, incompatible version of @tanstack/react-db, causing a version mismatch with the updated dependency and leading to runtime errors.
Severity: CRITICAL | Confidence: High

🔍 Detailed Analysis

The dependency @tanstack/react-db was updated to version 0.1.60 in the root package.json, but an overrides field in apps/admin/package.json forces the installation of an older, incompatible version (0.1.1). The application code in apps/admin/src/react-db/*.ts uses APIs from the newer version, such as createCollection() and useLiveQuery(), which are not present or have different signatures in the installed version 0.1.1. This discrepancy will cause the admin application to fail at runtime when it attempts to call these non-existent functions.

💡 Suggested Fix

To resolve the version conflict, either remove the overrides for @tanstack/react-db and @tanstack/db in apps/admin/package.json if they are no longer needed, or update them to match the newly bumped versions (e.g., "@tanstack/react-db": "0.1.60").

🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: package.json#L75

Potential issue: The dependency `@tanstack/react-db` was updated to version `0.1.60` in
the root `package.json`, but an `overrides` field in `apps/admin/package.json` forces
the installation of an older, incompatible version (`0.1.1`). The application code in
`apps/admin/src/react-db/*.ts` uses APIs from the newer version, such as
`createCollection()` and `useLiveQuery()`, which are not present or have different
signatures in the installed version `0.1.1`. This discrepancy will cause the admin
application to fail at runtime when it attempts to call these non-existent functions.

Did we get this right? 👍 / 👎 to inform future reviews.
Reference ID: 8146734

"@tanstack/react-form": "^1.23.7",
"@tanstack/react-query": "^5.90.5",
"@tanstack/react-router": "^1.133.13",
"better-auth": "^1.4.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"lucide-react": "0.548.0",
"lucide-react": "0.562.0",
"motion": "^12.23.24",
"next-themes": "^0.4.6",
"preact": "^10.27.2",
"react": "19.2.0",
"react-dom": "19.2.0",
"react": "19.2.3",
"react-dom": "19.2.3",
"sonner": "^2.0.7",
"tailwind-merge": "^3.3.1",
"tw-animate-css": "^1.4.0",
"valibot": "1.1.0",
"valibot": "1.2.0",
"vaul": "^1.1.2",
"zod": "^4.1.12"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"lucide-react": "^0.548.0",
"lucide-react": "^0.562.0",
"motion": "^12.23.24",
"next-themes": "^0.4.6",
"sonner": "^2.0.7",
Expand Down
Loading