mailparser 3.6.8 → 3.7.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/CHANGELOG.md +14 -0
- package/lib/mail-parser.js +4 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.7.0](https://github.com/nodemailer/mailparser/compare/v3.6.9...v3.7.0) (2024-04-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **events:** Emit a new headerLines event to gain access the raw headers ([#364](https://github.com/nodemailer/mailparser/issues/364)) ([d33d7ec](https://github.com/nodemailer/mailparser/commit/d33d7ec4b8e32a4eb7a9a664cec5fdb545c274af))
|
|
9
|
+
|
|
10
|
+
## [3.6.9](https://github.com/nodemailer/mailparser/compare/v3.6.8...v3.6.9) (2024-02-29)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **deps:** Bumped deps ([db842ad](https://github.com/nodemailer/mailparser/commit/db842addd36e2fe94d0c4b466da80719a36f47ac))
|
|
16
|
+
|
|
3
17
|
## [3.6.8](https://github.com/nodemailer/mailparser/compare/v3.6.7...v3.6.8) (2024-02-29)
|
|
4
18
|
|
|
5
19
|
|
package/lib/mail-parser.js
CHANGED
|
@@ -797,6 +797,10 @@ class MailParser extends Transform {
|
|
|
797
797
|
}
|
|
798
798
|
});
|
|
799
799
|
this.emit('headers', node.headers);
|
|
800
|
+
|
|
801
|
+
if (node.headerLines) {
|
|
802
|
+
this.emit('headerLines', node.headerLines);
|
|
803
|
+
}
|
|
800
804
|
}
|
|
801
805
|
|
|
802
806
|
if (data.contentType === 'message/rfc822' && data.messageNode) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mailparser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"description": "Parse e-mails",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"libmime": "5.3.4",
|
|
25
25
|
"linkify-it": "5.0.0",
|
|
26
26
|
"mailsplit": "5.4.0",
|
|
27
|
-
"nodemailer": "6.9.
|
|
27
|
+
"nodemailer": "6.9.11",
|
|
28
28
|
"punycode": "2.3.1",
|
|
29
29
|
"tlds": "1.250.0"
|
|
30
30
|
},
|