@chubbyts/chubbyts-throwable-to-error 2.0.1 → 2.0.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.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -3
  3. package/package.json +20 -21
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2025 Dominik Zogg
1
+ Copyright (c) 2026 Dominik Zogg
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -23,14 +23,14 @@ It converts any throwable into an Error.
23
23
 
24
24
  ## Requirements
25
25
 
26
- * node: 18
26
+ * node: 20
27
27
 
28
28
  ## Installation
29
29
 
30
30
  Through [NPM](https://www.npmjs.com) as [@chubbyts/chubbyts-throwable-to-error][1].
31
31
 
32
32
  ```ts
33
- npm i @chubbyts/chubbyts-throwable-to-error@^1.3.2
33
+ npm i @chubbyts/chubbyts-throwable-to-error@^2.0.4
34
34
  ```
35
35
 
36
36
  ## Usage
@@ -47,6 +47,6 @@ try {
47
47
 
48
48
  ## Copyright
49
49
 
50
- 2025 Dominik Zogg
50
+ 2026 Dominik Zogg
51
51
 
52
52
  [1]: https://www.npmjs.com/package/@chubbyts/chubbyts-throwable-to-error
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chubbyts/chubbyts-throwable-to-error",
3
3
  "type": "module",
4
- "version": "2.0.1",
4
+ "version": "2.0.4",
5
5
  "description": "It converts any throwable into an Error.",
6
6
  "keywords": [
7
7
  "chubbyts",
@@ -11,16 +11,6 @@
11
11
  "author": "Dominik Zogg",
12
12
  "license": "MIT",
13
13
  "repository": "chubbyts/chubbyts-throwable-to-error",
14
- "scripts": {
15
- "build": "tsc",
16
- "cs-fix": "prettier --write src tests",
17
- "cs": "prettier --check src tests",
18
- "infection": "stryker run",
19
- "lint-fix": "eslint src tests eslint.config.js vitest.config.ts --fix",
20
- "lint": "eslint src tests",
21
- "prepare": "npm run build",
22
- "test": "vitest"
23
- },
24
14
  "prettier": {
25
15
  "printWidth": 120,
26
16
  "tabWidth": 2,
@@ -38,19 +28,28 @@
38
28
  }
39
29
  },
40
30
  "engines": {
41
- "node": ">=18"
31
+ "node": ">=20"
42
32
  },
43
33
  "devDependencies": {
44
- "@chubbyts/chubbyts-eslint": "^4.0.2",
45
- "@stryker-mutator/core": "^9.0.1",
46
- "@stryker-mutator/vitest-runner": "^9.0.1",
47
- "@types/node": "^24.0.1",
48
- "@vitest/coverage-v8": "^3.2.3",
49
- "prettier": "^3.5.3",
50
- "typescript": "^5.8.3",
51
- "vitest": "^3.2.3"
34
+ "@chubbyts/chubbyts-eslint": "^5.0.0",
35
+ "@stryker-mutator/core": "^9.6.0",
36
+ "@stryker-mutator/vitest-runner": "^9.6.0",
37
+ "@types/node": "^25.5.0",
38
+ "@vitest/coverage-v8": "^4.1.0",
39
+ "prettier": "^3.8.1",
40
+ "typescript": "^5.9.3",
41
+ "vitest": "^4.1.0"
52
42
  },
53
43
  "publishConfig": {
54
44
  "access": "public"
45
+ },
46
+ "scripts": {
47
+ "build": "tsc",
48
+ "cs-fix": "prettier --write src tests",
49
+ "cs": "prettier --check src tests",
50
+ "infection": "stryker run",
51
+ "lint-fix": "eslint src tests eslint.config.js vitest.config.ts --fix",
52
+ "lint": "eslint src tests",
53
+ "test": "vitest"
55
54
  }
56
- }
55
+ }