New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.3.3 to 3.4.0

8

lib/mail-parser.js

@@ -17,3 +17,2 @@ 'use strict';

const encodingJapanese = require('encoding-japanese');
const anyDateParser = require('any-date-parser');

@@ -320,7 +319,4 @@ linkify

if (isNaN(dateValue)) {
dateValue = anyDateParser.fromString(value);
if (isNaN(dateValue)) {
// date parsing failed :S
dateValue = new Date();
}
// date parsing failed :S
dateValue = new Date();
}

@@ -327,0 +323,0 @@ value = dateValue;

{
"name": "mailparser",
"version": "3.3.3",
"version": "3.4.0",
"description": "Parse e-mails",

@@ -19,3 +19,2 @@ "main": "index.js",

"dependencies": {
"any-date-parser": "1.5.1",
"encoding-japanese": "1.0.30",

@@ -27,9 +26,9 @@ "he": "1.2.0",

"linkify-it": "3.0.3",
"mailsplit": "5.2.0",
"nodemailer": "6.6.5",
"tlds": "1.222.0"
"mailsplit": "5.3.1",
"nodemailer": "6.7.0",
"tlds": "1.224.0"
},
"devDependencies": {
"ajv": "8.6.3",
"eslint": "7.32.0",
"eslint": "8.0.0",
"eslint-config-nodemailer": "1.2.0",

@@ -39,3 +38,3 @@ "eslint-config-prettier": "8.3.0",

"grunt-cli": "1.4.3",
"grunt-contrib-nodeunit": "3.0.0",
"grunt-contrib-nodeunit": "4.0.0",
"grunt-eslint": "23.0.0",

@@ -42,0 +41,0 @@ "iconv": "3.0.1",

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