ac-custom-error 1.0.6 → 2.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.
@@ -12,11 +12,14 @@ on:
12
12
  jobs:
13
13
  build:
14
14
 
15
+ permissions:
16
+ contents: read
17
+
15
18
  runs-on: ubuntu-latest
16
19
 
17
20
  strategy:
18
21
  matrix:
19
- node-version: [16.x, 18.x]
22
+ node-version: [20.x, 22.x]
20
23
 
21
24
  steps:
22
25
  - uses: actions/checkout@v3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+
2
+ # [2.0.0](https://github.com/admiralcloud/ac-custom-error/compare/v1.0.6..v2.0.0) (2026-02-03 09:23:24)
3
+
4
+
5
+ ### Bug Fix
6
+
7
+ * **Misc:** Minimum version Node20 | MP | [f9975b7f3f99a0d0f4743387c8f4e477dfe3c339](https://github.com/admiralcloud/ac-custom-error/commit/f9975b7f3f99a0d0f4743387c8f4e477dfe3c339)
8
+ Minimum version Node20
9
+ Related issues:
10
+ ### Chores
11
+
12
+ * **Misc:** Add permission to workflow | MP | [eaadc0bce650011a656be931a84cc7849d48fd5f](https://github.com/admiralcloud/ac-custom-error/commit/eaadc0bce650011a656be931a84cc7849d48fd5f)
13
+ Add permission to workflow
14
+ Related issues:
15
+ ## BREAKING CHANGES
16
+ * **Misc:** Minimum version Node20
1
17
 
2
18
  ## [1.0.6](https://github.com/admiralcloud/ac-custom-error/compare/v1.0.5..v1.0.6) (2026-02-03 08:05:17)
3
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ac-custom-error",
3
- "version": "1.0.6",
3
+ "version": "2.0.0",
4
4
  "description": "Custom NodeJS error with error code and additional info",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/AdmiralCloud/ac-custom-error",
@@ -18,7 +18,7 @@
18
18
  "coverage": "nyc yarn run test"
19
19
  },
20
20
  "engines": {
21
- "node": ">=16.0.0"
21
+ "node": ">=20.0.0"
22
22
  },
23
23
  "resolutions": {
24
24
  "mocha/diff": "^8.0.3"