npm zod 3.23.1
v3.23.1

latest releases: 3.24.0-canary.20240701T200529, 3.24.0-canary.20240629T005127, 3.24.0-canary.20240523T174819...
5 months ago

This changes the default generics back to any to prevent breakages with common packager like @hookform/resolvers:

- class ZodType<Output = unknown, Def extends ZodTypeDef = ZodTypeDef, Input = unknown> {}
+ class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = any> {}

Commits:

Don't miss a new zod release

NewReleases is sending notifications on new releases.