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,38 +1,9 @@
|
|
|
1
1
|
var __create = Object.create;
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
-
var __defProps = Object.defineProperties;
|
|
4
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
6
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
9
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
11
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
12
|
-
var __spreadValues = (a, b) => {
|
|
13
|
-
for (var prop in b || (b = {}))
|
|
14
|
-
if (__hasOwnProp.call(b, prop))
|
|
15
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
-
if (__getOwnPropSymbols)
|
|
17
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
18
|
-
if (__propIsEnum.call(b, prop))
|
|
19
|
-
__defNormalProp(a, prop, b[prop]);
|
|
20
|
-
}
|
|
21
|
-
return a;
|
|
22
|
-
};
|
|
23
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
24
|
-
var __objRest = (source, exclude) => {
|
|
25
|
-
var target = {};
|
|
26
|
-
for (var prop in source)
|
|
27
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
28
|
-
target[prop] = source[prop];
|
|
29
|
-
if (source != null && __getOwnPropSymbols)
|
|
30
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
31
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
32
|
-
target[prop] = source[prop];
|
|
33
|
-
}
|
|
34
|
-
return target;
|
|
35
|
-
};
|
|
36
7
|
var __commonJS = (cb, mod) => function __require() {
|
|
37
8
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
38
9
|
};
|
|
@@ -249,7 +220,7 @@ var require_eventemitter3 = __commonJS({
|
|
|
249
220
|
EventEmitter.prototype.addListener = EventEmitter.prototype.on;
|
|
250
221
|
EventEmitter.prefixed = prefix;
|
|
251
222
|
EventEmitter.EventEmitter = EventEmitter;
|
|
252
|
-
if (typeof module2
|
|
223
|
+
if ("undefined" !== typeof module2) {
|
|
253
224
|
module2.exports = EventEmitter;
|
|
254
225
|
}
|
|
255
226
|
}
|
|
@@ -865,11 +836,12 @@ var require_p_retry = __commonJS({
|
|
|
865
836
|
};
|
|
866
837
|
var isNetworkError = (errorMessage) => networkErrorMsgs.includes(errorMessage);
|
|
867
838
|
var pRetry = (input, options) => new Promise((resolve, reject) => {
|
|
868
|
-
options =
|
|
839
|
+
options = {
|
|
869
840
|
onFailedAttempt: () => {
|
|
870
841
|
},
|
|
871
|
-
retries: 10
|
|
872
|
-
|
|
842
|
+
retries: 10,
|
|
843
|
+
...options
|
|
844
|
+
};
|
|
873
845
|
const operation = retry.operation(options);
|
|
874
846
|
operation.attempt(async (attemptNumber) => {
|
|
875
847
|
try {
|
|
@@ -13168,7 +13140,7 @@ var require_eventemitter32 = __commonJS({
|
|
|
13168
13140
|
EventEmitter.prototype.addListener = EventEmitter.prototype.on;
|
|
13169
13141
|
EventEmitter.prefixed = prefix;
|
|
13170
13142
|
EventEmitter.EventEmitter = EventEmitter;
|
|
13171
|
-
if (typeof module2
|
|
13143
|
+
if ("undefined" !== typeof module2) {
|
|
13172
13144
|
module2.exports = EventEmitter;
|
|
13173
13145
|
}
|
|
13174
13146
|
}
|
|
@@ -15231,7 +15203,7 @@ var require_source3 = __commonJS({
|
|
|
15231
15203
|
}
|
|
15232
15204
|
}
|
|
15233
15205
|
cached = cached.map((entry) => {
|
|
15234
|
-
return
|
|
15206
|
+
return { ...entry };
|
|
15235
15207
|
});
|
|
15236
15208
|
return cached;
|
|
15237
15209
|
}
|
|
@@ -15446,7 +15418,7 @@ var require_normalize_url = __commonJS({
|
|
|
15446
15418
|
return `data:${normalizedMediaType.join(";")},${isBase64 ? data.trim() : data}${hash ? `#${hash}` : ""}`;
|
|
15447
15419
|
};
|
|
15448
15420
|
var normalizeUrl = (urlString, options) => {
|
|
15449
|
-
options =
|
|
15421
|
+
options = {
|
|
15450
15422
|
defaultProtocol: "http:",
|
|
15451
15423
|
normalizeProtocol: true,
|
|
15452
15424
|
forceHttp: false,
|
|
@@ -15459,8 +15431,9 @@ var require_normalize_url = __commonJS({
|
|
|
15459
15431
|
removeTrailingSlash: true,
|
|
15460
15432
|
removeSingleSlash: true,
|
|
15461
15433
|
removeDirectoryIndex: false,
|
|
15462
|
-
sortQueryParameters: true
|
|
15463
|
-
|
|
15434
|
+
sortQueryParameters: true,
|
|
15435
|
+
...options
|
|
15436
|
+
};
|
|
15464
15437
|
urlString = urlString.trim();
|
|
15465
15438
|
if (/^data:/i.test(urlString)) {
|
|
15466
15439
|
return normalizeDataURL(urlString, options);
|
|
@@ -15809,13 +15782,13 @@ var require_pump = __commonJS({
|
|
|
15809
15782
|
}
|
|
15810
15783
|
});
|
|
15811
15784
|
|
|
15812
|
-
// node_modules/get-stream/buffer-stream.js
|
|
15785
|
+
// node_modules/cacheable-request/node_modules/get-stream/buffer-stream.js
|
|
15813
15786
|
var require_buffer_stream = __commonJS({
|
|
15814
|
-
"node_modules/get-stream/buffer-stream.js"(exports, module2) {
|
|
15787
|
+
"node_modules/cacheable-request/node_modules/get-stream/buffer-stream.js"(exports, module2) {
|
|
15815
15788
|
"use strict";
|
|
15816
15789
|
var { PassThrough: PassThroughStream } = require("stream");
|
|
15817
15790
|
module2.exports = (options) => {
|
|
15818
|
-
options =
|
|
15791
|
+
options = { ...options };
|
|
15819
15792
|
const { array } = options;
|
|
15820
15793
|
let { encoding } = options;
|
|
15821
15794
|
const isBuffer = encoding === "buffer";
|
|
@@ -15854,9 +15827,9 @@ var require_buffer_stream = __commonJS({
|
|
|
15854
15827
|
}
|
|
15855
15828
|
});
|
|
15856
15829
|
|
|
15857
|
-
// node_modules/get-stream/index.js
|
|
15830
|
+
// node_modules/cacheable-request/node_modules/get-stream/index.js
|
|
15858
15831
|
var require_get_stream = __commonJS({
|
|
15859
|
-
"node_modules/get-stream/index.js"(exports, module2) {
|
|
15832
|
+
"node_modules/cacheable-request/node_modules/get-stream/index.js"(exports, module2) {
|
|
15860
15833
|
"use strict";
|
|
15861
15834
|
var { constants: BufferConstants } = require("buffer");
|
|
15862
15835
|
var pump = require_pump();
|
|
@@ -15871,9 +15844,10 @@ var require_get_stream = __commonJS({
|
|
|
15871
15844
|
if (!inputStream) {
|
|
15872
15845
|
return Promise.reject(new Error("Expected a stream"));
|
|
15873
15846
|
}
|
|
15874
|
-
options =
|
|
15875
|
-
maxBuffer: Infinity
|
|
15876
|
-
|
|
15847
|
+
options = {
|
|
15848
|
+
maxBuffer: Infinity,
|
|
15849
|
+
...options
|
|
15850
|
+
};
|
|
15877
15851
|
const { maxBuffer } = options;
|
|
15878
15852
|
let stream;
|
|
15879
15853
|
await new Promise((resolve, reject) => {
|
|
@@ -15900,8 +15874,8 @@ var require_get_stream = __commonJS({
|
|
|
15900
15874
|
}
|
|
15901
15875
|
module2.exports = getStream;
|
|
15902
15876
|
module2.exports.default = getStream;
|
|
15903
|
-
module2.exports.buffer = (stream, options) => getStream(stream,
|
|
15904
|
-
module2.exports.array = (stream, options) => getStream(stream,
|
|
15877
|
+
module2.exports.buffer = (stream, options) => getStream(stream, { ...options, encoding: "buffer" });
|
|
15878
|
+
module2.exports.array = (stream, options) => getStream(stream, { ...options, array: true });
|
|
15905
15879
|
module2.exports.MaxBufferError = MaxBufferError;
|
|
15906
15880
|
}
|
|
15907
15881
|
});
|
|
@@ -16012,8 +15986,8 @@ var require_http_cache_semantics = __commonJS({
|
|
|
16012
15986
|
this._assertRequestHasHeaders(req);
|
|
16013
15987
|
this._responseTime = this.now();
|
|
16014
15988
|
this._isShared = shared !== false;
|
|
16015
|
-
this._cacheHeuristic =
|
|
16016
|
-
this._immutableMinTtl =
|
|
15989
|
+
this._cacheHeuristic = void 0 !== cacheHeuristic ? cacheHeuristic : 0.1;
|
|
15990
|
+
this._immutableMinTtl = void 0 !== immutableMinTimeToLive ? immutableMinTimeToLive : 24 * 3600 * 1e3;
|
|
16017
15991
|
this._status = "status" in res ? res.status : 200;
|
|
16018
15992
|
this._resHeaders = res.headers;
|
|
16019
15993
|
this._rescc = parseCacheControl(res.headers["cache-control"]);
|
|
@@ -16043,7 +16017,7 @@ var require_http_cache_semantics = __commonJS({
|
|
|
16043
16017
|
return Date.now();
|
|
16044
16018
|
}
|
|
16045
16019
|
storable() {
|
|
16046
|
-
return !!(!this._reqcc["no-store"] && (
|
|
16020
|
+
return !!(!this._reqcc["no-store"] && ("GET" === this._method || "HEAD" === this._method || "POST" === this._method && this._hasExplicitExpiration()) && understoodStatuses.has(this._status) && !this._rescc["no-store"] && (!this._isShared || !this._rescc.private) && (!this._isShared || this._noAuthorization || this._allowsStoringAuthenticated()) && (this._resHeaders.expires || this._rescc["max-age"] || this._isShared && this._rescc["s-maxage"] || this._rescc.public || statusCodeCacheableByDefault.has(this._status)));
|
|
16047
16021
|
}
|
|
16048
16022
|
_hasExplicitExpiration() {
|
|
16049
16023
|
return this._isShared && this._rescc["s-maxage"] || this._rescc["max-age"] || this._resHeaders.expires;
|
|
@@ -16066,7 +16040,7 @@ var require_http_cache_semantics = __commonJS({
|
|
|
16066
16040
|
return false;
|
|
16067
16041
|
}
|
|
16068
16042
|
if (this.stale()) {
|
|
16069
|
-
const allowsStale = requestCC["max-stale"] && !this._rescc["must-revalidate"] && (requestCC["max-stale"]
|
|
16043
|
+
const allowsStale = requestCC["max-stale"] && !this._rescc["must-revalidate"] && (true === requestCC["max-stale"] || requestCC["max-stale"] > this.age() - this.maxAge());
|
|
16070
16044
|
if (!allowsStale) {
|
|
16071
16045
|
return false;
|
|
16072
16046
|
}
|
|
@@ -16074,7 +16048,7 @@ var require_http_cache_semantics = __commonJS({
|
|
|
16074
16048
|
return this._requestMatches(req, false);
|
|
16075
16049
|
}
|
|
16076
16050
|
_requestMatches(req, allowHeadMethod) {
|
|
16077
|
-
return (!this._url || this._url === req.url) && this._host === req.headers.host && (!req.method || this._method === req.method || allowHeadMethod && req.method
|
|
16051
|
+
return (!this._url || this._url === req.url) && this._host === req.headers.host && (!req.method || this._method === req.method || allowHeadMethod && "HEAD" === req.method) && this._varyMatches(req);
|
|
16078
16052
|
}
|
|
16079
16053
|
_allowsStoringAuthenticated() {
|
|
16080
16054
|
return this._rescc["must-revalidate"] || this._rescc.public || this._rescc["s-maxage"];
|
|
@@ -16371,9 +16345,9 @@ var require_src2 = __commonJS({
|
|
|
16371
16345
|
}
|
|
16372
16346
|
});
|
|
16373
16347
|
|
|
16374
|
-
// node_modules/mimic-response/index.js
|
|
16348
|
+
// node_modules/clone-response/node_modules/mimic-response/index.js
|
|
16375
16349
|
var require_mimic_response = __commonJS({
|
|
16376
|
-
"node_modules/mimic-response/index.js"(exports, module2) {
|
|
16350
|
+
"node_modules/clone-response/node_modules/mimic-response/index.js"(exports, module2) {
|
|
16377
16351
|
"use strict";
|
|
16378
16352
|
var knownProps = [
|
|
16379
16353
|
"destroy",
|
|
@@ -16423,19 +16397,19 @@ var require_src3 = __commonJS({
|
|
|
16423
16397
|
var require_json_buffer = __commonJS({
|
|
16424
16398
|
"node_modules/json-buffer/index.js"(exports) {
|
|
16425
16399
|
exports.stringify = function stringify(o) {
|
|
16426
|
-
if (typeof o
|
|
16400
|
+
if ("undefined" == typeof o)
|
|
16427
16401
|
return o;
|
|
16428
16402
|
if (o && Buffer.isBuffer(o))
|
|
16429
16403
|
return JSON.stringify(":base64:" + o.toString("base64"));
|
|
16430
16404
|
if (o && o.toJSON)
|
|
16431
16405
|
o = o.toJSON();
|
|
16432
|
-
if (o && typeof o
|
|
16406
|
+
if (o && "object" === typeof o) {
|
|
16433
16407
|
var s = "";
|
|
16434
16408
|
var array = Array.isArray(o);
|
|
16435
16409
|
s = array ? "[" : "{";
|
|
16436
16410
|
var first = true;
|
|
16437
16411
|
for (var k in o) {
|
|
16438
|
-
var ignore = typeof o[k]
|
|
16412
|
+
var ignore = "function" == typeof o[k] || !array && "undefined" === typeof o[k];
|
|
16439
16413
|
if (Object.hasOwnProperty.call(o, k) && !ignore) {
|
|
16440
16414
|
if (!first)
|
|
16441
16415
|
s += ",";
|
|
@@ -16452,16 +16426,16 @@ var require_json_buffer = __commonJS({
|
|
|
16452
16426
|
}
|
|
16453
16427
|
s += array ? "]" : "}";
|
|
16454
16428
|
return s;
|
|
16455
|
-
} else if (typeof o
|
|
16429
|
+
} else if ("string" === typeof o) {
|
|
16456
16430
|
return JSON.stringify(/^:/.test(o) ? ":" + o : o);
|
|
16457
|
-
} else if (typeof o
|
|
16431
|
+
} else if ("undefined" === typeof o) {
|
|
16458
16432
|
return "null";
|
|
16459
16433
|
} else
|
|
16460
16434
|
return JSON.stringify(o);
|
|
16461
16435
|
};
|
|
16462
16436
|
exports.parse = function(s) {
|
|
16463
16437
|
return JSON.parse(s, function(key, value) {
|
|
16464
|
-
if (typeof value
|
|
16438
|
+
if ("string" === typeof value) {
|
|
16465
16439
|
if (/^:base64:/.test(value))
|
|
16466
16440
|
return Buffer.from(value.substring(8), "base64");
|
|
16467
16441
|
else
|
|
@@ -16478,10 +16452,17 @@ var require_merge_options = __commonJS({
|
|
|
16478
16452
|
"node_modules/compress-brotli/src/merge-options.js"(exports, module2) {
|
|
16479
16453
|
"use strict";
|
|
16480
16454
|
module2.exports = (defaultOptions = {}, options = {}) => {
|
|
16481
|
-
const params =
|
|
16482
|
-
|
|
16483
|
-
params
|
|
16484
|
-
}
|
|
16455
|
+
const params = {
|
|
16456
|
+
...defaultOptions.params || {},
|
|
16457
|
+
...options.params || {}
|
|
16458
|
+
};
|
|
16459
|
+
return {
|
|
16460
|
+
...defaultOptions,
|
|
16461
|
+
...options,
|
|
16462
|
+
...Object.keys(params).length ? {
|
|
16463
|
+
params
|
|
16464
|
+
} : {}
|
|
16465
|
+
};
|
|
16485
16466
|
};
|
|
16486
16467
|
}
|
|
16487
16468
|
});
|
|
@@ -16565,16 +16546,17 @@ var require_src5 = __commonJS({
|
|
|
16565
16546
|
"tiered"
|
|
16566
16547
|
];
|
|
16567
16548
|
var Keyv = class extends EventEmitter {
|
|
16568
|
-
constructor(uri,
|
|
16569
|
-
var _b = _a, { emitErrors = true } = _b, options = __objRest(_b, ["emitErrors"]);
|
|
16549
|
+
constructor(uri, { emitErrors = true, ...options } = {}) {
|
|
16570
16550
|
super();
|
|
16571
|
-
this.opts =
|
|
16551
|
+
this.opts = {
|
|
16572
16552
|
namespace: "keyv",
|
|
16573
16553
|
serialize: JSONB.stringify,
|
|
16574
|
-
deserialize: JSONB.parse
|
|
16575
|
-
|
|
16554
|
+
deserialize: JSONB.parse,
|
|
16555
|
+
...typeof uri === "string" ? { uri } : uri,
|
|
16556
|
+
...options
|
|
16557
|
+
};
|
|
16576
16558
|
if (!this.opts.store) {
|
|
16577
|
-
const adapterOptions =
|
|
16559
|
+
const adapterOptions = { ...this.opts };
|
|
16578
16560
|
this.opts.store = loadStore(adapterOptions);
|
|
16579
16561
|
}
|
|
16580
16562
|
if (this.opts.compress) {
|
|
@@ -16774,15 +16756,17 @@ var require_src6 = __commonJS({
|
|
|
16774
16756
|
} else {
|
|
16775
16757
|
const [pathname, ...searchParts] = (opts.path || "").split("?");
|
|
16776
16758
|
const search = searchParts.length > 0 ? `?${searchParts.join("?")}` : "";
|
|
16777
|
-
url = normalizeUrlObject(
|
|
16759
|
+
url = normalizeUrlObject({ ...opts, pathname, search });
|
|
16778
16760
|
}
|
|
16779
|
-
opts =
|
|
16761
|
+
opts = {
|
|
16780
16762
|
headers: {},
|
|
16781
16763
|
method: "GET",
|
|
16782
16764
|
cache: true,
|
|
16783
16765
|
strictTtl: false,
|
|
16784
|
-
automaticFailover: false
|
|
16785
|
-
|
|
16766
|
+
automaticFailover: false,
|
|
16767
|
+
...opts,
|
|
16768
|
+
...urlObjectToRequestOptions(url)
|
|
16769
|
+
};
|
|
16786
16770
|
opts.headers = lowercaseKeys(opts.headers);
|
|
16787
16771
|
const ee = new EventEmitter();
|
|
16788
16772
|
const normalizedUrlString = normalizeUrl(urlLib.format(url), {
|
|
@@ -16912,7 +16896,7 @@ var require_src6 = __commonJS({
|
|
|
16912
16896
|
}
|
|
16913
16897
|
};
|
|
16914
16898
|
function urlObjectToRequestOptions(url) {
|
|
16915
|
-
const options =
|
|
16899
|
+
const options = { ...url };
|
|
16916
16900
|
options.path = `${url.pathname || "/"}${url.search || ""}`;
|
|
16917
16901
|
delete options.pathname;
|
|
16918
16902
|
delete options.search;
|
|
@@ -16946,9 +16930,9 @@ var require_src6 = __commonJS({
|
|
|
16946
16930
|
}
|
|
16947
16931
|
});
|
|
16948
16932
|
|
|
16949
|
-
// node_modules/
|
|
16933
|
+
// node_modules/mimic-response/index.js
|
|
16950
16934
|
var require_mimic_response2 = __commonJS({
|
|
16951
|
-
"node_modules/
|
|
16935
|
+
"node_modules/mimic-response/index.js"(exports, module2) {
|
|
16952
16936
|
"use strict";
|
|
16953
16937
|
var knownProperties = [
|
|
16954
16938
|
"aborted",
|
|
@@ -17378,11 +17362,12 @@ Please report this to https://github.com/szmarczak/http2-wrapper/`);
|
|
|
17378
17362
|
const name = `${normalizedOrigin}:${normalizedOptions}`;
|
|
17379
17363
|
let receivedSettings = false;
|
|
17380
17364
|
try {
|
|
17381
|
-
const session = http2.connect(origin,
|
|
17365
|
+
const session = http2.connect(origin, {
|
|
17382
17366
|
createConnection: this.createConnection,
|
|
17383
17367
|
settings: this.settings,
|
|
17384
|
-
session: this.tlsSessionCache.get(name)
|
|
17385
|
-
|
|
17368
|
+
session: this.tlsSessionCache.get(name),
|
|
17369
|
+
...options
|
|
17370
|
+
});
|
|
17386
17371
|
session[kCurrentStreamsCount] = 0;
|
|
17387
17372
|
session[kGracefullyClosing] = false;
|
|
17388
17373
|
const isFree = () => session[kCurrentStreamsCount] < session.remoteSettings.maxConcurrentStreams;
|
|
@@ -17797,9 +17782,9 @@ var require_client_request = __commonJS({
|
|
|
17797
17782
|
}
|
|
17798
17783
|
if (typeof options === "function" || options === void 0) {
|
|
17799
17784
|
callback = options;
|
|
17800
|
-
options = hasInput ? input :
|
|
17785
|
+
options = hasInput ? input : { ...input };
|
|
17801
17786
|
} else {
|
|
17802
|
-
options =
|
|
17787
|
+
options = { ...input, ...options };
|
|
17803
17788
|
}
|
|
17804
17789
|
if (options.h2session) {
|
|
17805
17790
|
this[kSession] = options.h2session;
|
|
@@ -18236,11 +18221,12 @@ var require_auto = __commonJS({
|
|
|
18236
18221
|
callback = options;
|
|
18237
18222
|
options = void 0;
|
|
18238
18223
|
}
|
|
18239
|
-
options =
|
|
18240
|
-
ALPNProtocols: ["h2", "http/1.1"]
|
|
18241
|
-
|
|
18224
|
+
options = {
|
|
18225
|
+
ALPNProtocols: ["h2", "http/1.1"],
|
|
18226
|
+
...input,
|
|
18227
|
+
...options,
|
|
18242
18228
|
resolveSocket: true
|
|
18243
|
-
}
|
|
18229
|
+
};
|
|
18244
18230
|
if (!Array.isArray(options.ALPNProtocols) || options.ALPNProtocols.length === 0) {
|
|
18245
18231
|
throw new Error("The `ALPNProtocols` option must be an Array with at least one entry");
|
|
18246
18232
|
}
|
|
@@ -18290,14 +18276,15 @@ var require_source4 = __commonJS({
|
|
|
18290
18276
|
req.end();
|
|
18291
18277
|
return req;
|
|
18292
18278
|
};
|
|
18293
|
-
module2.exports =
|
|
18279
|
+
module2.exports = {
|
|
18280
|
+
...http2,
|
|
18294
18281
|
ClientRequest,
|
|
18295
|
-
IncomingMessage
|
|
18296
|
-
|
|
18282
|
+
IncomingMessage,
|
|
18283
|
+
...agent,
|
|
18297
18284
|
request,
|
|
18298
18285
|
get,
|
|
18299
18286
|
auto
|
|
18300
|
-
}
|
|
18287
|
+
};
|
|
18301
18288
|
}
|
|
18302
18289
|
});
|
|
18303
18290
|
|
|
@@ -18731,7 +18718,7 @@ var require_normalize_arguments = __commonJS({
|
|
|
18731
18718
|
}
|
|
18732
18719
|
const { retry } = options;
|
|
18733
18720
|
if (defaults) {
|
|
18734
|
-
options.retry =
|
|
18721
|
+
options.retry = { ...defaults.retry };
|
|
18735
18722
|
} else {
|
|
18736
18723
|
options.retry = {
|
|
18737
18724
|
calculateDelay: (retryObject) => retryObject.computedValue,
|
|
@@ -18743,7 +18730,10 @@ var require_normalize_arguments = __commonJS({
|
|
|
18743
18730
|
};
|
|
18744
18731
|
}
|
|
18745
18732
|
if (is_1.default.object(retry)) {
|
|
18746
|
-
options.retry =
|
|
18733
|
+
options.retry = {
|
|
18734
|
+
...options.retry,
|
|
18735
|
+
...retry
|
|
18736
|
+
};
|
|
18747
18737
|
options.retry.methods = [...new Set(options.retry.methods.map((method) => method.toUpperCase()))];
|
|
18748
18738
|
options.retry.statusCodes = [...new Set(options.retry.statusCodes)];
|
|
18749
18739
|
options.retry.errorCodes = [...new Set(options.retry.errorCodes)];
|
|
@@ -18755,7 +18745,10 @@ var require_normalize_arguments = __commonJS({
|
|
|
18755
18745
|
}
|
|
18756
18746
|
if (is_1.default.object(options.pagination)) {
|
|
18757
18747
|
if (defaults) {
|
|
18758
|
-
options.pagination =
|
|
18748
|
+
options.pagination = {
|
|
18749
|
+
...defaults.pagination,
|
|
18750
|
+
...options.pagination
|
|
18751
|
+
};
|
|
18759
18752
|
}
|
|
18760
18753
|
const { pagination } = options;
|
|
18761
18754
|
if (!is_1.default.function_(pagination.transform)) {
|
|
@@ -19065,7 +19058,10 @@ var require_core = __commonJS({
|
|
|
19065
19058
|
});
|
|
19066
19059
|
this.on("pipe", (source) => {
|
|
19067
19060
|
if (source instanceof http_1.IncomingMessage) {
|
|
19068
|
-
this.options.headers =
|
|
19061
|
+
this.options.headers = {
|
|
19062
|
+
...source.headers,
|
|
19063
|
+
...this.options.headers
|
|
19064
|
+
};
|
|
19069
19065
|
}
|
|
19070
19066
|
});
|
|
19071
19067
|
const { json, body, form } = options;
|
|
@@ -19123,12 +19119,12 @@ var require_core = __commonJS({
|
|
|
19123
19119
|
var _a, _b, _c, _d, _e;
|
|
19124
19120
|
const rawOptions = options;
|
|
19125
19121
|
if (is_1.default.object(url) && !is_1.default.urlInstance(url)) {
|
|
19126
|
-
options =
|
|
19122
|
+
options = { ...defaults, ...url, ...options };
|
|
19127
19123
|
} else {
|
|
19128
19124
|
if (url && options && options.url !== void 0) {
|
|
19129
19125
|
throw new TypeError("The `url` option is mutually exclusive with the `input` argument");
|
|
19130
19126
|
}
|
|
19131
|
-
options =
|
|
19127
|
+
options = { ...defaults, ...options };
|
|
19132
19128
|
if (url !== void 0) {
|
|
19133
19129
|
options.url = url;
|
|
19134
19130
|
}
|
|
@@ -19178,9 +19174,9 @@ var require_core = __commonJS({
|
|
|
19178
19174
|
options.method = "GET";
|
|
19179
19175
|
}
|
|
19180
19176
|
if (options.headers === (defaults === null || defaults === void 0 ? void 0 : defaults.headers)) {
|
|
19181
|
-
options.headers =
|
|
19177
|
+
options.headers = { ...options.headers };
|
|
19182
19178
|
} else {
|
|
19183
|
-
options.headers = lowercaseKeys(
|
|
19179
|
+
options.headers = lowercaseKeys({ ...defaults === null || defaults === void 0 ? void 0 : defaults.headers, ...options.headers });
|
|
19184
19180
|
}
|
|
19185
19181
|
if ("slashes" in options) {
|
|
19186
19182
|
throw new TypeError("The legacy `url.Url` has been deprecated. Use `URL` instead.");
|
|
@@ -19310,7 +19306,7 @@ var require_core = __commonJS({
|
|
|
19310
19306
|
}, cache));
|
|
19311
19307
|
}
|
|
19312
19308
|
}
|
|
19313
|
-
options.cacheOptions =
|
|
19309
|
+
options.cacheOptions = { ...options.cacheOptions };
|
|
19314
19310
|
if (options.dnsCache === true) {
|
|
19315
19311
|
if (!globalDnsCache) {
|
|
19316
19312
|
globalDnsCache = new cacheable_lookup_1.default();
|
|
@@ -19322,15 +19318,18 @@ var require_core = __commonJS({
|
|
|
19322
19318
|
if (is_1.default.number(options.timeout)) {
|
|
19323
19319
|
options.timeout = { request: options.timeout };
|
|
19324
19320
|
} else if (defaults && options.timeout !== defaults.timeout) {
|
|
19325
|
-
options.timeout =
|
|
19321
|
+
options.timeout = {
|
|
19322
|
+
...defaults.timeout,
|
|
19323
|
+
...options.timeout
|
|
19324
|
+
};
|
|
19326
19325
|
} else {
|
|
19327
|
-
options.timeout =
|
|
19326
|
+
options.timeout = { ...options.timeout };
|
|
19328
19327
|
}
|
|
19329
19328
|
if (!options.context) {
|
|
19330
19329
|
options.context = {};
|
|
19331
19330
|
}
|
|
19332
19331
|
const areHooksDefault = options.hooks === (defaults === null || defaults === void 0 ? void 0 : defaults.hooks);
|
|
19333
|
-
options.hooks =
|
|
19332
|
+
options.hooks = { ...options.hooks };
|
|
19334
19333
|
for (const event of exports.knownHookEvents) {
|
|
19335
19334
|
if (event in options.hooks) {
|
|
19336
19335
|
if (is_1.default.array(options.hooks[event])) {
|
|
@@ -19357,7 +19356,7 @@ var require_core = __commonJS({
|
|
|
19357
19356
|
deprecation_warning_1.default('"options.family" was never documented, please use "options.dnsLookupIpVersion"');
|
|
19358
19357
|
}
|
|
19359
19358
|
if (defaults === null || defaults === void 0 ? void 0 : defaults.https) {
|
|
19360
|
-
options.https =
|
|
19359
|
+
options.https = { ...defaults.https, ...options.https };
|
|
19361
19360
|
}
|
|
19362
19361
|
if ("rejectUnauthorized" in options) {
|
|
19363
19362
|
deprecation_warning_1.default('"options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"');
|
|
@@ -20234,13 +20233,14 @@ var require_as_promise = __commonJS({
|
|
|
20234
20233
|
try {
|
|
20235
20234
|
for (const [index, hook] of options.hooks.afterResponse.entries()) {
|
|
20236
20235
|
response = await hook(response, async (updatedOptions) => {
|
|
20237
|
-
const typedOptions = core_1.default.normalizeArguments(void 0,
|
|
20236
|
+
const typedOptions = core_1.default.normalizeArguments(void 0, {
|
|
20237
|
+
...updatedOptions,
|
|
20238
20238
|
retry: {
|
|
20239
20239
|
calculateDelay: () => 0
|
|
20240
20240
|
},
|
|
20241
20241
|
throwHttpErrors: false,
|
|
20242
20242
|
resolveBodyOnly: false
|
|
20243
|
-
}
|
|
20243
|
+
}, options);
|
|
20244
20244
|
typedOptions.hooks.afterResponse = typedOptions.hooks.afterResponse.slice(0, index);
|
|
20245
20245
|
for (const hook2 of typedOptions.hooks.beforeRetry) {
|
|
20246
20246
|
await hook2(typedOptions);
|
|
@@ -20474,7 +20474,10 @@ var require_create = __commonJS({
|
|
|
20474
20474
|
return defaults.handlers[iteration++](newOptions, iteration === defaults.handlers.length ? getPromiseOrStream : iterateHandlers);
|
|
20475
20475
|
};
|
|
20476
20476
|
if (is_1.default.plainObject(url)) {
|
|
20477
|
-
const mergedOptions =
|
|
20477
|
+
const mergedOptions = {
|
|
20478
|
+
...url,
|
|
20479
|
+
...options
|
|
20480
|
+
};
|
|
20478
20481
|
core_1.setNonEnumerableProperties([url, options], mergedOptions);
|
|
20479
20482
|
options = mergedOptions;
|
|
20480
20483
|
url = void 0;
|
|
@@ -20581,11 +20584,11 @@ var require_create = __commonJS({
|
|
|
20581
20584
|
return results;
|
|
20582
20585
|
};
|
|
20583
20586
|
got2.paginate.each = paginateEach;
|
|
20584
|
-
got2.stream = (url, options) => got2(url,
|
|
20587
|
+
got2.stream = (url, options) => got2(url, { ...options, isStream: true });
|
|
20585
20588
|
for (const method of aliases) {
|
|
20586
|
-
got2[method] = (url, options) => got2(url,
|
|
20589
|
+
got2[method] = (url, options) => got2(url, { ...options, method });
|
|
20587
20590
|
got2.stream[method] = (url, options) => {
|
|
20588
|
-
return got2(url,
|
|
20591
|
+
return got2(url, { ...options, method, isStream: true });
|
|
20589
20592
|
};
|
|
20590
20593
|
}
|
|
20591
20594
|
Object.assign(got2, errors);
|
|
@@ -1,24 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
5
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
7
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
9
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
10
|
-
var __spreadValues = (a, b) => {
|
|
11
|
-
for (var prop in b || (b = {}))
|
|
12
|
-
if (__hasOwnProp.call(b, prop))
|
|
13
|
-
__defNormalProp(a, prop, b[prop]);
|
|
14
|
-
if (__getOwnPropSymbols)
|
|
15
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
16
|
-
if (__propIsEnum.call(b, prop))
|
|
17
|
-
__defNormalProp(a, prop, b[prop]);
|
|
18
|
-
}
|
|
19
|
-
return a;
|
|
20
|
-
};
|
|
21
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
22
5
|
var __export = (target, all) => {
|
|
23
6
|
for (var name in all)
|
|
24
7
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -83,9 +66,10 @@ async function handler(event) {
|
|
|
83
66
|
try {
|
|
84
67
|
const body = JSON.parse(event.body ?? "{}");
|
|
85
68
|
if (!isUrlValid(body.url)) {
|
|
86
|
-
return
|
|
69
|
+
return {
|
|
70
|
+
...response,
|
|
87
71
|
statusCode: 400
|
|
88
|
-
}
|
|
72
|
+
};
|
|
89
73
|
}
|
|
90
74
|
const update = await documentClient.update({
|
|
91
75
|
TableName: getEnv("TABLE_NAME"),
|
|
@@ -108,17 +92,19 @@ async function handler(event) {
|
|
|
108
92
|
Body: JSON.stringify({ url: body.url })
|
|
109
93
|
}).promise();
|
|
110
94
|
console.log("Put object: %j", putObject);
|
|
111
|
-
return
|
|
95
|
+
return {
|
|
96
|
+
...response,
|
|
112
97
|
body: JSON.stringify({
|
|
113
98
|
url: body.url,
|
|
114
99
|
shortUrl: `https://${getEnv("DOMAIN_NAME")}/${key}`
|
|
115
100
|
})
|
|
116
|
-
}
|
|
101
|
+
};
|
|
117
102
|
} catch (err) {
|
|
118
103
|
console.log(err);
|
|
119
|
-
return
|
|
104
|
+
return {
|
|
105
|
+
...response,
|
|
120
106
|
statusCode: 500
|
|
121
|
-
}
|
|
107
|
+
};
|
|
122
108
|
}
|
|
123
109
|
}
|
|
124
110
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -41,7 +41,7 @@ class CodeCommitMirrorSourceRepository {
|
|
|
41
41
|
}
|
|
42
42
|
exports.CodeCommitMirrorSourceRepository = CodeCommitMirrorSourceRepository;
|
|
43
43
|
_a = JSII_RTTI_SYMBOL_1;
|
|
44
|
-
CodeCommitMirrorSourceRepository[_a] = { fqn: "cloudstructs.CodeCommitMirrorSourceRepository", version: "0.5.
|
|
44
|
+
CodeCommitMirrorSourceRepository[_a] = { fqn: "cloudstructs.CodeCommitMirrorSourceRepository", version: "0.5.6" };
|
|
45
45
|
/**
|
|
46
46
|
* Mirror a repository to AWS CodeCommit on schedule
|
|
47
47
|
*/
|
|
@@ -89,5 +89,5 @@ class CodeCommitMirror extends constructs_1.Construct {
|
|
|
89
89
|
}
|
|
90
90
|
exports.CodeCommitMirror = CodeCommitMirror;
|
|
91
91
|
_b = JSII_RTTI_SYMBOL_1;
|
|
92
|
-
CodeCommitMirror[_b] = { fqn: "cloudstructs.CodeCommitMirror", version: "0.5.
|
|
92
|
+
CodeCommitMirror[_b] = { fqn: "cloudstructs.CodeCommitMirror", version: "0.5.6" };
|
|
93
93
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvY29kZWNvbW1pdC1taXJyb3IvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSw2QkFBNkI7QUFDN0IseURBQXlEO0FBQ3pELDJDQUEyQztBQUMzQywyQ0FBMkM7QUFDM0MsaURBQWlEO0FBQ2pELDBEQUEwRDtBQUMxRCwyQ0FBMkM7QUFDM0MsNkNBQTZDO0FBQzdDLDJDQUF1QztBQStCdkM7O0dBRUc7QUFDSCxNQUFzQixnQ0FBZ0M7SUFDcEQ7O09BRUc7SUFDSSxNQUFNLENBQUMsTUFBTSxDQUFDLEtBQWEsRUFBRSxJQUFZO1FBQzlDLE9BQU87WUFDTCxJQUFJO1lBQ0osWUFBWSxFQUFFLHNCQUFzQixLQUFLLElBQUksSUFBSSxFQUFFO1NBQ3BELENBQUM7SUFDSixDQUFDO0lBR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