File tree Expand file tree Collapse file tree 8 files changed +2415
-2000
lines changed
src/modules/shared/errors Expand file tree Collapse file tree 8 files changed +2415
-2000
lines changed Original file line number Diff line number Diff line change 28
28
"script:get-missing-i18n-keys" : " tsx src/scripts/get-missing-i18n-keys.script.ts"
29
29
},
30
30
"dependencies" : {
31
- "@corentinth/chisels" : " ^1.0.2 " ,
31
+ "@corentinth/chisels" : " ^1.1.0 " ,
32
32
"@enclosed/lib" : " workspace:*" ,
33
33
"@kobalte/core" : " ^0.13.4" ,
34
34
"@solid-primitives/i18n" : " ^2.1.1" ,
39
39
"clsx" : " ^2.1.1" ,
40
40
"jszip" : " ^3.10.1" ,
41
41
"lodash-es" : " ^4.17.21" ,
42
- "solid-js" : " ^1.8.11 " ,
42
+ "solid-js" : " ^1.9.5 " ,
43
43
"solid-sonner" : " ^0.2.8" ,
44
44
"tailwind-merge" : " ^2.5.2" ,
45
45
"unocss-preset-animations" : " ^1.1.0" ,
46
46
"uqr" : " ^0.1.2"
47
47
},
48
48
"devDependencies" : {
49
49
"@antfu/eslint-config" : " catalog:" ,
50
- "@iconify-json/tabler" : " ^1.1.120 " ,
50
+ "@iconify-json/tabler" : " ^1.2.17 " ,
51
51
"@playwright/test" : " ^1.46.1" ,
52
52
"@types/lodash-es" : " ^4.17.12" ,
53
53
"@types/node" : " catalog:" ,
54
54
"eslint" : " catalog:" ,
55
55
"jsdom" : " ^25.0.0" ,
56
- "tsx" : " ^4.19.1 " ,
56
+ "tsx" : " ^4.19.3 " ,
57
57
"typescript" : " catalog:" ,
58
58
"unocss" : " ^0.64.0" ,
59
59
"vite" : " ^5.0.11" ,
60
- "vite-plugin-solid" : " ^2.8.2 " ,
60
+ "vite-plugin-solid" : " ^2.11.6 " ,
61
61
"vitest" : " catalog:"
62
62
}
63
63
}
Original file line number Diff line number Diff line change 28
28
"script:generate-config-table" : " tsx -r dotenv/config src/scripts/generate-config-table.script.ts"
29
29
},
30
30
"dependencies" : {
31
- "@corentinth/chisels" : " ^1.0.4 " ,
31
+ "@corentinth/chisels" : " ^1.1.0 " ,
32
32
"@enclosed/lib" : " workspace:*" ,
33
33
"@hono/node-server" : " ^1.12.1" ,
34
34
"bcryptjs" : " ^2.4.3" ,
45
45
"devDependencies" : {
46
46
"@antfu/eslint-config" : " catalog:" ,
47
47
"@cloudflare/workers-types" : " ^4.20240821.1" ,
48
- "@total-typescript/ts-reset" : " ^0.6.0 " ,
48
+ "@total-typescript/ts-reset" : " ^0.6.1 " ,
49
49
"@types/bcryptjs" : " ^2.4.6" ,
50
50
"@types/lodash-es" : " ^4.17.12" ,
51
51
"@types/node-cron" : " ^3.0.11" ,
52
- "@vitest/coverage-v8" : " ^2.0.5 " ,
53
- "dotenv" : " ^16.4.5 " ,
52
+ "@vitest/coverage-v8" : " catalog: " ,
53
+ "dotenv" : " ^16.4.7 " ,
54
54
"esbuild" : " ^0.24.0" ,
55
55
"eslint" : " catalog:" ,
56
56
"pino-pretty" : " ^11.2.2" ,
57
57
"tsx" : " catalog:" ,
58
58
"typescript" : " catalog:" ,
59
59
"vitest" : " catalog:" ,
60
60
"wrangler" : " ^3.72.1" ,
61
- "zx" : " ^8.1.4 "
61
+ "zx" : " ^8.4.1 "
62
62
}
63
63
}
Original file line number Diff line number Diff line change 1
- import type { StatusCode } from 'hono/utils/http-status' ;
1
+ import type { ContentfulStatusCode } from 'hono/utils/http-status' ;
2
2
import { get , isError , toString } from 'lodash-es' ;
3
3
4
4
export { createError , createErrorFactory , isCustomError } ;
@@ -7,14 +7,14 @@ type ErrorOptions = {
7
7
message : string ;
8
8
code : string ;
9
9
cause ?: unknown ;
10
- statusCode : StatusCode ;
10
+ statusCode : ContentfulStatusCode ;
11
11
isInternal ?: boolean ;
12
12
} ;
13
13
14
14
class CustomError extends Error {
15
15
code : string ;
16
16
cause ?: Error | null ;
17
- statusCode : StatusCode ;
17
+ statusCode : ContentfulStatusCode ;
18
18
isCustomError = true ;
19
19
isInternal ?: boolean ;
20
20
Original file line number Diff line number Diff line change 45
45
"devDependencies" : {
46
46
"@antfu/eslint-config" : " catalog:" ,
47
47
"@types/lodash-es" : " ^4.17.12" ,
48
- "@vitest/coverage-v8" : " ^2.0.5 " ,
48
+ "@vitest/coverage-v8" : " catalog: " ,
49
49
"dotenv" : " ^16.4.5" ,
50
50
"eslint" : " catalog:" ,
51
51
"tsx" : " catalog:" ,
Original file line number Diff line number Diff line change 83
83
"@antfu/eslint-config" : " catalog:" ,
84
84
"@types/lodash-es" : " ^4.17.12" ,
85
85
"@types/node" : " catalog:" ,
86
- "@vitest/coverage-v8" : " ^2.0.5 " ,
86
+ "@vitest/coverage-v8" : " catalog: " ,
87
87
"eslint" : " catalog:" ,
88
88
"tsx" : " catalog:" ,
89
89
"typescript" : " catalog:" ,
Original file line number Diff line number Diff line change 45
45
"@antfu/eslint-config" : " catalog:" ,
46
46
"@types/lodash-es" : " ^4.17.12" ,
47
47
"@types/node" : " catalog:" ,
48
- "@vitest/coverage-v8" : " ^2.0.5 " ,
48
+ "@vitest/coverage-v8" : " catalog: " ,
49
49
"dotenv" : " ^16.4.5" ,
50
50
"eslint" : " catalog:" ,
51
51
"tsx" : " catalog:" ,
You can’t perform that action at this time.
0 commit comments