@postalsys/email-text-tools 2.4.12 → 2.4.14

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/.ncurc.js CHANGED
@@ -5,7 +5,11 @@ module.exports = {
5
5
  'nanoid',
6
6
  'jsdom', // parse5 dependency in 27.0.1 is ESM only
7
7
  'juice', // 12+ is pure ESM (requires Node >=22.12) and breaks pkg builds
8
- 'node-html-parser', // 8+ depends on entities@8, which is pure ESM (no require export) and breaks CJS/pkg builds on Node <20.19; stay on 7.x (uses he)
8
+ // node-html-parser was rejected here on the grounds that 8+ depends on the pure-ESM entities@8.
9
+ // That is not how it ships: node-html-parser 9 bundles entities inline into dist/index.cjs and
10
+ // never require()s the package, so the ESM copy is installed but never loaded. Unpinned 2026-08,
11
+ // which also drops a duplicate parser from EmailEngine's tree (@postalsys/email-content already
12
+ // pulls 9.x). Keep it unpinned unless a release starts require()ing entities for real.
9
13
  // 6.0.0 changed the CommonJS export shape (named bindings instead of the constructor) and,
10
14
  // more importantly, stopped linkifying bare domains such as 'example.com' or 'www.example.org'
11
15
  // by default, which silently breaks autolinking in plain text emails. Stay on 5.x.
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "2.4.12"
2
+ ".": "2.4.14"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.4.14](https://github.com/postalsys/email-text-tools/compare/v2.4.13...v2.4.14) (2026-08-24)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **deps:** update html-to-text to 10.0.1 and dompurify to 3.4.14 ([cd9a19b](https://github.com/postalsys/email-text-tools/commit/cd9a19b877d903f88b31bf3888aaae92a3e2c4b9))
9
+
10
+ ## [2.4.13](https://github.com/postalsys/email-text-tools/compare/v2.4.12...v2.4.13) (2026-08-17)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **deps:** unpin node-html-parser and update to 9.0.1 ([585c333](https://github.com/postalsys/email-text-tools/commit/585c333730e5ac311ddeac7527c4dce4a7fba9df))
16
+
3
17
  ## [2.4.12](https://github.com/postalsys/email-text-tools/compare/v2.4.11...v2.4.12) (2026-08-11)
4
18
 
5
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postalsys/email-text-tools",
3
- "version": "2.4.12",
3
+ "version": "2.4.14",
4
4
  "description": "Email text tools",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -26,19 +26,19 @@
26
26
  "homepage": "https://github.com/postalsys/email-text-tools#readme",
27
27
  "devDependencies": {
28
28
  "@eslint/js": "10.0.1",
29
- "eslint": "10.8.1",
29
+ "eslint": "10.9.0",
30
30
  "eslint-config-prettier": "10.1.8",
31
31
  "prettier": "3.9.6"
32
32
  },
33
33
  "dependencies": {
34
- "dompurify": "3.4.13",
34
+ "dompurify": "3.4.14",
35
35
  "he": "1.2.0",
36
- "html-to-text": "10.0.0",
36
+ "html-to-text": "10.0.1",
37
37
  "jsdom": "27.0.0",
38
38
  "juice": "11.1.1",
39
39
  "linkify-it": "5.0.2",
40
40
  "moment-timezone": "0.6.3",
41
- "node-html-parser": "7.1.0",
41
+ "node-html-parser": "9.0.1",
42
42
  "tlds": "1.261.0"
43
43
  }
44
44
  }