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 3.0.0 to 3.0.1

2

build/index.cjs.js

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

"use strict";function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var EmailValidator=_interopDefault(require("email-validator")),requiredEmailPropType=function(e,r,i){var a=e[r];return null!=a&&"string"==typeof a&&EmailValidator.validate(a)?null:new TypeError("Invalid Email Prop Value: ".concat(a," for ").concat(r," in ").concat(i))},emailPropType=function(e,r,i){return null==e[r]?null:requiredEmailPropType(e,r,i)};emailPropType.isRequired=requiredEmailPropType,module.exports=emailPropType;
"use strict";var e,n=(e=require("email-validator"))&&"object"==typeof e&&"default"in e?e.default:e,r=function(e,r,t){var l=e[r];return null!=l&&"string"==typeof l&&n.validate(l)?null:new TypeError("Invalid Email Prop Value: ".concat(l," for ").concat(r," in ").concat(t))},t=function(e,n,t){return null==e[n]?null:r(e,n,t)};t.isRequired=r,module.exports=t;

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

import EmailValidator from"email-validator";var requiredEmailPropType=function(r,e,a){var i=r[e];return null!=i&&"string"==typeof i&&EmailValidator.validate(i)?null:new TypeError("Invalid Email Prop Value: ".concat(i," for ").concat(e," in ").concat(a))},emailPropType=function(r,e,a){return null==r[e]?null:requiredEmailPropType(r,e,a)};emailPropType.isRequired=requiredEmailPropType;export default emailPropType;
import n from"email-validator";var r=function(r,l,a){var t=r[l];return null!=t&&"string"==typeof t&&n.validate(t)?null:new TypeError("Invalid Email Prop Value: ".concat(t," for ").concat(l," in ").concat(a))},l=function(n,l,a){return null==n[l]?null:r(n,l,a)};l.isRequired=r;export default l;

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

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("email-validator")):"function"==typeof define&&define.amd?define(["email-validator"],n):e["email-prop-type"]=n(null)}(this,function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var n=function(n,t,r){var i=n[t];return null!=i&&"string"==typeof i&&e.validate(i)?null:new TypeError("Invalid Email Prop Value: ".concat(i," for ").concat(t," in ").concat(r))},t=function(e,t,r){return null==e[t]?null:n(e,t,r)};return t.isRequired=n,t});
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("email-validator")):"function"==typeof define&&define.amd?define(["email-validator"],n):(e=e||self)["email-prop-type"]=n(e["email-validator"])}(this,(function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var n=function(n,t,i){var r=n[t];return null!=r&&"string"==typeof r&&e.validate(r)?null:new TypeError("Invalid Email Prop Value: ".concat(r," for ").concat(t," in ").concat(i))},t=function(e,t,i){return null==e[t]?null:n(e,t,i)};return t.isRequired=n,t}));
{
"name": "email-prop-type",
"version": "3.0.0",
"version": "3.0.1",
"description": "React Email Prop Type",

@@ -21,11 +21,12 @@ "keywords": [

"build": "BABEL_ENV=production rollup -c",
"codecov": "codecov",
"commitmsg": "commitlint -e $GIT_PARAMS",
"codecov": "npx codecov",
"commitmsg": "npx commitlint -e $GIT_PARAMS",
"deploy": "npm run travis-deploy-once 'npm run semantic-release'",
"gc": "commit",
"lint": "eslint --ext .js .",
"is-build-es5": "npx es-check es5 './build/**/*.!(esm).js'",
"lint": "npx eslint --ext .js .",
"prepare": "npm run build",
"semantic-release": "semantic-release",
"test": "BABEL_ENV=test jest src/ --coverage --no-cache",
"travis-deploy-once": "travis-deploy-once"
"semantic-release": "npx semantic-release",
"test": "BABEL_ENV=test npx jest src/ --coverage --no-cache",
"travis-deploy-once": "npx travis-deploy-once"
},

@@ -43,9 +44,2 @@ "repository": {

"readme": "https://github.com/jaebradley/email-prop-type#readme",
"jest": {
"testEnvironment": "node",
"testPathIgnorePatterns": [
"<rootDir>/build/",
"<rootDir>/node_modules/"
]
},
"dependencies": {

@@ -55,28 +49,29 @@ "email-validator": "^2.0.4"

"devDependencies": {
"@babel/cli": "^7.0.0-beta.47",
"@babel/core": "^7.0.0-beta.47",
"@babel/preset-env": "^7.0.0-beta.47",
"@commitlint/cli": "^7.0.0",
"@commitlint/config-angular": "^7.0.1",
"@commitlint/prompt": "^7.0.0",
"@commitlint/prompt-cli": "^7.0.0",
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/preset-env": "^7.8.4",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-angular": "^8.3.4",
"@commitlint/prompt": "^8.3.5",
"@commitlint/prompt-cli": "^8.3.5",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.0.0",
"codecov": "^3.0.2",
"eslint": "^5.0.0",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-plugin-import": "^2.13.0",
"husky": "^0.14.3",
"jest": "^22.0.3",
"rollup": "^0.61.0",
"rollup-plugin-babel": "^4.0.0-beta.4",
"rollup-plugin-babel-minify": "^5.0.0",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-filesize": "^2.0.0",
"babel-jest": "^25.1.0",
"codecov": "^3.6.4",
"es-check": "^5.1.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.20.1",
"husky": "^4.2.1",
"jest": "^25.1.0",
"rollup": "^1.31.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-babel-minify": "^9.1.1",
"rollup-plugin-filesize": "^6.2.1",
"rollup-plugin-local-resolve": "^1.0.7",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-terser": "^1.0.1",
"semantic-release": "^15.0.0",
"travis-deploy-once": "^5.0.0"
"rollup-plugin-terser": "^5.2.0",
"semantic-release": "^17.0.2",
"travis-deploy-once": "^5.0.11"
}
}

@@ -1,9 +0,11 @@

# `email-prop-type`
[![Greenkeeper badge](https://badges.greenkeeper.io/jaebradley/email-prop-type.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.org/jaebradley/email-prop-type.svg?branch=master)](https://travis-ci.org/jaebradley/email-prop-type)
[![codecov](https://codecov.io/gh/jaebradley/email-prop-type/branch/master/graph/badge.svg)](https://codecov.io/gh/jaebradley/email-prop-type)
[![npm](https://img.shields.io/npm/dt/email-prop-type.svg)](https://www.npmjs.com/package/email-prop-type)
[![npm](https://img.shields.io/npm/v/email-prop-type.svg)](https://www.npmjs.com/package/email-prop-type)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/email-prop-type)
[![npm-total-downloads](https://img.shields.io/npm/dt/email-prop-type.svg)](https://www.npmjs.com/package/email-prop-type)
![GitHub](https://img.shields.io/github/license/jaebradley/email-prop-type)
# `email-prop-type`
## Introduction

@@ -10,0 +12,0 @@

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