cloudstructs 0.5.5 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +4 -4
- package/assets/slack-app/provider.lambda/index.js +107 -105
- package/assets/slack-textract/detect.lambda/index.js +113 -110
- package/assets/url-shortener/shortener.lambda/index.js +9 -23
- 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-app/manifest.js +1 -1
- package/lib/slack-app/slack-app.js +2 -2
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-textract/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/static-website/index.js +1 -1
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +7 -8
- package/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +11 -5
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +6 -3
- package/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +14 -18
- package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +668 -42
- package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +2 -1
- package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +3 -2
- package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +17 -27
- package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +15 -16
- package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +24 -42
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +79 -23
- package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +7 -2
- package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +11 -1
- package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +2 -1
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +10 -13
- package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +27 -7
- package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +5 -4
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +16 -2
- package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +67 -15
- package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +142 -0
- package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +17 -9
- package/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +11 -1
- package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +4 -2
- package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +25 -19
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +20 -9
- package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +19 -1
- package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +5 -3
- package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +2 -5
- package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +7 -8
- package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +11 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +6 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +14 -18
- package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +668 -42
- package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +2 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +3 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +17 -27
- package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +15 -16
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +24 -42
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +79 -23
- package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +7 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +11 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +2 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +10 -13
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +27 -7
- package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +5 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +16 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +67 -15
- package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +142 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +17 -9
- package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +11 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +4 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +25 -19
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +20 -9
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +19 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +5 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +2 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +7 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +11 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +6 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +14 -18
- package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +668 -42
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +2 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +3 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +17 -27
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +15 -16
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +24 -42
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +79 -23
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +7 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +11 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +2 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +10 -13
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +27 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +5 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +16 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +67 -15
- package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +142 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +17 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +11 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +4 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +25 -19
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +20 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +19 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +5 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +2 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/assert.d.ts +7 -8
- package/node_modules/@types/is-stream/node_modules/@types/node/async_hooks.d.ts +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +11 -5
- package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +6 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/cluster.d.ts +14 -18
- package/node_modules/@types/is-stream/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +668 -42
- package/node_modules/@types/is-stream/node_modules/@types/node/dgram.d.ts +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/diagnostics_channel.d.ts +2 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/dns/promises.d.ts +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/dns.d.ts +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/domain.d.ts +3 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/events.d.ts +17 -27
- package/node_modules/@types/is-stream/node_modules/@types/node/fs/promises.d.ts +15 -16
- package/node_modules/@types/is-stream/node_modules/@types/node/fs.d.ts +24 -42
- package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +79 -23
- package/node_modules/@types/is-stream/node_modules/@types/node/http2.d.ts +7 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/https.d.ts +11 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/index.d.ts +2 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/inspector.d.ts +10 -13
- package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +27 -7
- package/node_modules/@types/is-stream/node_modules/@types/node/os.d.ts +5 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/perf_hooks.d.ts +16 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/querystring.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/readline.d.ts +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/repl.d.ts +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +67 -15
- package/node_modules/@types/is-stream/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/test.d.ts +142 -0
- package/node_modules/@types/is-stream/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/tls.d.ts +17 -9
- package/node_modules/@types/is-stream/node_modules/@types/node/trace_events.d.ts +11 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/tty.d.ts +4 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/url.d.ts +25 -19
- package/node_modules/@types/is-stream/node_modules/@types/node/util.d.ts +20 -9
- package/node_modules/@types/is-stream/node_modules/@types/node/v8.d.ts +19 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/vm.d.ts +5 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/worker_threads.d.ts +2 -5
- package/node_modules/@types/is-stream/node_modules/@types/node/zlib.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +7 -8
- package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +11 -5
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +6 -3
- package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +14 -18
- package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +668 -42
- package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +2 -1
- package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +3 -2
- package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +17 -27
- package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +15 -16
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +24 -42
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +79 -23
- package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +7 -2
- package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +11 -1
- package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +2 -1
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +10 -13
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +27 -7
- package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +5 -4
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +16 -2
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +67 -15
- package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +142 -0
- package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +17 -9
- package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +11 -1
- package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +4 -2
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +25 -19
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +20 -9
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +19 -1
- package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +5 -3
- package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +2 -5
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +7 -8
- package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +11 -5
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +6 -3
- package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +14 -18
- package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +668 -42
- package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +2 -1
- package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +3 -2
- package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +17 -27
- package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +15 -16
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +24 -42
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +79 -23
- package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +7 -2
- package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +11 -1
- package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +2 -1
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +10 -13
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +27 -7
- package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +5 -4
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +16 -2
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +67 -15
- package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +142 -0
- package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +17 -9
- package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +11 -1
- package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +4 -2
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +25 -19
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +20 -9
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +19 -1
- package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +5 -3
- package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +2 -5
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +1 -1
- package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/buffer-stream.js +0 -0
- package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/index.d.ts +0 -0
- package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/index.js +0 -0
- package/node_modules/{decompress-response/node_modules/mimic-response → cacheable-request/node_modules/get-stream}/license +0 -0
- package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/package.json +0 -0
- package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/readme.md +0 -0
- package/node_modules/clone-response/node_modules/mimic-response/index.js +32 -0
- package/node_modules/{get-stream → clone-response/node_modules/mimic-response}/license +1 -1
- package/node_modules/clone-response/node_modules/mimic-response/package.json +37 -0
- package/node_modules/clone-response/node_modules/mimic-response/readme.md +54 -0
- package/node_modules/clone-response/package.json +3 -6
- package/node_modules/keyv/README.md +16 -3
- package/node_modules/keyv/package.json +6 -8
- package/node_modules/keyv/src/index.d.ts +16 -2
- package/node_modules/{decompress-response/node_modules/mimic-response → mimic-response}/index.d.ts +0 -0
- package/node_modules/mimic-response/index.js +58 -13
- package/node_modules/mimic-response/license +1 -1
- package/node_modules/mimic-response/package.json +40 -35
- package/node_modules/mimic-response/readme.md +33 -9
- package/node_modules/responselike/package.json +3 -2
- package/package.json +13 -13
- package/node_modules/decompress-response/node_modules/mimic-response/index.js +0 -77
- package/node_modules/decompress-response/node_modules/mimic-response/package.json +0 -42
- package/node_modules/decompress-response/node_modules/mimic-response/readme.md +0 -78
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "mimic-response",
|
|
3
|
-
"version": "3.1.0",
|
|
4
|
-
"description": "Mimic a Node.js HTTP response stream",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/mimic-response",
|
|
7
|
-
"funding": "https://github.com/sponsors/sindresorhus",
|
|
8
|
-
"author": {
|
|
9
|
-
"name": "Sindre Sorhus",
|
|
10
|
-
"email": "sindresorhus@gmail.com",
|
|
11
|
-
"url": "https://sindresorhus.com"
|
|
12
|
-
},
|
|
13
|
-
"engines": {
|
|
14
|
-
"node": ">=10"
|
|
15
|
-
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"test": "xo && ava && tsd"
|
|
18
|
-
},
|
|
19
|
-
"files": [
|
|
20
|
-
"index.d.ts",
|
|
21
|
-
"index.js"
|
|
22
|
-
],
|
|
23
|
-
"keywords": [
|
|
24
|
-
"mimic",
|
|
25
|
-
"response",
|
|
26
|
-
"stream",
|
|
27
|
-
"http",
|
|
28
|
-
"https",
|
|
29
|
-
"request",
|
|
30
|
-
"get",
|
|
31
|
-
"core"
|
|
32
|
-
],
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"@types/node": "^14.0.1",
|
|
35
|
-
"ava": "^2.4.0",
|
|
36
|
-
"create-test-server": "^2.4.0",
|
|
37
|
-
"p-event": "^4.1.0",
|
|
38
|
-
"pify": "^5.0.0",
|
|
39
|
-
"tsd": "^0.11.0",
|
|
40
|
-
"xo": "^0.30.0"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
# mimic-response [](https://travis-ci.com/sindresorhus/mimic-response)
|
|
2
|
-
|
|
3
|
-
> Mimic a [Node.js HTTP response stream](https://nodejs.org/api/http.html#http_class_http_incomingmessage)
|
|
4
|
-
|
|
5
|
-
## Install
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
$ npm install mimic-response
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
```js
|
|
14
|
-
const stream = require('stream');
|
|
15
|
-
const mimicResponse = require('mimic-response');
|
|
16
|
-
|
|
17
|
-
const responseStream = getHttpResponseStream();
|
|
18
|
-
const myStream = new stream.PassThrough();
|
|
19
|
-
|
|
20
|
-
mimicResponse(responseStream, myStream);
|
|
21
|
-
|
|
22
|
-
console.log(myStream.statusCode);
|
|
23
|
-
//=> 200
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## API
|
|
27
|
-
|
|
28
|
-
### mimicResponse(from, to)
|
|
29
|
-
|
|
30
|
-
**Note #1:** The `from.destroy(error)` function is not proxied. You have to call it manually:
|
|
31
|
-
|
|
32
|
-
```js
|
|
33
|
-
const stream = require('stream');
|
|
34
|
-
const mimicResponse = require('mimic-response');
|
|
35
|
-
|
|
36
|
-
const responseStream = getHttpResponseStream();
|
|
37
|
-
|
|
38
|
-
const myStream = new stream.PassThrough({
|
|
39
|
-
destroy(error, callback) {
|
|
40
|
-
responseStream.destroy();
|
|
41
|
-
|
|
42
|
-
callback(error);
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
myStream.destroy();
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
Please note that `myStream` and `responseStream` never throws. The error is passed to the request instead.
|
|
50
|
-
|
|
51
|
-
#### from
|
|
52
|
-
|
|
53
|
-
Type: `Stream`
|
|
54
|
-
|
|
55
|
-
[Node.js HTTP response stream.](https://nodejs.org/api/http.html#http_class_http_incomingmessage)
|
|
56
|
-
|
|
57
|
-
#### to
|
|
58
|
-
|
|
59
|
-
Type: `Stream`
|
|
60
|
-
|
|
61
|
-
Any stream.
|
|
62
|
-
|
|
63
|
-
## Related
|
|
64
|
-
|
|
65
|
-
- [mimic-fn](https://github.com/sindresorhus/mimic-fn) - Make a function mimic another one
|
|
66
|
-
- [clone-response](https://github.com/lukechilds/clone-response) - Clone a Node.js response stream
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
|
-
<div align="center">
|
|
71
|
-
<b>
|
|
72
|
-
<a href="https://tidelift.com/subscription/pkg/npm-mimic-response?utm_source=npm-mimic-response&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
|
|
73
|
-
</b>
|
|
74
|
-
<br>
|
|
75
|
-
<sub>
|
|
76
|
-
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
|
|
77
|
-
</sub>
|
|
78
|
-
</div>
|