Skip to content
Closed
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
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@radix-ui/react-tabs": "^1.1.1",
"@radix-ui/react-toggle": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.3",
"@react-email/components": "^0.3.2",
"@react-email/components": "^0.5.7",
"@react-email/tailwind": "^1.0.1",
"@sentry/aws-serverless": "^8.37.1",
"@sentry/nextjs": "^8.36.0",
Expand All @@ -85,14 +85,14 @@
"@sparticuz/chromium": "^133.0.0",
"@stripe/stripe-js": "^4.9.0",
"@tabler/icons-react": "^3.21.0",
"@tailwindcss/typography": "^0.5.16",
"@tailwindcss/typography": "^0.5.19",
"@tanstack/react-query": "^5.59.19",
"@types/dompurify": "^3.2.0",
"@uidotdev/usehooks": "^2.4.1",
"@upstash/ratelimit": "^2.0.5",
"@upstash/redis": "^1.35.3",
"@vercel/kv": "^3.0.0",
"@vercel/ncc": "^0.38.3",
"@vercel/ncc": "^0.38.4",
"@vercel/speed-insights": "^1.0.14",
"ai": "^6.0.116",
"aws-lambda": "^1.0.7",
Expand All @@ -103,27 +103,27 @@
"clsx": "^2.1.1",
"cmdk": "1.1.1",
"date-fns": "^4.1.0",
"discord-api-types": "^0.38.16",
"drizzle-kit": "^0.31.4",
"drizzle-orm": "^0.44.3",
"drizzle-zod": "^0.5.1",
"discord-api-types": "^0.38.43",
"drizzle-kit": "^0.31.10",
"drizzle-orm": "^0.45.2",
"drizzle-zod": "^0.8.3",

@cubic-dev-ai cubic-dev-ai Bot Mar 16, 2026

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: drizzle-zod@0.8.x requires Zod v4 (zod/v4), but this project depends on "zod": "^3.23.8" and imports from 'zod' (v3 API). Schemas returned by createInsertSchema will be Zod v4 types, incompatible with the rest of the codebase's Zod v3 types. Either pin drizzle-zod to ^0.7.x, or upgrade zod and migrate imports to zod/v4.

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

<comment>`drizzle-zod@0.8.x` requires Zod v4 (`zod/v4`), but this project depends on `"zod": "^3.23.8"` and imports from `'zod'` (v3 API). Schemas returned by `createInsertSchema` will be Zod v4 types, incompatible with the rest of the codebase's Zod v3 types. Either pin `drizzle-zod` to `^0.7.x`, or upgrade `zod` and migrate imports to `zod/v4`.</comment>

<file context>
@@ -103,27 +103,27 @@
+    "discord-api-types": "^0.38.42",
+    "drizzle-kit": "^0.31.9",
+    "drizzle-orm": "^0.45.1",
+    "drizzle-zod": "^0.8.3",
     "easymde": "^2.18.0",
     "embla-carousel-autoplay": "^8.3.1",
</file context>
Suggested change
"drizzle-zod": "^0.8.3",
"drizzle-zod": "^0.7.1",
Fix with Cubic

"easymde": "^2.18.0",
"embla-carousel-autoplay": "^8.3.1",
"embla-carousel-react": "^8.6.0",
"esbuild": "^0.25.10",
"esbuild": "^0.27.4",
"file-saver": "^2.0.5",
"framer-motion": "^12.12.1",
"hashids": "^2.3.0",
"html-docx-js": "^0.3.1",
"html-to-docx": "^1.8.0",
"hume": "^0.12.1",
"hume": "^0.15.15",
"immer": "^10.1.1",
"import-in-the-middle": "^1.11.2",
"inngest": "^3.52.6",
"isomorphic-dompurify": "^2.22.0",
"lodash": "^4.17.21",
"lottie-react": "^2.4.1",
"lucide-react": "^0.525.0",
"lucide-react": "^0.577.0",
"mammoth": "^1.8.0",
"next": "15.0.5",
"next-themes": "^0.4.6",
Expand Down Expand Up @@ -159,7 +159,7 @@
"use-debounce": "^10.0.6",
"uuid": "^11.1.0",
"zod": "^3.23.8",
"zustand": "5.0.6"
"zustand": "5.0.12"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
Expand Down
Loading