mailparser 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/mail-parser.js +2 -1
- package/package.json +8 -8
package/lib/mail-parser.js
CHANGED
|
@@ -811,7 +811,8 @@ class MailParser extends Transform {
|
|
|
811
811
|
}
|
|
812
812
|
};
|
|
813
813
|
|
|
814
|
-
let
|
|
814
|
+
let algo = this.options.checksumAlgo || 'md5';
|
|
815
|
+
let hasher = new StreamHash(attachment, algo);
|
|
815
816
|
node.decoder.on('error', err => {
|
|
816
817
|
hasher.emit('error', err);
|
|
817
818
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mailparser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Parse e-mails",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
"libmime": "5.0.0",
|
|
24
24
|
"linkify-it": "3.0.2",
|
|
25
25
|
"mailsplit": "5.0.1",
|
|
26
|
-
"nodemailer": "6.
|
|
27
|
-
"tlds": "1.
|
|
26
|
+
"nodemailer": "6.5.0",
|
|
27
|
+
"tlds": "1.219.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"ajv": "
|
|
31
|
-
"eslint": "7.
|
|
30
|
+
"ajv": "8.0.4",
|
|
31
|
+
"eslint": "7.23.0",
|
|
32
32
|
"eslint-config-nodemailer": "1.2.0",
|
|
33
|
-
"eslint-config-prettier": "
|
|
33
|
+
"eslint-config-prettier": "8.1.0",
|
|
34
34
|
"grunt": "1.3.0",
|
|
35
|
-
"grunt-cli": "1.
|
|
36
|
-
"grunt-contrib-nodeunit": "
|
|
35
|
+
"grunt-cli": "1.4.1",
|
|
36
|
+
"grunt-contrib-nodeunit": "3.0.0",
|
|
37
37
|
"grunt-eslint": "23.0.0",
|
|
38
38
|
"iconv": "3.0.0",
|
|
39
39
|
"random-message": "1.1.0"
|