bfn-mailparser
Advanced tools
Comparing version 0.6.3 to 0.6.4
'use strict' | ||
var fs = require('fs') | ||
var MailParser = require('mailparser').MailParser | ||
module.exports = function (filePath, onEnd) { | ||
module.exports = function (onEnd) { | ||
var mailparser = new MailParser() | ||
mailparser.on('end', onEnd) | ||
fs.createReadStream(filePath).pipe(mailparser) | ||
return mailparser | ||
} |
{ | ||
"name": "bfn-mailparser", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"description": "Boot Fidelity MailParser", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
0
4867
23