cloudstructs 0.5.3 → 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 +11 -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.d.ts +0 -1
- package/lib/codecommit-mirror/index.js +5 -6
- package/lib/ecs-service-roller/index.d.ts +0 -1
- package/lib/ecs-service-roller/index.js +5 -6
- package/lib/email-receiver/index.d.ts +0 -1
- package/lib/email-receiver/receiver.d.ts +0 -1
- package/lib/email-receiver/receiver.js +1 -1
- package/lib/email-receiver/s3-function.d.ts +0 -1
- package/lib/email-receiver/s3.lambda.d.ts +0 -1
- package/lib/email-receiver/whitelist-function.d.ts +0 -1
- package/lib/email-receiver/whitelist.lambda.d.ts +0 -1
- package/lib/index.d.ts +0 -1
- package/lib/saml-identity-provider/index.d.ts +0 -1
- package/lib/saml-identity-provider/index.js +4 -5
- package/lib/slack-app/index.d.ts +0 -1
- package/lib/slack-app/manifest.d.ts +0 -1
- package/lib/slack-app/manifest.js +33 -35
- package/lib/slack-app/provider-function.d.ts +0 -1
- package/lib/slack-app/provider.d.ts +0 -1
- package/lib/slack-app/provider.js +2 -3
- package/lib/slack-app/provider.lambda.d.ts +0 -1
- package/lib/slack-app/provider.lambda.js +3 -4
- package/lib/slack-app/slack-app.d.ts +0 -1
- package/lib/slack-app/slack-app.js +4 -5
- package/lib/slack-events/events-function.d.ts +0 -1
- package/lib/slack-events/events.lambda.d.ts +0 -1
- package/lib/slack-events/index.d.ts +0 -1
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-events/signature.d.ts +0 -1
- package/lib/slack-textract/detect-function.d.ts +0 -1
- package/lib/slack-textract/detect.lambda.d.ts +0 -1
- package/lib/slack-textract/index.d.ts +0 -1
- package/lib/slack-textract/index.js +1 -1
- package/lib/state-machine-cr-provider/index.d.ts +0 -1
- package/lib/state-machine-cr-provider/index.js +3 -4
- package/lib/state-machine-cr-provider/runtime/http.d.ts +0 -1
- package/lib/state-machine-cr-provider/runtime/http.js +3 -4
- package/lib/state-machine-cr-provider/runtime/index.d.ts +0 -1
- package/lib/state-machine-cr-provider/runtime/index.js +5 -7
- package/lib/static-website/index.d.ts +0 -1
- package/lib/static-website/index.js +3 -4
- package/lib/static-website/origin-request-function.d.ts +0 -1
- package/lib/static-website/origin-request.edge-lambda.d.ts +0 -1
- package/lib/toolkit-cleaner/clean-images-function.d.ts +0 -1
- package/lib/toolkit-cleaner/clean-images.lambda.d.ts +0 -1
- package/lib/toolkit-cleaner/clean-images.lambda.js +3 -4
- package/lib/toolkit-cleaner/clean-objects-function.d.ts +0 -1
- package/lib/toolkit-cleaner/clean-objects.lambda.d.ts +0 -1
- package/lib/toolkit-cleaner/clean-objects.lambda.js +3 -4
- package/lib/toolkit-cleaner/extract-template-hashes-function.d.ts +0 -1
- package/lib/toolkit-cleaner/extract-template-hashes.lambda.d.ts +0 -1
- package/lib/toolkit-cleaner/get-stack-names-function.d.ts +0 -1
- package/lib/toolkit-cleaner/get-stack-names.lambda.d.ts +0 -1
- package/lib/toolkit-cleaner/get-stack-names.lambda.js +2 -3
- package/lib/toolkit-cleaner/index.d.ts +0 -1
- package/lib/toolkit-cleaner/index.js +4 -5
- package/lib/url-shortener/index.d.ts +0 -1
- package/lib/url-shortener/index.js +4 -5
- package/lib/url-shortener/redirect-function.d.ts +0 -1
- package/lib/url-shortener/redirect.edge-lambda.d.ts +0 -1
- package/lib/url-shortener/redirect.edge-lambda.js +2 -3
- package/lib/url-shortener/shortener-function.d.ts +0 -1
- package/lib/url-shortener/shortener.lambda.d.ts +0 -1
- package/lib/url-shortener/shortener.lambda.js +3 -4
- 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 +40 -17
- package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +33 -44
- 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 +3 -3
- 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 +14 -13
- 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 +80 -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 +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +18 -10
- 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 +40 -17
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +33 -44
- 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 +3 -3
- 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 +14 -13
- 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 +80 -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 +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +18 -10
- 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 +40 -17
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +33 -44
- 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 +3 -3
- 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 +14 -13
- 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 +80 -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 +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +18 -10
- 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 +40 -17
- package/node_modules/@types/is-stream/node_modules/@types/node/fs.d.ts +33 -44
- 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 +3 -3
- 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 +14 -13
- 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 +80 -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 +3 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/tls.d.ts +18 -10
- 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 +40 -17
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +33 -44
- 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 +3 -3
- 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 +14 -13
- 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 +80 -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 +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +18 -10
- 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 +40 -17
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +33 -44
- 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 +3 -3
- 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 +14 -13
- 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 +80 -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 +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +18 -10
- 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 +21 -13
- package/changelog.md +0 -7
- package/lib/codecommit-mirror/index.d.ts.map +0 -1
- package/lib/ecs-service-roller/index.d.ts.map +0 -1
- package/lib/email-receiver/index.d.ts.map +0 -1
- package/lib/email-receiver/receiver.d.ts.map +0 -1
- package/lib/email-receiver/s3-function.d.ts.map +0 -1
- package/lib/email-receiver/s3.lambda.d.ts.map +0 -1
- package/lib/email-receiver/whitelist-function.d.ts.map +0 -1
- package/lib/email-receiver/whitelist.lambda.d.ts.map +0 -1
- package/lib/index.d.ts.map +0 -1
- package/lib/saml-identity-provider/index.d.ts.map +0 -1
- package/lib/slack-app/index.d.ts.map +0 -1
- package/lib/slack-app/manifest.d.ts.map +0 -1
- package/lib/slack-app/provider-function.d.ts.map +0 -1
- package/lib/slack-app/provider.d.ts.map +0 -1
- package/lib/slack-app/provider.lambda.d.ts.map +0 -1
- package/lib/slack-app/slack-app.d.ts.map +0 -1
- package/lib/slack-events/events-function.d.ts.map +0 -1
- package/lib/slack-events/events.lambda.d.ts.map +0 -1
- package/lib/slack-events/index.d.ts.map +0 -1
- package/lib/slack-events/signature.d.ts.map +0 -1
- package/lib/slack-textract/detect-function.d.ts.map +0 -1
- package/lib/slack-textract/detect.lambda.d.ts.map +0 -1
- package/lib/slack-textract/index.d.ts.map +0 -1
- package/lib/state-machine-cr-provider/index.d.ts.map +0 -1
- package/lib/state-machine-cr-provider/runtime/http.d.ts.map +0 -1
- package/lib/state-machine-cr-provider/runtime/index.d.ts.map +0 -1
- package/lib/static-website/index.d.ts.map +0 -1
- package/lib/static-website/origin-request-function.d.ts.map +0 -1
- package/lib/static-website/origin-request.edge-lambda.d.ts.map +0 -1
- package/lib/toolkit-cleaner/clean-images-function.d.ts.map +0 -1
- package/lib/toolkit-cleaner/clean-images.lambda.d.ts.map +0 -1
- package/lib/toolkit-cleaner/clean-objects-function.d.ts.map +0 -1
- package/lib/toolkit-cleaner/clean-objects.lambda.d.ts.map +0 -1
- package/lib/toolkit-cleaner/extract-template-hashes-function.d.ts.map +0 -1
- package/lib/toolkit-cleaner/extract-template-hashes.lambda.d.ts.map +0 -1
- package/lib/toolkit-cleaner/get-stack-names-function.d.ts.map +0 -1
- package/lib/toolkit-cleaner/get-stack-names.lambda.d.ts.map +0 -1
- package/lib/toolkit-cleaner/index.d.ts.map +0 -1
- package/lib/url-shortener/index.d.ts.map +0 -1
- package/lib/url-shortener/redirect-function.d.ts.map +0 -1
- package/lib/url-shortener/redirect.edge-lambda.d.ts.map +0 -1
- package/lib/url-shortener/shortener-function.d.ts.map +0 -1
- package/lib/url-shortener/shortener.lambda.d.ts.map +0 -1
- 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
- package/releasetag.txt +0 -1
- package/version.txt +0 -1
|
@@ -3,30 +3,75 @@
|
|
|
3
3
|
// We define these manually to ensure they're always copied
|
|
4
4
|
// even if they would move up the prototype chain
|
|
5
5
|
// https://nodejs.org/api/http.html#http_class_http_incomingmessage
|
|
6
|
-
const
|
|
7
|
-
'
|
|
8
|
-
'
|
|
9
|
-
'socket',
|
|
6
|
+
const knownProperties = [
|
|
7
|
+
'aborted',
|
|
8
|
+
'complete',
|
|
10
9
|
'headers',
|
|
11
|
-
'trailers',
|
|
12
|
-
'rawHeaders',
|
|
13
|
-
'statusCode',
|
|
14
10
|
'httpVersion',
|
|
15
11
|
'httpVersionMinor',
|
|
16
12
|
'httpVersionMajor',
|
|
13
|
+
'method',
|
|
14
|
+
'rawHeaders',
|
|
17
15
|
'rawTrailers',
|
|
18
|
-
'
|
|
16
|
+
'setTimeout',
|
|
17
|
+
'socket',
|
|
18
|
+
'statusCode',
|
|
19
|
+
'statusMessage',
|
|
20
|
+
'trailers',
|
|
21
|
+
'url'
|
|
19
22
|
];
|
|
20
23
|
|
|
21
24
|
module.exports = (fromStream, toStream) => {
|
|
22
|
-
|
|
25
|
+
if (toStream._readableState.autoDestroy) {
|
|
26
|
+
throw new Error('The second stream must have the `autoDestroy` option set to `false`');
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
const fromProperties = new Set(Object.keys(fromStream).concat(knownProperties));
|
|
30
|
+
|
|
31
|
+
const properties = {};
|
|
23
32
|
|
|
24
|
-
for (const
|
|
25
|
-
// Don't overwrite existing properties
|
|
26
|
-
if (
|
|
33
|
+
for (const property of fromProperties) {
|
|
34
|
+
// Don't overwrite existing properties.
|
|
35
|
+
if (property in toStream) {
|
|
27
36
|
continue;
|
|
28
37
|
}
|
|
29
38
|
|
|
30
|
-
|
|
39
|
+
properties[property] = {
|
|
40
|
+
get() {
|
|
41
|
+
const value = fromStream[property];
|
|
42
|
+
const isFunction = typeof value === 'function';
|
|
43
|
+
|
|
44
|
+
return isFunction ? value.bind(fromStream) : value;
|
|
45
|
+
},
|
|
46
|
+
set(value) {
|
|
47
|
+
fromStream[property] = value;
|
|
48
|
+
},
|
|
49
|
+
enumerable: true,
|
|
50
|
+
configurable: false
|
|
51
|
+
};
|
|
31
52
|
}
|
|
53
|
+
|
|
54
|
+
Object.defineProperties(toStream, properties);
|
|
55
|
+
|
|
56
|
+
fromStream.once('aborted', () => {
|
|
57
|
+
toStream.destroy();
|
|
58
|
+
|
|
59
|
+
toStream.emit('aborted');
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
fromStream.once('close', () => {
|
|
63
|
+
if (fromStream.complete) {
|
|
64
|
+
if (toStream.readable) {
|
|
65
|
+
toStream.once('end', () => {
|
|
66
|
+
toStream.emit('close');
|
|
67
|
+
});
|
|
68
|
+
} else {
|
|
69
|
+
toStream.emit('close');
|
|
70
|
+
}
|
|
71
|
+
} else {
|
|
72
|
+
toStream.emit('close');
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
return toStream;
|
|
32
77
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
3
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
6
|
|
|
@@ -1,37 +1,42 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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
|
+
}
|
|
37
42
|
}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
# mimic-response [](https://travis-ci.com/sindresorhus/mimic-response)
|
|
2
2
|
|
|
3
3
|
> Mimic a [Node.js HTTP response stream](https://nodejs.org/api/http.html#http_class_http_incomingmessage)
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
## Install
|
|
7
6
|
|
|
8
7
|
```
|
|
9
8
|
$ npm install mimic-response
|
|
10
9
|
```
|
|
11
10
|
|
|
12
|
-
|
|
13
11
|
## Usage
|
|
14
12
|
|
|
15
13
|
```js
|
|
@@ -25,11 +23,31 @@ console.log(myStream.statusCode);
|
|
|
25
23
|
//=> 200
|
|
26
24
|
```
|
|
27
25
|
|
|
28
|
-
|
|
29
26
|
## API
|
|
30
27
|
|
|
31
28
|
### mimicResponse(from, to)
|
|
32
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
|
+
|
|
33
51
|
#### from
|
|
34
52
|
|
|
35
53
|
Type: `Stream`
|
|
@@ -42,13 +60,19 @@ Type: `Stream`
|
|
|
42
60
|
|
|
43
61
|
Any stream.
|
|
44
62
|
|
|
45
|
-
|
|
46
63
|
## Related
|
|
47
64
|
|
|
48
65
|
- [mimic-fn](https://github.com/sindresorhus/mimic-fn) - Make a function mimic another one
|
|
49
66
|
- [clone-response](https://github.com/lukechilds/clone-response) - Clone a Node.js response stream
|
|
50
67
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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>
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "responselike",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "A response-like object for mocking a Node.js HTTP response stream",
|
|
5
|
+
"funding": "https://github.com/sponsors/sindresorhus",
|
|
5
6
|
"main": "src/index.js",
|
|
6
7
|
"scripts": {
|
|
7
8
|
"test": "xo && nyc ava",
|
|
@@ -20,7 +21,7 @@
|
|
|
20
21
|
],
|
|
21
22
|
"repository": {
|
|
22
23
|
"type": "git",
|
|
23
|
-
"url": "https://github.com/
|
|
24
|
+
"url": "https://github.com/sindresorhus/responselike.git"
|
|
24
25
|
},
|
|
25
26
|
"author": "lukechilds",
|
|
26
27
|
"license": "MIT",
|
package/package.json
CHANGED
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"package": "npx projen package",
|
|
60
60
|
"package-all": "npx projen package-all",
|
|
61
61
|
"package:go": "npx projen package:go",
|
|
62
|
+
"package:java": "npx projen package:java",
|
|
62
63
|
"package:js": "npx projen package:js",
|
|
63
64
|
"package:python": "npx projen package:python",
|
|
64
65
|
"post-compile": "npx projen post-compile",
|
|
@@ -81,35 +82,35 @@
|
|
|
81
82
|
"devDependencies": {
|
|
82
83
|
"@aws-cdk/aws-apigatewayv2-alpha": "2.1.0-alpha.0",
|
|
83
84
|
"@aws-cdk/aws-apigatewayv2-integrations-alpha": "2.1.0-alpha.0",
|
|
84
|
-
"@types/aws-lambda": "^8.10.
|
|
85
|
-
"@types/jest": "^
|
|
85
|
+
"@types/aws-lambda": "^8.10.101",
|
|
86
|
+
"@types/jest": "^27",
|
|
86
87
|
"@types/node": "^14",
|
|
87
88
|
"@types/tsscmp": "^1.0.0",
|
|
88
89
|
"@typescript-eslint/eslint-plugin": "^5",
|
|
89
90
|
"@typescript-eslint/parser": "^5",
|
|
90
91
|
"aws-cdk": "^2",
|
|
91
92
|
"aws-cdk-lib": "2.1.0",
|
|
92
|
-
"aws-sdk": "^2.
|
|
93
|
+
"aws-sdk": "^2.1177.0",
|
|
93
94
|
"aws-sdk-mock": "^5.7.0",
|
|
94
95
|
"constructs": "10.0.5",
|
|
95
|
-
"esbuild": "^0.14.
|
|
96
|
+
"esbuild": "^0.14.49",
|
|
96
97
|
"eslint": "^8",
|
|
97
98
|
"eslint-import-resolver-node": "^0.3.6",
|
|
98
99
|
"eslint-import-resolver-typescript": "^2.7.1",
|
|
99
100
|
"eslint-plugin-import": "^2.26.0",
|
|
100
101
|
"jest": "^27",
|
|
101
102
|
"jest-junit": "^13",
|
|
102
|
-
"jsii": "^1.
|
|
103
|
-
"jsii-diff": "^1.
|
|
103
|
+
"jsii": "^1.62.0",
|
|
104
|
+
"jsii-diff": "^1.62.0",
|
|
104
105
|
"jsii-docgen": "^1.8.110",
|
|
105
|
-
"jsii-pacmak": "^1.
|
|
106
|
+
"jsii-pacmak": "^1.62.0",
|
|
106
107
|
"json-schema": "^0.4.0",
|
|
107
|
-
"nock": "^13.2.
|
|
108
|
-
"npm-check-updates": "^
|
|
109
|
-
"projen": "^0.
|
|
108
|
+
"nock": "^13.2.8",
|
|
109
|
+
"npm-check-updates": "^15",
|
|
110
|
+
"projen": "^0.58.36",
|
|
110
111
|
"standard-version": "^9",
|
|
111
112
|
"ts-jest": "^27",
|
|
112
|
-
"ts-node": "^10.
|
|
113
|
+
"ts-node": "^10.9.1",
|
|
113
114
|
"typescript": "^3.9.10"
|
|
114
115
|
},
|
|
115
116
|
"peerDependencies": {
|
|
@@ -131,11 +132,11 @@
|
|
|
131
132
|
],
|
|
132
133
|
"main": "lib/index.js",
|
|
133
134
|
"license": "Apache-2.0",
|
|
134
|
-
"version": "0.5.
|
|
135
|
+
"version": "0.5.6",
|
|
135
136
|
"jest": {
|
|
136
137
|
"testMatch": [
|
|
137
138
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|
|
138
|
-
"<rootDir>/(test|src)
|
|
139
|
+
"<rootDir>/(test|src)/**/*(*.)@(spec|test).ts?(x)"
|
|
139
140
|
],
|
|
140
141
|
"clearMocks": true,
|
|
141
142
|
"collectCoverage": true,
|
|
@@ -177,6 +178,13 @@
|
|
|
177
178
|
"jsii": {
|
|
178
179
|
"outdir": "dist",
|
|
179
180
|
"targets": {
|
|
181
|
+
"java": {
|
|
182
|
+
"package": "io.github.jogold.cloudstructs",
|
|
183
|
+
"maven": {
|
|
184
|
+
"groupId": "io.github.jogold",
|
|
185
|
+
"artifactId": "cloudstructs"
|
|
186
|
+
}
|
|
187
|
+
},
|
|
180
188
|
"python": {
|
|
181
189
|
"distName": "cloudstructs",
|
|
182
190
|
"module": "cloudstructs"
|
package/changelog.md
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
### [0.5.3](https://github.com/jogold/cloudstructs/compare/v0.5.2...v0.5.3) (2022-05-27)
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
### Features
|
|
6
|
-
|
|
7
|
-
* publish Go bindings ([#182](https://github.com/jogold/cloudstructs/issues/182)) ([383f989](https://github.com/jogold/cloudstructs/commit/383f98991d2b454ceccd54a96ab1ea7c9db7fcff))
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/codecommit-mirror/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAC;AAC3C,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAC;AAC3C,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AAIjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,gCAAgC,CAAC;IAEtD;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAC,QAAQ,CAAC;IAE/B;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC;IAEpC;;;;OAIG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,GAAG,CAAC,eAAe,CAAC;CAChD;AAED;;GAEG;AACH,8BAAsB,gCAAgC;IACpD;;OAEG;WACW,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,gCAAgC;IAOnF;;;;;;OAMG;WACW,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,CAAC,MAAM,GAAG,gCAAgC;IAOtF;;OAEG;IACH,kBAAyB,IAAI,EAAE,MAAM,CAAC;IAEtC,sEAAsE;IACtE,kBAAyB,YAAY,CAAC,EAAE,MAAM,CAAC;IAE/C;;;;;;;;OAQG;IACH,kBAAyB,SAAS,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC;CACjD;AAED;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,SAAS;gBACjC,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,qBAAqB;CA8CvE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ecs-service-roller/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAC;AAC3C,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AAGjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAC,QAAQ,CAAC;IAE/B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAC,QAAQ,CAAC;IAE/B;;;;OAIG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,WAAW,CAAC;CAChC;AAED;;GAEG;AACH,8BAAsB,WAAW;IAC/B;;OAEG;WACW,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,GAAG,WAAW;IAIlE;;OAEG;WACW,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,GAAG,WAAW;IAItD;;;;OAIG;IACH,kBAAyB,QAAQ,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC;IAEpD;;;;OAIG;IACH,kBAAyB,IAAI,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC;CAC7C;AAED;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,SAAS;gBACjC,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,qBAAqB;CA+BvE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/email-receiver/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"receiver.d.ts","sourceRoot":"","sources":["../../src/email-receiver/receiver.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AAIjD,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAC;AAI3C,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAIvC;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,GAAG,CAAC,eAAe,CAAC;IAE7C;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,CAAC;IAE9B;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,SAAS,CAAC;IAEpC;;;;OAIG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAElC;;;;OAIG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC;CACvC;AAED;;;GAGG;AACH,qBAAa,aAAc,SAAQ,SAAS;gBAC9B,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,kBAAkB;CA+CpE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"s3-function.d.ts","sourceRoot":"","sources":["../../src/email-receiver/s3-function.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,MAAM,CAAC,eAAe;CAC9D;AAED;;GAEG;AACH,qBAAa,UAAW,SAAQ,MAAM,CAAC,QAAQ;gBACjC,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,eAAe;CAUlE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"s3.lambda.d.ts","sourceRoot":"","sources":["../../src/email-receiver/s3.lambda.ts"],"names":[],"mappings":"AACA,wBAAsB,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC,CAMtF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"whitelist-function.d.ts","sourceRoot":"","sources":["../../src/email-receiver/whitelist-function.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,MAAM,CAAC,eAAe;CACrE;AAED;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,QAAQ;gBACxC,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,sBAAsB;CAUzE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"whitelist.lambda.d.ts","sourceRoot":"","sources":["../../src/email-receiver/whitelist.lambda.ts"],"names":[],"mappings":"AACA,wBAAsB,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC,QAAQ,GAAG,OAAO,CAAC;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CAgBzF"}
|
package/lib/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/saml-identity-provider/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAC;AAG3C,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC;;;;OAIG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEvB;;;;;;;OAOG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;CACnC;AAED;;;;GAIG;AACH,qBAAa,oBAAqB,SAAQ,SAAS;IACjD;;OAEG;IACH,SAAgB,uBAAuB,EAAE,MAAM,CAAC;gBAEpC,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,yBAAyB;CAqD3E;AAED;;;;GAIG;AACH,qBAAa,sBAAuB,SAAQ,GAAG,CAAC,kBAAkB;gBACpD,gBAAgB,EAAE,oBAAoB;CAWnD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/slack-app/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../src/slack-app/manifest.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;;;;;OAMG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAE9B;;;;OAIG;IACH,QAAQ,CAAC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
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"provider-function.d.ts","sourceRoot":"","sources":["../../src/slack-app/provider-function.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,MAAM,CAAC,eAAe;CACpE;AAED;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,MAAM,CAAC,QAAQ;gBACvC,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,qBAAqB;CAUxE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/slack-app/provider.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AAGjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,qBAAa,gBAAiB,SAAQ,SAAS;IAC7C;;OAEG;WACW,WAAW,CAAC,KAAK,EAAE,SAAS,GAAG,gBAAgB;IAM7D,SAAgB,YAAY,EAAE,MAAM,CAAC;IAErC,SAAgB,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC;gBAE7B,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM;CAazC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"provider.lambda.d.ts","sourceRoot":"","sources":["../../src/slack-app/provider.lambda.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,2DAA2D,CAAC;AAyD5G,wBAAsB,OAAO,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC,CAmF7E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slack-app.d.ts","sourceRoot":"","sources":["../../src/slack-app/slack-app.ts"],"names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3,"file":"events-function.d.ts","sourceRoot":"","sources":["../../src/slack-events/events-function.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,MAAM,CAAC,eAAe;CAClE;AAED;;GAEG;AACH,qBAAa,cAAe,SAAQ,MAAM,CAAC,QAAQ;gBACrC,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,mBAAmB;CAUtE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"events.lambda.d.ts","sourceRoot":"","sources":["../../src/slack-events/events.lambda.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,wBAAsB,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC,oBAAoB,GAAG,OAAO,CAAC,SAAS,CAAC,qBAAqB,CAAC,CA2D7G"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/slack-events/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,GAAG,MAAM,aAAa,CAAC;AACnC,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,GAAG,CAAC,WAAW,CAAC;IAExC;;;;OAIG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAE1B;;;;OAIG;IACH,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;CACnC;AAED;;GAEG;AACH,qBAAa,WAAY,SAAQ,SAAS;IACxC;;OAEG;IACH,SAAgB,QAAQ,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC;gBAE/B,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB;CA+BlE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signature.d.ts","sourceRoot":"","sources":["../../src/slack-events/signature.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAChC;AAED,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,6BAA6B,GAAG,OAAO,CAoBtF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"detect-function.d.ts","sourceRoot":"","sources":["../../src/slack-textract/detect-function.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,MAAM,CAAC,eAAe;CAClE;AAED;;GAEG;AACH,qBAAa,cAAe,SAAQ,MAAM,CAAC,QAAQ;gBACrC,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,mBAAmB;CAUtE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"detect.lambda.d.ts","sourceRoot":"","sources":["../../src/slack-textract/detect.lambda.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAI7D,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAgB,SAAQ,gBAAgB;IACvD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,EAAE;YACN,MAAM,EAAE;gBACN,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC;oBAClB,EAAE,EAAE,MAAM,CAAC;iBACZ,CAAC,CAAC;aACJ,CAAC;SACH,CAAC;KACH,CAAC;CACH;AAGD,wBAAsB,OAAO,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CA0C9D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/slack-textract/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAE,MAAM,aAAa,CAAC;AAKpD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAIvC;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,WAAW,CAAC;IAEpC;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC;IAE/B;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,qBAAa,aAAc,SAAQ,SAAS;gBAC9B,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,kBAAkB;CAoCpE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/state-machine-cr-provider/index.ts"],"names":[],"mappings":"AACA,OAAO,EAA0B,QAAQ,EAAS,MAAM,aAAa,CAAC;AAGtE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACtD;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,aAAa,CAAC;IAErC;;;;OAIG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC;CAC7B;AAED;;GAEG;AACH,qBAAa,kCAAmC,SAAQ,SAAS;IAC/D;;OAEG;IACH,SAAgB,YAAY,EAAE,MAAM,CAAC;gBAEzB,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,uCAAuC;IA0FxF,OAAO,CAAC,mBAAmB;CAO5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../src/state-machine-cr-provider/runtime/http.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,0BAA0B,sDAAsD,CAAC;AAE9F,UAAU,sBAAsB;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,OAAO,CAAC,MAAM,EAAE,SAAS,GAAG,QAAQ,EAAE,KAAK,EAAE,sBAAsB,oBAkClF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/state-machine-cr-provider/runtime/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gCAAgC,gDAAgD,CAAC;AAE9F,UAAU,MAAM;IACd,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,UAAU,eAAe;IACvB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;;;OAIG;IACH,QAAQ,CAAC,qBAAqB,CAAC,EAAE,UAAU,CAAC,qBAAqB,CAAC;CACnE;AAED;;GAEG;AACH,qBAAa,aAAc,SAAQ,SAAS;IAC1C;;MAEE;IACF,OAAc,8BAA8B,EAAE,UAAU,CAAC,+BAA+B,CAuBtF;IAEF;;OAEG;IACH,SAAgB,YAAY,EAAE,UAAU,CAAC,YAAY,CAAC;IAEtD;;OAEG;IACH,SAAgB,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC;gBAEtB,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,kBAAkB;CAiFpE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"origin-request-function.d.ts","sourceRoot":"","sources":["../../src/static-website/origin-request-function.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,UAAU,MAAM,4BAA4B,CAAC;AAEzD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,UAAU,CAAC,YAAY,CAAC,iBAAiB;CAC5F;AAED;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,UAAU,CAAC,YAAY,CAAC,YAAY;gBACjE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,0BAA0B;CAS7E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"origin-request.edge-lambda.d.ts","sourceRoot":"","sources":["../../src/static-website/origin-request.edge-lambda.ts"],"names":[],"mappings":"AAEA,wBAAsB,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC,sBAAsB,GAAG,OAAO,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAM3G"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clean-images-function.d.ts","sourceRoot":"","sources":["../../src/toolkit-cleaner/clean-images-function.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,MAAM,CAAC,eAAe;CACvE;AAED;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,MAAM,CAAC,QAAQ;gBAC1C,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,wBAAwB;CAU3E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clean-images.lambda.d.ts","sourceRoot":"","sources":["../../src/toolkit-cleaner/clean-images.lambda.ts"],"names":[],"mappings":"AAIA,wBAAsB,OAAO,CAAC,WAAW,EAAE,MAAM,EAAE;;;GAwDlD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clean-objects-function.d.ts","sourceRoot":"","sources":["../../src/toolkit-cleaner/clean-objects-function.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,MAAM,CAAC,eAAe;CACxE;AAED;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,MAAM,CAAC,QAAQ;gBAC3C,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,yBAAyB;CAU5E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clean-objects.lambda.d.ts","sourceRoot":"","sources":["../../src/toolkit-cleaner/clean-objects.lambda.ts"],"names":[],"mappings":"AAKA,wBAAsB,OAAO,CAAC,WAAW,EAAE,MAAM,EAAE;;;GA2DlD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extract-template-hashes-function.d.ts","sourceRoot":"","sources":["../../src/toolkit-cleaner/extract-template-hashes-function.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,kCAAmC,SAAQ,MAAM,CAAC,eAAe;CACjF;AAED;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,MAAM,CAAC,QAAQ;gBACpD,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,kCAAkC;CAUrF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extract-template-hashes.lambda.d.ts","sourceRoot":"","sources":["../../src/toolkit-cleaner/extract-template-hashes.lambda.ts"],"names":[],"mappings":"AAIA,wBAAsB,OAAO,CAAC,SAAS,EAAE,MAAM,qBAY9C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-stack-names-function.d.ts","sourceRoot":"","sources":["../../src/toolkit-cleaner/get-stack-names-function.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,MAAM,CAAC,eAAe;CACzE;AAED;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,MAAM,CAAC,QAAQ;gBAC5C,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,0BAA0B;CAU7E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-stack-names.lambda.d.ts","sourceRoot":"","sources":["../../src/toolkit-cleaner/get-stack-names.lambda.ts"],"names":[],"mappings":"AAIA,wBAAsB,OAAO,sBAgB5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/toolkit-cleaner/index.ts"],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B,CAAC,EAAE,GAAG,CAAC,qBAAqB,CAAC;IAExD;;;;OAIG;IACH,QAAQ,CAAC,oBAAoB,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC;IAEvD;;;;OAIG;IACH,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAErC;;;;OAIG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;GAEG;AACH,qBAAa,YAAa,SAAQ,SAAS;IACzC;;OAEG;IACH,SAAgB,WAAW,EAAE,MAAM,CAAC;IAEpC;;OAEG;IACH,SAAgB,GAAG,EAAE,UAAU,CAAC,aAAa,CAAC;gBAElC,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,iBAAiB;CA4GnE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"redirect-function.d.ts","sourceRoot":"","sources":["../../src/url-shortener/redirect-function.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,UAAU,MAAM,4BAA4B,CAAC;AAEzD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,UAAU,CAAC,YAAY,CAAC,iBAAiB;CACvF;AAED;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,UAAU,CAAC,YAAY,CAAC,YAAY;gBAC5D,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,qBAAqB;CASxE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"redirect.edge-lambda.d.ts","sourceRoot":"","sources":["../../src/url-shortener/redirect.edge-lambda.ts"],"names":[],"mappings":"AAIA,wBAAsB,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC,sBAAsB,GAAG,OAAO,CAAC,SAAS,CAAC,uBAAuB,CAAC,CA0CjH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shortener-function.d.ts","sourceRoot":"","sources":["../../src/url-shortener/shortener-function.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,MAAM,CAAC,eAAe;CACrE;AAED;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,QAAQ;gBACxC,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,sBAAsB;CAUzE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shortener.lambda.d.ts","sourceRoot":"","sources":["../../src/url-shortener/shortener.lambda.ts"],"names":[],"mappings":"AAyCA,wBAAsB,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC,oBAAoB,GAAG,OAAO,CAAC,SAAS,CAAC,qBAAqB,CAAC,CAgE7G"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
// We define these manually to ensure they're always copied
|
|
4
|
-
// even if they would move up the prototype chain
|
|
5
|
-
// https://nodejs.org/api/http.html#http_class_http_incomingmessage
|
|
6
|
-
const knownProperties = [
|
|
7
|
-
'aborted',
|
|
8
|
-
'complete',
|
|
9
|
-
'headers',
|
|
10
|
-
'httpVersion',
|
|
11
|
-
'httpVersionMinor',
|
|
12
|
-
'httpVersionMajor',
|
|
13
|
-
'method',
|
|
14
|
-
'rawHeaders',
|
|
15
|
-
'rawTrailers',
|
|
16
|
-
'setTimeout',
|
|
17
|
-
'socket',
|
|
18
|
-
'statusCode',
|
|
19
|
-
'statusMessage',
|
|
20
|
-
'trailers',
|
|
21
|
-
'url'
|
|
22
|
-
];
|
|
23
|
-
|
|
24
|
-
module.exports = (fromStream, toStream) => {
|
|
25
|
-
if (toStream._readableState.autoDestroy) {
|
|
26
|
-
throw new Error('The second stream must have the `autoDestroy` option set to `false`');
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
const fromProperties = new Set(Object.keys(fromStream).concat(knownProperties));
|
|
30
|
-
|
|
31
|
-
const properties = {};
|
|
32
|
-
|
|
33
|
-
for (const property of fromProperties) {
|
|
34
|
-
// Don't overwrite existing properties.
|
|
35
|
-
if (property in toStream) {
|
|
36
|
-
continue;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
properties[property] = {
|
|
40
|
-
get() {
|
|
41
|
-
const value = fromStream[property];
|
|
42
|
-
const isFunction = typeof value === 'function';
|
|
43
|
-
|
|
44
|
-
return isFunction ? value.bind(fromStream) : value;
|
|
45
|
-
},
|
|
46
|
-
set(value) {
|
|
47
|
-
fromStream[property] = value;
|
|
48
|
-
},
|
|
49
|
-
enumerable: true,
|
|
50
|
-
configurable: false
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
Object.defineProperties(toStream, properties);
|
|
55
|
-
|
|
56
|
-
fromStream.once('aborted', () => {
|
|
57
|
-
toStream.destroy();
|
|
58
|
-
|
|
59
|
-
toStream.emit('aborted');
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
fromStream.once('close', () => {
|
|
63
|
-
if (fromStream.complete) {
|
|
64
|
-
if (toStream.readable) {
|
|
65
|
-
toStream.once('end', () => {
|
|
66
|
-
toStream.emit('close');
|
|
67
|
-
});
|
|
68
|
-
} else {
|
|
69
|
-
toStream.emit('close');
|
|
70
|
-
}
|
|
71
|
-
} else {
|
|
72
|
-
toStream.emit('close');
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
|
|
76
|
-
return toStream;
|
|
77
|
-
};
|