@flun/mailer 2.1.23 → 2.1.24
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 +6 -5
- package/lib/mime-node/index.js +2 -3
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
# 变更日志
|
|
2
|
+
## [2.1.24] - 2026-10-06 14:37
|
|
3
|
+
### 修复
|
|
4
|
+
- 修复了" lib\mime-node\index.js" 中'key' 声明方式错误的问题;
|
|
5
|
+
- 升级了依赖;
|
|
6
|
+
|
|
2
7
|
## [2.1.23] - 2026-09-29 19:29
|
|
3
8
|
### 更改
|
|
4
9
|
- 加固了拷贝文件的一些逻辑;
|
|
@@ -6,8 +11,4 @@
|
|
|
6
11
|
|
|
7
12
|
## [2.1.22] - 2026-07-22 21:48
|
|
8
13
|
### 优化:
|
|
9
|
-
- 对 'README.md' 中一些描述做了一些优化;
|
|
10
|
-
|
|
11
|
-
## [2.1.21] - 2026-07-06 16:20
|
|
12
|
-
### 优化:
|
|
13
|
-
- README 中“配置”章节细节优化;
|
|
14
|
+
- 对 'README.md' 中一些描述做了一些优化;
|
package/lib/mime-node/index.js
CHANGED
|
@@ -265,9 +265,8 @@ class MimeNode {
|
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
this._headers.forEach(header => {
|
|
268
|
-
let structured, param, value = header.value;
|
|
269
|
-
const
|
|
270
|
-
formattedHeaders = ['From', 'Sender', 'To', 'Cc', 'Bcc', 'Reply-To', 'Date', 'References'];
|
|
268
|
+
let structured, param, value = header.value, key = header.key;
|
|
269
|
+
const options = {}, formattedHeaders = ['From', 'Sender', 'To', 'Cc', 'Bcc', 'Reply-To', 'Date', 'References'];
|
|
271
270
|
|
|
272
271
|
if (value && typeof value === 'object' && !formattedHeaders.includes(key)) {
|
|
273
272
|
Object.keys(value).forEach(key => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flun/mailer",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.24",
|
|
4
4
|
"description": "A powerful and flexible email sending library for Node.js with multiple transport support (SMTP, SMTP Pool, Sendmail, Stream, JSON, SES)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"type": "git",
|
|
44
44
|
"url": "git+https://github.com/OpenFlun/mailer.git"
|
|
45
45
|
},
|
|
46
|
-
"homepage": "https://
|
|
46
|
+
"homepage": "https://github.com/OpenFlun/mailer#readme",
|
|
47
47
|
"bugs": {
|
|
48
48
|
"url": "https://github.com/OpenFlun/mailer/issues"
|
|
49
49
|
},
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"npm": ">=10.0.0"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@aws-sdk/client-sesv2": "^3.
|
|
56
|
+
"@aws-sdk/client-sesv2": "^3.1146.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"eslint": "^10.11.0",
|