GitHub / validatorjs/validator.js / commits
String validation
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| a79ff980 |
fix(isVAT): accept Spanish digit controls (#2849)
Signed-off-by: Arun <A****p@u****m> |
Arun <7****p@u****m>
Committed by: GitHub <n****y@g****m> |
18 days ago | |
| cdb7dafc | fix(index): export the real toString implementation (#2839) |
simonkundrik <1****k@u****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| d4e02eea |
docs: add agent guidance and threat model (#2828)
Co-authored-by: Sarhan Aissi <g****b@t****n> |
Samuel Moelius <3****s@u****m>
Committed by: GitHub <n****y@g****m> |
29 days ago | |
| 65a070c9 |
feat(isTaxID): add en-IN (PAN) support, rebase of #2032 by @ajinkyac03 (#2835)
Co-authored-by: ajinkyac03 <a****1@g****m> |
simonkundrik <1****k@u****m>
Committed by: GitHub <n****y@g****m> |
29 days ago | |
| 3576b412 | fix(isTaxID): correct dk-DK century digit 5-8 year threshold (#2819) |
hebulin <3****n@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| b18bde8b | fix(isVAT): reject stray comma in DO and VE VAT numbers (#2814) |
simonkundrik <1****k@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| ae1323ba | fix(isTaxID): reduce pl-PL and lv-LV check digit modulo 10 (#2827) |
Vincent Gao <g****0@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 0b9654ac |
feat(postalCode): postal code validator for Argentina (#2750)
Co-authored-by: Sarhan Aissi <s****i@g****m> |
rrbharath <r****h@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| cca32d61 | docs(README): fix isIMEI signature typo and broken license badge link (#2824) |
Søren Lindberg <d****g@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| d61319c9 | fix(normalizeEmail): correct typo Conversts -> Converts in comment (#2784) |
luo jiyin <l****n@h****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 7d42ed2d | fix(isByteLength): handle unpaired UTF-16 surrogates (#2822) |
Samuel Moelius <3****s@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| d563b158 | fix(isRgbColor): allow longer alpha decimal precision (#2825) |
Hashim Khan <6****4@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| ce62eb4c | docs(isMobilePhone): update documentation for implementation (#2770) |
rrbharath <r****h@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 1d8c299e | feat(postalCode): add postal code for Jordan (#2756) |
rrbharath <r****h@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| a38f15be | Fix isISO8601 rejecting valid ordinal day 360 (#2787) |
naveentehrpariya <8****a@u****m>
Committed by: GitHub <n****y@g****m> |
2 months ago | |
| 3d2f4b33 | fix(isISO8601): reject week-zero dates (W00 is never a valid ISO 8601 week) (... |
JSap0914 <1****4@u****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| 7fdc788e |
feat(isMobilePhone): add (en-CM) alias for Cameroon (fr-CM) mobile phone vali...
Co-authored-by: Copilot <1****t@u****m> |
Brice TatongK <9****k@u****m>
Committed by: GitHub <n****y@g****m> |
4 months ago | |
| e36b2790 |
ci: Add Node.js 24 version in CI workflow (#2696)
Co-authored-by: Rik Smale <1****k@u****m>, Rik Smale <1****k@u****m> |
Rubin Bhandari <r****i@g****m>
Committed by: GitHub <n****y@g****m> |
5 months ago | |
| 7a807970 |
maintenance: 2604 release (#2695)
Co-authored-by: Rik Smale <g****t@r****o> |
Rik Smale <1****k@u****m>
Committed by: GitHub <n****y@g****m> |
5 months ago | |
| 941db7fa | fix(isSlug): restrict allowed characters to valid slug charset (#2693) |
Shrawak <5****k@u****m>
Committed by: GitHub <n****y@g****m> |
5 months ago | |
| 2758f702 | chore: fix typo in comment (#2591) |
Noritaka Kobayashi <a****7@g****m>
Committed by: GitHub <n****y@g****m> |
5 months ago | |
| fcfbff59 | feat(isJson): allow any valid JSON value to pass (#2690) |
Cristiano Aguzzi <r****1@u****m>
Committed by: GitHub <n****y@g****m> |
5 months ago | |
| f06caee7 | refactor: replace if-then-else flow by a single return statement (#2592) |
Noritaka Kobayashi <a****7@g****m>
Committed by: GitHub <n****y@g****m> |
5 months ago | |
| 9fa1e3a4 | feat(isPostalCode): Add postal code for Monaco (#2682) |
Johan Klintberg <j****g@g****m>
Committed by: GitHub <n****y@g****m> |
6 months ago | |
| b1aea75a | feat(isMobilePhone): add Djibouti (fr-DJ) mobile phone validation (#2676) |
Kartikeya-guthub <k****7@g****m>
Committed by: GitHub <n****y@g****m> |
6 months ago | |
| f715cddd | fix(isPassportNumber): improve `MX` locale (#2643) |
jessroff <1****k@u****m>
Committed by: GitHub <n****y@g****m> |
6 months ago | |
| e8c6914f | fix(isTaxID): add formatted CPF support and additional test cases for pt-BR l... |
easedu <e****a@g****m>
Committed by: GitHub <n****y@g****m> |
6 months ago | |
| 90b0a9a4 | fix(isTaxID): improve `pt-BR` locale by adding support for alphanumeric CNPJ ... |
easedu <e****a@g****m>
Committed by: GitHub <n****y@g****m> |
6 months ago | |
| f39bb3be |
fix: ignore non-object options in isHexColor (#2660) (#2661)
Co-authored-by: Rubin Bhandari <r****i@g****m> |
yuna0831 <1****1@u****m>
Committed by: GitHub <n****y@g****m> |
6 months ago | |
| 88e0d3d8 | feat(isISO31661Alpha2/3): Add support for Kosovo (XK / XXK) (#2663) |
Johan POIRIER <1****4@u****m>
Committed by: GitHub <n****y@g****m> |
7 months ago | |
| c3dc37ca | added edge cases for isLength test (#2658) |
Manas karthik <m****0@g****m>
Committed by: GitHub <n****y@g****m> |
8 months ago | |
| 784e52a0 | docs(matches): add ReDoS note to README (#2640) |
Rik Smale <1****k@u****m>
Committed by: GitHub <n****y@g****m> |
9 months ago | |
| 65310479 | fix(isHexColor): add `require_hashtag` option (#2535) |
Sai <f****i@g****m>
Committed by: GitHub <n****y@g****m> |
9 months ago | |
| f605a9cf | fix(isURL): handle possible bypass with URL-encoded content (#2633) |
Rik Smale <1****k@u****m>
Committed by: GitHub <n****y@g****m> |
9 months ago | |
| a165ebee |
fix(isIBAN): improve `IR` locale (#2634)
Co-authored-by: Danial <s****i@p****o> |
Danial Soheili <3****i@u****m>
Committed by: GitHub <n****y@g****m> |
9 months ago | |
| 91133048 | fix(build): move to trusted publishing (#2631) |
Rik Smale <1****k@u****m>
Committed by: GitHub <n****y@g****m> |
10 months ago | |
| f2b5c17d | maintenance: 2511 release (#2627) |
Rik Smale <1****k@u****m>
Committed by: GitHub <n****y@g****m> |
10 months ago | |
| d457ecaf | fix(isLength): correctly handle Unicode variation selectors (#2616) |
Karol Wrótniak <w****l@g****m>
Committed by: GitHub <n****y@g****m> |
10 months ago | |
| f2e3633f | docs: add install instructions to contibution guide (#2621) |
Marc Bernard <5****s@u****m>
Committed by: GitHub <n****y@g****m> |
10 months ago | |
| cf401458 | fix: URL validation for hostnames with ports (no protocol) (#2622) |
Marc Bernard <5****s@u****m>
Committed by: GitHub <n****y@g****m> |
10 months ago | |
| 4af61243 |
maintenance: 2510 release (#2585)
Co-authored-by: Rubin Bhandari <r****i@g****m> |
Rik Smale <1****k@u****m>
Committed by: GitHub <n****y@g****m> |
10 months ago | |
| 30d4fe02 | 13.15.20 | Anthony Nandaa <p****a@g****m> | 10 months ago | |
| cbef5088 |
fix(isURL): improve protocol detection. Resolves CVE-2025-56200 (#2608)
Co-authored-by: Théo FIDRY <5****y@u****m>, manuelMarkDenver <m****r@g****m>, scottgigante-hubflow <s****t@g****i>, Henri Holopainen <h****n@e****d>, Rik Smale <1****k@u****m> |
Théo FIDRY <5****y@u****m>
Committed by: GitHub <n****y@g****m> |
11 months ago | |
| 6f436be3 | Fix typo in validators.test.js (#2581) |
Camillo Bruni <c****i@u****m>
Committed by: GitHub <n****y@g****m> |
12 months ago | |
| 3c857088 | Fix: correct French VAT (FR) validation regex and add tests (#2584) |
Amer <m****0@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| eee525cd |
#2491 #2573 Simplify isBase64 to prevent stack overflow (#2574)
Co-authored-by: Kevin Lentin <k****n@t****m> |
Kevin Lentin <g****b@l****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| abcc8ecb | feat(isAlpha, isAlphanumeric): add support for Indic locales (ta-IN, te-IN, k... |
AVADOOTHA RAJESH <1****h@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 72573b3d |
Add Qatar phone number validation (#2556)
Co-authored-by: Rubin Bhandari <r****i@g****m> |
Ward Khaddour <w****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 243f6c5f | docs(isMACAddress): improve ambiguous option description (#2563) |
Gabriel Bouyssou <c****t@s****v>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 3847c6f9 | maintenance: 2505 release (#2560) |
Rik Smale <1****k@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 9e503840 |
feat(isLicensePlate): Updated isLicensePlate to accept real pt-PT license pla...
Co-authored-by: Rubin Bhandari <r****i@g****m> |
castro <4****u@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 8d58ecba |
feat(isPostalCode): add `BD` locale (#2551)
Co-authored-by: Rubin Bhandari <r****i@g****m> |
Tanvir Islam <t****b@o****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| d91af4b8 |
docs(isURL): add info about require_tld (#2537)
Co-authored-by: Rik Smale <1****k@u****m> |
Scott Gress <s****t@p****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| d07eae6c | feat: add isUUID 'loose' option to validate UUID-like hexadecimal strings (#2... |
Malte Bastian <4****m@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| bdb8f9ea | fix(isPassportNumber): improve `US` (#2550) |
Yitzchak Schechter <1****r@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| fde5ed5d | test(isUUID): add tests for nil/max/all options (#2549) |
Rik Smale <1****k@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 791ef166 |
fix: remove using of includes to support IE (#2540)
Co-authored-by: Rik Smale <g****t@r****o> |
Rik Smale <1****k@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 0a39bb76 |
feat(isPostalCode): improve `TW` locale (#2529)
Co-authored-by: Rik Smale <1****k@u****m> |
Crocsx (Federico) <f****i@o****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| b72aabc2 | feat(isPostalCode): add `PK` locale (#2052) |
Mateen Irshad <m****v@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 991e5acc |
ci: update workflows (#2539)
Co-authored-by: Rik Smale <g****t@r****o> |
Rik Smale <1****k@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| fc7a60a1 |
test(isRgbColor): fix test expectations (#2538)
Co-authored-by: Rubin Bhandari <r****i@g****m> |
Rik Smale <1****k@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 90c19e8e |
fix(isIP): improve IPv6 regex (#2453)
Co-authored-by: shreysinha25 <s****a@s****n>, Rubin Bhandari <r****i@g****m> |
Shrey <5****2@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| b610a88c | Refactor assertString: Faster, less nested and more consistent. (#2372) |
Emerson Rabelo <6****o@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 055559d7 | fix(isMobilePhone): improve `ar-OM` locale (#2502) |
Tomás Castro <t****0@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 2866bb16 | feat(isTime) add withOptionalSeconds option (#2521) |
Ahron Greenberg (agree) <3****a@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| aacf9b52 | chore: make ddd optional and update phone number format (#2512) |
Renaldo Mateus <4****v@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| ab180938 | fix(isMobilePhone): improve `el-CY` locale (#2514) |
Khaled Ferjani <k****2@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| a18d57d9 |
Allow second digit in rgba alpha value (#2346)
Co-authored-by: Rik Smale <1****k@u****m> |
Luc Appelman <4****l@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 650a2fab |
feat(isBefore): allow usage of options object (#2088)
Co-authored-by: Rik Smale <1****k@u****m> |
Falk Schieber <1****v@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| c174a1fc |
fix(isPostalCode): improve `FR` locale (#2479)
Co-authored-by: rajput-balram <b****s@n****m>, Rubin Bhandari <r****i@g****m> |
Balram Singh Rajput <5****m@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 7ff247df | feat(isBase64): improve validation based on RFC4648 (#2491) |
AliReza Seyfpour <3****r@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 7ab06c4f | fix(isPassportNumber): improve CA locale (#2526) |
Evan bechtol <e****l@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| ac3d50a1 |
feat(isIP): allow usage of options object (#2089)
Co-authored-by: Rik Smale <1****k@u****m> |
Falk Schieber <1****v@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| f5da7fb6 | fix: right version in CHANGELOG 13.13.0 -> 13.15.0 | Anthony Nandaa <p****a@g****m> | over 1 year ago | |
| a665f3cb | 13.15.0 | Anthony Nandaa <p****a@g****m> | over 1 year ago | |
| 5e76a9f8 | release: 13.13.0 change log (#2536) |
Rik Smale <1****k@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| b6dea023 | fix(isMobilePhone): update Albanian phone number regex for valid formats (#2534) |
nichoola <n****u@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| a41c8deb | feat: isISO15924 (#2215) |
DivisionByZero <l****g@g****e>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| a7d5cffe | feat(isPhoneNumber): add validation for Macedonian [mk-MK] phone number (#2500) |
Eshwar S Devaramane <4****5@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| a1e84761 | fix(isIBAN): adjusting Ireland and Palestine IBAN regex (#2518) |
Deividas Balandis <d****s@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 86911d81 |
feat(isEmail): allow regexp in host_whitelist and host_blacklist (#2494)
Co-authored-by: Rubin Bhandari <r****i@g****m> |
Wei Kang <w****a@g****m>
Committed by: GitHub <n****y@g****m> |
almost 2 years ago | |
| f54599c8 | refactor: make brazilian postal code separator optional (#2493) |
ticmaisdev <1****v@u****m>
Committed by: GitHub <n****y@g****m> |
almost 2 years ago | |
| def7f3e5 |
feat(isMobilePhone): update phone regex for Ghana en-GH (#2362)
Co-authored-by: Rubin Bhandari <r****i@g****m> |
Nana Aboagye <9****6@u****m>
Committed by: GitHub <n****y@g****m> |
almost 2 years ago | |
| a066cd2a | Assign check digit to 0 if remainder is 10 (#2492) |
Joel Cheah Ui Yi <g****h@g****m>
Committed by: GitHub <n****y@g****m> |
almost 2 years ago | |
| fc31e6e7 |
Disallow mismatching length for isDate (#2481)
Co-authored-by: Rubin Bhandari <r****i@g****m> |
Kishan Soni <s****6@g****m>
Committed by: GitHub <n****y@g****m> |
almost 2 years ago | |
| a513deb9 | Update phone regex for Zambia (#2482) |
Kishan Soni <s****6@g****m>
Committed by: GitHub <n****y@g****m> |
almost 2 years ago | |
| 12b27a28 |
feat(isLength): Fix linting and merge errors for #2019 (#2474)
Co-authored-by: Falk Schieber <1****v@u****m>, Vatsal <b****2@g****m> |
Suven-p <p****n@g****m>
Committed by: GitHub <n****y@g****m> |
almost 2 years ago | |
| 66ddd9c0 |
feat(isMobilePhone): add validation for Kyrgyzstan [ky-KG] mobile phone numbe...
Co-authored-by: Rubin Bhandari <r****i@g****m> |
Aibek Sadraliev <a****v@g****m>
Committed by: GitHub <n****y@g****m> |
almost 2 years ago | |
| ff56dcf5 | fix(isDate): fix thrown error on certain invalid cases (#2443) |
Panagiotis Papadopoulos <1****0@u****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 96ff3b29 | test(testFunctions): display stringified arguments in error message (#2442) |
Panagiotis Papadopoulos <1****0@u****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| f2b1082f | fix: hard coded yandex domain conversion (#2441) |
Aayush Hindi <6****H@u****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 72c4674a |
feat(isLicensePlate): added License Plate Regex for en-SG (#2333)
Co-authored-by: Rubin Bhandari <r****i@g****m> |
Sabarinathan R <r****2@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 283a6a54 | fix(isEmail): email starting with double quotes (#2437) |
code0emperor <7****r@u****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 542cfba4 | feat(isURL): add max_allowed_length option (#2439) |
Alexander Zinin <f****y@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 1f159ead |
feat(ulid): ULID validation (#2294)
Co-authored-by: Rubin Bhandari <r****i@g****m> |
Arafat Islam <8****n@u****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 89e856c7 | fix(isUUID): fully support rfc9562 (#2421) |
Robert Kieffer <r****t@b****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| f81d8570 |
feat(isRgbColor): add `allowSpaces` option to allow/disallow spaces between c...
Co-authored-by: Brage Sekse Aarset <b****t@g****m> |
Ahmed H. Ismail <a****m@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 7d5ea2c1 | fix: remove bounty badge, no support (#2409) |
Anthony Nandaa <p****a@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 0d6ca5af |
fix: spell issues (#2423)
Co-authored-by: Rik Smale <1****k@u****m>, Rik Smale <1****k@u****m> |
Rubin Bhandari <r****i@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| efd5b62c |
docs: fix typos (#2323)
Co-authored-by: Rubin Bhandari <r****i@g****m> |
Ivan Barsukov <b****x@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago |