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
release staging: November 2021 release (13.7.0) #1853
Commits on Apr 21, 2021
-
fix(isISO8601): disallow prepended and appended strings to RFC 3339 d…
Joe MacMahon committedApr 21, 2021 Configuration menu - View commit details
-
Copy full SHA for d1a9b6d - Browse repository at this point
Copy the full SHA d1a9b6dView commit details
Commits on May 24, 2021
-
feat: added support for indonesian passport number (#1656)
* feat: added indonesia passport * fix: updated readme
Configuration menu - View commit details
-
Copy full SHA for 907bb07 - Browse repository at this point
Copy the full SHA 907bb07View commit details
Commits on Jul 16, 2021
-
feat: Export list of country codes that implement IBAN (#1669)
* feat(niceToHave): Export list of country codes that implement IBAN * Update src/index.js Co-authored-by: Federico Ciardi <fed.ciardi@gmail.com> * fix(bug): Export isIBANLocales by its correct alias * fix(test): fix name change in test * fix(standards): change members exported name Co-authored-by: drorh <dror.heller@nielsen.com> Co-authored-by: Federico Ciardi <fed.ciardi@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2595554 - Browse repository at this point
Copy the full SHA 2595554View commit details -
Configuration menu - View commit details
-
Copy full SHA for b82d4e1 - Browse repository at this point
Copy the full SHA b82d4e1View commit details -
feat(isLicensePlate): Add Czech license plates (#1565)
* Add Czech license plates to the RegEx mix * Reorder list * Update README * Add tests * Remove trailing space * Add more tests
Configuration menu - View commit details
-
Copy full SHA for c87956a - Browse repository at this point
Copy the full SHA c87956aView commit details -
feat(isBoolean) Add loose option to isBoolean validator (#1676)
* Add loose option to isBoolean validator * Move boolean array definitions outside of function
Bryan Brophy committedJul 16, 2021 Configuration menu - View commit details
-
Copy full SHA for 044159d - Browse repository at this point
Copy the full SHA 044159dView commit details -
feat(isMobilePhone): change the german prefix from '+490' to '+49' or…
… '0' (#1679) * fix: restrict german numbers * fix: allow 0 prefix Co-authored-by: Anna-Maria Jansen <anna-maria.jansen@nui.care>
Configuration menu - View commit details
-
Copy full SHA for 01eeaef - Browse repository at this point
Copy the full SHA 01eeaefView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for cff8a2e - Browse repository at this point
Copy the full SHA cff8a2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e08e79a - Browse repository at this point
Copy the full SHA e08e79aView commit details -
chore: Increase coverage and make codecov more precise (#1658)
* fix(isTaxID): fix typo and remove unnecessary conditions * test: add more cases to handle uncovered branches/conditions * chore: make coverage report for codecov more precise Switch from lcov to cobertura to allow handling branch coverage on PR reports
Configuration menu - View commit details
-
Copy full SHA for d36f79c - Browse repository at this point
Copy the full SHA d36f79cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5f4fcd - Browse repository at this point
Copy the full SHA f5f4fcdView commit details
Commits on Jul 19, 2021
-
1
Configuration menu - View commit details
-
Copy full SHA for 8c4b3b3 - Browse repository at this point
Copy the full SHA 8c4b3b3View commit details
Commits on Sep 20, 2021
-
perf(isISO31661Alpha2): use a Set along with .has instead of includes (…
…#1724) fix(isBIC): refactor use of CountryCodes using Set's methods
Configuration menu - View commit details
-
Copy full SHA for 5b04cc5 - Browse repository at this point
Copy the full SHA 5b04cc5View commit details
Commits on Sep 21, 2021
-
fix(isMagnetURI): update validation regex (#1730)
* fix(isMagnetURI): update validation regex - Validate only exact xn topics (btih,sha1,...) - Validate only 32 or 40 hashes - Make tr and dn parameters optional - Allow any other parameter (protocol allow passing non standard parameters) - Use placeholder hashes in tests - Fix ReDOS in old regex - Add new tests * fix(isMagnetURI): prevent matching hashes longer than 40 characters * fix(isMagnetURI): check only string ending after hash or new parameter start
Configuration menu - View commit details
-
Copy full SHA for 7376945 - Browse repository at this point
Copy the full SHA 7376945View commit details
Commits on Sep 26, 2021
-
feat(isISO4217): add currency code validator (#1706)
* feat(isISO4217): add currency code validator (#1703) * perf(isISO4217): use a Set along with .has instead of .indexOf * refactor(isISO4217): Enhance tests with lowercase examples
Configuration menu - View commit details
-
Copy full SHA for f34112d - Browse repository at this point
Copy the full SHA f34112dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b649c6 - Browse repository at this point
Copy the full SHA 5b649c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0d49bd - Browse repository at this point
Copy the full SHA b0d49bdView commit details -
feat(isPassportNumber): fix regex for CN (#1714)
* fix: (isPassportNumber) fix regex for CN * feat(isPassportNumber): fix regex for CN (#1686)
Configuration menu - View commit details
-
Copy full SHA for 69881b6 - Browse repository at this point
Copy the full SHA 69881b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e84623b - Browse repository at this point
Copy the full SHA e84623bView commit details -
feat(isAlpha, isAlphanumeric): Adds Hindi (hi-IN) language support ad…
…dition to isAlpha & isAlphanumeric (#1716) * feat: ✨ Hindi language support addition This commit introduces Indian Hindi language support (hi-IN) * * test: ✅ test case for alphanumeric added
Configuration menu - View commit details
-
Copy full SHA for b069167 - Browse repository at this point
Copy the full SHA b069167View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3497bd - Browse repository at this point
Copy the full SHA a3497bdView commit details -
feat(isURL): add
allow_fragments
andallow_query_components
(#1721)* feat(isURL): add `allow_fragments` option * feat(isURL): add `allow_query_components` option
Configuration menu - View commit details
-
Copy full SHA for 326cfb9 - Browse repository at this point
Copy the full SHA 326cfb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c899b31 - Browse repository at this point
Copy the full SHA c899b31View commit details
Commits on Oct 2, 2021
-
refactor: run scripts in parallel for build and clean (#1747)
* refactor: run scripts in parallel for build and clean * use globs
1Configuration menu - View commit details
-
Copy full SHA for 05e382b - Browse repository at this point
Copy the full SHA 05e382bView commit details -
feat(isEmail): add
host_blacklist
option (#1641)* feat(isEmail): add `domain_denylist` option * Fix tests * Update option name
Configuration menu - View commit details
-
Copy full SHA for 04b73ad - Browse repository at this point
Copy the full SHA 04b73adView commit details -
feat(isIdentityCard): Add PL locale (#1745)
* Add validation for PESEL * Move PESEL validation to isIdentityCard * Fix consistent-return * Fix trailing-space * Attempt to improve code coverage * Handle else in control sum check * Remove unnecessary return Co-authored-by: Federico Ciardi <fed.ciardi@gmail.com> * Fix linter error * Add missing tests * Add missing test * Replace Array.forEach with Array. reduce Co-authored-by: Sarhan Aissi <tux-tn@users.noreply.github.com> * Use reduce instead forEach * Simplify reduce function Co-authored-by: Federico Ciardi <fed.ciardi@gmail.com> Co-authored-by: Sarhan Aissi <tux-tn@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f2a1587 - Browse repository at this point
Copy the full SHA f2a1587View commit details -
fix(isMobilePhone.js): regex for Belgium locale (#1746)
* Updating regex of Belgium and the valid and invalid phone numbers in validators.js * Fixing accidental deletion of closing braces * Fixing the test numbers for fr-BE (french Belgium) too in validators.js since phone number rules will be same for that too Co-authored-by: Divik Shrivastava <divik.s@safe.security>
Configuration menu - View commit details
-
Copy full SHA for 4ec30b7 - Browse repository at this point
Copy the full SHA 4ec30b7View commit details
Commits on Oct 5, 2021
-
feat(isUrl): higher priority to whitelist (#1748)
* isUrl higher priority to whitelist * remove extra line at end of package.json
Configuration menu - View commit details
-
Copy full SHA for 13651ea - Browse repository at this point
Copy the full SHA 13651eaView commit details
Commits on Oct 30, 2021
-
feat(isFQDN): add
allow_wildcard
option (#1647)Co-authored-by: Andrea Fassina <andrea.fassina@nativery.com>
Configuration menu - View commit details
-
Copy full SHA for 622184e - Browse repository at this point
Copy the full SHA 622184eView commit details -
fix(isMobilePhone): use a loose and future-oriented way to verify Chi…
…nese mobile phone numbers (#1682)
Configuration menu - View commit details
-
Copy full SHA for 6b213cf - Browse repository at this point
Copy the full SHA 6b213cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60dffb9 - Browse repository at this point
Copy the full SHA 60dffb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29ed3a0 - Browse repository at this point
Copy the full SHA 29ed3a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9347d6d - Browse repository at this point
Copy the full SHA 9347d6dView commit details -
fix(isMobilePhone): regex for Pakistan(PK) (#1778)
* Fix Mobile Phone Regex Pakistan(PK) Update the regex to validate mobile numbers correctly for Pakistan * Add tests for mobile number validation locale en-PK (Pakistan) * Linting fix * Update src/lib/isMobilePhone.js Update pakistan mobile regex according to suggestion Co-authored-by: Sarhan Aissi <tux-tn@users.noreply.github.com> * Update tests for PK phone numbers Co-authored-by: Sarhan Aissi <tux-tn@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 050a424 - Browse repository at this point
Copy the full SHA 050a424View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ed7db1 - Browse repository at this point
Copy the full SHA 5ed7db1View commit details -
feat(isIdentityCard): add 'LK' (Sri Lanka) locale (#1786)
* Implement isIdentityCard LK(Sri Lanka) locale * Add tests for isIdentityCard LK locale * Update README.md for the isIdentityCard LK locale * Change let to const Co-authored-by: Sarhan Aissi <tux-tn@users.noreply.github.com> Co-authored-by: Sarhan Aissi <tux-tn@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for dc9f843 - Browse repository at this point
Copy the full SHA dc9f843View commit details -
feat(isPostalCode): add
LK
(Sri Lanka) locale (#1788)* Add `LK` locale to `isPostalCode` * Add tests for `LK` locale of `isPostalCode` * Update README.md
Configuration menu - View commit details
-
Copy full SHA for 8451206 - Browse repository at this point
Copy the full SHA 8451206View commit details -
feat(isLicensePlate): add finnish locale (#1790)
Co-authored-by: Markus <markus.tyrkko@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 526417a - Browse repository at this point
Copy the full SHA 526417aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eed6a4 - Browse repository at this point
Copy the full SHA 6eed6a4View commit details -
fix(isPassportNumber): update Poland country code (#1809)
* Updated Poland Country Code * Updated PO to PL in validator.js * Changed PO to PL in README.md * Typo in README.md Co-authored-by: Ronan Doudiès <rondou@eptm-it.ch>
Configuration menu - View commit details
-
Copy full SHA for a837e6f - Browse repository at this point
Copy the full SHA a837e6fView commit details -
fix(isMobilePhone): update Hungarian locale (#1826)
* Add internal country code option * Add new area code options * Add tests to hu mobile number validation
Configuration menu - View commit details
-
Copy full SHA for ba4106f - Browse repository at this point
Copy the full SHA ba4106fView commit details -
feat(isMobilePhone): add Bermuda en-BM locale (#1769)
* Added validation for Bermuda on isMobilePhone * changed regex for bermuda to disable landline no
Configuration menu - View commit details
-
Copy full SHA for c42b2d9 - Browse repository at this point
Copy the full SHA c42b2d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7835db1 - Browse repository at this point
Copy the full SHA 7835db1View commit details -
feat(isUrl): urls with empty user (#1833)
* allow urls with empty user * use array extract * reuse auth split
Configuration menu - View commit details
-
Copy full SHA for 28f899d - Browse repository at this point
Copy the full SHA 28f899dView commit details -
fix(unescape): fixed bug where intermediate string contains escaped c…
…haracters (#1835) * Fixed bug where intermediate string contains escaped characters * Added reference to issue Co-authored-by: Markus Tyrkkö <markus.tyrkko@nitor.com> Co-authored-by: Markus <markus.tyrkko@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3fcf768 - Browse repository at this point
Copy the full SHA 3fcf768View commit details -
feat: added finnish locale to isAlpha and isAlphanumeric (#1837)
Co-authored-by: Markus Tyrkkö <markus.tyrkko@nitor.com>
Configuration menu - View commit details
-
Copy full SHA for 2201869 - Browse repository at this point
Copy the full SHA 2201869View commit details -
feat(isIdentityCard): add finnish locale (#1838)
Co-authored-by: Markus <markus.tyrkko@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 57cc14e - Browse repository at this point
Copy the full SHA 57cc14eView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 7bee611 - Browse repository at this point
Copy the full SHA 7bee611View commit details -
fix: Russian passport number regex (#1810)
* fix: Russian passport number regex fixes #1807
Configuration menu - View commit details
-
Copy full SHA for de1cb29 - Browse repository at this point
Copy the full SHA de1cb29View commit details -
feat(isVAT): add dutch NL locale (#1825)
for hacktober #1742 if you want to extend it more check : https://www.oreilly.com/library/view/regular-expressions-cookbook/9781449327453/ch04s21.html
1Configuration menu - View commit details
-
Copy full SHA for 5773869 - Browse repository at this point
Copy the full SHA 5773869View commit details
Commits on Oct 31, 2021
-
feat: (isMobilePhone): add Cameroon fr-CM locale (#1772)
* Add Cameroon validation regex I have added a regex for validating Cameroonian mobile numbers which should work. I'm not super comfortable with regular expressions, so if I have screwed something up, please let me know. I have done some basic testing and it has functioned fine thus far. * Update README to include fr-CM in isMobilePhone * Add (very) basic testing for Cameroonian mobile number * Fix missing brace (whoops!) * Fix commas (I hope) * Fix sloppy tests Fix my sloppy tests. I'm really tired and probably should not be working on this, but I accidentally added an extra digit while typing. * Update regex for correctness Add mobile prefix (6) to regex, remove space allowance, and optimize regex * Update tests for correctness * Remove invalid space Sorry! * Rerun failed tests (internal server error)
Configuration menu - View commit details
-
Copy full SHA for f2381e0 - Browse repository at this point
Copy the full SHA f2381e0View commit details -
feat(contains): add possibility to check that string contains seed mu…
…ltiple times (#1836) * Added feature to require minimum number of occurrences for the seed in 'contains' * Changed regex to split Co-authored-by: Markus Tyrkkö <markus.tyrkko@nitor.com> Co-authored-by: Markus <markus.tyrkko@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 769f6d5 - Browse repository at this point
Copy the full SHA 769f6d5View commit details -
feat(isUUID): add support for validation of version v1 and v2 (#1848)
* fix(isUUID) for null version argument supply * improve(isUUID) validation for version 1 and 2
1Configuration menu - View commit details
-
Copy full SHA for af2b43c - Browse repository at this point
Copy the full SHA af2b43cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01d3da3 - Browse repository at this point
Copy the full SHA 01d3da3View commit details -
feat(isMobilePhone): add Bhutan dz-BT locale (#1770)
* Add dz-BT to isMobilePhone.js * Add isMobilePhone test for dz-BT * Added isMobilePhone regex for dz-BT Added mobile operator codes as well * Added dz-BT in isMobilePhone readme * Added isMobilePhone test for dz-BT Updated the test cases
Configuration menu - View commit details
-
Copy full SHA for fc0fefc - Browse repository at this point
Copy the full SHA fc0fefcView commit details -
feat(isMobilePhone): regex for Burkina Faso fr-BF and Namibia en-NA l…
…ocales chore: squashed commits from #1834 feat(isMobilePhone): regex for Namibia locale fix(isMobilePhone): removing telephone validation fix(isMobliePhone): regex now validates as intended fix(isMobilePhone): requiring phone number prefixes in validation feat(isMobilePhone): regex for Burkina Faso locale fix(isMobilePhone): removing code intended for a different branch fix(isMobilePhone): Making plus sign optional feat(isMobilePhone): regex for Burkina Faso locale
Configuration menu - View commit details
-
Copy full SHA for 5c2d69e - Browse repository at this point
Copy the full SHA 5c2d69eView commit details -
feat(isMobilePhone): add Maldives dv-MV locale
chore: squashed #1829 Add locale for Maldives in mobile phone validator Add tests for mobile numbers validation of maldives locale i.e. dv-MV Update readme to add Maldives locale (dv-MV) in isMobilePhone documentation
Configuration menu - View commit details
-
Copy full SHA for c96d805 - Browse repository at this point
Copy the full SHA c96d805View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed60123 - Browse repository at this point
Copy the full SHA ed60123View commit details -
feat(isMobilePhone): add Kiribati en-KI locale
[chore] squashed from #1820 Clean up validator and add trailing comma
Configuration menu - View commit details
-
Copy full SHA for 8627e48 - Browse repository at this point
Copy the full SHA 8627e48View commit details -
feat(isMobilePhone): add Frech Polynesia fr-PF locale
Create validation for frech polynesia mobile phones according to wikipedia: https://en.wikipedia.org/wiki/Telephone_numbers_in_French_Polynesia#Mobile
Configuration menu - View commit details
-
Copy full SHA for f7ff349 - Browse repository at this point
Copy the full SHA f7ff349View commit details -
feat(isMobilePhone): add Guyana en-GY locale
[chore] fixed merge conflicts in #1784 feat: (isMobilePhone) Add Guyana mobile phone validation Fix linter errors
Configuration menu - View commit details
-
Copy full SHA for 0e5d5d4 - Browse repository at this point
Copy the full SHA 0e5d5d4View commit details -
feat(isMobilePhone): add Turkmenistan tk-TM
squashed commits and resolved merge conflict for #1780 Add Turkmenistan validation regax Update README.md to include Turkmenistan (tk-Tm) Add test cases for tk-TM add missing comma for isMobilePhone.js add missing commas for test/validators.js
Configuration menu - View commit details
-
Copy full SHA for 26605f9 - Browse repository at this point
Copy the full SHA 26605f9View commit details -
feat(isMobilePhone): add Botswana en-BW locale
Added new condition for Botswana New regex for Botswana numbers Phone number information was found from the following sources: - https://www.howtocallabroad.com/botswana/ - https://countrycode.org/botswana Updated README.md to include en-BW Included the new case for Botswana (en-BW) Added test cases for isMobilePhone en-BW Added some test cases to check length for the phone number & area code pattern. Changed regex for BW Fixed the pattern for Botswana mobile phone numbers and edited the test cases. I followed the convention from Table 8 of the national numbering plan document and the mobile number pattern on the Wiki page. Update validators.js Oops! Looks like the file didn't update with some of my modified test cases - my apologies!
Configuration menu - View commit details
-
Copy full SHA for a3faa83 - Browse repository at this point
Copy the full SHA a3faa83View commit details -
feat(isMobilePhone): add Palestine ar-PS locale
Add isMobilePhone test for ar-PS Add ar-PS to isMobilePhone readme Correct ar-PS validation Update ar-PS isMobible tests
Configuration menu - View commit details
-
Copy full SHA for 5b06703 - Browse repository at this point
Copy the full SHA 5b06703View commit details -
feat(isMobilePhone): add El Salvador es-SV locale
* Solve issue with wrong validation on El Salvador mobile phones * update tests accordingly in order to define the right regEx, the following site was consulted. https://www.siget.gob.sv/guia-de-servicios/consulta-el-plan-de-numeracion/numeros-moviles/
Configuration menu - View commit details
-
Copy full SHA for f17e220 - Browse repository at this point
Copy the full SHA f17e220View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83cb7f8 - Browse repository at this point
Copy the full SHA 83cb7f8View commit details -
Merge pull request #1851 from validatorjs/chore/fix-merge-conflicts
chore: fix merge conflicts
Configuration menu - View commit details
-
Copy full SHA for 45901ec - Browse repository at this point
Copy the full SHA 45901ecView commit details
Commits on Nov 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 496fc8b - Browse repository at this point
Copy the full SHA 496fc8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47ee5ad - Browse repository at this point
Copy the full SHA 47ee5adView commit details