@postalsys/email-ai-tools 2.4.2 → 3.0.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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.0.0](https://github.com/postalsys/email-ai-tools/compare/v2.4.3...v3.0.0) (2026-11-15)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * Node.js 22.22.2, 24.15.0 or newer is required (engines.node ^22.22.2 || ^24.15.0 || >=26.0.0).
9
+
10
+ ### Bug Fixes
11
+
12
+ * require Node.js 22, move to undici 8 and email-text-tools 3 ([f8cd424](https://github.com/postalsys/email-ai-tools/commit/f8cd424e977c03b3451142280064e735554163c1))
13
+
14
+ ## [2.4.3](https://github.com/postalsys/email-ai-tools/compare/v2.4.2...v2.4.3) (2026-11-10)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * update dependencies ([acf91ae](https://github.com/postalsys/email-ai-tools/commit/acf91aea1b6f8a72cc9aa8e1696648f5df95d9a5))
20
+
3
21
  ## [2.4.2](https://github.com/postalsys/email-ai-tools/compare/v2.4.1...v2.4.2) (2026-11-04)
4
22
 
5
23
 
package/README.md CHANGED
@@ -8,7 +8,7 @@ Summarize and risk-score email messages with an OpenAI-compatible chat model. Th
8
8
  npm install @postalsys/email-ai-tools
9
9
  ```
10
10
 
11
- Node.js 20 or later, no native dependencies. Ships ES module and CommonJS builds with type declarations: `import { generateSummary } from '@postalsys/email-ai-tools'` and `require('@postalsys/email-ai-tools')` both work.
11
+ Node.js 22.22.2, 24.15.0 or later, no native dependencies. Ships ES module and CommonJS builds with type declarations: `import { generateSummary } from '@postalsys/email-ai-tools'` and `require('@postalsys/email-ai-tools')` both work.
12
12
 
13
13
  ## generateSummary(message, apiToken, options)
14
14
 
@@ -1,2 +1,2 @@
1
1
  export declare const name = "@postalsys/email-ai-tools";
2
- export declare const version = "2.4.2";
2
+ export declare const version = "3.0.0";
@@ -3,4 +3,4 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.version = exports.name = void 0;
5
5
  exports.name = "@postalsys/email-ai-tools";
6
- exports.version = "2.4.2";
6
+ exports.version = "3.0.0";
@@ -1,2 +1,2 @@
1
1
  export declare const name = "@postalsys/email-ai-tools";
2
- export declare const version = "2.4.2";
2
+ export declare const version = "3.0.0";
@@ -1,3 +1,3 @@
1
1
  // Generated by scripts/build.js from package.json. Do not edit by hand.
2
2
  export const name = "@postalsys/email-ai-tools";
3
- export const version = "2.4.2";
3
+ export const version = "3.0.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postalsys/email-ai-tools",
3
- "version": "2.4.2",
3
+ "version": "3.0.0",
4
4
  "description": "Summarize and risk-score email messages with an OpenAI-compatible chat model",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",
@@ -76,29 +76,26 @@
76
76
  },
77
77
  "homepage": "https://github.com/postalsys/email-ai-tools#readme",
78
78
  "devDependencies": {
79
- "@types/node": "20.19.43",
79
+ "@types/node": "22.20.5",
80
80
  "c8": "12.0.0",
81
- "eslint": "10.14.0",
81
+ "eslint": "10.15.0",
82
82
  "eslint-config-prettier": "10.1.8",
83
83
  "globals": "17.14.0",
84
- "mailparser": "3.14.2",
85
- "prettier": "3.9.10",
84
+ "mailparser": "3.14.3",
85
+ "prettier": "3.10.1",
86
86
  "typescript": "6.0.3",
87
- "typescript-eslint": "8.72.1"
87
+ "typescript-eslint": "8.72.2"
88
88
  },
89
89
  "dependencies": {
90
- "@postalsys/email-text-tools": "2.6.3",
90
+ "@postalsys/email-text-tools": "3.0.0",
91
91
  "dom-serializer": "2.0.0",
92
92
  "domutils": "3.2.2",
93
93
  "htmlparser2": "10.1.0",
94
94
  "libmime": "5.6.4",
95
- "tldts": "7.4.19",
96
- "undici": "7.30.1"
97
- },
98
- "overrides": {
99
- "@asamuzakjp/css-color": "4.1.1"
95
+ "tldts": "7.5.4",
96
+ "undici": "8.12.4"
100
97
  },
101
98
  "engines": {
102
- "node": ">=20.0.0"
99
+ "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
103
100
  }
104
101
  }