Comparing version 2.2.4 to 2.2.5
@@ -5,3 +5,3 @@ const util = require('../util'); | ||
email() { | ||
const emailRe = /^([\w\-_+]+(?:\.[\w\-_+]+)*)@((?:[\w\-]+\.)*\w[\w\-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i; | ||
var emailRe = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; | ||
@@ -8,0 +8,0 @@ return value => { |
{ | ||
"name": "livr", | ||
"version": "2.2.4", | ||
"version": "2.2.5", | ||
"description": "Lightweight validator supporting Language Independent Validation Rules Specification", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/koorchik/js-validator-livr", |
@@ -7,2 +7,21 @@ { | ||
"email5": "WRONG_EMAIL", | ||
"email6": "WRONG_EMAIL", | ||
"email7": "WRONG_EMAIL", | ||
"email8": "WRONG_EMAIL", | ||
"email9": "WRONG_EMAIL", | ||
"email10": "WRONG_EMAIL", | ||
"email11": "WRONG_EMAIL", | ||
"email12": "WRONG_EMAIL", | ||
"email13": "WRONG_EMAIL", | ||
"email14": "WRONG_EMAIL", | ||
"email15": "WRONG_EMAIL", | ||
"email16": "WRONG_EMAIL", | ||
"email17": "WRONG_EMAIL", | ||
"email18": "WRONG_EMAIL", | ||
"email19": "WRONG_EMAIL", | ||
"email20": "WRONG_EMAIL", | ||
"email21": "WRONG_EMAIL", | ||
"email22": "WRONG_EMAIL", | ||
"email23": "WRONG_EMAIL", | ||
"email24": "WRONG_EMAIL", | ||
@@ -9,0 +28,0 @@ "value_is_hash": "FORMAT_ERROR", |
@@ -7,2 +7,22 @@ { | ||
"email5": "username@mail.c om", | ||
"email6": "en ny@enny.devoffice.com", | ||
"email7": "enny..tester@devoffice.com", | ||
"email8": ".enny@enny.devoffice.com", | ||
"email9": "enny.devoffice.com", | ||
"email10": "test@test", | ||
"email11": "tester@enny..devoffice.com", | ||
"email12": "en(ny@enny.devoffice.com", | ||
"email13": "en)ny@enny.devoffice.com", | ||
"email14": "en[enny@devoffice.com", | ||
"email15": "en]ny@devoffice.com", | ||
"email16": "ho:rhe@tester.devoffice.com", | ||
"email17": "enny;tester@devoffice.com", | ||
"email18": "te,st@devoffice.com", | ||
"email19": "test<er@devoffice.com", | ||
"email20": "tes>ter@devoffice.com", | ||
"email21": "tester@@devoffice.com", | ||
"email22": "tester@tes ter.devoffice.com", | ||
"email23": "@enny tm.devoffice.com", | ||
"email24": "онстерович@письмо.рф ", | ||
"empty_field": "", | ||
@@ -9,0 +29,0 @@ "extra_field": "aaaa", |
@@ -7,2 +7,22 @@ { | ||
"email5": "email", | ||
"email6": "email", | ||
"email7": "email", | ||
"email8": "email", | ||
"email9": "email", | ||
"email10": "email", | ||
"email11": "email", | ||
"email12": "email", | ||
"email13": "email", | ||
"email14": "email", | ||
"email15": "email", | ||
"email16": "email", | ||
"email17": "email", | ||
"email18": "email", | ||
"email19": "email", | ||
"email20": "email", | ||
"email21": "email", | ||
"email22": "email", | ||
"email23": "email", | ||
"email24": "email", | ||
"empty_field": "email", | ||
@@ -9,0 +29,0 @@ |
@@ -5,4 +5,33 @@ { | ||
"email3": "test+test.t_e_s_t@mail.in.ua", | ||
"email4": "user@hotline.finance", | ||
"email5": "enny@enny.devoffice.com", | ||
"email6": "enny.tester@gmail.com", | ||
"email7": "enny#tester@mail.ru", | ||
"email8": "enny!enny@templatemonster.me", | ||
"email9": "enny@enny.devoffice.com", | ||
"email10": "enny$@enny.devoffice.com", | ||
"email11": "enny%tester@enny.devoffice.com", | ||
"email12": "enny&te@enny.devoffice.com", | ||
"email13": "enn*y@mail.ru", | ||
"email14": "en+ny@yahoo.com", | ||
"email15": "ennyqwerty@gmail.com", | ||
"email16": "ennyqwerty@yandex.com", | ||
"email17": "ennyqwerty@hotmail.com", | ||
"email18": "enny@templatemonster.me", | ||
"email19": "enny-newcheckout@templatemonster.me", | ||
"email20": "enny/tester@enny.devoffice.com", | ||
"email21": "en=ny@enny.devoffice.com", | ||
"email22": "tes?ter@enny.devoffice.com", | ||
"email23": "enny^enny@enny.devoffice.com", | ||
"email24": "enny_sk@enny.devoffice.com", | ||
"email25": "enn`y@enny.devoffice.com", | ||
"email26": "enny|sk@enny.devoffice.com", | ||
"email27": "er@enny.devoffice.com", | ||
"email28": "dd@hj.ff", | ||
"email29": "t@devoffice.com", | ||
"email30": "ennytesttesttesttesttesttesttesttesttesttesttesttesttesttesttest@te1.com", | ||
"email31": "er@enny.devoffice.com", | ||
"empty_field": "", | ||
"extra_field": "aaaa" | ||
} |
@@ -5,3 +5,31 @@ { | ||
"email3": "test+test.t_e_s_t@mail.in.ua", | ||
"email4": "user@hotline.finance", | ||
"email5": "enny@enny.devoffice.com", | ||
"email6": "enny.tester@gmail.com", | ||
"email7": "enny#tester@mail.ru", | ||
"email8": "enny!enny@templatemonster.me", | ||
"email9": "enny@enny.devoffice.com", | ||
"email10": "enny$@enny.devoffice.com", | ||
"email11": "enny%tester@enny.devoffice.com", | ||
"email12": "enny&te@enny.devoffice.com", | ||
"email13": "enn*y@mail.ru", | ||
"email14": "en+ny@yahoo.com", | ||
"email15": "ennyqwerty@gmail.com", | ||
"email16": "ennyqwerty@yandex.com", | ||
"email17": "ennyqwerty@hotmail.com", | ||
"email18": "enny@templatemonster.me", | ||
"email19": "enny-newcheckout@templatemonster.me", | ||
"email20": "enny/tester@enny.devoffice.com", | ||
"email21": "en=ny@enny.devoffice.com", | ||
"email22": "tes?ter@enny.devoffice.com", | ||
"email23": "enny^enny@enny.devoffice.com", | ||
"email24": "enny_sk@enny.devoffice.com", | ||
"email25": "enn`y@enny.devoffice.com", | ||
"email26": "enny|sk@enny.devoffice.com", | ||
"email27": "er@enny.devoffice.com", | ||
"email28": "dd@hj.ff", | ||
"email29": "t@devoffice.com", | ||
"email30": "ennytesttesttesttesttesttesttesttesttesttesttesttesttesttesttest@te1.com", | ||
"email31": "er@enny.devoffice.com", | ||
"empty_field": "" | ||
} |
@@ -5,3 +5,31 @@ { | ||
"email3": [ { "email": [] } ], | ||
"email4": "email", | ||
"email5": "email", | ||
"email6": "email", | ||
"email7": "email", | ||
"email8": "email", | ||
"email9": "email", | ||
"email10": "email", | ||
"email11": "email", | ||
"email12": "email", | ||
"email13": "email", | ||
"email14": "email", | ||
"email15": "email", | ||
"email16": "email", | ||
"email17": "email", | ||
"email18": "email", | ||
"email19": "email", | ||
"email20": "email", | ||
"email21": "email", | ||
"email22": "email", | ||
"email23": "email", | ||
"email24": "email", | ||
"email25": "email", | ||
"email26": "email", | ||
"email27": "email", | ||
"email28": "email", | ||
"email29": "email", | ||
"email30": "email", | ||
"email31": "email", | ||
"empty_field": "email" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
203125
3679