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

@helpdotcom/is

Package Overview
Dependencies
Maintainers
19
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helpdotcom/is - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

4

CHANGELOG.md

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

# 2017-05-25, Version 3.0.1 (Stable)
* [[086ec52751](https://git.help.com/common-backend/is/commit/086ec52751)] - index: isEmailName() should allow '@' in the name part (Dave Koston)
# 2017-05-23, Version 3.0.0 (Stable)

@@ -2,0 +6,0 @@

2

index.js

@@ -8,3 +8,3 @@ 'use strict'

const EMAIL_NAME_RE = new RegExp(
'^[a-z \\d!#\\$%&\'\\*\\+\\-\\/=\\?\\^_"`{\\|\\,\\(\\)'
'^[a-z \\d!#\\$%&\'\\*\\+\\-\\/=\\?\\^_"`{\\|\\,\\(\\)@'
+ '}~\\.\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]*'

@@ -11,0 +11,0 @@ + '<(.+)>$', 'i'

{
"name": "@helpdotcom/is",
"version": "3.0.0",
"version": "3.0.1",
"description": "isDate, isUUID, and isEmail for use with help-gen",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -59,2 +59,10 @@ 'use strict'

t.equal(is('<esatterwhite@wi.rr.com>'), true)
t.equal(
is('"fb.101.dylgermany@gmail.com" <fb.101.dylgermany@gmail.com>')
, true
)
t.equal(
is('fb.101.dylgermany@gmail.com <fb.101.dylgermany@gmail.com>')
, true
)
t.end()

@@ -61,0 +69,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