@thi.ng/errors 2.2.4 → 2.2.6
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 +1 -1
- package/README.md +8 -11
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
2
|
|
|
3
|
-
# 
|
|
3
|
+
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/errors)
|
|
6
6
|

|
|
7
|
-
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
This project is part of the
|
|
10
10
|
[@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
|
|
@@ -20,7 +20,7 @@ This project is part of the
|
|
|
20
20
|
|
|
21
21
|
## About
|
|
22
22
|
|
|
23
|
-
Custom error types and error factory functions
|
|
23
|
+
Custom error types and error factory functions
|
|
24
24
|
|
|
25
25
|
This package defines the following error types & helper functions to throw them:
|
|
26
26
|
|
|
@@ -56,14 +56,11 @@ ES module import:
|
|
|
56
56
|
|
|
57
57
|
For Node.js REPL:
|
|
58
58
|
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
node --experimental-repl-await
|
|
62
|
-
|
|
63
|
-
> const errors = await import("@thi.ng/errors");
|
|
59
|
+
```js
|
|
60
|
+
const errors = await import("@thi.ng/errors");
|
|
64
61
|
```
|
|
65
62
|
|
|
66
|
-
Package sizes (
|
|
63
|
+
Package sizes (brotli'd, pre-treeshake): ESM: 502 bytes
|
|
67
64
|
|
|
68
65
|
## Dependencies
|
|
69
66
|
|
|
@@ -114,7 +111,7 @@ i.e. if `process.env.NODE_ENV === "production"`.
|
|
|
114
111
|
|
|
115
112
|
## Authors
|
|
116
113
|
|
|
117
|
-
Karsten Schmidt
|
|
114
|
+
- [Karsten Schmidt](https://thi.ng)
|
|
118
115
|
|
|
119
116
|
If this project contributes to an academic publication, please cite it as:
|
|
120
117
|
|
|
@@ -129,4 +126,4 @@ If this project contributes to an academic publication, please cite it as:
|
|
|
129
126
|
|
|
130
127
|
## License
|
|
131
128
|
|
|
132
|
-
© 2018 - 2022 Karsten Schmidt // Apache
|
|
129
|
+
© 2018 - 2022 Karsten Schmidt // Apache License 2.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/errors",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.6",
|
|
4
4
|
"description": "Custom error types and error factory functions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "https://patreon.com/thing_umbrella"
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
|
-
"author": "Karsten Schmidt
|
|
24
|
+
"author": "Karsten Schmidt (https://thi.ng)",
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "yarn clean && tsc --declaration",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@microsoft/api-extractor": "^7.33.
|
|
38
|
-
"@thi.ng/testament": "^0.3.
|
|
39
|
-
"@types/node": "^18.11.
|
|
37
|
+
"@microsoft/api-extractor": "^7.33.7",
|
|
38
|
+
"@thi.ng/testament": "^0.3.7",
|
|
39
|
+
"@types/node": "^18.11.13",
|
|
40
40
|
"rimraf": "^3.0.2",
|
|
41
41
|
"tools": "^0.0.1",
|
|
42
|
-
"typedoc": "^0.23.
|
|
43
|
-
"typescript": "^4.
|
|
42
|
+
"typedoc": "^0.23.22",
|
|
43
|
+
"typescript": "^4.9.4"
|
|
44
44
|
},
|
|
45
45
|
"keywords": [
|
|
46
46
|
"assert",
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"thi.ng": {
|
|
94
94
|
"year": 2018
|
|
95
95
|
},
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
|
|
97
97
|
}
|