fix: 回退 zod 到 v3,v4 有 breaking changes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
dreamhunter2333andClaude Opus 4.5 committed 2026-01-30 21:57:16 +08:00
1 parent cfe475d587
commit 2dd7f89075
2 files changed
+8 -3

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@
"dependencies": {
"chanfana": "^3.0.0",
"hono": "^4.11.7",
"zod": "^4.3.6"
"zod": "^3.25.76"
},
"devDependencies": {
"wrangler": "^4.61.1"
+7 -2
View File
@@ -15,8 +15,8 @@ importers:
specifier: ^4.11.7
version: 4.11.7
zod:
specifier: ^4.3.6
version: 4.3.6
specifier: ^3.25.76
version: 3.25.76
devDependencies:
wrangler:
specifier: ^4.61.1
@@ -520,6 +520,9 @@ packages:
youch@4.1.0-beta.10:
resolution: {integrity: sha512-rLfVLB4FgQneDr0dv1oddCVZmKjcJ6yX6mS4pU82Mq/Dt9a3cLZQ62pDBL4AUO+uVrCvtWz3ZFUL2HFAFJ/BXQ==}
zod@3.25.76:
resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==}
zod@4.3.6:
resolution: {integrity: sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==}
@@ -926,4 +929,6 @@ snapshots:
cookie: 1.1.1
youch-core: 0.3.3
zod@3.25.76: {}
zod@4.3.6: {}