Skip to content

Commit b26c22a

Browse files
committed
feat: add Zod v4 peer dependency support
Widen zod peer dependency from ^3.20.0 to ^3.20.0 || ^4.0.0. The runtime API (ZodType, ZodError, safeParse) is compatible across both major versions.
1 parent b59c888 commit b26c22a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nuxt-safe-action",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "Type-safe and validated server actions for Nuxt",
55
"repository": {
66
"type": "git",
@@ -80,7 +80,7 @@
8080
"zod": "^3.24.0"
8181
},
8282
"peerDependencies": {
83-
"zod": "^3.20.0"
83+
"zod": "^3.20.0 || ^4.0.0"
8484
},
8585
"peerDependenciesMeta": {
8686
"zod": {

0 commit comments

Comments
 (0)