@dungarees/core 0.11.5 → 0.12.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/package.json +5 -441
- package/url.d.ts +0 -1
- package/util.d.ts +1 -1
- package/util.js +0 -1
- package/error.test.d.ts +0 -1
- package/error.test.js +0 -72
- package/event.test.d.ts +0 -1
- package/event.test.js +0 -22
- package/fake.test.d.ts +0 -1
- package/fake.test.js +0 -61
- package/marbles-vitest.test.d.ts +0 -1
- package/marbles-vitest.test.js +0 -116
- package/marbles.test.d.ts +0 -1
- package/marbles.test.js +0 -36
- package/type-util.test.d.ts +0 -1
- package/type-util.test.js +0 -147
- package/url.test.d.ts +0 -1
- package/url.test.js +0 -48
- package/util.test.d.ts +0 -1
- package/util.test.js +0 -419
package/package.json
CHANGED
|
@@ -24,480 +24,44 @@
|
|
|
24
24
|
"hotscript": "^1.0.13",
|
|
25
25
|
"rxjs": "^7.8.1"
|
|
26
26
|
},
|
|
27
|
-
"
|
|
27
|
+
"peerDependencies": {
|
|
28
|
+
"rxjs-marbles": "^7.0.1",
|
|
29
|
+
"vitest": "^3.0.2"
|
|
30
|
+
},
|
|
31
|
+
"version": "0.12.0",
|
|
28
32
|
"exports": {
|
|
29
33
|
"./application.ts": {
|
|
30
34
|
"import": "./application.js",
|
|
31
35
|
"types": "./application.d.ts"
|
|
32
36
|
},
|
|
33
|
-
"./error.test.ts": {
|
|
34
|
-
"import": "./error.test.js",
|
|
35
|
-
"types": "./error.test.d.ts"
|
|
36
|
-
},
|
|
37
37
|
"./error.ts": {
|
|
38
38
|
"import": "./error.js",
|
|
39
39
|
"types": "./error.d.ts"
|
|
40
40
|
},
|
|
41
|
-
"./event.test.ts": {
|
|
42
|
-
"import": "./event.test.js",
|
|
43
|
-
"types": "./event.test.d.ts"
|
|
44
|
-
},
|
|
45
41
|
"./event.ts": {
|
|
46
42
|
"import": "./event.js",
|
|
47
43
|
"types": "./event.d.ts"
|
|
48
44
|
},
|
|
49
|
-
"./fake.test.ts": {
|
|
50
|
-
"import": "./fake.test.js",
|
|
51
|
-
"types": "./fake.test.d.ts"
|
|
52
|
-
},
|
|
53
45
|
"./fake.ts": {
|
|
54
46
|
"import": "./fake.js",
|
|
55
47
|
"types": "./fake.d.ts"
|
|
56
48
|
},
|
|
57
|
-
"./marbles-vitest.test.ts": {
|
|
58
|
-
"import": "./marbles-vitest.test.js",
|
|
59
|
-
"types": "./marbles-vitest.test.d.ts"
|
|
60
|
-
},
|
|
61
49
|
"./marbles-vitest.ts": {
|
|
62
50
|
"import": "./marbles-vitest.js",
|
|
63
51
|
"types": "./marbles-vitest.d.ts"
|
|
64
52
|
},
|
|
65
|
-
"./marbles.test.ts": {
|
|
66
|
-
"import": "./marbles.test.js",
|
|
67
|
-
"types": "./marbles.test.d.ts"
|
|
68
|
-
},
|
|
69
53
|
"./marbles.ts": {
|
|
70
54
|
"import": "./marbles.js",
|
|
71
55
|
"types": "./marbles.d.ts"
|
|
72
56
|
},
|
|
73
|
-
"./node_modules/typescript/lib/lib.d.ts": {
|
|
74
|
-
"import": "./node_modules/typescript/lib/lib.d.js",
|
|
75
|
-
"types": "./node_modules/typescript/lib/lib.d.d.ts"
|
|
76
|
-
},
|
|
77
|
-
"./node_modules/typescript/lib/lib.decorators.d.ts": {
|
|
78
|
-
"import": "./node_modules/typescript/lib/lib.decorators.d.js",
|
|
79
|
-
"types": "./node_modules/typescript/lib/lib.decorators.d.d.ts"
|
|
80
|
-
},
|
|
81
|
-
"./node_modules/typescript/lib/lib.decorators.legacy.d.ts": {
|
|
82
|
-
"import": "./node_modules/typescript/lib/lib.decorators.legacy.d.js",
|
|
83
|
-
"types": "./node_modules/typescript/lib/lib.decorators.legacy.d.d.ts"
|
|
84
|
-
},
|
|
85
|
-
"./node_modules/typescript/lib/lib.dom.asynciterable.d.ts": {
|
|
86
|
-
"import": "./node_modules/typescript/lib/lib.dom.asynciterable.d.js",
|
|
87
|
-
"types": "./node_modules/typescript/lib/lib.dom.asynciterable.d.d.ts"
|
|
88
|
-
},
|
|
89
|
-
"./node_modules/typescript/lib/lib.dom.d.ts": {
|
|
90
|
-
"import": "./node_modules/typescript/lib/lib.dom.d.js",
|
|
91
|
-
"types": "./node_modules/typescript/lib/lib.dom.d.d.ts"
|
|
92
|
-
},
|
|
93
|
-
"./node_modules/typescript/lib/lib.dom.iterable.d.ts": {
|
|
94
|
-
"import": "./node_modules/typescript/lib/lib.dom.iterable.d.js",
|
|
95
|
-
"types": "./node_modules/typescript/lib/lib.dom.iterable.d.d.ts"
|
|
96
|
-
},
|
|
97
|
-
"./node_modules/typescript/lib/lib.es2015.collection.d.ts": {
|
|
98
|
-
"import": "./node_modules/typescript/lib/lib.es2015.collection.d.js",
|
|
99
|
-
"types": "./node_modules/typescript/lib/lib.es2015.collection.d.d.ts"
|
|
100
|
-
},
|
|
101
|
-
"./node_modules/typescript/lib/lib.es2015.core.d.ts": {
|
|
102
|
-
"import": "./node_modules/typescript/lib/lib.es2015.core.d.js",
|
|
103
|
-
"types": "./node_modules/typescript/lib/lib.es2015.core.d.d.ts"
|
|
104
|
-
},
|
|
105
|
-
"./node_modules/typescript/lib/lib.es2015.d.ts": {
|
|
106
|
-
"import": "./node_modules/typescript/lib/lib.es2015.d.js",
|
|
107
|
-
"types": "./node_modules/typescript/lib/lib.es2015.d.d.ts"
|
|
108
|
-
},
|
|
109
|
-
"./node_modules/typescript/lib/lib.es2015.generator.d.ts": {
|
|
110
|
-
"import": "./node_modules/typescript/lib/lib.es2015.generator.d.js",
|
|
111
|
-
"types": "./node_modules/typescript/lib/lib.es2015.generator.d.d.ts"
|
|
112
|
-
},
|
|
113
|
-
"./node_modules/typescript/lib/lib.es2015.iterable.d.ts": {
|
|
114
|
-
"import": "./node_modules/typescript/lib/lib.es2015.iterable.d.js",
|
|
115
|
-
"types": "./node_modules/typescript/lib/lib.es2015.iterable.d.d.ts"
|
|
116
|
-
},
|
|
117
|
-
"./node_modules/typescript/lib/lib.es2015.promise.d.ts": {
|
|
118
|
-
"import": "./node_modules/typescript/lib/lib.es2015.promise.d.js",
|
|
119
|
-
"types": "./node_modules/typescript/lib/lib.es2015.promise.d.d.ts"
|
|
120
|
-
},
|
|
121
|
-
"./node_modules/typescript/lib/lib.es2015.proxy.d.ts": {
|
|
122
|
-
"import": "./node_modules/typescript/lib/lib.es2015.proxy.d.js",
|
|
123
|
-
"types": "./node_modules/typescript/lib/lib.es2015.proxy.d.d.ts"
|
|
124
|
-
},
|
|
125
|
-
"./node_modules/typescript/lib/lib.es2015.reflect.d.ts": {
|
|
126
|
-
"import": "./node_modules/typescript/lib/lib.es2015.reflect.d.js",
|
|
127
|
-
"types": "./node_modules/typescript/lib/lib.es2015.reflect.d.d.ts"
|
|
128
|
-
},
|
|
129
|
-
"./node_modules/typescript/lib/lib.es2015.symbol.d.ts": {
|
|
130
|
-
"import": "./node_modules/typescript/lib/lib.es2015.symbol.d.js",
|
|
131
|
-
"types": "./node_modules/typescript/lib/lib.es2015.symbol.d.d.ts"
|
|
132
|
-
},
|
|
133
|
-
"./node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts": {
|
|
134
|
-
"import": "./node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.js",
|
|
135
|
-
"types": "./node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.d.ts"
|
|
136
|
-
},
|
|
137
|
-
"./node_modules/typescript/lib/lib.es2016.array.include.d.ts": {
|
|
138
|
-
"import": "./node_modules/typescript/lib/lib.es2016.array.include.d.js",
|
|
139
|
-
"types": "./node_modules/typescript/lib/lib.es2016.array.include.d.d.ts"
|
|
140
|
-
},
|
|
141
|
-
"./node_modules/typescript/lib/lib.es2016.d.ts": {
|
|
142
|
-
"import": "./node_modules/typescript/lib/lib.es2016.d.js",
|
|
143
|
-
"types": "./node_modules/typescript/lib/lib.es2016.d.d.ts"
|
|
144
|
-
},
|
|
145
|
-
"./node_modules/typescript/lib/lib.es2016.full.d.ts": {
|
|
146
|
-
"import": "./node_modules/typescript/lib/lib.es2016.full.d.js",
|
|
147
|
-
"types": "./node_modules/typescript/lib/lib.es2016.full.d.d.ts"
|
|
148
|
-
},
|
|
149
|
-
"./node_modules/typescript/lib/lib.es2016.intl.d.ts": {
|
|
150
|
-
"import": "./node_modules/typescript/lib/lib.es2016.intl.d.js",
|
|
151
|
-
"types": "./node_modules/typescript/lib/lib.es2016.intl.d.d.ts"
|
|
152
|
-
},
|
|
153
|
-
"./node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts": {
|
|
154
|
-
"import": "./node_modules/typescript/lib/lib.es2017.arraybuffer.d.js",
|
|
155
|
-
"types": "./node_modules/typescript/lib/lib.es2017.arraybuffer.d.d.ts"
|
|
156
|
-
},
|
|
157
|
-
"./node_modules/typescript/lib/lib.es2017.d.ts": {
|
|
158
|
-
"import": "./node_modules/typescript/lib/lib.es2017.d.js",
|
|
159
|
-
"types": "./node_modules/typescript/lib/lib.es2017.d.d.ts"
|
|
160
|
-
},
|
|
161
|
-
"./node_modules/typescript/lib/lib.es2017.date.d.ts": {
|
|
162
|
-
"import": "./node_modules/typescript/lib/lib.es2017.date.d.js",
|
|
163
|
-
"types": "./node_modules/typescript/lib/lib.es2017.date.d.d.ts"
|
|
164
|
-
},
|
|
165
|
-
"./node_modules/typescript/lib/lib.es2017.full.d.ts": {
|
|
166
|
-
"import": "./node_modules/typescript/lib/lib.es2017.full.d.js",
|
|
167
|
-
"types": "./node_modules/typescript/lib/lib.es2017.full.d.d.ts"
|
|
168
|
-
},
|
|
169
|
-
"./node_modules/typescript/lib/lib.es2017.intl.d.ts": {
|
|
170
|
-
"import": "./node_modules/typescript/lib/lib.es2017.intl.d.js",
|
|
171
|
-
"types": "./node_modules/typescript/lib/lib.es2017.intl.d.d.ts"
|
|
172
|
-
},
|
|
173
|
-
"./node_modules/typescript/lib/lib.es2017.object.d.ts": {
|
|
174
|
-
"import": "./node_modules/typescript/lib/lib.es2017.object.d.js",
|
|
175
|
-
"types": "./node_modules/typescript/lib/lib.es2017.object.d.d.ts"
|
|
176
|
-
},
|
|
177
|
-
"./node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts": {
|
|
178
|
-
"import": "./node_modules/typescript/lib/lib.es2017.sharedmemory.d.js",
|
|
179
|
-
"types": "./node_modules/typescript/lib/lib.es2017.sharedmemory.d.d.ts"
|
|
180
|
-
},
|
|
181
|
-
"./node_modules/typescript/lib/lib.es2017.string.d.ts": {
|
|
182
|
-
"import": "./node_modules/typescript/lib/lib.es2017.string.d.js",
|
|
183
|
-
"types": "./node_modules/typescript/lib/lib.es2017.string.d.d.ts"
|
|
184
|
-
},
|
|
185
|
-
"./node_modules/typescript/lib/lib.es2017.typedarrays.d.ts": {
|
|
186
|
-
"import": "./node_modules/typescript/lib/lib.es2017.typedarrays.d.js",
|
|
187
|
-
"types": "./node_modules/typescript/lib/lib.es2017.typedarrays.d.d.ts"
|
|
188
|
-
},
|
|
189
|
-
"./node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts": {
|
|
190
|
-
"import": "./node_modules/typescript/lib/lib.es2018.asyncgenerator.d.js",
|
|
191
|
-
"types": "./node_modules/typescript/lib/lib.es2018.asyncgenerator.d.d.ts"
|
|
192
|
-
},
|
|
193
|
-
"./node_modules/typescript/lib/lib.es2018.asynciterable.d.ts": {
|
|
194
|
-
"import": "./node_modules/typescript/lib/lib.es2018.asynciterable.d.js",
|
|
195
|
-
"types": "./node_modules/typescript/lib/lib.es2018.asynciterable.d.d.ts"
|
|
196
|
-
},
|
|
197
|
-
"./node_modules/typescript/lib/lib.es2018.d.ts": {
|
|
198
|
-
"import": "./node_modules/typescript/lib/lib.es2018.d.js",
|
|
199
|
-
"types": "./node_modules/typescript/lib/lib.es2018.d.d.ts"
|
|
200
|
-
},
|
|
201
|
-
"./node_modules/typescript/lib/lib.es2018.full.d.ts": {
|
|
202
|
-
"import": "./node_modules/typescript/lib/lib.es2018.full.d.js",
|
|
203
|
-
"types": "./node_modules/typescript/lib/lib.es2018.full.d.d.ts"
|
|
204
|
-
},
|
|
205
|
-
"./node_modules/typescript/lib/lib.es2018.intl.d.ts": {
|
|
206
|
-
"import": "./node_modules/typescript/lib/lib.es2018.intl.d.js",
|
|
207
|
-
"types": "./node_modules/typescript/lib/lib.es2018.intl.d.d.ts"
|
|
208
|
-
},
|
|
209
|
-
"./node_modules/typescript/lib/lib.es2018.promise.d.ts": {
|
|
210
|
-
"import": "./node_modules/typescript/lib/lib.es2018.promise.d.js",
|
|
211
|
-
"types": "./node_modules/typescript/lib/lib.es2018.promise.d.d.ts"
|
|
212
|
-
},
|
|
213
|
-
"./node_modules/typescript/lib/lib.es2018.regexp.d.ts": {
|
|
214
|
-
"import": "./node_modules/typescript/lib/lib.es2018.regexp.d.js",
|
|
215
|
-
"types": "./node_modules/typescript/lib/lib.es2018.regexp.d.d.ts"
|
|
216
|
-
},
|
|
217
|
-
"./node_modules/typescript/lib/lib.es2019.array.d.ts": {
|
|
218
|
-
"import": "./node_modules/typescript/lib/lib.es2019.array.d.js",
|
|
219
|
-
"types": "./node_modules/typescript/lib/lib.es2019.array.d.d.ts"
|
|
220
|
-
},
|
|
221
|
-
"./node_modules/typescript/lib/lib.es2019.d.ts": {
|
|
222
|
-
"import": "./node_modules/typescript/lib/lib.es2019.d.js",
|
|
223
|
-
"types": "./node_modules/typescript/lib/lib.es2019.d.d.ts"
|
|
224
|
-
},
|
|
225
|
-
"./node_modules/typescript/lib/lib.es2019.full.d.ts": {
|
|
226
|
-
"import": "./node_modules/typescript/lib/lib.es2019.full.d.js",
|
|
227
|
-
"types": "./node_modules/typescript/lib/lib.es2019.full.d.d.ts"
|
|
228
|
-
},
|
|
229
|
-
"./node_modules/typescript/lib/lib.es2019.intl.d.ts": {
|
|
230
|
-
"import": "./node_modules/typescript/lib/lib.es2019.intl.d.js",
|
|
231
|
-
"types": "./node_modules/typescript/lib/lib.es2019.intl.d.d.ts"
|
|
232
|
-
},
|
|
233
|
-
"./node_modules/typescript/lib/lib.es2019.object.d.ts": {
|
|
234
|
-
"import": "./node_modules/typescript/lib/lib.es2019.object.d.js",
|
|
235
|
-
"types": "./node_modules/typescript/lib/lib.es2019.object.d.d.ts"
|
|
236
|
-
},
|
|
237
|
-
"./node_modules/typescript/lib/lib.es2019.string.d.ts": {
|
|
238
|
-
"import": "./node_modules/typescript/lib/lib.es2019.string.d.js",
|
|
239
|
-
"types": "./node_modules/typescript/lib/lib.es2019.string.d.d.ts"
|
|
240
|
-
},
|
|
241
|
-
"./node_modules/typescript/lib/lib.es2019.symbol.d.ts": {
|
|
242
|
-
"import": "./node_modules/typescript/lib/lib.es2019.symbol.d.js",
|
|
243
|
-
"types": "./node_modules/typescript/lib/lib.es2019.symbol.d.d.ts"
|
|
244
|
-
},
|
|
245
|
-
"./node_modules/typescript/lib/lib.es2020.bigint.d.ts": {
|
|
246
|
-
"import": "./node_modules/typescript/lib/lib.es2020.bigint.d.js",
|
|
247
|
-
"types": "./node_modules/typescript/lib/lib.es2020.bigint.d.d.ts"
|
|
248
|
-
},
|
|
249
|
-
"./node_modules/typescript/lib/lib.es2020.d.ts": {
|
|
250
|
-
"import": "./node_modules/typescript/lib/lib.es2020.d.js",
|
|
251
|
-
"types": "./node_modules/typescript/lib/lib.es2020.d.d.ts"
|
|
252
|
-
},
|
|
253
|
-
"./node_modules/typescript/lib/lib.es2020.date.d.ts": {
|
|
254
|
-
"import": "./node_modules/typescript/lib/lib.es2020.date.d.js",
|
|
255
|
-
"types": "./node_modules/typescript/lib/lib.es2020.date.d.d.ts"
|
|
256
|
-
},
|
|
257
|
-
"./node_modules/typescript/lib/lib.es2020.full.d.ts": {
|
|
258
|
-
"import": "./node_modules/typescript/lib/lib.es2020.full.d.js",
|
|
259
|
-
"types": "./node_modules/typescript/lib/lib.es2020.full.d.d.ts"
|
|
260
|
-
},
|
|
261
|
-
"./node_modules/typescript/lib/lib.es2020.intl.d.ts": {
|
|
262
|
-
"import": "./node_modules/typescript/lib/lib.es2020.intl.d.js",
|
|
263
|
-
"types": "./node_modules/typescript/lib/lib.es2020.intl.d.d.ts"
|
|
264
|
-
},
|
|
265
|
-
"./node_modules/typescript/lib/lib.es2020.number.d.ts": {
|
|
266
|
-
"import": "./node_modules/typescript/lib/lib.es2020.number.d.js",
|
|
267
|
-
"types": "./node_modules/typescript/lib/lib.es2020.number.d.d.ts"
|
|
268
|
-
},
|
|
269
|
-
"./node_modules/typescript/lib/lib.es2020.promise.d.ts": {
|
|
270
|
-
"import": "./node_modules/typescript/lib/lib.es2020.promise.d.js",
|
|
271
|
-
"types": "./node_modules/typescript/lib/lib.es2020.promise.d.d.ts"
|
|
272
|
-
},
|
|
273
|
-
"./node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts": {
|
|
274
|
-
"import": "./node_modules/typescript/lib/lib.es2020.sharedmemory.d.js",
|
|
275
|
-
"types": "./node_modules/typescript/lib/lib.es2020.sharedmemory.d.d.ts"
|
|
276
|
-
},
|
|
277
|
-
"./node_modules/typescript/lib/lib.es2020.string.d.ts": {
|
|
278
|
-
"import": "./node_modules/typescript/lib/lib.es2020.string.d.js",
|
|
279
|
-
"types": "./node_modules/typescript/lib/lib.es2020.string.d.d.ts"
|
|
280
|
-
},
|
|
281
|
-
"./node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts": {
|
|
282
|
-
"import": "./node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.js",
|
|
283
|
-
"types": "./node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.d.ts"
|
|
284
|
-
},
|
|
285
|
-
"./node_modules/typescript/lib/lib.es2021.d.ts": {
|
|
286
|
-
"import": "./node_modules/typescript/lib/lib.es2021.d.js",
|
|
287
|
-
"types": "./node_modules/typescript/lib/lib.es2021.d.d.ts"
|
|
288
|
-
},
|
|
289
|
-
"./node_modules/typescript/lib/lib.es2021.full.d.ts": {
|
|
290
|
-
"import": "./node_modules/typescript/lib/lib.es2021.full.d.js",
|
|
291
|
-
"types": "./node_modules/typescript/lib/lib.es2021.full.d.d.ts"
|
|
292
|
-
},
|
|
293
|
-
"./node_modules/typescript/lib/lib.es2021.intl.d.ts": {
|
|
294
|
-
"import": "./node_modules/typescript/lib/lib.es2021.intl.d.js",
|
|
295
|
-
"types": "./node_modules/typescript/lib/lib.es2021.intl.d.d.ts"
|
|
296
|
-
},
|
|
297
|
-
"./node_modules/typescript/lib/lib.es2021.promise.d.ts": {
|
|
298
|
-
"import": "./node_modules/typescript/lib/lib.es2021.promise.d.js",
|
|
299
|
-
"types": "./node_modules/typescript/lib/lib.es2021.promise.d.d.ts"
|
|
300
|
-
},
|
|
301
|
-
"./node_modules/typescript/lib/lib.es2021.string.d.ts": {
|
|
302
|
-
"import": "./node_modules/typescript/lib/lib.es2021.string.d.js",
|
|
303
|
-
"types": "./node_modules/typescript/lib/lib.es2021.string.d.d.ts"
|
|
304
|
-
},
|
|
305
|
-
"./node_modules/typescript/lib/lib.es2021.weakref.d.ts": {
|
|
306
|
-
"import": "./node_modules/typescript/lib/lib.es2021.weakref.d.js",
|
|
307
|
-
"types": "./node_modules/typescript/lib/lib.es2021.weakref.d.d.ts"
|
|
308
|
-
},
|
|
309
|
-
"./node_modules/typescript/lib/lib.es2022.array.d.ts": {
|
|
310
|
-
"import": "./node_modules/typescript/lib/lib.es2022.array.d.js",
|
|
311
|
-
"types": "./node_modules/typescript/lib/lib.es2022.array.d.d.ts"
|
|
312
|
-
},
|
|
313
|
-
"./node_modules/typescript/lib/lib.es2022.d.ts": {
|
|
314
|
-
"import": "./node_modules/typescript/lib/lib.es2022.d.js",
|
|
315
|
-
"types": "./node_modules/typescript/lib/lib.es2022.d.d.ts"
|
|
316
|
-
},
|
|
317
|
-
"./node_modules/typescript/lib/lib.es2022.error.d.ts": {
|
|
318
|
-
"import": "./node_modules/typescript/lib/lib.es2022.error.d.js",
|
|
319
|
-
"types": "./node_modules/typescript/lib/lib.es2022.error.d.d.ts"
|
|
320
|
-
},
|
|
321
|
-
"./node_modules/typescript/lib/lib.es2022.full.d.ts": {
|
|
322
|
-
"import": "./node_modules/typescript/lib/lib.es2022.full.d.js",
|
|
323
|
-
"types": "./node_modules/typescript/lib/lib.es2022.full.d.d.ts"
|
|
324
|
-
},
|
|
325
|
-
"./node_modules/typescript/lib/lib.es2022.intl.d.ts": {
|
|
326
|
-
"import": "./node_modules/typescript/lib/lib.es2022.intl.d.js",
|
|
327
|
-
"types": "./node_modules/typescript/lib/lib.es2022.intl.d.d.ts"
|
|
328
|
-
},
|
|
329
|
-
"./node_modules/typescript/lib/lib.es2022.object.d.ts": {
|
|
330
|
-
"import": "./node_modules/typescript/lib/lib.es2022.object.d.js",
|
|
331
|
-
"types": "./node_modules/typescript/lib/lib.es2022.object.d.d.ts"
|
|
332
|
-
},
|
|
333
|
-
"./node_modules/typescript/lib/lib.es2022.regexp.d.ts": {
|
|
334
|
-
"import": "./node_modules/typescript/lib/lib.es2022.regexp.d.js",
|
|
335
|
-
"types": "./node_modules/typescript/lib/lib.es2022.regexp.d.d.ts"
|
|
336
|
-
},
|
|
337
|
-
"./node_modules/typescript/lib/lib.es2022.string.d.ts": {
|
|
338
|
-
"import": "./node_modules/typescript/lib/lib.es2022.string.d.js",
|
|
339
|
-
"types": "./node_modules/typescript/lib/lib.es2022.string.d.d.ts"
|
|
340
|
-
},
|
|
341
|
-
"./node_modules/typescript/lib/lib.es2023.array.d.ts": {
|
|
342
|
-
"import": "./node_modules/typescript/lib/lib.es2023.array.d.js",
|
|
343
|
-
"types": "./node_modules/typescript/lib/lib.es2023.array.d.d.ts"
|
|
344
|
-
},
|
|
345
|
-
"./node_modules/typescript/lib/lib.es2023.collection.d.ts": {
|
|
346
|
-
"import": "./node_modules/typescript/lib/lib.es2023.collection.d.js",
|
|
347
|
-
"types": "./node_modules/typescript/lib/lib.es2023.collection.d.d.ts"
|
|
348
|
-
},
|
|
349
|
-
"./node_modules/typescript/lib/lib.es2023.d.ts": {
|
|
350
|
-
"import": "./node_modules/typescript/lib/lib.es2023.d.js",
|
|
351
|
-
"types": "./node_modules/typescript/lib/lib.es2023.d.d.ts"
|
|
352
|
-
},
|
|
353
|
-
"./node_modules/typescript/lib/lib.es2023.full.d.ts": {
|
|
354
|
-
"import": "./node_modules/typescript/lib/lib.es2023.full.d.js",
|
|
355
|
-
"types": "./node_modules/typescript/lib/lib.es2023.full.d.d.ts"
|
|
356
|
-
},
|
|
357
|
-
"./node_modules/typescript/lib/lib.es2023.intl.d.ts": {
|
|
358
|
-
"import": "./node_modules/typescript/lib/lib.es2023.intl.d.js",
|
|
359
|
-
"types": "./node_modules/typescript/lib/lib.es2023.intl.d.d.ts"
|
|
360
|
-
},
|
|
361
|
-
"./node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts": {
|
|
362
|
-
"import": "./node_modules/typescript/lib/lib.es2024.arraybuffer.d.js",
|
|
363
|
-
"types": "./node_modules/typescript/lib/lib.es2024.arraybuffer.d.d.ts"
|
|
364
|
-
},
|
|
365
|
-
"./node_modules/typescript/lib/lib.es2024.collection.d.ts": {
|
|
366
|
-
"import": "./node_modules/typescript/lib/lib.es2024.collection.d.js",
|
|
367
|
-
"types": "./node_modules/typescript/lib/lib.es2024.collection.d.d.ts"
|
|
368
|
-
},
|
|
369
|
-
"./node_modules/typescript/lib/lib.es2024.d.ts": {
|
|
370
|
-
"import": "./node_modules/typescript/lib/lib.es2024.d.js",
|
|
371
|
-
"types": "./node_modules/typescript/lib/lib.es2024.d.d.ts"
|
|
372
|
-
},
|
|
373
|
-
"./node_modules/typescript/lib/lib.es2024.full.d.ts": {
|
|
374
|
-
"import": "./node_modules/typescript/lib/lib.es2024.full.d.js",
|
|
375
|
-
"types": "./node_modules/typescript/lib/lib.es2024.full.d.d.ts"
|
|
376
|
-
},
|
|
377
|
-
"./node_modules/typescript/lib/lib.es2024.object.d.ts": {
|
|
378
|
-
"import": "./node_modules/typescript/lib/lib.es2024.object.d.js",
|
|
379
|
-
"types": "./node_modules/typescript/lib/lib.es2024.object.d.d.ts"
|
|
380
|
-
},
|
|
381
|
-
"./node_modules/typescript/lib/lib.es2024.promise.d.ts": {
|
|
382
|
-
"import": "./node_modules/typescript/lib/lib.es2024.promise.d.js",
|
|
383
|
-
"types": "./node_modules/typescript/lib/lib.es2024.promise.d.d.ts"
|
|
384
|
-
},
|
|
385
|
-
"./node_modules/typescript/lib/lib.es2024.regexp.d.ts": {
|
|
386
|
-
"import": "./node_modules/typescript/lib/lib.es2024.regexp.d.js",
|
|
387
|
-
"types": "./node_modules/typescript/lib/lib.es2024.regexp.d.d.ts"
|
|
388
|
-
},
|
|
389
|
-
"./node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts": {
|
|
390
|
-
"import": "./node_modules/typescript/lib/lib.es2024.sharedmemory.d.js",
|
|
391
|
-
"types": "./node_modules/typescript/lib/lib.es2024.sharedmemory.d.d.ts"
|
|
392
|
-
},
|
|
393
|
-
"./node_modules/typescript/lib/lib.es2024.string.d.ts": {
|
|
394
|
-
"import": "./node_modules/typescript/lib/lib.es2024.string.d.js",
|
|
395
|
-
"types": "./node_modules/typescript/lib/lib.es2024.string.d.d.ts"
|
|
396
|
-
},
|
|
397
|
-
"./node_modules/typescript/lib/lib.es5.d.ts": {
|
|
398
|
-
"import": "./node_modules/typescript/lib/lib.es5.d.js",
|
|
399
|
-
"types": "./node_modules/typescript/lib/lib.es5.d.d.ts"
|
|
400
|
-
},
|
|
401
|
-
"./node_modules/typescript/lib/lib.es6.d.ts": {
|
|
402
|
-
"import": "./node_modules/typescript/lib/lib.es6.d.js",
|
|
403
|
-
"types": "./node_modules/typescript/lib/lib.es6.d.d.ts"
|
|
404
|
-
},
|
|
405
|
-
"./node_modules/typescript/lib/lib.esnext.array.d.ts": {
|
|
406
|
-
"import": "./node_modules/typescript/lib/lib.esnext.array.d.js",
|
|
407
|
-
"types": "./node_modules/typescript/lib/lib.esnext.array.d.d.ts"
|
|
408
|
-
},
|
|
409
|
-
"./node_modules/typescript/lib/lib.esnext.collection.d.ts": {
|
|
410
|
-
"import": "./node_modules/typescript/lib/lib.esnext.collection.d.js",
|
|
411
|
-
"types": "./node_modules/typescript/lib/lib.esnext.collection.d.d.ts"
|
|
412
|
-
},
|
|
413
|
-
"./node_modules/typescript/lib/lib.esnext.d.ts": {
|
|
414
|
-
"import": "./node_modules/typescript/lib/lib.esnext.d.js",
|
|
415
|
-
"types": "./node_modules/typescript/lib/lib.esnext.d.d.ts"
|
|
416
|
-
},
|
|
417
|
-
"./node_modules/typescript/lib/lib.esnext.decorators.d.ts": {
|
|
418
|
-
"import": "./node_modules/typescript/lib/lib.esnext.decorators.d.js",
|
|
419
|
-
"types": "./node_modules/typescript/lib/lib.esnext.decorators.d.d.ts"
|
|
420
|
-
},
|
|
421
|
-
"./node_modules/typescript/lib/lib.esnext.disposable.d.ts": {
|
|
422
|
-
"import": "./node_modules/typescript/lib/lib.esnext.disposable.d.js",
|
|
423
|
-
"types": "./node_modules/typescript/lib/lib.esnext.disposable.d.d.ts"
|
|
424
|
-
},
|
|
425
|
-
"./node_modules/typescript/lib/lib.esnext.error.d.ts": {
|
|
426
|
-
"import": "./node_modules/typescript/lib/lib.esnext.error.d.js",
|
|
427
|
-
"types": "./node_modules/typescript/lib/lib.esnext.error.d.d.ts"
|
|
428
|
-
},
|
|
429
|
-
"./node_modules/typescript/lib/lib.esnext.float16.d.ts": {
|
|
430
|
-
"import": "./node_modules/typescript/lib/lib.esnext.float16.d.js",
|
|
431
|
-
"types": "./node_modules/typescript/lib/lib.esnext.float16.d.d.ts"
|
|
432
|
-
},
|
|
433
|
-
"./node_modules/typescript/lib/lib.esnext.full.d.ts": {
|
|
434
|
-
"import": "./node_modules/typescript/lib/lib.esnext.full.d.js",
|
|
435
|
-
"types": "./node_modules/typescript/lib/lib.esnext.full.d.d.ts"
|
|
436
|
-
},
|
|
437
|
-
"./node_modules/typescript/lib/lib.esnext.intl.d.ts": {
|
|
438
|
-
"import": "./node_modules/typescript/lib/lib.esnext.intl.d.js",
|
|
439
|
-
"types": "./node_modules/typescript/lib/lib.esnext.intl.d.d.ts"
|
|
440
|
-
},
|
|
441
|
-
"./node_modules/typescript/lib/lib.esnext.iterator.d.ts": {
|
|
442
|
-
"import": "./node_modules/typescript/lib/lib.esnext.iterator.d.js",
|
|
443
|
-
"types": "./node_modules/typescript/lib/lib.esnext.iterator.d.d.ts"
|
|
444
|
-
},
|
|
445
|
-
"./node_modules/typescript/lib/lib.esnext.promise.d.ts": {
|
|
446
|
-
"import": "./node_modules/typescript/lib/lib.esnext.promise.d.js",
|
|
447
|
-
"types": "./node_modules/typescript/lib/lib.esnext.promise.d.d.ts"
|
|
448
|
-
},
|
|
449
|
-
"./node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts": {
|
|
450
|
-
"import": "./node_modules/typescript/lib/lib.esnext.sharedmemory.d.js",
|
|
451
|
-
"types": "./node_modules/typescript/lib/lib.esnext.sharedmemory.d.d.ts"
|
|
452
|
-
},
|
|
453
|
-
"./node_modules/typescript/lib/lib.scripthost.d.ts": {
|
|
454
|
-
"import": "./node_modules/typescript/lib/lib.scripthost.d.js",
|
|
455
|
-
"types": "./node_modules/typescript/lib/lib.scripthost.d.d.ts"
|
|
456
|
-
},
|
|
457
|
-
"./node_modules/typescript/lib/lib.webworker.asynciterable.d.ts": {
|
|
458
|
-
"import": "./node_modules/typescript/lib/lib.webworker.asynciterable.d.js",
|
|
459
|
-
"types": "./node_modules/typescript/lib/lib.webworker.asynciterable.d.d.ts"
|
|
460
|
-
},
|
|
461
|
-
"./node_modules/typescript/lib/lib.webworker.d.ts": {
|
|
462
|
-
"import": "./node_modules/typescript/lib/lib.webworker.d.js",
|
|
463
|
-
"types": "./node_modules/typescript/lib/lib.webworker.d.d.ts"
|
|
464
|
-
},
|
|
465
|
-
"./node_modules/typescript/lib/lib.webworker.importscripts.d.ts": {
|
|
466
|
-
"import": "./node_modules/typescript/lib/lib.webworker.importscripts.d.js",
|
|
467
|
-
"types": "./node_modules/typescript/lib/lib.webworker.importscripts.d.d.ts"
|
|
468
|
-
},
|
|
469
|
-
"./node_modules/typescript/lib/lib.webworker.iterable.d.ts": {
|
|
470
|
-
"import": "./node_modules/typescript/lib/lib.webworker.iterable.d.js",
|
|
471
|
-
"types": "./node_modules/typescript/lib/lib.webworker.iterable.d.d.ts"
|
|
472
|
-
},
|
|
473
|
-
"./node_modules/typescript/lib/tsserverlibrary.d.ts": {
|
|
474
|
-
"import": "./node_modules/typescript/lib/tsserverlibrary.d.js",
|
|
475
|
-
"types": "./node_modules/typescript/lib/tsserverlibrary.d.d.ts"
|
|
476
|
-
},
|
|
477
|
-
"./node_modules/typescript/lib/typescript.d.ts": {
|
|
478
|
-
"import": "./node_modules/typescript/lib/typescript.d.js",
|
|
479
|
-
"types": "./node_modules/typescript/lib/typescript.d.d.ts"
|
|
480
|
-
},
|
|
481
|
-
"./type-util.test.ts": {
|
|
482
|
-
"import": "./type-util.test.js",
|
|
483
|
-
"types": "./type-util.test.d.ts"
|
|
484
|
-
},
|
|
485
57
|
"./type-util.ts": {
|
|
486
58
|
"import": "./type-util.js",
|
|
487
59
|
"types": "./type-util.d.ts"
|
|
488
60
|
},
|
|
489
|
-
"./url.test.ts": {
|
|
490
|
-
"import": "./url.test.js",
|
|
491
|
-
"types": "./url.test.d.ts"
|
|
492
|
-
},
|
|
493
61
|
"./url.ts": {
|
|
494
62
|
"import": "./url.js",
|
|
495
63
|
"types": "./url.d.ts"
|
|
496
64
|
},
|
|
497
|
-
"./util.test.ts": {
|
|
498
|
-
"import": "./util.test.js",
|
|
499
|
-
"types": "./util.test.d.ts"
|
|
500
|
-
},
|
|
501
65
|
"./util.ts": {
|
|
502
66
|
"import": "./util.js",
|
|
503
67
|
"types": "./util.d.ts"
|
package/url.d.ts
CHANGED
|
@@ -9,5 +9,4 @@ export type UrlConfig = {
|
|
|
9
9
|
export type UrlSearchConfig = Record<string, number | string | boolean>;
|
|
10
10
|
export declare const stringifyUrl: (config: UrlConfig) => string;
|
|
11
11
|
export declare const parseUrl: (url: `${string}://${string}`) => UrlConfig;
|
|
12
|
-
export type Split<STRING, CHARACTER extends string> = STRING extends `${infer S1}${CHARACTER}${infer S2}` ? [S1, S2] : never;
|
|
13
12
|
export type Url = string;
|
package/util.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FromCamelCase, FromKebabCase, Guard, JoinArray, JsonType, ObjectWithStringLiteralKey, Split, StringLiteral, ToCamelCase, ToKebabCase } from './type-util.ts';
|
|
2
2
|
import type { Call, Fn, Objects, Pipe } from 'hotscript';
|
|
3
|
-
export declare const typeKey:
|
|
3
|
+
export declare const typeKey: any;
|
|
4
4
|
export declare const makeObjectFromStringLiteral: <KEY, VALUE>(key: StringLiteral<KEY>, value: VALUE) => ObjectWithStringLiteralKey<KEY, VALUE>;
|
|
5
5
|
export declare const split: <const STRING extends string, const DELIMITER extends string>(str: STRING, delimiter: DELIMITER) => Split<STRING, DELIMITER>;
|
|
6
6
|
export declare const join: <const KEYS extends string[], const DELIMITER extends string>(keys: KEYS, delimiter: DELIMITER) => JoinArray<KEYS, DELIMITER>;
|
package/util.js
CHANGED
|
@@ -93,7 +93,6 @@ export const isDeepEqual = (a, b) => {
|
|
|
93
93
|
if (a instanceof DataView && b instanceof DataView) {
|
|
94
94
|
return isDataViewEqual(a, b);
|
|
95
95
|
}
|
|
96
|
-
// this is a TypedArray.
|
|
97
96
|
if (ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
|
|
98
97
|
return isDataViewEqual(new DataView(a.buffer), new DataView(b.buffer));
|
|
99
98
|
}
|
package/error.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/error.test.js
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { createCausedError, getErrorMessage, getThrownError, isAbortError, isNetworkError, } from './error.js';
|
|
2
|
-
import { expect, test } from 'vitest';
|
|
3
|
-
test('getErrorMessage reads the message off an Error', () => {
|
|
4
|
-
expect(getErrorMessage(new Error('it broke'))).toBe('it broke');
|
|
5
|
-
});
|
|
6
|
-
test('getErrorMessage stringifies anything else that was thrown', () => {
|
|
7
|
-
expect(getErrorMessage('a bare string')).toBe('a bare string');
|
|
8
|
-
expect(getErrorMessage(undefined)).toBe('undefined');
|
|
9
|
-
expect(getErrorMessage(404)).toBe('404');
|
|
10
|
-
});
|
|
11
|
-
test('getErrorMessage reads a subclass like any other Error', () => {
|
|
12
|
-
class ParseError extends Error {
|
|
13
|
-
}
|
|
14
|
-
expect(getErrorMessage(new ParseError('bad json'))).toBe('bad json');
|
|
15
|
-
});
|
|
16
|
-
test('createCausedError prefixes the message of the error it is given', () => {
|
|
17
|
-
expect(createCausedError({ message: 'Invalid package.json', cause: new Error('bad json') }).message).toBe('Invalid package.json: bad json');
|
|
18
|
-
});
|
|
19
|
-
test('createCausedError keeps the original as the cause, so the chain survives', () => {
|
|
20
|
-
const original = new Error('bad json');
|
|
21
|
-
expect(createCausedError({ message: 'Invalid package.json', cause: original }).cause).toBe(original);
|
|
22
|
-
});
|
|
23
|
-
test('createCausedError works on a non-Error cause without losing it', () => {
|
|
24
|
-
const caused = createCausedError({ message: 'Invalid package.json', cause: 'thrown string' });
|
|
25
|
-
expect(caused.message).toBe('Invalid package.json: thrown string');
|
|
26
|
-
expect(caused.cause).toBe('thrown string');
|
|
27
|
-
});
|
|
28
|
-
test('getThrownError hands back the Error that was thrown, cause and all', () => {
|
|
29
|
-
const cause = new Error('bad literal');
|
|
30
|
-
const thrown = getThrownError(() => {
|
|
31
|
-
throw new Error('Invalid type in store', { cause });
|
|
32
|
-
});
|
|
33
|
-
expect(thrown.message).toBe('Invalid type in store');
|
|
34
|
-
expect(thrown.cause).toBe(cause);
|
|
35
|
-
});
|
|
36
|
-
test('getThrownError fails when nothing is thrown, rather than returning undefined', () => {
|
|
37
|
-
expect(() => getThrownError(() => 'no throw here')).toThrow('Expected a throw');
|
|
38
|
-
});
|
|
39
|
-
test('getThrownError fails when the thrown value is not an Error', () => {
|
|
40
|
-
const notAnError = 'a bare string';
|
|
41
|
-
expect(() => getThrownError(() => {
|
|
42
|
-
throw notAnError;
|
|
43
|
-
})).toThrow('Expected an Error to be thrown, got: a bare string');
|
|
44
|
-
});
|
|
45
|
-
test('isAbortError recognises the DOMException a real abort produces', () => {
|
|
46
|
-
const controller = new AbortController();
|
|
47
|
-
controller.abort();
|
|
48
|
-
expect(isAbortError(controller.signal.reason)).toBe(true);
|
|
49
|
-
});
|
|
50
|
-
test('isAbortError recognises an error that only names AbortError in its message', () => {
|
|
51
|
-
expect(isAbortError(new Error('Fetch failed: AbortError'))).toBe(true);
|
|
52
|
-
});
|
|
53
|
-
test('isAbortError rejects an ordinary error', () => {
|
|
54
|
-
expect(isAbortError(new Error('it broke'))).toBe(false);
|
|
55
|
-
});
|
|
56
|
-
test('isAbortError rejects values that carry no name or message at all', () => {
|
|
57
|
-
expect(isAbortError(null)).toBe(false);
|
|
58
|
-
expect(isAbortError(undefined)).toBe(false);
|
|
59
|
-
expect(isAbortError('AbortError')).toBe(false);
|
|
60
|
-
});
|
|
61
|
-
test('isNetworkError recognises the TypeError a failed fetch throws', () => {
|
|
62
|
-
expect(isNetworkError(new TypeError('Load failed'))).toBe(true);
|
|
63
|
-
});
|
|
64
|
-
test('isNetworkError rejects a TypeError thrown for any other reason', () => {
|
|
65
|
-
expect(isNetworkError(new TypeError('x is not a function'))).toBe(false);
|
|
66
|
-
});
|
|
67
|
-
test('isNetworkError rejects a matching message on an error that is not a TypeError', () => {
|
|
68
|
-
expect(isNetworkError(new Error('Load failed'))).toBe(false);
|
|
69
|
-
});
|
|
70
|
-
test('isNetworkError rejects a nullish value', () => {
|
|
71
|
-
expect(isNetworkError(null)).toBe(false);
|
|
72
|
-
});
|
package/event.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/event.test.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { createEventCreators } from './event.js';
|
|
2
|
-
import { expect, expectTypeOf, test } from 'vitest';
|
|
3
|
-
test('DomainEventOf derives the discriminated union from the payload map', () => {
|
|
4
|
-
expectTypeOf().toEqualTypeOf();
|
|
5
|
-
});
|
|
6
|
-
test('createEventCreators builds a creator that emits its event type and payload', () => {
|
|
7
|
-
const creators = createEventCreators();
|
|
8
|
-
expect(creators.greet({ name: 'Ada' })).toEqual({ type: 'greet', payload: { name: 'Ada' } });
|
|
9
|
-
});
|
|
10
|
-
test('createEventCreators converts kebab-case event types to camelCase creator names', () => {
|
|
11
|
-
const creators = createEventCreators();
|
|
12
|
-
expect(creators.taskDone({ id: '7' })).toEqual({ type: 'task-done', payload: { id: '7' } });
|
|
13
|
-
});
|
|
14
|
-
test('createEventCreators makes an undefined-payload creator take no argument', () => {
|
|
15
|
-
const creators = createEventCreators();
|
|
16
|
-
expect(creators.done()).toEqual({ type: 'done', payload: undefined });
|
|
17
|
-
});
|
|
18
|
-
test('createEventCreators types each creator from the payload map', () => {
|
|
19
|
-
const creators = createEventCreators();
|
|
20
|
-
expectTypeOf(creators.taskDone).toEqualTypeOf();
|
|
21
|
-
expectTypeOf(creators.done).toEqualTypeOf();
|
|
22
|
-
});
|
package/fake.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|