mailparser
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -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 @@ } |
{ | ||
"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": [{ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
138124
3140