cloudstructs 0.9.36 → 0.9.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/assets/slack-app/provider.lambda/index.js +26 -26
- package/assets/slack-textract/detect.lambda/index.js +140 -122
- package/assets/ssl-server-test/analyze.lambda/index.js +26 -26
- package/lib/codecommit-mirror/index.js +2 -2
- package/lib/dmarc/index.js +1 -1
- package/lib/ecs-service-roller/index.js +2 -2
- package/lib/email-receiver/receiver.js +1 -1
- package/lib/mjml-template/index.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/ssl-server-test/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/static-website/index.js +3 -2
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +7 -9
- package/node_modules/@babel/runtime/helpers/regeneratorDefine.js +7 -9
- package/node_modules/@babel/runtime/package.json +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +5 -0
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +25 -121
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +17 -1
- package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +11 -10
- package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +18 -19
- package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +26 -29
- package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +26 -32
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +63 -1
- package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +219 -6
- package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +25 -1
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +9 -89
- package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +14 -0
- package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +11 -1
- package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +0 -1
- package/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +8 -0
- package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +17 -6
- package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +2025 -2009
- package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +12 -1
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +6 -2
- package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +12 -0
- package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +8 -2
- package/node_modules/@slack/logger/node_modules/undici-types/agent.d.ts +4 -0
- package/node_modules/@slack/logger/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@slack/logger/node_modules/undici-types/client.d.ts +6 -3
- package/node_modules/@slack/logger/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/@slack/logger/node_modules/undici-types/package.json +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/pool.d.ts +2 -0
- package/node_modules/@slack/logger/node_modules/undici-types/proxy-agent.d.ts +1 -0
- package/node_modules/@slack/types/dist/block-kit/blocks.d.ts +5 -1
- package/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/index.d.ts +3 -3
- package/node_modules/@slack/types/dist/events/index.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/index.js +1 -1
- package/node_modules/@slack/types/dist/events/index.js.map +1 -1
- package/node_modules/@slack/types/dist/events/message.d.ts +1 -0
- package/node_modules/@slack/types/dist/events/message.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/team.d.ts +2 -2
- package/node_modules/@slack/types/dist/events/team.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/index.d.ts +5 -5
- package/node_modules/@slack/types/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/index.js +5 -5
- package/node_modules/@slack/types/dist/index.js.map +1 -1
- package/node_modules/@slack/types/package.json +16 -8
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +5 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +25 -121
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +17 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +11 -10
- package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +18 -19
- package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +26 -29
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +26 -32
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +63 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +219 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +25 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +9 -89
- package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +14 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +11 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +0 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +8 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +17 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +2025 -2009
- package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +12 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +6 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +12 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +8 -2
- package/node_modules/@slack/web-api/node_modules/undici-types/agent.d.ts +4 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/client.d.ts +6 -3
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/package.json +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/pool.d.ts +2 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/proxy-agent.d.ts +1 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +5 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +25 -121
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +17 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +11 -10
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +18 -19
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +26 -29
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +26 -32
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +63 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +219 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +25 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +9 -89
- package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +14 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +11 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +0 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +8 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +17 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +2025 -2009
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +12 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +6 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +12 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +8 -2
- package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +4 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/client.d.ts +6 -3
- package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/pool.d.ts +2 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/proxy-agent.d.ts +1 -0
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +5 -0
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +25 -121
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +17 -1
- package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +11 -10
- package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +18 -19
- package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +26 -29
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +26 -32
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +63 -1
- package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +219 -6
- package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +25 -1
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +9 -89
- package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +14 -0
- package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +11 -1
- package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +0 -1
- package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +8 -0
- package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +17 -6
- package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +2025 -2009
- package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +12 -1
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +6 -2
- package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +12 -0
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +8 -2
- package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +4 -0
- package/node_modules/@types/keyv/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@types/keyv/node_modules/undici-types/client.d.ts +6 -3
- package/node_modules/@types/keyv/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/@types/keyv/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/pool.d.ts +2 -0
- package/node_modules/@types/keyv/node_modules/undici-types/proxy-agent.d.ts +1 -0
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +5 -0
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +25 -121
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +17 -1
- package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +11 -10
- package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +18 -19
- package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +26 -29
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +26 -32
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +63 -1
- package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +219 -6
- package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +25 -1
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +9 -89
- package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +14 -0
- package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +11 -1
- package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +0 -1
- package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +8 -0
- package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +17 -6
- package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +2025 -2009
- package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +12 -1
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +6 -2
- package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +12 -0
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +8 -2
- package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +4 -0
- package/node_modules/@types/responselike/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/@types/responselike/node_modules/undici-types/client.d.ts +6 -3
- package/node_modules/@types/responselike/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/@types/responselike/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/pool.d.ts +2 -0
- package/node_modules/@types/responselike/node_modules/undici-types/proxy-agent.d.ts +1 -0
- package/node_modules/axios/CHANGELOG.md +17 -0
- package/node_modules/axios/README.md +1 -4
- package/node_modules/axios/dist/axios.js +39 -5
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +46 -9
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +46 -9
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +46 -9
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +13 -2
- package/node_modules/axios/lib/core/Axios.js +2 -2
- package/node_modules/axios/lib/core/mergeConfig.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/throttle.js +1 -1
- package/node_modules/axios/lib/helpers/toURLEncodedForm.js +4 -3
- package/node_modules/axios/lib/utils.js +36 -0
- package/node_modules/axios/package.json +5 -5
- package/node_modules/css-select/lib/attributes.d.ts.map +1 -1
- package/node_modules/css-select/lib/attributes.js.map +1 -1
- package/node_modules/css-select/lib/compile.d.ts.map +1 -1
- package/node_modules/css-select/lib/compile.js.map +1 -1
- package/node_modules/css-select/lib/esm/attributes.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/attributes.js.map +1 -1
- package/node_modules/css-select/lib/esm/compile.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/compile.js.map +1 -1
- package/node_modules/css-select/lib/esm/general.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/general.js.map +1 -1
- package/node_modules/css-select/lib/esm/helpers/cache.d.ts +12 -0
- package/node_modules/css-select/lib/esm/helpers/cache.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/cache.js +41 -0
- package/node_modules/css-select/lib/esm/helpers/cache.js.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/querying.d.ts +24 -0
- package/node_modules/css-select/lib/esm/helpers/querying.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/querying.js +105 -0
- package/node_modules/css-select/lib/esm/helpers/querying.js.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.d.ts +20 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.js +103 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.js.map +1 -0
- package/node_modules/css-select/lib/esm/index.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/index.js.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.js.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js.map +1 -1
- package/node_modules/css-select/lib/esm/sort.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/sort.js.map +1 -1
- package/node_modules/css-select/lib/esm/types.d.ts.map +1 -1
- package/node_modules/css-select/lib/esm/types.js.map +1 -1
- package/node_modules/css-select/lib/general.d.ts.map +1 -1
- package/node_modules/css-select/lib/general.js.map +1 -1
- package/node_modules/css-select/lib/helpers/cache.d.ts +12 -0
- package/node_modules/css-select/lib/helpers/cache.d.ts.map +1 -0
- package/node_modules/css-select/lib/helpers/cache.js +45 -0
- package/node_modules/css-select/lib/helpers/cache.js.map +1 -0
- package/node_modules/css-select/lib/helpers/querying.d.ts +24 -0
- package/node_modules/css-select/lib/helpers/querying.d.ts.map +1 -0
- package/node_modules/css-select/lib/helpers/querying.js +111 -0
- package/node_modules/css-select/lib/helpers/querying.js.map +1 -0
- package/node_modules/css-select/lib/helpers/selectors.d.ts +20 -0
- package/node_modules/css-select/lib/helpers/selectors.d.ts.map +1 -0
- package/node_modules/css-select/lib/helpers/selectors.js +111 -0
- package/node_modules/css-select/lib/helpers/selectors.js.map +1 -0
- package/node_modules/css-select/lib/index.d.ts.map +1 -1
- package/node_modules/css-select/lib/index.js.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/aliases.js.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/filters.js.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/index.js.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map +1 -1
- package/node_modules/css-select/lib/pseudo-selectors/subselects.js.map +1 -1
- package/node_modules/css-select/lib/sort.d.ts.map +1 -1
- package/node_modules/css-select/lib/sort.js.map +1 -1
- package/node_modules/css-select/lib/types.d.ts.map +1 -1
- package/node_modules/css-select/lib/types.js.map +1 -1
- package/node_modules/css-select/package.json +1 -1
- package/node_modules/css-what/package.json +1 -1
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/form-data/CHANGELOG.md +601 -0
- package/node_modules/form-data/{README.md.bak → README.md} +4 -4
- package/node_modules/form-data/lib/form_data.js +2 -6
- package/node_modules/form-data/package.json +22 -6
- package/package.json +18 -18
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.1/index.d.ts +0 -98
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.1/index.d.ts +0 -98
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.1/index.d.ts +0 -98
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.1/index.d.ts +0 -98
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.1/index.d.ts +0 -98
- package/node_modules/form-data/Readme.md +0 -355
|
@@ -60,7 +60,6 @@ declare module "timers" {
|
|
|
60
60
|
/**
|
|
61
61
|
* Cancels the immediate. This is similar to calling `clearImmediate()`.
|
|
62
62
|
* @since v20.5.0, v18.18.0
|
|
63
|
-
* @experimental
|
|
64
63
|
*/
|
|
65
64
|
[Symbol.dispose](): void;
|
|
66
65
|
_onImmediate(...args: any[]): void;
|
|
@@ -141,7 +140,6 @@ declare module "timers" {
|
|
|
141
140
|
/**
|
|
142
141
|
* Cancels the timeout.
|
|
143
142
|
* @since v20.5.0, v18.18.0
|
|
144
|
-
* @experimental
|
|
145
143
|
*/
|
|
146
144
|
[Symbol.dispose](): void;
|
|
147
145
|
_onTimeout(...args: any[]): void;
|
|
@@ -315,6 +315,17 @@ declare module "url" {
|
|
|
315
315
|
* @return The fully-resolved platform-specific Node.js file path.
|
|
316
316
|
*/
|
|
317
317
|
function fileURLToPath(url: string | URL, options?: FileUrlToPathOptions): string;
|
|
318
|
+
/**
|
|
319
|
+
* Like `url.fileURLToPath(...)` except that instead of returning a string
|
|
320
|
+
* representation of the path, a `Buffer` is returned. This conversion is
|
|
321
|
+
* helpful when the input URL contains percent-encoded segments that are
|
|
322
|
+
* not valid UTF-8 / Unicode sequences.
|
|
323
|
+
* @since v24.3.0
|
|
324
|
+
* @param url The file URL string or URL object to convert to a path.
|
|
325
|
+
* @returns The fully-resolved platform-specific Node.js file path
|
|
326
|
+
* as a `Buffer`.
|
|
327
|
+
*/
|
|
328
|
+
function fileURLToPathBuffer(url: string | URL, options?: FileUrlToPathOptions): Buffer;
|
|
318
329
|
/**
|
|
319
330
|
* This function ensures that `path` is resolved absolutely, and that the URL
|
|
320
331
|
* control characters are correctly encoded when converting into a File URL.
|
|
@@ -874,7 +885,7 @@ declare module "url" {
|
|
|
874
885
|
* Returns an ES6 `Iterator` over each of the name-value pairs in the query.
|
|
875
886
|
* Each item of the iterator is a JavaScript `Array`. The first item of the `Array` is the `name`, the second item of the `Array` is the `value`.
|
|
876
887
|
*
|
|
877
|
-
* Alias for `urlSearchParams[
|
|
888
|
+
* Alias for `urlSearchParams[Symbol.iterator]()`.
|
|
878
889
|
*/
|
|
879
890
|
entries(): URLSearchParamsIterator<[string, string]>;
|
|
880
891
|
/**
|
|
@@ -431,8 +431,8 @@ declare module "util" {
|
|
|
431
431
|
* intended for debugging. The output of `util.inspect` may change at any time
|
|
432
432
|
* and should not be depended upon programmatically. Additional `options` may be
|
|
433
433
|
* passed that alter the result.
|
|
434
|
-
* `util.inspect()` will use the constructor's name and/or
|
|
435
|
-
* an identifiable tag for an inspected value.
|
|
434
|
+
* `util.inspect()` will use the constructor's name and/or `Symbol.toStringTag`
|
|
435
|
+
* property to make an identifiable tag for an inspected value.
|
|
436
436
|
*
|
|
437
437
|
* ```js
|
|
438
438
|
* class Foo {
|
|
@@ -1172,6 +1172,7 @@ declare module "util" {
|
|
|
1172
1172
|
| "hidden"
|
|
1173
1173
|
| "inverse"
|
|
1174
1174
|
| "italic"
|
|
1175
|
+
| "none"
|
|
1175
1176
|
| "overlined"
|
|
1176
1177
|
| "reset"
|
|
1177
1178
|
| "strikethrough"
|
|
@@ -1228,6 +1229,8 @@ declare module "util" {
|
|
|
1228
1229
|
* );
|
|
1229
1230
|
* ```
|
|
1230
1231
|
*
|
|
1232
|
+
* The special format value `none` applies no additional styling to the text.
|
|
1233
|
+
*
|
|
1231
1234
|
* The full list of formats can be found in [modifiers](https://nodejs.org/docs/latest-v24.x/api/util.html#modifiers).
|
|
1232
1235
|
* @param format A text format or an Array of text formats defined in `util.inspect.colors`.
|
|
1233
1236
|
* @param text The text to to be formatted.
|
|
@@ -2108,6 +2111,7 @@ declare module "util/types" {
|
|
|
2108
2111
|
* console.log(myError instanceof Error); // true
|
|
2109
2112
|
* ```
|
|
2110
2113
|
* @since v10.0.0
|
|
2114
|
+
* @deprecated The `util.types.isNativeError` API is deprecated. Please use `Error.isError` instead.
|
|
2111
2115
|
*/
|
|
2112
2116
|
function isNativeError(object: unknown): object is Error;
|
|
2113
2117
|
/**
|
|
@@ -482,6 +482,18 @@ declare module "worker_threads" {
|
|
|
482
482
|
* @since v24.0.0
|
|
483
483
|
*/
|
|
484
484
|
getHeapStatistics(): Promise<HeapInfo>;
|
|
485
|
+
/**
|
|
486
|
+
* Calls `worker.terminate()` when the dispose scope is exited.
|
|
487
|
+
*
|
|
488
|
+
* ```js
|
|
489
|
+
* async function example() {
|
|
490
|
+
* await using worker = new Worker('for (;;) {}', { eval: true });
|
|
491
|
+
* // Worker is automatically terminate when the scope is exited.
|
|
492
|
+
* }
|
|
493
|
+
* ```
|
|
494
|
+
* @since v24.2.0
|
|
495
|
+
*/
|
|
496
|
+
[Symbol.asyncDispose](): Promise<void>;
|
|
485
497
|
addListener(event: "error", listener: (err: Error) => void): this;
|
|
486
498
|
addListener(event: "exit", listener: (exitCode: number) => void): this;
|
|
487
499
|
addListener(event: "message", listener: (value: any) => void): this;
|
|
@@ -147,6 +147,10 @@ declare module "zlib" {
|
|
|
147
147
|
* @default buffer.kMaxLength
|
|
148
148
|
*/
|
|
149
149
|
maxOutputLength?: number | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* If `true`, returns an object with `buffer` and `engine`.
|
|
152
|
+
*/
|
|
153
|
+
info?: boolean | undefined;
|
|
150
154
|
}
|
|
151
155
|
interface ZstdOptions {
|
|
152
156
|
/**
|
|
@@ -172,6 +176,10 @@ declare module "zlib" {
|
|
|
172
176
|
* @default buffer.kMaxLength
|
|
173
177
|
*/
|
|
174
178
|
maxOutputLength?: number | undefined;
|
|
179
|
+
/**
|
|
180
|
+
* If `true`, returns an object with `buffer` and `engine`.
|
|
181
|
+
*/
|
|
182
|
+
info?: boolean | undefined;
|
|
175
183
|
}
|
|
176
184
|
interface Zlib {
|
|
177
185
|
readonly bytesWritten: number;
|
|
@@ -610,8 +618,6 @@ declare module "zlib" {
|
|
|
610
618
|
const Z_FINISH: number;
|
|
611
619
|
/** @deprecated Use `constants.Z_BLOCK` */
|
|
612
620
|
const Z_BLOCK: number;
|
|
613
|
-
/** @deprecated Use `constants.Z_TREES` */
|
|
614
|
-
const Z_TREES: number;
|
|
615
621
|
// Return codes for the compression/decompression functions.
|
|
616
622
|
// Negative values are errors, positive values are used for special but normal events.
|
|
617
623
|
/** @deprecated Use `constants.Z_OK` */
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { URL } from 'url'
|
|
2
2
|
import Pool from './pool'
|
|
3
3
|
import Dispatcher from './dispatcher'
|
|
4
|
+
import TClientStats from './client-stats'
|
|
5
|
+
import TPoolStats from './pool-stats'
|
|
4
6
|
|
|
5
7
|
export default Agent
|
|
6
8
|
|
|
@@ -12,6 +14,8 @@ declare class Agent extends Dispatcher {
|
|
|
12
14
|
destroyed: boolean
|
|
13
15
|
/** Dispatches a request. */
|
|
14
16
|
dispatch (options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandler): boolean
|
|
17
|
+
/** Aggregate stats for a Agent by origin. */
|
|
18
|
+
readonly stats: Record<string, TClientStats | TPoolStats>
|
|
15
19
|
}
|
|
16
20
|
|
|
17
21
|
declare namespace Agent {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Client from './client'
|
|
2
|
+
|
|
3
|
+
export default ClientStats
|
|
4
|
+
|
|
5
|
+
declare class ClientStats {
|
|
6
|
+
constructor (pool: Client)
|
|
7
|
+
/** If socket has open connection. */
|
|
8
|
+
connected: boolean
|
|
9
|
+
/** Number of open socket connections in this client that do not have an active request. */
|
|
10
|
+
pending: number
|
|
11
|
+
/** Number of currently active requests of this client. */
|
|
12
|
+
running: number
|
|
13
|
+
/** Number of active, pending, or queued requests of this client. */
|
|
14
|
+
size: number
|
|
15
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { URL } from 'url'
|
|
2
2
|
import Dispatcher from './dispatcher'
|
|
3
3
|
import buildConnector from './connector'
|
|
4
|
+
import TClientStats from './client-stats'
|
|
4
5
|
|
|
5
6
|
type ClientConnectOptions = Omit<Dispatcher.ConnectOptions, 'origin'>
|
|
6
7
|
|
|
@@ -15,6 +16,8 @@ export class Client extends Dispatcher {
|
|
|
15
16
|
closed: boolean
|
|
16
17
|
/** `true` after `client.destroyed()` has been called or `client.close()` has been called and the client shutdown has completed. */
|
|
17
18
|
destroyed: boolean
|
|
19
|
+
/** Aggregate stats for a Client. */
|
|
20
|
+
readonly stats: TClientStats
|
|
18
21
|
|
|
19
22
|
// Override dispatcher APIs.
|
|
20
23
|
override connect (
|
|
@@ -84,13 +87,13 @@ export declare namespace Client {
|
|
|
84
87
|
/**
|
|
85
88
|
* @description Enables support for H2 if the server has assigned bigger priority to it through ALPN negotiation.
|
|
86
89
|
* @default false
|
|
87
|
-
|
|
90
|
+
*/
|
|
88
91
|
allowH2?: boolean;
|
|
89
92
|
/**
|
|
90
93
|
* @description Dictates the maximum number of concurrent streams for a single H2 session. It can be overridden by a SETTINGS remote frame.
|
|
91
94
|
* @default 100
|
|
92
|
-
|
|
93
|
-
maxConcurrentStreams?: number
|
|
95
|
+
*/
|
|
96
|
+
maxConcurrentStreams?: number;
|
|
94
97
|
}
|
|
95
98
|
export interface SocketInfo {
|
|
96
99
|
localAddress?: string
|
|
@@ -59,6 +59,9 @@ declare namespace MockAgent {
|
|
|
59
59
|
/** Ignore trailing slashes in the path */
|
|
60
60
|
ignoreTrailingSlash?: boolean;
|
|
61
61
|
|
|
62
|
+
/** Accept URLs with search parameters using non standard syntaxes. default false */
|
|
63
|
+
acceptNonStandardSearchParameters?: boolean;
|
|
64
|
+
|
|
62
65
|
/** Enable call history. you can either call MockAgent.enableCallHistory(). default false */
|
|
63
66
|
enableCallHistory?: boolean
|
|
64
67
|
}
|
|
@@ -33,6 +33,8 @@ declare namespace Pool {
|
|
|
33
33
|
factory?(origin: URL, opts: object): Dispatcher;
|
|
34
34
|
/** The max number of clients to create. `null` if no limit. Default `null`. */
|
|
35
35
|
connections?: number | null;
|
|
36
|
+
/** The amount of time before a client is removed from the pool and closed. `null` if no time limit. Default `null` */
|
|
37
|
+
clientTtl?: number | null;
|
|
36
38
|
|
|
37
39
|
interceptors?: { Pool?: readonly Dispatcher.DispatchInterceptor[] } & Client.Options['interceptors']
|
|
38
40
|
}
|
|
@@ -8,8 +8,8 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 15 Aug 2025 08:39:32 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
15
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [
|
|
15
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [David Junger](https://github.com/touffy), [Mohsen Azimi](https://github.com/mohsen1), [Nikita Galkin](https://github.com/galkin), [Sebastian Silbermann](https://github.com/eps1lon), [Wilco Bakker](https://github.com/WilcoBakker), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), [Dmitry Semigradsky](https://github.com/Semigradsky), [René](https://github.com/Renegade334), and [Yagiz Nizipli](https://github.com/anonrig).
|
|
@@ -1701,6 +1701,8 @@ declare module "buffer" {
|
|
|
1701
1701
|
* @return A reference to `buf`.
|
|
1702
1702
|
*/
|
|
1703
1703
|
fill(value: string | Uint8Array | number, offset?: number, end?: number, encoding?: BufferEncoding): this;
|
|
1704
|
+
fill(value: string | Uint8Array | number, offset: number, encoding: BufferEncoding): this;
|
|
1705
|
+
fill(value: string | Uint8Array | number, encoding: BufferEncoding): this;
|
|
1704
1706
|
/**
|
|
1705
1707
|
* If `value` is:
|
|
1706
1708
|
*
|
|
@@ -1770,6 +1772,7 @@ declare module "buffer" {
|
|
|
1770
1772
|
* @return The index of the first occurrence of `value` in `buf`, or `-1` if `buf` does not contain `value`.
|
|
1771
1773
|
*/
|
|
1772
1774
|
indexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number;
|
|
1775
|
+
indexOf(value: string | number | Uint8Array, encoding: BufferEncoding): number;
|
|
1773
1776
|
/**
|
|
1774
1777
|
* Identical to `buf.indexOf()`, except the last occurrence of `value` is found
|
|
1775
1778
|
* rather than the first occurrence.
|
|
@@ -1838,6 +1841,7 @@ declare module "buffer" {
|
|
|
1838
1841
|
* @return The index of the last occurrence of `value` in `buf`, or `-1` if `buf` does not contain `value`.
|
|
1839
1842
|
*/
|
|
1840
1843
|
lastIndexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number;
|
|
1844
|
+
lastIndexOf(value: string | number | Uint8Array, encoding: BufferEncoding): number;
|
|
1841
1845
|
/**
|
|
1842
1846
|
* Equivalent to `buf.indexOf() !== -1`.
|
|
1843
1847
|
*
|
|
@@ -1868,6 +1872,7 @@ declare module "buffer" {
|
|
|
1868
1872
|
* @return `true` if `value` was found in `buf`, `false` otherwise.
|
|
1869
1873
|
*/
|
|
1870
1874
|
includes(value: string | number | Buffer, byteOffset?: number, encoding?: BufferEncoding): boolean;
|
|
1875
|
+
includes(value: string | number | Buffer, encoding: BufferEncoding): boolean;
|
|
1871
1876
|
}
|
|
1872
1877
|
var Buffer: BufferConstructor;
|
|
1873
1878
|
/**
|
|
@@ -66,7 +66,6 @@
|
|
|
66
66
|
* @see [source](https://github.com/nodejs/node/blob/v24.x/lib/child_process.js)
|
|
67
67
|
*/
|
|
68
68
|
declare module "child_process" {
|
|
69
|
-
import { ObjectEncodingOptions } from "node:fs";
|
|
70
69
|
import { Abortable, EventEmitter } from "node:events";
|
|
71
70
|
import * as dgram from "node:dgram";
|
|
72
71
|
import * as net from "node:net";
|
|
@@ -887,12 +886,13 @@ declare module "child_process" {
|
|
|
887
886
|
signal?: AbortSignal | undefined;
|
|
888
887
|
maxBuffer?: number | undefined;
|
|
889
888
|
killSignal?: NodeJS.Signals | number | undefined;
|
|
889
|
+
encoding?: string | null | undefined;
|
|
890
890
|
}
|
|
891
891
|
interface ExecOptionsWithStringEncoding extends ExecOptions {
|
|
892
|
-
encoding
|
|
892
|
+
encoding?: BufferEncoding | undefined;
|
|
893
893
|
}
|
|
894
894
|
interface ExecOptionsWithBufferEncoding extends ExecOptions {
|
|
895
|
-
encoding:
|
|
895
|
+
encoding: "buffer" | null; // specify `null`.
|
|
896
896
|
}
|
|
897
897
|
interface ExecException extends Error {
|
|
898
898
|
cmd?: string | undefined;
|
|
@@ -995,38 +995,19 @@ declare module "child_process" {
|
|
|
995
995
|
// `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
|
|
996
996
|
function exec(
|
|
997
997
|
command: string,
|
|
998
|
-
options:
|
|
999
|
-
encoding: "buffer" | null;
|
|
1000
|
-
} & ExecOptions,
|
|
998
|
+
options: ExecOptionsWithBufferEncoding,
|
|
1001
999
|
callback?: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void,
|
|
1002
1000
|
): ChildProcess;
|
|
1003
|
-
// `options` with well
|
|
1004
|
-
function exec(
|
|
1005
|
-
command: string,
|
|
1006
|
-
options: {
|
|
1007
|
-
encoding: BufferEncoding;
|
|
1008
|
-
} & ExecOptions,
|
|
1009
|
-
callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
1010
|
-
): ChildProcess;
|
|
1011
|
-
// `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`.
|
|
1012
|
-
// There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`.
|
|
1013
|
-
function exec(
|
|
1014
|
-
command: string,
|
|
1015
|
-
options: {
|
|
1016
|
-
encoding: BufferEncoding;
|
|
1017
|
-
} & ExecOptions,
|
|
1018
|
-
callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
|
|
1019
|
-
): ChildProcess;
|
|
1020
|
-
// `options` without an `encoding` means stdout/stderr are definitely `string`.
|
|
1001
|
+
// `options` with well-known or absent `encoding` means stdout/stderr are definitely `string`.
|
|
1021
1002
|
function exec(
|
|
1022
1003
|
command: string,
|
|
1023
|
-
options:
|
|
1004
|
+
options: ExecOptionsWithStringEncoding,
|
|
1024
1005
|
callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
1025
1006
|
): ChildProcess;
|
|
1026
1007
|
// fallback if nothing else matches. Worst case is always `string | Buffer`.
|
|
1027
1008
|
function exec(
|
|
1028
1009
|
command: string,
|
|
1029
|
-
options:
|
|
1010
|
+
options: ExecOptions | undefined | null,
|
|
1030
1011
|
callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
|
|
1031
1012
|
): ChildProcess;
|
|
1032
1013
|
interface PromiseWithChild<T> extends Promise<T> {
|
|
@@ -1039,32 +1020,21 @@ declare module "child_process" {
|
|
|
1039
1020
|
}>;
|
|
1040
1021
|
function __promisify__(
|
|
1041
1022
|
command: string,
|
|
1042
|
-
options:
|
|
1043
|
-
encoding: "buffer" | null;
|
|
1044
|
-
} & ExecOptions,
|
|
1023
|
+
options: ExecOptionsWithBufferEncoding,
|
|
1045
1024
|
): PromiseWithChild<{
|
|
1046
1025
|
stdout: Buffer;
|
|
1047
1026
|
stderr: Buffer;
|
|
1048
1027
|
}>;
|
|
1049
1028
|
function __promisify__(
|
|
1050
1029
|
command: string,
|
|
1051
|
-
options:
|
|
1052
|
-
encoding: BufferEncoding;
|
|
1053
|
-
} & ExecOptions,
|
|
1030
|
+
options: ExecOptionsWithStringEncoding,
|
|
1054
1031
|
): PromiseWithChild<{
|
|
1055
1032
|
stdout: string;
|
|
1056
1033
|
stderr: string;
|
|
1057
1034
|
}>;
|
|
1058
1035
|
function __promisify__(
|
|
1059
1036
|
command: string,
|
|
1060
|
-
options: ExecOptions,
|
|
1061
|
-
): PromiseWithChild<{
|
|
1062
|
-
stdout: string;
|
|
1063
|
-
stderr: string;
|
|
1064
|
-
}>;
|
|
1065
|
-
function __promisify__(
|
|
1066
|
-
command: string,
|
|
1067
|
-
options?: (ObjectEncodingOptions & ExecOptions) | null,
|
|
1037
|
+
options: ExecOptions | undefined | null,
|
|
1068
1038
|
): PromiseWithChild<{
|
|
1069
1039
|
stdout: string | Buffer;
|
|
1070
1040
|
stderr: string | Buffer;
|
|
@@ -1076,16 +1046,16 @@ declare module "child_process" {
|
|
|
1076
1046
|
windowsVerbatimArguments?: boolean | undefined;
|
|
1077
1047
|
shell?: boolean | string | undefined;
|
|
1078
1048
|
signal?: AbortSignal | undefined;
|
|
1049
|
+
encoding?: string | null | undefined;
|
|
1079
1050
|
}
|
|
1080
1051
|
interface ExecFileOptionsWithStringEncoding extends ExecFileOptions {
|
|
1081
|
-
encoding
|
|
1052
|
+
encoding?: BufferEncoding | undefined;
|
|
1082
1053
|
}
|
|
1083
1054
|
interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions {
|
|
1084
1055
|
encoding: "buffer" | null;
|
|
1085
1056
|
}
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
}
|
|
1057
|
+
/** @deprecated Use `ExecFileOptions` instead. */
|
|
1058
|
+
interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions {}
|
|
1089
1059
|
type ExecFileException =
|
|
1090
1060
|
& Omit<ExecException, "code">
|
|
1091
1061
|
& Omit<NodeJS.ErrnoException, "code">
|
|
@@ -1154,80 +1124,44 @@ declare module "child_process" {
|
|
|
1154
1124
|
* @param args List of string arguments.
|
|
1155
1125
|
* @param callback Called with the output when process terminates.
|
|
1156
1126
|
*/
|
|
1157
|
-
function execFile(file: string): ChildProcess;
|
|
1158
|
-
function execFile(
|
|
1159
|
-
file: string,
|
|
1160
|
-
options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
|
|
1161
|
-
): ChildProcess;
|
|
1162
|
-
function execFile(file: string, args?: readonly string[] | null): ChildProcess;
|
|
1163
|
-
function execFile(
|
|
1164
|
-
file: string,
|
|
1165
|
-
args: readonly string[] | undefined | null,
|
|
1166
|
-
options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
|
|
1167
|
-
): ChildProcess;
|
|
1168
1127
|
// no `options` definitely means stdout/stderr are `string`.
|
|
1169
1128
|
function execFile(
|
|
1170
1129
|
file: string,
|
|
1171
|
-
callback
|
|
1130
|
+
callback?: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
1172
1131
|
): ChildProcess;
|
|
1173
1132
|
function execFile(
|
|
1174
1133
|
file: string,
|
|
1175
1134
|
args: readonly string[] | undefined | null,
|
|
1176
|
-
callback
|
|
1135
|
+
callback?: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
1177
1136
|
): ChildProcess;
|
|
1178
1137
|
// `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
|
|
1179
1138
|
function execFile(
|
|
1180
1139
|
file: string,
|
|
1181
1140
|
options: ExecFileOptionsWithBufferEncoding,
|
|
1182
|
-
callback
|
|
1141
|
+
callback?: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void,
|
|
1183
1142
|
): ChildProcess;
|
|
1184
1143
|
function execFile(
|
|
1185
1144
|
file: string,
|
|
1186
1145
|
args: readonly string[] | undefined | null,
|
|
1187
1146
|
options: ExecFileOptionsWithBufferEncoding,
|
|
1188
|
-
callback
|
|
1147
|
+
callback?: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void,
|
|
1189
1148
|
): ChildProcess;
|
|
1190
|
-
// `options` with well
|
|
1149
|
+
// `options` with well-known or absent `encoding` means stdout/stderr are definitely `string`.
|
|
1191
1150
|
function execFile(
|
|
1192
1151
|
file: string,
|
|
1193
1152
|
options: ExecFileOptionsWithStringEncoding,
|
|
1194
|
-
callback
|
|
1153
|
+
callback?: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
1195
1154
|
): ChildProcess;
|
|
1196
1155
|
function execFile(
|
|
1197
1156
|
file: string,
|
|
1198
1157
|
args: readonly string[] | undefined | null,
|
|
1199
1158
|
options: ExecFileOptionsWithStringEncoding,
|
|
1200
|
-
callback
|
|
1201
|
-
): ChildProcess;
|
|
1202
|
-
// `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`.
|
|
1203
|
-
// There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`.
|
|
1204
|
-
function execFile(
|
|
1205
|
-
file: string,
|
|
1206
|
-
options: ExecFileOptionsWithOtherEncoding,
|
|
1207
|
-
callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
|
|
1208
|
-
): ChildProcess;
|
|
1209
|
-
function execFile(
|
|
1210
|
-
file: string,
|
|
1211
|
-
args: readonly string[] | undefined | null,
|
|
1212
|
-
options: ExecFileOptionsWithOtherEncoding,
|
|
1213
|
-
callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
|
|
1214
|
-
): ChildProcess;
|
|
1215
|
-
// `options` without an `encoding` means stdout/stderr are definitely `string`.
|
|
1216
|
-
function execFile(
|
|
1217
|
-
file: string,
|
|
1218
|
-
options: ExecFileOptions,
|
|
1219
|
-
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
1220
|
-
): ChildProcess;
|
|
1221
|
-
function execFile(
|
|
1222
|
-
file: string,
|
|
1223
|
-
args: readonly string[] | undefined | null,
|
|
1224
|
-
options: ExecFileOptions,
|
|
1225
|
-
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
1159
|
+
callback?: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
1226
1160
|
): ChildProcess;
|
|
1227
1161
|
// fallback if nothing else matches. Worst case is always `string | Buffer`.
|
|
1228
1162
|
function execFile(
|
|
1229
1163
|
file: string,
|
|
1230
|
-
options:
|
|
1164
|
+
options: ExecFileOptions | undefined | null,
|
|
1231
1165
|
callback:
|
|
1232
1166
|
| ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void)
|
|
1233
1167
|
| undefined
|
|
@@ -1236,7 +1170,7 @@ declare module "child_process" {
|
|
|
1236
1170
|
function execFile(
|
|
1237
1171
|
file: string,
|
|
1238
1172
|
args: readonly string[] | undefined | null,
|
|
1239
|
-
options:
|
|
1173
|
+
options: ExecFileOptions | undefined | null,
|
|
1240
1174
|
callback:
|
|
1241
1175
|
| ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void)
|
|
1242
1176
|
| undefined
|
|
@@ -1286,37 +1220,7 @@ declare module "child_process" {
|
|
|
1286
1220
|
}>;
|
|
1287
1221
|
function __promisify__(
|
|
1288
1222
|
file: string,
|
|
1289
|
-
options:
|
|
1290
|
-
): PromiseWithChild<{
|
|
1291
|
-
stdout: string | Buffer;
|
|
1292
|
-
stderr: string | Buffer;
|
|
1293
|
-
}>;
|
|
1294
|
-
function __promisify__(
|
|
1295
|
-
file: string,
|
|
1296
|
-
args: readonly string[] | undefined | null,
|
|
1297
|
-
options: ExecFileOptionsWithOtherEncoding,
|
|
1298
|
-
): PromiseWithChild<{
|
|
1299
|
-
stdout: string | Buffer;
|
|
1300
|
-
stderr: string | Buffer;
|
|
1301
|
-
}>;
|
|
1302
|
-
function __promisify__(
|
|
1303
|
-
file: string,
|
|
1304
|
-
options: ExecFileOptions,
|
|
1305
|
-
): PromiseWithChild<{
|
|
1306
|
-
stdout: string;
|
|
1307
|
-
stderr: string;
|
|
1308
|
-
}>;
|
|
1309
|
-
function __promisify__(
|
|
1310
|
-
file: string,
|
|
1311
|
-
args: readonly string[] | undefined | null,
|
|
1312
|
-
options: ExecFileOptions,
|
|
1313
|
-
): PromiseWithChild<{
|
|
1314
|
-
stdout: string;
|
|
1315
|
-
stderr: string;
|
|
1316
|
-
}>;
|
|
1317
|
-
function __promisify__(
|
|
1318
|
-
file: string,
|
|
1319
|
-
options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
|
|
1223
|
+
options: ExecFileOptions | undefined | null,
|
|
1320
1224
|
): PromiseWithChild<{
|
|
1321
1225
|
stdout: string | Buffer;
|
|
1322
1226
|
stderr: string | Buffer;
|
|
@@ -1324,7 +1228,7 @@ declare module "child_process" {
|
|
|
1324
1228
|
function __promisify__(
|
|
1325
1229
|
file: string,
|
|
1326
1230
|
args: readonly string[] | undefined | null,
|
|
1327
|
-
options:
|
|
1231
|
+
options: ExecFileOptions | undefined | null,
|
|
1328
1232
|
): PromiseWithChild<{
|
|
1329
1233
|
stdout: string | Buffer;
|
|
1330
1234
|
stderr: string | Buffer;
|
|
@@ -3771,7 +3771,23 @@ declare module "crypto" {
|
|
|
3771
3771
|
*/
|
|
3772
3772
|
checkIP(ip: string): string | undefined;
|
|
3773
3773
|
/**
|
|
3774
|
-
* Checks whether this certificate was issued by the given `otherCert
|
|
3774
|
+
* Checks whether this certificate was potentially issued by the given `otherCert`
|
|
3775
|
+
* by comparing the certificate metadata.
|
|
3776
|
+
*
|
|
3777
|
+
* This is useful for pruning a list of possible issuer certificates which have been
|
|
3778
|
+
* selected using a more rudimentary filtering routine, i.e. just based on subject
|
|
3779
|
+
* and issuer names.
|
|
3780
|
+
*
|
|
3781
|
+
* Finally, to verify that this certificate's signature was produced by a private key
|
|
3782
|
+
* corresponding to `otherCert`'s public key use `x509.verify(publicKey)`
|
|
3783
|
+
* with `otherCert`'s public key represented as a `KeyObject`
|
|
3784
|
+
* like so
|
|
3785
|
+
*
|
|
3786
|
+
* ```js
|
|
3787
|
+
* if (!x509.verify(otherCert.publicKey)) {
|
|
3788
|
+
* throw new Error('otherCert did not issue x509');
|
|
3789
|
+
* }
|
|
3790
|
+
* ```
|
|
3775
3791
|
* @since v15.6.0
|
|
3776
3792
|
*/
|
|
3777
3793
|
checkIssued(otherCert: X509Certificate): boolean;
|
|
@@ -127,24 +127,25 @@ declare module "dns/promises" {
|
|
|
127
127
|
* @param [rrtype='A'] Resource record type.
|
|
128
128
|
*/
|
|
129
129
|
function resolve(hostname: string): Promise<string[]>;
|
|
130
|
-
function resolve(hostname: string, rrtype: "A"): Promise<string[]>;
|
|
131
|
-
function resolve(hostname: string, rrtype: "AAAA"): Promise<string[]>;
|
|
130
|
+
function resolve(hostname: string, rrtype: "A" | "AAAA" | "CNAME" | "NS" | "PTR"): Promise<string[]>;
|
|
132
131
|
function resolve(hostname: string, rrtype: "ANY"): Promise<AnyRecord[]>;
|
|
133
132
|
function resolve(hostname: string, rrtype: "CAA"): Promise<CaaRecord[]>;
|
|
134
|
-
function resolve(hostname: string, rrtype: "CNAME"): Promise<string[]>;
|
|
135
133
|
function resolve(hostname: string, rrtype: "MX"): Promise<MxRecord[]>;
|
|
136
134
|
function resolve(hostname: string, rrtype: "NAPTR"): Promise<NaptrRecord[]>;
|
|
137
|
-
function resolve(hostname: string, rrtype: "NS"): Promise<string[]>;
|
|
138
|
-
function resolve(hostname: string, rrtype: "PTR"): Promise<string[]>;
|
|
139
135
|
function resolve(hostname: string, rrtype: "SOA"): Promise<SoaRecord>;
|
|
140
136
|
function resolve(hostname: string, rrtype: "SRV"): Promise<SrvRecord[]>;
|
|
141
137
|
function resolve(hostname: string, rrtype: "TLSA"): Promise<TlsaRecord[]>;
|
|
142
138
|
function resolve(hostname: string, rrtype: "TXT"): Promise<string[][]>;
|
|
143
|
-
function resolve(
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
139
|
+
function resolve(hostname: string, rrtype: string): Promise<
|
|
140
|
+
| string[]
|
|
141
|
+
| CaaRecord[]
|
|
142
|
+
| MxRecord[]
|
|
143
|
+
| NaptrRecord[]
|
|
144
|
+
| SoaRecord
|
|
145
|
+
| SrvRecord[]
|
|
146
|
+
| TlsaRecord[]
|
|
147
|
+
| string[][]
|
|
148
|
+
| AnyRecord[]
|
|
148
149
|
>;
|
|
149
150
|
/**
|
|
150
151
|
* Uses the DNS protocol to resolve IPv4 addresses (`A` records) for the `hostname`. On success, the `Promise` is resolved with an array of IPv4
|