node_modules: update (#261)

Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
Dawid Dziurla
2026-02-09 10:59:27 +01:00
committed by GitHub
parent 63e792e90a
commit 5335a581b9
5 changed files with 29 additions and 8 deletions

View File

@@ -1,5 +1,14 @@
# CHANGELOG
## [8.0.1](https://github.com/nodemailer/nodemailer/compare/v8.0.0...v8.0.1) (2026-02-07)
### Bug Fixes
* absorb TLS errors during socket teardown ([7f8dde4](https://github.com/nodemailer/nodemailer/commit/7f8dde41438c66b8311e888fa5f8c518fcaba6f1))
* absorb TLS errors during socket teardown ([381f628](https://github.com/nodemailer/nodemailer/commit/381f628d55e62bb3131bd2a452fa1ce00bc48aea))
* Add Gmail Workspace service configuration ([#1787](https://github.com/nodemailer/nodemailer/issues/1787)) ([dc97ede](https://github.com/nodemailer/nodemailer/commit/dc97ede417b3030b311771541b1f17f5ca76bcbf))
## [8.0.0](https://github.com/nodemailer/nodemailer/compare/v7.0.13...v8.0.0) (2026-02-04)

View File

@@ -15,6 +15,7 @@ const CONNECTION_TIMEOUT = 2 * 60 * 1000; // how much to wait for the connection
const SOCKET_TIMEOUT = 10 * 60 * 1000; // how much to wait for socket inactivity before disconnecting the client
const GREETING_TIMEOUT = 30 * 1000; // how much to wait after connection is established but SMTP greeting is not receieved
const DNS_TIMEOUT = 30 * 1000; // how much to wait for resolveHostname
const TEARDOWN_NOOP = () => {}; // reusable no-op handler for absorbing errors during socket teardown
/**
* Generates a SMTP connection object
@@ -505,6 +506,9 @@ class SMTPConnection extends EventEmitter {
socket.removeListener('end', this._onSocketEnd);
socket.removeListener('error', this._onSocketError);
socket.removeListener('error', this._onConnectionSocketError);
// Absorb errors that may fire during socket teardown (e.g. server
// sending cleartext after TLS shutdown triggers ERR_SSL_BAD_RECORD_TYPE)
socket.on('error', TEARDOWN_NOOP);
socket[closeMethod]();
} catch (_E) {
// just ignore

View File

@@ -147,6 +147,14 @@
"secure": true
},
"GmailWorkspace": {
"description": "Gmail Workspace",
"aliases": ["Google Workspace Mail"],
"host": "smtp-relay.gmail.com",
"port": 465,
"secure": true
},
"GMX": {
"description": "GMX Mail",
"domains": ["gmx.com", "gmx.net", "gmx.de"],

10
node_modules/nodemailer/package.json generated vendored
View File

@@ -1,6 +1,6 @@
{
"name": "nodemailer",
"version": "8.0.0",
"version": "8.0.1",
"description": "Easy as cake e-mail sending from your Node.js applications",
"main": "lib/nodemailer.js",
"scripts": {
@@ -26,12 +26,12 @@
},
"homepage": "https://nodemailer.com/",
"devDependencies": {
"@aws-sdk/client-sesv2": "3.975.0",
"@aws-sdk/client-sesv2": "3.985.0",
"bunyan": "1.8.15",
"c8": "10.1.3",
"eslint": "9.39.2",
"eslint": "10.0.0",
"eslint-config-prettier": "10.1.8",
"globals": "17.1.0",
"globals": "17.3.0",
"libbase64": "1.3.0",
"libmime": "5.3.7",
"libqp": "2.1.1",
@@ -39,7 +39,7 @@
"prettier": "3.8.1",
"proxy": "1.0.2",
"proxy-test-server": "1.0.0",
"smtp-server": "3.18.0"
"smtp-server": "3.18.1"
},
"engines": {
"node": ">=6.0.0"