@exodus/errors 2.1.0 → 2.1.1
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 +6 -0
- package/lib/stack.js +3 -1
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.1.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/errors@2.1.0...@exodus/errors@2.1.1) (2025-05-08)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- fix: remove `void` keyword (#12267)
|
|
11
|
+
|
|
6
12
|
## [2.1.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/errors@2.0.2...@exodus/errors@2.1.0) (2025-04-28)
|
|
7
13
|
|
|
8
14
|
### Features
|
package/lib/stack.js
CHANGED
|
@@ -25,7 +25,9 @@ export function captureStackTrace(err) {
|
|
|
25
25
|
return err.stack;
|
|
26
26
|
};
|
|
27
27
|
try {
|
|
28
|
-
void
|
|
28
|
+
// do NOT add "void", it will remove the whole line in a tragic transpilation accident
|
|
29
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
|
30
|
+
err.stack; // trigger prepareStackTrace
|
|
29
31
|
}
|
|
30
32
|
finally {
|
|
31
33
|
Error.prepareStackTrace = originalPrepareStackTrace;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/errors",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.1",
|
|
5
5
|
"description": "Utilities for error handling in client code, such as sanitization",
|
|
6
6
|
"author": "Exodus Movement, Inc.",
|
|
7
7
|
"repository": {
|
|
@@ -38,11 +38,10 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@exodus/errors-fixture": "^1.0.0",
|
|
41
|
-
"@types/minimalistic-assert": "^1.0.1"
|
|
42
|
-
"hermes-engine-cli": "^0.12.0"
|
|
41
|
+
"@types/minimalistic-assert": "^1.0.1"
|
|
43
42
|
},
|
|
44
43
|
"publishConfig": {
|
|
45
44
|
"access": "public"
|
|
46
45
|
},
|
|
47
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "5d915aed4f43c8b9377e87c902347aac778391d2"
|
|
48
47
|
}
|