mailparser
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -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')); |
@@ -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 |
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
960
50706
8
1
12
+ Addedlibbase64@1.0.2(transitive)
+ Addedmailsplit@4.1.2(transitive)
+ Addedtlds@1.199.0(transitive)
- Removedmailsplit@4.0.2(transitive)
- Removedtlds@1.197.0(transitive)
Updatedmailsplit@4.1.2
Updatedtlds@1.199.0