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
|
@@ -147,10 +147,8 @@ RedirectableRequest.prototype.removeHeader = function (name) {
|
|
|
147
147
|
// Global timeout for all underlying requests
|
|
148
148
|
RedirectableRequest.prototype.setTimeout = function (msecs, callback) {
|
|
149
149
|
var self = this;
|
|
150
|
-
if (callback) {
|
|
151
|
-
this.on("timeout", callback);
|
|
152
|
-
}
|
|
153
150
|
|
|
151
|
+
// Destroys the socket on timeout
|
|
154
152
|
function destroyOnTimeout(socket) {
|
|
155
153
|
socket.setTimeout(msecs);
|
|
156
154
|
socket.removeListener("timeout", socket.destroy);
|
|
@@ -169,18 +167,26 @@ RedirectableRequest.prototype.setTimeout = function (msecs, callback) {
|
|
|
169
167
|
destroyOnTimeout(socket);
|
|
170
168
|
}
|
|
171
169
|
|
|
172
|
-
//
|
|
170
|
+
// Stops a timeout from triggering
|
|
173
171
|
function clearTimer() {
|
|
174
|
-
|
|
172
|
+
if (self._timeout) {
|
|
173
|
+
clearTimeout(self._timeout);
|
|
174
|
+
self._timeout = null;
|
|
175
|
+
}
|
|
175
176
|
if (callback) {
|
|
176
177
|
self.removeListener("timeout", callback);
|
|
177
178
|
}
|
|
178
|
-
if (!
|
|
179
|
+
if (!self.socket) {
|
|
179
180
|
self._currentRequest.removeListener("socket", startTimer);
|
|
180
181
|
}
|
|
181
182
|
}
|
|
182
183
|
|
|
183
|
-
//
|
|
184
|
+
// Attach callback if passed
|
|
185
|
+
if (callback) {
|
|
186
|
+
this.on("timeout", callback);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// Start the timer if or when the socket is opened
|
|
184
190
|
if (this.socket) {
|
|
185
191
|
startTimer(this.socket);
|
|
186
192
|
}
|
|
@@ -188,6 +194,7 @@ RedirectableRequest.prototype.setTimeout = function (msecs, callback) {
|
|
|
188
194
|
this._currentRequest.once("socket", startTimer);
|
|
189
195
|
}
|
|
190
196
|
|
|
197
|
+
// Clean up on events
|
|
191
198
|
this.on("socket", destroyOnTimeout);
|
|
192
199
|
this.once("response", clearTimer);
|
|
193
200
|
this.once("error", clearTimer);
|
|
@@ -777,6 +777,7 @@
|
|
|
777
777
|
"extensions": ["mads"]
|
|
778
778
|
},
|
|
779
779
|
"application/manifest+json": {
|
|
780
|
+
"source": "iana",
|
|
780
781
|
"charset": "UTF-8",
|
|
781
782
|
"compressible": true,
|
|
782
783
|
"extensions": ["webmanifest"]
|
|
@@ -896,6 +897,9 @@
|
|
|
896
897
|
"application/mipc": {
|
|
897
898
|
"source": "iana"
|
|
898
899
|
},
|
|
900
|
+
"application/missing-blocks+cbor-seq": {
|
|
901
|
+
"source": "iana"
|
|
902
|
+
},
|
|
899
903
|
"application/mmt-aei+xml": {
|
|
900
904
|
"source": "iana",
|
|
901
905
|
"compressible": true,
|
|
@@ -1062,6 +1066,10 @@
|
|
|
1062
1066
|
"source": "iana",
|
|
1063
1067
|
"extensions": ["oxps"]
|
|
1064
1068
|
},
|
|
1069
|
+
"application/p21+zip": {
|
|
1070
|
+
"source": "iana",
|
|
1071
|
+
"compressible": false
|
|
1072
|
+
},
|
|
1065
1073
|
"application/p2p-overlay+xml": {
|
|
1066
1074
|
"source": "iana",
|
|
1067
1075
|
"compressible": true,
|
|
@@ -1640,7 +1648,8 @@
|
|
|
1640
1648
|
"source": "iana"
|
|
1641
1649
|
},
|
|
1642
1650
|
"application/trig": {
|
|
1643
|
-
"source": "iana"
|
|
1651
|
+
"source": "iana",
|
|
1652
|
+
"extensions": ["trig"]
|
|
1644
1653
|
},
|
|
1645
1654
|
"application/ttml+xml": {
|
|
1646
1655
|
"source": "iana",
|
|
@@ -2053,6 +2062,12 @@
|
|
|
2053
2062
|
"source": "iana",
|
|
2054
2063
|
"extensions": ["atx"]
|
|
2055
2064
|
},
|
|
2065
|
+
"application/vnd.apache.arrow.file": {
|
|
2066
|
+
"source": "iana"
|
|
2067
|
+
},
|
|
2068
|
+
"application/vnd.apache.arrow.stream": {
|
|
2069
|
+
"source": "iana"
|
|
2070
|
+
},
|
|
2056
2071
|
"application/vnd.apache.thrift.binary": {
|
|
2057
2072
|
"source": "iana"
|
|
2058
2073
|
},
|
|
@@ -4288,6 +4303,9 @@
|
|
|
4288
4303
|
"compressible": true,
|
|
4289
4304
|
"extensions": ["osm"]
|
|
4290
4305
|
},
|
|
4306
|
+
"application/vnd.opentimestamps.ots": {
|
|
4307
|
+
"source": "iana"
|
|
4308
|
+
},
|
|
4291
4309
|
"application/vnd.openxmlformats-officedocument.custom-properties+xml": {
|
|
4292
4310
|
"source": "iana",
|
|
4293
4311
|
"compressible": true
|
|
@@ -4819,6 +4837,9 @@
|
|
|
4819
4837
|
"application/vnd.renlearn.rlprint": {
|
|
4820
4838
|
"source": "iana"
|
|
4821
4839
|
},
|
|
4840
|
+
"application/vnd.resilient.logic": {
|
|
4841
|
+
"source": "iana"
|
|
4842
|
+
},
|
|
4822
4843
|
"application/vnd.restful+json": {
|
|
4823
4844
|
"source": "iana",
|
|
4824
4845
|
"compressible": true
|
|
@@ -5283,6 +5304,10 @@
|
|
|
5283
5304
|
"application/vnd.verimatrix.vcas": {
|
|
5284
5305
|
"source": "iana"
|
|
5285
5306
|
},
|
|
5307
|
+
"application/vnd.veritone.aion+json": {
|
|
5308
|
+
"source": "iana",
|
|
5309
|
+
"compressible": true
|
|
5310
|
+
},
|
|
5286
5311
|
"application/vnd.veryant.thin": {
|
|
5287
5312
|
"source": "iana"
|
|
5288
5313
|
},
|
|
@@ -7401,6 +7426,16 @@
|
|
|
7401
7426
|
"source": "iana",
|
|
7402
7427
|
"extensions": ["obj"]
|
|
7403
7428
|
},
|
|
7429
|
+
"model/step+zip": {
|
|
7430
|
+
"source": "iana",
|
|
7431
|
+
"compressible": false,
|
|
7432
|
+
"extensions": ["stpz"]
|
|
7433
|
+
},
|
|
7434
|
+
"model/step-xml+zip": {
|
|
7435
|
+
"source": "iana",
|
|
7436
|
+
"compressible": false,
|
|
7437
|
+
"extensions": ["stpxz"]
|
|
7438
|
+
},
|
|
7404
7439
|
"model/stl": {
|
|
7405
7440
|
"source": "iana",
|
|
7406
7441
|
"extensions": ["stl"]
|
|
@@ -8298,6 +8333,9 @@
|
|
|
8298
8333
|
"video/vp8": {
|
|
8299
8334
|
"source": "iana"
|
|
8300
8335
|
},
|
|
8336
|
+
"video/vp9": {
|
|
8337
|
+
"source": "iana"
|
|
8338
|
+
},
|
|
8301
8339
|
"video/webm": {
|
|
8302
8340
|
"source": "apache",
|
|
8303
8341
|
"compressible": false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mime-db",
|
|
3
3
|
"description": "Media Type Database",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.49.0",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Douglas Christopher Wilson <doug@somethingdoug.com>",
|
|
7
7
|
"Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"bluebird": "3.7.2",
|
|
23
23
|
"co": "4.6.0",
|
|
24
24
|
"cogent": "1.0.1",
|
|
25
|
-
"csv-parse": "4.
|
|
26
|
-
"eslint": "7.
|
|
25
|
+
"csv-parse": "4.16.0",
|
|
26
|
+
"eslint": "7.31.0",
|
|
27
27
|
"eslint-config-standard": "15.0.1",
|
|
28
28
|
"eslint-plugin-import": "2.23.4",
|
|
29
29
|
"eslint-plugin-markdown": "2.2.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"eslint-plugin-promise": "5.1.0",
|
|
32
32
|
"eslint-plugin-standard": "4.1.0",
|
|
33
33
|
"gnode": "0.1.2",
|
|
34
|
-
"mocha": "
|
|
34
|
+
"mocha": "9.0.3",
|
|
35
35
|
"nyc": "15.1.0",
|
|
36
36
|
"raw-body": "2.4.1",
|
|
37
37
|
"stream-to-array": "2.3.0"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mime-types",
|
|
3
3
|
"description": "The ultimate javascript content-type utility.",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.32",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Douglas Christopher Wilson <doug@somethingdoug.com>",
|
|
7
7
|
"Jeremiah Senkpiel <fishrock123@rocketmail.com> (https://searchbeam.jit.su)",
|
|
@@ -14,17 +14,17 @@
|
|
|
14
14
|
],
|
|
15
15
|
"repository": "jshttp/mime-types",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"mime-db": "1.
|
|
17
|
+
"mime-db": "1.49.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"eslint": "7.
|
|
20
|
+
"eslint": "7.31.0",
|
|
21
21
|
"eslint-config-standard": "14.1.1",
|
|
22
22
|
"eslint-plugin-import": "2.23.4",
|
|
23
23
|
"eslint-plugin-markdown": "2.2.0",
|
|
24
24
|
"eslint-plugin-node": "11.1.0",
|
|
25
25
|
"eslint-plugin-promise": "5.1.0",
|
|
26
26
|
"eslint-plugin-standard": "4.1.0",
|
|
27
|
-
"mocha": "
|
|
27
|
+
"mocha": "9.0.3",
|
|
28
28
|
"nyc": "15.1.0"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## API
|
|
7
7
|
|
|
8
|
-
### resolveALPN(options)
|
|
8
|
+
### resolveALPN(options, connect = tls.connect)
|
|
9
9
|
|
|
10
10
|
Returns an object with an `alpnProtocol` property. The `socket` property may be also present.
|
|
11
11
|
|
|
@@ -48,6 +48,13 @@ console.log(result); // {alpnProtocol: 'h2', socket: tls.TLSSocket}
|
|
|
48
48
|
result.socket.destroy();
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
+
#### connect
|
|
52
|
+
|
|
53
|
+
Type: `Function<TLSSocket> | AsyncFunction<TLSSocket>`\
|
|
54
|
+
Default: [`tls.connect`](https://nodejs.org/dist/latest-v16.x/docs/api/tls.html#tls_tls_connect_options_callback)
|
|
55
|
+
|
|
56
|
+
**Note:** No matter which function is used (synchronous or asynchronous), it **must** accept a `callback` function as a second argument. The `callback` function gets executed when the socket has successfully connected.
|
|
57
|
+
|
|
51
58
|
## License
|
|
52
59
|
|
|
53
60
|
MIT
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
const tls = require('tls');
|
|
3
3
|
|
|
4
|
-
module.exports = (options = {}) => new Promise((resolve, reject) => {
|
|
4
|
+
module.exports = (options = {}, connect = tls.connect) => new Promise((resolve, reject) => {
|
|
5
5
|
let timeout = false;
|
|
6
6
|
|
|
7
|
+
let socket;
|
|
8
|
+
|
|
7
9
|
const callback = async () => {
|
|
10
|
+
await socketPromise;
|
|
11
|
+
|
|
8
12
|
socket.off('timeout', onTimeout);
|
|
9
13
|
socket.off('error', reject);
|
|
10
14
|
|
|
@@ -26,8 +30,14 @@ module.exports = (options = {}) => new Promise((resolve, reject) => {
|
|
|
26
30
|
callback();
|
|
27
31
|
};
|
|
28
32
|
|
|
29
|
-
const
|
|
33
|
+
const socketPromise = (async () => {
|
|
34
|
+
try {
|
|
35
|
+
socket = await connect(options, callback);
|
|
30
36
|
|
|
31
|
-
|
|
32
|
-
|
|
37
|
+
socket.on('error', reject);
|
|
38
|
+
socket.once('timeout', onTimeout);
|
|
39
|
+
} catch (error) {
|
|
40
|
+
reject(error);
|
|
41
|
+
}
|
|
42
|
+
})();
|
|
33
43
|
});
|
package/package.json
CHANGED
|
@@ -35,27 +35,27 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@aws-cdk/assert": "^1.92.0",
|
|
38
|
-
"@types/aws-lambda": "^8.10.
|
|
38
|
+
"@types/aws-lambda": "^8.10.83",
|
|
39
39
|
"@types/jest": "^26.0.24",
|
|
40
40
|
"@types/node": "^10.17.0",
|
|
41
41
|
"@types/tsscmp": "^1.0.0",
|
|
42
|
-
"@typescript-eslint/eslint-plugin": "^4.
|
|
43
|
-
"@typescript-eslint/parser": "^4.
|
|
44
|
-
"aws-sdk": "^2.
|
|
45
|
-
"aws-sdk-mock": "^5.
|
|
46
|
-
"esbuild": "^0.12.
|
|
47
|
-
"eslint": "^7.
|
|
48
|
-
"eslint-import-resolver-node": "^0.3.
|
|
49
|
-
"eslint-import-resolver-typescript": "^2.
|
|
50
|
-
"eslint-plugin-import": "^2.
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^4.31.2",
|
|
43
|
+
"@typescript-eslint/parser": "^4.31.2",
|
|
44
|
+
"aws-sdk": "^2.991.0",
|
|
45
|
+
"aws-sdk-mock": "^5.3.0",
|
|
46
|
+
"esbuild": "^0.12.28",
|
|
47
|
+
"eslint": "^7.32.0",
|
|
48
|
+
"eslint-import-resolver-node": "^0.3.6",
|
|
49
|
+
"eslint-import-resolver-typescript": "^2.5.0",
|
|
50
|
+
"eslint-plugin-import": "^2.24.2",
|
|
51
51
|
"jest": "^26.6.3",
|
|
52
52
|
"jest-junit": "^12",
|
|
53
|
-
"jsii": "^1.
|
|
54
|
-
"jsii-diff": "^1.
|
|
53
|
+
"jsii": "^1.34.0",
|
|
54
|
+
"jsii-diff": "^1.34.0",
|
|
55
55
|
"jsii-docgen": "^1.8.110",
|
|
56
|
-
"jsii-pacmak": "^1.
|
|
56
|
+
"jsii-pacmak": "^1.34.0",
|
|
57
57
|
"json-schema": "^0.3.0",
|
|
58
|
-
"nock": "^13.1.
|
|
58
|
+
"nock": "^13.1.3",
|
|
59
59
|
"npm-check-updates": "^11",
|
|
60
60
|
"projen": "^0.27.0",
|
|
61
61
|
"standard-version": "^9",
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
],
|
|
135
135
|
"main": "lib/index.js",
|
|
136
136
|
"license": "Apache-2.0",
|
|
137
|
-
"version": "0.1.
|
|
137
|
+
"version": "0.1.41",
|
|
138
138
|
"jest": {
|
|
139
139
|
"testMatch": [
|
|
140
140
|
"**/__tests__/**/*.ts?(x)",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// NOTE: These definitions support NodeJS and TypeScript 3.7.
|
|
2
|
-
|
|
3
|
-
// NOTE: TypeScript version-specific augmentations can be found in the following paths:
|
|
4
|
-
// - ~/base.d.ts - Shared definitions common to all TypeScript versions
|
|
5
|
-
// - ~/index.d.ts - Definitions specific to TypeScript 2.1
|
|
6
|
-
// - ~/ts3.7/base.d.ts - Definitions specific to TypeScript 3.7
|
|
7
|
-
// - ~/ts3.7/index.d.ts - Definitions specific to TypeScript 3.7 with assert pulled in
|
|
8
|
-
|
|
9
|
-
// Reference required types from the default lib:
|
|
10
|
-
/// <reference lib="es2018" />
|
|
11
|
-
/// <reference lib="esnext.asynciterable" />
|
|
12
|
-
/// <reference lib="esnext.intl" />
|
|
13
|
-
/// <reference lib="esnext.bigint" />
|
|
14
|
-
|
|
15
|
-
// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
|
|
16
|
-
/// <reference path="ts3.6/base.d.ts" />
|
|
17
|
-
|
|
18
|
-
// TypeScript 3.7-specific augmentations:
|
|
19
|
-
/// <reference path="assert.d.ts" />
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @experimental
|
|
3
|
-
*/
|
|
4
|
-
declare module 'diagnostic_channel' {
|
|
5
|
-
/**
|
|
6
|
-
* Returns wether a named channel has subscribers or not.
|
|
7
|
-
*/
|
|
8
|
-
function hasSubscribers(name: string): boolean;
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Gets or create a diagnostic channel by name.
|
|
12
|
-
*/
|
|
13
|
-
function channel(name: string): Channel;
|
|
14
|
-
|
|
15
|
-
type ChannelListener = (name: string, message: unknown) => void;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Simple diagnostic channel that allows
|
|
19
|
-
*/
|
|
20
|
-
class Channel {
|
|
21
|
-
readonly name: string;
|
|
22
|
-
readonly hashSubscribers: boolean;
|
|
23
|
-
private constructor(name: string);
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Add a listener to the message channel.
|
|
27
|
-
*/
|
|
28
|
-
subscribe(listener: ChannelListener): void;
|
|
29
|
-
/**
|
|
30
|
-
* Removes a previously registered listener.
|
|
31
|
-
*/
|
|
32
|
-
unsubscribe(listener: ChannelListener): void;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
declare module 'node:diagnostic_channel' {
|
|
37
|
-
export * from 'diagnostic_channel';
|
|
38
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
declare module 'assert' {
|
|
2
|
-
/** An alias of `assert.ok()`. */
|
|
3
|
-
function assert(value: unknown, message?: string | Error): void;
|
|
4
|
-
namespace assert {
|
|
5
|
-
class AssertionError extends Error {
|
|
6
|
-
actual: unknown;
|
|
7
|
-
expected: unknown;
|
|
8
|
-
operator: string;
|
|
9
|
-
generatedMessage: boolean;
|
|
10
|
-
code: 'ERR_ASSERTION';
|
|
11
|
-
|
|
12
|
-
constructor(options?: {
|
|
13
|
-
/** If provided, the error message is set to this value. */
|
|
14
|
-
message?: string;
|
|
15
|
-
/** The `actual` property on the error instance. */
|
|
16
|
-
actual?: unknown;
|
|
17
|
-
/** The `expected` property on the error instance. */
|
|
18
|
-
expected?: unknown;
|
|
19
|
-
/** The `operator` property on the error instance. */
|
|
20
|
-
operator?: string;
|
|
21
|
-
/** If provided, the generated stack trace omits frames before this function. */
|
|
22
|
-
// tslint:disable-next-line:ban-types
|
|
23
|
-
stackStartFn?: Function;
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
class CallTracker {
|
|
28
|
-
calls(exact?: number): () => void;
|
|
29
|
-
calls<Func extends (...args: any[]) => any>(fn?: Func, exact?: number): Func;
|
|
30
|
-
report(): CallTrackerReportInformation[];
|
|
31
|
-
verify(): void;
|
|
32
|
-
}
|
|
33
|
-
interface CallTrackerReportInformation {
|
|
34
|
-
message: string;
|
|
35
|
-
/** The actual number of times the function was called. */
|
|
36
|
-
actual: number;
|
|
37
|
-
/** The number of times the function was expected to be called. */
|
|
38
|
-
expected: number;
|
|
39
|
-
/** The name of the function that is wrapped. */
|
|
40
|
-
operator: string;
|
|
41
|
-
/** A stack trace of the function. */
|
|
42
|
-
stack: object;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
type AssertPredicate = RegExp | (new () => object) | ((thrown: unknown) => boolean) | object | Error;
|
|
46
|
-
|
|
47
|
-
function fail(message?: string | Error): never;
|
|
48
|
-
/** @deprecated since v10.0.0 - use fail([message]) or other assert functions instead. */
|
|
49
|
-
function fail(
|
|
50
|
-
actual: unknown,
|
|
51
|
-
expected: unknown,
|
|
52
|
-
message?: string | Error,
|
|
53
|
-
operator?: string,
|
|
54
|
-
// tslint:disable-next-line:ban-types
|
|
55
|
-
stackStartFn?: Function,
|
|
56
|
-
): never;
|
|
57
|
-
function ok(value: unknown, message?: string | Error): void;
|
|
58
|
-
/** @deprecated since v9.9.0 - use strictEqual() instead. */
|
|
59
|
-
function equal(actual: unknown, expected: unknown, message?: string | Error): void;
|
|
60
|
-
/** @deprecated since v9.9.0 - use notStrictEqual() instead. */
|
|
61
|
-
function notEqual(actual: unknown, expected: unknown, message?: string | Error): void;
|
|
62
|
-
/** @deprecated since v9.9.0 - use deepStrictEqual() instead. */
|
|
63
|
-
function deepEqual(actual: unknown, expected: unknown, message?: string | Error): void;
|
|
64
|
-
/** @deprecated since v9.9.0 - use notDeepStrictEqual() instead. */
|
|
65
|
-
function notDeepEqual(actual: unknown, expected: unknown, message?: string | Error): void;
|
|
66
|
-
function strictEqual(actual: unknown, expected: unknown, message?: string | Error): void;
|
|
67
|
-
function notStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void;
|
|
68
|
-
function deepStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void;
|
|
69
|
-
function notDeepStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void;
|
|
70
|
-
|
|
71
|
-
function throws(block: () => unknown, message?: string | Error): void;
|
|
72
|
-
function throws(block: () => unknown, error: AssertPredicate, message?: string | Error): void;
|
|
73
|
-
function doesNotThrow(block: () => unknown, message?: string | Error): void;
|
|
74
|
-
function doesNotThrow(block: () => unknown, error: AssertPredicate, message?: string | Error): void;
|
|
75
|
-
|
|
76
|
-
function ifError(value: unknown): void;
|
|
77
|
-
|
|
78
|
-
function rejects(block: (() => Promise<unknown>) | Promise<unknown>, message?: string | Error): Promise<void>;
|
|
79
|
-
function rejects(
|
|
80
|
-
block: (() => Promise<unknown>) | Promise<unknown>,
|
|
81
|
-
error: AssertPredicate,
|
|
82
|
-
message?: string | Error,
|
|
83
|
-
): Promise<void>;
|
|
84
|
-
function doesNotReject(block: (() => Promise<unknown>) | Promise<unknown>, message?: string | Error): Promise<void>;
|
|
85
|
-
function doesNotReject(
|
|
86
|
-
block: (() => Promise<unknown>) | Promise<unknown>,
|
|
87
|
-
error: AssertPredicate,
|
|
88
|
-
message?: string | Error,
|
|
89
|
-
): Promise<void>;
|
|
90
|
-
|
|
91
|
-
function match(value: string, regExp: RegExp, message?: string | Error): void;
|
|
92
|
-
function doesNotMatch(value: string, regExp: RegExp, message?: string | Error): void;
|
|
93
|
-
|
|
94
|
-
const strict: typeof assert;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
export = assert;
|
|
98
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
// NOTE: These definitions support NodeJS and TypeScript 3.6 and earlier.
|
|
2
|
-
|
|
3
|
-
// NOTE: TypeScript version-specific augmentations can be found in the following paths:
|
|
4
|
-
// - ~/base.d.ts - Shared definitions common to all TypeScript versions
|
|
5
|
-
// - ~/index.d.ts - Definitions specific to TypeScript 3.7 and above
|
|
6
|
-
// - ~/ts3.6/base.d.ts - Definitions specific to TypeScript 3.6 and earlier
|
|
7
|
-
// - ~/ts3.6/index.d.ts - Definitions specific to TypeScript 3.6 and earlier with assert pulled in
|
|
8
|
-
|
|
9
|
-
// Reference required types from the default lib:
|
|
10
|
-
/// <reference lib="es2018" />
|
|
11
|
-
/// <reference lib="esnext.asynciterable" />
|
|
12
|
-
/// <reference lib="esnext.intl" />
|
|
13
|
-
/// <reference lib="esnext.bigint" />
|
|
14
|
-
|
|
15
|
-
// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
|
|
16
|
-
/// <reference path="../assert/strict.d.ts" />
|
|
17
|
-
/// <reference path="../globals.d.ts" />
|
|
18
|
-
/// <reference path="../async_hooks.d.ts" />
|
|
19
|
-
/// <reference path="../buffer.d.ts" />
|
|
20
|
-
/// <reference path="../child_process.d.ts" />
|
|
21
|
-
/// <reference path="../cluster.d.ts" />
|
|
22
|
-
/// <reference path="../console.d.ts" />
|
|
23
|
-
/// <reference path="../constants.d.ts" />
|
|
24
|
-
/// <reference path="../crypto.d.ts" />
|
|
25
|
-
/// <reference path="../dgram.d.ts" />
|
|
26
|
-
/// <reference path="../diagnostic_channel.d.ts" />
|
|
27
|
-
/// <reference path="../dns.d.ts" />
|
|
28
|
-
/// <reference path="../dns/promises.d.ts" />
|
|
29
|
-
/// <reference path="../dns/promises.d.ts" />
|
|
30
|
-
/// <reference path="../domain.d.ts" />
|
|
31
|
-
/// <reference path="../events.d.ts" />
|
|
32
|
-
/// <reference path="../fs.d.ts" />
|
|
33
|
-
/// <reference path="../fs/promises.d.ts" />
|
|
34
|
-
/// <reference path="../http.d.ts" />
|
|
35
|
-
/// <reference path="../http2.d.ts" />
|
|
36
|
-
/// <reference path="../https.d.ts" />
|
|
37
|
-
/// <reference path="../inspector.d.ts" />
|
|
38
|
-
/// <reference path="../module.d.ts" />
|
|
39
|
-
/// <reference path="../net.d.ts" />
|
|
40
|
-
/// <reference path="../os.d.ts" />
|
|
41
|
-
/// <reference path="../path.d.ts" />
|
|
42
|
-
/// <reference path="../perf_hooks.d.ts" />
|
|
43
|
-
/// <reference path="../process.d.ts" />
|
|
44
|
-
/// <reference path="../punycode.d.ts" />
|
|
45
|
-
/// <reference path="../querystring.d.ts" />
|
|
46
|
-
/// <reference path="../readline.d.ts" />
|
|
47
|
-
/// <reference path="../repl.d.ts" />
|
|
48
|
-
/// <reference path="../stream.d.ts" />
|
|
49
|
-
/// <reference path="../stream/promises.d.ts" />
|
|
50
|
-
/// <reference path="../string_decoder.d.ts" />
|
|
51
|
-
/// <reference path="../timers.d.ts" />
|
|
52
|
-
/// <reference path="../timers/promises.d.ts" />
|
|
53
|
-
/// <reference path="../tls.d.ts" />
|
|
54
|
-
/// <reference path="../trace_events.d.ts" />
|
|
55
|
-
/// <reference path="../tty.d.ts" />
|
|
56
|
-
/// <reference path="../url.d.ts" />
|
|
57
|
-
/// <reference path="../util.d.ts" />
|
|
58
|
-
/// <reference path="../v8.d.ts" />
|
|
59
|
-
/// <reference path="../vm.d.ts" />
|
|
60
|
-
/// <reference path="../worker_threads.d.ts" />
|
|
61
|
-
/// <reference path="../zlib.d.ts" />
|
|
62
|
-
|
|
63
|
-
// TypeScript 3.6-specific augmentations:
|
|
64
|
-
/// <reference path="../globals.global.d.ts" />
|
|
65
|
-
|
|
66
|
-
// TypeScript 3.6-specific augmentations:
|
|
67
|
-
/// <reference path="../wasi.d.ts" />
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// NOTE: These definitions support NodeJS and TypeScript 3.6.
|
|
2
|
-
// This is required to enable typing assert in ts3.7 without causing errors
|
|
3
|
-
// Typically type modifications should be made in base.d.ts instead of here
|
|
4
|
-
|
|
5
|
-
/// <reference path="base.d.ts" />
|
|
6
|
-
|
|
7
|
-
/// <reference path="assert.d.ts" />
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// NOTE: These definitions support NodeJS and TypeScript 3.7.
|
|
2
|
-
|
|
3
|
-
// NOTE: TypeScript version-specific augmentations can be found in the following paths:
|
|
4
|
-
// - ~/base.d.ts - Shared definitions common to all TypeScript versions
|
|
5
|
-
// - ~/index.d.ts - Definitions specific to TypeScript 2.1
|
|
6
|
-
// - ~/ts3.7/base.d.ts - Definitions specific to TypeScript 3.7
|
|
7
|
-
// - ~/ts3.7/index.d.ts - Definitions specific to TypeScript 3.7 with assert pulled in
|
|
8
|
-
|
|
9
|
-
// Reference required types from the default lib:
|
|
10
|
-
/// <reference lib="es2018" />
|
|
11
|
-
/// <reference lib="esnext.asynciterable" />
|
|
12
|
-
/// <reference lib="esnext.intl" />
|
|
13
|
-
/// <reference lib="esnext.bigint" />
|
|
14
|
-
|
|
15
|
-
// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
|
|
16
|
-
/// <reference path="ts3.6/base.d.ts" />
|
|
17
|
-
|
|
18
|
-
// TypeScript 3.7-specific augmentations:
|
|
19
|
-
/// <reference path="assert.d.ts" />
|