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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ```js
|
|
6
6
|
* import url from 'url';
|
|
7
7
|
* ```
|
|
8
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
8
|
+
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/url.js)
|
|
9
9
|
*/
|
|
10
10
|
declare module 'url' {
|
|
11
11
|
import { Blob } from 'node:buffer';
|
|
@@ -59,8 +59,12 @@ declare module 'url' {
|
|
|
59
59
|
* lenient, non-standard algorithm for parsing URL strings, security
|
|
60
60
|
* issues can be introduced. Specifically, issues with [host name spoofing](https://hackerone.com/reports/678487) and
|
|
61
61
|
* incorrect handling of usernames and passwords have been identified.
|
|
62
|
+
*
|
|
63
|
+
* Deprecation of this API has been shelved for now primarily due to the the
|
|
64
|
+
* inability of the [WHATWG API to parse relative URLs](https://github.com/nodejs/node/issues/12682#issuecomment-1154492373).
|
|
65
|
+
* [Discussions are ongoing](https://github.com/whatwg/url/issues/531) for the best way to resolve this.
|
|
66
|
+
*
|
|
62
67
|
* @since v0.1.25
|
|
63
|
-
* @deprecated Legacy: Use the WHATWG URL API instead.
|
|
64
68
|
* @param urlString The URL string to parse.
|
|
65
69
|
* @param [parseQueryString=false] If `true`, the `query` property will always be set to an object returned by the {@link querystring} module's `parse()` method. If `false`, the `query` property
|
|
66
70
|
* on the returned URL object will be an unparsed, undecoded string.
|
|
@@ -201,7 +205,7 @@ declare module 'url' {
|
|
|
201
205
|
function format(urlObject: UrlObject | string): string;
|
|
202
206
|
/**
|
|
203
207
|
* The `url.resolve()` method resolves a target URL relative to a base URL in a
|
|
204
|
-
* manner similar to that of a
|
|
208
|
+
* manner similar to that of a web browser resolving an anchor tag.
|
|
205
209
|
*
|
|
206
210
|
* ```js
|
|
207
211
|
* const url = require('url');
|
|
@@ -210,7 +214,7 @@ declare module 'url' {
|
|
|
210
214
|
* url.resolve('http://example.com/one', '/two'); // 'http://example.com/two'
|
|
211
215
|
* ```
|
|
212
216
|
*
|
|
213
|
-
*
|
|
217
|
+
* To achieve the same result using the WHATWG URL API:
|
|
214
218
|
*
|
|
215
219
|
* ```js
|
|
216
220
|
* function resolve(from, to) {
|
|
@@ -229,8 +233,8 @@ declare module 'url' {
|
|
|
229
233
|
* ```
|
|
230
234
|
* @since v0.1.25
|
|
231
235
|
* @deprecated Legacy: Use the WHATWG URL API instead.
|
|
232
|
-
* @param from The
|
|
233
|
-
* @param to The
|
|
236
|
+
* @param from The base URL to use if `to` is a relative URL.
|
|
237
|
+
* @param to The target URL to resolve.
|
|
234
238
|
*/
|
|
235
239
|
function resolve(from: string, to: string): string;
|
|
236
240
|
/**
|
|
@@ -328,7 +332,7 @@ declare module 'url' {
|
|
|
328
332
|
* const myURL = new URL('https://a:b@測試?abc#foo');
|
|
329
333
|
*
|
|
330
334
|
* console.log(urlToHttpOptions(myURL));
|
|
331
|
-
*
|
|
335
|
+
* /*
|
|
332
336
|
* {
|
|
333
337
|
* protocol: 'https:',
|
|
334
338
|
* hostname: 'xn--g6w251d',
|
|
@@ -393,7 +397,8 @@ declare module 'url' {
|
|
|
393
397
|
*/
|
|
394
398
|
static createObjectURL(blob: Blob): string;
|
|
395
399
|
/**
|
|
396
|
-
* Removes the stored `Blob` identified by the given ID.
|
|
400
|
+
* Removes the stored `Blob` identified by the given ID. Attempting to revoke a
|
|
401
|
+
* ID that isn’t registered will silently fail.
|
|
397
402
|
* @since v16.7.0
|
|
398
403
|
* @experimental
|
|
399
404
|
* @param id A `'blob:nodedata:...` URL string returned by a prior call to `URL.createObjectURL()`.
|
|
@@ -855,7 +860,6 @@ declare module 'url' {
|
|
|
855
860
|
values(): IterableIterator<string>;
|
|
856
861
|
[Symbol.iterator](): IterableIterator<[string, string]>;
|
|
857
862
|
}
|
|
858
|
-
|
|
859
863
|
import { URL as _URL, URLSearchParams as _URLSearchParams } from 'url';
|
|
860
864
|
global {
|
|
861
865
|
interface URLSearchParams extends _URLSearchParams {}
|
|
@@ -869,21 +873,23 @@ declare module 'url' {
|
|
|
869
873
|
* https://nodejs.org/api/url.html#the-whatwg-url-api
|
|
870
874
|
* @since v10.0.0
|
|
871
875
|
*/
|
|
872
|
-
var URL:
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
876
|
+
var URL: typeof globalThis extends {
|
|
877
|
+
onmessage: any;
|
|
878
|
+
URL: infer URL;
|
|
879
|
+
}
|
|
880
|
+
? URL
|
|
881
|
+
: typeof _URL;
|
|
877
882
|
/**
|
|
878
883
|
* `URLSearchParams` class is a global reference for `require('url').URLSearchParams`
|
|
879
884
|
* https://nodejs.org/api/url.html#class-urlsearchparams
|
|
880
885
|
* @since v10.0.0
|
|
881
886
|
*/
|
|
882
|
-
var URLSearchParams:
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
+
var URLSearchParams: typeof globalThis extends {
|
|
888
|
+
onmessage: any;
|
|
889
|
+
URLSearchParams: infer URLSearchParams;
|
|
890
|
+
}
|
|
891
|
+
? URLSearchParams
|
|
892
|
+
: typeof _URLSearchParams;
|
|
887
893
|
}
|
|
888
894
|
}
|
|
889
895
|
declare module 'node:url' {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* ```js
|
|
7
7
|
* const util = require('util');
|
|
8
8
|
* ```
|
|
9
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/util.js)
|
|
10
10
|
*/
|
|
11
11
|
declare module 'util' {
|
|
12
12
|
import * as types from 'node:util/types';
|
|
@@ -309,6 +309,21 @@ declare module 'util' {
|
|
|
309
309
|
* );
|
|
310
310
|
* ```
|
|
311
311
|
*
|
|
312
|
+
* The `numericSeparator` option adds an underscore every three digits to all
|
|
313
|
+
* numbers.
|
|
314
|
+
*
|
|
315
|
+
* ```js
|
|
316
|
+
* const { inspect } = require('util');
|
|
317
|
+
*
|
|
318
|
+
* const thousand = 1_000;
|
|
319
|
+
* const million = 1_000_000;
|
|
320
|
+
* const bigNumber = 123_456_789n;
|
|
321
|
+
* const bigDecimal = 1_234.123_45;
|
|
322
|
+
*
|
|
323
|
+
* console.log(thousand, million, bigNumber, bigDecimal);
|
|
324
|
+
* // 1_000 1_000_000 123_456_789n 1_234.123_45
|
|
325
|
+
* ```
|
|
326
|
+
*
|
|
312
327
|
* `util.inspect()` is a synchronous method intended for debugging. Its maximum
|
|
313
328
|
* output length is approximately 128 MB. Inputs that result in longer output will
|
|
314
329
|
* be truncated.
|
|
@@ -859,7 +874,7 @@ declare module 'util' {
|
|
|
859
874
|
* callbackFunction((err, ret) => {
|
|
860
875
|
* // When the Promise was rejected with `null` it is wrapped with an Error and
|
|
861
876
|
* // the original value is stored in `reason`.
|
|
862
|
-
* err &&
|
|
877
|
+
* err && Object.hasOwn(err, 'reason') && err.reason === null; // true
|
|
863
878
|
* });
|
|
864
879
|
* ```
|
|
865
880
|
* @since v8.2.0
|
|
@@ -998,13 +1013,9 @@ declare module 'util' {
|
|
|
998
1013
|
* An implementation of the [WHATWG Encoding Standard](https://encoding.spec.whatwg.org/) `TextDecoder` API.
|
|
999
1014
|
*
|
|
1000
1015
|
* ```js
|
|
1001
|
-
* const decoder = new TextDecoder(
|
|
1002
|
-
*
|
|
1003
|
-
*
|
|
1004
|
-
* while (buffer = getNextChunkSomehow()) {
|
|
1005
|
-
* string += decoder.decode(buffer, { stream: true });
|
|
1006
|
-
* }
|
|
1007
|
-
* string += decoder.decode(); // end-of-stream
|
|
1016
|
+
* const decoder = new TextDecoder();
|
|
1017
|
+
* const u8arr = new Uint8Array([72, 101, 108, 108, 111]);
|
|
1018
|
+
* console.log(decoder.decode(u8arr)); // Hello
|
|
1008
1019
|
* ```
|
|
1009
1020
|
* @since v8.3.0
|
|
1010
1021
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* ```js
|
|
5
5
|
* const v8 = require('v8');
|
|
6
6
|
* ```
|
|
7
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
7
|
+
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/v8.js)
|
|
8
8
|
*/
|
|
9
9
|
declare module 'v8' {
|
|
10
10
|
import { Readable } from 'node:stream';
|
|
@@ -163,6 +163,13 @@ declare module 'v8' {
|
|
|
163
163
|
* Chrome DevTools. The JSON schema is undocumented and specific to the
|
|
164
164
|
* V8 engine. Therefore, the schema may change from one version of V8 to the next.
|
|
165
165
|
*
|
|
166
|
+
* Creating a heap snapshot requires memory about twice the size of the heap at
|
|
167
|
+
* the time the snapshot is created. This results in the risk of OOM killers
|
|
168
|
+
* terminating the process.
|
|
169
|
+
*
|
|
170
|
+
* Generating a snapshot is a synchronous operation which blocks the event loop
|
|
171
|
+
* for a duration depending on the heap size.
|
|
172
|
+
*
|
|
166
173
|
* ```js
|
|
167
174
|
* // Print heap snapshot to the console
|
|
168
175
|
* const v8 = require('v8');
|
|
@@ -182,6 +189,13 @@ declare module 'v8' {
|
|
|
182
189
|
* A heap snapshot is specific to a single V8 isolate. When using `worker threads`, a heap snapshot generated from the main thread will
|
|
183
190
|
* not contain any information about the workers, and vice versa.
|
|
184
191
|
*
|
|
192
|
+
* Creating a heap snapshot requires memory about twice the size of the heap at
|
|
193
|
+
* the time the snapshot is created. This results in the risk of OOM killers
|
|
194
|
+
* terminating the process.
|
|
195
|
+
*
|
|
196
|
+
* Generating a snapshot is a synchronous operation which blocks the event loop
|
|
197
|
+
* for a duration depending on the heap size.
|
|
198
|
+
*
|
|
185
199
|
* ```js
|
|
186
200
|
* const { writeHeapSnapshot } = require('v8');
|
|
187
201
|
* const {
|
|
@@ -344,6 +358,10 @@ declare module 'v8' {
|
|
|
344
358
|
class DefaultDeserializer extends Deserializer {}
|
|
345
359
|
/**
|
|
346
360
|
* Uses a `DefaultSerializer` to serialize `value` into a buffer.
|
|
361
|
+
*
|
|
362
|
+
* `ERR_BUFFER_TOO_LARGE` will be thrown when trying to
|
|
363
|
+
* serialize a huge object which requires buffer
|
|
364
|
+
* larger than `buffer.constants.MAX_LENGTH`.
|
|
347
365
|
* @since v8.0.0
|
|
348
366
|
*/
|
|
349
367
|
function serialize(value: any): Buffer;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The `vm` module enables compiling and running code within V8 Virtual
|
|
3
|
-
* Machine contexts.
|
|
4
|
-
*
|
|
3
|
+
* Machine contexts.
|
|
4
|
+
*
|
|
5
|
+
* **The `vm` module is not a security**
|
|
6
|
+
* **mechanism. Do not use it to run untrusted code.**
|
|
5
7
|
*
|
|
6
8
|
* JavaScript code can be compiled and run immediately or
|
|
7
9
|
* compiled, saved, and run later.
|
|
@@ -32,7 +34,7 @@
|
|
|
32
34
|
*
|
|
33
35
|
* console.log(x); // 1; y is not defined.
|
|
34
36
|
* ```
|
|
35
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
37
|
+
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/vm.js)
|
|
36
38
|
*/
|
|
37
39
|
declare module 'vm' {
|
|
38
40
|
interface Context extends NodeJS.Dict<any> {}
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
* The `--experimental-wasi-unstable-preview1` CLI argument is needed for this
|
|
69
69
|
* example to run.
|
|
70
70
|
* @experimental
|
|
71
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
71
|
+
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/wasi.js)
|
|
72
72
|
*/
|
|
73
73
|
declare module 'wasi' {
|
|
74
74
|
interface WASIOptions {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
* }
|
|
40
40
|
* ```
|
|
41
41
|
*
|
|
42
|
-
* The above example spawns a Worker thread for each `
|
|
42
|
+
* The above example spawns a Worker thread for each `parseJSAsync()` call. In
|
|
43
43
|
* practice, use a pool of Workers for these kinds of tasks. Otherwise, the
|
|
44
44
|
* overhead of creating Workers would likely exceed their benefit.
|
|
45
45
|
*
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
*
|
|
50
50
|
* Worker threads inherit non-process-specific options by default. Refer to `Worker constructor options` to know how to customize worker thread options,
|
|
51
51
|
* specifically `argv` and `execArgv` options.
|
|
52
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
52
|
+
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/worker_threads.js)
|
|
53
53
|
*/
|
|
54
54
|
declare module 'worker_threads' {
|
|
55
55
|
import { Blob } from 'node:buffer';
|
|
@@ -507,7 +507,6 @@ declare module 'worker_threads' {
|
|
|
507
507
|
* }
|
|
508
508
|
* ```
|
|
509
509
|
* @since v15.4.0
|
|
510
|
-
* @experimental
|
|
511
510
|
*/
|
|
512
511
|
class BroadcastChannel {
|
|
513
512
|
readonly name: string;
|
|
@@ -630,14 +629,12 @@ declare module 'worker_threads' {
|
|
|
630
629
|
* }
|
|
631
630
|
* ```
|
|
632
631
|
* @since v15.12.0, v14.18.0
|
|
633
|
-
* @experimental
|
|
634
632
|
* @param key Any arbitrary, cloneable JavaScript value that can be used as a {Map} key.
|
|
635
633
|
*/
|
|
636
634
|
function getEnvironmentData(key: Serializable): Serializable;
|
|
637
635
|
/**
|
|
638
636
|
* The `worker.setEnvironmentData()` API sets the content of`worker.getEnvironmentData()` in the current thread and all new `Worker`instances spawned from the current context.
|
|
639
637
|
* @since v15.12.0, v14.18.0
|
|
640
|
-
* @experimental
|
|
641
638
|
* @param key Any arbitrary, cloneable JavaScript value that can be used as a {Map} key.
|
|
642
639
|
* @param value Any arbitrary, cloneable JavaScript value that will be cloned and passed automatically to all new `Worker` instances. If `value` is passed as `undefined`, any previously set value
|
|
643
640
|
* for the `key` will be deleted.
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
* });
|
|
89
89
|
* ```
|
|
90
90
|
* @since v0.5.8
|
|
91
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
91
|
+
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/zlib.js)
|
|
92
92
|
*/
|
|
93
93
|
declare module 'zlib' {
|
|
94
94
|
import * as stream from 'node:stream';
|
package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/buffer-stream.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,32 @@
|
|
|
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 knownProps = [
|
|
7
|
+
'destroy',
|
|
8
|
+
'setTimeout',
|
|
9
|
+
'socket',
|
|
10
|
+
'headers',
|
|
11
|
+
'trailers',
|
|
12
|
+
'rawHeaders',
|
|
13
|
+
'statusCode',
|
|
14
|
+
'httpVersion',
|
|
15
|
+
'httpVersionMinor',
|
|
16
|
+
'httpVersionMajor',
|
|
17
|
+
'rawTrailers',
|
|
18
|
+
'statusMessage'
|
|
19
|
+
];
|
|
20
|
+
|
|
21
|
+
module.exports = (fromStream, toStream) => {
|
|
22
|
+
const fromProps = new Set(Object.keys(fromStream).concat(knownProps));
|
|
23
|
+
|
|
24
|
+
for (const prop of fromProps) {
|
|
25
|
+
// Don't overwrite existing properties
|
|
26
|
+
if (prop in toStream) {
|
|
27
|
+
continue;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
toStream[prop] = typeof fromStream[prop] === 'function' ? fromStream[prop].bind(fromStream) : fromStream[prop];
|
|
31
|
+
}
|
|
32
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (
|
|
3
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (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
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mimic-response",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Mimic a Node.js HTTP response stream",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": "sindresorhus/mimic-response",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "Sindre Sorhus",
|
|
9
|
+
"email": "sindresorhus@gmail.com",
|
|
10
|
+
"url": "sindresorhus.com"
|
|
11
|
+
},
|
|
12
|
+
"engines": {
|
|
13
|
+
"node": ">=4"
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"test": "xo && ava"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"index.js"
|
|
20
|
+
],
|
|
21
|
+
"keywords": [
|
|
22
|
+
"mimic",
|
|
23
|
+
"response",
|
|
24
|
+
"stream",
|
|
25
|
+
"http",
|
|
26
|
+
"https",
|
|
27
|
+
"request",
|
|
28
|
+
"get",
|
|
29
|
+
"core"
|
|
30
|
+
],
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"ava": "*",
|
|
33
|
+
"create-test-server": "^0.1.0",
|
|
34
|
+
"pify": "^3.0.0",
|
|
35
|
+
"xo": "*"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# mimic-response [](https://travis-ci.org/sindresorhus/mimic-response)
|
|
2
|
+
|
|
3
|
+
> Mimic a [Node.js HTTP response stream](https://nodejs.org/api/http.html#http_class_http_incomingmessage)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
```
|
|
9
|
+
$ npm install mimic-response
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```js
|
|
16
|
+
const stream = require('stream');
|
|
17
|
+
const mimicResponse = require('mimic-response');
|
|
18
|
+
|
|
19
|
+
const responseStream = getHttpResponseStream();
|
|
20
|
+
const myStream = new stream.PassThrough();
|
|
21
|
+
|
|
22
|
+
mimicResponse(responseStream, myStream);
|
|
23
|
+
|
|
24
|
+
console.log(myStream.statusCode);
|
|
25
|
+
//=> 200
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## API
|
|
30
|
+
|
|
31
|
+
### mimicResponse(from, to)
|
|
32
|
+
|
|
33
|
+
#### from
|
|
34
|
+
|
|
35
|
+
Type: `Stream`
|
|
36
|
+
|
|
37
|
+
[Node.js HTTP response stream.](https://nodejs.org/api/http.html#http_class_http_incomingmessage)
|
|
38
|
+
|
|
39
|
+
#### to
|
|
40
|
+
|
|
41
|
+
Type: `Stream`
|
|
42
|
+
|
|
43
|
+
Any stream.
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
## Related
|
|
47
|
+
|
|
48
|
+
- [mimic-fn](https://github.com/sindresorhus/mimic-fn) - Make a function mimic another one
|
|
49
|
+
- [clone-response](https://github.com/lukechilds/clone-response) - Clone a Node.js response stream
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
## License
|
|
53
|
+
|
|
54
|
+
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clone-response",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Clone a Node.js HTTP response stream",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "xo && nyc ava",
|
|
8
8
|
"coverage": "nyc report --reporter=text-lcov | coveralls"
|
|
9
9
|
},
|
|
10
|
+
"funding": "https://github.com/sponsors/sindresorhus",
|
|
10
11
|
"xo": {
|
|
11
12
|
"extends": "xo-lukechilds"
|
|
12
13
|
},
|
|
13
14
|
"repository": {
|
|
14
15
|
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/
|
|
16
|
+
"url": "git+https://github.com/sindresorhus/clone-response.git"
|
|
16
17
|
},
|
|
17
18
|
"keywords": [
|
|
18
19
|
"clone",
|
|
@@ -24,10 +25,6 @@
|
|
|
24
25
|
],
|
|
25
26
|
"author": "Luke Childs <lukechilds123@gmail.com> (http://lukechilds.co.uk)",
|
|
26
27
|
"license": "MIT",
|
|
27
|
-
"bugs": {
|
|
28
|
-
"url": "https://github.com/lukechilds/clone-response/issues"
|
|
29
|
-
},
|
|
30
|
-
"homepage": "https://github.com/lukechilds/clone-response",
|
|
31
28
|
"dependencies": {
|
|
32
29
|
"mimic-response": "^1.0.0"
|
|
33
30
|
},
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
> Simple key-value storage with support for multiple backends
|
|
8
8
|
|
|
9
9
|
[](https://github.com/jaredwray/keyv/actions/workflows/tests.yaml)
|
|
10
|
-
[](https://codecov.io/gh/jaredwray/keyv)
|
|
11
11
|
[](https://www.npmjs.com/package/keyv)
|
|
12
12
|
[](https://www.npmjs.com/package/keyv)
|
|
13
13
|
|
|
@@ -112,6 +112,7 @@ SQLite | [@keyv/sqlite](https://github.com/jaredwray/keyv/tree/master/packages/s
|
|
|
112
112
|
PostgreSQL | [@keyv/postgres](https://github.com/jaredwray/keyv/tree/master/packages/postgres) | No
|
|
113
113
|
MySQL | [@keyv/mysql](https://github.com/jaredwray/keyv/tree/master/packages/mysql) | No
|
|
114
114
|
Etcd | [@keyv/etcd](https://github.com/jaredwray/keyv/tree/master/packages/etcd) | Yes
|
|
115
|
+
Memcache | [@keyv/memcache](https://github.com/jaredwray/keyv/tree/master/packages/memcache) | Yes
|
|
115
116
|
|
|
116
117
|
## Third-party Storage Adapters
|
|
117
118
|
|
|
@@ -149,7 +150,6 @@ The following are third-party storage adapters compatible with Keyv:
|
|
|
149
150
|
- [keyv-null](https://www.npmjs.com/package/keyv-null) - Null storage adapter for Keyv
|
|
150
151
|
- [keyv-firestore ](https://github.com/goto-bus-stop/keyv-firestore) – Firebase Cloud Firestore adapter for Keyv
|
|
151
152
|
- [keyv-mssql](https://github.com/pmorgan3/keyv-mssql) - Microsoft Sql Server adapter for Keyv
|
|
152
|
-
- [keyv-memcache](https://github.com/jaredwray/keyv/tree/master/packages/memcache) - Memcache storage adapter for Keyv
|
|
153
153
|
- [keyv-azuretable](https://github.com/howlowck/keyv-azuretable) - Azure Table Storage/API adapter for Keyv
|
|
154
154
|
|
|
155
155
|
## Add Cache Support to your Module
|
|
@@ -289,6 +289,19 @@ Delete all entries in the current namespace.
|
|
|
289
289
|
|
|
290
290
|
Returns a promise which is resolved when the entries have been cleared.
|
|
291
291
|
|
|
292
|
+
#### .iterator()
|
|
293
|
+
|
|
294
|
+
Iterate over all entries of the current namespace.
|
|
295
|
+
|
|
296
|
+
Returns a iterable that can be iterated by for-of loops. For example:
|
|
297
|
+
|
|
298
|
+
```js
|
|
299
|
+
// please note that the "await" keyword should be used here
|
|
300
|
+
for await (const [key, value] of this.keyv.iterator()) {
|
|
301
|
+
console.log(key, value);
|
|
302
|
+
};
|
|
303
|
+
```
|
|
304
|
+
|
|
292
305
|
# How to Contribute
|
|
293
306
|
|
|
294
307
|
In this section of the documentation we will cover:
|
|
@@ -369,4 +382,4 @@ If you need more information on the steps to create a pull request, you can find
|
|
|
369
382
|
|
|
370
383
|
## License
|
|
371
384
|
|
|
372
|
-
MIT © Jared Wray
|
|
385
|
+
MIT © Jared Wray
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keyv",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.3",
|
|
4
4
|
"description": "Simple key-value storage with support for multiple backends",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -8,9 +8,6 @@
|
|
|
8
8
|
"coverage": "nyc report --reporter=text-lcov > coverage.lcov",
|
|
9
9
|
"clean": "rm -rf node_modules && rm -rf .nyc_output && rm -rf coverage.lcov && rm -rf ./test/testdb.sqlite"
|
|
10
10
|
},
|
|
11
|
-
"workspaces": [
|
|
12
|
-
"packages/test-suite"
|
|
13
|
-
],
|
|
14
11
|
"xo": {
|
|
15
12
|
"rules": {
|
|
16
13
|
"unicorn/prefer-module": 0,
|
|
@@ -40,15 +37,16 @@
|
|
|
40
37
|
},
|
|
41
38
|
"devDependencies": {
|
|
42
39
|
"@keyv/test-suite": "*",
|
|
43
|
-
"ava": "^4.
|
|
40
|
+
"ava": "^4.3.0",
|
|
41
|
+
"eslint": "^8.19.0",
|
|
44
42
|
"eslint-plugin-promise": "^6.0.0",
|
|
45
43
|
"nyc": "^15.1.0",
|
|
46
44
|
"pify": "5.0.0",
|
|
47
45
|
"this": "^1.1.0",
|
|
48
46
|
"timekeeper": "^2.2.0",
|
|
49
|
-
"tsd": "^0.
|
|
50
|
-
"typescript": "^4.
|
|
51
|
-
"xo": "^0.
|
|
47
|
+
"tsd": "^0.22.0",
|
|
48
|
+
"typescript": "^4.7.4",
|
|
49
|
+
"xo": "^0.50.0"
|
|
52
50
|
},
|
|
53
51
|
"tsd": {
|
|
54
52
|
"directory": "test"
|
|
@@ -27,10 +27,19 @@ declare class Keyv<Value = any, Options extends Record<string, any> = Record<str
|
|
|
27
27
|
constructor(uri?: string, options?: Keyv.Options<Value> & Options);
|
|
28
28
|
|
|
29
29
|
/** Returns the value. */
|
|
30
|
-
get<Raw extends boolean = false>(key: string
|
|
30
|
+
get<Raw extends boolean = false>(key: string, options?: {raw?: Raw}):
|
|
31
31
|
Promise<(Raw extends false
|
|
32
32
|
? Value
|
|
33
33
|
: Keyv.DeserializedData<Value>) | undefined>;
|
|
34
|
+
|
|
35
|
+
/** Returns an array of values. Uses `store.getMany` if it exists, otherwise uses parallel calls to `store.get`. */
|
|
36
|
+
get<Raw extends boolean = false>(
|
|
37
|
+
key: string[],
|
|
38
|
+
options?: {raw?: Raw}
|
|
39
|
+
): Promise<
|
|
40
|
+
Array<(Raw extends false ? Value : Keyv.DeserializedData<Value>) | undefined>
|
|
41
|
+
>;
|
|
42
|
+
|
|
34
43
|
/**
|
|
35
44
|
* Set a value.
|
|
36
45
|
*
|
|
@@ -48,7 +57,7 @@ declare class Keyv<Value = any, Options extends Record<string, any> = Record<str
|
|
|
48
57
|
/** Check if key exists in current namespace. */
|
|
49
58
|
has(key: string): Promise<boolean>;
|
|
50
59
|
/** Iterator */
|
|
51
|
-
iterator(namespace
|
|
60
|
+
iterator(namespace?: string): AsyncGenerator<any, void, any>;
|
|
52
61
|
/**
|
|
53
62
|
* Closes the connection.
|
|
54
63
|
*
|
|
@@ -83,12 +92,17 @@ declare namespace Keyv {
|
|
|
83
92
|
value: Value; expires: number | undefined;
|
|
84
93
|
}
|
|
85
94
|
|
|
95
|
+
type StoredData<Value> = DeserializedData<Value> | string | undefined;
|
|
96
|
+
|
|
86
97
|
interface Store<Value> {
|
|
87
98
|
get(key: string): Value | Promise<Value | undefined> | undefined;
|
|
88
99
|
set(key: string, value: Value, ttl?: number): any;
|
|
89
100
|
delete(key: string): boolean | Promise<boolean>;
|
|
90
101
|
clear(): void | Promise<void>;
|
|
91
102
|
has?(key: string): boolean | Promise<boolean>;
|
|
103
|
+
getMany?(
|
|
104
|
+
keys: string[]
|
|
105
|
+
): Array<StoredData<Value>> | Promise<Array<StoredData<Value>>> | undefined;
|
|
92
106
|
}
|
|
93
107
|
}
|
|
94
108
|
|
package/node_modules/{decompress-response/node_modules/mimic-response → mimic-response}/index.d.ts
RENAMED
|
File without changes
|