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

smtp-address-parser

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smtp-address-parser - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

3

dist/lib/grammar.js

@@ -8,6 +8,7 @@ "use strict";

function id(d) { return d[0]; }
const deepFlatten = (arr) => [].concat(...arr.map((v) => (Array.isArray(v) ? deepFlatten(v) : v)));
function flat_string(d) {
if (d) {
if (Array.isArray(d))
return d.flat(Infinity).join("");
return deepFlatten(d).join("");
return d;

@@ -14,0 +15,0 @@ }

{
"name": "smtp-address-parser",
"version": "1.0.2",
"version": "1.0.3",
"description": "Parse an SMTP (RFC-5321) address",

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

{
"compilerOptions": {
"lib": ["es2020"],
"lib": ["es2018"],
"module": "commonjs",
"target": "es2020",
"target": "es2018",

@@ -7,0 +7,0 @@ "strict": true,

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc