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.3 to 1.1.4

6

build/index.js

@@ -7,5 +7,5 @@ 'use strict';

var _isemail = require('isemail');
var _isemailEs = require('isemail-es5');
var _isemail2 = _interopRequireDefault(_isemail);
var _isemailEs2 = _interopRequireDefault(_isemailEs);

@@ -17,3 +17,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

if (value == null || typeof value !== 'string' || !_isemail2.default.validate(value)) {
if (value == null || typeof value !== 'string' || !_isemailEs2.default.validate(value)) {
return new TypeError('Invalid Email Prop Value: ' + value + ' for ' + propName + ' in ' + componentName);

@@ -20,0 +20,0 @@ }

@@ -1,1 +0,55 @@

{"name":"email-prop-type","version":"1.1.3","description":"React Prop Types Email Validator","main":"./build/index.js","scripts":{"codecov":"codecov","commitmsg":"commitlint -e $GIT_PARAMS","compile":"babel -d build/ src/ --ignore node_modules,*.test.js","lint":"eslint --ext .js .","test":"jest --coverage","prepublishOnly":"npm run compile","semantic-commit":"commit","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/jaebradley/email-prop-type.git"},"keywords":["react","prop-types"],"author":"jae.b.bradley@gmail.com","license":"MIT","bugs":{"url":"https://github.com/jaebradley/email-prop-type/issues"},"homepage":"https://github.com/jaebradley/email-prop-type#readme","jest":{"testEnvironment":"node"},"devDependencies":{"@commitlint/cli":"^5.1.1","@commitlint/config-angular":"^5.1.1","@commitlint/prompt":"^5.1.2","@commitlint/prompt-cli":"^5.1.2","babel-cli":"^6.26.0","babel-jest":"^22.0.3","babel-preset-es2015":"^6.24.1","babel-preset-es2016":"^6.24.1","babel-preset-es2017":"^6.24.1","babel-preset-stage-0":"^6.24.1","codecov":"^3.0.0","eslint":"^4.12.0","eslint-config-airbnb-base":"^12.1.0","eslint-plugin-import":"^2.8.0","husky":"^0.14.3","jest":"^22.0.3","semantic-release":"^8.2.0"},"dependencies":{"isemail":"^3.0.0"}}
{
"name": "email-prop-type",
"version": "1.1.4",
"description": "React Prop Types Email Validator",
"main": "./build/index.js",
"scripts": {
"codecov": "codecov",
"commitmsg": "commitlint -e $GIT_PARAMS",
"compile": "babel -d build/ src/ --ignore node_modules,*.test.js",
"lint": "eslint --ext .js .",
"test": "jest --coverage",
"prepublishOnly": "npm run compile",
"semantic-commit": "commit",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jaebradley/email-prop-type.git"
},
"keywords": [
"react",
"prop-types"
],
"author": "jae.b.bradley@gmail.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/jaebradley/email-prop-type/issues"
},
"homepage": "https://github.com/jaebradley/email-prop-type#readme",
"jest": {
"testEnvironment": "node"
},
"devDependencies": {
"@commitlint/cli": "^6.0.0",
"@commitlint/config-angular": "^6.0.2",
"@commitlint/prompt": "^6.0.0",
"@commitlint/prompt-cli": "^6.0.1",
"babel-cli": "^6.26.0",
"babel-jest": "^22.0.3",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2016": "^6.24.1",
"babel-preset-es2017": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"codecov": "^3.0.0",
"eslint": "^4.12.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.8.0",
"husky": "^0.14.3",
"jest": "^22.0.3",
"semantic-release": "^15.0.0"
},
"dependencies": {
"isemail-es5": "^3.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