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
12 changes: 6 additions & 6 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"figlet": "^1.10.0",
"gradient-string": "^3.0.0",
"yaml": "^2.7.0",
"zod": "^3.24.0"
"zod": "^4.3.6"
Copy link
Copy Markdown

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

Choose a reason for hiding this comment

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

P1: This major bump is not compatible with the current schema code: src/schema.ts still uses z.function() inside z.union(...), but in Zod 4 z.function() is no longer a schema.

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

<comment>This major bump is not compatible with the current schema code: `src/schema.ts` still uses `z.function()` inside `z.union(...)`, but in Zod 4 `z.function()` is no longer a schema.</comment>

<file context>
@@ -64,7 +64,7 @@
     "gradient-string": "^3.0.0",
     "yaml": "^2.7.0",
-    "zod": "^3.24.0"
+    "zod": "^4.3.6"
   },
   "devDependencies": {
</file context>
Suggested change
"zod": "^4.3.6"
"zod": "^3.24.0"
Fix with Cubic

},
"devDependencies": {
"@types/figlet": "^1.7.0",
Expand Down
Loading