Socket
Socket
Sign inDemoInstall

email-validator

Package Overview
Dependencies
0
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.3 to 2.0.4

index.cjs.js

0

CHANGELOG.md

@@ -0,0 +0,0 @@ ## Change Log

@@ -0,0 +0,0 @@ /**

2

index.js
"use strict";
var tester = /^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-?\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;
var tester = /^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;
// Thanks to:

@@ -5,0 +5,0 @@ // http://fightingforalostcause.net/misc/2006/compare-email-regex.php

{
"name": "email-validator",
"version": "2.0.3",
"version": "2.0.4",
"author": "Manish Saraan <manish021js@gmail.com>",

@@ -5,0 +5,0 @@ "description": "Provides a fast, pretty robust e-mail validator. Only checks form, not function.",

@@ -0,0 +0,0 @@ # email-validator

@@ -16,2 +16,3 @@ const expect = require('chai').expect;

"one-letter-sld@x.org",
"test@test--1.com",
"uncommon-tld@sld.museum",

@@ -18,0 +19,0 @@ "uncommon-tld@sld.travel",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc