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 2.1.0 to 2.2.0

5

lib/flowed-decoder.js

@@ -41,2 +41,7 @@ 'use strict';

let currentBody = Buffer.concat(this.chunks, this.chunklen);
if(this.options.encoding === 'base64') {
currentBody = new Buffer(currentBody.toString('binary'), 'base64');
}
let content = libmime.decodeFlowed(currentBody.toString('binary'), this.options.delSp);

@@ -43,0 +48,0 @@ this.push(Buffer.from(content, 'binary'));

3

lib/mail-parser.js

@@ -405,3 +405,4 @@ 'use strict';

decoder = new FlowedDecoder({
delSp: node.delSp
delSp: node.delSp,
encoding: newNode.encoding
});

@@ -408,0 +409,0 @@ flowDecoder.on('error', err => {

{
"name": "mailparser",
"version": "2.1.0",
"version": "2.2.0",
"description": "Parse e-mails",

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

"author": "Andris Reinman",
"license": "EUPL-1.1",
"license": "EUPL-1.1+",
"dependencies": {

@@ -19,12 +19,12 @@ "addressparser": "1.0.1",

"linkify-it": "2.0.3",
"mailsplit": "4.0.2",
"tlds": "1.197.0"
"mailsplit": "4.1.2",
"tlds": "1.199.0"
},
"devDependencies": {
"eslint-config-nodemailer": "^1.2.0",
"grunt": "^1.0.1",
"grunt": "^1.0.2",
"grunt-cli": "^1.2.0",
"grunt-contrib-nodeunit": "^1.0.0",
"grunt-eslint": "^20.1.0",
"libbase64": "^0.2.0",
"libbase64": "^1.0.2",
"libqp": "^1.1.0",

@@ -31,0 +31,0 @@ "random-message": "^1.1.0"

@@ -9,8 +9,4 @@ # mailparser

<a target='_blank' rel='nofollow' href='https://app.codesponsor.io/link/riRUvXLoy7hDEa8ptqPY9cHd/nodemailer/mailparser'>
<img alt='Sponsor' width='888' height='68' src='https://app.codesponsor.io/embed/riRUvXLoy7hDEa8ptqPY9cHd/nodemailer/mailparser.svg' />
</a>
### License
**EUPL-v1.1**
**EUPL-v1.1** or later
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