cloudstructs 0.1.37 → 0.1.41
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/lib/codecommit-mirror/index.js +2 -2
- 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-events/index.js +1 -1
- package/lib/slack-textract/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/static-website/index.js +1 -1
- package/lib/url-shortener/index.handler.js +2 -1
- package/lib/url-shortener/index.js +1 -1
- 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/strict.d.ts +3 -4
- package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +823 -40
- package/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +359 -90
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +1895 -113
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +1070 -240
- package/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +331 -104
- package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +310 -37
- package/node_modules/@slack/logger/node_modules/@types/node/constants.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +2406 -742
- package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +458 -58
- package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +128 -0
- package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +292 -36
- package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +414 -97
- package/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +153 -9
- package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +560 -35
- package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +735 -279
- package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +2351 -870
- package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +24 -14
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +1020 -98
- package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +1586 -466
- package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +366 -15
- package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +87 -13
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +577 -562
- package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +53 -12
- package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +558 -143
- package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +236 -26
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +18 -15
- package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +9 -5
- package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +290 -92
- package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +1170 -156
- package/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +64 -26
- package/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +107 -8
- package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +426 -80
- package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +138 -113
- package/node_modules/@slack/logger/node_modules/@types/node/stream/consumers.d.ts +24 -0
- package/node_modules/@slack/logger/node_modules/@types/node/stream/promises.d.ts +15 -44
- package/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +6 -0
- package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +979 -226
- package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +57 -1
- package/node_modules/@slack/logger/node_modules/@types/node/timers/promises.d.ts +53 -10
- package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +32 -39
- package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +449 -227
- package/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +107 -11
- package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +160 -24
- package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +703 -32
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +1375 -76
- package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +255 -79
- package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +384 -33
- package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +92 -24
- package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +501 -138
- package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +216 -64
- 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/strict.d.ts +3 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +823 -40
- package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +359 -90
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +1895 -113
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +1070 -240
- package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +331 -104
- package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +310 -37
- package/node_modules/@slack/web-api/node_modules/@types/node/constants.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +2406 -742
- package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +458 -58
- package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +128 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +292 -36
- package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +414 -97
- package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +153 -9
- package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +560 -35
- package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +735 -279
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +2351 -870
- package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +24 -14
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +1020 -98
- package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +1586 -466
- package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +366 -15
- package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +87 -13
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +577 -562
- package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +53 -12
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +558 -143
- package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +236 -26
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +18 -15
- package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +9 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +290 -92
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +1170 -156
- package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +64 -26
- package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +107 -8
- package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +426 -80
- package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +138 -113
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/consumers.d.ts +24 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/promises.d.ts +15 -44
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +6 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +979 -226
- package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +57 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/timers/promises.d.ts +53 -10
- package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +32 -39
- package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +449 -227
- package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +107 -11
- package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +160 -24
- package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +703 -32
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +1375 -76
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +255 -79
- package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +384 -33
- package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +92 -24
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +501 -138
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +216 -64
- 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/strict.d.ts +3 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +823 -40
- package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +359 -90
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +1895 -113
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +1070 -240
- package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +331 -104
- package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +310 -37
- package/node_modules/@types/cacheable-request/node_modules/@types/node/constants.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +2406 -742
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +458 -58
- package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +128 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +292 -36
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +414 -97
- package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +153 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +560 -35
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +735 -279
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +2351 -870
- package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +24 -14
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +1020 -98
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +1586 -466
- package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +366 -15
- package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +87 -13
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +577 -562
- package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +53 -12
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +558 -143
- package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +236 -26
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +18 -15
- package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +9 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +290 -92
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +1170 -156
- package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +64 -26
- package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +107 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +426 -80
- package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +138 -113
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/consumers.d.ts +24 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/promises.d.ts +15 -44
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +6 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +979 -226
- package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +57 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +53 -10
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +32 -39
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +449 -227
- package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +107 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +160 -24
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +703 -32
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +1375 -76
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +255 -79
- package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +384 -33
- package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +92 -24
- package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +501 -138
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +216 -64
- 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/strict.d.ts +3 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/assert.d.ts +823 -40
- package/node_modules/@types/is-stream/node_modules/@types/node/async_hooks.d.ts +359 -90
- package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +1895 -113
- package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +1070 -240
- package/node_modules/@types/is-stream/node_modules/@types/node/cluster.d.ts +331 -104
- package/node_modules/@types/is-stream/node_modules/@types/node/console.d.ts +310 -37
- package/node_modules/@types/is-stream/node_modules/@types/node/constants.d.ts +3 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +2406 -742
- package/node_modules/@types/is-stream/node_modules/@types/node/dgram.d.ts +458 -58
- package/node_modules/@types/is-stream/node_modules/@types/node/diagnostics_channel.d.ts +128 -0
- package/node_modules/@types/is-stream/node_modules/@types/node/dns/promises.d.ts +292 -36
- package/node_modules/@types/is-stream/node_modules/@types/node/dns.d.ts +414 -97
- package/node_modules/@types/is-stream/node_modules/@types/node/domain.d.ts +153 -9
- package/node_modules/@types/is-stream/node_modules/@types/node/events.d.ts +560 -35
- package/node_modules/@types/is-stream/node_modules/@types/node/fs/promises.d.ts +735 -279
- package/node_modules/@types/is-stream/node_modules/@types/node/fs.d.ts +2351 -870
- package/node_modules/@types/is-stream/node_modules/@types/node/globals.d.ts +24 -14
- package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +1020 -98
- package/node_modules/@types/is-stream/node_modules/@types/node/http2.d.ts +1586 -466
- package/node_modules/@types/is-stream/node_modules/@types/node/https.d.ts +366 -15
- package/node_modules/@types/is-stream/node_modules/@types/node/index.d.ts +87 -13
- package/node_modules/@types/is-stream/node_modules/@types/node/inspector.d.ts +577 -562
- package/node_modules/@types/is-stream/node_modules/@types/node/module.d.ts +53 -12
- package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +558 -143
- package/node_modules/@types/is-stream/node_modules/@types/node/os.d.ts +236 -26
- package/node_modules/@types/is-stream/node_modules/@types/node/package.json +18 -15
- package/node_modules/@types/is-stream/node_modules/@types/node/path.d.ts +9 -5
- package/node_modules/@types/is-stream/node_modules/@types/node/perf_hooks.d.ts +290 -92
- package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +1170 -156
- package/node_modules/@types/is-stream/node_modules/@types/node/punycode.d.ts +64 -26
- package/node_modules/@types/is-stream/node_modules/@types/node/querystring.d.ts +107 -8
- package/node_modules/@types/is-stream/node_modules/@types/node/readline.d.ts +426 -80
- package/node_modules/@types/is-stream/node_modules/@types/node/repl.d.ts +138 -113
- package/node_modules/@types/is-stream/node_modules/@types/node/stream/consumers.d.ts +24 -0
- package/node_modules/@types/is-stream/node_modules/@types/node/stream/promises.d.ts +15 -44
- package/node_modules/@types/is-stream/node_modules/@types/node/stream/web.d.ts +6 -0
- package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +979 -226
- package/node_modules/@types/is-stream/node_modules/@types/node/string_decoder.d.ts +57 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/timers/promises.d.ts +53 -10
- package/node_modules/@types/is-stream/node_modules/@types/node/timers.d.ts +32 -39
- package/node_modules/@types/is-stream/node_modules/@types/node/tls.d.ts +449 -227
- package/node_modules/@types/is-stream/node_modules/@types/node/trace_events.d.ts +107 -11
- package/node_modules/@types/is-stream/node_modules/@types/node/tty.d.ts +160 -24
- package/node_modules/@types/is-stream/node_modules/@types/node/url.d.ts +703 -32
- package/node_modules/@types/is-stream/node_modules/@types/node/util.d.ts +1375 -76
- package/node_modules/@types/is-stream/node_modules/@types/node/v8.d.ts +255 -79
- package/node_modules/@types/is-stream/node_modules/@types/node/vm.d.ts +384 -33
- package/node_modules/@types/is-stream/node_modules/@types/node/wasi.d.ts +92 -24
- package/node_modules/@types/is-stream/node_modules/@types/node/worker_threads.d.ts +501 -138
- package/node_modules/@types/is-stream/node_modules/@types/node/zlib.d.ts +216 -64
- 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/strict.d.ts +3 -4
- package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +823 -40
- package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +359 -90
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +1895 -113
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +1070 -240
- package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +331 -104
- package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +310 -37
- package/node_modules/@types/keyv/node_modules/@types/node/constants.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +2406 -742
- package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +458 -58
- package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +128 -0
- package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +292 -36
- package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +414 -97
- package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +153 -9
- package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +560 -35
- package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +735 -279
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +2351 -870
- package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +24 -14
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +1020 -98
- package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +1586 -466
- package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +366 -15
- package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +87 -13
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +577 -562
- package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +53 -12
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +558 -143
- package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +236 -26
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +18 -15
- package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +9 -5
- package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +290 -92
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +1170 -156
- package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +64 -26
- package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +107 -8
- package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +426 -80
- package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +138 -113
- package/node_modules/@types/keyv/node_modules/@types/node/stream/consumers.d.ts +24 -0
- package/node_modules/@types/keyv/node_modules/@types/node/stream/promises.d.ts +15 -44
- package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +6 -0
- package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +979 -226
- package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +57 -1
- package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +53 -10
- package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +32 -39
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +449 -227
- package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +107 -11
- package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +160 -24
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +703 -32
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +1375 -76
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +255 -79
- package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +384 -33
- package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +92 -24
- package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +501 -138
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +216 -64
- 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/strict.d.ts +3 -4
- package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +823 -40
- package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +359 -90
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +1895 -113
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +1070 -240
- package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +331 -104
- package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +310 -37
- package/node_modules/@types/responselike/node_modules/@types/node/constants.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +2406 -742
- package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +458 -58
- package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +128 -0
- package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +292 -36
- package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +414 -97
- package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +153 -9
- package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +560 -35
- package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +735 -279
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +2351 -870
- package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +24 -14
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +1020 -98
- package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +1586 -466
- package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +366 -15
- package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +87 -13
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +577 -562
- package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +53 -12
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +558 -143
- package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +236 -26
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +18 -15
- package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +9 -5
- package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +290 -92
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +1170 -156
- package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +64 -26
- package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +107 -8
- package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +426 -80
- package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +138 -113
- package/node_modules/@types/responselike/node_modules/@types/node/stream/consumers.d.ts +24 -0
- package/node_modules/@types/responselike/node_modules/@types/node/stream/promises.d.ts +15 -44
- package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +6 -0
- package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +979 -226
- package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +57 -1
- package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +53 -10
- package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +32 -39
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +449 -227
- package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +107 -11
- package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +160 -24
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +703 -32
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +1375 -76
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +255 -79
- package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +384 -33
- package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +92 -24
- package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +501 -138
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +216 -64
- 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/debug.js +2 -1
- package/node_modules/follow-redirects/index.js +14 -7
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/mime-db/HISTORY.md +6 -0
- package/node_modules/mime-db/db.json +39 -1
- package/node_modules/mime-db/package.json +4 -4
- package/node_modules/mime-types/HISTORY.md +7 -0
- package/node_modules/mime-types/package.json +4 -4
- 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/node_modules/resolve-alpn/README.md +8 -1
- package/node_modules/resolve-alpn/index.js +14 -4
- package/node_modules/resolve-alpn/package.json +1 -1
- package/package.json +15 -15
- package/node_modules/@slack/logger/node_modules/@types/node/base.d.ts +0 -19
- package/node_modules/@slack/logger/node_modules/@types/node/diagnostic_channel.d.ts +0 -38
- package/node_modules/@slack/logger/node_modules/@types/node/ts3.6/assert.d.ts +0 -98
- package/node_modules/@slack/logger/node_modules/@types/node/ts3.6/base.d.ts +0 -67
- package/node_modules/@slack/logger/node_modules/@types/node/ts3.6/index.d.ts +0 -7
- package/node_modules/@slack/web-api/node_modules/@types/node/base.d.ts +0 -19
- package/node_modules/@slack/web-api/node_modules/@types/node/diagnostic_channel.d.ts +0 -38
- package/node_modules/@slack/web-api/node_modules/@types/node/ts3.6/assert.d.ts +0 -98
- package/node_modules/@slack/web-api/node_modules/@types/node/ts3.6/base.d.ts +0 -67
- package/node_modules/@slack/web-api/node_modules/@types/node/ts3.6/index.d.ts +0 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/base.d.ts +0 -19
- package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostic_channel.d.ts +0 -38
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts3.6/assert.d.ts +0 -98
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts3.6/base.d.ts +0 -67
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts3.6/index.d.ts +0 -7
- package/node_modules/@types/is-stream/node_modules/@types/node/base.d.ts +0 -19
- package/node_modules/@types/is-stream/node_modules/@types/node/diagnostic_channel.d.ts +0 -38
- package/node_modules/@types/is-stream/node_modules/@types/node/ts3.6/assert.d.ts +0 -98
- package/node_modules/@types/is-stream/node_modules/@types/node/ts3.6/base.d.ts +0 -67
- package/node_modules/@types/is-stream/node_modules/@types/node/ts3.6/index.d.ts +0 -7
- package/node_modules/@types/keyv/node_modules/@types/node/base.d.ts +0 -19
- package/node_modules/@types/keyv/node_modules/@types/node/diagnostic_channel.d.ts +0 -38
- package/node_modules/@types/keyv/node_modules/@types/node/ts3.6/assert.d.ts +0 -98
- package/node_modules/@types/keyv/node_modules/@types/node/ts3.6/base.d.ts +0 -67
- package/node_modules/@types/keyv/node_modules/@types/node/ts3.6/index.d.ts +0 -7
- package/node_modules/@types/responselike/node_modules/@types/node/base.d.ts +0 -19
- package/node_modules/@types/responselike/node_modules/@types/node/diagnostic_channel.d.ts +0 -38
- package/node_modules/@types/responselike/node_modules/@types/node/ts3.6/assert.d.ts +0 -98
- package/node_modules/@types/responselike/node_modules/@types/node/ts3.6/base.d.ts +0 -67
- package/node_modules/@types/responselike/node_modules/@types/node/ts3.6/index.d.ts +0 -7
|
@@ -1,11 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `string_decoder` module provides an API for decoding `Buffer` objects into
|
|
3
|
+
* strings in a manner that preserves encoded multi-byte UTF-8 and UTF-16
|
|
4
|
+
* characters. It can be accessed using:
|
|
5
|
+
*
|
|
6
|
+
* ```js
|
|
7
|
+
* const { StringDecoder } = require('string_decoder');
|
|
8
|
+
* ```
|
|
9
|
+
*
|
|
10
|
+
* The following example shows the basic use of the `StringDecoder` class.
|
|
11
|
+
*
|
|
12
|
+
* ```js
|
|
13
|
+
* const { StringDecoder } = require('string_decoder');
|
|
14
|
+
* const decoder = new StringDecoder('utf8');
|
|
15
|
+
*
|
|
16
|
+
* const cent = Buffer.from([0xC2, 0xA2]);
|
|
17
|
+
* console.log(decoder.write(cent));
|
|
18
|
+
*
|
|
19
|
+
* const euro = Buffer.from([0xE2, 0x82, 0xAC]);
|
|
20
|
+
* console.log(decoder.write(euro));
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* When a `Buffer` instance is written to the `StringDecoder` instance, an
|
|
24
|
+
* internal buffer is used to ensure that the decoded string does not contain
|
|
25
|
+
* any incomplete multibyte characters. These are held in the buffer until the
|
|
26
|
+
* next call to `stringDecoder.write()` or until `stringDecoder.end()` is called.
|
|
27
|
+
*
|
|
28
|
+
* In the following example, the three UTF-8 encoded bytes of the European Euro
|
|
29
|
+
* symbol (`€`) are written over three separate operations:
|
|
30
|
+
*
|
|
31
|
+
* ```js
|
|
32
|
+
* const { StringDecoder } = require('string_decoder');
|
|
33
|
+
* const decoder = new StringDecoder('utf8');
|
|
34
|
+
*
|
|
35
|
+
* decoder.write(Buffer.from([0xE2]));
|
|
36
|
+
* decoder.write(Buffer.from([0x82]));
|
|
37
|
+
* console.log(decoder.end(Buffer.from([0xAC])));
|
|
38
|
+
* ```
|
|
39
|
+
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/string_decoder.js)
|
|
40
|
+
*/
|
|
1
41
|
declare module 'string_decoder' {
|
|
2
42
|
class StringDecoder {
|
|
3
43
|
constructor(encoding?: BufferEncoding);
|
|
44
|
+
/**
|
|
45
|
+
* Returns a decoded string, ensuring that any incomplete multibyte characters at
|
|
46
|
+
* the end of the `Buffer`, or `TypedArray`, or `DataView` are omitted from the
|
|
47
|
+
* returned string and stored in an internal buffer for the next call to`stringDecoder.write()` or `stringDecoder.end()`.
|
|
48
|
+
* @since v0.1.99
|
|
49
|
+
* @param buffer A `Buffer`, or `TypedArray`, or `DataView` containing the bytes to decode.
|
|
50
|
+
*/
|
|
4
51
|
write(buffer: Buffer): string;
|
|
52
|
+
/**
|
|
53
|
+
* Returns any remaining input stored in the internal buffer as a string. Bytes
|
|
54
|
+
* representing incomplete UTF-8 and UTF-16 characters will be replaced with
|
|
55
|
+
* substitution characters appropriate for the character encoding.
|
|
56
|
+
*
|
|
57
|
+
* If the `buffer` argument is provided, one final call to `stringDecoder.write()`is performed before returning the remaining input.
|
|
58
|
+
* After `end()` is called, the `stringDecoder` object can be reused for new input.
|
|
59
|
+
* @since v0.9.3
|
|
60
|
+
* @param buffer A `Buffer`, or `TypedArray`, or `DataView` containing the bytes to decode.
|
|
61
|
+
*/
|
|
5
62
|
end(buffer?: Buffer): string;
|
|
6
63
|
}
|
|
7
64
|
}
|
|
8
|
-
|
|
9
65
|
declare module 'node:string_decoder' {
|
|
10
66
|
export * from 'string_decoder';
|
|
11
67
|
}
|
|
@@ -1,25 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `timers/promises` API provides an alternative set of timer functions
|
|
3
|
+
* that return `Promise` objects. The API is accessible via`require('timers/promises')`.
|
|
4
|
+
*
|
|
5
|
+
* ```js
|
|
6
|
+
* import {
|
|
7
|
+
* setTimeout,
|
|
8
|
+
* setImmediate,
|
|
9
|
+
* setInterval,
|
|
10
|
+
* } from 'timers/promises';
|
|
11
|
+
* ```
|
|
12
|
+
* @since v15.0.0
|
|
13
|
+
*/
|
|
1
14
|
declare module 'timers/promises' {
|
|
2
|
-
import { TimerOptions } from 'timers';
|
|
3
|
-
|
|
15
|
+
import { TimerOptions } from 'node:timers';
|
|
4
16
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
17
|
+
* ```js
|
|
18
|
+
* import {
|
|
19
|
+
* setTimeout,
|
|
20
|
+
* } from 'timers/promises';
|
|
21
|
+
*
|
|
22
|
+
* const res = await setTimeout(100, 'result');
|
|
23
|
+
*
|
|
24
|
+
* console.log(res); // Prints 'result'
|
|
25
|
+
* ```
|
|
26
|
+
* @since v15.0.0
|
|
27
|
+
* @param [delay=1] The number of milliseconds to wait before fulfilling the promise.
|
|
28
|
+
* @param value A value with which the promise is fulfilled.
|
|
7
29
|
*/
|
|
8
30
|
function setTimeout<T = void>(delay?: number, value?: T, options?: TimerOptions): Promise<T>;
|
|
9
|
-
|
|
10
31
|
/**
|
|
11
|
-
*
|
|
32
|
+
* ```js
|
|
33
|
+
* import {
|
|
34
|
+
* setImmediate,
|
|
35
|
+
* } from 'timers/promises';
|
|
36
|
+
*
|
|
37
|
+
* const res = await setImmediate('result');
|
|
38
|
+
*
|
|
39
|
+
* console.log(res); // Prints 'result'
|
|
40
|
+
* ```
|
|
41
|
+
* @since v15.0.0
|
|
42
|
+
* @param value A value with which the promise is fulfilled.
|
|
12
43
|
*/
|
|
13
44
|
function setImmediate<T = void>(value?: T, options?: TimerOptions): Promise<T>;
|
|
14
|
-
|
|
15
45
|
/**
|
|
46
|
+
* Returns an async iterator that generates values in an interval of `delay` ms.
|
|
47
|
+
*
|
|
48
|
+
* ```js
|
|
49
|
+
* import {
|
|
50
|
+
* setInterval,
|
|
51
|
+
* } from 'timers/promises';
|
|
16
52
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
53
|
+
* const interval = 100;
|
|
54
|
+
* for await (const startTime of setInterval(interval, Date.now())) {
|
|
55
|
+
* const now = Date.now();
|
|
56
|
+
* console.log(now);
|
|
57
|
+
* if ((now - startTime) > 1000)
|
|
58
|
+
* break;
|
|
59
|
+
* }
|
|
60
|
+
* console.log(Date.now());
|
|
61
|
+
* ```
|
|
62
|
+
* @since v15.9.0
|
|
19
63
|
*/
|
|
20
64
|
function setInterval<T = void>(delay?: number, value?: T, options?: TimerOptions): AsyncIterable<T>;
|
|
21
65
|
}
|
|
22
|
-
|
|
23
66
|
declare module 'node:timers/promises' {
|
|
24
67
|
export * from 'timers/promises';
|
|
25
68
|
}
|
|
@@ -1,7 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `timer` module exposes a global API for scheduling functions to
|
|
3
|
+
* be called at some future period of time. Because the timer functions are
|
|
4
|
+
* globals, there is no need to call `require('timers')` to use the API.
|
|
5
|
+
*
|
|
6
|
+
* The timer functions within Node.js implement a similar API as the timers API
|
|
7
|
+
* provided by Web Browsers but use a different internal implementation that is
|
|
8
|
+
* built around the Node.js [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout).
|
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/timers.js)
|
|
10
|
+
*/
|
|
1
11
|
declare module 'timers' {
|
|
2
|
-
import { Abortable } from 'events';
|
|
3
|
-
import { setTimeout as setTimeoutPromise, setImmediate as setImmediatePromise, setInterval as setIntervalPromise } from 'timers/promises';
|
|
4
|
-
|
|
12
|
+
import { Abortable } from 'node:events';
|
|
13
|
+
import { setTimeout as setTimeoutPromise, setImmediate as setImmediatePromise, setInterval as setIntervalPromise } from 'node:timers/promises';
|
|
5
14
|
interface TimerOptions extends Abortable {
|
|
6
15
|
/**
|
|
7
16
|
* Set to `false` to indicate that the scheduled `Timeout`
|
|
@@ -10,14 +19,12 @@ declare module 'timers' {
|
|
|
10
19
|
*/
|
|
11
20
|
ref?: boolean | undefined;
|
|
12
21
|
}
|
|
13
|
-
|
|
14
22
|
let setTimeout: typeof global.setTimeout;
|
|
15
23
|
let clearTimeout: typeof global.clearTimeout;
|
|
16
24
|
let setInterval: typeof global.setInterval;
|
|
17
25
|
let clearInterval: typeof global.clearInterval;
|
|
18
26
|
let setImmediate: typeof global.setImmediate;
|
|
19
27
|
let clearImmediate: typeof global.clearImmediate;
|
|
20
|
-
|
|
21
28
|
global {
|
|
22
29
|
namespace NodeJS {
|
|
23
30
|
// compatibility with older typings
|
|
@@ -26,28 +33,43 @@ declare module 'timers' {
|
|
|
26
33
|
refresh(): this;
|
|
27
34
|
[Symbol.toPrimitive](): number;
|
|
28
35
|
}
|
|
29
|
-
|
|
30
36
|
interface Immediate extends RefCounted {
|
|
37
|
+
/**
|
|
38
|
+
* If true, the `Immediate` object will keep the Node.js event loop active.
|
|
39
|
+
* @since v11.0.0
|
|
40
|
+
*/
|
|
31
41
|
hasRef(): boolean;
|
|
32
42
|
_onImmediate: Function; // to distinguish it from the Timeout class
|
|
33
43
|
}
|
|
34
|
-
|
|
35
44
|
interface Timeout extends Timer {
|
|
45
|
+
/**
|
|
46
|
+
* If true, the `Timeout` object will keep the Node.js event loop active.
|
|
47
|
+
* @since v11.0.0
|
|
48
|
+
*/
|
|
36
49
|
hasRef(): boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Sets the timer's start time to the current time, and reschedules the timer to
|
|
52
|
+
* call its callback at the previously specified duration adjusted to the current
|
|
53
|
+
* time. This is useful for refreshing a timer without allocating a new
|
|
54
|
+
* JavaScript object.
|
|
55
|
+
*
|
|
56
|
+
* Using this on a timer that has already called its callback will reactivate the
|
|
57
|
+
* timer.
|
|
58
|
+
* @since v10.2.0
|
|
59
|
+
* @return a reference to `timeout`
|
|
60
|
+
*/
|
|
37
61
|
refresh(): this;
|
|
38
62
|
[Symbol.toPrimitive](): number;
|
|
39
63
|
}
|
|
40
64
|
}
|
|
41
|
-
|
|
42
65
|
function setTimeout<TArgs extends any[]>(callback: (...args: TArgs) => void, ms?: number, ...args: TArgs): NodeJS.Timeout;
|
|
43
66
|
// util.promisify no rest args compability
|
|
44
67
|
// tslint:disable-next-line void-return
|
|
45
|
-
function setTimeout(callback: (args: void) => void): NodeJS.Timeout;
|
|
68
|
+
function setTimeout(callback: (args: void) => void, ms?: number): NodeJS.Timeout;
|
|
46
69
|
namespace setTimeout {
|
|
47
70
|
const __promisify__: typeof setTimeoutPromise;
|
|
48
71
|
}
|
|
49
72
|
function clearTimeout(timeoutId: NodeJS.Timeout): void;
|
|
50
|
-
|
|
51
73
|
function setInterval<TArgs extends any[]>(callback: (...args: TArgs) => void, ms?: number, ...args: TArgs): NodeJS.Timer;
|
|
52
74
|
// util.promisify no rest args compability
|
|
53
75
|
// tslint:disable-next-line void-return
|
|
@@ -56,7 +78,6 @@ declare module 'timers' {
|
|
|
56
78
|
const __promisify__: typeof setIntervalPromise;
|
|
57
79
|
}
|
|
58
80
|
function clearInterval(intervalId: NodeJS.Timeout): void;
|
|
59
|
-
|
|
60
81
|
function setImmediate<TArgs extends any[]>(callback: (...args: TArgs) => void, ...args: TArgs): NodeJS.Immediate;
|
|
61
82
|
// util.promisify no rest args compability
|
|
62
83
|
// tslint:disable-next-line void-return
|
|
@@ -65,37 +86,9 @@ declare module 'timers' {
|
|
|
65
86
|
const __promisify__: typeof setImmediatePromise;
|
|
66
87
|
}
|
|
67
88
|
function clearImmediate(immediateId: NodeJS.Immediate): void;
|
|
68
|
-
|
|
69
89
|
function queueMicrotask(callback: () => void): void;
|
|
70
90
|
}
|
|
71
91
|
}
|
|
72
|
-
|
|
73
92
|
declare module 'node:timers' {
|
|
74
93
|
export * from 'timers';
|
|
75
94
|
}
|
|
76
|
-
|
|
77
|
-
declare module 'timers/promises' {
|
|
78
|
-
import { TimerOptions } from 'timers';
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Returns a promise that resolves after the specified delay in milliseconds.
|
|
82
|
-
* @param delay defaults to 1
|
|
83
|
-
*/
|
|
84
|
-
function setTimeout<T = void>(delay?: number, value?: T, options?: TimerOptions): Promise<T>;
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Returns a promise that resolves in the next tick.
|
|
88
|
-
*/
|
|
89
|
-
function setImmediate<T = void>(value?: T, options?: TimerOptions): Promise<T>;
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* Returns an async iterator that generates values in an interval of delay ms.
|
|
94
|
-
* @param delay defaults to 1
|
|
95
|
-
*/
|
|
96
|
-
function setInterval<T = void>(delay?: number, value?: T, options?: TimerOptions): AsyncIterable<T>;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
declare module 'node:timers/promises' {
|
|
100
|
-
export * from 'timers/promises';
|
|
101
|
-
}
|