-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Comparing changes
Open a pull request
base repository: validatorjs/validator.js
base: 12.2.0
head repository: validatorjs/validator.js
compare: 13.9.0
Commits on Jan 28, 2020
-
fix(isAlpha): update greek alphabet, el-GR (#1238)
* Feat: Added more letters to Greek alphabet * Fix: removed /s * Test: Added test, no overwrite
Configuration menu - View commit details
-
Copy full SHA for 1c9efc5 - Browse repository at this point
Copy the full SHA 1c9efc5View commit details
Commits on Feb 1, 2020
-
feat(isIBAN): new validator (#1243)
* feat: implement isIBAN(str) validator * re-arrange country codes alphabitcally for better readability
Configuration menu - View commit details
-
Copy full SHA for b331b5a - Browse repository at this point
Copy the full SHA b331b5aView commit details
Commits on Feb 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 46585ef - Browse repository at this point
Copy the full SHA 46585efView commit details
Commits on Feb 5, 2020
-
feat(isEAN): implement isEAN validator (#1244)
* feat(isEAN): implement isEAN validator * add testcase to cover 0 as EAN check digit * modify EAN regex to avoid lookbehind assertions
Configuration menu - View commit details
-
Copy full SHA for fc253c4 - Browse repository at this point
Copy the full SHA fc253c4View commit details
Commits on Feb 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c770678 - Browse repository at this point
Copy the full SHA c770678View commit details
Commits on Feb 11, 2020
-
feat(isSemVer): add semver validator (#1246)
* feat: add isSemVer validator to check for Semantic Versioning * style: modify function docs * push compiled modules after function docs change * moe multilineRegexp function to util for re-usability * add more invalid/bad testcases
Configuration menu - View commit details
-
Copy full SHA for a87165a - Browse repository at this point
Copy the full SHA a87165aView commit details -
fix(isIP): wrong IP address validation (#1211)
* Bugfix - Wrong IP address validation #1209 * Add tests for IPv4 Co-authored-by: Bar <bar@intsights.com>
Configuration menu - View commit details
-
Copy full SHA for c109ace - Browse repository at this point
Copy the full SHA c109aceView commit details
Commits on Feb 13, 2020
-
feat(isRgbColor): add isRgbColor validator (#1141)
Co-authored-by: pawelkleczek10c <48207947+pawelkleczek10c@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 91c2591 - Browse repository at this point
Copy the full SHA 91c2591View commit details
Commits on Feb 15, 2020
-
feat(isLocale): add isLocale validator (#1072)
- it validates different languages for different geographical location - Closes #954
Configuration menu - View commit details
-
Copy full SHA for 7bd816e - Browse repository at this point
Copy the full SHA 7bd816eView commit details -
feat(isEthereumAddress): add isEthereumAddress validator (#1117)
* Add isEthereumAddress Basic validation for Ethereum addresses * Resolve merge conflicts
Configuration menu - View commit details
-
Copy full SHA for 4f74f79 - Browse repository at this point
Copy the full SHA 4f74f79View commit details
Commits on Feb 17, 2020
-
feat(isPassportNumber): add isPassportNumber validator (#1250)
* feat: implement isPassportNumber validator * normalize str by cleaning spaces and converting to UPPERCASE * style: function docs, helper comments * remove unrelated changes closes #1218
Configuration menu - View commit details
-
Copy full SHA for 9836c29 - Browse repository at this point
Copy the full SHA 9836c29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8111e38 - Browse repository at this point
Copy the full SHA 8111e38View commit details -
feat(toBoolean): use regex for false string value (#1081)
Use regex matching so that it converts False or FALSE (strings) to false (boolean) and True or TRUE (strings) to true (boolean). Co-authored-by: Abhisek Pattnaik <abhisekp@engineer.com> closes #1021
Configuration menu - View commit details
-
Copy full SHA for f92c08b - Browse repository at this point
Copy the full SHA f92c08bView commit details
Commits on Feb 23, 2020
-
feat(isHSL): added isHSL validator (#1159)
closes #1245 ==== * isHSL WIP * Added another valid test case. * Updated readme to include isHSL. * WIP on validating degree values beyond [0,360] * Added + sign test case * More comprehensive HSL check WIP * WIP, new tests are needed. * Added ezkemboi test cases * Added ezkemboi test cases * Added ezkemboi test cases * isHSL WIP * Added another valid test case. * Updated readme to include isHSL. * WIP on validating degree values beyond [0,360] * Added + sign test case * More comprehensive HSL check WIP * WIP, new tests are needed. * Added ezkemboi test cases * Added ezkemboi test cases * Added ezkemboi test cases * Updated description of isHSL in readme. * Fixed readme
Configuration menu - View commit details
-
Copy full SHA for b1a3b4f - Browse repository at this point
Copy the full SHA b1a3b4fView commit details
Commits on Feb 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9fffa90 - Browse repository at this point
Copy the full SHA 9fffa90View commit details
Commits on Mar 5, 2020
-
feat(isPassportNumber): Add Algeria Passport (DZ) (#1265)
* feat: Add Algeria Passport (DZ) * feat: add DZ(Algeria) Passport test add missing Algeria Country passport tester * fix(isPassportNumber:"DZ"): Remove trailing spaces remove missing trailing spaces. * fix(isPassport"DZ"):update the invalid rare cases remove the rare invalid cases to be fully invalid cases instead of them.
Configuration menu - View commit details
-
Copy full SHA for 2eb4049 - Browse repository at this point
Copy the full SHA 2eb4049View commit details
Commits on Mar 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for afafb54 - Browse repository at this point
Copy the full SHA afafb54View commit details
Commits on Mar 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 04769b5 - Browse repository at this point
Copy the full SHA 04769b5View commit details
Commits on Mar 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for df2c146 - Browse repository at this point
Copy the full SHA df2c146View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79cc4d7 - Browse repository at this point
Copy the full SHA 79cc4d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4db2711 - Browse repository at this point
Copy the full SHA 4db2711View commit details
Commits on Mar 22, 2020
-
feat(isFQDN): fix tld validation (#1091)
* feat(isFQDN): fix tld validation * feat(isFQDN): fix tld validation * fix: combine two instruction into one * fix: run testing commands Co-authored-by: Amine <Amine@anava.tn>
Configuration menu - View commit details
-
Copy full SHA for 2a3ad84 - Browse repository at this point
Copy the full SHA 2a3ad84View commit details -
feat(isCreditCard): added support for 19 digit cc (#1177)
* added support for 19 digit cc added support for 19 digit visa and discover * Update validators.js added tests
Configuration menu - View commit details
-
Copy full SHA for d4a5ee0 - Browse repository at this point
Copy the full SHA d4a5ee0View commit details
Commits on Mar 25, 2020
-
feat(isMobilePhone): add validation Sri Lanka locale (#1199)
* added 'en-SL' validation with a test and updated README * fixed according to the alphabetical order Co-authored-by: Madhavi96 <ishara.madhavi@syscolabs.com>
Configuration menu - View commit details
-
Copy full SHA for e153d87 - Browse repository at this point
Copy the full SHA e153d87View commit details -
fix(README): add missing isMobilePhone locales (#1273)
- add am-Am - arrange da-DK - add es-CL - add fo-FO - add kl-GL - arrange pt-BR - add fr-BE
Configuration menu - View commit details
-
Copy full SHA for 592c287 - Browse repository at this point
Copy the full SHA 592c287View commit details
Commits on Apr 4, 2020
-
feat(isIdentityCard): added support for Tunisia (#1112)
* added support for Tunisia National Identity Card test Successfully passed Signed-off-by: Mohamed Amin Boubaker <mohamed.amin.02@gmail.com> * package script update clean.win : clean script for windows buildtest : one script to build and test * don't need to add a buildtest command since pretest will be called automatically by npm test Signed-off-by: Mohamed Amin Boubaker <mohamed.amin.02@gmail.com> * use `yarn clean` command with `rimraf` for cross platform support Signed-off-by: Mohamed Amin Boubaker <mohamed.amin.02@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for db633ed - Browse repository at this point
Copy the full SHA db633edView commit details -
feat(isMobilePhone): add Costa Rica locale (#1279)
* Costa Rica mobile phone added. * Update isMobilePhone.js * Update README.md * Update validators.js * Update validators.js * Update validators.js * Update isMobilePhone.js * Update validators.js
Configuration menu - View commit details
-
Copy full SHA for ac7620a - Browse repository at this point
Copy the full SHA ac7620aView commit details
Commits on Apr 6, 2020
-
feat: add new isDate() validator (#1270)
* add support for isDate closes #1270 * added files * update readme * added date format support and handling edge cases * update readme * revert isEmail changes * review changes
Configuration menu - View commit details
-
Copy full SHA for ff11844 - Browse repository at this point
Copy the full SHA ff11844View commit details
Commits on Apr 7, 2020
-
fix: readme fix for isDate (#1280)
* readme fix * change category
Configuration menu - View commit details
-
Copy full SHA for 84f93fe - Browse repository at this point
Copy the full SHA 84f93feView commit details
Commits on Apr 18, 2020
-
feat(isIdentityCard): add support for zh-CN (#1281)
* add support for zh-CN in isIdentityCard() * feat: add isIdentityCard tests * fix: edit isIdentityCard tests field an eslint fix(#1281)
Configuration menu - View commit details
-
Copy full SHA for 2193913 - Browse repository at this point
Copy the full SHA 2193913View commit details
Commits on Apr 22, 2020
-
The format info was orphaned to a table cell by itself, in the wrong column
Configuration menu - View commit details
-
Copy full SHA for 4e0fc27 - Browse repository at this point
Copy the full SHA 4e0fc27View commit details
Commits on May 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for be34383 - Browse repository at this point
Copy the full SHA be34383View commit details
Commits on May 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8db3877 - Browse repository at this point
Copy the full SHA 8db3877View commit details -
fix: give names to default exports (#1289)
isLatLong & isPostalCode
Configuration menu - View commit details
-
Copy full SHA for 6b6a699 - Browse repository at this point
Copy the full SHA 6b6a699View commit details
Commits on May 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for aa31434 - Browse repository at this point
Copy the full SHA aa31434View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cc189e - Browse repository at this point
Copy the full SHA 1cc189eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb2e585 - Browse repository at this point
Copy the full SHA bb2e585View commit details
Commits on May 27, 2020
-
feat(isMobilePhone): add support for de-CH (#1314)
* feat(isMobilePhone): add support for de-CH * Tweak readme + move tests in new group * Clean strict mode tests
Configuration menu - View commit details
-
Copy full SHA for f2ffa59 - Browse repository at this point
Copy the full SHA f2ffa59View commit details -
feat(isBase64): add urlSafe support (#1277)
* added support for isBase64URL * updated lib for isBase64URL * update readme * refactor * conflict resolve * cleanup files
Configuration menu - View commit details
-
Copy full SHA for 027d092 - Browse repository at this point
Copy the full SHA 027d092View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3734367 - Browse repository at this point
Copy the full SHA 3734367View commit details -
feat(isPostalAddress): add nepal locale (#1317)
* Added postal code for nepal * Added NP locale to postal code
Configuration menu - View commit details
-
Copy full SHA for 678b52a - Browse repository at this point
Copy the full SHA 678b52aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8b8515 - Browse repository at this point
Copy the full SHA a8b8515View commit details -
feat(isIdentityCard): add indian aadhar (#1322)
* Added postal code for nepal * Added NP locale to postal code * Added country code to passport READNE * isIdentityCard -> Indian Aadhar & test bug fix
Configuration menu - View commit details
-
Copy full SHA for 29b17d2 - Browse repository at this point
Copy the full SHA 29b17d2View commit details -
fix: add assertion on isPassportNumber (#1319)
* feat: added zimbabwe mobile number validation * fix: added missing assertString on isPassportnumber * fix: linted
Configuration menu - View commit details
-
Copy full SHA for 8f5a027 - Browse repository at this point
Copy the full SHA 8f5a027View commit details -
fix(isJWT): modify to use urlsafe base64 (#1316)
* Merge conflicts resolved * Merge branch 'patch-jwt' of https://github.com/parasg1999/validator.js into patch-jwt * Pascal to camelcase * update base64 files * Fixed camelcase for consistency
Configuration menu - View commit details
-
Copy full SHA for 4407421 - Browse repository at this point
Copy the full SHA 4407421View commit details
Commits on May 28, 2020
-
feat(isIdentityCard): add norway locale (#1324)
* Fixes #1303 * Added postal code for nepal * Added NP locale to postal code * Added country code to passport READNE * Added norway identity card
Configuration menu - View commit details
-
Copy full SHA for e807fb9 - Browse repository at this point
Copy the full SHA e807fb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6185d9 - Browse repository at this point
Copy the full SHA c6185d9View commit details
Commits on May 29, 2020
-
1
Configuration menu - View commit details
-
Copy full SHA for 3dfad25 - Browse repository at this point
Copy the full SHA 3dfad25View commit details -
fix(isMobillePhone): update nl_NL locale (#1311)
* nl_NL formatting update 6 is not optional: correct: 0612345678, incorrect: 012345678 - change: '6?' to '6{1}' countryCode ('+31'), may also contain '00' instead of '+' correct, either: '+31612345678' || '0031612345678' - change: '(\+)' to '(\+|00)' when specifying country code it's optional to provide '0' between braces before 6 (eg: '+31(0)6...') correct, either: '+31(0)612345678' || +31612345678 - change: ^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$ * fix nl_NL mobile phone same as previous commit * updated test for new nl_NL mobile format * replace ; with , to succeed tests * updating (in)valid testdata to include previous data
Erik authoredMay 29, 2020 Configuration menu - View commit details
-
Copy full SHA for 1e4011a - Browse repository at this point
Copy the full SHA 1e4011aView commit details -
fix(isJSON): add option to allow primitives (#1328)
closes #1327 ++ No BC break Co-authored-by: LeviathanCalumet <matthieu.vallance@premista.fr>
Configuration menu - View commit details
-
Copy full SHA for dbb54f5 - Browse repository at this point
Copy the full SHA dbb54f5View commit details
There are no files selected for viewing
This file was deleted.
This file was deleted.