Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

email-prop-type

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

email-prop-type - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

6

build/index.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc