react-form-validator-component
Advanced tools
Comparing version 1.6.0 to 1.6.1
{ | ||
"name": "react-form-validator-component", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"main": "build/lib/index.js", | ||
@@ -5,0 +5,0 @@ "repository": "git@github.com:JDLT-Ltd/react-form-validator-component.git", |
@@ -16,3 +16,3 @@ const emailRegex = /^(([^<>()[\]\\.,;:\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,}))$/ | ||
validator: data => { | ||
if (((data.isArray() && data.length > 0) || data) || data === false) return true | ||
if (((data.isArray() && data.length > 0) && data) || data === false) return true | ||
return false | ||
@@ -19,0 +19,0 @@ }, |
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