New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

email-validator-js-test

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

email-validator-js-test - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

22

index.js

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

import React from 'react';
function isEmail(email) {

@@ -16,22 +13,3 @@ const re = /^(([^<>()[\]\\.,;:\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,}))$/;

// function TextField({ id, placeholder, asterisk, label, onChange, index=0, value ,type,disabled=false,className}) {
// return (
// <div class={className} key={index}>
// <input
// name={id}
// placeholder={placeholder}
// value={value}
// id={id}
// type={type}
// disabled={disabled}
// onChange={onChange}
// />
// <label htmlFor={id} >
// {label} <span class="asterisk">{asterisk}</span>
// </label>
// </div>
// )
// }
module.exports = {isEmail,isEmpty,getDominan}

6

package.json
{
"name": "email-validator-js-test",
"version": "1.5.0",
"version": "1.6.0",
"description": "email validation using email-validator.js",
"main": "index.js",
"module": ".dist/index.mjs",
"scripts": {

@@ -13,6 +14,5 @@ "test": "echo \"Error: no test specified\" && exit 1"

},
"keywords": ["react", "component","email"],
"keywords": ["EMAIL"],
"author": "Anand",
"license": "ISC"
}
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