rahad-all-downloader 2.1.4 → 2.1.6
Sign up to get free protection for your applications and to get access to all the features.
- package/.cache/nix/binary-cache-v6.sqlite +0 -0
- package/.cache/replit/modules/nix.res +1 -0
- package/.cache/replit/nix/env.json +1 -1
- package/.cache/typescript/5.4/node_modules/.package-lock.json +0 -88
- package/.cache/typescript/5.4/package-lock.json +0 -90
- package/.cache/typescript/5.4/package.json +1 -1
- package/.replit +4 -4
- package/README.md +2 -2
- package/index.js +1 -1
- package/package.json +4 -19
- package/.cache/replit/__replit_disk_meta.json +0 -1
- package/.cache/typescript/5.0/node_modules/.package-lock.json +0 -12
- package/.cache/typescript/5.0/node_modules/types-registry/README.md +0 -2
- package/.cache/typescript/5.0/node_modules/types-registry/index.json +0 -1
- package/.cache/typescript/5.0/node_modules/types-registry/package.json +0 -20
- package/.cache/typescript/5.0/package-lock.json +0 -17
- package/.cache/typescript/5.0/package.json +0 -1
- package/.cache/typescript/5.3/node_modules/.package-lock.json +0 -99
- package/.cache/typescript/5.3/node_modules/@types/node/LICENSE +0 -21
- package/.cache/typescript/5.3/node_modules/@types/node/README.md +0 -15
- package/.cache/typescript/5.3/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/.cache/typescript/5.3/node_modules/@types/node/assert.d.ts +0 -996
- package/.cache/typescript/5.3/node_modules/@types/node/async_hooks.d.ts +0 -539
- package/.cache/typescript/5.3/node_modules/@types/node/buffer.d.ts +0 -2362
- package/.cache/typescript/5.3/node_modules/@types/node/child_process.d.ts +0 -1540
- package/.cache/typescript/5.3/node_modules/@types/node/cluster.d.ts +0 -432
- package/.cache/typescript/5.3/node_modules/@types/node/console.d.ts +0 -415
- package/.cache/typescript/5.3/node_modules/@types/node/constants.d.ts +0 -19
- package/.cache/typescript/5.3/node_modules/@types/node/crypto.d.ts +0 -4456
- package/.cache/typescript/5.3/node_modules/@types/node/dgram.d.ts +0 -586
- package/.cache/typescript/5.3/node_modules/@types/node/diagnostics_channel.d.ts +0 -191
- package/.cache/typescript/5.3/node_modules/@types/node/dns/promises.d.ts +0 -425
- package/.cache/typescript/5.3/node_modules/@types/node/dns.d.ts +0 -809
- package/.cache/typescript/5.3/node_modules/@types/node/dom-events.d.ts +0 -122
- package/.cache/typescript/5.3/node_modules/@types/node/domain.d.ts +0 -170
- package/.cache/typescript/5.3/node_modules/@types/node/events.d.ts +0 -879
- package/.cache/typescript/5.3/node_modules/@types/node/fs/promises.d.ts +0 -1239
- package/.cache/typescript/5.3/node_modules/@types/node/fs.d.ts +0 -4291
- package/.cache/typescript/5.3/node_modules/@types/node/globals.d.ts +0 -385
- package/.cache/typescript/5.3/node_modules/@types/node/globals.global.d.ts +0 -1
- package/.cache/typescript/5.3/node_modules/@types/node/http.d.ts +0 -1888
- package/.cache/typescript/5.3/node_modules/@types/node/http2.d.ts +0 -2382
- package/.cache/typescript/5.3/node_modules/@types/node/https.d.ts +0 -550
- package/.cache/typescript/5.3/node_modules/@types/node/index.d.ts +0 -88
- package/.cache/typescript/5.3/node_modules/@types/node/inspector.d.ts +0 -2747
- package/.cache/typescript/5.3/node_modules/@types/node/module.d.ts +0 -301
- package/.cache/typescript/5.3/node_modules/@types/node/net.d.ts +0 -949
- package/.cache/typescript/5.3/node_modules/@types/node/os.d.ts +0 -478
- package/.cache/typescript/5.3/node_modules/@types/node/package.json +0 -230
- package/.cache/typescript/5.3/node_modules/@types/node/path.d.ts +0 -191
- package/.cache/typescript/5.3/node_modules/@types/node/perf_hooks.d.ts +0 -639
- package/.cache/typescript/5.3/node_modules/@types/node/process.d.ts +0 -1539
- package/.cache/typescript/5.3/node_modules/@types/node/punycode.d.ts +0 -117
- package/.cache/typescript/5.3/node_modules/@types/node/querystring.d.ts +0 -141
- package/.cache/typescript/5.3/node_modules/@types/node/readline/promises.d.ts +0 -150
- package/.cache/typescript/5.3/node_modules/@types/node/readline.d.ts +0 -539
- package/.cache/typescript/5.3/node_modules/@types/node/repl.d.ts +0 -430
- package/.cache/typescript/5.3/node_modules/@types/node/stream/consumers.d.ts +0 -12
- package/.cache/typescript/5.3/node_modules/@types/node/stream/promises.d.ts +0 -83
- package/.cache/typescript/5.3/node_modules/@types/node/stream/web.d.ts +0 -350
- package/.cache/typescript/5.3/node_modules/@types/node/stream.d.ts +0 -1701
- package/.cache/typescript/5.3/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/.cache/typescript/5.3/node_modules/@types/node/test.d.ts +0 -1382
- package/.cache/typescript/5.3/node_modules/@types/node/timers/promises.d.ts +0 -93
- package/.cache/typescript/5.3/node_modules/@types/node/timers.d.ts +0 -240
- package/.cache/typescript/5.3/node_modules/@types/node/tls.d.ts +0 -1210
- package/.cache/typescript/5.3/node_modules/@types/node/trace_events.d.ts +0 -182
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/console.d.ts +0 -415
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4455
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/dgram.d.ts +0 -586
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -191
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/events.d.ts +0 -879
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/fs.d.ts +0 -4291
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/globals.d.ts +0 -385
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/http.d.ts +0 -1888
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/https.d.ts +0 -550
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/index.d.ts +0 -88
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/module.d.ts +0 -301
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/net.d.ts +0 -949
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/os.d.ts +0 -478
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/path.d.ts +0 -191
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -639
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/process.d.ts +0 -1539
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -350
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/test.d.ts +0 -1382
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/url.d.ts +0 -927
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/v8.d.ts +0 -635
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/wasi.d.ts +0 -158
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
- package/.cache/typescript/5.3/node_modules/@types/node/tty.d.ts +0 -208
- package/.cache/typescript/5.3/node_modules/@types/node/url.d.ts +0 -927
- package/.cache/typescript/5.3/node_modules/@types/node/util.d.ts +0 -2183
- package/.cache/typescript/5.3/node_modules/@types/node/v8.d.ts +0 -635
- package/.cache/typescript/5.3/node_modules/@types/node/vm.d.ts +0 -903
- package/.cache/typescript/5.3/node_modules/@types/node/wasi.d.ts +0 -158
- package/.cache/typescript/5.3/node_modules/@types/node/worker_threads.d.ts +0 -691
- package/.cache/typescript/5.3/node_modules/@types/node/zlib.d.ts +0 -517
- package/.cache/typescript/5.3/node_modules/@types/node-fetch/LICENSE +0 -21
- package/.cache/typescript/5.3/node_modules/@types/node-fetch/README.md +0 -15
- package/.cache/typescript/5.3/node_modules/@types/node-fetch/externals.d.ts +0 -32
- package/.cache/typescript/5.3/node_modules/@types/node-fetch/index.d.ts +0 -214
- package/.cache/typescript/5.3/node_modules/@types/node-fetch/package.json +0 -83
- package/.cache/typescript/5.3/node_modules/asynckit/LICENSE +0 -21
- package/.cache/typescript/5.3/node_modules/asynckit/README.md +0 -233
- package/.cache/typescript/5.3/node_modules/asynckit/bench.js +0 -76
- package/.cache/typescript/5.3/node_modules/asynckit/index.js +0 -6
- package/.cache/typescript/5.3/node_modules/asynckit/lib/abort.js +0 -29
- package/.cache/typescript/5.3/node_modules/asynckit/lib/async.js +0 -34
- package/.cache/typescript/5.3/node_modules/asynckit/lib/defer.js +0 -26
- package/.cache/typescript/5.3/node_modules/asynckit/lib/iterate.js +0 -75
- package/.cache/typescript/5.3/node_modules/asynckit/lib/readable_asynckit.js +0 -91
- package/.cache/typescript/5.3/node_modules/asynckit/lib/readable_parallel.js +0 -25
- package/.cache/typescript/5.3/node_modules/asynckit/lib/readable_serial.js +0 -25
- package/.cache/typescript/5.3/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
- package/.cache/typescript/5.3/node_modules/asynckit/lib/state.js +0 -37
- package/.cache/typescript/5.3/node_modules/asynckit/lib/streamify.js +0 -141
- package/.cache/typescript/5.3/node_modules/asynckit/lib/terminator.js +0 -29
- package/.cache/typescript/5.3/node_modules/asynckit/package.json +0 -63
- package/.cache/typescript/5.3/node_modules/asynckit/parallel.js +0 -43
- package/.cache/typescript/5.3/node_modules/asynckit/serial.js +0 -17
- package/.cache/typescript/5.3/node_modules/asynckit/serialOrdered.js +0 -75
- package/.cache/typescript/5.3/node_modules/asynckit/stream.js +0 -21
- package/.cache/typescript/5.3/node_modules/combined-stream/License +0 -19
- package/.cache/typescript/5.3/node_modules/combined-stream/Readme.md +0 -138
- package/.cache/typescript/5.3/node_modules/combined-stream/lib/combined_stream.js +0 -208
- package/.cache/typescript/5.3/node_modules/combined-stream/package.json +0 -25
- package/.cache/typescript/5.3/node_modules/combined-stream/yarn.lock +0 -17
- package/.cache/typescript/5.3/node_modules/delayed-stream/License +0 -19
- package/.cache/typescript/5.3/node_modules/delayed-stream/Makefile +0 -7
- package/.cache/typescript/5.3/node_modules/delayed-stream/Readme.md +0 -141
- package/.cache/typescript/5.3/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
- package/.cache/typescript/5.3/node_modules/delayed-stream/package.json +0 -27
- package/.cache/typescript/5.3/node_modules/form-data/License +0 -19
- package/.cache/typescript/5.3/node_modules/form-data/README.md.bak +0 -358
- package/.cache/typescript/5.3/node_modules/form-data/Readme.md +0 -358
- package/.cache/typescript/5.3/node_modules/form-data/index.d.ts +0 -62
- package/.cache/typescript/5.3/node_modules/form-data/lib/browser.js +0 -2
- package/.cache/typescript/5.3/node_modules/form-data/lib/form_data.js +0 -501
- package/.cache/typescript/5.3/node_modules/form-data/lib/populate.js +0 -10
- package/.cache/typescript/5.3/node_modules/form-data/package.json +0 -68
- package/.cache/typescript/5.3/node_modules/mime-db/HISTORY.md +0 -507
- package/.cache/typescript/5.3/node_modules/mime-db/LICENSE +0 -23
- package/.cache/typescript/5.3/node_modules/mime-db/README.md +0 -100
- package/.cache/typescript/5.3/node_modules/mime-db/db.json +0 -8519
- package/.cache/typescript/5.3/node_modules/mime-db/index.js +0 -12
- package/.cache/typescript/5.3/node_modules/mime-db/package.json +0 -60
- package/.cache/typescript/5.3/node_modules/mime-types/HISTORY.md +0 -397
- package/.cache/typescript/5.3/node_modules/mime-types/LICENSE +0 -23
- package/.cache/typescript/5.3/node_modules/mime-types/README.md +0 -113
- package/.cache/typescript/5.3/node_modules/mime-types/index.js +0 -188
- package/.cache/typescript/5.3/node_modules/mime-types/package.json +0 -44
- package/.cache/typescript/5.3/node_modules/types-registry/README.md +0 -2
- package/.cache/typescript/5.3/node_modules/types-registry/index.json +0 -1
- package/.cache/typescript/5.3/node_modules/types-registry/package.json +0 -20
- package/.cache/typescript/5.3/node_modules/undici-types/README.md +0 -6
- package/.cache/typescript/5.3/node_modules/undici-types/agent.d.ts +0 -31
- package/.cache/typescript/5.3/node_modules/undici-types/api.d.ts +0 -43
- package/.cache/typescript/5.3/node_modules/undici-types/balanced-pool.d.ts +0 -18
- package/.cache/typescript/5.3/node_modules/undici-types/cache.d.ts +0 -36
- package/.cache/typescript/5.3/node_modules/undici-types/client.d.ts +0 -97
- package/.cache/typescript/5.3/node_modules/undici-types/connector.d.ts +0 -34
- package/.cache/typescript/5.3/node_modules/undici-types/content-type.d.ts +0 -21
- package/.cache/typescript/5.3/node_modules/undici-types/cookies.d.ts +0 -28
- package/.cache/typescript/5.3/node_modules/undici-types/diagnostics-channel.d.ts +0 -67
- package/.cache/typescript/5.3/node_modules/undici-types/dispatcher.d.ts +0 -241
- package/.cache/typescript/5.3/node_modules/undici-types/errors.d.ts +0 -128
- package/.cache/typescript/5.3/node_modules/undici-types/fetch.d.ts +0 -209
- package/.cache/typescript/5.3/node_modules/undici-types/file.d.ts +0 -39
- package/.cache/typescript/5.3/node_modules/undici-types/filereader.d.ts +0 -54
- package/.cache/typescript/5.3/node_modules/undici-types/formdata.d.ts +0 -108
- package/.cache/typescript/5.3/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/.cache/typescript/5.3/node_modules/undici-types/global-origin.d.ts +0 -7
- package/.cache/typescript/5.3/node_modules/undici-types/handlers.d.ts +0 -9
- package/.cache/typescript/5.3/node_modules/undici-types/header.d.ts +0 -4
- package/.cache/typescript/5.3/node_modules/undici-types/index.d.ts +0 -63
- package/.cache/typescript/5.3/node_modules/undici-types/interceptors.d.ts +0 -5
- package/.cache/typescript/5.3/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/.cache/typescript/5.3/node_modules/undici-types/mock-client.d.ts +0 -25
- package/.cache/typescript/5.3/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/.cache/typescript/5.3/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/.cache/typescript/5.3/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/.cache/typescript/5.3/node_modules/undici-types/package.json +0 -55
- package/.cache/typescript/5.3/node_modules/undici-types/patch.d.ts +0 -71
- package/.cache/typescript/5.3/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/.cache/typescript/5.3/node_modules/undici-types/pool.d.ts +0 -28
- package/.cache/typescript/5.3/node_modules/undici-types/proxy-agent.d.ts +0 -30
- package/.cache/typescript/5.3/node_modules/undici-types/readable.d.ts +0 -61
- package/.cache/typescript/5.3/node_modules/undici-types/webidl.d.ts +0 -220
- package/.cache/typescript/5.3/node_modules/undici-types/websocket.d.ts +0 -131
- package/.cache/typescript/5.3/package-lock.json +0 -107
- package/.cache/typescript/5.3/package.json +0 -1
- package/.cache/typescript/5.4/node_modules/@types/body-parser/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/body-parser/README.md +0 -15
- package/.cache/typescript/5.4/node_modules/@types/body-parser/index.d.ts +0 -95
- package/.cache/typescript/5.4/node_modules/@types/body-parser/package.json +0 -58
- package/.cache/typescript/5.4/node_modules/@types/connect/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/connect/README.md +0 -15
- package/.cache/typescript/5.4/node_modules/@types/connect/index.d.ts +0 -91
- package/.cache/typescript/5.4/node_modules/@types/connect/package.json +0 -32
- package/.cache/typescript/5.4/node_modules/@types/express/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/express/README.md +0 -15
- package/.cache/typescript/5.4/node_modules/@types/express/index.d.ts +0 -128
- package/.cache/typescript/5.4/node_modules/@types/express/package.json +0 -45
- package/.cache/typescript/5.4/node_modules/@types/express-serve-static-core/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/express-serve-static-core/README.md +0 -15
- package/.cache/typescript/5.4/node_modules/@types/express-serve-static-core/index.d.ts +0 -1295
- package/.cache/typescript/5.4/node_modules/@types/express-serve-static-core/package.json +0 -50
- package/.cache/typescript/5.4/node_modules/@types/http-errors/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/http-errors/README.md +0 -15
- package/.cache/typescript/5.4/node_modules/@types/http-errors/index.d.ts +0 -77
- package/.cache/typescript/5.4/node_modules/@types/http-errors/package.json +0 -30
- package/.cache/typescript/5.4/node_modules/@types/mime/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/mime/Mime.d.ts +0 -10
- package/.cache/typescript/5.4/node_modules/@types/mime/README.md +0 -15
- package/.cache/typescript/5.4/node_modules/@types/mime/index.d.ts +0 -31
- package/.cache/typescript/5.4/node_modules/@types/mime/lite.d.ts +0 -7
- package/.cache/typescript/5.4/node_modules/@types/mime/package.json +0 -30
- package/.cache/typescript/5.4/node_modules/@types/qs/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/qs/README.md +0 -15
- package/.cache/typescript/5.4/node_modules/@types/qs/index.d.ts +0 -79
- package/.cache/typescript/5.4/node_modules/@types/qs/package.json +0 -65
- package/.cache/typescript/5.4/node_modules/@types/range-parser/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/range-parser/README.md +0 -53
- package/.cache/typescript/5.4/node_modules/@types/range-parser/index.d.ts +0 -34
- package/.cache/typescript/5.4/node_modules/@types/range-parser/package.json +0 -25
- package/.cache/typescript/5.4/node_modules/@types/send/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/send/README.md +0 -15
- package/.cache/typescript/5.4/node_modules/@types/send/index.d.ts +0 -225
- package/.cache/typescript/5.4/node_modules/@types/send/package.json +0 -33
- package/.cache/typescript/5.4/node_modules/@types/serve-static/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/serve-static/README.md +0 -15
- package/.cache/typescript/5.4/node_modules/@types/serve-static/index.d.ts +0 -107
- package/.cache/typescript/5.4/node_modules/@types/serve-static/package.json +0 -39
- package/.upm/store.json +0 -1
@@ -1,220 +0,0 @@
|
|
1
|
-
// These types are not exported, and are only used internally
|
2
|
-
|
3
|
-
/**
|
4
|
-
* Take in an unknown value and return one that is of type T
|
5
|
-
*/
|
6
|
-
type Converter<T> = (object: unknown) => T
|
7
|
-
|
8
|
-
type SequenceConverter<T> = (object: unknown) => T[]
|
9
|
-
|
10
|
-
type RecordConverter<K extends string, V> = (object: unknown) => Record<K, V>
|
11
|
-
|
12
|
-
interface ConvertToIntOpts {
|
13
|
-
clamp?: boolean
|
14
|
-
enforceRange?: boolean
|
15
|
-
}
|
16
|
-
|
17
|
-
interface WebidlErrors {
|
18
|
-
exception (opts: { header: string, message: string }): TypeError
|
19
|
-
/**
|
20
|
-
* @description Throw an error when conversion from one type to another has failed
|
21
|
-
*/
|
22
|
-
conversionFailed (opts: {
|
23
|
-
prefix: string
|
24
|
-
argument: string
|
25
|
-
types: string[]
|
26
|
-
}): TypeError
|
27
|
-
/**
|
28
|
-
* @description Throw an error when an invalid argument is provided
|
29
|
-
*/
|
30
|
-
invalidArgument (opts: {
|
31
|
-
prefix: string
|
32
|
-
value: string
|
33
|
-
type: string
|
34
|
-
}): TypeError
|
35
|
-
}
|
36
|
-
|
37
|
-
interface WebidlUtil {
|
38
|
-
/**
|
39
|
-
* @see https://tc39.es/ecma262/#sec-ecmascript-data-types-and-values
|
40
|
-
*/
|
41
|
-
Type (object: unknown):
|
42
|
-
| 'Undefined'
|
43
|
-
| 'Boolean'
|
44
|
-
| 'String'
|
45
|
-
| 'Symbol'
|
46
|
-
| 'Number'
|
47
|
-
| 'BigInt'
|
48
|
-
| 'Null'
|
49
|
-
| 'Object'
|
50
|
-
|
51
|
-
/**
|
52
|
-
* @see https://webidl.spec.whatwg.org/#abstract-opdef-converttoint
|
53
|
-
*/
|
54
|
-
ConvertToInt (
|
55
|
-
V: unknown,
|
56
|
-
bitLength: number,
|
57
|
-
signedness: 'signed' | 'unsigned',
|
58
|
-
opts?: ConvertToIntOpts
|
59
|
-
): number
|
60
|
-
|
61
|
-
/**
|
62
|
-
* @see https://webidl.spec.whatwg.org/#abstract-opdef-converttoint
|
63
|
-
*/
|
64
|
-
IntegerPart (N: number): number
|
65
|
-
}
|
66
|
-
|
67
|
-
interface WebidlConverters {
|
68
|
-
/**
|
69
|
-
* @see https://webidl.spec.whatwg.org/#es-DOMString
|
70
|
-
*/
|
71
|
-
DOMString (V: unknown, opts?: {
|
72
|
-
legacyNullToEmptyString: boolean
|
73
|
-
}): string
|
74
|
-
|
75
|
-
/**
|
76
|
-
* @see https://webidl.spec.whatwg.org/#es-ByteString
|
77
|
-
*/
|
78
|
-
ByteString (V: unknown): string
|
79
|
-
|
80
|
-
/**
|
81
|
-
* @see https://webidl.spec.whatwg.org/#es-USVString
|
82
|
-
*/
|
83
|
-
USVString (V: unknown): string
|
84
|
-
|
85
|
-
/**
|
86
|
-
* @see https://webidl.spec.whatwg.org/#es-boolean
|
87
|
-
*/
|
88
|
-
boolean (V: unknown): boolean
|
89
|
-
|
90
|
-
/**
|
91
|
-
* @see https://webidl.spec.whatwg.org/#es-any
|
92
|
-
*/
|
93
|
-
any <Value>(V: Value): Value
|
94
|
-
|
95
|
-
/**
|
96
|
-
* @see https://webidl.spec.whatwg.org/#es-long-long
|
97
|
-
*/
|
98
|
-
['long long'] (V: unknown): number
|
99
|
-
|
100
|
-
/**
|
101
|
-
* @see https://webidl.spec.whatwg.org/#es-unsigned-long-long
|
102
|
-
*/
|
103
|
-
['unsigned long long'] (V: unknown): number
|
104
|
-
|
105
|
-
/**
|
106
|
-
* @see https://webidl.spec.whatwg.org/#es-unsigned-long
|
107
|
-
*/
|
108
|
-
['unsigned long'] (V: unknown): number
|
109
|
-
|
110
|
-
/**
|
111
|
-
* @see https://webidl.spec.whatwg.org/#es-unsigned-short
|
112
|
-
*/
|
113
|
-
['unsigned short'] (V: unknown, opts?: ConvertToIntOpts): number
|
114
|
-
|
115
|
-
/**
|
116
|
-
* @see https://webidl.spec.whatwg.org/#idl-ArrayBuffer
|
117
|
-
*/
|
118
|
-
ArrayBuffer (V: unknown): ArrayBufferLike
|
119
|
-
ArrayBuffer (V: unknown, opts: { allowShared: false }): ArrayBuffer
|
120
|
-
|
121
|
-
/**
|
122
|
-
* @see https://webidl.spec.whatwg.org/#es-buffer-source-types
|
123
|
-
*/
|
124
|
-
TypedArray (
|
125
|
-
V: unknown,
|
126
|
-
TypedArray: NodeJS.TypedArray | ArrayBufferLike
|
127
|
-
): NodeJS.TypedArray | ArrayBufferLike
|
128
|
-
TypedArray (
|
129
|
-
V: unknown,
|
130
|
-
TypedArray: NodeJS.TypedArray | ArrayBufferLike,
|
131
|
-
opts?: { allowShared: false }
|
132
|
-
): NodeJS.TypedArray | ArrayBuffer
|
133
|
-
|
134
|
-
/**
|
135
|
-
* @see https://webidl.spec.whatwg.org/#es-buffer-source-types
|
136
|
-
*/
|
137
|
-
DataView (V: unknown, opts?: { allowShared: boolean }): DataView
|
138
|
-
|
139
|
-
/**
|
140
|
-
* @see https://webidl.spec.whatwg.org/#BufferSource
|
141
|
-
*/
|
142
|
-
BufferSource (
|
143
|
-
V: unknown,
|
144
|
-
opts?: { allowShared: boolean }
|
145
|
-
): NodeJS.TypedArray | ArrayBufferLike | DataView
|
146
|
-
|
147
|
-
['sequence<ByteString>']: SequenceConverter<string>
|
148
|
-
|
149
|
-
['sequence<sequence<ByteString>>']: SequenceConverter<string[]>
|
150
|
-
|
151
|
-
['record<ByteString, ByteString>']: RecordConverter<string, string>
|
152
|
-
|
153
|
-
[Key: string]: (...args: any[]) => unknown
|
154
|
-
}
|
155
|
-
|
156
|
-
export interface Webidl {
|
157
|
-
errors: WebidlErrors
|
158
|
-
util: WebidlUtil
|
159
|
-
converters: WebidlConverters
|
160
|
-
|
161
|
-
/**
|
162
|
-
* @description Performs a brand-check on {@param V} to ensure it is a
|
163
|
-
* {@param cls} object.
|
164
|
-
*/
|
165
|
-
brandCheck <Interface>(V: unknown, cls: Interface, opts?: { strict?: boolean }): asserts V is Interface
|
166
|
-
|
167
|
-
/**
|
168
|
-
* @see https://webidl.spec.whatwg.org/#es-sequence
|
169
|
-
* @description Convert a value, V, to a WebIDL sequence type.
|
170
|
-
*/
|
171
|
-
sequenceConverter <Type>(C: Converter<Type>): SequenceConverter<Type>
|
172
|
-
|
173
|
-
illegalConstructor (): never
|
174
|
-
|
175
|
-
/**
|
176
|
-
* @see https://webidl.spec.whatwg.org/#es-to-record
|
177
|
-
* @description Convert a value, V, to a WebIDL record type.
|
178
|
-
*/
|
179
|
-
recordConverter <K extends string, V>(
|
180
|
-
keyConverter: Converter<K>,
|
181
|
-
valueConverter: Converter<V>
|
182
|
-
): RecordConverter<K, V>
|
183
|
-
|
184
|
-
/**
|
185
|
-
* Similar to {@link Webidl.brandCheck} but allows skipping the check if third party
|
186
|
-
* interfaces are allowed.
|
187
|
-
*/
|
188
|
-
interfaceConverter <Interface>(cls: Interface): (
|
189
|
-
V: unknown,
|
190
|
-
opts?: { strict: boolean }
|
191
|
-
) => asserts V is typeof cls
|
192
|
-
|
193
|
-
// TODO(@KhafraDev): a type could likely be implemented that can infer the return type
|
194
|
-
// from the converters given?
|
195
|
-
/**
|
196
|
-
* Converts a value, V, to a WebIDL dictionary types. Allows limiting which keys are
|
197
|
-
* allowed, values allowed, optional and required keys. Auto converts the value to
|
198
|
-
* a type given a converter.
|
199
|
-
*/
|
200
|
-
dictionaryConverter (converters: {
|
201
|
-
key: string,
|
202
|
-
defaultValue?: unknown,
|
203
|
-
required?: boolean,
|
204
|
-
converter: (...args: unknown[]) => unknown,
|
205
|
-
allowedValues?: unknown[]
|
206
|
-
}[]): (V: unknown) => Record<string, unknown>
|
207
|
-
|
208
|
-
/**
|
209
|
-
* @see https://webidl.spec.whatwg.org/#idl-nullable-type
|
210
|
-
* @description allows a type, V, to be null
|
211
|
-
*/
|
212
|
-
nullableConverter <T>(
|
213
|
-
converter: Converter<T>
|
214
|
-
): (V: unknown) => ReturnType<typeof converter> | null
|
215
|
-
|
216
|
-
argumentLengthCheck (args: { length: number }, min: number, context: {
|
217
|
-
header: string
|
218
|
-
message?: string
|
219
|
-
}): void
|
220
|
-
}
|
@@ -1,131 +0,0 @@
|
|
1
|
-
/// <reference types="node" />
|
2
|
-
|
3
|
-
import type { Blob } from 'buffer'
|
4
|
-
import type { MessagePort } from 'worker_threads'
|
5
|
-
import {
|
6
|
-
EventTarget,
|
7
|
-
Event,
|
8
|
-
EventInit,
|
9
|
-
EventListenerOptions,
|
10
|
-
AddEventListenerOptions,
|
11
|
-
EventListenerOrEventListenerObject
|
12
|
-
} from './patch'
|
13
|
-
import Dispatcher from './dispatcher'
|
14
|
-
import { HeadersInit } from './fetch'
|
15
|
-
|
16
|
-
export type BinaryType = 'blob' | 'arraybuffer'
|
17
|
-
|
18
|
-
interface WebSocketEventMap {
|
19
|
-
close: CloseEvent
|
20
|
-
error: Event
|
21
|
-
message: MessageEvent
|
22
|
-
open: Event
|
23
|
-
}
|
24
|
-
|
25
|
-
interface WebSocket extends EventTarget {
|
26
|
-
binaryType: BinaryType
|
27
|
-
|
28
|
-
readonly bufferedAmount: number
|
29
|
-
readonly extensions: string
|
30
|
-
|
31
|
-
onclose: ((this: WebSocket, ev: WebSocketEventMap['close']) => any) | null
|
32
|
-
onerror: ((this: WebSocket, ev: WebSocketEventMap['error']) => any) | null
|
33
|
-
onmessage: ((this: WebSocket, ev: WebSocketEventMap['message']) => any) | null
|
34
|
-
onopen: ((this: WebSocket, ev: WebSocketEventMap['open']) => any) | null
|
35
|
-
|
36
|
-
readonly protocol: string
|
37
|
-
readonly readyState: number
|
38
|
-
readonly url: string
|
39
|
-
|
40
|
-
close(code?: number, reason?: string): void
|
41
|
-
send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void
|
42
|
-
|
43
|
-
readonly CLOSED: number
|
44
|
-
readonly CLOSING: number
|
45
|
-
readonly CONNECTING: number
|
46
|
-
readonly OPEN: number
|
47
|
-
|
48
|
-
addEventListener<K extends keyof WebSocketEventMap>(
|
49
|
-
type: K,
|
50
|
-
listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any,
|
51
|
-
options?: boolean | AddEventListenerOptions
|
52
|
-
): void
|
53
|
-
addEventListener(
|
54
|
-
type: string,
|
55
|
-
listener: EventListenerOrEventListenerObject,
|
56
|
-
options?: boolean | AddEventListenerOptions
|
57
|
-
): void
|
58
|
-
removeEventListener<K extends keyof WebSocketEventMap>(
|
59
|
-
type: K,
|
60
|
-
listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any,
|
61
|
-
options?: boolean | EventListenerOptions
|
62
|
-
): void
|
63
|
-
removeEventListener(
|
64
|
-
type: string,
|
65
|
-
listener: EventListenerOrEventListenerObject,
|
66
|
-
options?: boolean | EventListenerOptions
|
67
|
-
): void
|
68
|
-
}
|
69
|
-
|
70
|
-
export declare const WebSocket: {
|
71
|
-
prototype: WebSocket
|
72
|
-
new (url: string | URL, protocols?: string | string[] | WebSocketInit): WebSocket
|
73
|
-
readonly CLOSED: number
|
74
|
-
readonly CLOSING: number
|
75
|
-
readonly CONNECTING: number
|
76
|
-
readonly OPEN: number
|
77
|
-
}
|
78
|
-
|
79
|
-
interface CloseEventInit extends EventInit {
|
80
|
-
code?: number
|
81
|
-
reason?: string
|
82
|
-
wasClean?: boolean
|
83
|
-
}
|
84
|
-
|
85
|
-
interface CloseEvent extends Event {
|
86
|
-
readonly code: number
|
87
|
-
readonly reason: string
|
88
|
-
readonly wasClean: boolean
|
89
|
-
}
|
90
|
-
|
91
|
-
export declare const CloseEvent: {
|
92
|
-
prototype: CloseEvent
|
93
|
-
new (type: string, eventInitDict?: CloseEventInit): CloseEvent
|
94
|
-
}
|
95
|
-
|
96
|
-
interface MessageEventInit<T = any> extends EventInit {
|
97
|
-
data?: T
|
98
|
-
lastEventId?: string
|
99
|
-
origin?: string
|
100
|
-
ports?: (typeof MessagePort)[]
|
101
|
-
source?: typeof MessagePort | null
|
102
|
-
}
|
103
|
-
|
104
|
-
interface MessageEvent<T = any> extends Event {
|
105
|
-
readonly data: T
|
106
|
-
readonly lastEventId: string
|
107
|
-
readonly origin: string
|
108
|
-
readonly ports: ReadonlyArray<typeof MessagePort>
|
109
|
-
readonly source: typeof MessagePort | null
|
110
|
-
initMessageEvent(
|
111
|
-
type: string,
|
112
|
-
bubbles?: boolean,
|
113
|
-
cancelable?: boolean,
|
114
|
-
data?: any,
|
115
|
-
origin?: string,
|
116
|
-
lastEventId?: string,
|
117
|
-
source?: typeof MessagePort | null,
|
118
|
-
ports?: (typeof MessagePort)[]
|
119
|
-
): void;
|
120
|
-
}
|
121
|
-
|
122
|
-
export declare const MessageEvent: {
|
123
|
-
prototype: MessageEvent
|
124
|
-
new<T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>
|
125
|
-
}
|
126
|
-
|
127
|
-
interface WebSocketInit {
|
128
|
-
protocols?: string | string[],
|
129
|
-
dispatcher?: Dispatcher,
|
130
|
-
headers?: HeadersInit
|
131
|
-
}
|
@@ -1,107 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "5.3",
|
3
|
-
"lockfileVersion": 3,
|
4
|
-
"requires": true,
|
5
|
-
"packages": {
|
6
|
-
"": {
|
7
|
-
"dependencies": {
|
8
|
-
"types-registry": "^0.1.683"
|
9
|
-
},
|
10
|
-
"devDependencies": {
|
11
|
-
"@types/node-fetch": "^2.6.9"
|
12
|
-
}
|
13
|
-
},
|
14
|
-
"node_modules/@types/node": {
|
15
|
-
"version": "20.10.4",
|
16
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.4.tgz",
|
17
|
-
"integrity": "sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==",
|
18
|
-
"dev": true,
|
19
|
-
"dependencies": {
|
20
|
-
"undici-types": "~5.26.4"
|
21
|
-
}
|
22
|
-
},
|
23
|
-
"node_modules/@types/node-fetch": {
|
24
|
-
"version": "2.6.9",
|
25
|
-
"resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.9.tgz",
|
26
|
-
"integrity": "sha512-bQVlnMLFJ2d35DkPNjEPmd9ueO/rh5EiaZt2bhqiSarPjZIuIV6bPQVqcrEyvNo+AfTrRGVazle1tl597w3gfA==",
|
27
|
-
"dev": true,
|
28
|
-
"dependencies": {
|
29
|
-
"@types/node": "*",
|
30
|
-
"form-data": "^4.0.0"
|
31
|
-
}
|
32
|
-
},
|
33
|
-
"node_modules/asynckit": {
|
34
|
-
"version": "0.4.0",
|
35
|
-
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
36
|
-
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
|
37
|
-
"dev": true
|
38
|
-
},
|
39
|
-
"node_modules/combined-stream": {
|
40
|
-
"version": "1.0.8",
|
41
|
-
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
|
42
|
-
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
|
43
|
-
"dev": true,
|
44
|
-
"dependencies": {
|
45
|
-
"delayed-stream": "~1.0.0"
|
46
|
-
},
|
47
|
-
"engines": {
|
48
|
-
"node": ">= 0.8"
|
49
|
-
}
|
50
|
-
},
|
51
|
-
"node_modules/delayed-stream": {
|
52
|
-
"version": "1.0.0",
|
53
|
-
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
54
|
-
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
|
55
|
-
"dev": true,
|
56
|
-
"engines": {
|
57
|
-
"node": ">=0.4.0"
|
58
|
-
}
|
59
|
-
},
|
60
|
-
"node_modules/form-data": {
|
61
|
-
"version": "4.0.0",
|
62
|
-
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
|
63
|
-
"integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
|
64
|
-
"dev": true,
|
65
|
-
"dependencies": {
|
66
|
-
"asynckit": "^0.4.0",
|
67
|
-
"combined-stream": "^1.0.8",
|
68
|
-
"mime-types": "^2.1.12"
|
69
|
-
},
|
70
|
-
"engines": {
|
71
|
-
"node": ">= 6"
|
72
|
-
}
|
73
|
-
},
|
74
|
-
"node_modules/mime-db": {
|
75
|
-
"version": "1.52.0",
|
76
|
-
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
|
77
|
-
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
|
78
|
-
"dev": true,
|
79
|
-
"engines": {
|
80
|
-
"node": ">= 0.6"
|
81
|
-
}
|
82
|
-
},
|
83
|
-
"node_modules/mime-types": {
|
84
|
-
"version": "2.1.35",
|
85
|
-
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
|
86
|
-
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
|
87
|
-
"dev": true,
|
88
|
-
"dependencies": {
|
89
|
-
"mime-db": "1.52.0"
|
90
|
-
},
|
91
|
-
"engines": {
|
92
|
-
"node": ">= 0.6"
|
93
|
-
}
|
94
|
-
},
|
95
|
-
"node_modules/types-registry": {
|
96
|
-
"version": "0.1.683",
|
97
|
-
"resolved": "https://registry.npmjs.org/types-registry/-/types-registry-0.1.683.tgz",
|
98
|
-
"integrity": "sha512-XcbiXpnMOE7z1iomyKg7jH8XLHSVUsIiJIrZZDJqALOsspsqpmTd7UAkurgELZRuhA4lCTe2SdfhQbIYgBTpFw=="
|
99
|
-
},
|
100
|
-
"node_modules/undici-types": {
|
101
|
-
"version": "5.26.5",
|
102
|
-
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
|
103
|
-
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
|
104
|
-
"dev": true
|
105
|
-
}
|
106
|
-
}
|
107
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"private":true,"dependencies":{"types-registry":"^0.1.683"},"devDependencies":{"@types/node-fetch":"^2.6.9"}}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
MIT License
|
2
|
-
|
3
|
-
Copyright (c) Microsoft Corporation.
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# Installation
|
2
|
-
> `npm install --save @types/body-parser`
|
3
|
-
|
4
|
-
# Summary
|
5
|
-
This package contains type definitions for body-parser (https://github.com/expressjs/body-parser).
|
6
|
-
|
7
|
-
# Details
|
8
|
-
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/body-parser.
|
9
|
-
|
10
|
-
### Additional Details
|
11
|
-
* Last updated: Mon, 06 Nov 2023 22:41:05 GMT
|
12
|
-
* Dependencies: [@types/connect](https://npmjs.com/package/@types/connect), [@types/node](https://npmjs.com/package/@types/node)
|
13
|
-
|
14
|
-
# Credits
|
15
|
-
These definitions were written by [Santi Albo](https://github.com/santialbo), [Vilic Vane](https://github.com/vilic), [Jonathan Häberle](https://github.com/dreampulse), [Gevik Babakhani](https://github.com/blendsdk), [Tomasz Łaziuk](https://github.com/tlaziuk), [Jason Walton](https://github.com/jwalton), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).
|
@@ -1,95 +0,0 @@
|
|
1
|
-
/// <reference types="node" />
|
2
|
-
|
3
|
-
import { NextHandleFunction } from "connect";
|
4
|
-
import * as http from "http";
|
5
|
-
|
6
|
-
// for docs go to https://github.com/expressjs/body-parser/tree/1.19.0#body-parser
|
7
|
-
|
8
|
-
declare namespace bodyParser {
|
9
|
-
interface BodyParser {
|
10
|
-
/**
|
11
|
-
* @deprecated use individual json/urlencoded middlewares
|
12
|
-
*/
|
13
|
-
(options?: OptionsJson & OptionsText & OptionsUrlencoded): NextHandleFunction;
|
14
|
-
/**
|
15
|
-
* Returns middleware that only parses json and only looks at requests
|
16
|
-
* where the Content-Type header matches the type option.
|
17
|
-
*/
|
18
|
-
json(options?: OptionsJson): NextHandleFunction;
|
19
|
-
/**
|
20
|
-
* Returns middleware that parses all bodies as a Buffer and only looks at requests
|
21
|
-
* where the Content-Type header matches the type option.
|
22
|
-
*/
|
23
|
-
raw(options?: Options): NextHandleFunction;
|
24
|
-
|
25
|
-
/**
|
26
|
-
* Returns middleware that parses all bodies as a string and only looks at requests
|
27
|
-
* where the Content-Type header matches the type option.
|
28
|
-
*/
|
29
|
-
text(options?: OptionsText): NextHandleFunction;
|
30
|
-
/**
|
31
|
-
* Returns middleware that only parses urlencoded bodies and only looks at requests
|
32
|
-
* where the Content-Type header matches the type option
|
33
|
-
*/
|
34
|
-
urlencoded(options?: OptionsUrlencoded): NextHandleFunction;
|
35
|
-
}
|
36
|
-
|
37
|
-
interface Options {
|
38
|
-
/** When set to true, then deflated (compressed) bodies will be inflated; when false, deflated bodies are rejected. Defaults to true. */
|
39
|
-
inflate?: boolean | undefined;
|
40
|
-
/**
|
41
|
-
* Controls the maximum request body size. If this is a number,
|
42
|
-
* then the value specifies the number of bytes; if it is a string,
|
43
|
-
* the value is passed to the bytes library for parsing. Defaults to '100kb'.
|
44
|
-
*/
|
45
|
-
limit?: number | string | undefined;
|
46
|
-
/**
|
47
|
-
* The type option is used to determine what media type the middleware will parse
|
48
|
-
*/
|
49
|
-
type?: string | string[] | ((req: http.IncomingMessage) => any) | undefined;
|
50
|
-
/**
|
51
|
-
* The verify option, if supplied, is called as verify(req, res, buf, encoding),
|
52
|
-
* where buf is a Buffer of the raw request body and encoding is the encoding of the request.
|
53
|
-
*/
|
54
|
-
verify?(req: http.IncomingMessage, res: http.ServerResponse, buf: Buffer, encoding: string): void;
|
55
|
-
}
|
56
|
-
|
57
|
-
interface OptionsJson extends Options {
|
58
|
-
/**
|
59
|
-
* The reviver option is passed directly to JSON.parse as the second argument.
|
60
|
-
*/
|
61
|
-
reviver?(key: string, value: any): any;
|
62
|
-
/**
|
63
|
-
* When set to `true`, will only accept arrays and objects;
|
64
|
-
* when `false` will accept anything JSON.parse accepts. Defaults to `true`.
|
65
|
-
*/
|
66
|
-
strict?: boolean | undefined;
|
67
|
-
}
|
68
|
-
|
69
|
-
interface OptionsText extends Options {
|
70
|
-
/**
|
71
|
-
* Specify the default character set for the text content if the charset
|
72
|
-
* is not specified in the Content-Type header of the request.
|
73
|
-
* Defaults to `utf-8`.
|
74
|
-
*/
|
75
|
-
defaultCharset?: string | undefined;
|
76
|
-
}
|
77
|
-
|
78
|
-
interface OptionsUrlencoded extends Options {
|
79
|
-
/**
|
80
|
-
* The extended option allows to choose between parsing the URL-encoded data
|
81
|
-
* with the querystring library (when `false`) or the qs library (when `true`).
|
82
|
-
*/
|
83
|
-
extended?: boolean | undefined;
|
84
|
-
/**
|
85
|
-
* The parameterLimit option controls the maximum number of parameters
|
86
|
-
* that are allowed in the URL-encoded data. If a request contains more parameters than this value,
|
87
|
-
* a 413 will be returned to the client. Defaults to 1000.
|
88
|
-
*/
|
89
|
-
parameterLimit?: number | undefined;
|
90
|
-
}
|
91
|
-
}
|
92
|
-
|
93
|
-
declare const bodyParser: bodyParser.BodyParser;
|
94
|
-
|
95
|
-
export = bodyParser;
|
@@ -1,58 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "@types/body-parser",
|
3
|
-
"version": "1.19.5",
|
4
|
-
"description": "TypeScript definitions for body-parser",
|
5
|
-
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/body-parser",
|
6
|
-
"license": "MIT",
|
7
|
-
"contributors": [
|
8
|
-
{
|
9
|
-
"name": "Santi Albo",
|
10
|
-
"githubUsername": "santialbo",
|
11
|
-
"url": "https://github.com/santialbo"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"name": "Vilic Vane",
|
15
|
-
"githubUsername": "vilic",
|
16
|
-
"url": "https://github.com/vilic"
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"name": "Jonathan Häberle",
|
20
|
-
"githubUsername": "dreampulse",
|
21
|
-
"url": "https://github.com/dreampulse"
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"name": "Gevik Babakhani",
|
25
|
-
"githubUsername": "blendsdk",
|
26
|
-
"url": "https://github.com/blendsdk"
|
27
|
-
},
|
28
|
-
{
|
29
|
-
"name": "Tomasz Łaziuk",
|
30
|
-
"githubUsername": "tlaziuk",
|
31
|
-
"url": "https://github.com/tlaziuk"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"name": "Jason Walton",
|
35
|
-
"githubUsername": "jwalton",
|
36
|
-
"url": "https://github.com/jwalton"
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"name": "Piotr Błażejewicz",
|
40
|
-
"githubUsername": "peterblazejewicz",
|
41
|
-
"url": "https://github.com/peterblazejewicz"
|
42
|
-
}
|
43
|
-
],
|
44
|
-
"main": "",
|
45
|
-
"types": "index.d.ts",
|
46
|
-
"repository": {
|
47
|
-
"type": "git",
|
48
|
-
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
49
|
-
"directory": "types/body-parser"
|
50
|
-
},
|
51
|
-
"scripts": {},
|
52
|
-
"dependencies": {
|
53
|
-
"@types/connect": "*",
|
54
|
-
"@types/node": "*"
|
55
|
-
},
|
56
|
-
"typesPublisherContentHash": "7be737b78c8aabd5436be840558b283182b44c3cf9da24fb1f2ff8f414db5802",
|
57
|
-
"typeScriptVersion": "4.5"
|
58
|
-
}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
MIT License
|
2
|
-
|
3
|
-
Copyright (c) Microsoft Corporation.
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# Installation
|
2
|
-
> `npm install --save @types/connect`
|
3
|
-
|
4
|
-
# Summary
|
5
|
-
This package contains type definitions for connect (https://github.com/senchalabs/connect).
|
6
|
-
|
7
|
-
# Details
|
8
|
-
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect.
|
9
|
-
|
10
|
-
### Additional Details
|
11
|
-
* Last updated: Mon, 06 Nov 2023 22:41:05 GMT
|
12
|
-
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
|
13
|
-
|
14
|
-
# Credits
|
15
|
-
These definitions were written by [Maxime LUCE](https://github.com/SomaticIT), and [Evan Hahn](https://github.com/EvanHahn).
|