@expressen/tallahassee
Advanced tools
Comparing version 13.1.0 to 13.1.1
@@ -6,2 +6,6 @@ Changelog | ||
## 13.1.1 | ||
- fix "valid" email pattern, allow proper email to pass, and some strange ones like `.@.` which is apparently accepted by Chrome | ||
## 13.1.0 | ||
@@ -8,0 +12,0 @@ |
"use strict"; | ||
const kParent = Symbol.for("parent"); | ||
const emailPattern = /^([^@\s])+@([^@\s])+$/; | ||
@@ -86,3 +87,3 @@ class ValidateInput { | ||
case "email": | ||
return !/^\w+@\w+$/.test(this.value); | ||
return !emailPattern.test(this.value); | ||
} | ||
@@ -89,0 +90,0 @@ return false; |
{ | ||
"name": "@expressen/tallahassee", | ||
"version": "13.1.0", | ||
"version": "13.1.1", | ||
"description": "Lightweight client testing framework", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
123867
457
3507