Release 0.1.0-alpha.14
Pre-release
Pre-release
jamesmcroft
released this
11 Jan 21:41
·
60 commits
to main
since this release
Packages available on npmjs
What's Changed
- Updated project assets by @jamesmcroft in #7
- Added Validator implementations similar to MADE.NET library by @jamesmcroft in #9
- Updated packages by @jamesmcroft in #10
Added Validator implementation from MADE.NET 💻
Changes have been made to introduce the IValidator and all available data validators and validator array/collection from the MADE.NET library.
Support for:
- RegexValidator, a generic validator for value validation with RegExp patterns
- AlphaNumericValidator, a RegexValidator that validates alpha and numeric characters
- AlphaValidator, a RegexValidator that validates alpha characters
- BetweenValidator, a validator that checks whether a value is between a minimum and maximum
- EmailValidator, a RegexValidator that validates a value is a valid email address
- IpAddressValidator, a validator that checks whether a value is a valid IP address
- MaxLengthValidator, a validator that checks that a value or array is less than a maximum length
- MaxValueValidator, a validator that checks that a value is less than a maximum
- MinLengthValidator, a validator that checks that a value or array is greater than a minimum length
- MinValueValidator, a validator that checks that a value is greater than a minimum
- RequiredValidator, a validator that checks that a value, object, array, or boolean is set
- ValidatorArray, an extended Array for IValidator instances to provide functionality for running multiple validators over a single value
More information
Full Changelog: v0.1.0-alpha.13...v0.1.0-alpha.14