2.0.3 (2022-06-30)
- build(deps): add @babel/runtime #37
- fix ArrayType.of type error #35
- feat(locales): add default error messages for all checks (#27) (03e21d7)
- refactor: refactor the project through typescript.
- feat(MixedType): Added support for
when
method on all types - feat(MixedType): Replace Type with MixedType.
- feat(ObjectType): Support nested objects in the
shape
method of ObjectType.
- Update the typescript definition of
addRule
- Added support for
isRequiredOrEmpty
in StringType and ArrayType
- Adding the typescript types declaration in to package
- Fixed an issue where
isOneOf
was not valid inStringType
(#18)
- Added support for ESM
Aug 30, 2019
- Bugfix: Fix an issue where addRule is not called
Aug 20, 2019
- Feature: Support for async check. (#14)