cloudstructs 0.1.39 → 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/.gitattributes +19 -19
- package/.jsii +2743 -1551
- package/API.md +71 -71
- package/README.md +2 -0
- package/lib/codecommit-mirror/index.d.ts +6 -6
- package/lib/codecommit-mirror/index.js +13 -12
- package/lib/ecs-service-roller/index.d.ts +5 -5
- package/lib/ecs-service-roller/index.js +10 -9
- package/lib/email-receiver/receiver.d.ts +5 -5
- package/lib/email-receiver/receiver.js +15 -14
- package/lib/saml-identity-provider/index.d.ts +4 -4
- package/lib/saml-identity-provider/index.js +10 -9
- package/lib/slack-events/index.d.ts +5 -4
- package/lib/slack-events/index.js +13 -14
- package/lib/slack-textract/index.d.ts +6 -5
- package/lib/slack-textract/index.js +12 -11
- package/lib/state-machine-cr-provider/index.d.ts +2 -1
- package/lib/state-machine-cr-provider/index.js +14 -13
- package/lib/static-website/index.d.ts +6 -6
- package/lib/static-website/index.js +16 -15
- package/lib/url-shortener/index.d.ts +8 -7
- package/lib/url-shortener/index.handler.js +2 -1
- package/lib/url-shortener/index.js +19 -18
- package/node_modules/@sindresorhus/is/dist/index.d.ts +9 -4
- package/node_modules/@sindresorhus/is/dist/index.js +9 -0
- package/node_modules/@sindresorhus/is/package.json +1 -1
- package/node_modules/@sindresorhus/is/readme.md +26 -0
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +31 -20
- package/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +6 -1
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +106 -23
- package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +10 -10
- package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +7 -1
- package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +12 -1
- package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +13 -2
- package/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +107 -13
- package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +107 -46
- package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +0 -1
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +18 -7
- package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +9 -2
- package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +5 -5
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +13 -13
- package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +8 -4
- package/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +9 -9
- package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +2 -1
- package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +385 -0
- package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +75 -7
- package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +6 -6
- package/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +2 -4
- package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +26 -3
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +49 -11
- package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +6 -3
- package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +9 -4
- package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +31 -20
- package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +6 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +106 -23
- package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +10 -10
- package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +7 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +12 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +13 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +107 -13
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +107 -46
- package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +0 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +18 -7
- package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +9 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +5 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +13 -13
- package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +8 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +9 -9
- package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +2 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +385 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +75 -7
- package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +6 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +2 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +26 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +49 -11
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +6 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +9 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +31 -20
- package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +6 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +106 -23
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +10 -10
- package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +7 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +12 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +13 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +107 -13
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +107 -46
- package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +0 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +18 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +9 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +5 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +13 -13
- package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +8 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +9 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +2 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +385 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +75 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +6 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +2 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +26 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +49 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +6 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +9 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/README.md +3 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/assert.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/async_hooks.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +4 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +31 -20
- package/node_modules/@types/is-stream/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/console.d.ts +6 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +106 -23
- package/node_modules/@types/is-stream/node_modules/@types/node/dgram.d.ts +10 -10
- package/node_modules/@types/is-stream/node_modules/@types/node/diagnostics_channel.d.ts +7 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/dns/promises.d.ts +12 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/dns.d.ts +13 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/events.d.ts +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/fs/promises.d.ts +107 -13
- package/node_modules/@types/is-stream/node_modules/@types/node/fs.d.ts +107 -46
- package/node_modules/@types/is-stream/node_modules/@types/node/globals.d.ts +0 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +18 -7
- package/node_modules/@types/is-stream/node_modules/@types/node/http2.d.ts +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/index.d.ts +4 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/inspector.d.ts +9 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +3 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/os.d.ts +5 -5
- package/node_modules/@types/is-stream/node_modules/@types/node/package.json +13 -13
- package/node_modules/@types/is-stream/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/perf_hooks.d.ts +3 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +8 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/punycode.d.ts +3 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/querystring.d.ts +9 -9
- package/node_modules/@types/is-stream/node_modules/@types/node/readline.d.ts +2 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/repl.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/stream/web.d.ts +385 -0
- package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +75 -7
- package/node_modules/@types/is-stream/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/tls.d.ts +6 -6
- package/node_modules/@types/is-stream/node_modules/@types/node/trace_events.d.ts +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/tty.d.ts +2 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/url.d.ts +26 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/util.d.ts +49 -11
- package/node_modules/@types/is-stream/node_modules/@types/node/v8.d.ts +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/vm.d.ts +6 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/wasi.d.ts +9 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/worker_threads.d.ts +4 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/zlib.d.ts +1 -1
- package/node_modules/@types/keyv/README.md +1 -1
- package/node_modules/@types/keyv/index.d.ts +10 -3
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +31 -20
- package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +6 -1
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +106 -23
- package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +10 -10
- package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +7 -1
- package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +12 -1
- package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +13 -2
- package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +107 -13
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +107 -46
- package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +0 -1
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +18 -7
- package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +9 -2
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +5 -5
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +13 -13
- package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +8 -4
- package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +9 -9
- package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +2 -1
- package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +385 -0
- package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +75 -7
- package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +6 -6
- package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +2 -4
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +26 -3
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +49 -11
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +6 -3
- package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +9 -4
- package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +1 -1
- package/node_modules/@types/keyv/package.json +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +31 -20
- package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +6 -1
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +106 -23
- package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +10 -10
- package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +7 -1
- package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +12 -1
- package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +13 -2
- package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +107 -13
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +107 -46
- package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +0 -1
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +18 -7
- package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +9 -2
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +5 -5
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +13 -13
- package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +8 -4
- package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +9 -9
- package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +2 -1
- package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +385 -0
- package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +75 -7
- package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +6 -6
- package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +2 -4
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +26 -3
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +49 -11
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +6 -3
- package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +9 -4
- package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +1 -1
- package/node_modules/axios/CHANGELOG.md +98 -8
- package/node_modules/axios/README.md +74 -6
- package/node_modules/axios/SECURITY.md +5 -0
- package/node_modules/axios/dist/axios.js +2028 -1591
- package/node_modules/axios/dist/axios.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.map +1 -1
- package/node_modules/axios/index.d.ts +8 -1
- package/node_modules/axios/lib/adapters/http.js +33 -5
- package/node_modules/axios/lib/adapters/xhr.js +35 -25
- package/node_modules/axios/lib/core/Axios.js +60 -7
- package/node_modules/axios/lib/core/InterceptorManager.js +4 -2
- package/node_modules/axios/lib/core/README.md +1 -0
- package/node_modules/axios/lib/core/dispatchRequest.js +6 -3
- package/node_modules/axios/lib/core/transformData.js +3 -1
- package/node_modules/axios/lib/defaults.js +43 -7
- package/node_modules/axios/lib/helpers/validator.js +105 -0
- package/node_modules/axios/lib/utils.js +1 -3
- package/node_modules/axios/package.json +19 -21
- package/node_modules/follow-redirects/index.js +59 -21
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/got/dist/source/as-promise/parse-body.d.ts +1 -1
- package/node_modules/got/dist/source/as-promise/types.js +2 -0
- package/node_modules/got/dist/source/core/index.d.ts +1 -1
- package/node_modules/got/dist/source/core/index.js +9 -3
- package/node_modules/got/dist/source/types.d.ts +14 -12
- package/node_modules/got/package.json +2 -2
- package/node_modules/got/readme.md +11 -10
- package/node_modules/keyv/LICENSE +1 -1
- package/node_modules/keyv/README.md +12 -10
- package/node_modules/keyv/package.json +17 -12
- package/node_modules/keyv/src/index.js +14 -16
- package/node_modules/mime-db/HISTORY.md +13 -0
- package/node_modules/mime-db/db.json +54 -0
- package/node_modules/mime-db/package.json +7 -7
- package/node_modules/mime-types/HISTORY.md +13 -3
- package/node_modules/mime-types/package.json +7 -7
- package/node_modules/{http2-wrapper/node_modules/quick-lru → quick-lru}/index.d.ts +0 -0
- package/node_modules/{http2-wrapper/node_modules/quick-lru → quick-lru}/index.js +0 -0
- package/node_modules/{http2-wrapper/node_modules/quick-lru → quick-lru}/license +0 -0
- package/node_modules/{http2-wrapper/node_modules/quick-lru → quick-lru}/package.json +0 -0
- package/node_modules/{http2-wrapper/node_modules/quick-lru → quick-lru}/readme.md +0 -0
- package/package.json +33 -84
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
* 'Host', 'mysite.com',
|
|
38
38
|
* 'accepT', '*' ]
|
|
39
39
|
* ```
|
|
40
|
-
* @see [source](https://github.com/nodejs/node/blob/v16.
|
|
40
|
+
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/http.js)
|
|
41
41
|
*/
|
|
42
42
|
declare module 'http' {
|
|
43
43
|
import * as stream from 'node:stream';
|
|
44
44
|
import { URL } from 'node:url';
|
|
45
|
-
import { Socket, Server as NetServer } from 'node:net';
|
|
45
|
+
import { TcpSocketConnectOpts, Socket, Server as NetServer, LookupFunction } from 'node:net';
|
|
46
46
|
// incoming headers will never contain number
|
|
47
47
|
interface IncomingHttpHeaders extends NodeJS.Dict<string | string[]> {
|
|
48
48
|
accept?: string | undefined;
|
|
@@ -113,7 +113,7 @@ declare module 'http' {
|
|
|
113
113
|
type OutgoingHttpHeader = number | string | string[];
|
|
114
114
|
interface OutgoingHttpHeaders extends NodeJS.Dict<OutgoingHttpHeader> {}
|
|
115
115
|
interface ClientRequestArgs {
|
|
116
|
-
|
|
116
|
+
signal?: AbortSignal | undefined;
|
|
117
117
|
protocol?: string | null | undefined;
|
|
118
118
|
host?: string | null | undefined;
|
|
119
119
|
hostname?: string | null | undefined;
|
|
@@ -136,6 +136,7 @@ declare module 'http' {
|
|
|
136
136
|
setHost?: boolean | undefined;
|
|
137
137
|
// https://github.com/nodejs/node/blob/master/lib/_http_client.js#L278
|
|
138
138
|
createConnection?: ((options: ClientRequestArgs, oncreate: (err: Error, socket: Socket) => void) => Socket) | undefined;
|
|
139
|
+
lookup?: LookupFunction | undefined;
|
|
139
140
|
}
|
|
140
141
|
interface ServerOptions {
|
|
141
142
|
IncomingMessage?: typeof IncomingMessage | undefined;
|
|
@@ -183,6 +184,18 @@ declare module 'http' {
|
|
|
183
184
|
* @since v0.7.0
|
|
184
185
|
*/
|
|
185
186
|
maxHeadersCount: number | null;
|
|
187
|
+
/**
|
|
188
|
+
* The maximum number of requests socket can handle
|
|
189
|
+
* before closing keep alive connection.
|
|
190
|
+
*
|
|
191
|
+
* A value of `0` will disable the limit.
|
|
192
|
+
*
|
|
193
|
+
* When the limit is reached it will set the `Connection` header value to `close`,
|
|
194
|
+
* but will not actually close the connection, subsequent requests sent
|
|
195
|
+
* after the limit is reached will get `503 Service Unavailable` as a response.
|
|
196
|
+
* @since v16.10.0
|
|
197
|
+
*/
|
|
198
|
+
maxRequestsPerSocket: number | null;
|
|
186
199
|
/**
|
|
187
200
|
* The number of milliseconds of inactivity before a socket is presumed
|
|
188
201
|
* to have timed out.
|
|
@@ -341,11 +354,9 @@ declare module 'http' {
|
|
|
341
354
|
readonly socket: Socket | null;
|
|
342
355
|
constructor();
|
|
343
356
|
/**
|
|
344
|
-
* occurs, Same as binding to the `timeout` event.
|
|
345
|
-
*
|
|
346
357
|
* Once a socket is associated with the message and is connected,`socket.setTimeout()` will be called with `msecs` as the first parameter.
|
|
347
358
|
* @since v0.9.12
|
|
348
|
-
* @param callback Optional function to be called when a timeout
|
|
359
|
+
* @param callback Optional function to be called when a timeout occurs. Same as binding to the `timeout` event.
|
|
349
360
|
*/
|
|
350
361
|
setTimeout(msecs: number, callback?: () => void): this;
|
|
351
362
|
/**
|
|
@@ -940,7 +951,7 @@ declare module 'http' {
|
|
|
940
951
|
*/
|
|
941
952
|
destroy(error?: Error): void;
|
|
942
953
|
}
|
|
943
|
-
interface AgentOptions {
|
|
954
|
+
interface AgentOptions extends Partial<TcpSocketConnectOpts> {
|
|
944
955
|
/**
|
|
945
956
|
* Keep sockets around in a pool to be used by other requests in the future. Default = false
|
|
946
957
|
*/
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* const http2 = require('http2');
|
|
7
7
|
* ```
|
|
8
8
|
* @since v8.4.0
|
|
9
|
-
* @see [source](https://github.com/nodejs/node/blob/v16.
|
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/http2.js)
|
|
10
10
|
*/
|
|
11
11
|
declare module 'http2' {
|
|
12
12
|
import EventEmitter = require('node:events');
|
|
@@ -2014,7 +2014,7 @@ declare module 'http2' {
|
|
|
2014
2014
|
/**
|
|
2015
2015
|
* Returns a `net.Server` instance that creates and manages `Http2Session`instances.
|
|
2016
2016
|
*
|
|
2017
|
-
* Since there are no browsers known that support[unencrypted HTTP/2](https://http2.github.io/faq/#does-http2-require-encryption), the use of {@link createSecureServer} is necessary when
|
|
2017
|
+
* Since there are no browsers known that support [unencrypted HTTP/2](https://http2.github.io/faq/#does-http2-require-encryption), the use of {@link createSecureServer} is necessary when
|
|
2018
2018
|
* communicating
|
|
2019
2019
|
* with browser clients.
|
|
2020
2020
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* HTTPS is the HTTP protocol over TLS/SSL. In Node.js this is implemented as a
|
|
3
3
|
* separate module.
|
|
4
|
-
* @see [source](https://github.com/nodejs/node/blob/v16.
|
|
4
|
+
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/https.js)
|
|
5
5
|
*/
|
|
6
6
|
declare module 'https' {
|
|
7
7
|
import { Duplex } from 'node:stream';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// Type definitions for non-npm package Node.js 16.
|
|
2
|
-
// Project:
|
|
1
|
+
// Type definitions for non-npm package Node.js 16.11
|
|
2
|
+
// Project: https://nodejs.org/
|
|
3
3
|
// Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
|
|
4
4
|
// DefinitelyTyped <https://github.com/DefinitelyTyped>
|
|
5
5
|
// Alberto Schiabel <https://github.com/jkomyno>
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
// Nikita Galkin <https://github.com/galkin>
|
|
22
22
|
// Parambir Singh <https://github.com/parambirs>
|
|
23
23
|
// Sebastian Silbermann <https://github.com/eps1lon>
|
|
24
|
+
// Seth Westphal <https://github.com/westy92>
|
|
24
25
|
// Simon Schick <https://github.com/SimonSchick>
|
|
25
26
|
// Thomas den Hollander <https://github.com/ThomasdenH>
|
|
26
27
|
// Wilco Bakker <https://github.com/WilcoBakker>
|
|
@@ -30,18 +31,17 @@
|
|
|
30
31
|
// Thanik Bhongbhibhat <https://github.com/bhongy>
|
|
31
32
|
// Marcin Kopacz <https://github.com/chyzwar>
|
|
32
33
|
// Trivikram Kamat <https://github.com/trivikr>
|
|
33
|
-
// Minh Son Nguyen <https://github.com/nguymin4>
|
|
34
34
|
// Junxiao Shi <https://github.com/yoursunny>
|
|
35
35
|
// Ilia Baryshnikov <https://github.com/qwelias>
|
|
36
36
|
// ExE Boss <https://github.com/ExE-Boss>
|
|
37
37
|
// Surasak Chaisurin <https://github.com/Ryan-Willpower>
|
|
38
38
|
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
|
39
39
|
// Anna Henningsen <https://github.com/addaleax>
|
|
40
|
-
// Jason Kwok <https://github.com/JasonHK>
|
|
41
40
|
// Victor Perin <https://github.com/victorperin>
|
|
42
41
|
// Yongsheng Zhang <https://github.com/ZYSzys>
|
|
43
42
|
// NodeJS Contributors <https://github.com/NodeJS>
|
|
44
43
|
// Linus Unnebäck <https://github.com/LinusU>
|
|
44
|
+
// wafuwafu13 <https://github.com/wafuwafu13>
|
|
45
45
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
46
46
|
|
|
47
47
|
/**
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* ```js
|
|
16
16
|
* const inspector = require('inspector');
|
|
17
17
|
* ```
|
|
18
|
-
* @see [source](https://github.com/nodejs/node/blob/v16.
|
|
18
|
+
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/inspector.js)
|
|
19
19
|
*/
|
|
20
20
|
declare module 'inspector' {
|
|
21
21
|
import EventEmitter = require('node:events');
|
|
@@ -1778,6 +1778,13 @@ declare module 'inspector' {
|
|
|
1778
1778
|
* @since v8.0.0
|
|
1779
1779
|
*/
|
|
1780
1780
|
connect(): void;
|
|
1781
|
+
/**
|
|
1782
|
+
* Connects a session to the main thread inspector back-end.
|
|
1783
|
+
* An exception will be thrown if this API was not called on a Worker
|
|
1784
|
+
* thread.
|
|
1785
|
+
* @since 12.11.0
|
|
1786
|
+
*/
|
|
1787
|
+
connectToMainThread(): void;
|
|
1781
1788
|
/**
|
|
1782
1789
|
* Immediately close the session. All pending message callbacks will be called
|
|
1783
1790
|
* with an error. `session.connect()` will need to be called to be able to send
|
|
@@ -1797,7 +1804,7 @@ declare module 'inspector' {
|
|
|
1797
1804
|
* // Output: { type: 'number', value: 4, description: '4' }
|
|
1798
1805
|
* ```
|
|
1799
1806
|
*
|
|
1800
|
-
* The latest version of the V8 inspector protocol is published on the[Chrome DevTools Protocol Viewer](https://chromedevtools.github.io/devtools-protocol/v8/).
|
|
1807
|
+
* The latest version of the V8 inspector protocol is published on the [Chrome DevTools Protocol Viewer](https://chromedevtools.github.io/devtools-protocol/v8/).
|
|
1801
1808
|
*
|
|
1802
1809
|
* Node.js inspector supports all the Chrome DevTools Protocol domains declared
|
|
1803
1810
|
* by V8\. Chrome DevTools Protocol domain provides an interface for interacting
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* ```js
|
|
11
11
|
* const net = require('net');
|
|
12
12
|
* ```
|
|
13
|
-
* @see [source](https://github.com/nodejs/node/blob/v16.
|
|
13
|
+
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/net.js)
|
|
14
14
|
*/
|
|
15
15
|
declare module 'net' {
|
|
16
16
|
import * as stream from 'node:stream';
|
|
@@ -255,12 +255,12 @@ declare module 'net' {
|
|
|
255
255
|
* connects on `'192.168.1.1'`, the value of `socket.localAddress` would be`'192.168.1.1'`.
|
|
256
256
|
* @since v0.9.6
|
|
257
257
|
*/
|
|
258
|
-
readonly localAddress
|
|
258
|
+
readonly localAddress?: string;
|
|
259
259
|
/**
|
|
260
260
|
* The numeric representation of the local port. For example, `80` or `21`.
|
|
261
261
|
* @since v0.9.6
|
|
262
262
|
*/
|
|
263
|
-
readonly localPort
|
|
263
|
+
readonly localPort?: number;
|
|
264
264
|
/**
|
|
265
265
|
* The string representation of the remote IP address. For example,`'74.125.127.100'` or `'2001:4860:a005::68'`. Value may be `undefined` if
|
|
266
266
|
* the socket is destroyed (for example, if the client disconnected).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ```js
|
|
6
6
|
* const os = require('os');
|
|
7
7
|
* ```
|
|
8
|
-
* @see [source](https://github.com/nodejs/node/blob/v16.
|
|
8
|
+
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/os.js)
|
|
9
9
|
*/
|
|
10
10
|
declare module 'os' {
|
|
11
11
|
interface CpuInfo {
|
|
@@ -143,8 +143,8 @@ declare module 'os' {
|
|
|
143
143
|
/**
|
|
144
144
|
* Returns the operating system as a string.
|
|
145
145
|
*
|
|
146
|
-
* On POSIX systems, the operating system release is determined by calling[`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `GetVersionExW()` is used.
|
|
147
|
-
*
|
|
146
|
+
* On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `GetVersionExW()` is used. See
|
|
147
|
+
* [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information.
|
|
148
148
|
* @since v0.3.3
|
|
149
149
|
*/
|
|
150
150
|
function release(): string;
|
|
@@ -396,8 +396,8 @@ declare module 'os' {
|
|
|
396
396
|
/**
|
|
397
397
|
* Returns a string identifying the kernel version.
|
|
398
398
|
*
|
|
399
|
-
* On POSIX systems, the operating system release is determined by calling[`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `RtlGetVersion()` is used, and if it is not
|
|
400
|
-
* available, `GetVersionExW()` will be used. See[https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information.
|
|
399
|
+
* On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `RtlGetVersion()` is used, and if it is not
|
|
400
|
+
* available, `GetVersionExW()` will be used. See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information.
|
|
401
401
|
* @since v13.11.0, v12.17.0
|
|
402
402
|
*/
|
|
403
403
|
function version(): string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.11.12",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -110,6 +110,11 @@
|
|
|
110
110
|
"url": "https://github.com/eps1lon",
|
|
111
111
|
"githubUsername": "eps1lon"
|
|
112
112
|
},
|
|
113
|
+
{
|
|
114
|
+
"name": "Seth Westphal",
|
|
115
|
+
"url": "https://github.com/westy92",
|
|
116
|
+
"githubUsername": "westy92"
|
|
117
|
+
},
|
|
113
118
|
{
|
|
114
119
|
"name": "Simon Schick",
|
|
115
120
|
"url": "https://github.com/SimonSchick",
|
|
@@ -155,11 +160,6 @@
|
|
|
155
160
|
"url": "https://github.com/trivikr",
|
|
156
161
|
"githubUsername": "trivikr"
|
|
157
162
|
},
|
|
158
|
-
{
|
|
159
|
-
"name": "Minh Son Nguyen",
|
|
160
|
-
"url": "https://github.com/nguymin4",
|
|
161
|
-
"githubUsername": "nguymin4"
|
|
162
|
-
},
|
|
163
163
|
{
|
|
164
164
|
"name": "Junxiao Shi",
|
|
165
165
|
"url": "https://github.com/yoursunny",
|
|
@@ -190,11 +190,6 @@
|
|
|
190
190
|
"url": "https://github.com/addaleax",
|
|
191
191
|
"githubUsername": "addaleax"
|
|
192
192
|
},
|
|
193
|
-
{
|
|
194
|
-
"name": "Jason Kwok",
|
|
195
|
-
"url": "https://github.com/JasonHK",
|
|
196
|
-
"githubUsername": "JasonHK"
|
|
197
|
-
},
|
|
198
193
|
{
|
|
199
194
|
"name": "Victor Perin",
|
|
200
195
|
"url": "https://github.com/victorperin",
|
|
@@ -214,6 +209,11 @@
|
|
|
214
209
|
"name": "Linus Unnebäck",
|
|
215
210
|
"url": "https://github.com/LinusU",
|
|
216
211
|
"githubUsername": "LinusU"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "wafuwafu13",
|
|
215
|
+
"url": "https://github.com/wafuwafu13",
|
|
216
|
+
"githubUsername": "wafuwafu13"
|
|
217
217
|
}
|
|
218
218
|
],
|
|
219
219
|
"main": "",
|
|
@@ -225,6 +225,6 @@
|
|
|
225
225
|
},
|
|
226
226
|
"scripts": {},
|
|
227
227
|
"dependencies": {},
|
|
228
|
-
"typesPublisherContentHash": "
|
|
229
|
-
"typeScriptVersion": "3.
|
|
228
|
+
"typesPublisherContentHash": "66478bcf856b451a83d797fa3c4495aeb7e18e217db90d6545b2711843bfe71c",
|
|
229
|
+
"typeScriptVersion": "3.8"
|
|
230
230
|
}
|
|
@@ -13,7 +13,7 @@ declare module 'path/win32' {
|
|
|
13
13
|
* ```js
|
|
14
14
|
* const path = require('path');
|
|
15
15
|
* ```
|
|
16
|
-
* @see [source](https://github.com/nodejs/node/blob/v16.
|
|
16
|
+
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/path.js)
|
|
17
17
|
*/
|
|
18
18
|
declare module 'path' {
|
|
19
19
|
namespace path {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This module provides an implementation of a subset of the W3C[Web Performance APIs](https://w3c.github.io/perf-timing-primer/) as well as additional APIs for
|
|
2
|
+
* This module provides an implementation of a subset of the W3C [Web Performance APIs](https://w3c.github.io/perf-timing-primer/) as well as additional APIs for
|
|
3
3
|
* Node.js-specific performance measurements.
|
|
4
4
|
*
|
|
5
5
|
* Node.js supports the following [Web Performance APIs](https://w3c.github.io/perf-timing-primer/):
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
* performance.measure('A to B', 'A', 'B');
|
|
27
27
|
* });
|
|
28
28
|
* ```
|
|
29
|
-
* @see [source](https://github.com/nodejs/node/blob/v16.
|
|
29
|
+
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/perf_hooks.js)
|
|
30
30
|
*/
|
|
31
31
|
declare module 'perf_hooks' {
|
|
32
32
|
import { AsyncResource } from 'node:async_hooks';
|
|
@@ -84,7 +84,7 @@ declare module 'perf_hooks' {
|
|
|
84
84
|
* Additional detail specific to the `entryType`.
|
|
85
85
|
* @since v16.0.0
|
|
86
86
|
*/
|
|
87
|
-
readonly
|
|
87
|
+
readonly detail?: NodeGCPerformanceDetail | unknown | undefined; // TODO: Narrow this based on entry type.
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
90
90
|
* _This property is an extension by Node.js. It is not available in Web browsers._
|
|
@@ -94,7 +94,11 @@ declare module 'process' {
|
|
|
94
94
|
type ExitListener = (code: number) => void;
|
|
95
95
|
type RejectionHandledListener = (promise: Promise<unknown>) => void;
|
|
96
96
|
type UncaughtExceptionListener = (error: Error, origin: UncaughtExceptionOrigin) => void;
|
|
97
|
-
|
|
97
|
+
/**
|
|
98
|
+
* Most of the time the unhandledRejection will be an Error, but this should not be relied upon
|
|
99
|
+
* as *anything* can be thrown/rejected, it is therefore unsafe to assume the the value is an Error.
|
|
100
|
+
*/
|
|
101
|
+
type UnhandledRejectionListener = (reason: unknown, promise: Promise<unknown>) => void;
|
|
98
102
|
type WarningListener = (warning: Error) => void;
|
|
99
103
|
type MessageListener = (message: unknown, sendHandle: unknown) => void;
|
|
100
104
|
type SignalsListener = (signal: Signals) => void;
|
|
@@ -639,7 +643,7 @@ declare module 'process' {
|
|
|
639
643
|
*/
|
|
640
644
|
getgid(): number;
|
|
641
645
|
/**
|
|
642
|
-
* The `process.setgid()` method sets the group identity of the process. (See[`setgid(2)`](http://man7.org/linux/man-pages/man2/setgid.2.html).) The `id` can be passed as either a
|
|
646
|
+
* The `process.setgid()` method sets the group identity of the process. (See [`setgid(2)`](http://man7.org/linux/man-pages/man2/setgid.2.html).) The `id` can be passed as either a
|
|
643
647
|
* numeric ID or a group name
|
|
644
648
|
* string. If a group name is specified, this method blocks while resolving the
|
|
645
649
|
* associated numeric ID.
|
|
@@ -683,7 +687,7 @@ declare module 'process' {
|
|
|
683
687
|
*/
|
|
684
688
|
getuid(): number;
|
|
685
689
|
/**
|
|
686
|
-
* The `process.setuid(id)` method sets the user identity of the process. (See[`setuid(2)`](http://man7.org/linux/man-pages/man2/setuid.2.html).) The `id` can be passed as either a
|
|
690
|
+
* The `process.setuid(id)` method sets the user identity of the process. (See [`setuid(2)`](http://man7.org/linux/man-pages/man2/setuid.2.html).) The `id` can be passed as either a
|
|
687
691
|
* numeric ID or a username string.
|
|
688
692
|
* If a username is specified, the method blocks while resolving the associated
|
|
689
693
|
* numeric ID.
|
|
@@ -1067,7 +1071,7 @@ declare module 'process' {
|
|
|
1067
1071
|
* ```
|
|
1068
1072
|
*
|
|
1069
1073
|
* The value `'android'` may also be returned if the Node.js is built on the
|
|
1070
|
-
* Android operating system. However, Android support in Node.js[is experimental](https://github.com/nodejs/node/blob/HEAD/BUILDING.md#androidandroid-based-devices-eg-firefox-os).
|
|
1074
|
+
* Android operating system. However, Android support in Node.js [is experimental](https://github.com/nodejs/node/blob/HEAD/BUILDING.md#androidandroid-based-devices-eg-firefox-os).
|
|
1071
1075
|
* @since v0.1.16
|
|
1072
1076
|
*/
|
|
1073
1077
|
readonly platform: Platform;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* made available to developers as a convenience. Fixes or other modifications to
|
|
25
25
|
* the module must be directed to the [Punycode.js](https://github.com/bestiejs/punycode.js) project.
|
|
26
26
|
* @deprecated Since v7.0.0 - Deprecated
|
|
27
|
-
* @see [source](https://github.com/nodejs/node/blob/v16.
|
|
27
|
+
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/punycode.js)
|
|
28
28
|
*/
|
|
29
29
|
declare module 'punycode' {
|
|
30
30
|
/**
|
|
@@ -39,7 +39,7 @@ declare module 'punycode' {
|
|
|
39
39
|
*/
|
|
40
40
|
function decode(string: string): string;
|
|
41
41
|
/**
|
|
42
|
-
* The `punycode.encode()` method converts a string of Unicode codepoints to a[Punycode](https://tools.ietf.org/html/rfc3492) string of ASCII-only characters.
|
|
42
|
+
* The `punycode.encode()` method converts a string of Unicode codepoints to a [Punycode](https://tools.ietf.org/html/rfc3492) string of ASCII-only characters.
|
|
43
43
|
*
|
|
44
44
|
* ```js
|
|
45
45
|
* punycode.encode('mañana'); // 'maana-pta'
|
|
@@ -50,7 +50,7 @@ declare module 'punycode' {
|
|
|
50
50
|
function encode(string: string): string;
|
|
51
51
|
/**
|
|
52
52
|
* The `punycode.toUnicode()` method converts a string representing a domain name
|
|
53
|
-
* containing [Punycode](https://tools.ietf.org/html/rfc3492) encoded characters into Unicode. Only the [Punycode](https://tools.ietf.org/html/rfc3492)encoded parts of the domain name are be
|
|
53
|
+
* containing [Punycode](https://tools.ietf.org/html/rfc3492) encoded characters into Unicode. Only the [Punycode](https://tools.ietf.org/html/rfc3492) encoded parts of the domain name are be
|
|
54
54
|
* converted.
|
|
55
55
|
*
|
|
56
56
|
* ```js
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* The `querystring` API is considered Legacy. While it is still maintained,
|
|
10
10
|
* new code should use the `URLSearchParams` API instead.
|
|
11
11
|
* @deprecated Legacy
|
|
12
|
-
* @see [source](https://github.com/nodejs/node/blob/v16.
|
|
12
|
+
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/querystring.js)
|
|
13
13
|
*/
|
|
14
14
|
declare module 'querystring' {
|
|
15
15
|
interface StringifyOptions {
|
|
@@ -25,14 +25,14 @@ declare module 'querystring' {
|
|
|
25
25
|
* The `querystring.stringify()` method produces a URL query string from a
|
|
26
26
|
* given `obj` by iterating through the object's "own properties".
|
|
27
27
|
*
|
|
28
|
-
* It serializes the following types of values passed in `obj`:[
|
|
29
|
-
* [
|
|
30
|
-
* [
|
|
31
|
-
* [
|
|
32
|
-
* [
|
|
33
|
-
* [
|
|
34
|
-
* [
|
|
35
|
-
* [
|
|
28
|
+
* It serializes the following types of values passed in `obj`:[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) |
|
|
29
|
+
* [number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) |
|
|
30
|
+
* [bigint](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) |
|
|
31
|
+
* [boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) |
|
|
32
|
+
* [string\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) |
|
|
33
|
+
* [number\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) |
|
|
34
|
+
* [bigint\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) |
|
|
35
|
+
* [boolean\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) The numeric values must be finite. Any other input values will be coerced to
|
|
36
36
|
* empty strings.
|
|
37
37
|
*
|
|
38
38
|
* ```js
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
*
|
|
27
27
|
* Once this code is invoked, the Node.js application will not terminate until the`readline.Interface` is closed because the interface waits for data to be
|
|
28
28
|
* received on the `input` stream.
|
|
29
|
-
* @see [source](https://github.com/nodejs/node/blob/v16.
|
|
29
|
+
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/readline.js)
|
|
30
30
|
*/
|
|
31
31
|
declare module 'readline' {
|
|
32
32
|
import { Abortable, EventEmitter } from 'node:events';
|
|
@@ -236,6 +236,7 @@ declare module 'readline' {
|
|
|
236
236
|
* @since v0.1.98
|
|
237
237
|
*/
|
|
238
238
|
write(data: string | Buffer, key?: Key): void;
|
|
239
|
+
write(data: undefined | null | string | Buffer, key: Key): void;
|
|
239
240
|
/**
|
|
240
241
|
* Returns the real position of the cursor in relation to the input
|
|
241
242
|
* prompt + string. Long input (wrapping) strings, as well as multiple
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* ```js
|
|
7
7
|
* const repl = require('repl');
|
|
8
8
|
* ```
|
|
9
|
-
* @see [source](https://github.com/nodejs/node/blob/v16.
|
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/repl.js)
|
|
10
10
|
*/
|
|
11
11
|
declare module 'repl' {
|
|
12
12
|
import { Interface, Completer, AsyncCompleter } from 'node:readline';
|