@stacksjs/error-handling 0.50.0 → 0.52.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.
- package/README.md +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.mjs +1 -14
- package/package.json +14 -12
package/README.md
CHANGED
|
@@ -110,7 +110,7 @@ Quote from user [kstenerud](https://news.ycombinator.com/user?id=kstenerud).
|
|
|
110
110
|
|
|
111
111
|
Please see our [releases](https://github.com/stacksjs/stacks/releases) page for more information on what has changed recently.
|
|
112
112
|
|
|
113
|
-
##
|
|
113
|
+
## 🚜 Contributing
|
|
114
114
|
|
|
115
115
|
Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details.
|
|
116
116
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Err, Ok, Result, ResultAsync, err, errAsync, fromPromise, fromSafePromise, fromThrowable, ok, okAsync };
|
|
1
|
+
export { Err, Ok, Result, ResultAsync, err, errAsync, fromPromise, fromSafePromise, fromThrowable, ok, okAsync } from 'neverthrow';
|
package/dist/index.mjs
CHANGED
|
@@ -1,14 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Err,
|
|
3
|
-
Ok,
|
|
4
|
-
Result,
|
|
5
|
-
ResultAsync,
|
|
6
|
-
err,
|
|
7
|
-
errAsync,
|
|
8
|
-
fromPromise,
|
|
9
|
-
fromSafePromise,
|
|
10
|
-
fromThrowable,
|
|
11
|
-
ok,
|
|
12
|
-
okAsync
|
|
13
|
-
} from "neverthrow";
|
|
14
|
-
export { Err, Ok, Result, ResultAsync, err, errAsync, fromPromise, fromSafePromise, fromThrowable, ok, okAsync };
|
|
1
|
+
export { Err, Ok, Result, ResultAsync, err, errAsync, fromPromise, fromSafePromise, fromThrowable, ok, okAsync } from 'neverthrow';
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/error-handling",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@
|
|
4
|
+
"version": "0.52.0",
|
|
5
|
+
"packageManager": "pnpm@8.5.1",
|
|
6
6
|
"description": "Type safe error handling.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -23,6 +23,12 @@
|
|
|
23
23
|
"type safe",
|
|
24
24
|
"stacks"
|
|
25
25
|
],
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"import": "./dist/index.mjs"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
26
32
|
"main": "dist/index.mjs",
|
|
27
33
|
"module": "dist/index.mjs",
|
|
28
34
|
"types": "dist/index.d.ts",
|
|
@@ -33,22 +39,18 @@
|
|
|
33
39
|
"dist",
|
|
34
40
|
"README.md"
|
|
35
41
|
],
|
|
36
|
-
"engines": {
|
|
37
|
-
"node": ">=v18.13.0",
|
|
38
|
-
"pnpm": ">=7.25.1"
|
|
39
|
-
},
|
|
40
42
|
"peerDependencies": {
|
|
41
|
-
"@ow3/eslint-config": "^0.
|
|
43
|
+
"@ow3/eslint-config": "^0.42.1"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
42
46
|
"neverthrow": "^6.0.0"
|
|
43
47
|
},
|
|
44
48
|
"devDependencies": {
|
|
45
|
-
"
|
|
46
|
-
"typescript": "^4.9.4",
|
|
47
|
-
"@stacksjs/testing": "0.50.0"
|
|
49
|
+
"@stacksjs/development": "0.52.0"
|
|
48
50
|
},
|
|
49
51
|
"scripts": {
|
|
50
|
-
"build": "
|
|
51
|
-
"dev": "
|
|
52
|
+
"build": "unbuild",
|
|
53
|
+
"dev": "unbuild --stub",
|
|
52
54
|
"typecheck": "tsc --noEmit"
|
|
53
55
|
}
|
|
54
56
|
}
|