refactor: migrated to zod 4 and improved form validations

This commit is contained in:
2025-07-22 09:35:43 +05:30
parent 495b6f2129
commit acd600f06d
4 changed files with 29 additions and 15 deletions

8
package-lock.json generated
View File

@@ -65,7 +65,7 @@
"sonner": "^2.0.6",
"tailwind-merge": "^3.3.1",
"vaul": "^1.1.2",
"zod": "^3.25.76",
"zod": "^4.0.5",
"zustand": "^5.0.6"
},
"devDependencies": {
@@ -5069,9 +5069,9 @@
"license": "ISC"
},
"node_modules/zod": {
"version": "3.25.76",
"resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
"integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/zod/-/zod-4.0.5.tgz",
"integrity": "sha512-/5UuuRPStvHXu7RS+gmvRf4NXrNxpSllGwDnCBcJZtQsKrviYXm54yDGV2KYNLT5kq0lHGcl7lqWJLgSaG+tgA==",
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/colinhacks"