cloudstructs 0.9.4 → 0.9.6
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/.jsii +3 -3
- package/assets/slack-app/provider.lambda/index.js +46 -96
- package/assets/slack-events/events.lambda/index.js +4 -8
- package/assets/slack-textract/detect.lambda/index.js +140 -281
- package/assets/ssl-server-test/analyze.lambda/index.js +46 -96
- package/assets/static-website/origin-request.edge-lambda/index.js +1 -2
- package/assets/url-shortener/shortener.lambda/index.js +1 -2
- package/lib/codecommit-mirror/index.js +2 -2
- package/lib/dmarc/index.js +1 -1
- package/lib/ecs-service-roller/index.js +2 -2
- package/lib/email-receiver/receiver.js +1 -1
- package/lib/saml-identity-provider/index.js +2 -2
- package/lib/slack-app/manifest.js +1 -1
- package/lib/slack-app/slack-app.js +2 -2
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-textract/index.js +1 -1
- package/lib/ssl-server-test/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/static-website/index.js +1 -1
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +88 -44
- package/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +17 -15
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +7 -7
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +1 -1
- 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 +64 -27
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +38 -3
- package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +13 -13
- package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +29 -37
- package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +12 -12
- package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +37 -37
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +83 -47
- 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 +1 -0
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +50 -8
- package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +28 -11
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
- 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 +214 -43
- package/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +18 -6
- package/node_modules/@slack/logger/node_modules/@types/node/readline/promises.d.ts +9 -9
- package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +21 -20
- package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +7 -7
- package/node_modules/@slack/logger/node_modules/@types/node/sea.d.ts +153 -0
- package/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +8 -6
- package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +28 -23
- package/node_modules/@slack/logger/node_modules/@types/node/timers/promises.d.ts +10 -6
- package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +5 -5
- package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +39 -32
- package/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +40 -25
- package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +8 -8
- package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +5 -5
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +115 -22
- package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +6 -6
- package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +35 -17
- package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +16 -16
- package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +16 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +88 -44
- package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +17 -15
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +7 -7
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +1 -1
- 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 +64 -27
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +38 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +13 -13
- package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +29 -37
- package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +12 -12
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +37 -37
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +83 -47
- 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 +1 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +50 -8
- package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +28 -11
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
- 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 +214 -43
- package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +18 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/readline/promises.d.ts +9 -9
- package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +21 -20
- package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +7 -7
- package/node_modules/@slack/web-api/node_modules/@types/node/sea.d.ts +153 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +8 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +28 -23
- package/node_modules/@slack/web-api/node_modules/@types/node/timers/promises.d.ts +10 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +5 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +39 -32
- package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +40 -25
- package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +8 -8
- package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +5 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +115 -22
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +6 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +35 -17
- package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +16 -16
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +16 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +88 -44
- package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +17 -15
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +7 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +1 -1
- 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 +64 -27
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +38 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +13 -13
- package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +29 -37
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +12 -12
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +37 -37
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +83 -47
- 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 +1 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +50 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +28 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
- 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 +214 -43
- package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +18 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/readline/promises.d.ts +9 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +21 -20
- package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +7 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/sea.d.ts +153 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +8 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +28 -23
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +10 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +5 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +39 -32
- package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +40 -25
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +8 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +5 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +115 -22
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +6 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +35 -17
- package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +16 -16
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +16 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/assert.d.ts +88 -44
- package/node_modules/@types/is-stream/node_modules/@types/node/async_hooks.d.ts +17 -15
- package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +7 -7
- package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +1 -1
- 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 +64 -27
- package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +38 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/dgram.d.ts +13 -13
- package/node_modules/@types/is-stream/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/dns.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/events.d.ts +29 -37
- package/node_modules/@types/is-stream/node_modules/@types/node/fs/promises.d.ts +12 -12
- package/node_modules/@types/is-stream/node_modules/@types/node/fs.d.ts +37 -37
- package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +4 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/http2.d.ts +83 -47
- 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 +1 -0
- package/node_modules/@types/is-stream/node_modules/@types/node/inspector.d.ts +4 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +50 -8
- package/node_modules/@types/is-stream/node_modules/@types/node/os.d.ts +28 -11
- package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
- 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 +214 -43
- package/node_modules/@types/is-stream/node_modules/@types/node/punycode.d.ts +4 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/querystring.d.ts +18 -6
- package/node_modules/@types/is-stream/node_modules/@types/node/readline/promises.d.ts +9 -9
- package/node_modules/@types/is-stream/node_modules/@types/node/readline.d.ts +21 -20
- package/node_modules/@types/is-stream/node_modules/@types/node/repl.d.ts +7 -7
- package/node_modules/@types/is-stream/node_modules/@types/node/sea.d.ts +153 -0
- package/node_modules/@types/is-stream/node_modules/@types/node/stream/web.d.ts +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +8 -6
- package/node_modules/@types/is-stream/node_modules/@types/node/string_decoder.d.ts +3 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/test.d.ts +28 -23
- package/node_modules/@types/is-stream/node_modules/@types/node/timers/promises.d.ts +10 -6
- package/node_modules/@types/is-stream/node_modules/@types/node/timers.d.ts +5 -5
- package/node_modules/@types/is-stream/node_modules/@types/node/tls.d.ts +39 -32
- package/node_modules/@types/is-stream/node_modules/@types/node/trace_events.d.ts +40 -25
- package/node_modules/@types/is-stream/node_modules/@types/node/tty.d.ts +8 -8
- package/node_modules/@types/is-stream/node_modules/@types/node/url.d.ts +5 -5
- package/node_modules/@types/is-stream/node_modules/@types/node/util.d.ts +115 -22
- package/node_modules/@types/is-stream/node_modules/@types/node/v8.d.ts +6 -6
- package/node_modules/@types/is-stream/node_modules/@types/node/vm.d.ts +35 -17
- package/node_modules/@types/is-stream/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/worker_threads.d.ts +16 -16
- package/node_modules/@types/is-stream/node_modules/@types/node/zlib.d.ts +16 -3
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +88 -44
- package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +17 -15
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +7 -7
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +1 -1
- 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 +64 -27
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +38 -3
- package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +13 -13
- package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +29 -37
- package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +12 -12
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +37 -37
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +83 -47
- 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 +1 -0
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +50 -8
- package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +28 -11
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
- 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 +214 -43
- package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +18 -6
- package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +9 -9
- package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +21 -20
- package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +7 -7
- package/node_modules/@types/keyv/node_modules/@types/node/sea.d.ts +153 -0
- package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +8 -6
- package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +28 -23
- package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +10 -6
- package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +5 -5
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +39 -32
- package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +40 -25
- package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +8 -8
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +5 -5
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +115 -22
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +6 -6
- package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +35 -17
- package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +16 -16
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +16 -3
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +88 -44
- package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +17 -15
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +7 -7
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +1 -1
- 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 +64 -27
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +38 -3
- package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +13 -13
- package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +29 -37
- package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +12 -12
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +37 -37
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +83 -47
- 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 +1 -0
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +50 -8
- package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +28 -11
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
- 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 +214 -43
- package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +18 -6
- package/node_modules/@types/responselike/node_modules/@types/node/readline/promises.d.ts +9 -9
- package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +21 -20
- package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +7 -7
- package/node_modules/@types/responselike/node_modules/@types/node/sea.d.ts +153 -0
- package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +8 -6
- package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +28 -23
- package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +10 -6
- package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +5 -5
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +39 -32
- package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +40 -25
- package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +8 -8
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +5 -5
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +115 -22
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +6 -6
- package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +35 -17
- package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +16 -16
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +16 -3
- package/package.json +18 -18
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
* // Creates a Buffer containing the Latin-1 bytes [0x74, 0xe9, 0x73, 0x74].
|
|
42
42
|
* const buf7 = Buffer.from('tést', 'latin1');
|
|
43
43
|
* ```
|
|
44
|
-
* @see [source](https://github.com/nodejs/node/blob/v20.2
|
|
44
|
+
* @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/buffer.js)
|
|
45
45
|
*/
|
|
46
46
|
declare module "buffer" {
|
|
47
47
|
import { BinaryLike } from "node:crypto";
|
|
@@ -311,12 +311,12 @@ declare module "buffer" {
|
|
|
311
311
|
*
|
|
312
312
|
* If `array` is an `Array`\-like object (that is, one with a `length` property of
|
|
313
313
|
* type `number`), it is treated as if it is an array, unless it is a `Buffer` or
|
|
314
|
-
* a `Uint8Array`. This means all other `TypedArray` variants get treated as an`Array`. To create a `Buffer` from the bytes backing a `TypedArray`, use `Buffer.copyBytesFrom()`.
|
|
314
|
+
* a `Uint8Array`. This means all other `TypedArray` variants get treated as an `Array`. To create a `Buffer` from the bytes backing a `TypedArray`, use `Buffer.copyBytesFrom()`.
|
|
315
315
|
*
|
|
316
316
|
* A `TypeError` will be thrown if `array` is not an `Array` or another type
|
|
317
317
|
* appropriate for `Buffer.from()` variants.
|
|
318
318
|
*
|
|
319
|
-
* `Buffer.from(array)` and `Buffer.from(string)` may also use the internal`Buffer` pool like `Buffer.allocUnsafe()` does.
|
|
319
|
+
* `Buffer.from(array)` and `Buffer.from(string)` may also use the internal `Buffer` pool like `Buffer.allocUnsafe()` does.
|
|
320
320
|
* @since v5.10.0
|
|
321
321
|
*/
|
|
322
322
|
from(
|
|
@@ -420,9 +420,9 @@ declare module "buffer" {
|
|
|
420
420
|
encoding?: BufferEncoding,
|
|
421
421
|
): number;
|
|
422
422
|
/**
|
|
423
|
-
* Returns a new `Buffer` which is the result of concatenating all the `Buffer`instances in the `list` together.
|
|
423
|
+
* Returns a new `Buffer` which is the result of concatenating all the `Buffer` instances in the `list` together.
|
|
424
424
|
*
|
|
425
|
-
* If the list has no items, or if the `totalLength` is 0, then a new zero-length`Buffer` is returned.
|
|
425
|
+
* If the list has no items, or if the `totalLength` is 0, then a new zero-length `Buffer` is returned.
|
|
426
426
|
*
|
|
427
427
|
* If `totalLength` is not provided, it is calculated from the `Buffer` instances
|
|
428
428
|
* in `list` by adding their lengths.
|
|
@@ -476,7 +476,7 @@ declare module "buffer" {
|
|
|
476
476
|
*/
|
|
477
477
|
copyBytesFrom(view: NodeJS.TypedArray, offset?: number, length?: number): Buffer;
|
|
478
478
|
/**
|
|
479
|
-
* Compares `buf1` to `buf2`, typically for the purpose of sorting arrays of`Buffer` instances. This is equivalent to calling `buf1.compare(buf2)`.
|
|
479
|
+
* Compares `buf1` to `buf2`, typically for the purpose of sorting arrays of `Buffer` instances. This is equivalent to calling `buf1.compare(buf2)`.
|
|
480
480
|
*
|
|
481
481
|
* ```js
|
|
482
482
|
* import { Buffer } from 'node:buffer';
|
|
@@ -2098,7 +2098,7 @@ declare module "buffer" {
|
|
|
2098
2098
|
* // Prints: 6
|
|
2099
2099
|
* ```
|
|
2100
2100
|
*
|
|
2101
|
-
* If `value` is not a string, number, or `Buffer`, this method will throw a`TypeError`. If `value` is a number, it will be coerced to a valid byte value,
|
|
2101
|
+
* If `value` is not a string, number, or `Buffer`, this method will throw a `TypeError`. If `value` is a number, it will be coerced to a valid byte value,
|
|
2102
2102
|
* an integer between 0 and 255.
|
|
2103
2103
|
*
|
|
2104
2104
|
* If `byteOffset` is not a number, it will be coerced to a number. If the result
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
* For certain use cases, such as automating shell scripts, the `synchronous counterparts` may be more convenient. In many cases, however,
|
|
64
64
|
* the synchronous methods can have significant impact on performance due to
|
|
65
65
|
* stalling the event loop while spawned processes complete.
|
|
66
|
-
* @see [source](https://github.com/nodejs/node/blob/v20.2
|
|
66
|
+
* @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/child_process.js)
|
|
67
67
|
*/
|
|
68
68
|
declare module "child_process" {
|
|
69
69
|
import { ObjectEncodingOptions } from "node:fs";
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
* ```
|
|
51
51
|
*
|
|
52
52
|
* On Windows, it is not yet possible to set up a named pipe server in a worker.
|
|
53
|
-
* @see [source](https://github.com/nodejs/node/blob/v20.
|
|
53
|
+
* @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/cluster.js)
|
|
54
54
|
*/
|
|
55
55
|
declare module "cluster" {
|
|
56
56
|
import * as child from "node:child_process";
|
|
@@ -4,12 +4,13 @@
|
|
|
4
4
|
*
|
|
5
5
|
* The module exports two specific components:
|
|
6
6
|
*
|
|
7
|
-
* * A `Console` class with methods such as `console.log()`, `console.error()`, and`console.warn()` that can be used to write to any Node.js stream.
|
|
8
|
-
* * A global `console` instance configured to write to `process.stdout`
|
|
7
|
+
* * A `Console` class with methods such as `console.log()`, `console.error()`, and `console.warn()` that can be used to write to any Node.js stream.
|
|
8
|
+
* * A global `console` instance configured to write to [`process.stdout`](https://nodejs.org/docs/latest-v20.x/api/process.html#processstdout) and
|
|
9
|
+
* [`process.stderr`](https://nodejs.org/docs/latest-v20.x/api/process.html#processstderr). The global `console` can be used without calling `require('node:console')`.
|
|
9
10
|
*
|
|
10
11
|
* _**Warning**_: The global console object's methods are neither consistently
|
|
11
12
|
* synchronous like the browser APIs they resemble, nor are they consistently
|
|
12
|
-
* asynchronous like all other Node.js streams. See the `note on process I/O` for
|
|
13
|
+
* asynchronous like all other Node.js streams. See the [`note on process I/O`](https://nodejs.org/docs/latest-v20.x/api/process.html#a-note-on-process-io) for
|
|
13
14
|
* more information.
|
|
14
15
|
*
|
|
15
16
|
* Example using the global `console`:
|
|
@@ -53,7 +54,7 @@
|
|
|
53
54
|
* myConsole.warn(`Danger ${name}! Danger!`);
|
|
54
55
|
* // Prints: Danger Will Robinson! Danger!, to err
|
|
55
56
|
* ```
|
|
56
|
-
* @see [source](https://github.com/nodejs/node/blob/v20.2
|
|
57
|
+
* @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/console.js)
|
|
57
58
|
*/
|
|
58
59
|
declare module "console" {
|
|
59
60
|
import console = require("node:console");
|
|
@@ -68,7 +69,8 @@ declare module "node:console" {
|
|
|
68
69
|
/**
|
|
69
70
|
* `console.assert()` writes a message if `value` is [falsy](https://developer.mozilla.org/en-US/docs/Glossary/Falsy) or omitted. It only
|
|
70
71
|
* writes a message and does not otherwise affect execution. The output always
|
|
71
|
-
* starts with `"Assertion failed"`. If provided, `message` is formatted using
|
|
72
|
+
* starts with `"Assertion failed"`. If provided, `message` is formatted using
|
|
73
|
+
* [`util.format()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilformatformat-args).
|
|
72
74
|
*
|
|
73
75
|
* If `value` is [truthy](https://developer.mozilla.org/en-US/docs/Glossary/Truthy), nothing happens.
|
|
74
76
|
*
|
|
@@ -91,7 +93,7 @@ declare module "node:console" {
|
|
|
91
93
|
* TTY. When `stdout` is not a TTY, this method does nothing.
|
|
92
94
|
*
|
|
93
95
|
* The specific operation of `console.clear()` can vary across operating systems
|
|
94
|
-
* and terminal types. For most Linux operating systems, `console.clear()`operates similarly to the `clear` shell command. On Windows, `console.clear()`will clear only the output in the
|
|
96
|
+
* and terminal types. For most Linux operating systems, `console.clear()` operates similarly to the `clear` shell command. On Windows, `console.clear()` will clear only the output in the
|
|
95
97
|
* current terminal viewport for the Node.js
|
|
96
98
|
* binary.
|
|
97
99
|
* @since v8.3.0
|
|
@@ -150,7 +152,7 @@ declare module "node:console" {
|
|
|
150
152
|
*/
|
|
151
153
|
debug(message?: any, ...optionalParams: any[]): void;
|
|
152
154
|
/**
|
|
153
|
-
* Uses `util.inspect()` on `obj` and prints the resulting string to `stdout`.
|
|
155
|
+
* Uses [`util.inspect()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilinspectobject-options) on `obj` and prints the resulting string to `stdout`.
|
|
154
156
|
* This function bypasses any custom `inspect()` function defined on `obj`.
|
|
155
157
|
* @since v0.1.101
|
|
156
158
|
*/
|
|
@@ -164,7 +166,8 @@ declare module "node:console" {
|
|
|
164
166
|
/**
|
|
165
167
|
* Prints to `stderr` with newline. Multiple arguments can be passed, with the
|
|
166
168
|
* first used as the primary message and all additional used as substitution
|
|
167
|
-
* values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html)
|
|
169
|
+
* values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html)
|
|
170
|
+
* (the arguments are all passed to [`util.format()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilformatformat-args)).
|
|
168
171
|
*
|
|
169
172
|
* ```js
|
|
170
173
|
* const code = 5;
|
|
@@ -174,13 +177,15 @@ declare module "node:console" {
|
|
|
174
177
|
* // Prints: error 5, to stderr
|
|
175
178
|
* ```
|
|
176
179
|
*
|
|
177
|
-
* If formatting elements (e.g. `%d`) are not found in the first string then
|
|
178
|
-
*
|
|
180
|
+
* If formatting elements (e.g. `%d`) are not found in the first string then
|
|
181
|
+
* [`util.inspect()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilinspectobject-options) is called on each argument and the
|
|
182
|
+
* resulting string values are concatenated. See [`util.format()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilformatformat-args)
|
|
183
|
+
* for more information.
|
|
179
184
|
* @since v0.1.100
|
|
180
185
|
*/
|
|
181
186
|
error(message?: any, ...optionalParams: any[]): void;
|
|
182
187
|
/**
|
|
183
|
-
* Increases indentation of subsequent lines by spaces for `groupIndentation`length.
|
|
188
|
+
* Increases indentation of subsequent lines by spaces for `groupIndentation` length.
|
|
184
189
|
*
|
|
185
190
|
* If one or more `label`s are provided, those are printed first without the
|
|
186
191
|
* additional indentation.
|
|
@@ -193,7 +198,7 @@ declare module "node:console" {
|
|
|
193
198
|
*/
|
|
194
199
|
groupCollapsed(...label: any[]): void;
|
|
195
200
|
/**
|
|
196
|
-
* Decreases indentation of subsequent lines by spaces for `groupIndentation`length.
|
|
201
|
+
* Decreases indentation of subsequent lines by spaces for `groupIndentation` length.
|
|
197
202
|
* @since v8.5.0
|
|
198
203
|
*/
|
|
199
204
|
groupEnd(): void;
|
|
@@ -205,7 +210,8 @@ declare module "node:console" {
|
|
|
205
210
|
/**
|
|
206
211
|
* Prints to `stdout` with newline. Multiple arguments can be passed, with the
|
|
207
212
|
* first used as the primary message and all additional used as substitution
|
|
208
|
-
* values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html)
|
|
213
|
+
* values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html)
|
|
214
|
+
* (the arguments are all passed to [`util.format()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilformatformat-args)).
|
|
209
215
|
*
|
|
210
216
|
* ```js
|
|
211
217
|
* const count = 5;
|
|
@@ -215,12 +221,12 @@ declare module "node:console" {
|
|
|
215
221
|
* // Prints: count: 5, to stdout
|
|
216
222
|
* ```
|
|
217
223
|
*
|
|
218
|
-
* See `util.format()` for more information.
|
|
224
|
+
* See [`util.format()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilformatformat-args) for more information.
|
|
219
225
|
* @since v0.1.100
|
|
220
226
|
*/
|
|
221
227
|
log(message?: any, ...optionalParams: any[]): void;
|
|
222
228
|
/**
|
|
223
|
-
* Try to construct a table with the columns of the properties of `tabularData`(or use `properties`) and rows of `tabularData` and log it. Falls back to just
|
|
229
|
+
* Try to construct a table with the columns of the properties of `tabularData` (or use `properties`) and rows of `tabularData` and log it. Falls back to just
|
|
224
230
|
* logging the argument if it can't be parsed as tabular.
|
|
225
231
|
*
|
|
226
232
|
* ```js
|
|
@@ -291,7 +297,8 @@ declare module "node:console" {
|
|
|
291
297
|
*/
|
|
292
298
|
timeLog(label?: string, ...data: any[]): void;
|
|
293
299
|
/**
|
|
294
|
-
* Prints to `stderr` the string `'Trace: '`, followed by the `util.format()`
|
|
300
|
+
* Prints to `stderr` the string `'Trace: '`, followed by the [`util.format()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilformatformat-args)
|
|
301
|
+
* formatted message and stack trace to the current position in the code.
|
|
295
302
|
*
|
|
296
303
|
* ```js
|
|
297
304
|
* console.trace('Show me');
|
|
@@ -318,18 +325,32 @@ declare module "node:console" {
|
|
|
318
325
|
warn(message?: any, ...optionalParams: any[]): void;
|
|
319
326
|
// --- Inspector mode only ---
|
|
320
327
|
/**
|
|
321
|
-
* This method does not display anything unless used in the inspector.
|
|
322
|
-
*
|
|
328
|
+
* This method does not display anything unless used in the inspector. The `console.profile()`
|
|
329
|
+
* method starts a JavaScript CPU profile with an optional label until {@link profileEnd}
|
|
330
|
+
* is called. The profile is then added to the Profile panel of the inspector.
|
|
331
|
+
*
|
|
332
|
+
* ```js
|
|
333
|
+
* console.profile('MyLabel');
|
|
334
|
+
* // Some code
|
|
335
|
+
* console.profileEnd('MyLabel');
|
|
336
|
+
* // Adds the profile 'MyLabel' to the Profiles panel of the inspector.
|
|
337
|
+
* ```
|
|
338
|
+
* @since v8.0.0
|
|
323
339
|
*/
|
|
324
340
|
profile(label?: string): void;
|
|
325
341
|
/**
|
|
326
|
-
* This method does not display anything unless used in the inspector.
|
|
327
|
-
*
|
|
342
|
+
* This method does not display anything unless used in the inspector. Stops the current
|
|
343
|
+
* JavaScript CPU profiling session if one has been started and prints the report to the
|
|
344
|
+
* Profiles panel of the inspector. See {@link profile} for an example.
|
|
345
|
+
*
|
|
346
|
+
* If this method is called without a label, the most recently started profile is stopped.
|
|
347
|
+
* @since v8.0.0
|
|
328
348
|
*/
|
|
329
349
|
profileEnd(label?: string): void;
|
|
330
350
|
/**
|
|
331
|
-
* This method does not display anything unless used in the inspector.
|
|
332
|
-
*
|
|
351
|
+
* This method does not display anything unless used in the inspector. The `console.timeStamp()`
|
|
352
|
+
* method adds an event with the label `'label'` to the Timeline panel of the inspector.
|
|
353
|
+
* @since v8.0.0
|
|
333
354
|
*/
|
|
334
355
|
timeStamp(label?: string): void;
|
|
335
356
|
}
|
|
@@ -339,12 +360,13 @@ declare module "node:console" {
|
|
|
339
360
|
*
|
|
340
361
|
* The module exports two specific components:
|
|
341
362
|
*
|
|
342
|
-
* * A `Console` class with methods such as `console.log()`, `console.error()` and`console.warn()` that can be used to write to any Node.js stream.
|
|
343
|
-
* * A global `console` instance configured to write to `process.stdout`
|
|
363
|
+
* * A `Console` class with methods such as `console.log()`, `console.error()` and `console.warn()` that can be used to write to any Node.js stream.
|
|
364
|
+
* * A global `console` instance configured to write to [`process.stdout`](https://nodejs.org/docs/latest-v20.x/api/process.html#processstdout) and
|
|
365
|
+
* [`process.stderr`](https://nodejs.org/docs/latest-v20.x/api/process.html#processstderr). The global `console` can be used without calling `require('console')`.
|
|
344
366
|
*
|
|
345
367
|
* _**Warning**_: The global console object's methods are neither consistently
|
|
346
368
|
* synchronous like the browser APIs they resemble, nor are they consistently
|
|
347
|
-
* asynchronous like all other Node.js streams. See the `note on process I/O` for
|
|
369
|
+
* asynchronous like all other Node.js streams. See the [`note on process I/O`](https://nodejs.org/docs/latest-v20.x/api/process.html#a-note-on-process-io) for
|
|
348
370
|
* more information.
|
|
349
371
|
*
|
|
350
372
|
* Example using the global `console`:
|
|
@@ -388,17 +410,32 @@ declare module "node:console" {
|
|
|
388
410
|
* myConsole.warn(`Danger ${name}! Danger!`);
|
|
389
411
|
* // Prints: Danger Will Robinson! Danger!, to err
|
|
390
412
|
* ```
|
|
391
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
413
|
+
* @see [source](https://github.com/nodejs/node/blob/v20.11.1/lib/console.js)
|
|
392
414
|
*/
|
|
393
415
|
namespace console {
|
|
394
416
|
interface ConsoleConstructorOptions {
|
|
395
417
|
stdout: NodeJS.WritableStream;
|
|
396
418
|
stderr?: NodeJS.WritableStream | undefined;
|
|
419
|
+
/**
|
|
420
|
+
* Ignore errors when writing to the underlying streams.
|
|
421
|
+
* @default true
|
|
422
|
+
*/
|
|
397
423
|
ignoreErrors?: boolean | undefined;
|
|
424
|
+
/**
|
|
425
|
+
* Set color support for this `Console` instance. Setting to true enables coloring while inspecting
|
|
426
|
+
* values. Setting to `false` disables coloring while inspecting values. Setting to `'auto'` makes color
|
|
427
|
+
* support depend on the value of the `isTTY` property and the value returned by `getColorDepth()` on the
|
|
428
|
+
* respective stream. This option can not be used, if `inspectOptions.colors` is set as well.
|
|
429
|
+
* @default auto
|
|
430
|
+
*/
|
|
398
431
|
colorMode?: boolean | "auto" | undefined;
|
|
432
|
+
/**
|
|
433
|
+
* Specifies options that are passed along to
|
|
434
|
+
* [`util.inspect()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilinspectobject-options).
|
|
435
|
+
*/
|
|
399
436
|
inspectOptions?: InspectOptions | undefined;
|
|
400
437
|
/**
|
|
401
|
-
* Set group indentation
|
|
438
|
+
* Set group indentation.
|
|
402
439
|
* @default 2
|
|
403
440
|
*/
|
|
404
441
|
groupIndentation?: number | undefined;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* // Prints:
|
|
15
15
|
* // c0fa1bc00531bd78ef38c628449c5102aeabd49b5dc3a2a516ea6ea959d6658e
|
|
16
16
|
* ```
|
|
17
|
-
* @see [source](https://github.com/nodejs/node/blob/v20.2
|
|
17
|
+
* @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/crypto.js)
|
|
18
18
|
*/
|
|
19
19
|
declare module "crypto" {
|
|
20
20
|
import * as stream from "node:stream";
|
|
@@ -27,7 +27,7 @@ declare module "crypto" {
|
|
|
27
27
|
* should not use this element anymore.
|
|
28
28
|
*
|
|
29
29
|
* The `node:crypto` module provides the `Certificate` class for working with SPKAC
|
|
30
|
-
* data. The most common usage is handling output generated by the HTML5`<keygen>` element. Node.js uses [OpenSSL's SPKAC
|
|
30
|
+
* data. The most common usage is handling output generated by the HTML5 `<keygen>` element. Node.js uses [OpenSSL's SPKAC
|
|
31
31
|
* implementation](https://www.openssl.org/docs/man3.0/man1/openssl-spkac.html) internally.
|
|
32
32
|
* @since v0.11.8
|
|
33
33
|
*/
|
|
@@ -3344,7 +3344,7 @@ declare module "crypto" {
|
|
|
3344
3344
|
callback: (error: Error | null, data: Buffer) => void,
|
|
3345
3345
|
): void;
|
|
3346
3346
|
/**
|
|
3347
|
-
* Verifies the given signature for `data` using the given key and algorithm. If`algorithm` is `null` or `undefined`, then the algorithm is dependent upon the
|
|
3347
|
+
* Verifies the given signature for `data` using the given key and algorithm. If `algorithm` is `null` or `undefined`, then the algorithm is dependent upon the
|
|
3348
3348
|
* key type (especially Ed25519 and Ed448).
|
|
3349
3349
|
*
|
|
3350
3350
|
* If `key` is not a `KeyObject`, this function behaves as if `key` had been
|
|
@@ -3378,6 +3378,41 @@ declare module "crypto" {
|
|
|
3378
3378
|
* @since v13.9.0, v12.17.0
|
|
3379
3379
|
*/
|
|
3380
3380
|
function diffieHellman(options: { privateKey: KeyObject; publicKey: KeyObject }): Buffer;
|
|
3381
|
+
/**
|
|
3382
|
+
* A utility for creating one-shot hash digests of data. It can be faster than the object-based `crypto.createHash()` when hashing a smaller amount of data
|
|
3383
|
+
* (<= 5MB) that's readily available. If the data can be big or if it is streamed, it's still recommended to use `crypto.createHash()` instead. The `algorithm`
|
|
3384
|
+
* is dependent on the available algorithms supported by the version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc. On recent releases
|
|
3385
|
+
* of OpenSSL, `openssl list -digest-algorithms` will display the available digest algorithms.
|
|
3386
|
+
*
|
|
3387
|
+
* Example:
|
|
3388
|
+
*
|
|
3389
|
+
* ```js
|
|
3390
|
+
* const crypto = require('node:crypto');
|
|
3391
|
+
* const { Buffer } = require('node:buffer');
|
|
3392
|
+
*
|
|
3393
|
+
* // Hashing a string and return the result as a hex-encoded string.
|
|
3394
|
+
* const string = 'Node.js';
|
|
3395
|
+
* // 10b3493287f831e81a438811a1ffba01f8cec4b7
|
|
3396
|
+
* console.log(crypto.hash('sha1', string));
|
|
3397
|
+
*
|
|
3398
|
+
* // Encode a base64-encoded string into a Buffer, hash it and return
|
|
3399
|
+
* // the result as a buffer.
|
|
3400
|
+
* const base64 = 'Tm9kZS5qcw==';
|
|
3401
|
+
* // <Buffer 10 b3 49 32 87 f8 31 e8 1a 43 88 11 a1 ff ba 01 f8 ce c4 b7>
|
|
3402
|
+
* console.log(crypto.hash('sha1', Buffer.from(base64, 'base64'), 'buffer'));
|
|
3403
|
+
* ```
|
|
3404
|
+
* @since v21.7.0, v20.12.0
|
|
3405
|
+
* @param data When `data` is a string, it will be encoded as UTF-8 before being hashed. If a different input encoding is desired for a string input, user
|
|
3406
|
+
* could encode the string into a `TypedArray` using either `TextEncoder` or `Buffer.from()` and passing the encoded `TypedArray` into this API instead.
|
|
3407
|
+
* @param [outputEncoding='hex'] [Encoding](https://nodejs.org/docs/latest-v20.x/api/buffer.html#buffers-and-character-encodings) used to encode the returned digest.
|
|
3408
|
+
*/
|
|
3409
|
+
function hash(algorithm: string, data: BinaryLike, outputEncoding?: BinaryToTextEncoding): string;
|
|
3410
|
+
function hash(algorithm: string, data: BinaryLike, outputEncoding: "buffer"): Buffer;
|
|
3411
|
+
function hash(
|
|
3412
|
+
algorithm: string,
|
|
3413
|
+
data: BinaryLike,
|
|
3414
|
+
outputEncoding?: BinaryToTextEncoding | "buffer",
|
|
3415
|
+
): string | Buffer;
|
|
3381
3416
|
type CipherMode = "cbc" | "ccm" | "cfb" | "ctr" | "ecb" | "gcm" | "ocb" | "ofb" | "stream" | "wrap" | "xts";
|
|
3382
3417
|
interface CipherInfoOptions {
|
|
3383
3418
|
/**
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* server.bind(41234);
|
|
24
24
|
* // Prints: server listening 0.0.0.0:41234
|
|
25
25
|
* ```
|
|
26
|
-
* @see [source](https://github.com/nodejs/node/blob/v20.2
|
|
26
|
+
* @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/dgram.js)
|
|
27
27
|
*/
|
|
28
28
|
declare module "dgram" {
|
|
29
29
|
import { AddressInfo } from "node:net";
|
|
@@ -66,7 +66,7 @@ declare module "dgram" {
|
|
|
66
66
|
* (it does the right thing for both `udp4` and `udp6` sockets). The bound address
|
|
67
67
|
* and port can be retrieved using `socket.address().address` and `socket.address().port`.
|
|
68
68
|
*
|
|
69
|
-
* If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.close()` on the socket:
|
|
69
|
+
* If the `signal` option is enabled, calling `.abort()` on the corresponding `AbortController` is similar to calling `.close()` on the socket:
|
|
70
70
|
*
|
|
71
71
|
* ```js
|
|
72
72
|
* const controller = new AbortController();
|
|
@@ -93,7 +93,7 @@ declare module "dgram" {
|
|
|
93
93
|
*/
|
|
94
94
|
class Socket extends EventEmitter {
|
|
95
95
|
/**
|
|
96
|
-
* Tells the kernel to join a multicast group at the given `multicastAddress` and`multicastInterface` using the `IP_ADD_MEMBERSHIP` socket option. If the`multicastInterface` argument is not
|
|
96
|
+
* Tells the kernel to join a multicast group at the given `multicastAddress` and `multicastInterface` using the `IP_ADD_MEMBERSHIP` socket option. If the `multicastInterface` argument is not
|
|
97
97
|
* specified, the operating system will choose
|
|
98
98
|
* one interface and will add membership to it. To add membership to every
|
|
99
99
|
* available interface, call `addMembership` multiple times, once per interface.
|
|
@@ -122,7 +122,7 @@ declare module "dgram" {
|
|
|
122
122
|
addMembership(multicastAddress: string, multicastInterface?: string): void;
|
|
123
123
|
/**
|
|
124
124
|
* Returns an object containing the address information for a socket.
|
|
125
|
-
* For UDP sockets, this object will contain `address`, `family`, and `port`properties.
|
|
125
|
+
* For UDP sockets, this object will contain `address`, `family`, and `port` properties.
|
|
126
126
|
*
|
|
127
127
|
* This method throws `EBADF` if called on an unbound socket.
|
|
128
128
|
* @since v0.1.99
|
|
@@ -133,10 +133,10 @@ declare module "dgram" {
|
|
|
133
133
|
* messages on a named `port` and optional `address`. If `port` is not
|
|
134
134
|
* specified or is `0`, the operating system will attempt to bind to a
|
|
135
135
|
* random port. If `address` is not specified, the operating system will
|
|
136
|
-
* attempt to listen on all addresses. Once binding is complete, a`'listening'` event is emitted and the optional `callback` function is
|
|
136
|
+
* attempt to listen on all addresses. Once binding is complete, a `'listening'` event is emitted and the optional `callback` function is
|
|
137
137
|
* called.
|
|
138
138
|
*
|
|
139
|
-
* Specifying both a `'listening'` event listener and passing a`callback` to the `socket.bind()` method is not harmful but not very
|
|
139
|
+
* Specifying both a `'listening'` event listener and passing a `callback` to the `socket.bind()` method is not harmful but not very
|
|
140
140
|
* useful.
|
|
141
141
|
*
|
|
142
142
|
* A bound datagram socket keeps the Node.js process running to receive
|
|
@@ -206,7 +206,7 @@ declare module "dgram" {
|
|
|
206
206
|
*/
|
|
207
207
|
disconnect(): void;
|
|
208
208
|
/**
|
|
209
|
-
* Instructs the kernel to leave a multicast group at `multicastAddress` using the`IP_DROP_MEMBERSHIP` socket option. This method is automatically called by the
|
|
209
|
+
* Instructs the kernel to leave a multicast group at `multicastAddress` using the `IP_DROP_MEMBERSHIP` socket option. This method is automatically called by the
|
|
210
210
|
* kernel when the socket is closed or the process terminates, so most apps will
|
|
211
211
|
* never have reason to call this.
|
|
212
212
|
*
|
|
@@ -269,7 +269,7 @@ declare module "dgram" {
|
|
|
269
269
|
* any `TypedArray` or a `DataView`,
|
|
270
270
|
* the `offset` and `length` specify the offset within the `Buffer` where the
|
|
271
271
|
* message begins and the number of bytes in the message, respectively.
|
|
272
|
-
* If `msg` is a `String`, then it is automatically converted to a `Buffer`with `'utf8'` encoding. With messages that
|
|
272
|
+
* If `msg` is a `String`, then it is automatically converted to a `Buffer` with `'utf8'` encoding. With messages that
|
|
273
273
|
* contain multi-byte characters, `offset` and `length` will be calculated with
|
|
274
274
|
* respect to `byte length` and not the character position.
|
|
275
275
|
* If `msg` is an array, `offset` and `length` must not be specified.
|
|
@@ -287,7 +287,7 @@ declare module "dgram" {
|
|
|
287
287
|
* DNS lookups delay the time to send for at least one tick of the
|
|
288
288
|
* Node.js event loop.
|
|
289
289
|
*
|
|
290
|
-
* The only way to know for sure that the datagram has been sent is by using a`callback`. If an error occurs and a `callback` is given, the error will be
|
|
290
|
+
* The only way to know for sure that the datagram has been sent is by using a `callback`. If an error occurs and a `callback` is given, the error will be
|
|
291
291
|
* passed as the first argument to the `callback`. If a `callback` is not given,
|
|
292
292
|
* the error is emitted as an `'error'` event on the `socket` object.
|
|
293
293
|
*
|
|
@@ -329,7 +329,7 @@ declare module "dgram" {
|
|
|
329
329
|
* determine the optimal strategy on a case-by-case basis. Generally speaking,
|
|
330
330
|
* however, sending multiple buffers is faster.
|
|
331
331
|
*
|
|
332
|
-
* Example of sending a UDP packet using a socket connected to a port on`localhost`:
|
|
332
|
+
* Example of sending a UDP packet using a socket connected to a port on `localhost`:
|
|
333
333
|
*
|
|
334
334
|
* ```js
|
|
335
335
|
* import dgram from 'node:dgram';
|
|
@@ -519,10 +519,10 @@ declare module "dgram" {
|
|
|
519
519
|
*/
|
|
520
520
|
unref(): this;
|
|
521
521
|
/**
|
|
522
|
-
* Tells the kernel to join a source-specific multicast channel at the given`sourceAddress` and `groupAddress`, using the `multicastInterface` with the`IP_ADD_SOURCE_MEMBERSHIP` socket
|
|
522
|
+
* Tells the kernel to join a source-specific multicast channel at the given `sourceAddress` and `groupAddress`, using the `multicastInterface` with the `IP_ADD_SOURCE_MEMBERSHIP` socket
|
|
523
523
|
* option. If the `multicastInterface` argument
|
|
524
524
|
* is not specified, the operating system will choose one interface and will add
|
|
525
|
-
* membership to it. To add membership to every available interface, call`socket.addSourceSpecificMembership()` multiple times, once per interface.
|
|
525
|
+
* membership to it. To add membership to every available interface, call `socket.addSourceSpecificMembership()` multiple times, once per interface.
|
|
526
526
|
*
|
|
527
527
|
* When called on an unbound socket, this method will implicitly bind to a random
|
|
528
528
|
* port, listening on all interfaces.
|
|
@@ -530,7 +530,7 @@ declare module "dgram" {
|
|
|
530
530
|
*/
|
|
531
531
|
addSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void;
|
|
532
532
|
/**
|
|
533
|
-
* Instructs the kernel to leave a source-specific multicast channel at the given`sourceAddress` and `groupAddress` using the `IP_DROP_SOURCE_MEMBERSHIP`socket option. This method is
|
|
533
|
+
* Instructs the kernel to leave a source-specific multicast channel at the given `sourceAddress` and `groupAddress` using the `IP_DROP_SOURCE_MEMBERSHIP` socket option. This method is
|
|
534
534
|
* automatically called by the kernel when the
|
|
535
535
|
* socket is closed or the process terminates, so most apps will never have
|
|
536
536
|
* reason to call this.
|
package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* should generally include the module name to avoid collisions with data from
|
|
21
21
|
* other modules.
|
|
22
22
|
* @since v15.1.0, v14.17.0
|
|
23
|
-
* @see [source](https://github.com/nodejs/node/blob/v20.2
|
|
23
|
+
* @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/diagnostics_channel.js)
|
|
24
24
|
*/
|
|
25
25
|
declare module "diagnostics_channel" {
|
|
26
26
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
@@ -98,7 +98,7 @@ declare module "diagnostics_channel" {
|
|
|
98
98
|
function unsubscribe(name: string | symbol, onMessage: ChannelListener): boolean;
|
|
99
99
|
/**
|
|
100
100
|
* Creates a `TracingChannel` wrapper for the given `TracingChannel Channels`. If a name is given, the corresponding tracing
|
|
101
|
-
* channels will be created in the form of `tracing:${name}:${eventType}` where`eventType` corresponds to the types of `TracingChannel Channels`.
|
|
101
|
+
* channels will be created in the form of `tracing:${name}:${eventType}` where `eventType` corresponds to the types of `TracingChannel Channels`.
|
|
102
102
|
*
|
|
103
103
|
* ```js
|
|
104
104
|
* import diagnostics_channel from 'node:diagnostics_channel';
|
|
@@ -335,7 +335,7 @@ declare module "diagnostics_channel" {
|
|
|
335
335
|
/**
|
|
336
336
|
* The class `TracingChannel` is a collection of `TracingChannel Channels` which
|
|
337
337
|
* together express a single traceable action. It is used to formalize and
|
|
338
|
-
* simplify the process of producing events for tracing application flow.{@link tracingChannel} is used to construct a`TracingChannel`. As with `Channel` it is recommended to create and reuse a
|
|
338
|
+
* simplify the process of producing events for tracing application flow. {@link tracingChannel} is used to construct a `TracingChannel`. As with `Channel` it is recommended to create and reuse a
|
|
339
339
|
* single `TracingChannel` at the top-level of the file rather than creating them
|
|
340
340
|
* dynamically.
|
|
341
341
|
* @since v19.9.0
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
* ```
|
|
43
43
|
*
|
|
44
44
|
* See the [Implementation considerations section](https://nodejs.org/docs/latest-v20.x/api/dns.html#implementation-considerations) for more information.
|
|
45
|
-
* @see [source](https://github.com/nodejs/node/blob/v20.
|
|
45
|
+
* @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/dns.js)
|
|
46
46
|
*/
|
|
47
47
|
declare module "dns" {
|
|
48
48
|
import * as dnsPromises from "node:dns/promises";
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* Domains provide a way to handle multiple different IO operations as a
|
|
10
10
|
* single group. If any of the event emitters or callbacks registered to a
|
|
11
11
|
* domain emit an `'error'` event, or throw an error, then the domain object
|
|
12
|
-
* will be notified, rather than losing the context of the error in the`process.on('uncaughtException')` handler, or causing the program to
|
|
12
|
+
* will be notified, rather than losing the context of the error in the `process.on('uncaughtException')` handler, or causing the program to
|
|
13
13
|
* exit immediately with an error code.
|
|
14
14
|
* @deprecated Since v1.4.2 - Deprecated
|
|
15
|
-
* @see [source](https://github.com/nodejs/node/blob/v20.2
|
|
15
|
+
* @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/domain.js)
|
|
16
16
|
*/
|
|
17
17
|
declare module "domain" {
|
|
18
18
|
import EventEmitter = require("node:events");
|
|
@@ -29,7 +29,7 @@ declare module "domain" {
|
|
|
29
29
|
*/
|
|
30
30
|
members: Array<EventEmitter | NodeJS.Timer>;
|
|
31
31
|
/**
|
|
32
|
-
* The `enter()` method is plumbing used by the `run()`, `bind()`, and`intercept()` methods to set the active domain. It sets `domain.active` and`process.domain` to the domain, and implicitly
|
|
32
|
+
* The `enter()` method is plumbing used by the `run()`, `bind()`, and `intercept()` methods to set the active domain. It sets `domain.active` and `process.domain` to the domain, and implicitly
|
|
33
33
|
* pushes the domain onto the domain
|
|
34
34
|
* stack managed by the domain module (see {@link exit} for details on the
|
|
35
35
|
* domain stack). The call to `enter()` delimits the beginning of a chain of
|
|
@@ -47,7 +47,7 @@ declare module "domain" {
|
|
|
47
47
|
* The call to `exit()` delimits either the end of or an interruption to the chain
|
|
48
48
|
* of asynchronous calls and I/O operations bound to a domain.
|
|
49
49
|
*
|
|
50
|
-
* If there are multiple, nested domains bound to the current execution context
|
|
50
|
+
* If there are multiple, nested domains bound to the current execution context, `exit()` will exit any domains nested within this domain.
|
|
51
51
|
*
|
|
52
52
|
* Calling `exit()` changes only the active domain, and does not alter the domain
|
|
53
53
|
* itself. `enter()` and `exit()` can be called an arbitrary number of times on a
|