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

mailparser

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailparser - npm Package Compare versions

Comparing version 3.6.4 to 3.6.5

2

lib/simple-parser.js

@@ -90,3 +90,3 @@ 'use strict';

['subject', 'references', 'date', 'to', 'from', 'to', 'cc', 'bcc', 'message-id', 'in-reply-to', 'reply-to'].forEach(key => {
if (mail.headers.has(key)) {
if (mail.headers && mail.headers.has(key)) {
mail[key.replace(/-([a-z])/g, (m, c) => c.toUpperCase())] = mail.headers.get(key);

@@ -93,0 +93,0 @@ }

{
"name": "mailparser",
"version": "3.6.4",
"version": "3.6.5",
"description": "Parse e-mails",

@@ -21,3 +21,3 @@ "main": "index.js",

"he": "1.2.0",
"html-to-text": "9.0.4",
"html-to-text": "9.0.5",
"iconv-lite": "0.6.3",

@@ -27,14 +27,14 @@ "libmime": "5.2.1",

"mailsplit": "5.4.0",
"nodemailer": "6.9.1",
"tlds": "1.236.0"
"nodemailer": "6.9.3",
"tlds": "1.240.0"
},
"devDependencies": {
"ajv": "8.12.0",
"eslint": "8.35.0",
"eslint": "8.44.0",
"eslint-config-nodemailer": "1.2.0",
"eslint-config-prettier": "8.6.0",
"eslint-config-prettier": "8.8.0",
"grunt": "1.6.1",
"grunt-cli": "1.4.3",
"grunt-contrib-nodeunit": "4.0.0",
"grunt-eslint": "24.0.1",
"grunt-contrib-nodeunit": "5.0.0",
"grunt-eslint": "24.2.0",
"iconv": "3.0.1",

@@ -41,0 +41,0 @@ "random-message": "1.1.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