@postalsys/email-ai-tools 1.8.7 → 1.8.8

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
+ ## [1.8.8](https://github.com/postalsys/email-ai-tools/compare/v1.8.7...v1.8.8) (2024-07-03)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * better model listing ([05fff58](https://github.com/postalsys/email-ai-tools/commit/05fff589726c39f3b82691d4383e8d9242fc172f))
9
+ * bumped deps ([c253ed0](https://github.com/postalsys/email-ai-tools/commit/c253ed026313672adf9432412ab45d0e14870954))
10
+
3
11
  ## [1.8.7](https://github.com/postalsys/email-ai-tools/compare/v1.8.6...v1.8.7) (2024-04-12)
4
12
 
5
13
 
@@ -121,6 +121,7 @@ async function listModels(apiToken, opts) {
121
121
  .replace(/\b\d+k\b/gi, c => c.toUpperCase())
122
122
  .replace(/Dall E/g, 'Dall-E')
123
123
  .replace(/^Whisper /g, 'Whisper-')
124
+ .replace(/(\d{4}) (\d{2}) (\d{2})/g, (o, y, m, d) => `${y}-${m}-${d}`)
124
125
  .replace(/^(gpt|tts)\s/gi, (o, n) => `${n.toUpperCase()}-`);
125
126
  });
126
127
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postalsys/email-ai-tools",
3
- "version": "1.8.7",
3
+ "version": "1.8.8",
4
4
  "description": "Email AI tools",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -21,16 +21,16 @@
21
21
  "devDependencies": {
22
22
  "eslint-config-nodemailer": "1.2.0",
23
23
  "eslint-config-prettier": "9.1.0",
24
- "mailparser": "3.7.0"
24
+ "mailparser": "3.7.1"
25
25
  },
26
26
  "dependencies": {
27
- "@postalsys/email-text-tools": "2.1.8",
27
+ "@postalsys/email-text-tools": "2.1.9",
28
28
  "gpt3-tokenizer": "1.1.5",
29
- "libmime": "5.3.4",
29
+ "libmime": "5.3.5",
30
30
  "linkify-it": "5.0.0",
31
- "nodemailer": "6.9.13",
31
+ "nodemailer": "6.9.14",
32
32
  "punycode": "2.3.1",
33
- "tlds": "1.252.0",
33
+ "tlds": "1.253.0",
34
34
  "undici": "5.28.3"
35
35
  }
36
36
  }