@postalsys/email-text-tools 2.2.0 → 2.3.4

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.
@@ -6,32 +6,32 @@ on:
6
6
  permissions:
7
7
  contents: write
8
8
  pull-requests: write
9
+ issues: write
9
10
  id-token: write
10
11
 
11
12
  name: release
12
13
  jobs:
13
14
  release-please:
14
15
  runs-on: ubuntu-latest
16
+ outputs:
17
+ release_created: ${{ steps.release.outputs.release_created }}
15
18
  steps:
16
- - uses: google-github-actions/release-please-action@v3
19
+ - uses: googleapis/release-please-action@v4
17
20
  id: release
21
+
22
+ publish:
23
+ needs: release-please
24
+ if: ${{ needs.release-please.outputs.release_created }}
25
+ runs-on: ubuntu-latest
26
+ environment: npm-publish
27
+ permissions:
28
+ contents: read
29
+ id-token: write
30
+ steps:
31
+ - uses: actions/checkout@v4
32
+ - uses: actions/setup-node@v4
18
33
  with:
19
- release-type: node
20
- package-name: ${{vars.NPM_MODULE_NAME}}
21
- pull-request-title-pattern: 'chore${scope}: release ${version} [skip-ci]'
22
- # The logic below handles the npm publication:
23
- - uses: actions/checkout@v3
24
- # these if statements ensure that a publication only occurs when
25
- # a new release is created:
26
- if: ${{ steps.release.outputs.release_created }}
27
- - uses: actions/setup-node@v3
28
- with:
29
- node-version: 20
34
+ node-version: 24
30
35
  registry-url: 'https://registry.npmjs.org'
31
- if: ${{ steps.release.outputs.release_created }}
32
36
  - run: npm ci
33
- if: ${{ steps.release.outputs.release_created }}
34
37
  - run: npm publish --provenance --access public
35
- env:
36
- NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
37
- if: ${{ steps.release.outputs.release_created }}
package/.ncurc.js CHANGED
@@ -3,6 +3,6 @@ module.exports = {
3
3
  reject: [
4
4
  // Block package upgrades that moved to ESM
5
5
  'nanoid',
6
- 'eslint-config-prettier'
6
+ 'jsdom' // parse5 dependency in 27.0.1 is ESM only
7
7
  ]
8
8
  };
@@ -0,0 +1,14 @@
1
+ # Auto-generated files
2
+ CHANGELOG.md
3
+
4
+ # Dependencies
5
+ node_modules/
6
+ package-lock.json
7
+
8
+ # Build output
9
+ dist/
10
+ build/
11
+ coverage/
12
+
13
+ # Logs
14
+ *.log
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "2.3.4"
3
+ }
package/CHANGELOG.md CHANGED
@@ -1,6 +1,35 @@
1
1
  # Changelog
2
2
 
3
- ## [2.2.0](https://github.com/postalsys/email-text-tools/compare/v2.1.16...v2.2.0) (2025-09-29)
3
+ ## [2.3.4](https://github.com/postalsys/email-text-tools/compare/email-text-tools-v2.3.3...email-text-tools-v2.3.4) (2025-10-23)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Downgraded jsdom to 27.0.0 ([a2969e9](https://github.com/postalsys/email-text-tools/commit/a2969e9399ed6c9d15a85d7d8c11342bc5bf00ce))
9
+
10
+ ## [2.3.3](https://github.com/postalsys/email-text-tools/compare/email-text-tools-v2.3.2...email-text-tools-v2.3.3) (2025-10-23)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * remove registry-url to enable OIDC authentication for trusted publishing ([319e61e](https://github.com/postalsys/email-text-tools/commit/319e61ed7c83af3db4f0a58f4b5b85c296f6f6a6))
16
+ * upgrade Node.js to version 24 for OIDC trusted publishing support ([fd41ca2](https://github.com/postalsys/email-text-tools/commit/fd41ca22a959c06eb2df4e8b957a0da86f42d9da))
17
+
18
+ ## [2.3.2](https://github.com/postalsys/email-text-tools/compare/email-text-tools-v2.3.1...email-text-tools-v2.3.2) (2025-10-23)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * separate publish job with npm-publish environment for trusted publishing ([1ea55bd](https://github.com/postalsys/email-text-tools/commit/1ea55bdcfa0726f48d927fb970cf900a4cd4943f))
24
+
25
+ ## [2.3.1](https://github.com/postalsys/email-text-tools/compare/email-text-tools-v2.3.0...email-text-tools-v2.3.1) (2025-10-23)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * trigger release to test npm publishing configuration ([88e7110](https://github.com/postalsys/email-text-tools/commit/88e711007a73a88e0f40b5bfb278826821c1fc6a))
31
+
32
+ ## [2.3.0](https://github.com/postalsys/email-text-tools/compare/email-text-tools-v2.2.0...email-text-tools-v2.3.0) (2025-10-23)
4
33
 
5
34
 
6
35
  ### Features
@@ -10,9 +39,39 @@
10
39
 
11
40
  ### Bug Fixes
12
41
 
42
+ * bumped deps ([45f4533](https://github.com/postalsys/email-text-tools/commit/45f453390e00a8b5dea00c0ab3a7b4a742e9b3ce))
43
+ * Bumped deps ([519eb91](https://github.com/postalsys/email-text-tools/commit/519eb913a2aa91afe2eb1c782186f4f043ce1c55))
44
+ * Bumped deps ([00af333](https://github.com/postalsys/email-text-tools/commit/00af333ece8b1e6d14091fda1aea7662f314c721))
45
+ * Bumped deps ([da979c9](https://github.com/postalsys/email-text-tools/commit/da979c9feef5c8fd4e08b9967cbffcc058a70677))
46
+ * **deploy:** Set up automatic deployment ([21e55be](https://github.com/postalsys/email-text-tools/commit/21e55be18bb2ac1b991ee6000928c429a5b09ddd))
47
+ * **deploy:** Set up automatic deployment ([c816aaf](https://github.com/postalsys/email-text-tools/commit/c816aafa0457318cfd84497dfcd4e5628503c5b4))
48
+ * **deps:** Bumped deps ([3b71891](https://github.com/postalsys/email-text-tools/commit/3b71891b2c6bcb5d87fb9f583a2aec221bcb142f))
49
+ * **deps:** Bumped deps ([498e56a](https://github.com/postalsys/email-text-tools/commit/498e56a011321f2f437c461008724ca07233eb41))
50
+ * **deps:** Bumped deps ([59e44d8](https://github.com/postalsys/email-text-tools/commit/59e44d8cb0877e407becac7ef6744a4dfcdba083))
51
+ * **deps:** Bumped deps ([4f8a120](https://github.com/postalsys/email-text-tools/commit/4f8a1208b2841d343baf610c1391788b60b4297c))
52
+ * **deps:** Bumped deps ([a6711a1](https://github.com/postalsys/email-text-tools/commit/a6711a1938d8e2e75f5afd83b5a8c443be0adb9c))
53
+ * **deps:** Bumped deps ([15233fa](https://github.com/postalsys/email-text-tools/commit/15233fa7850f3227bfbc4f06500f0f267e651913))
54
+ * **deps:** Bumped deps ([4815314](https://github.com/postalsys/email-text-tools/commit/4815314f9d36da2b2163d6990acc8f68fc1bc356))
55
+ * **deps:** Bumped deps (juice) ([69eaee3](https://github.com/postalsys/email-text-tools/commit/69eaee36cceadbbf5ebf23caaf24385c38859a03))
56
+ * **deps:** fixed deps ([ccf26e2](https://github.com/postalsys/email-text-tools/commit/ccf26e2f0f8047482b9cc7e71cd0a3e61b286ddc))
57
+ * **deps:** removed js-beautify ([a73ccc9](https://github.com/postalsys/email-text-tools/commit/a73ccc97a4acf9bfa7e439939c41869c2554b073))
13
58
  * **mime-html:** ensure async version pre-filters problematic CSS selectors ([5166f71](https://github.com/postalsys/email-text-tools/commit/5166f714b8532c62aa33c76b2b4e2ac3c8642ca6))
59
+ * removed unneeded console log lines ([3a10214](https://github.com/postalsys/email-text-tools/commit/3a1021483029a1c99df122241c4e0f6062b91059))
60
+ * rename release-please config file to remove dot prefix ([0bb0343](https://github.com/postalsys/email-text-tools/commit/0bb0343f7c4d35f62b66b159604ba0f19665a177))
61
+ * upgrade tooling and configure release-please v4 ([4620dd7](https://github.com/postalsys/email-text-tools/commit/4620dd7d67c70486789af35abb1732ee151545c0))
14
62
  * **worker-pool:** properly return workers to free list after task completion ([2d6cd2c](https://github.com/postalsys/email-text-tools/commit/2d6cd2c451941932d44d2ce025a5ba867ec66fec))
15
63
 
64
+ ## [2.2.0](https://github.com/postalsys/email-text-tools/compare/v2.1.16...v2.2.0) (2025-09-29)
65
+
66
+ ### Features
67
+
68
+ - **mime-html:** add timeout protection for CSS processing with juice ([9bd3542](https://github.com/postalsys/email-text-tools/commit/9bd35426642c00c20fa1a8ce9c898f7ab7fc7e43))
69
+
70
+ ### Bug Fixes
71
+
72
+ - **mime-html:** ensure async version pre-filters problematic CSS selectors ([5166f71](https://github.com/postalsys/email-text-tools/commit/5166f714b8532c62aa33c76b2b4e2ac3c8642ca6))
73
+ - **worker-pool:** properly return workers to free list after task completion ([2d6cd2c](https://github.com/postalsys/email-text-tools/commit/2d6cd2c451941932d44d2ce025a5ba867ec66fec))
74
+
16
75
  ## [2.1.16](https://github.com/postalsys/email-text-tools/compare/v2.1.15...v2.1.16) (2025-06-29)
17
76
 
18
77
  ### Bug Fixes
package/eslint.config.js CHANGED
@@ -29,9 +29,8 @@ module.exports = [
29
29
  }
30
30
  },
31
31
  rules: {
32
- indent: 0,
33
- 'no-await-in-loop': 0,
34
- 'require-atomic-updates': 0,
32
+ 'no-await-in-loop': 'off',
33
+ 'require-atomic-updates': 'off',
35
34
  'no-unused-vars': [
36
35
  'error',
37
36
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postalsys/email-text-tools",
3
- "version": "2.2.0",
3
+ "version": "2.3.4",
4
4
  "description": "Email text tools",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -25,21 +25,20 @@
25
25
  },
26
26
  "homepage": "https://github.com/postalsys/email-text-tools#readme",
27
27
  "devDependencies": {
28
- "@eslint/js": "^9.36.0",
29
- "eslint": "^9.36.0",
30
- "eslint-config-nodemailer": "1.2.0",
31
- "eslint-config-prettier": "9.1.0",
32
- "prettier": "^3.6.2"
28
+ "@eslint/js": "9.38.0",
29
+ "eslint": "9.38.0",
30
+ "eslint-config-prettier": "10.1.8",
31
+ "prettier": "3.6.2"
33
32
  },
34
33
  "dependencies": {
35
- "dompurify": "3.2.7",
34
+ "dompurify": "3.3.0",
36
35
  "he": "1.2.0",
37
36
  "html-to-text": "9.0.5",
38
37
  "jsdom": "27.0.0",
39
- "juice": "^11.0.2",
38
+ "juice": "11.0.3",
40
39
  "linkify-it": "5.0.0",
41
40
  "moment-timezone": "0.6.0",
42
41
  "node-html-parser": "7.0.1",
43
- "tlds": "1.260.0"
42
+ "tlds": "1.261.0"
44
43
  }
45
44
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "packages": {
3
+ ".": {
4
+ "release-type": "node",
5
+ "package-name": "@postalsys/email-text-tools",
6
+ "pull-request-title-pattern": "chore${scope}: release ${version} [skip-ci]"
7
+ }
8
+ }
9
+ }