nodemailer 10.0.14 → 10.0.15

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## [10.0.15](https://github.com/nodemailer/nodemailer/compare/v10.0.14...v10.0.15) (2026-10-05)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **errors:** inherit NodemailerError code from ErrnoException ([e99db61](https://github.com/nodemailer/nodemailer/commit/e99db61d51c244e184a3a79103d1d732ffb6376b)), closes [#1884](https://github.com/nodemailer/nodemailer/issues/1884)
9
+ * **errors:** keep NodemailerError compatible with @types/node 26 ErrnoException ([#1885](https://github.com/nodemailer/nodemailer/issues/1885)) ([b660328](https://github.com/nodemailer/nodemailer/commit/b6603286cc45bff52c13cc74e5ac47f424452fdc))
10
+
3
11
  ## [10.0.14](https://github.com/nodemailer/nodemailer/compare/v10.0.13...v10.0.14) (2026-10-03)
4
12
 
5
13
 
@@ -65,11 +65,11 @@ export declare const EFETCH = "EFETCH";
65
65
  * An Error together with the properties Nodemailer attaches to the errors it
66
66
  * hands to callers. Every property is optional, the set that is present
67
67
  * depends on where the error originated. Socket level errors keep the errno
68
- * and syscall fields Node.js sets on them.
68
+ * and syscall fields Node.js sets on them. `code` (see ERROR_CODES) is
69
+ * inherited from ErrnoException, not redeclared, so it follows the
70
+ * consumer's @types/node.
69
71
  */
70
72
  export interface NodemailerError extends NodeJS.ErrnoException {
71
- /** Nodemailer error code, see ERROR_CODES */
72
- code?: string | undefined;
73
73
  /** SMTP command that was in flight when the server replied with an error */
74
74
  command?: string | undefined;
75
75
  /** Raw SMTP server response */
@@ -1,3 +1,3 @@
1
1
  export declare const name = "nodemailer";
2
- export declare const version = "10.0.14";
2
+ export declare const version = "10.0.15";
3
3
  export declare const homepage = "https://nodemailer.com/";
@@ -3,5 +3,5 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.homepage = exports.version = exports.name = void 0;
5
5
  exports.name = 'nodemailer';
6
- exports.version = '10.0.14';
6
+ exports.version = '10.0.15';
7
7
  exports.homepage = 'https://nodemailer.com/';
@@ -65,11 +65,11 @@ export declare const EFETCH = "EFETCH";
65
65
  * An Error together with the properties Nodemailer attaches to the errors it
66
66
  * hands to callers. Every property is optional, the set that is present
67
67
  * depends on where the error originated. Socket level errors keep the errno
68
- * and syscall fields Node.js sets on them.
68
+ * and syscall fields Node.js sets on them. `code` (see ERROR_CODES) is
69
+ * inherited from ErrnoException, not redeclared, so it follows the
70
+ * consumer's @types/node.
69
71
  */
70
72
  export interface NodemailerError extends NodeJS.ErrnoException {
71
- /** Nodemailer error code, see ERROR_CODES */
72
- code?: string | undefined;
73
73
  /** SMTP command that was in flight when the server replied with an error */
74
74
  command?: string | undefined;
75
75
  /** Raw SMTP server response */
@@ -1,3 +1,3 @@
1
1
  export declare const name = "nodemailer";
2
- export declare const version = "10.0.14";
2
+ export declare const version = "10.0.15";
3
3
  export declare const homepage = "https://nodemailer.com/";
@@ -1,4 +1,4 @@
1
1
  // Generated by scripts/build.js from package.json. Do not edit by hand.
2
2
  export const name = 'nodemailer';
3
- export const version = '10.0.14';
3
+ export const version = '10.0.15';
4
4
  export const homepage = 'https://nodemailer.com/';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodemailer",
3
- "version": "10.0.14",
3
+ "version": "10.0.15",
4
4
  "description": "Easy as cake e-mail sending from your Node.js applications",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/nodemailer.js",
@@ -158,14 +158,14 @@
158
158
  "eslint": "10.12.0",
159
159
  "eslint-config-prettier": "10.1.8",
160
160
  "globals": "17.13.0",
161
- "libbase64": "1.3.1",
162
- "libmime": "5.4.6",
161
+ "libbase64": "1.3.2",
162
+ "libmime": "5.4.7",
163
163
  "libqp": "2.1.2",
164
- "mailauth": "7.1.0",
164
+ "mailauth": "7.1.1",
165
165
  "prettier": "3.9.9",
166
166
  "proxy": "1.0.2",
167
167
  "proxy-test-server": "1.0.0",
168
- "smtp-server": "3.19.16",
168
+ "smtp-server": "3.19.17",
169
169
  "tsx": "4.23.15",
170
170
  "typescript": "6.0.3",
171
171
  "typescript-eslint": "8.71.0"