bytekit 1.0.21 → 1.0.23

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 (77) hide show
  1. package/bin/{sutils.js → bytekit.js} +2 -4
  2. package/dist/cli/index.d.ts +3 -0
  3. package/dist/cli/index.d.ts.map +1 -1
  4. package/dist/cli/index.js +104 -474
  5. package/dist/cli/index.js.map +1 -1
  6. package/dist/cli/swagger-generator.d.ts +9 -0
  7. package/dist/cli/swagger-generator.d.ts.map +1 -0
  8. package/dist/cli/swagger-generator.js +149 -0
  9. package/dist/cli/swagger-generator.js.map +1 -0
  10. package/dist/cli/type-generator.d.ts +1 -0
  11. package/dist/cli/type-generator.d.ts.map +1 -1
  12. package/dist/cli/type-generator.js +2 -1
  13. package/dist/cli/type-generator.js.map +1 -1
  14. package/dist/utils/async/allSettled.d.ts +27 -0
  15. package/dist/utils/async/allSettled.d.ts.map +1 -0
  16. package/dist/utils/async/allSettled.js +45 -0
  17. package/dist/utils/async/allSettled.js.map +1 -0
  18. package/dist/utils/async/debounce.d.ts +24 -0
  19. package/dist/utils/async/debounce.d.ts.map +1 -0
  20. package/dist/utils/async/debounce.js +138 -0
  21. package/dist/utils/async/debounce.js.map +1 -0
  22. package/dist/utils/async/errors.d.ts +22 -0
  23. package/dist/utils/async/errors.d.ts.map +1 -0
  24. package/dist/utils/async/errors.js +58 -0
  25. package/dist/utils/async/errors.js.map +1 -0
  26. package/dist/utils/async/index.d.ts +19 -0
  27. package/dist/utils/async/index.d.ts.map +1 -0
  28. package/dist/utils/async/index.js +20 -0
  29. package/dist/utils/async/index.js.map +1 -0
  30. package/dist/utils/async/parallel.d.ts +24 -0
  31. package/dist/utils/async/parallel.d.ts.map +1 -0
  32. package/dist/utils/async/parallel.js +98 -0
  33. package/dist/utils/async/parallel.js.map +1 -0
  34. package/dist/utils/async/race.d.ts +37 -0
  35. package/dist/utils/async/race.d.ts.map +1 -0
  36. package/dist/utils/async/race.js +69 -0
  37. package/dist/utils/async/race.js.map +1 -0
  38. package/dist/utils/async/retry.d.ts +34 -0
  39. package/dist/utils/async/retry.d.ts.map +1 -0
  40. package/dist/utils/async/retry.js +118 -0
  41. package/dist/utils/async/retry.js.map +1 -0
  42. package/dist/utils/async/sequential.d.ts +28 -0
  43. package/dist/utils/async/sequential.d.ts.map +1 -0
  44. package/dist/utils/async/sequential.js +66 -0
  45. package/dist/utils/async/sequential.js.map +1 -0
  46. package/dist/utils/async/sleep.d.ts +28 -0
  47. package/dist/utils/async/sleep.d.ts.map +1 -0
  48. package/dist/utils/async/sleep.js +64 -0
  49. package/dist/utils/async/sleep.js.map +1 -0
  50. package/dist/utils/async/throttle.d.ts +24 -0
  51. package/dist/utils/async/throttle.d.ts.map +1 -0
  52. package/dist/utils/async/throttle.js +118 -0
  53. package/dist/utils/async/throttle.js.map +1 -0
  54. package/dist/utils/async/timeout.d.ts +45 -0
  55. package/dist/utils/async/timeout.d.ts.map +1 -0
  56. package/dist/utils/async/timeout.js +75 -0
  57. package/dist/utils/async/timeout.js.map +1 -0
  58. package/dist/utils/async/types.d.ts +105 -0
  59. package/dist/utils/async/types.d.ts.map +1 -0
  60. package/dist/utils/async/types.js +5 -0
  61. package/dist/utils/async/types.js.map +1 -0
  62. package/dist/utils/core/ApiClient.d.ts.map +1 -1
  63. package/dist/utils/core/ApiClient.js +28 -9
  64. package/dist/utils/core/ApiClient.js.map +1 -1
  65. package/dist/utils/core/RetryPolicy.d.ts +7 -0
  66. package/dist/utils/core/RetryPolicy.d.ts.map +1 -1
  67. package/dist/utils/core/RetryPolicy.js +9 -0
  68. package/dist/utils/core/RetryPolicy.js.map +1 -1
  69. package/dist/utils/helpers/ObjectUtils.d.ts +2 -2
  70. package/dist/utils/helpers/ObjectUtils.d.ts.map +1 -1
  71. package/dist/utils/helpers/ObjectUtils.js +4 -0
  72. package/dist/utils/helpers/ObjectUtils.js.map +1 -1
  73. package/dist/utils/helpers/index.d.ts +1 -0
  74. package/dist/utils/helpers/index.d.ts.map +1 -1
  75. package/dist/utils/helpers/index.js +1 -0
  76. package/dist/utils/helpers/index.js.map +1 -1
  77. package/package.json +250 -249
package/package.json CHANGED
@@ -1,251 +1,252 @@
1
1
  {
2
- "name": "bytekit",
3
- "description": "Lightning-fast TypeScript utilities for modern development",
4
- "version": "1.0.21",
5
- "type": "module",
6
- "imports": {
7
- "#core/*": "./dist/utils/core/*",
8
- "#utils/*": "./dist/utils/*",
9
- "#helpers/*": "./dist/utils/helpers/*"
10
- },
11
- "main": "./dist/index.js",
12
- "types": "./dist/index.d.ts",
13
- "bin": {
14
- "sutils": "./bin/sutils.js"
15
- },
16
- "exports": {
17
- ".": {
18
- "types": "./dist/index.d.ts",
19
- "import": "./dist/index.js"
20
- },
21
- "./api-client": {
22
- "types": "./dist/utils/core/ApiClient.d.ts",
23
- "import": "./dist/utils/core/ApiClient.js"
24
- },
25
- "./retry-policy": {
26
- "types": "./dist/utils/core/RetryPolicy.d.ts",
27
- "import": "./dist/utils/core/RetryPolicy.js"
28
- },
29
- "./response-validator": {
30
- "types": "./dist/utils/core/ResponseValidator.d.ts",
31
- "import": "./dist/utils/core/ResponseValidator.js"
32
- },
33
- "./logger": {
34
- "types": "./dist/utils/core/Logger.d.ts",
35
- "import": "./dist/utils/core/Logger.js"
36
- },
37
- "./profiler": {
38
- "types": "./dist/utils/core/Profiler.d.ts",
39
- "import": "./dist/utils/core/Profiler.js"
40
- },
41
- "./debug": {
42
- "types": "./dist/utils/core/debug.d.ts",
43
- "import": "./dist/utils/core/debug.js"
44
- },
45
- "./date-utils": {
46
- "types": "./dist/utils/helpers/DateUtils.d.ts",
47
- "import": "./dist/utils/helpers/DateUtils.js"
48
- },
49
- "./string-utils": {
50
- "types": "./dist/utils/helpers/StringUtils.d.ts",
51
- "import": "./dist/utils/helpers/StringUtils.js"
52
- },
53
- "./validator": {
54
- "types": "./dist/utils/helpers/Validator.d.ts",
55
- "import": "./dist/utils/helpers/Validator.js"
56
- },
57
- "./env-manager": {
58
- "types": "./dist/utils/helpers/EnvManager.d.ts",
59
- "import": "./dist/utils/helpers/EnvManager.js"
60
- },
61
- "./storage-utils": {
62
- "types": "./dist/utils/helpers/StorageUtils.d.ts",
63
- "import": "./dist/utils/helpers/StorageUtils.js"
64
- },
65
- "./file-upload": {
66
- "types": "./dist/utils/helpers/FileUploadHelper.d.ts",
67
- "import": "./dist/utils/helpers/FileUploadHelper.js"
68
- },
69
- "./streaming": {
70
- "types": "./dist/utils/helpers/StreamingHelper.d.ts",
71
- "import": "./dist/utils/helpers/StreamingHelper.js"
72
- },
73
- "./websocket": {
74
- "types": "./dist/utils/helpers/WebSocketHelper.d.ts",
75
- "import": "./dist/utils/helpers/WebSocketHelper.js"
76
- },
77
- "./array-utils": {
78
- "types": "./dist/utils/helpers/ArrayUtils.d.ts",
79
- "import": "./dist/utils/helpers/ArrayUtils.js"
80
- },
81
- "./cache-manager": {
82
- "types": "./dist/utils/helpers/CacheManager.d.ts",
83
- "import": "./dist/utils/helpers/CacheManager.js"
84
- },
85
- "./compression-utils": {
86
- "types": "./dist/utils/helpers/CompressionUtils.d.ts",
87
- "import": "./dist/utils/helpers/CompressionUtils.js"
88
- },
89
- "./crypto-utils": {
90
- "types": "./dist/utils/helpers/CryptoUtils.d.ts",
91
- "import": "./dist/utils/helpers/CryptoUtils.js"
92
- },
93
- "./diff-utils": {
94
- "types": "./dist/utils/helpers/DiffUtils.d.ts",
95
- "import": "./dist/utils/helpers/DiffUtils.js"
96
- },
97
- "./event-emitter": {
98
- "types": "./dist/utils/helpers/EventEmitter.d.ts",
99
- "import": "./dist/utils/helpers/EventEmitter.js"
100
- },
101
- "./form-utils": {
102
- "types": "./dist/utils/helpers/FormUtils.d.ts",
103
- "import": "./dist/utils/helpers/FormUtils.js"
104
- },
105
- "./object-utils": {
106
- "types": "./dist/utils/helpers/ObjectUtils.d.ts",
107
- "import": "./dist/utils/helpers/ObjectUtils.js"
108
- },
109
- "./pagination-helper": {
110
- "types": "./dist/utils/helpers/PaginationHelper.d.ts",
111
- "import": "./dist/utils/helpers/PaginationHelper.js"
112
- },
113
- "./polling-helper": {
114
- "types": "./dist/utils/helpers/PollingHelper.d.ts",
115
- "import": "./dist/utils/helpers/PollingHelper.js"
116
- },
117
- "./time-utils": {
118
- "types": "./dist/utils/helpers/TimeUtils.d.ts",
119
- "import": "./dist/utils/helpers/TimeUtils.js"
120
- },
121
- "./request-cache": {
122
- "types": "./dist/utils/core/RequestCache.d.ts",
123
- "import": "./dist/utils/core/RequestCache.js"
124
- },
125
- "./rate-limiter": {
126
- "types": "./dist/utils/core/RateLimiter.d.ts",
127
- "import": "./dist/utils/core/RateLimiter.js"
128
- },
129
- "./request-deduplicator": {
130
- "types": "./dist/utils/core/RequestDeduplicator.d.ts",
131
- "import": "./dist/utils/core/RequestDeduplicator.js"
132
- },
133
- "./error-boundary": {
134
- "types": "./dist/utils/core/ErrorBoundary.d.ts",
135
- "import": "./dist/utils/core/ErrorBoundary.js"
136
- },
137
- "./batch-request": {
138
- "types": "./dist/utils/core/BatchRequest.d.ts",
139
- "import": "./dist/utils/core/BatchRequest.js"
140
- },
141
- "./http-status": {
142
- "types": "./dist/utils/helpers/HttpStatusHelper.d.ts",
143
- "import": "./dist/utils/helpers/HttpStatusHelper.js"
144
- },
145
- "./url-builder": {
146
- "types": "./dist/utils/helpers/UrlBuilder.d.ts",
147
- "import": "./dist/utils/helpers/UrlBuilder.js"
148
- },
149
- "./color-utils": {
150
- "types": "./dist/utils/helpers/ColorUtils.d.ts",
151
- "import": "./dist/utils/helpers/ColorUtils.js"
152
- },
153
- "./number-utils": {
154
- "types": "./dist/utils/helpers/NumberUtils.d.ts",
155
- "import": "./dist/utils/helpers/NumberUtils.js"
156
- },
157
- "./query-client": {
158
- "types": "./dist/utils/core/QueryClient.d.ts",
159
- "import": "./dist/utils/core/QueryClient.js"
160
- },
161
- "./query-state": {
162
- "types": "./dist/utils/core/QueryState.d.ts",
163
- "import": "./dist/utils/core/QueryState.js"
164
- },
165
- "./signal": {
166
- "types": "./dist/utils/helpers/Signal.d.ts",
167
- "import": "./dist/utils/helpers/Signal.js"
168
- },
169
- "./use-signal": {
170
- "types": "./dist/utils/helpers/useSignal.d.ts",
171
- "import": "./dist/utils/helpers/useSignal.js"
172
- }
173
- },
174
- "files": [
175
- "dist",
176
- "bin"
177
- ],
178
- "keywords": [
179
- "typescript",
180
- "http-client",
181
- "logger",
182
- "utilities",
183
- "formerly @sebamar88/utils"
184
- ],
185
- "repository": {
186
- "type": "git",
187
- "url": "git+https://github.com/sebamar88/bytekit.git"
188
- },
189
- "bugs": {
190
- "url": "https://github.com/sebamar88/bytekit/issues"
191
- },
192
- "homepage": "https://github.com/sebamar88/bytekit#readme",
193
- "author": "Sebastián Martinez",
194
- "license": "MIT",
195
- "sideEffects": false,
196
- "publishConfig": {
197
- "access": "public"
198
- },
199
- "engines": {
200
- "node": ">=18"
201
- },
202
- "devDependencies": {
203
- "@eslint/js": "^9.0.0",
204
- "@types/node": "^25.0.3",
205
- "@vitest/coverage-v8": "^2.1.8",
206
- "@vitest/ui": "^2.1.8",
207
- "c8": "^10.1.3",
208
- "eslint": "^9.0.0",
209
- "fast-check": "^4.5.2",
210
- "glob": "^13.0.1",
211
- "globals": "^15.0.0",
212
- "prettier": "^3.0.0",
213
- "tsx": "^4.21.0",
214
- "typedoc": "^0.28.16",
215
- "typedoc-plugin-markdown": "^4.9.0",
216
- "typescript": "^5.9.3",
217
- "typescript-eslint": "^8.0.0",
218
- "vitest": "^2.1.8"
219
- },
220
- "peerDependencies": {
221
- "typescript": ">=4.5.0"
222
- },
223
- "peerDependenciesMeta": {
224
- "typescript": {
225
- "optional": true
2
+ "name": "bytekit",
3
+ "description": "Lightning-fast TypeScript utilities: Isomorphic API client, Async toolkit (retry, debounce, parallel), QueryClient for state management, and CLI for Swagger/OpenAPI type generation.",
4
+ "version": "1.0.23",
5
+ "type": "module",
6
+ "imports": {
7
+ "#core/*": "./dist/utils/core/*",
8
+ "#utils/*": "./dist/utils/*",
9
+ "#helpers/*": "./dist/utils/helpers/*"
10
+ },
11
+ "main": "./dist/index.js",
12
+ "types": "./dist/index.d.ts",
13
+ "bin": {
14
+ "bytekit": "./bin/bytekit.js"
15
+ },
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/index.d.ts",
19
+ "import": "./dist/index.js"
20
+ },
21
+ "./api-client": {
22
+ "types": "./dist/utils/core/ApiClient.d.ts",
23
+ "import": "./dist/utils/core/ApiClient.js"
24
+ },
25
+ "./retry-policy": {
26
+ "types": "./dist/utils/core/RetryPolicy.d.ts",
27
+ "import": "./dist/utils/core/RetryPolicy.js"
28
+ },
29
+ "./response-validator": {
30
+ "types": "./dist/utils/core/ResponseValidator.d.ts",
31
+ "import": "./dist/utils/core/ResponseValidator.js"
32
+ },
33
+ "./logger": {
34
+ "types": "./dist/utils/core/Logger.d.ts",
35
+ "import": "./dist/utils/core/Logger.js"
36
+ },
37
+ "./profiler": {
38
+ "types": "./dist/utils/core/Profiler.d.ts",
39
+ "import": "./dist/utils/core/Profiler.js"
40
+ },
41
+ "./debug": {
42
+ "types": "./dist/utils/core/debug.d.ts",
43
+ "import": "./dist/utils/core/debug.js"
44
+ },
45
+ "./date-utils": {
46
+ "types": "./dist/utils/helpers/DateUtils.d.ts",
47
+ "import": "./dist/utils/helpers/DateUtils.js"
48
+ },
49
+ "./string-utils": {
50
+ "types": "./dist/utils/helpers/StringUtils.d.ts",
51
+ "import": "./dist/utils/helpers/StringUtils.js"
52
+ },
53
+ "./validator": {
54
+ "types": "./dist/utils/helpers/Validator.d.ts",
55
+ "import": "./dist/utils/helpers/Validator.js"
56
+ },
57
+ "./env-manager": {
58
+ "types": "./dist/utils/helpers/EnvManager.d.ts",
59
+ "import": "./dist/utils/helpers/EnvManager.js"
60
+ },
61
+ "./storage-utils": {
62
+ "types": "./dist/utils/helpers/StorageUtils.d.ts",
63
+ "import": "./dist/utils/helpers/StorageUtils.js"
64
+ },
65
+ "./file-upload": {
66
+ "types": "./dist/utils/helpers/FileUploadHelper.d.ts",
67
+ "import": "./dist/utils/helpers/FileUploadHelper.js"
68
+ },
69
+ "./streaming": {
70
+ "types": "./dist/utils/helpers/StreamingHelper.d.ts",
71
+ "import": "./dist/utils/helpers/StreamingHelper.js"
72
+ },
73
+ "./websocket": {
74
+ "types": "./dist/utils/helpers/WebSocketHelper.d.ts",
75
+ "import": "./dist/utils/helpers/WebSocketHelper.js"
76
+ },
77
+ "./array-utils": {
78
+ "types": "./dist/utils/helpers/ArrayUtils.d.ts",
79
+ "import": "./dist/utils/helpers/ArrayUtils.js"
80
+ },
81
+ "./cache-manager": {
82
+ "types": "./dist/utils/helpers/CacheManager.d.ts",
83
+ "import": "./dist/utils/helpers/CacheManager.js"
84
+ },
85
+ "./compression-utils": {
86
+ "types": "./dist/utils/helpers/CompressionUtils.d.ts",
87
+ "import": "./dist/utils/helpers/CompressionUtils.js"
88
+ },
89
+ "./crypto-utils": {
90
+ "types": "./dist/utils/helpers/CryptoUtils.d.ts",
91
+ "import": "./dist/utils/helpers/CryptoUtils.js"
92
+ },
93
+ "./diff-utils": {
94
+ "types": "./dist/utils/helpers/DiffUtils.d.ts",
95
+ "import": "./dist/utils/helpers/DiffUtils.js"
96
+ },
97
+ "./event-emitter": {
98
+ "types": "./dist/utils/helpers/EventEmitter.d.ts",
99
+ "import": "./dist/utils/helpers/EventEmitter.js"
100
+ },
101
+ "./form-utils": {
102
+ "types": "./dist/utils/helpers/FormUtils.d.ts",
103
+ "import": "./dist/utils/helpers/FormUtils.js"
104
+ },
105
+ "./object-utils": {
106
+ "types": "./dist/utils/helpers/ObjectUtils.d.ts",
107
+ "import": "./dist/utils/helpers/ObjectUtils.js"
108
+ },
109
+ "./pagination-helper": {
110
+ "types": "./dist/utils/helpers/PaginationHelper.d.ts",
111
+ "import": "./dist/utils/helpers/PaginationHelper.js"
112
+ },
113
+ "./polling-helper": {
114
+ "types": "./dist/utils/helpers/PollingHelper.d.ts",
115
+ "import": "./dist/utils/helpers/PollingHelper.js"
116
+ },
117
+ "./time-utils": {
118
+ "types": "./dist/utils/helpers/TimeUtils.d.ts",
119
+ "import": "./dist/utils/helpers/TimeUtils.js"
120
+ },
121
+ "./request-cache": {
122
+ "types": "./dist/utils/core/RequestCache.d.ts",
123
+ "import": "./dist/utils/core/RequestCache.js"
124
+ },
125
+ "./rate-limiter": {
126
+ "types": "./dist/utils/core/RateLimiter.d.ts",
127
+ "import": "./dist/utils/core/RateLimiter.js"
128
+ },
129
+ "./request-deduplicator": {
130
+ "types": "./dist/utils/core/RequestDeduplicator.d.ts",
131
+ "import": "./dist/utils/core/RequestDeduplicator.js"
132
+ },
133
+ "./error-boundary": {
134
+ "types": "./dist/utils/core/ErrorBoundary.d.ts",
135
+ "import": "./dist/utils/core/ErrorBoundary.js"
136
+ },
137
+ "./batch-request": {
138
+ "types": "./dist/utils/core/BatchRequest.d.ts",
139
+ "import": "./dist/utils/core/BatchRequest.js"
140
+ },
141
+ "./http-status": {
142
+ "types": "./dist/utils/helpers/HttpStatusHelper.d.ts",
143
+ "import": "./dist/utils/helpers/HttpStatusHelper.js"
144
+ },
145
+ "./url-builder": {
146
+ "types": "./dist/utils/helpers/UrlBuilder.d.ts",
147
+ "import": "./dist/utils/helpers/UrlBuilder.js"
148
+ },
149
+ "./color-utils": {
150
+ "types": "./dist/utils/helpers/ColorUtils.d.ts",
151
+ "import": "./dist/utils/helpers/ColorUtils.js"
152
+ },
153
+ "./number-utils": {
154
+ "types": "./dist/utils/helpers/NumberUtils.d.ts",
155
+ "import": "./dist/utils/helpers/NumberUtils.js"
156
+ },
157
+ "./query-client": {
158
+ "types": "./dist/utils/core/QueryClient.d.ts",
159
+ "import": "./dist/utils/core/QueryClient.js"
160
+ },
161
+ "./query-state": {
162
+ "types": "./dist/utils/core/QueryState.d.ts",
163
+ "import": "./dist/utils/core/QueryState.js"
164
+ },
165
+ "./signal": {
166
+ "types": "./dist/utils/helpers/Signal.d.ts",
167
+ "import": "./dist/utils/helpers/Signal.js"
168
+ },
169
+ "./use-signal": {
170
+ "types": "./dist/utils/helpers/useSignal.d.ts",
171
+ "import": "./dist/utils/helpers/useSignal.js"
172
+ }
173
+ },
174
+ "scripts": {
175
+ "build": "tsc -p tsconfig.json",
176
+ "clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true });\"",
177
+ "lint": "eslint src tests",
178
+ "lint:src": "eslint src",
179
+ "lint:fix": "eslint src tests --fix",
180
+ "format": "prettier --write \"src/**/*.{ts,js,json}\" \"tests/**/*.{ts,js,json}\"",
181
+ "format:check": "prettier --check \"src/**/*.{ts,js,json}\" \"tests/**/*.{ts,js,json}\"",
182
+ "test": "vitest run",
183
+ "test:watch": "vitest",
184
+ "test:ui": "vitest --ui",
185
+ "test:junit": "vitest run --reporter=junit --outputFile=test-results.xml",
186
+ "test:coverage": "vitest run --coverage",
187
+ "test:coverage:watch": "vitest --coverage",
188
+ "test:node": "vitest run",
189
+ "test:node:coverage": "vitest run --coverage",
190
+ "test:all": "pnpm run test",
191
+ "typecheck": "tsc --noEmit",
192
+ "wiki:generate": "node scripts/generate-wiki.js",
193
+ "docs:generate": "typedoc",
194
+ "docs:watch": "typedoc --watch",
195
+ "docs:serve": "npx http-server docs/api -p 8080 -o",
196
+ "prepublishOnly": "pnpm run lint:src && pnpm run clean && pnpm run build && pnpm run test:coverage"
197
+ },
198
+ "files": [
199
+ "dist",
200
+ "bin"
201
+ ],
202
+ "keywords": [
203
+ "typescript",
204
+ "http-client",
205
+ "logger",
206
+ "utilities",
207
+ "formerly @sebamar88/utils"
208
+ ],
209
+ "repository": {
210
+ "type": "git",
211
+ "url": "git+https://github.com/sebamar88/bytekit.git"
212
+ },
213
+ "bugs": {
214
+ "url": "https://github.com/sebamar88/bytekit/issues"
215
+ },
216
+ "homepage": "https://github.com/sebamar88/bytekit#readme",
217
+ "author": "Sebastián Martinez",
218
+ "license": "MIT",
219
+ "sideEffects": false,
220
+ "publishConfig": {
221
+ "access": "public"
222
+ },
223
+ "engines": {
224
+ "node": ">=18"
225
+ },
226
+ "devDependencies": {
227
+ "@eslint/js": "^9.0.0",
228
+ "@types/node": "^25.0.3",
229
+ "@vitest/coverage-v8": "^2.1.8",
230
+ "@vitest/ui": "^2.1.8",
231
+ "c8": "^10.1.3",
232
+ "eslint": "^9.0.0",
233
+ "fast-check": "^4.5.2",
234
+ "glob": "^10.3.10",
235
+ "globals": "^15.0.0",
236
+ "prettier": "^3.0.0",
237
+ "tsx": "^4.21.0",
238
+ "typedoc": "^0.28.16",
239
+ "typedoc-plugin-markdown": "^4.9.0",
240
+ "typescript": "^5.9.3",
241
+ "typescript-eslint": "^8.0.0",
242
+ "vitest": "^2.1.8"
243
+ },
244
+ "peerDependencies": {
245
+ "typescript": ">=4.5.0"
246
+ },
247
+ "peerDependenciesMeta": {
248
+ "typescript": {
249
+ "optional": true
250
+ }
226
251
  }
227
- },
228
- "scripts": {
229
- "build": "tsc -p tsconfig.json",
230
- "clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true });\"",
231
- "lint": "eslint src tests",
232
- "lint:src": "eslint src",
233
- "lint:fix": "eslint src tests --fix",
234
- "format": "prettier --write \"src/**/*.{ts,js,json}\" \"tests/**/*.{ts,js,json}\"",
235
- "format:check": "prettier --check \"src/**/*.{ts,js,json}\" \"tests/**/*.{ts,js,json}\"",
236
- "test": "npm run lint && npm run build && node scripts/run-tests.js",
237
- "test:watch": "vitest",
238
- "test:ui": "vitest --ui",
239
- "test:junit": "npm run build && node scripts/run-tests-junit.js",
240
- "test:coverage": "npm run build && node scripts/run-tests-coverage.js",
241
- "test:coverage:watch": "vitest --coverage",
242
- "test:node": "npm run build && node scripts/run-tests.js",
243
- "test:node:coverage": "npm run build && node scripts/run-tests-coverage.js",
244
- "test:all": "pnpm run test",
245
- "typecheck": "tsc --noEmit",
246
- "wiki:generate": "node scripts/generate-wiki.js",
247
- "docs:generate": "typedoc",
248
- "docs:watch": "typedoc --watch",
249
- "docs:serve": "npx http-server docs/api -p 8080 -o"
250
- }
251
- }
252
+ }