mailparser 3.6.7 → 3.6.9
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/CHANGELOG.md +14 -0
- package/lib/mail-parser.js +4 -2
- package/package.json +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.6.9](https://github.com/nodemailer/mailparser/compare/v3.6.8...v3.6.9) (2024-02-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **deps:** Bumped deps ([db842ad](https://github.com/nodemailer/mailparser/commit/db842addd36e2fe94d0c4b466da80719a36f47ac))
|
|
9
|
+
|
|
10
|
+
## [3.6.8](https://github.com/nodemailer/mailparser/compare/v3.6.7...v3.6.8) (2024-02-29)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **punycode:** Fixes [#355](https://github.com/nodemailer/mailparser/issues/355) Deprecation warning of the punycode module ([#356](https://github.com/nodemailer/mailparser/issues/356)) ([0f35330](https://github.com/nodemailer/mailparser/commit/0f35330c87d715d38e8c853ae6c2f64d098b971d))
|
|
16
|
+
|
|
3
17
|
## [3.6.7](https://github.com/nodemailer/mailparser/compare/v3.6.6...v3.6.7) (2024-02-01)
|
|
4
18
|
|
|
5
19
|
|
package/lib/mail-parser.js
CHANGED
|
@@ -5,7 +5,7 @@ const libmime = require('libmime');
|
|
|
5
5
|
const addressparser = require('nodemailer/lib/addressparser');
|
|
6
6
|
const Transform = require('stream').Transform;
|
|
7
7
|
const Splitter = mailsplit.Splitter;
|
|
8
|
-
const punycode = require('punycode');
|
|
8
|
+
const punycode = require('punycode/');
|
|
9
9
|
const FlowedDecoder = require('mailsplit/lib/flowed-decoder');
|
|
10
10
|
const StreamHash = require('./stream-hash');
|
|
11
11
|
const iconv = require('iconv-lite');
|
|
@@ -365,6 +365,7 @@ class MailParser extends Transform {
|
|
|
365
365
|
case 'reply-to':
|
|
366
366
|
case 'delivered-to':
|
|
367
367
|
case 'return-path':
|
|
368
|
+
case 'disposition-notification-to':
|
|
368
369
|
value = addressparser(value);
|
|
369
370
|
this.decodeAddresses(value);
|
|
370
371
|
value = {
|
|
@@ -409,7 +410,8 @@ class MailParser extends Transform {
|
|
|
409
410
|
'mime-version',
|
|
410
411
|
'content-description',
|
|
411
412
|
'precedence',
|
|
412
|
-
'errors-to'
|
|
413
|
+
'errors-to',
|
|
414
|
+
'disposition-notification-to'
|
|
413
415
|
];
|
|
414
416
|
|
|
415
417
|
headers.forEach((value, key) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mailparser",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.9",
|
|
4
4
|
"description": "Parse e-mails",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,15 +21,16 @@
|
|
|
21
21
|
"he": "1.2.0",
|
|
22
22
|
"html-to-text": "9.0.5",
|
|
23
23
|
"iconv-lite": "0.6.3",
|
|
24
|
-
"libmime": "5.
|
|
24
|
+
"libmime": "5.3.4",
|
|
25
25
|
"linkify-it": "5.0.0",
|
|
26
26
|
"mailsplit": "5.4.0",
|
|
27
|
-
"nodemailer": "6.9.
|
|
28
|
-
"
|
|
27
|
+
"nodemailer": "6.9.11",
|
|
28
|
+
"punycode": "2.3.1",
|
|
29
|
+
"tlds": "1.250.0"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
31
32
|
"ajv": "8.12.0",
|
|
32
|
-
"eslint": "8.
|
|
33
|
+
"eslint": "8.57.0",
|
|
33
34
|
"eslint-config-nodemailer": "1.2.0",
|
|
34
35
|
"eslint-config-prettier": "9.1.0",
|
|
35
36
|
"grunt": "1.6.1",
|