validarium
validarium copied to clipboard
ð¡Agnostic validation library for JavaScript applications.
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2. Commits See full diff in compare view Maintainer changes This version was pushed to npm by oss-bot, a new releaser for y18n since your...
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. Commits c74c8af 1.3.7 024b8b5 update deps, add linting 032fbaf Use Object.create(null) to avoid default object property hazards 2da9039 1.3.6 cfea636 better git push script,...
in messages keys hasAgeInInterval and matches has same message id. `hasAgeInInterval: { id: 'validarium.hasAgeInInterval', defaultMessage: 'You must be between {minAge} and {maxAge} years old', }, matches: { id: 'validarium.hasAgeInInterval', defaultMessage:...
- create `@validarium/domain-cs` package - add the iban, phone number and birth number validation to `@validarium/domain-cs` - phone number can also be validation in @validarium/validations configurable for specific country: isPhoneNumber({...
`validateMany` currently returns an array of results (`[null]`), even if all subvalidations successfully pass. `null` should be returned directly to be consistent with `validate` and allow nesting of `validate` and...
... and use it in `validation` package.
Hi @tommmyy, in our internal project, I sketched a draft of what validarium could look like in terms of predicates, validations and integration with intl. I'm creating this issue so...
Because of the `{9}` segment, this predicate is useless outside the Czech Republic and possibly some other countries :(
although line `[isIntlMessageWithArgs, ({ message, messageValues }) => formatMessage(message, messageValues)],` should technically support it, `pickByNotNil` ruins everything :(