[release staging] April 2021 Release (v13.6.0) by profnandaa · Pull Request #1650 · validatorjs/validator.js
and others added 30 commits
November 30, 2020 16:51* fix(isMobilePhone): update de-CH locale (#1549) feat(isMobilePhone): add fr-CH locale (#1549) feat(isMobilePhone): add it-CH locale (#1549) * fix(isMobilePhone): update de-CH, fr-CH and it-CH locale in validator.min.js(#1549) * fix(isMobilePhone): update fr-CH and it-CH locale aliases (#1549) Co-authored-by: Ashutosh Kumar <kumar.ashutosh@siemens.com>
* Added isLicensePlate check with german locale * de-LI (Liechtenstein) validator * Added albanian number plates * reversed changes in index.js * reversed changes in index.js * Refactored de-DE into one big regex, expanded tests fot de-DE * added pt-PT locale * Fixed coverage problem * feat(isLicensePlate): clean build * coverage is now 100% * Update README.md * Update README.md
) * Support new VN mobile phone 087 (https://didong.itelecom.vn/) * Add test for new telco number Co-authored-by: Kyle Dinh <kyle@Kyles-Mac-mini.telio>
* chore: prevent git from ignoring src/index.js file * chore: remove unused exclusion from nyc config * chore: replace travis-ci with github actions * chore: fix issue with github workflow config * chore: fix condition for coverage generation and sending * chore: treat node version as int * docs: replace travis with github actions badge * chore: add npm publish github action * chore: remove auto-generated files * chore: improve github actions styles * chore: use correct repo url to prevent unecessary redirect * chore: lint package.json file * chore: add new line at end of file * chore: set a fixed ubuntu version instead of relying on latest
* refactor code in isdatauri validator * Delete validator.js * Delete validator.min.js Co-authored-by: Sarhan Aissi <tux-tn@users.noreply.github.com>
* fix(isMacAddress): improve Regexes * docs: update docs * Update src/lib/isMACAddress.js * Update src/lib/isMACAddress.js * Update test/validators.js * Update README.md
* Added Libya Passort and Identity Number Validation * Delete validator.js * Delete validator.min.js Co-authored-by: Sarhan Aissi <tux-tn@users.noreply.github.com>
Change Text from "Passing anything other than a string is an error." to "Passing anything other than a string will result in an error."
… update (#1577) * added support for EAN-14 along with test case * feat(isAlphanumeric): added options(optional parameter) * Delete validator.min.js * Delete validator.js Co-authored-by: Sarhan Aissi <tux-tn@users.noreply.github.com>
* fix(isMobilePhone): prevent validator from allowing landline numbers in es-CO locale * fix(isMobilePhone): prevent es-CO validator from allowing invalid number
* feat(pt-BR): tax id, passport and license plates * delete compiled files * fix(tests): tests now covering 100% of code * fix(licenseplate): removed license plate pt-br * fix(readme): removed license plate changes
* License Plate validators: pt-BR and mercosur * Removing mercosur as it's not an actual valid country locale
* [feat] Malaysian Passport validation * Delete validator.js * Delete validator.min.js Co-authored-by: Sarhan Aissi <tux-tn@users.noreply.github.com>
* feat: isLuhn, IR passport and identityCard, respect .gitignore files * Update test/validators.js Co-authored-by: Federico Ciardi <fed.ciardi@gmail.com> * fix: rEADME.md * fix: remove isLuhn Co-authored-by: Federico Ciardi <fed.ciardi@gmail.com>
A number of files contain ranges of [A-z] which allows the characters [\]^_\ and the back-tick character. Those have been replaced by [A-Za-z].
…ent (#1644) * Added some missing options to the isURL() docs * Allow URLs to have a userinfo section with only a username The 'userinfo' part of a URL may, according to RFC 1738, contain only a username followed by an '@' sign. The previous behavior of the isURL() function would return false if the userinfo section did not have a colon. In addition to the change in the function, tests have been added to ensure the following exmaples are considered valid: - http://user@example.com - http://user:@example.com - http://user:pass@example.com The following are considered not valid: - http://@example.com - http://:@example.com - http://:example.com As a practical example, Sentry (https://github.com/getsentry/sentry) uses a format like http://9b9cd2ef993c1fd9c14cbb88466@example.com/10 for it's DSNs (which are just URLs).
…1604) * added instruction into isPassportNumber to validate Mozambican passport number. * Add to (isMobilePhone) to validate numbers from Mozambique * Deleted validator.js and validator.min.js * docs: remove trailing space from isPassportNumber * isIBAM Mozambique Co-authored-by: Sarhan Aissi <tux-tn@users.noreply.github.com>
This file contains hidden or 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