forked from validatorjs/validator.js
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sg and update from source #2
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some PRs (e.g. validatorjs#1010 and validatorjs#1017) haven't been compiled properly.
This is an internal, undocumented utility that should not be exported.
…cale (validatorjs#1035) * isMobilePhone: add additional prefix for KE locale * add Chile mobile number in isMobilePhone
* Add zh-TW National ID Rule * Add zh-TW ID rule on README.md * fit eslint rules * add built code * add zh-TW id card number test * fixed test on zh-TW id card numbers
* fix(isISO8601): add additionnals checks for leap years * fix(isDecimal): correct decimal point type for some locales * refactor(rtrim): implement the logic of ltrim * fix(ltrim): add chars escaping * test: add thrown errors handling * test: add missing test cases * fix(isIdentityCard): remove default value for locale * chore: add nyc config for code coverage * chore: add compiled bundles
* validatorjs#990. Fix for Fiji mobile phones format validation. * chore: tests and update readme for Fiji isMobile fix closes validatorjs#991
This PR adds support for Dutch (nl-NL) locale for isMobilePhone. closes validatorjs#923 ==== * fix(isMobilePhone): add dutch phone number format * fix: clean-up PR validatorjs#932 - add tests - update README
…datorjs#1055) Co-authored-by: MiChiano <fgnm@gmail.com> closes validatorjs#975 * Add Malta Postal Code (XXX0000) and Phone Number (+356XXYYYYYY) * add malta (MT) to readme and test case * add ar-MA mobile phone * fix: update pr validatorjs#975 - clean-up merge conflicts - add tests for postal code, ref: https://en.wikipedia.org/wiki/Postal_codes_in_Malta * fix: remove ar-MA locale
This commit adds the Bahrain (ar-BH) locale for isMobile.
Co-authored-by: Gibbets <stevepeterka@online.de> * Added isMobile de-AT * Added local de-AT for isMobile * clean up isMobile Austria number closes validatorjs#1038 validatorjs#1028
…atorjs#1060) Co-authored-by: khalilus<krbouzidi@gmail.com>
* change hash test regex to include uppercase chars * Clean PR on allow uppercase for isHAsh - Co-authored-by: Ezrqn Kemboi <ezrqnkemboi@gmail.com> - Closes validatorjs#982 validatorjs#987
…torjs#1065) - Authoured_by: Ezrqn Kemboi <ezrqnkemboi@gmail.com> - Closes validatorjs#1061
…alidatorjs#1069) Authored by Ezrqn Kemboi <ezrqnkemboi@gmail.com> Closes validatorjs#1008
This PR fixes ja_JP locale to support 060 prefix and also issue with the general sequence. * fix Japanese mobile phone number * add 060 for ja-JP of isMobile
- ensure that even when user does not pass max and min, set defaults for the same - instance, validator.isLength('aa') returns false, instead, we should return true and set min as 0 and max as undefined - close validatorjs#939
- when lat starts with (, it makes it a true latitude. - Closes validatorjs#929
The (relative) link to contributors was defaulting to `/blob/master/graph/contributors`, I made it absolute instead.
* feature(isBIC): add isBIC validation - validate valid BIC - refers part of validatorjs#951 * chore: add on BIC definition
* merge conflicts validatorjs#1121 * merge conflicts validatorjs#1121 * comma fix
…rjs#1152) * postal code validation fix for locale IN * regex updated
* Added validation for '0x'-prefixed hex strings. * Added 0h-prefix as an acceptable hexadecimal format.
…js#1166) * WIP: modified ja-JP check. * WIP: added test cases. * Added one more invalid test case.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.