@hyperline/zod
v3.22.4003
Published
TypeScript-first schema declaration and validation library with static type inference
Downloads
3,756
Readme
Improved zod
Added features
- ZodObject.validate()
- ZodArray.validate()
- ZodString.validate()
dev
- This repo should be in sync with the official repo ( https://github.com/colinhacks/zod )
- Whenever there are changes in the official repo, we should rebase our changes on top.
- Every change we add should have tests
- Every merge into the main branch will trigger a release, if the version in the package.json is modified
Version number
Keep the original version number, and add our version on the last 2 digits. X.Y.Znn
-> nn
being our version number
Example:
If zod's version is 3.22.4
, our first version will be 3.22.401
, then 3.22.402
etc...
If zod's version is 3.22.10
, our first version will be 3.22.1001
When we update zod, we can go back to 01
as our version number