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 0.5.0 to 0.5.1

8

lib/mailparser.js

@@ -622,5 +622,11 @@ "use strict";

if (Object.prototype.toString.call(date) != "[object Date]" || date.toString() == "Invalid Date") {
date = datetime.strtotime(value);
try{
date = datetime.strtotime(value);
}catch(E){
return false;
}
if (date) {
date = new Date(date * 1000);
}else{
return false;
}

@@ -627,0 +633,0 @@ }

2

package.json
{
"name": "mailparser",
"description": "Asynchronous and non-blocking parser for mime encoded e-mail messages",
"version": "0.5.0",
"version": "0.5.1",
"author": "Andris Reinman",

@@ -6,0 +6,0 @@ "maintainers": [{

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