email-prop-type
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -7,5 +7,5 @@ 'use strict'; | ||
var _isemailEs = require('isemail-es5'); | ||
var _emailValidator = require('email-validator'); | ||
var _isemailEs2 = _interopRequireDefault(_isemailEs); | ||
var _emailValidator2 = _interopRequireDefault(_emailValidator); | ||
@@ -17,3 +17,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
if (value == null || typeof value !== 'string' || !_isemailEs2.default.validate(value)) { | ||
if (value == null || typeof value !== 'string' || !_emailValidator2.default.validate(value)) { | ||
return new TypeError('Invalid Email Prop Value: ' + value + ' for ' + propName + ' in ' + componentName); | ||
@@ -20,0 +20,0 @@ } |
{ | ||
"name": "email-prop-type", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "React Prop Types Email Validator", | ||
@@ -53,4 +53,4 @@ "main": "./build/index.js", | ||
"dependencies": { | ||
"isemail-es5": "^3.1.1" | ||
"email-validator": "^1.1.1" | ||
} | ||
} |
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
6176
+ Addedemail-validator@^1.1.1
+ Addedemail-validator@1.2.3(transitive)
- Removedisemail-es5@^3.1.1
- Removedisemail-es5@3.1.1(transitive)
- Removedpunycode@2.3.1(transitive)