Socket
Socket
Sign inDemoInstall

addressparser

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

addressparser - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

1

index.js

@@ -205,3 +205,2 @@

"\"": "\"",
"'": "'",
"(": ")",

@@ -208,0 +207,0 @@ "<": ">",

2

package.json
{
"name": "addressparser",
"version": "0.1.2",
"version": "0.1.3",
"description": "Parse e-mail addresses",

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

@@ -64,3 +64,9 @@ var testCase = require('nodeunit').testCase,

test.done();
},
"Apostophe in name": function(test){
var input = "O'Neill",
expected = [{name: "O'Neill", address:""}];
test.deepEqual(addressparser(input), expected);
test.done();
}
}
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