nodemailer 7.0.12 → 7.0.13
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 +7 -0
- package/lib/smtp-connection/index.js +6 -1
- package/lib/smtp-pool/index.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## [7.0.13](https://github.com/nodemailer/nodemailer/compare/v7.0.12...v7.0.13) (2026-01-27)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* downgrade transient connection error logs to warn level ([4c041db](https://github.com/nodemailer/nodemailer/commit/4c041db85d560e98bc5e1fd5d5a191835c5b7d2f))
|
|
9
|
+
|
|
3
10
|
## [7.0.12](https://github.com/nodemailer/nodemailer/compare/v7.0.11...v7.0.12) (2025-12-22)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -794,7 +794,12 @@ class SMTPConnection extends EventEmitter {
|
|
|
794
794
|
|
|
795
795
|
err = this._formatError(err, type, data, command);
|
|
796
796
|
|
|
797
|
-
|
|
797
|
+
const transientCodes = ['ETIMEDOUT', 'ESOCKET', 'ECONNECTION'];
|
|
798
|
+
if (transientCodes.includes(err.code)) {
|
|
799
|
+
this.logger.warn(data, err.message);
|
|
800
|
+
} else {
|
|
801
|
+
this.logger.error(data, err.message);
|
|
802
|
+
}
|
|
798
803
|
|
|
799
804
|
this.emit('error', err);
|
|
800
805
|
this.close();
|
package/lib/smtp-pool/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nodemailer",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.13",
|
|
4
4
|
"description": "Easy as cake e-mail sending from your Node.js applications",
|
|
5
5
|
"main": "lib/nodemailer.js",
|
|
6
6
|
"scripts": {
|
|
@@ -26,20 +26,20 @@
|
|
|
26
26
|
},
|
|
27
27
|
"homepage": "https://nodemailer.com/",
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@aws-sdk/client-sesv2": "3.
|
|
29
|
+
"@aws-sdk/client-sesv2": "3.975.0",
|
|
30
30
|
"bunyan": "1.8.15",
|
|
31
31
|
"c8": "10.1.3",
|
|
32
|
-
"eslint": "9.39.
|
|
32
|
+
"eslint": "9.39.2",
|
|
33
33
|
"eslint-config-prettier": "10.1.8",
|
|
34
|
-
"globals": "
|
|
34
|
+
"globals": "17.1.0",
|
|
35
35
|
"libbase64": "1.3.0",
|
|
36
36
|
"libmime": "5.3.7",
|
|
37
37
|
"libqp": "2.1.1",
|
|
38
38
|
"nodemailer-ntlm-auth": "1.0.4",
|
|
39
|
-
"prettier": "3.
|
|
39
|
+
"prettier": "3.8.1",
|
|
40
40
|
"proxy": "1.0.2",
|
|
41
41
|
"proxy-test-server": "1.0.0",
|
|
42
|
-
"smtp-server": "3.
|
|
42
|
+
"smtp-server": "3.18.0"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
45
|
"node": ">=6.0.0"
|