v1.2.0
Added
- Rule
passesAnyOf()to perform branching validation. - Rule
optional()for validation of optional values.
Changed
- Rule
number()now supports a flag to make it returnfalsefor infinite numbers (#76)
Fixed
testAsync()nesting causes for failed validation.
Deprecated
- From v2.0.0: Rule
number()will returnfalsefor infinite values by default