@evobug_com/safe-ts-feature-node 0.0.0-stage → 0.2.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/safe-ts.json ADDED
@@ -0,0 +1,2499 @@
1
+ {
2
+ "modules": [
3
+ {
4
+ "specifiers": [
5
+ "node:events",
6
+ "events"
7
+ ],
8
+ "functions": {
9
+ "once": {
10
+ "fails": "rejects",
11
+ "error": "Error (the emitter emitted 'error')"
12
+ }
13
+ }
14
+ },
15
+ {
16
+ "specifiers": [
17
+ "node:stream",
18
+ "stream"
19
+ ],
20
+ "methods": {
21
+ "finished": {
22
+ "fails": "rejects",
23
+ "error": "Error (a stream errored)"
24
+ },
25
+ "pipeline": {
26
+ "fails": "rejects",
27
+ "error": "Error (a stream errored)"
28
+ }
29
+ },
30
+ "classes": {
31
+ "Duplex": {
32
+ "extends": "node:stream Readable"
33
+ },
34
+ "PassThrough": {
35
+ "extends": "node:stream Transform"
36
+ },
37
+ "Readable": {
38
+ "extends": "node:stream Stream",
39
+ "methods": {
40
+ "every": {
41
+ "fails": "rejects",
42
+ "error": "Error (the stream errored, or your callback threw)"
43
+ },
44
+ "find": {
45
+ "fails": "rejects",
46
+ "error": "Error (the stream errored, or your callback threw)"
47
+ },
48
+ "forEach": {
49
+ "fails": "rejects",
50
+ "error": "Error (the stream errored, or your callback threw)"
51
+ },
52
+ "reduce": {
53
+ "fails": "rejects",
54
+ "error": "Error (the stream errored, or your callback threw)"
55
+ },
56
+ "some": {
57
+ "fails": "rejects",
58
+ "error": "Error (the stream errored, or your callback threw)"
59
+ },
60
+ "toArray": {
61
+ "fails": "rejects",
62
+ "error": "Error (the stream errored, or your callback threw)"
63
+ }
64
+ }
65
+ },
66
+ "Transform": {
67
+ "extends": "node:stream Duplex"
68
+ }
69
+ },
70
+ "creates": {
71
+ "Readable.from": "node:stream Readable"
72
+ }
73
+ },
74
+ {
75
+ "specifiers": [
76
+ "node:net",
77
+ "net"
78
+ ],
79
+ "classes": {
80
+ "Socket": {
81
+ "extends": "node:stream Duplex"
82
+ }
83
+ },
84
+ "creates": {
85
+ "createServer": "node:net Server",
86
+ "connect": "node:net Socket"
87
+ }
88
+ },
89
+ {
90
+ "specifiers": [
91
+ "node:tls",
92
+ "tls"
93
+ ],
94
+ "functions": {
95
+ "setDefaultCACertificates": {
96
+ "fails": "throws",
97
+ "error": "Error (malformed key or certificate)"
98
+ },
99
+ "createSecureContext": {
100
+ "fails": "throws",
101
+ "error": "Error (malformed key or certificate)"
102
+ },
103
+ "SecureContext": {
104
+ "fails": "throws",
105
+ "error": "Error (malformed key or certificate)"
106
+ },
107
+ "createServer": {
108
+ "fails": "throws",
109
+ "error": "Error (malformed key or certificate)"
110
+ }
111
+ },
112
+ "classes": {
113
+ "Server": {
114
+ "extends": "node:net Server",
115
+ "methods": {
116
+ "addContext": {
117
+ "fails": "throws",
118
+ "error": "Error (malformed key or certificate)"
119
+ },
120
+ "setSecureContext": {
121
+ "fails": "throws",
122
+ "error": "Error (malformed key or certificate)"
123
+ }
124
+ }
125
+ },
126
+ "TLSSocket": {
127
+ "extends": "node:net Socket",
128
+ "methods": {
129
+ "setKeyCert": {
130
+ "fails": "throws",
131
+ "error": "Error (malformed key or certificate)"
132
+ }
133
+ }
134
+ }
135
+ },
136
+ "creates": {
137
+ "connect": "node:tls TLSSocket",
138
+ "createServer": "node:tls Server"
139
+ }
140
+ },
141
+ {
142
+ "specifiers": [
143
+ "node:buffer",
144
+ "buffer"
145
+ ],
146
+ "functions": {
147
+ "transcode": {
148
+ "fails": "throws",
149
+ "error": "Error (U_ILLEGAL_ARGUMENT_ERROR)"
150
+ },
151
+ "btoa": {
152
+ "fails": "throws",
153
+ "error": "DOMException (InvalidCharacterError)"
154
+ },
155
+ "atob": {
156
+ "fails": "throws",
157
+ "error": "DOMException (InvalidCharacterError)"
158
+ }
159
+ },
160
+ "classes": {
161
+ "Blob": {
162
+ "methods": {
163
+ "arrayBuffer": {
164
+ "fails": "rejects",
165
+ "error": "DOMException (NotReadableError: the file changed)"
166
+ },
167
+ "bytes": {
168
+ "fails": "rejects",
169
+ "error": "DOMException (NotReadableError: the file changed)"
170
+ },
171
+ "text": {
172
+ "fails": "rejects",
173
+ "error": "DOMException (NotReadableError: the file changed)"
174
+ }
175
+ }
176
+ },
177
+ "Buffer": {
178
+ "methods": {
179
+ "readBigInt64BE": {
180
+ "fails": "throws",
181
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
182
+ },
183
+ "readBigInt64LE": {
184
+ "fails": "throws",
185
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
186
+ },
187
+ "readBigUint64BE": {
188
+ "fails": "throws",
189
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
190
+ },
191
+ "readBigUInt64BE": {
192
+ "fails": "throws",
193
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
194
+ },
195
+ "readBigUint64LE": {
196
+ "fails": "throws",
197
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
198
+ },
199
+ "readBigUInt64LE": {
200
+ "fails": "throws",
201
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
202
+ },
203
+ "readDoubleBE": {
204
+ "fails": "throws",
205
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
206
+ },
207
+ "readDoubleLE": {
208
+ "fails": "throws",
209
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
210
+ },
211
+ "readFloatBE": {
212
+ "fails": "throws",
213
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
214
+ },
215
+ "readFloatLE": {
216
+ "fails": "throws",
217
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
218
+ },
219
+ "readInt16BE": {
220
+ "fails": "throws",
221
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
222
+ },
223
+ "readInt16LE": {
224
+ "fails": "throws",
225
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
226
+ },
227
+ "readInt32BE": {
228
+ "fails": "throws",
229
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
230
+ },
231
+ "readInt32LE": {
232
+ "fails": "throws",
233
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
234
+ },
235
+ "readInt8": {
236
+ "fails": "throws",
237
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
238
+ },
239
+ "readIntBE": {
240
+ "fails": "throws",
241
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
242
+ },
243
+ "readIntLE": {
244
+ "fails": "throws",
245
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
246
+ },
247
+ "readUint16BE": {
248
+ "fails": "throws",
249
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
250
+ },
251
+ "readUInt16BE": {
252
+ "fails": "throws",
253
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
254
+ },
255
+ "readUint16LE": {
256
+ "fails": "throws",
257
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
258
+ },
259
+ "readUInt16LE": {
260
+ "fails": "throws",
261
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
262
+ },
263
+ "readUint32BE": {
264
+ "fails": "throws",
265
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
266
+ },
267
+ "readUInt32BE": {
268
+ "fails": "throws",
269
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
270
+ },
271
+ "readUint32LE": {
272
+ "fails": "throws",
273
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
274
+ },
275
+ "readUInt32LE": {
276
+ "fails": "throws",
277
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
278
+ },
279
+ "readUint8": {
280
+ "fails": "throws",
281
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
282
+ },
283
+ "readUInt8": {
284
+ "fails": "throws",
285
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
286
+ },
287
+ "readUintBE": {
288
+ "fails": "throws",
289
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
290
+ },
291
+ "readUIntBE": {
292
+ "fails": "throws",
293
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
294
+ },
295
+ "readUintLE": {
296
+ "fails": "throws",
297
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
298
+ },
299
+ "readUIntLE": {
300
+ "fails": "throws",
301
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
302
+ },
303
+ "swap16": {
304
+ "fails": "throws",
305
+ "error": "RangeError (ERR_INVALID_BUFFER_SIZE)"
306
+ },
307
+ "swap32": {
308
+ "fails": "throws",
309
+ "error": "RangeError (ERR_INVALID_BUFFER_SIZE)"
310
+ },
311
+ "swap64": {
312
+ "fails": "throws",
313
+ "error": "RangeError (ERR_INVALID_BUFFER_SIZE)"
314
+ },
315
+ "write": {
316
+ "fails": "throws",
317
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
318
+ },
319
+ "writeBigInt64BE": {
320
+ "fails": "throws",
321
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
322
+ },
323
+ "writeBigInt64LE": {
324
+ "fails": "throws",
325
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
326
+ },
327
+ "writeBigUint64BE": {
328
+ "fails": "throws",
329
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
330
+ },
331
+ "writeBigUInt64BE": {
332
+ "fails": "throws",
333
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
334
+ },
335
+ "writeBigUint64LE": {
336
+ "fails": "throws",
337
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
338
+ },
339
+ "writeBigUInt64LE": {
340
+ "fails": "throws",
341
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
342
+ },
343
+ "writeDoubleBE": {
344
+ "fails": "throws",
345
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
346
+ },
347
+ "writeDoubleLE": {
348
+ "fails": "throws",
349
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
350
+ },
351
+ "writeFloatBE": {
352
+ "fails": "throws",
353
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
354
+ },
355
+ "writeFloatLE": {
356
+ "fails": "throws",
357
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
358
+ },
359
+ "writeInt16BE": {
360
+ "fails": "throws",
361
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
362
+ },
363
+ "writeInt16LE": {
364
+ "fails": "throws",
365
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
366
+ },
367
+ "writeInt32BE": {
368
+ "fails": "throws",
369
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
370
+ },
371
+ "writeInt32LE": {
372
+ "fails": "throws",
373
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
374
+ },
375
+ "writeInt8": {
376
+ "fails": "throws",
377
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
378
+ },
379
+ "writeIntBE": {
380
+ "fails": "throws",
381
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
382
+ },
383
+ "writeIntLE": {
384
+ "fails": "throws",
385
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
386
+ },
387
+ "writeUint16BE": {
388
+ "fails": "throws",
389
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
390
+ },
391
+ "writeUInt16BE": {
392
+ "fails": "throws",
393
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
394
+ },
395
+ "writeUint16LE": {
396
+ "fails": "throws",
397
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
398
+ },
399
+ "writeUInt16LE": {
400
+ "fails": "throws",
401
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
402
+ },
403
+ "writeUint32BE": {
404
+ "fails": "throws",
405
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
406
+ },
407
+ "writeUInt32BE": {
408
+ "fails": "throws",
409
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
410
+ },
411
+ "writeUint32LE": {
412
+ "fails": "throws",
413
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
414
+ },
415
+ "writeUInt32LE": {
416
+ "fails": "throws",
417
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
418
+ },
419
+ "writeUint8": {
420
+ "fails": "throws",
421
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
422
+ },
423
+ "writeUInt8": {
424
+ "fails": "throws",
425
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
426
+ },
427
+ "writeUintBE": {
428
+ "fails": "throws",
429
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
430
+ },
431
+ "writeUIntBE": {
432
+ "fails": "throws",
433
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
434
+ },
435
+ "writeUintLE": {
436
+ "fails": "throws",
437
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
438
+ },
439
+ "writeUIntLE": {
440
+ "fails": "throws",
441
+ "error": "RangeError (ERR_OUT_OF_RANGE)"
442
+ }
443
+ }
444
+ },
445
+ "File": {
446
+ "extends": "node:buffer Blob"
447
+ }
448
+ },
449
+ "creates": {
450
+ "Buffer.from": "node:buffer Buffer",
451
+ "Buffer.alloc": "node:buffer Buffer",
452
+ "Buffer.allocUnsafe": "node:buffer Buffer",
453
+ "Buffer.allocUnsafeSlow": "node:buffer Buffer",
454
+ "Buffer.concat": "node:buffer Buffer",
455
+ "Buffer.copyBytesFrom": "node:buffer Buffer"
456
+ }
457
+ },
458
+ {
459
+ "specifiers": [
460
+ "node:child_process",
461
+ "child_process"
462
+ ],
463
+ "functions": {
464
+ "execFileSync": {
465
+ "fails": "throws",
466
+ "error": "Error (non-zero exit, ENOENT)"
467
+ },
468
+ "execSync": {
469
+ "fails": "throws",
470
+ "error": "Error (non-zero exit, ETIMEDOUT)"
471
+ }
472
+ }
473
+ },
474
+ {
475
+ "specifiers": [
476
+ "node:crypto",
477
+ "crypto"
478
+ ],
479
+ "functions": {
480
+ "argon2Sync": {
481
+ "fails": "throws",
482
+ "error": "RangeError (memory limit exceeded)"
483
+ },
484
+ "createCipheriv": {
485
+ "fails": "throws",
486
+ "error": "RangeError (invalid key or IV length)"
487
+ },
488
+ "createDecipheriv": {
489
+ "fails": "throws",
490
+ "error": "RangeError (invalid key or IV length)"
491
+ },
492
+ "createPrivateKey": {
493
+ "fails": "throws",
494
+ "error": "Error (malformed key)"
495
+ },
496
+ "createPublicKey": {
497
+ "fails": "throws",
498
+ "error": "Error (malformed key)"
499
+ },
500
+ "diffieHellman": {
501
+ "fails": "throws",
502
+ "error": "Error (incompatible keys)"
503
+ },
504
+ "privateDecrypt": {
505
+ "fails": "throws",
506
+ "error": "Error (bad key or data)"
507
+ },
508
+ "privateEncrypt": {
509
+ "fails": "throws",
510
+ "error": "Error (bad key or data)"
511
+ },
512
+ "publicDecrypt": {
513
+ "fails": "throws",
514
+ "error": "Error (bad key or data)"
515
+ },
516
+ "publicEncrypt": {
517
+ "fails": "throws",
518
+ "error": "Error (bad key or data)"
519
+ },
520
+ "scryptSync": {
521
+ "fails": "throws",
522
+ "error": "RangeError (memory limit exceeded)"
523
+ },
524
+ "sign": {
525
+ "fails": "throws",
526
+ "error": "Error (malformed key)"
527
+ },
528
+ "setEngine": {
529
+ "fails": "throws",
530
+ "error": "Error (the engine cannot be loaded)"
531
+ },
532
+ "timingSafeEqual": {
533
+ "fails": "throws",
534
+ "error": "RangeError (buffers differ in length)"
535
+ },
536
+ "setFips": {
537
+ "fails": "throws",
538
+ "error": "Error (FIPS is not available)"
539
+ },
540
+ "verify": {
541
+ "fails": "throws",
542
+ "error": "Error (malformed key)"
543
+ },
544
+ "encapsulate": {
545
+ "fails": "throws",
546
+ "error": "Error (bad key)"
547
+ },
548
+ "decapsulate": {
549
+ "fails": "throws",
550
+ "error": "Error (bad key or ciphertext)"
551
+ },
552
+ "createMac": {
553
+ "fails": "throws",
554
+ "error": "Error (invalid key length, or an unsupported MAC or digest)"
555
+ },
556
+ "parsePKCS12": {
557
+ "fails": "throws",
558
+ "error": "Error (not a PKCS#12 bundle, or a wrong passphrase)"
559
+ }
560
+ },
561
+ "classes": {
562
+ "Cipheriv": {
563
+ "extends": "node:stream Transform",
564
+ "methods": {
565
+ "final": {
566
+ "fails": "throws",
567
+ "error": "Error (wrong final block length)"
568
+ }
569
+ }
570
+ },
571
+ "Decipheriv": {
572
+ "extends": "node:stream Transform",
573
+ "methods": {
574
+ "final": {
575
+ "fails": "throws",
576
+ "error": "Error (unable to authenticate data / bad decrypt)"
577
+ },
578
+ "setAuthTag": {
579
+ "fails": "throws",
580
+ "error": "TypeError (ERR_CRYPTO_INVALID_AUTH_TAG)"
581
+ }
582
+ }
583
+ },
584
+ "DiffieHellman": {
585
+ "methods": {
586
+ "computeSecret": {
587
+ "fails": "throws",
588
+ "error": "Error (ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY)"
589
+ }
590
+ }
591
+ },
592
+ "DiffieHellmanGroup": {
593
+ "methods": {
594
+ "computeSecret": {
595
+ "fails": "throws",
596
+ "error": "Error (ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY)"
597
+ }
598
+ }
599
+ },
600
+ "ECDH": {
601
+ "statics": {
602
+ "convertKey": {
603
+ "fails": "throws",
604
+ "error": "Error (invalid key)"
605
+ }
606
+ },
607
+ "methods": {
608
+ "computeSecret": {
609
+ "fails": "throws",
610
+ "error": "Error (ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY)"
611
+ },
612
+ "setPrivateKey": {
613
+ "fails": "throws",
614
+ "error": "Error (invalid private key)"
615
+ }
616
+ }
617
+ },
618
+ "Hash": {
619
+ "extends": "node:stream Transform"
620
+ },
621
+ "Hmac": {
622
+ "extends": "node:stream Transform"
623
+ },
624
+ "Sign": {
625
+ "extends": "node:stream Writable",
626
+ "methods": {
627
+ "sign": {
628
+ "fails": "throws",
629
+ "error": "Error (malformed key)"
630
+ }
631
+ }
632
+ },
633
+ "Verify": {
634
+ "extends": "node:stream Writable",
635
+ "methods": {
636
+ "verify": {
637
+ "fails": "throws",
638
+ "error": "Error (malformed key)"
639
+ }
640
+ }
641
+ }
642
+ },
643
+ "creates": {
644
+ "createCipheriv": "node:crypto Cipheriv",
645
+ "createDecipheriv": "node:crypto Decipheriv",
646
+ "createDiffieHellman": "node:crypto DiffieHellman",
647
+ "createDiffieHellmanGroup": "node:crypto DiffieHellmanGroup",
648
+ "createECDH": "node:crypto ECDH",
649
+ "createSign": "node:crypto Sign",
650
+ "createVerify": "node:crypto Verify",
651
+ "createHash": "node:crypto Hash",
652
+ "createHmac": "node:crypto Hmac",
653
+ "randomBytes": "node:buffer Buffer"
654
+ }
655
+ },
656
+ {
657
+ "specifiers": [
658
+ "node:dgram",
659
+ "dgram"
660
+ ],
661
+ "classes": {
662
+ "Socket": {
663
+ "extends": "node:events EventEmitter",
664
+ "methods": {
665
+ "addMembership": {
666
+ "fails": "throws",
667
+ "error": "Error (e.g. EADDRNOTAVAIL)"
668
+ },
669
+ "addSourceSpecificMembership": {
670
+ "fails": "throws",
671
+ "error": "Error (e.g. EADDRNOTAVAIL)"
672
+ },
673
+ "bindSync": {
674
+ "fails": "throws",
675
+ "error": "Error (e.g. EADDRINUSE)"
676
+ },
677
+ "connectSync": {
678
+ "fails": "throws",
679
+ "error": "Error (e.g. ENETUNREACH)"
680
+ },
681
+ "dropMembership": {
682
+ "fails": "throws",
683
+ "error": "Error (e.g. EADDRNOTAVAIL)"
684
+ },
685
+ "dropSourceSpecificMembership": {
686
+ "fails": "throws",
687
+ "error": "Error (e.g. EADDRNOTAVAIL)"
688
+ },
689
+ "setMulticastInterface": {
690
+ "fails": "throws",
691
+ "error": "Error (e.g. EADDRNOTAVAIL)"
692
+ },
693
+ "setRecvBufferSize": {
694
+ "fails": "throws",
695
+ "error": "Error (ERR_SOCKET_BUFFER_SIZE)"
696
+ },
697
+ "setSendBufferSize": {
698
+ "fails": "throws",
699
+ "error": "Error (ERR_SOCKET_BUFFER_SIZE)"
700
+ }
701
+ }
702
+ }
703
+ },
704
+ "creates": {
705
+ "createSocket": "node:dgram Socket"
706
+ }
707
+ },
708
+ {
709
+ "specifiers": [
710
+ "node:dns",
711
+ "dns"
712
+ ],
713
+ "methods": {
714
+ "lookup": {
715
+ "fails": "rejects",
716
+ "error": "Error (e.g. ENOTFOUND)"
717
+ },
718
+ "lookupService": {
719
+ "fails": "rejects",
720
+ "error": "Error (e.g. ENOTFOUND)"
721
+ }
722
+ }
723
+ },
724
+ {
725
+ "specifiers": [
726
+ "node:dns/promises",
727
+ "dns/promises"
728
+ ],
729
+ "functions": {
730
+ "lookup": {
731
+ "fails": "rejects",
732
+ "error": "Error (e.g. ENOTFOUND)"
733
+ },
734
+ "lookupService": {
735
+ "fails": "rejects",
736
+ "error": "Error (e.g. ENOTFOUND)"
737
+ },
738
+ "resolve": {
739
+ "fails": "rejects",
740
+ "error": "Error (e.g. ENOTFOUND)"
741
+ },
742
+ "resolve4": {
743
+ "fails": "rejects",
744
+ "error": "Error (e.g. ENOTFOUND)"
745
+ },
746
+ "resolve6": {
747
+ "fails": "rejects",
748
+ "error": "Error (e.g. ENOTFOUND)"
749
+ },
750
+ "resolveAny": {
751
+ "fails": "rejects",
752
+ "error": "Error (e.g. ENOTFOUND)"
753
+ },
754
+ "resolveCaa": {
755
+ "fails": "rejects",
756
+ "error": "Error (e.g. ENOTFOUND)"
757
+ },
758
+ "resolveCname": {
759
+ "fails": "rejects",
760
+ "error": "Error (e.g. ENOTFOUND)"
761
+ },
762
+ "resolveMx": {
763
+ "fails": "rejects",
764
+ "error": "Error (e.g. ENOTFOUND)"
765
+ },
766
+ "resolveNaptr": {
767
+ "fails": "rejects",
768
+ "error": "Error (e.g. ENOTFOUND)"
769
+ },
770
+ "resolveNs": {
771
+ "fails": "rejects",
772
+ "error": "Error (e.g. ENOTFOUND)"
773
+ },
774
+ "resolvePtr": {
775
+ "fails": "rejects",
776
+ "error": "Error (e.g. ENOTFOUND)"
777
+ },
778
+ "resolveSoa": {
779
+ "fails": "rejects",
780
+ "error": "Error (e.g. ENOTFOUND)"
781
+ },
782
+ "resolveSrv": {
783
+ "fails": "rejects",
784
+ "error": "Error (e.g. ENOTFOUND)"
785
+ },
786
+ "resolveTlsa": {
787
+ "fails": "rejects",
788
+ "error": "Error (e.g. ENOTFOUND)"
789
+ },
790
+ "resolveTxt": {
791
+ "fails": "rejects",
792
+ "error": "Error (e.g. ENOTFOUND)"
793
+ },
794
+ "reverse": {
795
+ "fails": "rejects",
796
+ "error": "Error (e.g. ENOTFOUND)"
797
+ }
798
+ },
799
+ "classes": {
800
+ "Resolver": {
801
+ "methods": {
802
+ "resolve": {
803
+ "fails": "rejects",
804
+ "error": "Error (e.g. ENOTFOUND)"
805
+ },
806
+ "resolve4": {
807
+ "fails": "rejects",
808
+ "error": "Error (e.g. ENOTFOUND)"
809
+ },
810
+ "resolve6": {
811
+ "fails": "rejects",
812
+ "error": "Error (e.g. ENOTFOUND)"
813
+ },
814
+ "resolveAny": {
815
+ "fails": "rejects",
816
+ "error": "Error (e.g. ENOTFOUND)"
817
+ },
818
+ "resolveCaa": {
819
+ "fails": "rejects",
820
+ "error": "Error (e.g. ENOTFOUND)"
821
+ },
822
+ "resolveCname": {
823
+ "fails": "rejects",
824
+ "error": "Error (e.g. ENOTFOUND)"
825
+ },
826
+ "resolveMx": {
827
+ "fails": "rejects",
828
+ "error": "Error (e.g. ENOTFOUND)"
829
+ },
830
+ "resolveNaptr": {
831
+ "fails": "rejects",
832
+ "error": "Error (e.g. ENOTFOUND)"
833
+ },
834
+ "resolveNs": {
835
+ "fails": "rejects",
836
+ "error": "Error (e.g. ENOTFOUND)"
837
+ },
838
+ "resolvePtr": {
839
+ "fails": "rejects",
840
+ "error": "Error (e.g. ENOTFOUND)"
841
+ },
842
+ "resolveSoa": {
843
+ "fails": "rejects",
844
+ "error": "Error (e.g. ENOTFOUND)"
845
+ },
846
+ "resolveSrv": {
847
+ "fails": "rejects",
848
+ "error": "Error (e.g. ENOTFOUND)"
849
+ },
850
+ "resolveTlsa": {
851
+ "fails": "rejects",
852
+ "error": "Error (e.g. ENOTFOUND)"
853
+ },
854
+ "resolveTxt": {
855
+ "fails": "rejects",
856
+ "error": "Error (e.g. ENOTFOUND)"
857
+ },
858
+ "reverse": {
859
+ "fails": "rejects",
860
+ "error": "Error (e.g. ENOTFOUND)"
861
+ }
862
+ }
863
+ }
864
+ }
865
+ },
866
+ {
867
+ "specifiers": [
868
+ "node:fs",
869
+ "fs"
870
+ ],
871
+ "functions": {
872
+ "appendFileSync": {
873
+ "fails": "throws",
874
+ "error": "Error (e.g. EACCES)"
875
+ },
876
+ "accessSync": {
877
+ "fails": "throws",
878
+ "error": "Error (e.g. ENOENT)"
879
+ },
880
+ "chownSync": {
881
+ "fails": "throws",
882
+ "error": "Error (e.g. EPERM)"
883
+ },
884
+ "chmodSync": {
885
+ "fails": "throws",
886
+ "error": "Error (e.g. ENOENT)"
887
+ },
888
+ "closeSync": {
889
+ "fails": "throws",
890
+ "error": "Error (e.g. EBADF)"
891
+ },
892
+ "copyFileSync": {
893
+ "fails": "throws",
894
+ "error": "Error (e.g. ENOENT)"
895
+ },
896
+ "cpSync": {
897
+ "fails": "throws",
898
+ "error": "Error (e.g. ENOENT)"
899
+ },
900
+ "fchownSync": {
901
+ "fails": "throws",
902
+ "error": "Error (e.g. EBADF)"
903
+ },
904
+ "fchmodSync": {
905
+ "fails": "throws",
906
+ "error": "Error (e.g. EBADF)"
907
+ },
908
+ "fdatasyncSync": {
909
+ "fails": "throws",
910
+ "error": "Error (e.g. EBADF)"
911
+ },
912
+ "fstatSync": {
913
+ "fails": "throws",
914
+ "error": "Error (e.g. EBADF)"
915
+ },
916
+ "fsyncSync": {
917
+ "fails": "throws",
918
+ "error": "Error (e.g. EBADF)"
919
+ },
920
+ "ftruncateSync": {
921
+ "fails": "throws",
922
+ "error": "Error (e.g. EBADF)"
923
+ },
924
+ "futimesSync": {
925
+ "fails": "throws",
926
+ "error": "Error (e.g. EBADF)"
927
+ },
928
+ "lchownSync": {
929
+ "fails": "throws",
930
+ "error": "Error (e.g. ENOENT)"
931
+ },
932
+ "linkSync": {
933
+ "fails": "throws",
934
+ "error": "Error (e.g. EEXIST)"
935
+ },
936
+ "lstatSync": {
937
+ "fails": "throws",
938
+ "error": "Error (e.g. ENOENT)"
939
+ },
940
+ "lutimesSync": {
941
+ "fails": "throws",
942
+ "error": "Error (e.g. ENOENT)"
943
+ },
944
+ "mkdirSync": {
945
+ "fails": "throws",
946
+ "error": "Error (e.g. EEXIST)"
947
+ },
948
+ "mkdtempSync": {
949
+ "fails": "throws",
950
+ "error": "Error (e.g. ENOENT)"
951
+ },
952
+ "mkdtempDisposableSync": {
953
+ "fails": "throws",
954
+ "error": "Error (e.g. ENOENT)"
955
+ },
956
+ "openSync": {
957
+ "fails": "throws",
958
+ "error": "Error (e.g. ENOENT)"
959
+ },
960
+ "openAsBlob": {
961
+ "fails": "throws",
962
+ "error": "Error (e.g. ENOENT)"
963
+ },
964
+ "readdirSync": {
965
+ "fails": "throws",
966
+ "error": "Error (e.g. ENOENT)"
967
+ },
968
+ "readSync": {
969
+ "fails": "throws",
970
+ "error": "Error (e.g. EBADF)"
971
+ },
972
+ "readvSync": {
973
+ "fails": "throws",
974
+ "error": "Error (e.g. EBADF)"
975
+ },
976
+ "readFileSync": {
977
+ "fails": "throws",
978
+ "error": "Error (e.g. ENOENT)"
979
+ },
980
+ "readlinkSync": {
981
+ "fails": "throws",
982
+ "error": "Error (e.g. EINVAL)"
983
+ },
984
+ "realpathSync": {
985
+ "fails": "throws",
986
+ "error": "Error (e.g. ENOENT)"
987
+ },
988
+ "renameSync": {
989
+ "fails": "throws",
990
+ "error": "Error (e.g. ENOENT)"
991
+ },
992
+ "rmSync": {
993
+ "fails": "throws",
994
+ "error": "Error (e.g. ENOENT)"
995
+ },
996
+ "rmdirSync": {
997
+ "fails": "throws",
998
+ "error": "Error (e.g. ENOTEMPTY)"
999
+ },
1000
+ "statSync": {
1001
+ "fails": "throws",
1002
+ "error": "Error (e.g. ENOENT)"
1003
+ },
1004
+ "statfsSync": {
1005
+ "fails": "throws",
1006
+ "error": "Error (e.g. ENOENT)"
1007
+ },
1008
+ "symlinkSync": {
1009
+ "fails": "throws",
1010
+ "error": "Error (e.g. EEXIST)"
1011
+ },
1012
+ "truncateSync": {
1013
+ "fails": "throws",
1014
+ "error": "Error (e.g. ENOENT)"
1015
+ },
1016
+ "unlinkSync": {
1017
+ "fails": "throws",
1018
+ "error": "Error (e.g. ENOENT)"
1019
+ },
1020
+ "utimesSync": {
1021
+ "fails": "throws",
1022
+ "error": "Error (e.g. ENOENT)"
1023
+ },
1024
+ "watch": {
1025
+ "fails": "throws",
1026
+ "error": "Error (e.g. ENOENT)"
1027
+ },
1028
+ "writeFileSync": {
1029
+ "fails": "throws",
1030
+ "error": "Error (e.g. EACCES)"
1031
+ },
1032
+ "writeSync": {
1033
+ "fails": "throws",
1034
+ "error": "Error (e.g. EBADF)"
1035
+ },
1036
+ "writevSync": {
1037
+ "fails": "throws",
1038
+ "error": "Error (e.g. EBADF)"
1039
+ },
1040
+ "opendirSync": {
1041
+ "fails": "throws",
1042
+ "error": "Error (e.g. ENOENT)"
1043
+ },
1044
+ "lchmodSync": {
1045
+ "fails": "throws",
1046
+ "error": "Error (e.g. ENOENT)"
1047
+ },
1048
+ "openAsBlobSync": {
1049
+ "fails": "throws",
1050
+ "error": "Error (e.g. ENOENT)"
1051
+ }
1052
+ },
1053
+ "methods": {
1054
+ "access": {
1055
+ "fails": "rejects",
1056
+ "error": "Error (e.g. ENOENT)"
1057
+ },
1058
+ "appendFile": {
1059
+ "fails": "rejects",
1060
+ "error": "Error (e.g. EACCES)"
1061
+ },
1062
+ "chmod": {
1063
+ "fails": "rejects",
1064
+ "error": "Error (e.g. ENOENT)"
1065
+ },
1066
+ "chown": {
1067
+ "fails": "rejects",
1068
+ "error": "Error (e.g. EPERM)"
1069
+ },
1070
+ "copyFile": {
1071
+ "fails": "rejects",
1072
+ "error": "Error (e.g. ENOENT)"
1073
+ },
1074
+ "cp": {
1075
+ "fails": "rejects",
1076
+ "error": "Error (e.g. ENOENT)"
1077
+ },
1078
+ "lchmod": {
1079
+ "fails": "rejects",
1080
+ "error": "Error (ERR_METHOD_NOT_IMPLEMENTED outside macOS)"
1081
+ },
1082
+ "lchown": {
1083
+ "fails": "rejects",
1084
+ "error": "Error (e.g. ENOENT)"
1085
+ },
1086
+ "link": {
1087
+ "fails": "rejects",
1088
+ "error": "Error (e.g. EEXIST)"
1089
+ },
1090
+ "lstat": {
1091
+ "fails": "rejects",
1092
+ "error": "Error (e.g. ENOENT)"
1093
+ },
1094
+ "lutimes": {
1095
+ "fails": "rejects",
1096
+ "error": "Error (e.g. ENOENT)"
1097
+ },
1098
+ "mkdir": {
1099
+ "fails": "rejects",
1100
+ "error": "Error (e.g. EEXIST)"
1101
+ },
1102
+ "mkdtemp": {
1103
+ "fails": "rejects",
1104
+ "error": "Error (e.g. ENOENT)"
1105
+ },
1106
+ "mkdtempDisposable": {
1107
+ "fails": "rejects",
1108
+ "error": "Error (e.g. ENOENT)"
1109
+ },
1110
+ "open": {
1111
+ "fails": "rejects",
1112
+ "error": "Error (e.g. ENOENT)"
1113
+ },
1114
+ "opendir": {
1115
+ "fails": "rejects",
1116
+ "error": "Error (e.g. ENOENT)"
1117
+ },
1118
+ "readdir": {
1119
+ "fails": "rejects",
1120
+ "error": "Error (e.g. ENOENT)"
1121
+ },
1122
+ "readFile": {
1123
+ "fails": "rejects",
1124
+ "error": "Error (e.g. ENOENT)"
1125
+ },
1126
+ "readlink": {
1127
+ "fails": "rejects",
1128
+ "error": "Error (e.g. EINVAL)"
1129
+ },
1130
+ "realpath": {
1131
+ "fails": "rejects",
1132
+ "error": "Error (e.g. ENOENT)"
1133
+ },
1134
+ "rename": {
1135
+ "fails": "rejects",
1136
+ "error": "Error (e.g. ENOENT)"
1137
+ },
1138
+ "rm": {
1139
+ "fails": "rejects",
1140
+ "error": "Error (e.g. ENOENT)"
1141
+ },
1142
+ "rmdir": {
1143
+ "fails": "rejects",
1144
+ "error": "Error (e.g. ENOTEMPTY)"
1145
+ },
1146
+ "stat": {
1147
+ "fails": "rejects",
1148
+ "error": "Error (e.g. ENOENT)"
1149
+ },
1150
+ "statfs": {
1151
+ "fails": "rejects",
1152
+ "error": "Error (e.g. ENOENT)"
1153
+ },
1154
+ "symlink": {
1155
+ "fails": "rejects",
1156
+ "error": "Error (e.g. EEXIST)"
1157
+ },
1158
+ "truncate": {
1159
+ "fails": "rejects",
1160
+ "error": "Error (e.g. ENOENT)"
1161
+ },
1162
+ "unlink": {
1163
+ "fails": "rejects",
1164
+ "error": "Error (e.g. ENOENT)"
1165
+ },
1166
+ "utimes": {
1167
+ "fails": "rejects",
1168
+ "error": "Error (e.g. ENOENT)"
1169
+ },
1170
+ "writeFile": {
1171
+ "fails": "rejects",
1172
+ "error": "Error (e.g. EACCES)"
1173
+ }
1174
+ },
1175
+ "classes": {
1176
+ "Dir": {
1177
+ "methods": {
1178
+ "close": {
1179
+ "fails": "rejects",
1180
+ "error": "Error (ERR_DIR_CLOSED)"
1181
+ },
1182
+ "closeSync": {
1183
+ "fails": "throws",
1184
+ "error": "Error (ERR_DIR_CLOSED)"
1185
+ },
1186
+ "read": {
1187
+ "fails": "rejects",
1188
+ "error": "Error (e.g. EBADF)"
1189
+ },
1190
+ "readSync": {
1191
+ "fails": "throws",
1192
+ "error": "Error (e.g. EBADF)"
1193
+ }
1194
+ }
1195
+ },
1196
+ "ReadStream": {
1197
+ "extends": "node:stream Readable"
1198
+ },
1199
+ "Utf8Stream": {
1200
+ "extends": "node:events EventEmitter",
1201
+ "methods": {
1202
+ "flushSync": {
1203
+ "fails": "throws",
1204
+ "error": "Error (e.g. ENOSPC)"
1205
+ }
1206
+ }
1207
+ }
1208
+ },
1209
+ "creates": {
1210
+ "opendirSync": "node:fs Dir",
1211
+ "createReadStream": "node:fs ReadStream",
1212
+ "createWriteStream": "node:fs WriteStream",
1213
+ "promises.open": "node:fs/promises FileHandle",
1214
+ "promises.opendir": "node:fs Dir"
1215
+ }
1216
+ },
1217
+ {
1218
+ "specifiers": [
1219
+ "node:fs/promises",
1220
+ "fs/promises"
1221
+ ],
1222
+ "functions": {
1223
+ "access": {
1224
+ "fails": "rejects",
1225
+ "error": "Error (e.g. ENOENT)"
1226
+ },
1227
+ "copyFile": {
1228
+ "fails": "rejects",
1229
+ "error": "Error (e.g. ENOENT)"
1230
+ },
1231
+ "cp": {
1232
+ "fails": "rejects",
1233
+ "error": "Error (e.g. ENOENT)"
1234
+ },
1235
+ "open": {
1236
+ "fails": "rejects",
1237
+ "error": "Error (e.g. ENOENT)"
1238
+ },
1239
+ "opendir": {
1240
+ "fails": "rejects",
1241
+ "error": "Error (e.g. ENOENT)"
1242
+ },
1243
+ "rename": {
1244
+ "fails": "rejects",
1245
+ "error": "Error (e.g. ENOENT)"
1246
+ },
1247
+ "truncate": {
1248
+ "fails": "rejects",
1249
+ "error": "Error (e.g. ENOENT)"
1250
+ },
1251
+ "rm": {
1252
+ "fails": "rejects",
1253
+ "error": "Error (e.g. ENOENT)"
1254
+ },
1255
+ "rmdir": {
1256
+ "fails": "rejects",
1257
+ "error": "Error (e.g. ENOTEMPTY)"
1258
+ },
1259
+ "mkdir": {
1260
+ "fails": "rejects",
1261
+ "error": "Error (e.g. EEXIST)"
1262
+ },
1263
+ "readdir": {
1264
+ "fails": "rejects",
1265
+ "error": "Error (e.g. ENOENT)"
1266
+ },
1267
+ "readlink": {
1268
+ "fails": "rejects",
1269
+ "error": "Error (e.g. EINVAL)"
1270
+ },
1271
+ "symlink": {
1272
+ "fails": "rejects",
1273
+ "error": "Error (e.g. EEXIST)"
1274
+ },
1275
+ "lstat": {
1276
+ "fails": "rejects",
1277
+ "error": "Error (e.g. ENOENT)"
1278
+ },
1279
+ "stat": {
1280
+ "fails": "rejects",
1281
+ "error": "Error (e.g. ENOENT)"
1282
+ },
1283
+ "statfs": {
1284
+ "fails": "rejects",
1285
+ "error": "Error (e.g. ENOENT)"
1286
+ },
1287
+ "link": {
1288
+ "fails": "rejects",
1289
+ "error": "Error (e.g. EEXIST)"
1290
+ },
1291
+ "unlink": {
1292
+ "fails": "rejects",
1293
+ "error": "Error (e.g. ENOENT)"
1294
+ },
1295
+ "chmod": {
1296
+ "fails": "rejects",
1297
+ "error": "Error (e.g. ENOENT)"
1298
+ },
1299
+ "lchmod": {
1300
+ "fails": "rejects",
1301
+ "error": "Error (ERR_METHOD_NOT_IMPLEMENTED outside macOS)"
1302
+ },
1303
+ "lchown": {
1304
+ "fails": "rejects",
1305
+ "error": "Error (e.g. ENOENT)"
1306
+ },
1307
+ "chown": {
1308
+ "fails": "rejects",
1309
+ "error": "Error (e.g. EPERM)"
1310
+ },
1311
+ "utimes": {
1312
+ "fails": "rejects",
1313
+ "error": "Error (e.g. ENOENT)"
1314
+ },
1315
+ "lutimes": {
1316
+ "fails": "rejects",
1317
+ "error": "Error (e.g. ENOENT)"
1318
+ },
1319
+ "realpath": {
1320
+ "fails": "rejects",
1321
+ "error": "Error (e.g. ENOENT)"
1322
+ },
1323
+ "mkdtemp": {
1324
+ "fails": "rejects",
1325
+ "error": "Error (e.g. ENOENT)"
1326
+ },
1327
+ "mkdtempDisposable": {
1328
+ "fails": "rejects",
1329
+ "error": "Error (e.g. ENOENT)"
1330
+ },
1331
+ "writeFile": {
1332
+ "fails": "rejects",
1333
+ "error": "Error (e.g. EACCES)"
1334
+ },
1335
+ "appendFile": {
1336
+ "fails": "rejects",
1337
+ "error": "Error (e.g. EACCES)"
1338
+ },
1339
+ "readFile": {
1340
+ "fails": "rejects",
1341
+ "error": "Error (e.g. ENOENT)"
1342
+ }
1343
+ },
1344
+ "classes": {
1345
+ "FileHandle": {
1346
+ "extends": "node:events EventEmitter",
1347
+ "methods": {
1348
+ "appendFile": {
1349
+ "fails": "rejects",
1350
+ "error": "Error (e.g. EBADF)"
1351
+ },
1352
+ "chmod": {
1353
+ "fails": "rejects",
1354
+ "error": "Error (e.g. EPERM)"
1355
+ },
1356
+ "chown": {
1357
+ "fails": "rejects",
1358
+ "error": "Error (e.g. EPERM)"
1359
+ },
1360
+ "close": {
1361
+ "fails": "rejects",
1362
+ "error": "Error (e.g. EBADF)"
1363
+ },
1364
+ "datasync": {
1365
+ "fails": "rejects",
1366
+ "error": "Error (e.g. EIO)"
1367
+ },
1368
+ "read": {
1369
+ "fails": "rejects",
1370
+ "error": "Error (e.g. EISDIR)"
1371
+ },
1372
+ "readFile": {
1373
+ "fails": "rejects",
1374
+ "error": "Error (e.g. EISDIR)"
1375
+ },
1376
+ "readv": {
1377
+ "fails": "rejects",
1378
+ "error": "Error (e.g. EBADF)"
1379
+ },
1380
+ "stat": {
1381
+ "fails": "rejects",
1382
+ "error": "Error (e.g. EBADF)"
1383
+ },
1384
+ "sync": {
1385
+ "fails": "rejects",
1386
+ "error": "Error (e.g. EIO)"
1387
+ },
1388
+ "truncate": {
1389
+ "fails": "rejects",
1390
+ "error": "Error (e.g. EINVAL)"
1391
+ },
1392
+ "utimes": {
1393
+ "fails": "rejects",
1394
+ "error": "Error (e.g. EPERM)"
1395
+ },
1396
+ "write": {
1397
+ "fails": "rejects",
1398
+ "error": "Error (e.g. ENOSPC)"
1399
+ },
1400
+ "writeFile": {
1401
+ "fails": "rejects",
1402
+ "error": "Error (e.g. ENOSPC)"
1403
+ },
1404
+ "writev": {
1405
+ "fails": "rejects",
1406
+ "error": "Error (e.g. ENOSPC)"
1407
+ }
1408
+ }
1409
+ }
1410
+ },
1411
+ "creates": {
1412
+ "open": "node:fs/promises FileHandle",
1413
+ "opendir": "node:fs Dir"
1414
+ }
1415
+ },
1416
+ {
1417
+ "specifiers": [
1418
+ "node:http",
1419
+ "http"
1420
+ ],
1421
+ "functions": {
1422
+ "get": {
1423
+ "fails": "throws",
1424
+ "error": "TypeError (ERR_INVALID_URL: the URL string is invalid; network errors go to 'error')"
1425
+ },
1426
+ "request": {
1427
+ "fails": "throws",
1428
+ "error": "TypeError (ERR_INVALID_URL: the URL string is invalid; network errors go to 'error')"
1429
+ },
1430
+ "validateHeaderName": {
1431
+ "fails": "throws",
1432
+ "error": "TypeError (ERR_INVALID_HTTP_TOKEN)"
1433
+ },
1434
+ "validateHeaderValue": {
1435
+ "fails": "throws",
1436
+ "error": "TypeError (ERR_INVALID_CHAR, ERR_HTTP_HEADERS_SENT)"
1437
+ }
1438
+ },
1439
+ "methods": {
1440
+ "withoutStackTrace": {
1441
+ "fails": "throws",
1442
+ "error": "TypeError (ERR_INVALID_HTTP_TOKEN)"
1443
+ }
1444
+ },
1445
+ "classes": {
1446
+ "ClientRequest": {
1447
+ "extends": "node:http OutgoingMessage"
1448
+ },
1449
+ "IncomingMessage": {
1450
+ "extends": "node:stream Readable"
1451
+ },
1452
+ "OutgoingMessage": {
1453
+ "extends": "node:stream Stream",
1454
+ "methods": {
1455
+ "addTrailers": {
1456
+ "fails": "throws",
1457
+ "error": "TypeError (ERR_INVALID_CHAR, ERR_HTTP_HEADERS_SENT)"
1458
+ },
1459
+ "appendHeader": {
1460
+ "fails": "throws",
1461
+ "error": "TypeError (ERR_INVALID_CHAR, ERR_HTTP_HEADERS_SENT)"
1462
+ },
1463
+ "setHeader": {
1464
+ "fails": "throws",
1465
+ "error": "TypeError (ERR_INVALID_CHAR, ERR_HTTP_HEADERS_SENT)"
1466
+ },
1467
+ "setHeaders": {
1468
+ "fails": "throws",
1469
+ "error": "TypeError (ERR_INVALID_CHAR, ERR_HTTP_HEADERS_SENT)"
1470
+ }
1471
+ }
1472
+ },
1473
+ "ServerResponse": {
1474
+ "extends": "node:http OutgoingMessage",
1475
+ "methods": {
1476
+ "writeHead": {
1477
+ "fails": "throws",
1478
+ "error": "TypeError (ERR_INVALID_CHAR, ERR_HTTP_HEADERS_SENT)"
1479
+ }
1480
+ }
1481
+ }
1482
+ },
1483
+ "creates": {
1484
+ "request": "node:http ClientRequest",
1485
+ "get": "node:http ClientRequest",
1486
+ "createServer": "node:http Server"
1487
+ }
1488
+ },
1489
+ {
1490
+ "specifiers": [
1491
+ "node:http2",
1492
+ "http2"
1493
+ ],
1494
+ "functions": {
1495
+ "getUnpackedSettings": {
1496
+ "fails": "throws",
1497
+ "error": "RangeError (ERR_HTTP2_INVALID_PACKED_SETTINGS_LENGTH)"
1498
+ },
1499
+ "createSecureServer": {
1500
+ "fails": "throws",
1501
+ "error": "Error (malformed key or certificate)"
1502
+ }
1503
+ },
1504
+ "classes": {
1505
+ "ClientHttp2Session": {
1506
+ "extends": "node:events EventEmitter",
1507
+ "methods": {
1508
+ "request": {
1509
+ "fails": "throws",
1510
+ "error": "Error (ERR_HTTP2_INVALID_SESSION, ERR_HTTP2_OUT_OF_STREAMS)"
1511
+ }
1512
+ }
1513
+ },
1514
+ "Http2ServerRequest": {
1515
+ "extends": "node:stream Readable"
1516
+ },
1517
+ "Http2ServerResponse": {
1518
+ "extends": "node:stream Stream",
1519
+ "methods": {
1520
+ "addTrailers": {
1521
+ "fails": "throws",
1522
+ "error": "Error (ERR_HTTP2_INVALID_HEADER_VALUE, ERR_HTTP2_HEADERS_SENT)"
1523
+ },
1524
+ "appendHeader": {
1525
+ "fails": "throws",
1526
+ "error": "Error (ERR_HTTP2_INVALID_HEADER_VALUE, ERR_HTTP2_HEADERS_SENT)"
1527
+ },
1528
+ "setHeader": {
1529
+ "fails": "throws",
1530
+ "error": "Error (ERR_HTTP2_INVALID_HEADER_VALUE, ERR_HTTP2_HEADERS_SENT)"
1531
+ },
1532
+ "setTrailer": {
1533
+ "fails": "throws",
1534
+ "error": "Error (ERR_HTTP2_INVALID_HEADER_VALUE, ERR_HTTP2_HEADERS_SENT)"
1535
+ },
1536
+ "writeHead": {
1537
+ "fails": "throws",
1538
+ "error": "Error (ERR_HTTP2_INVALID_HEADER_VALUE, ERR_HTTP2_HEADERS_SENT)"
1539
+ }
1540
+ }
1541
+ }
1542
+ },
1543
+ "creates": {
1544
+ "connect": "node:http2 ClientHttp2Session"
1545
+ }
1546
+ },
1547
+ {
1548
+ "specifiers": [
1549
+ "node:https",
1550
+ "https"
1551
+ ],
1552
+ "functions": {
1553
+ "createServer": {
1554
+ "fails": "throws",
1555
+ "error": "Error (malformed key or certificate)"
1556
+ },
1557
+ "get": {
1558
+ "fails": "throws",
1559
+ "error": "TypeError (ERR_INVALID_URL: the URL string is invalid; network errors go to 'error')"
1560
+ },
1561
+ "request": {
1562
+ "fails": "throws",
1563
+ "error": "TypeError (ERR_INVALID_URL: the URL string is invalid; network errors go to 'error')"
1564
+ }
1565
+ },
1566
+ "classes": {
1567
+ "Server": {
1568
+ "extends": "node:tls Server"
1569
+ }
1570
+ },
1571
+ "creates": {
1572
+ "request": "node:http ClientRequest",
1573
+ "createServer": "node:https Server"
1574
+ }
1575
+ },
1576
+ {
1577
+ "specifiers": [
1578
+ "node:inspector",
1579
+ "inspector"
1580
+ ],
1581
+ "functions": {
1582
+ "open": {
1583
+ "fails": "throws",
1584
+ "error": "Error (ERR_INSPECTOR_ALREADY_ACTIVATED, port in use)"
1585
+ }
1586
+ }
1587
+ },
1588
+ {
1589
+ "specifiers": [
1590
+ "node:inspector/promises",
1591
+ "inspector/promises"
1592
+ ],
1593
+ "classes": {
1594
+ "Session": {
1595
+ "extends": "node:inspector Session",
1596
+ "methods": {
1597
+ "post": {
1598
+ "fails": "rejects",
1599
+ "error": "Error (the inspector protocol command failed)"
1600
+ }
1601
+ }
1602
+ }
1603
+ }
1604
+ },
1605
+ {
1606
+ "specifiers": [
1607
+ "node:module",
1608
+ "module"
1609
+ ],
1610
+ "functions": {
1611
+ "runMain": {
1612
+ "fails": "throws",
1613
+ "error": "whatever the main module throws"
1614
+ },
1615
+ "register": {
1616
+ "fails": "throws",
1617
+ "error": "Error (MODULE_NOT_FOUND)"
1618
+ },
1619
+ "findPackageJSON": {
1620
+ "fails": "throws",
1621
+ "error": "Error (MODULE_NOT_FOUND)"
1622
+ },
1623
+ "stripTypeScriptTypes": {
1624
+ "fails": "throws",
1625
+ "error": "SyntaxError (ERR_INVALID_TYPESCRIPT_SYNTAX)"
1626
+ }
1627
+ },
1628
+ "classes": {
1629
+ "Module": {
1630
+ "methods": {
1631
+ "load": {
1632
+ "fails": "throws",
1633
+ "error": "Error (MODULE_NOT_FOUND)"
1634
+ },
1635
+ "require": {
1636
+ "fails": "throws",
1637
+ "error": "Error (MODULE_NOT_FOUND) | whatever the module throws"
1638
+ }
1639
+ }
1640
+ },
1641
+ "require": {
1642
+ "methods": {
1643
+ "resolve": {
1644
+ "fails": "throws",
1645
+ "error": "Error (MODULE_NOT_FOUND)"
1646
+ }
1647
+ }
1648
+ }
1649
+ },
1650
+ "creates": {
1651
+ "createRequire": "node:module require"
1652
+ }
1653
+ },
1654
+ {
1655
+ "specifiers": [
1656
+ "node:os",
1657
+ "os"
1658
+ ],
1659
+ "functions": {
1660
+ "getPriority": {
1661
+ "fails": "throws",
1662
+ "error": "Error (e.g. ESRCH)"
1663
+ },
1664
+ "setPriority": {
1665
+ "fails": "throws",
1666
+ "error": "Error (e.g. EACCES)"
1667
+ },
1668
+ "userInfo": {
1669
+ "fails": "throws",
1670
+ "error": "Error (no username or home directory)"
1671
+ }
1672
+ }
1673
+ },
1674
+ {
1675
+ "specifiers": [
1676
+ "node:perf_hooks",
1677
+ "perf_hooks"
1678
+ ],
1679
+ "functions": {
1680
+ "importHistogram": {
1681
+ "fails": "throws",
1682
+ "error": "TypeError (ERR_INVALID_ARG_VALUE: invalid histogram export data)"
1683
+ }
1684
+ },
1685
+ "classes": {
1686
+ "Performance": {
1687
+ "extends": "globals EventTarget",
1688
+ "methods": {
1689
+ "measure": {
1690
+ "fails": "throws",
1691
+ "error": "SyntaxError (the mark does not exist)"
1692
+ }
1693
+ }
1694
+ }
1695
+ },
1696
+ "instances": {
1697
+ "performance": "node:perf_hooks Performance"
1698
+ }
1699
+ },
1700
+ {
1701
+ "specifiers": [
1702
+ "node:process",
1703
+ "process"
1704
+ ],
1705
+ "functions": {
1706
+ "dlopen": {
1707
+ "fails": "throws",
1708
+ "error": "Error (cannot load the addon)"
1709
+ },
1710
+ "loadEnvFile": {
1711
+ "fails": "throws",
1712
+ "error": "Error (e.g. ENOENT)"
1713
+ },
1714
+ "kill": {
1715
+ "fails": "throws",
1716
+ "error": "Error (e.g. ESRCH, EPERM)"
1717
+ },
1718
+ "execve": {
1719
+ "fails": "throws",
1720
+ "error": "Error (the program cannot run)"
1721
+ },
1722
+ "chdir": {
1723
+ "fails": "throws",
1724
+ "error": "Error (e.g. ENOENT)"
1725
+ },
1726
+ "cwd": {
1727
+ "fails": "throws",
1728
+ "error": "Error (ENOENT: the working directory was removed)"
1729
+ },
1730
+ "setuid": {
1731
+ "fails": "throws",
1732
+ "error": "Error (e.g. EPERM)"
1733
+ },
1734
+ "seteuid": {
1735
+ "fails": "throws",
1736
+ "error": "Error (e.g. EPERM)"
1737
+ },
1738
+ "setgid": {
1739
+ "fails": "throws",
1740
+ "error": "Error (e.g. EPERM)"
1741
+ },
1742
+ "setegid": {
1743
+ "fails": "throws",
1744
+ "error": "Error (e.g. EPERM)"
1745
+ },
1746
+ "setgroups": {
1747
+ "fails": "throws",
1748
+ "error": "Error (e.g. EPERM)"
1749
+ },
1750
+ "initgroups": {
1751
+ "fails": "throws",
1752
+ "error": "Error (e.g. EPERM)"
1753
+ }
1754
+ }
1755
+ },
1756
+ {
1757
+ "specifiers": [
1758
+ "node:punycode",
1759
+ "punycode"
1760
+ ],
1761
+ "functions": {
1762
+ "decode": {
1763
+ "fails": "throws",
1764
+ "error": "RangeError (invalid input)"
1765
+ },
1766
+ "toUnicode": {
1767
+ "fails": "throws",
1768
+ "error": "RangeError (invalid input)"
1769
+ }
1770
+ }
1771
+ },
1772
+ {
1773
+ "specifiers": [
1774
+ "node:querystring",
1775
+ "querystring"
1776
+ ],
1777
+ "functions": {
1778
+ "escape": {
1779
+ "fails": "throws",
1780
+ "error": "URIError (lone surrogate)"
1781
+ },
1782
+ "stringify": {
1783
+ "fails": "throws",
1784
+ "error": "URIError (lone surrogate)"
1785
+ }
1786
+ }
1787
+ },
1788
+ {
1789
+ "specifiers": [
1790
+ "node:readline/promises",
1791
+ "readline/promises"
1792
+ ],
1793
+ "classes": {
1794
+ "Interface": {
1795
+ "extends": "node:events EventEmitter",
1796
+ "methods": {
1797
+ "question": {
1798
+ "fails": "rejects",
1799
+ "error": "AbortError (input closed, e.g. Ctrl+D)"
1800
+ }
1801
+ }
1802
+ },
1803
+ "Readline": {
1804
+ "methods": {
1805
+ "commit": {
1806
+ "fails": "rejects",
1807
+ "error": "Error (the stream errored)"
1808
+ }
1809
+ }
1810
+ }
1811
+ },
1812
+ "creates": {
1813
+ "createInterface": "node:readline/promises Interface"
1814
+ }
1815
+ },
1816
+ {
1817
+ "specifiers": [
1818
+ "node:stream/consumers",
1819
+ "stream/consumers"
1820
+ ],
1821
+ "functions": {
1822
+ "arrayBuffer": {
1823
+ "fails": "rejects",
1824
+ "error": "Error (the stream errored)"
1825
+ },
1826
+ "blob": {
1827
+ "fails": "rejects",
1828
+ "error": "Error (the stream errored)"
1829
+ },
1830
+ "buffer": {
1831
+ "fails": "rejects",
1832
+ "error": "Error (the stream errored)"
1833
+ },
1834
+ "bytes": {
1835
+ "fails": "rejects",
1836
+ "error": "Error (the stream errored)"
1837
+ },
1838
+ "text": {
1839
+ "fails": "rejects",
1840
+ "error": "Error (the stream errored)"
1841
+ },
1842
+ "json": {
1843
+ "fails": "rejects",
1844
+ "error": "SyntaxError | Error (invalid JSON, or the stream errored)"
1845
+ }
1846
+ }
1847
+ },
1848
+ {
1849
+ "specifiers": [
1850
+ "node:stream/promises",
1851
+ "stream/promises"
1852
+ ],
1853
+ "functions": {
1854
+ "finished": {
1855
+ "fails": "rejects",
1856
+ "error": "Error (a stream errored)"
1857
+ },
1858
+ "pipeline": {
1859
+ "fails": "rejects",
1860
+ "error": "Error (a stream errored)"
1861
+ }
1862
+ }
1863
+ },
1864
+ {
1865
+ "specifiers": [
1866
+ "node:stream/web",
1867
+ "stream/web"
1868
+ ],
1869
+ "classes": {
1870
+ "ReadableStream": {
1871
+ "methods": {
1872
+ "pipeTo": {
1873
+ "fails": "rejects",
1874
+ "error": "Error (the stream errored)"
1875
+ }
1876
+ }
1877
+ },
1878
+ "ReadableStreamBYOBReader": {
1879
+ "methods": {
1880
+ "read": {
1881
+ "fails": "rejects",
1882
+ "error": "Error (the stream errored)"
1883
+ }
1884
+ }
1885
+ },
1886
+ "ReadableStreamDefaultReader": {
1887
+ "methods": {
1888
+ "read": {
1889
+ "fails": "rejects",
1890
+ "error": "Error (the stream errored)"
1891
+ }
1892
+ }
1893
+ },
1894
+ "WritableStream": {
1895
+ "methods": {
1896
+ "close": {
1897
+ "fails": "rejects",
1898
+ "error": "Error (the stream errored)"
1899
+ }
1900
+ }
1901
+ },
1902
+ "WritableStreamDefaultWriter": {
1903
+ "methods": {
1904
+ "close": {
1905
+ "fails": "rejects",
1906
+ "error": "Error (the stream errored)"
1907
+ },
1908
+ "write": {
1909
+ "fails": "rejects",
1910
+ "error": "Error (the stream errored)"
1911
+ }
1912
+ }
1913
+ }
1914
+ },
1915
+ "creates": {
1916
+ "ReadableStream#getReader": "node:stream/web ReadableStreamDefaultReader",
1917
+ "WritableStream#getWriter": "node:stream/web WritableStreamDefaultWriter"
1918
+ }
1919
+ },
1920
+ {
1921
+ "specifiers": [
1922
+ "node:tty",
1923
+ "tty"
1924
+ ],
1925
+ "classes": {
1926
+ "ReadStream": {
1927
+ "extends": "node:net Socket"
1928
+ },
1929
+ "WriteStream": {
1930
+ "extends": "node:net Socket"
1931
+ }
1932
+ }
1933
+ },
1934
+ {
1935
+ "specifiers": [
1936
+ "node:url",
1937
+ "url"
1938
+ ],
1939
+ "functions": {
1940
+ "parse": {
1941
+ "fails": "throws",
1942
+ "error": "TypeError (ERR_INVALID_URL)"
1943
+ },
1944
+ "resolve": {
1945
+ "fails": "throws",
1946
+ "error": "TypeError (ERR_INVALID_URL)"
1947
+ },
1948
+ "resolveObject": {
1949
+ "fails": "throws",
1950
+ "error": "TypeError (ERR_INVALID_URL)"
1951
+ },
1952
+ "fileURLToPath": {
1953
+ "fails": "throws",
1954
+ "error": "TypeError (ERR_INVALID_URL_SCHEME, ERR_INVALID_FILE_URL_PATH)"
1955
+ },
1956
+ "fileURLToPathBuffer": {
1957
+ "fails": "throws",
1958
+ "error": "TypeError (ERR_INVALID_URL_SCHEME, ERR_INVALID_FILE_URL_PATH)"
1959
+ }
1960
+ },
1961
+ "classes": {
1962
+ "Url": {
1963
+ "methods": {
1964
+ "parse": {
1965
+ "fails": "throws",
1966
+ "error": "TypeError (ERR_INVALID_URL)"
1967
+ }
1968
+ }
1969
+ }
1970
+ },
1971
+ "creates": {
1972
+ "parse": "node:url Url"
1973
+ }
1974
+ },
1975
+ {
1976
+ "specifiers": [
1977
+ "node:util",
1978
+ "util"
1979
+ ],
1980
+ "functions": {
1981
+ "parseArgs": {
1982
+ "fails": "throws",
1983
+ "error": "TypeError (ERR_PARSE_ARGS_UNKNOWN_OPTION, ...)"
1984
+ }
1985
+ },
1986
+ "classes": {
1987
+ "TextDecoder": {
1988
+ "methods": {
1989
+ "decode": {
1990
+ "fails": "throws",
1991
+ "error": "TypeError (ERR_ENCODING_INVALID_ENCODED_DATA, with fatal: true)"
1992
+ }
1993
+ }
1994
+ }
1995
+ }
1996
+ },
1997
+ {
1998
+ "specifiers": [
1999
+ "node:v8",
2000
+ "v8"
2001
+ ],
2002
+ "functions": {
2003
+ "deserialize": {
2004
+ "fails": "throws",
2005
+ "error": "Error (invalid data)"
2006
+ },
2007
+ "serialize": {
2008
+ "fails": "throws",
2009
+ "error": "DataCloneError (value cannot be cloned)"
2010
+ },
2011
+ "writeHeapSnapshot": {
2012
+ "fails": "throws",
2013
+ "error": "Error (e.g. EACCES)"
2014
+ }
2015
+ },
2016
+ "classes": {
2017
+ "DefaultDeserializer": {
2018
+ "extends": "node:v8 Deserializer"
2019
+ },
2020
+ "DefaultSerializer": {
2021
+ "extends": "node:v8 Serializer"
2022
+ },
2023
+ "Deserializer": {
2024
+ "methods": {
2025
+ "readDouble": {
2026
+ "fails": "throws",
2027
+ "error": "Error (invalid data)"
2028
+ },
2029
+ "readHeader": {
2030
+ "fails": "throws",
2031
+ "error": "Error (invalid data)"
2032
+ },
2033
+ "readRawBytes": {
2034
+ "fails": "throws",
2035
+ "error": "Error (invalid data)"
2036
+ },
2037
+ "readUint32": {
2038
+ "fails": "throws",
2039
+ "error": "Error (invalid data)"
2040
+ },
2041
+ "readUint64": {
2042
+ "fails": "throws",
2043
+ "error": "Error (invalid data)"
2044
+ },
2045
+ "readValue": {
2046
+ "fails": "throws",
2047
+ "error": "Error (invalid data)"
2048
+ }
2049
+ }
2050
+ },
2051
+ "Serializer": {
2052
+ "methods": {
2053
+ "writeValue": {
2054
+ "fails": "throws",
2055
+ "error": "DataCloneError (value cannot be cloned)"
2056
+ }
2057
+ }
2058
+ }
2059
+ }
2060
+ },
2061
+ {
2062
+ "specifiers": [
2063
+ "node:vm",
2064
+ "vm"
2065
+ ],
2066
+ "functions": {
2067
+ "createScript": {
2068
+ "fails": "throws",
2069
+ "error": "SyntaxError | whatever the code throws"
2070
+ },
2071
+ "runInContext": {
2072
+ "fails": "throws",
2073
+ "error": "SyntaxError | whatever the code throws"
2074
+ },
2075
+ "runInNewContext": {
2076
+ "fails": "throws",
2077
+ "error": "SyntaxError | whatever the code throws"
2078
+ },
2079
+ "runInThisContext": {
2080
+ "fails": "throws",
2081
+ "error": "SyntaxError | whatever the code throws"
2082
+ },
2083
+ "compileFunction": {
2084
+ "fails": "throws",
2085
+ "error": "SyntaxError"
2086
+ }
2087
+ },
2088
+ "classes": {
2089
+ "Script": {
2090
+ "methods": {
2091
+ "runInContext": {
2092
+ "fails": "throws",
2093
+ "error": "SyntaxError | whatever the code throws"
2094
+ },
2095
+ "runInNewContext": {
2096
+ "fails": "throws",
2097
+ "error": "SyntaxError | whatever the code throws"
2098
+ },
2099
+ "runInThisContext": {
2100
+ "fails": "throws",
2101
+ "error": "SyntaxError | whatever the code throws"
2102
+ }
2103
+ }
2104
+ }
2105
+ }
2106
+ },
2107
+ {
2108
+ "specifiers": [
2109
+ "node:wasi",
2110
+ "wasi"
2111
+ ],
2112
+ "classes": {
2113
+ "WASI": {
2114
+ "methods": {
2115
+ "initialize": {
2116
+ "fails": "throws",
2117
+ "error": "Error (the WebAssembly program trapped or exited)"
2118
+ },
2119
+ "start": {
2120
+ "fails": "throws",
2121
+ "error": "Error (the WebAssembly program trapped or exited)"
2122
+ }
2123
+ }
2124
+ }
2125
+ }
2126
+ },
2127
+ {
2128
+ "specifiers": [
2129
+ "node:worker_threads",
2130
+ "worker_threads"
2131
+ ],
2132
+ "functions": {
2133
+ "setEnvironmentData": {
2134
+ "fails": "throws",
2135
+ "error": "DataCloneError (value cannot be cloned)"
2136
+ },
2137
+ "postMessageToThread": {
2138
+ "fails": "rejects",
2139
+ "error": "Error (ERR_WORKER_MESSAGING_FAILED, timeout)"
2140
+ }
2141
+ },
2142
+ "classes": {
2143
+ "BroadcastChannel": {
2144
+ "extends": "globals EventTarget",
2145
+ "methods": {
2146
+ "postMessage": {
2147
+ "fails": "throws",
2148
+ "error": "DataCloneError (value cannot be cloned)"
2149
+ }
2150
+ }
2151
+ },
2152
+ "MessagePort": {
2153
+ "extends": "globals EventTarget",
2154
+ "methods": {
2155
+ "postMessage": {
2156
+ "fails": "throws",
2157
+ "error": "DataCloneError (value cannot be cloned)"
2158
+ }
2159
+ }
2160
+ },
2161
+ "Worker": {
2162
+ "extends": "node:events EventEmitter",
2163
+ "methods": {
2164
+ "cpuUsage": {
2165
+ "fails": "rejects",
2166
+ "error": "Error (ERR_WORKER_NOT_RUNNING)"
2167
+ },
2168
+ "getHeapSnapshot": {
2169
+ "fails": "rejects",
2170
+ "error": "Error (ERR_WORKER_NOT_RUNNING)"
2171
+ },
2172
+ "getHeapStatistics": {
2173
+ "fails": "rejects",
2174
+ "error": "Error (ERR_WORKER_NOT_RUNNING)"
2175
+ },
2176
+ "postMessage": {
2177
+ "fails": "throws",
2178
+ "error": "DataCloneError (value cannot be cloned)"
2179
+ },
2180
+ "startCpuProfile": {
2181
+ "fails": "rejects",
2182
+ "error": "Error (ERR_WORKER_NOT_RUNNING)"
2183
+ },
2184
+ "startHeapProfile": {
2185
+ "fails": "rejects",
2186
+ "error": "Error (ERR_WORKER_NOT_RUNNING)"
2187
+ }
2188
+ }
2189
+ }
2190
+ }
2191
+ },
2192
+ {
2193
+ "specifiers": [
2194
+ "node:zlib",
2195
+ "zlib"
2196
+ ],
2197
+ "functions": {
2198
+ "unzipSync": {
2199
+ "fails": "throws",
2200
+ "error": "Error (Z_DATA_ERROR: corrupt input)"
2201
+ },
2202
+ "inflateSync": {
2203
+ "fails": "throws",
2204
+ "error": "Error (Z_DATA_ERROR: corrupt input)"
2205
+ },
2206
+ "gunzipSync": {
2207
+ "fails": "throws",
2208
+ "error": "Error (Z_DATA_ERROR: corrupt input)"
2209
+ },
2210
+ "inflateRawSync": {
2211
+ "fails": "throws",
2212
+ "error": "Error (Z_DATA_ERROR: corrupt input)"
2213
+ },
2214
+ "brotliDecompressSync": {
2215
+ "fails": "throws",
2216
+ "error": "Error (Z_DATA_ERROR: corrupt input)"
2217
+ },
2218
+ "zstdDecompressSync": {
2219
+ "fails": "throws",
2220
+ "error": "Error (Z_DATA_ERROR: corrupt input)"
2221
+ }
2222
+ },
2223
+ "classes": {
2224
+ "BrotliCompress": {
2225
+ "extends": "node:stream Transform"
2226
+ },
2227
+ "BrotliDecompress": {
2228
+ "extends": "node:stream Transform"
2229
+ },
2230
+ "Deflate": {
2231
+ "extends": "node:stream Transform"
2232
+ },
2233
+ "DeflateRaw": {
2234
+ "extends": "node:stream Transform"
2235
+ },
2236
+ "Gunzip": {
2237
+ "extends": "node:stream Transform"
2238
+ },
2239
+ "Gzip": {
2240
+ "extends": "node:stream Transform"
2241
+ },
2242
+ "Inflate": {
2243
+ "extends": "node:stream Transform"
2244
+ },
2245
+ "InflateRaw": {
2246
+ "extends": "node:stream Transform"
2247
+ },
2248
+ "Unzip": {
2249
+ "extends": "node:stream Transform"
2250
+ },
2251
+ "ZipBuffer": {
2252
+ "methods": {
2253
+ "get": {
2254
+ "fails": "throws",
2255
+ "error": "Error (ERR_ZIP_ENTRY_NOT_FOUND)"
2256
+ },
2257
+ "toBuffer": {
2258
+ "fails": "rejects",
2259
+ "error": "Error (an entry's source or backing file failed)"
2260
+ },
2261
+ "toBufferSync": {
2262
+ "fails": "throws",
2263
+ "error": "Error (an entry's backing file failed)"
2264
+ }
2265
+ }
2266
+ },
2267
+ "ZipEntry": {
2268
+ "methods": {
2269
+ "content": {
2270
+ "fails": "rejects",
2271
+ "error": "Error (ERR_ZIP_ENTRY_CORRUPT, ERR_ZIP_ENTRY_TOO_LARGE)"
2272
+ },
2273
+ "contentSync": {
2274
+ "fails": "throws",
2275
+ "error": "Error (ERR_ZIP_ENTRY_CORRUPT, ERR_ZIP_ENTRY_TOO_LARGE)"
2276
+ }
2277
+ }
2278
+ },
2279
+ "ZipFile": {
2280
+ "statics": {
2281
+ "open": {
2282
+ "fails": "rejects",
2283
+ "error": "Error (e.g. ENOENT, ERR_ZIP_INVALID_ARCHIVE)"
2284
+ },
2285
+ "openSync": {
2286
+ "fails": "throws",
2287
+ "error": "Error (e.g. ENOENT, ERR_ZIP_INVALID_ARCHIVE)"
2288
+ }
2289
+ },
2290
+ "methods": {
2291
+ "add": {
2292
+ "fails": "rejects",
2293
+ "error": "Error (e.g. ENOSPC)"
2294
+ },
2295
+ "addEntry": {
2296
+ "fails": "rejects",
2297
+ "error": "Error (e.g. ENOSPC)"
2298
+ },
2299
+ "addEntrySync": {
2300
+ "fails": "throws",
2301
+ "error": "Error (e.g. ENOSPC)"
2302
+ },
2303
+ "addSync": {
2304
+ "fails": "throws",
2305
+ "error": "Error (e.g. ENOSPC)"
2306
+ },
2307
+ "close": {
2308
+ "fails": "rejects",
2309
+ "error": "Error (e.g. EBADF)"
2310
+ },
2311
+ "closeSync": {
2312
+ "fails": "throws",
2313
+ "error": "Error (e.g. EBADF)"
2314
+ },
2315
+ "compactSync": {
2316
+ "fails": "throws",
2317
+ "error": "Error (e.g. EIO)"
2318
+ },
2319
+ "delete": {
2320
+ "fails": "rejects",
2321
+ "error": "Error (e.g. ENOSPC)"
2322
+ },
2323
+ "deleteSync": {
2324
+ "fails": "throws",
2325
+ "error": "Error (e.g. ENOSPC)"
2326
+ },
2327
+ "get": {
2328
+ "fails": "rejects",
2329
+ "error": "Error (ERR_ZIP_ENTRY_NOT_FOUND)"
2330
+ },
2331
+ "getSync": {
2332
+ "fails": "throws",
2333
+ "error": "Error (ERR_ZIP_ENTRY_NOT_FOUND)"
2334
+ },
2335
+ "stream": {
2336
+ "fails": "rejects",
2337
+ "error": "Error (ERR_ZIP_ENTRY_NOT_FOUND)"
2338
+ }
2339
+ }
2340
+ },
2341
+ "ZstdCompress": {
2342
+ "extends": "node:stream Transform"
2343
+ },
2344
+ "ZstdDecompress": {
2345
+ "extends": "node:stream Transform"
2346
+ }
2347
+ },
2348
+ "creates": {
2349
+ "ZipFile.open": "node:zlib ZipFile",
2350
+ "ZipFile.openSync": "node:zlib ZipFile",
2351
+ "ZipFile#get": "node:zlib ZipEntry",
2352
+ "ZipFile#getSync": "node:zlib ZipEntry",
2353
+ "ZipFile#stream": "node:stream Readable",
2354
+ "ZipBuffer#get": "node:zlib ZipEntry",
2355
+ "ZipBuffer#toBuffer": "node:buffer Buffer",
2356
+ "ZipBuffer#toBufferSync": "node:buffer Buffer",
2357
+ "ZipEntry.create": "node:zlib ZipEntry",
2358
+ "ZipEntry.createSync": "node:zlib ZipEntry",
2359
+ "ZipEntry#content": "node:buffer Buffer",
2360
+ "ZipEntry#contentSync": "node:buffer Buffer",
2361
+ "zipFiles": "node:stream Readable",
2362
+ "createGzip": "node:zlib Gzip",
2363
+ "createGunzip": "node:zlib Gunzip",
2364
+ "createDeflate": "node:zlib Deflate",
2365
+ "createInflate": "node:zlib Inflate",
2366
+ "createDeflateRaw": "node:zlib DeflateRaw",
2367
+ "createInflateRaw": "node:zlib InflateRaw",
2368
+ "createUnzip": "node:zlib Unzip",
2369
+ "createBrotliCompress": "node:zlib BrotliCompress",
2370
+ "createBrotliDecompress": "node:zlib BrotliDecompress",
2371
+ "createZstdCompress": "node:zlib ZstdCompress",
2372
+ "createZstdDecompress": "node:zlib ZstdDecompress"
2373
+ }
2374
+ },
2375
+ {
2376
+ "specifiers": [
2377
+ "node:sqlite"
2378
+ ],
2379
+ "functions": {
2380
+ "backup": {
2381
+ "fails": "rejects",
2382
+ "error": "Error (the backup failed)"
2383
+ }
2384
+ },
2385
+ "classes": {
2386
+ "Database": {
2387
+ "methods": {
2388
+ "applyChangeset": {
2389
+ "fails": "throws",
2390
+ "error": "Error (SQLite error, e.g. SQLITE_CONSTRAINT)"
2391
+ },
2392
+ "deserialize": {
2393
+ "fails": "throws",
2394
+ "error": "Error (SQLite error, e.g. SQLITE_CONSTRAINT)"
2395
+ },
2396
+ "exec": {
2397
+ "fails": "throws",
2398
+ "error": "Error (SQL error)"
2399
+ },
2400
+ "loadExtension": {
2401
+ "fails": "throws",
2402
+ "error": "Error (SQLite error, e.g. SQLITE_CONSTRAINT)"
2403
+ },
2404
+ "open": {
2405
+ "fails": "throws",
2406
+ "error": "Error (cannot open the database)"
2407
+ },
2408
+ "prepare": {
2409
+ "fails": "throws",
2410
+ "error": "Error (SQL error, e.g. no such table)"
2411
+ },
2412
+ "serialize": {
2413
+ "fails": "throws",
2414
+ "error": "Error (SQLite error, e.g. SQLITE_CONSTRAINT)"
2415
+ }
2416
+ }
2417
+ },
2418
+ "SQLTagStore": {
2419
+ "methods": {
2420
+ "all": {
2421
+ "fails": "throws",
2422
+ "error": "Error (SQLite error, e.g. SQLITE_CONSTRAINT)"
2423
+ },
2424
+ "get": {
2425
+ "fails": "throws",
2426
+ "error": "Error (SQLite error, e.g. SQLITE_CONSTRAINT)"
2427
+ },
2428
+ "iterate": {
2429
+ "fails": "throws",
2430
+ "error": "Error (SQLite error, e.g. SQLITE_CONSTRAINT)"
2431
+ },
2432
+ "run": {
2433
+ "fails": "throws",
2434
+ "error": "Error (SQLite error, e.g. SQLITE_CONSTRAINT)"
2435
+ }
2436
+ }
2437
+ },
2438
+ "Statement": {
2439
+ "methods": {
2440
+ "all": {
2441
+ "fails": "throws",
2442
+ "error": "Error (SQLite error, e.g. SQLITE_CONSTRAINT)"
2443
+ },
2444
+ "get": {
2445
+ "fails": "throws",
2446
+ "error": "Error (SQLite error, e.g. SQLITE_CONSTRAINT)"
2447
+ },
2448
+ "iterate": {
2449
+ "fails": "throws",
2450
+ "error": "Error (SQLite error, e.g. SQLITE_CONSTRAINT)"
2451
+ },
2452
+ "run": {
2453
+ "fails": "throws",
2454
+ "error": "Error (SQLite error, e.g. SQLITE_CONSTRAINT)"
2455
+ }
2456
+ }
2457
+ }
2458
+ },
2459
+ "creates": {
2460
+ "new DatabaseSync": "node:sqlite Database",
2461
+ "Database#prepare": "node:sqlite Statement",
2462
+ "Database#createTagStore": "node:sqlite SQLTagStore"
2463
+ }
2464
+ },
2465
+ {
2466
+ "specifiers": [
2467
+ "node:ffi"
2468
+ ],
2469
+ "functions": {
2470
+ "dlopen": {
2471
+ "fails": "throws",
2472
+ "error": "Error (ERR_FFI_CALL_FAILED: the library cannot be loaded, or a symbol is missing)"
2473
+ },
2474
+ "dlsym": {
2475
+ "fails": "throws",
2476
+ "error": "Error (ERR_FFI_CALL_FAILED: undefined symbol)"
2477
+ }
2478
+ },
2479
+ "classes": {
2480
+ "DynamicLibrary": {
2481
+ "methods": {
2482
+ "getFunction": {
2483
+ "fails": "throws",
2484
+ "error": "Error (ERR_FFI_CALL_FAILED: undefined symbol)"
2485
+ },
2486
+ "getFunctions": {
2487
+ "fails": "throws",
2488
+ "error": "Error (ERR_FFI_CALL_FAILED: undefined symbol)"
2489
+ },
2490
+ "getSymbol": {
2491
+ "fails": "throws",
2492
+ "error": "Error (ERR_FFI_CALL_FAILED: undefined symbol)"
2493
+ }
2494
+ }
2495
+ }
2496
+ }
2497
+ }
2498
+ ]
2499
+ }