cloudstructs 0.9.41 → 0.9.43
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 +5 -5
- package/API.md +209 -13
- package/assets/slack-textract/detect.lambda/index.js +276 -88
- 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 +1 -1
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +36 -1
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.buffer.d.ts +9 -0
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +8 -4
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +50 -33
- package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +3 -2
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +198 -164
- package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +9 -8
- package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +39 -21
- package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +89 -76
- package/node_modules/@slack/logger/node_modules/@types/node/globals.typedarray.d.ts +19 -0
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +52 -22
- package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +29 -22
- package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +82 -50
- package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +7 -6
- package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +3 -2
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +13 -5
- package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +221 -7
- package/node_modules/@slack/logger/node_modules/@types/node/stream/consumers.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +88 -64
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
- package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +34 -10
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +11 -2
- package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +20 -3
- package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +24 -3
- package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +40 -3
- package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +25 -24
- package/node_modules/@slack/logger/node_modules/undici-types/agent.d.ts +1 -0
- package/node_modules/@slack/logger/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
- package/node_modules/@slack/logger/node_modules/undici-types/errors.d.ts +5 -15
- package/node_modules/@slack/logger/node_modules/undici-types/interceptors.d.ts +5 -0
- package/node_modules/@slack/logger/node_modules/undici-types/package.json +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/snapshot-agent.d.ts +5 -3
- package/node_modules/@slack/logger/node_modules/undici-types/webidl.d.ts +82 -21
- package/node_modules/@slack/types/dist/events/entity-details-requested.d.ts +21 -0
- package/node_modules/@slack/types/dist/events/entity-details-requested.d.ts.map +1 -0
- package/node_modules/@slack/types/dist/events/entity-details-requested.js +3 -0
- package/node_modules/@slack/types/dist/events/entity-details-requested.js.map +1 -0
- package/node_modules/@slack/types/dist/events/index.d.ts +2 -1
- package/node_modules/@slack/types/dist/events/index.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/index.js.map +1 -1
- package/node_modules/@slack/types/dist/message-metadata.d.ts +246 -1
- package/node_modules/@slack/types/dist/message-metadata.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/message-metadata.js +21 -0
- package/node_modules/@slack/types/dist/message-metadata.js.map +1 -1
- package/node_modules/@slack/types/package.json +1 -1
- package/node_modules/@slack/web-api/dist/methods.d.ts +9 -2
- package/node_modules/@slack/web-api/dist/methods.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/methods.js +7 -0
- package/node_modules/@slack/web-api/dist/methods.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/chat.d.ts +37 -9
- package/node_modules/@slack/web-api/dist/types/request/chat.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/entity.d.ts +46 -0
- package/node_modules/@slack/web-api/dist/types/request/entity.d.ts.map +1 -0
- package/node_modules/@slack/web-api/dist/types/request/entity.js +3 -0
- package/node_modules/@slack/web-api/dist/types/request/entity.js.map +1 -0
- package/node_modules/@slack/web-api/dist/types/request/index.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/request/index.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/manifest.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/manifest.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/search.d.ts +10 -1
- package/node_modules/@slack/web-api/dist/types/request/search.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.d.ts +9 -0
- package/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.d.ts.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.js.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/index.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/index.d.ts.map +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 +36 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.buffer.d.ts +9 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +8 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +50 -33
- package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +3 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +198 -164
- package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +9 -8
- package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +39 -21
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +89 -76
- package/node_modules/@slack/web-api/node_modules/@types/node/globals.typedarray.d.ts +19 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +52 -22
- package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +29 -22
- package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +82 -50
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +7 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +3 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +13 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +221 -7
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/consumers.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +88 -64
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +34 -10
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +11 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +20 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +24 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +40 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +25 -24
- package/node_modules/@slack/web-api/node_modules/undici-types/agent.d.ts +1 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/errors.d.ts +5 -15
- package/node_modules/@slack/web-api/node_modules/undici-types/interceptors.d.ts +5 -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/snapshot-agent.d.ts +5 -3
- package/node_modules/@slack/web-api/node_modules/undici-types/webidl.d.ts +82 -21
- package/node_modules/@slack/web-api/package.json +2 -2
- 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 +36 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.buffer.d.ts +9 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +8 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +50 -33
- package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +3 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +198 -164
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +9 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +39 -21
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +89 -76
- package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.typedarray.d.ts +19 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +52 -22
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +29 -22
- package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +82 -50
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +7 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +3 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +13 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +221 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/consumers.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +88 -64
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +34 -10
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +11 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +20 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +24 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +40 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +25 -24
- package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +1 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/errors.d.ts +5 -15
- package/node_modules/@types/cacheable-request/node_modules/undici-types/interceptors.d.ts +5 -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/snapshot-agent.d.ts +5 -3
- package/node_modules/@types/cacheable-request/node_modules/undici-types/webidl.d.ts +82 -21
- 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 +36 -1
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.buffer.d.ts +9 -0
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +8 -4
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +50 -33
- package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +3 -2
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +198 -164
- package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +9 -8
- package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +39 -21
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +89 -76
- package/node_modules/@types/keyv/node_modules/@types/node/globals.typedarray.d.ts +19 -0
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +52 -22
- package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +29 -22
- package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +82 -50
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +7 -6
- package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +3 -2
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +13 -5
- package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +221 -7
- package/node_modules/@types/keyv/node_modules/@types/node/stream/consumers.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +88 -64
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +34 -10
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +11 -2
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +20 -3
- package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +24 -3
- package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +40 -3
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +25 -24
- package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +1 -0
- package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
- package/node_modules/@types/keyv/node_modules/undici-types/errors.d.ts +5 -15
- package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +5 -0
- package/node_modules/@types/keyv/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/snapshot-agent.d.ts +5 -3
- package/node_modules/@types/keyv/node_modules/undici-types/webidl.d.ts +82 -21
- 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 +36 -1
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.buffer.d.ts +9 -0
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +8 -4
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +50 -33
- package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +3 -2
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +198 -164
- package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +9 -8
- package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +39 -21
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +89 -76
- package/node_modules/@types/responselike/node_modules/@types/node/globals.typedarray.d.ts +19 -0
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +52 -22
- package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +29 -22
- package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +82 -50
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +7 -6
- package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +3 -2
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +13 -5
- package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +221 -7
- package/node_modules/@types/responselike/node_modules/@types/node/stream/consumers.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +88 -64
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +34 -10
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +11 -2
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +20 -3
- package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +24 -3
- package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +40 -3
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +25 -24
- package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +1 -0
- package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
- package/node_modules/@types/responselike/node_modules/undici-types/errors.d.ts +5 -15
- package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +5 -0
- package/node_modules/@types/responselike/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/snapshot-agent.d.ts +5 -3
- package/node_modules/@types/responselike/node_modules/undici-types/webidl.d.ts +82 -21
- package/node_modules/axios/CHANGELOG.md +410 -346
- package/node_modules/axios/README.md +79 -51
- package/node_modules/axios/dist/axios.js +121 -46
- 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 +126 -57
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +126 -57
- 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 +351 -97
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +4 -0
- package/node_modules/axios/index.d.ts +4 -0
- package/node_modules/axios/lib/adapters/adapters.js +85 -40
- package/node_modules/axios/lib/adapters/fetch.js +1 -1
- package/node_modules/axios/lib/adapters/http.js +224 -42
- package/node_modules/axios/lib/core/InterceptorManager.js +1 -1
- package/node_modules/axios/lib/core/mergeConfig.js +4 -4
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/HttpStatusCode.js +6 -0
- package/node_modules/axios/lib/helpers/bind.js +7 -0
- package/node_modules/axios/lib/helpers/cookies.js +24 -13
- package/node_modules/axios/package.json +9 -4
- package/node_modules/mjml/LICENSE.md +21 -0
- package/node_modules/mjml/package.json +9 -8
- package/node_modules/mjml-accordion/LICENSE.md +21 -0
- package/node_modules/mjml-accordion/README.md +2 -2
- package/node_modules/mjml-accordion/lib/Accordion.js +8 -0
- package/node_modules/mjml-accordion/lib/AccordionElement.js +8 -0
- package/node_modules/mjml-accordion/lib/AccordionText.js +17 -3
- package/node_modules/mjml-accordion/lib/AccordionTitle.js +17 -3
- package/node_modules/mjml-accordion/package.json +4 -3
- package/node_modules/mjml-body/LICENSE.md +21 -0
- package/node_modules/mjml-body/package.json +4 -3
- package/node_modules/mjml-button/LICENSE.md +21 -0
- package/node_modules/mjml-button/README.md +1 -1
- package/node_modules/mjml-button/package.json +4 -3
- package/node_modules/mjml-carousel/LICENSE.md +21 -0
- package/node_modules/mjml-carousel/README.md +5 -5
- package/node_modules/mjml-carousel/lib/Carousel.js +15 -2
- package/node_modules/mjml-carousel/lib/CarouselImage.js +8 -1
- package/node_modules/mjml-carousel/package.json +4 -3
- package/node_modules/mjml-cli/LICENSE.md +21 -0
- package/node_modules/mjml-cli/package.json +7 -6
- package/node_modules/mjml-column/LICENSE.md +21 -0
- package/node_modules/mjml-column/lib/index.js +29 -3
- package/node_modules/mjml-column/package.json +4 -3
- package/node_modules/mjml-core/LICENSE.md +21 -0
- package/node_modules/mjml-core/lib/createComponent.js +4 -2
- package/node_modules/mjml-core/lib/index.js +3 -0
- package/node_modules/mjml-core/package.json +6 -5
- package/node_modules/mjml-divider/LICENSE.md +21 -0
- package/node_modules/mjml-divider/package.json +4 -3
- package/node_modules/mjml-group/LICENSE.md +21 -0
- package/node_modules/mjml-group/README.md +4 -4
- package/node_modules/mjml-group/package.json +4 -3
- package/node_modules/mjml-head/LICENSE.md +21 -0
- package/node_modules/mjml-head/package.json +4 -3
- package/node_modules/mjml-head-attributes/LICENSE.md +21 -0
- package/node_modules/mjml-head-attributes/package.json +4 -3
- package/node_modules/mjml-head-breakpoint/LICENSE.md +21 -0
- package/node_modules/mjml-head-breakpoint/package.json +4 -3
- package/node_modules/mjml-head-font/LICENSE.md +21 -0
- package/node_modules/mjml-head-font/package.json +4 -3
- package/node_modules/mjml-head-html-attributes/LICENSE.md +21 -0
- package/node_modules/mjml-head-html-attributes/package.json +4 -3
- package/node_modules/mjml-head-preview/LICENSE.md +21 -0
- package/node_modules/mjml-head-preview/package.json +4 -3
- package/node_modules/mjml-head-style/LICENSE.md +21 -0
- package/node_modules/mjml-head-style/package.json +4 -3
- package/node_modules/mjml-head-title/LICENSE.md +21 -0
- package/node_modules/mjml-head-title/package.json +4 -3
- package/node_modules/mjml-hero/LICENSE.md +21 -0
- package/node_modules/mjml-hero/README.md +4 -4
- package/node_modules/mjml-hero/package.json +4 -3
- package/node_modules/mjml-image/LICENSE.md +21 -0
- package/node_modules/mjml-image/README.md +1 -1
- package/node_modules/mjml-image/package.json +4 -3
- package/node_modules/mjml-migrate/package.json +5 -4
- package/node_modules/mjml-navbar/LICENSE.md +21 -0
- package/node_modules/mjml-navbar/README.md +4 -4
- package/node_modules/mjml-navbar/lib/Navbar.js +2 -2
- package/node_modules/mjml-navbar/package.json +4 -3
- package/node_modules/mjml-parser-xml/package.json +4 -4
- package/node_modules/mjml-preset-core/LICENSE.md +21 -0
- package/node_modules/mjml-preset-core/package.json +28 -27
- package/node_modules/mjml-raw/LICENSE.md +21 -0
- package/node_modules/mjml-raw/package.json +4 -3
- package/node_modules/mjml-section/LICENSE.md +21 -0
- package/node_modules/mjml-section/lib/index.js +20 -4
- package/node_modules/mjml-section/package.json +4 -3
- package/node_modules/mjml-social/LICENSE.md +21 -0
- package/node_modules/mjml-social/README.md +1 -1
- package/node_modules/mjml-social/lib/SocialElement.js +3 -4
- package/node_modules/mjml-social/package.json +4 -3
- package/node_modules/mjml-spacer/LICENSE.md +21 -0
- package/node_modules/mjml-spacer/package.json +4 -3
- package/node_modules/mjml-table/LICENSE.md +21 -0
- package/node_modules/mjml-table/lib/index.js +12 -1
- package/node_modules/mjml-table/package.json +4 -3
- package/node_modules/mjml-text/LICENSE.md +21 -0
- package/node_modules/mjml-text/package.json +4 -3
- package/node_modules/mjml-validator/package.json +2 -2
- package/node_modules/mjml-wrapper/LICENSE.md +21 -0
- package/node_modules/mjml-wrapper/README.md +2 -1
- package/node_modules/mjml-wrapper/lib/index.js +11 -0
- package/node_modules/mjml-wrapper/package.json +5 -4
- package/package.json +19 -19
|
@@ -10,11 +10,6 @@ type SequenceConverter<T> = (object: unknown, iterable?: IterableIterator<T>) =>
|
|
|
10
10
|
|
|
11
11
|
type RecordConverter<K extends string, V> = (object: unknown) => Record<K, V>
|
|
12
12
|
|
|
13
|
-
interface ConvertToIntOpts {
|
|
14
|
-
clamp?: boolean
|
|
15
|
-
enforceRange?: boolean
|
|
16
|
-
}
|
|
17
|
-
|
|
18
13
|
interface WebidlErrors {
|
|
19
14
|
/**
|
|
20
15
|
* @description Instantiate an error
|
|
@@ -74,7 +69,7 @@ interface WebidlUtil {
|
|
|
74
69
|
V: unknown,
|
|
75
70
|
bitLength: number,
|
|
76
71
|
signedness: 'signed' | 'unsigned',
|
|
77
|
-
|
|
72
|
+
flags?: number
|
|
78
73
|
): number
|
|
79
74
|
|
|
80
75
|
/**
|
|
@@ -94,15 +89,17 @@ interface WebidlUtil {
|
|
|
94
89
|
* This is only effective in some newer Node.js versions.
|
|
95
90
|
*/
|
|
96
91
|
markAsUncloneable (V: any): void
|
|
92
|
+
|
|
93
|
+
IsResizableArrayBuffer (V: ArrayBufferLike): boolean
|
|
94
|
+
|
|
95
|
+
HasFlag (flag: number, attributes: number): boolean
|
|
97
96
|
}
|
|
98
97
|
|
|
99
98
|
interface WebidlConverters {
|
|
100
99
|
/**
|
|
101
100
|
* @see https://webidl.spec.whatwg.org/#es-DOMString
|
|
102
101
|
*/
|
|
103
|
-
DOMString (V: unknown, prefix: string, argument: string,
|
|
104
|
-
legacyNullToEmptyString: boolean
|
|
105
|
-
}): string
|
|
102
|
+
DOMString (V: unknown, prefix: string, argument: string, flags?: number): string
|
|
106
103
|
|
|
107
104
|
/**
|
|
108
105
|
* @see https://webidl.spec.whatwg.org/#es-ByteString
|
|
@@ -142,39 +139,78 @@ interface WebidlConverters {
|
|
|
142
139
|
/**
|
|
143
140
|
* @see https://webidl.spec.whatwg.org/#es-unsigned-short
|
|
144
141
|
*/
|
|
145
|
-
['unsigned short'] (V: unknown,
|
|
142
|
+
['unsigned short'] (V: unknown, flags?: number): number
|
|
146
143
|
|
|
147
144
|
/**
|
|
148
145
|
* @see https://webidl.spec.whatwg.org/#idl-ArrayBuffer
|
|
149
146
|
*/
|
|
150
|
-
ArrayBuffer (
|
|
151
|
-
|
|
147
|
+
ArrayBuffer (
|
|
148
|
+
V: unknown,
|
|
149
|
+
prefix: string,
|
|
150
|
+
argument: string,
|
|
151
|
+
options?: { allowResizable: boolean }
|
|
152
|
+
): ArrayBuffer
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @see https://webidl.spec.whatwg.org/#idl-SharedArrayBuffer
|
|
156
|
+
*/
|
|
157
|
+
SharedArrayBuffer (
|
|
158
|
+
V: unknown,
|
|
159
|
+
prefix: string,
|
|
160
|
+
argument: string,
|
|
161
|
+
options?: { allowResizable: boolean }
|
|
162
|
+
): SharedArrayBuffer
|
|
152
163
|
|
|
153
164
|
/**
|
|
154
165
|
* @see https://webidl.spec.whatwg.org/#es-buffer-source-types
|
|
155
166
|
*/
|
|
156
167
|
TypedArray (
|
|
157
168
|
V: unknown,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
169
|
+
T: new () => NodeJS.TypedArray,
|
|
170
|
+
prefix: string,
|
|
171
|
+
argument: string,
|
|
172
|
+
flags?: number
|
|
173
|
+
): NodeJS.TypedArray
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* @see https://webidl.spec.whatwg.org/#es-buffer-source-types
|
|
177
|
+
*/
|
|
178
|
+
DataView (
|
|
161
179
|
V: unknown,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
180
|
+
prefix: string,
|
|
181
|
+
argument: string,
|
|
182
|
+
flags?: number
|
|
183
|
+
): DataView
|
|
165
184
|
|
|
166
185
|
/**
|
|
167
186
|
* @see https://webidl.spec.whatwg.org/#es-buffer-source-types
|
|
168
187
|
*/
|
|
169
|
-
|
|
188
|
+
ArrayBufferView (
|
|
189
|
+
V: unknown,
|
|
190
|
+
prefix: string,
|
|
191
|
+
argument: string,
|
|
192
|
+
flags?: number
|
|
193
|
+
): NodeJS.ArrayBufferView
|
|
170
194
|
|
|
171
195
|
/**
|
|
172
196
|
* @see https://webidl.spec.whatwg.org/#BufferSource
|
|
173
197
|
*/
|
|
174
198
|
BufferSource (
|
|
175
199
|
V: unknown,
|
|
176
|
-
|
|
177
|
-
|
|
200
|
+
prefix: string,
|
|
201
|
+
argument: string,
|
|
202
|
+
flags?: number
|
|
203
|
+
): ArrayBuffer | NodeJS.ArrayBufferView
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* @see https://webidl.spec.whatwg.org/#AllowSharedBufferSource
|
|
207
|
+
*/
|
|
208
|
+
AllowSharedBufferSource (
|
|
209
|
+
V: unknown,
|
|
210
|
+
prefix: string,
|
|
211
|
+
argument: string,
|
|
212
|
+
flags?: number
|
|
213
|
+
): ArrayBuffer | SharedArrayBuffer | NodeJS.ArrayBufferView
|
|
178
214
|
|
|
179
215
|
['sequence<ByteString>']: SequenceConverter<string>
|
|
180
216
|
|
|
@@ -192,6 +228,13 @@ interface WebidlConverters {
|
|
|
192
228
|
*/
|
|
193
229
|
RequestInit (V: unknown): undici.RequestInit
|
|
194
230
|
|
|
231
|
+
/**
|
|
232
|
+
* @see https://html.spec.whatwg.org/multipage/webappapis.html#eventhandlernonnull
|
|
233
|
+
*/
|
|
234
|
+
EventHandlerNonNull (V: unknown): Function | null
|
|
235
|
+
|
|
236
|
+
WebSocketStreamWrite (V: unknown): ArrayBuffer | NodeJS.TypedArray | string
|
|
237
|
+
|
|
195
238
|
[Key: string]: (...args: any[]) => unknown
|
|
196
239
|
}
|
|
197
240
|
|
|
@@ -210,6 +253,10 @@ interface WebidlIs {
|
|
|
210
253
|
AbortSignal: WebidlIsFunction<AbortSignal>
|
|
211
254
|
MessagePort: WebidlIsFunction<MessagePort>
|
|
212
255
|
USVString: WebidlIsFunction<string>
|
|
256
|
+
/**
|
|
257
|
+
* @see https://webidl.spec.whatwg.org/#BufferSource
|
|
258
|
+
*/
|
|
259
|
+
BufferSource: WebidlIsFunction<ArrayBuffer | NodeJS.TypedArray>
|
|
213
260
|
}
|
|
214
261
|
|
|
215
262
|
export interface Webidl {
|
|
@@ -217,6 +264,7 @@ export interface Webidl {
|
|
|
217
264
|
util: WebidlUtil
|
|
218
265
|
converters: WebidlConverters
|
|
219
266
|
is: WebidlIs
|
|
267
|
+
attributes: WebIDLExtendedAttributes
|
|
220
268
|
|
|
221
269
|
/**
|
|
222
270
|
* @description Performs a brand-check on {@param V} to ensure it is a
|
|
@@ -278,3 +326,16 @@ export interface Webidl {
|
|
|
278
326
|
|
|
279
327
|
argumentLengthCheck (args: { length: number }, min: number, context: string): void
|
|
280
328
|
}
|
|
329
|
+
|
|
330
|
+
interface WebIDLExtendedAttributes {
|
|
331
|
+
/** https://webidl.spec.whatwg.org/#Clamp */
|
|
332
|
+
Clamp: number
|
|
333
|
+
/** https://webidl.spec.whatwg.org/#EnforceRange */
|
|
334
|
+
EnforceRange: number
|
|
335
|
+
/** https://webidl.spec.whatwg.org/#AllowShared */
|
|
336
|
+
AllowShared: number
|
|
337
|
+
/** https://webidl.spec.whatwg.org/#AllowResizable */
|
|
338
|
+
AllowResizable: number
|
|
339
|
+
/** https://webidl.spec.whatwg.org/#LegacyNullToEmptyString */
|
|
340
|
+
LegacyNullToEmptyString: number
|
|
341
|
+
}
|
|
@@ -8,7 +8,7 @@ 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: Tue, 11 Nov 2025 23:33:13 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -44,6 +44,13 @@ declare module "assert" {
|
|
|
44
44
|
* @default true
|
|
45
45
|
*/
|
|
46
46
|
strict?: boolean | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* If set to `true`, skips prototype and constructor
|
|
49
|
+
* comparison in deep equality checks.
|
|
50
|
+
* @since v24.9.0
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
53
|
+
skipPrototype?: boolean | undefined;
|
|
47
54
|
}
|
|
48
55
|
interface Assert extends Pick<typeof assert, AssertMethodNames> {
|
|
49
56
|
readonly [kOptions]: AssertOptions & { strict: false };
|
|
@@ -67,7 +74,8 @@ declare module "assert" {
|
|
|
67
74
|
* ```
|
|
68
75
|
*
|
|
69
76
|
* **Important**: When destructuring assertion methods from an `Assert` instance,
|
|
70
|
-
* the methods lose their connection to the instance's configuration options (such
|
|
77
|
+
* the methods lose their connection to the instance's configuration options (such
|
|
78
|
+
* as `diff`, `strict`, and `skipPrototype` settings).
|
|
71
79
|
* The destructured methods will fall back to default behavior instead.
|
|
72
80
|
*
|
|
73
81
|
* ```js
|
|
@@ -81,6 +89,33 @@ declare module "assert" {
|
|
|
81
89
|
* strictEqual({ a: 1 }, { b: { c: 1 } });
|
|
82
90
|
* ```
|
|
83
91
|
*
|
|
92
|
+
* The `skipPrototype` option affects all deep equality methods:
|
|
93
|
+
*
|
|
94
|
+
* ```js
|
|
95
|
+
* class Foo {
|
|
96
|
+
* constructor(a) {
|
|
97
|
+
* this.a = a;
|
|
98
|
+
* }
|
|
99
|
+
* }
|
|
100
|
+
*
|
|
101
|
+
* class Bar {
|
|
102
|
+
* constructor(a) {
|
|
103
|
+
* this.a = a;
|
|
104
|
+
* }
|
|
105
|
+
* }
|
|
106
|
+
*
|
|
107
|
+
* const foo = new Foo(1);
|
|
108
|
+
* const bar = new Bar(1);
|
|
109
|
+
*
|
|
110
|
+
* // Default behavior - fails due to different constructors
|
|
111
|
+
* const assert1 = new Assert();
|
|
112
|
+
* assert1.deepStrictEqual(foo, bar); // AssertionError
|
|
113
|
+
*
|
|
114
|
+
* // Skip prototype comparison - passes if properties are equal
|
|
115
|
+
* const assert2 = new Assert({ skipPrototype: true });
|
|
116
|
+
* assert2.deepStrictEqual(foo, bar); // OK
|
|
117
|
+
* ```
|
|
118
|
+
*
|
|
84
119
|
* When destructured, methods lose access to the instance's `this` context and revert to default assertion behavior
|
|
85
120
|
* (diff: 'simple', non-strict mode).
|
|
86
121
|
* To maintain custom options when using destructured methods, avoid
|
|
@@ -451,7 +451,16 @@ declare module "buffer" {
|
|
|
451
451
|
*/
|
|
452
452
|
subarray(start?: number, end?: number): Buffer<TArrayBuffer>;
|
|
453
453
|
}
|
|
454
|
+
// TODO: remove globals in future version
|
|
455
|
+
/**
|
|
456
|
+
* @deprecated This is intended for internal use, and will be removed once `@types/node` no longer supports
|
|
457
|
+
* TypeScript versions earlier than 5.7.
|
|
458
|
+
*/
|
|
454
459
|
type NonSharedBuffer = Buffer<ArrayBuffer>;
|
|
460
|
+
/**
|
|
461
|
+
* @deprecated This is intended for internal use, and will be removed once `@types/node` no longer supports
|
|
462
|
+
* TypeScript versions earlier than 5.7.
|
|
463
|
+
*/
|
|
455
464
|
type AllowSharedBuffer = Buffer<ArrayBufferLike>;
|
|
456
465
|
}
|
|
457
466
|
/** @deprecated Use `Buffer.allocUnsafeSlow()` instead. */
|
|
@@ -59,7 +59,7 @@ declare module "buffer" {
|
|
|
59
59
|
* @since v19.4.0, v18.14.0
|
|
60
60
|
* @param input The input to validate.
|
|
61
61
|
*/
|
|
62
|
-
export function isUtf8(input:
|
|
62
|
+
export function isUtf8(input: ArrayBuffer | NodeJS.TypedArray): boolean;
|
|
63
63
|
/**
|
|
64
64
|
* This function returns `true` if `input` contains only valid ASCII-encoded data,
|
|
65
65
|
* including the case in which `input` is empty.
|
|
@@ -68,7 +68,7 @@ declare module "buffer" {
|
|
|
68
68
|
* @since v19.6.0, v18.15.0
|
|
69
69
|
* @param input The input to validate.
|
|
70
70
|
*/
|
|
71
|
-
export function isAscii(input:
|
|
71
|
+
export function isAscii(input: ArrayBuffer | NodeJS.TypedArray): boolean;
|
|
72
72
|
export let INSPECT_MAX_BYTES: number;
|
|
73
73
|
export const kMaxLength: number;
|
|
74
74
|
export const kStringMaxLength: number;
|
|
@@ -113,7 +113,11 @@ declare module "buffer" {
|
|
|
113
113
|
* @param fromEnc The current encoding.
|
|
114
114
|
* @param toEnc To target encoding.
|
|
115
115
|
*/
|
|
116
|
-
export function transcode(
|
|
116
|
+
export function transcode(
|
|
117
|
+
source: Uint8Array,
|
|
118
|
+
fromEnc: TranscodeEncoding,
|
|
119
|
+
toEnc: TranscodeEncoding,
|
|
120
|
+
): NonSharedBuffer;
|
|
117
121
|
/**
|
|
118
122
|
* Resolves a `'blob:nodedata:...'` an associated `Blob` object registered using
|
|
119
123
|
* a prior call to `URL.createObjectURL()`.
|
|
@@ -330,7 +334,7 @@ declare module "buffer" {
|
|
|
330
334
|
* @return The number of bytes contained within `string`.
|
|
331
335
|
*/
|
|
332
336
|
byteLength(
|
|
333
|
-
string: string |
|
|
337
|
+
string: string | NodeJS.ArrayBufferView | ArrayBufferLike,
|
|
334
338
|
encoding?: BufferEncoding,
|
|
335
339
|
): number;
|
|
336
340
|
/**
|
|
@@ -66,6 +66,7 @@
|
|
|
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 { NonSharedBuffer } from "node:buffer";
|
|
69
70
|
import { Abortable, EventEmitter } from "node:events";
|
|
70
71
|
import * as dgram from "node:dgram";
|
|
71
72
|
import * as net from "node:net";
|
|
@@ -1001,7 +1002,7 @@ declare module "child_process" {
|
|
|
1001
1002
|
function exec(
|
|
1002
1003
|
command: string,
|
|
1003
1004
|
options: ExecOptionsWithBufferEncoding,
|
|
1004
|
-
callback?: (error: ExecException | null, stdout:
|
|
1005
|
+
callback?: (error: ExecException | null, stdout: NonSharedBuffer, stderr: NonSharedBuffer) => void,
|
|
1005
1006
|
): ChildProcess;
|
|
1006
1007
|
// `options` with well-known or absent `encoding` means stdout/stderr are definitely `string`.
|
|
1007
1008
|
function exec(
|
|
@@ -1013,7 +1014,11 @@ declare module "child_process" {
|
|
|
1013
1014
|
function exec(
|
|
1014
1015
|
command: string,
|
|
1015
1016
|
options: ExecOptions | undefined | null,
|
|
1016
|
-
callback?: (
|
|
1017
|
+
callback?: (
|
|
1018
|
+
error: ExecException | null,
|
|
1019
|
+
stdout: string | NonSharedBuffer,
|
|
1020
|
+
stderr: string | NonSharedBuffer,
|
|
1021
|
+
) => void,
|
|
1017
1022
|
): ChildProcess;
|
|
1018
1023
|
interface PromiseWithChild<T> extends Promise<T> {
|
|
1019
1024
|
child: ChildProcess;
|
|
@@ -1027,8 +1032,8 @@ declare module "child_process" {
|
|
|
1027
1032
|
command: string,
|
|
1028
1033
|
options: ExecOptionsWithBufferEncoding,
|
|
1029
1034
|
): PromiseWithChild<{
|
|
1030
|
-
stdout:
|
|
1031
|
-
stderr:
|
|
1035
|
+
stdout: NonSharedBuffer;
|
|
1036
|
+
stderr: NonSharedBuffer;
|
|
1032
1037
|
}>;
|
|
1033
1038
|
function __promisify__(
|
|
1034
1039
|
command: string,
|
|
@@ -1041,8 +1046,8 @@ declare module "child_process" {
|
|
|
1041
1046
|
command: string,
|
|
1042
1047
|
options: ExecOptions | undefined | null,
|
|
1043
1048
|
): PromiseWithChild<{
|
|
1044
|
-
stdout: string |
|
|
1045
|
-
stderr: string |
|
|
1049
|
+
stdout: string | NonSharedBuffer;
|
|
1050
|
+
stderr: string | NonSharedBuffer;
|
|
1046
1051
|
}>;
|
|
1047
1052
|
}
|
|
1048
1053
|
interface ExecFileOptions extends CommonOptions, Abortable {
|
|
@@ -1144,13 +1149,13 @@ declare module "child_process" {
|
|
|
1144
1149
|
function execFile(
|
|
1145
1150
|
file: string,
|
|
1146
1151
|
options: ExecFileOptionsWithBufferEncoding,
|
|
1147
|
-
callback?: (error: ExecFileException | null, stdout:
|
|
1152
|
+
callback?: (error: ExecFileException | null, stdout: NonSharedBuffer, stderr: NonSharedBuffer) => void,
|
|
1148
1153
|
): ChildProcess;
|
|
1149
1154
|
function execFile(
|
|
1150
1155
|
file: string,
|
|
1151
1156
|
args: readonly string[] | undefined | null,
|
|
1152
1157
|
options: ExecFileOptionsWithBufferEncoding,
|
|
1153
|
-
callback?: (error: ExecFileException | null, stdout:
|
|
1158
|
+
callback?: (error: ExecFileException | null, stdout: NonSharedBuffer, stderr: NonSharedBuffer) => void,
|
|
1154
1159
|
): ChildProcess;
|
|
1155
1160
|
// `options` with well-known or absent `encoding` means stdout/stderr are definitely `string`.
|
|
1156
1161
|
function execFile(
|
|
@@ -1169,7 +1174,11 @@ declare module "child_process" {
|
|
|
1169
1174
|
file: string,
|
|
1170
1175
|
options: ExecFileOptions | undefined | null,
|
|
1171
1176
|
callback:
|
|
1172
|
-
| ((
|
|
1177
|
+
| ((
|
|
1178
|
+
error: ExecFileException | null,
|
|
1179
|
+
stdout: string | NonSharedBuffer,
|
|
1180
|
+
stderr: string | NonSharedBuffer,
|
|
1181
|
+
) => void)
|
|
1173
1182
|
| undefined
|
|
1174
1183
|
| null,
|
|
1175
1184
|
): ChildProcess;
|
|
@@ -1178,7 +1187,11 @@ declare module "child_process" {
|
|
|
1178
1187
|
args: readonly string[] | undefined | null,
|
|
1179
1188
|
options: ExecFileOptions | undefined | null,
|
|
1180
1189
|
callback:
|
|
1181
|
-
| ((
|
|
1190
|
+
| ((
|
|
1191
|
+
error: ExecFileException | null,
|
|
1192
|
+
stdout: string | NonSharedBuffer,
|
|
1193
|
+
stderr: string | NonSharedBuffer,
|
|
1194
|
+
) => void)
|
|
1182
1195
|
| undefined
|
|
1183
1196
|
| null,
|
|
1184
1197
|
): ChildProcess;
|
|
@@ -1198,16 +1211,16 @@ declare module "child_process" {
|
|
|
1198
1211
|
file: string,
|
|
1199
1212
|
options: ExecFileOptionsWithBufferEncoding,
|
|
1200
1213
|
): PromiseWithChild<{
|
|
1201
|
-
stdout:
|
|
1202
|
-
stderr:
|
|
1214
|
+
stdout: NonSharedBuffer;
|
|
1215
|
+
stderr: NonSharedBuffer;
|
|
1203
1216
|
}>;
|
|
1204
1217
|
function __promisify__(
|
|
1205
1218
|
file: string,
|
|
1206
1219
|
args: readonly string[] | undefined | null,
|
|
1207
1220
|
options: ExecFileOptionsWithBufferEncoding,
|
|
1208
1221
|
): PromiseWithChild<{
|
|
1209
|
-
stdout:
|
|
1210
|
-
stderr:
|
|
1222
|
+
stdout: NonSharedBuffer;
|
|
1223
|
+
stderr: NonSharedBuffer;
|
|
1211
1224
|
}>;
|
|
1212
1225
|
function __promisify__(
|
|
1213
1226
|
file: string,
|
|
@@ -1228,16 +1241,16 @@ declare module "child_process" {
|
|
|
1228
1241
|
file: string,
|
|
1229
1242
|
options: ExecFileOptions | undefined | null,
|
|
1230
1243
|
): PromiseWithChild<{
|
|
1231
|
-
stdout: string |
|
|
1232
|
-
stderr: string |
|
|
1244
|
+
stdout: string | NonSharedBuffer;
|
|
1245
|
+
stderr: string | NonSharedBuffer;
|
|
1233
1246
|
}>;
|
|
1234
1247
|
function __promisify__(
|
|
1235
1248
|
file: string,
|
|
1236
1249
|
args: readonly string[] | undefined | null,
|
|
1237
1250
|
options: ExecFileOptions | undefined | null,
|
|
1238
1251
|
): PromiseWithChild<{
|
|
1239
|
-
stdout: string |
|
|
1240
|
-
stderr: string |
|
|
1252
|
+
stdout: string | NonSharedBuffer;
|
|
1253
|
+
stderr: string | NonSharedBuffer;
|
|
1241
1254
|
}>;
|
|
1242
1255
|
}
|
|
1243
1256
|
interface ForkOptions extends ProcessEnvOptions, MessagingOptions, Abortable {
|
|
@@ -1343,11 +1356,11 @@ declare module "child_process" {
|
|
|
1343
1356
|
* @param command The command to run.
|
|
1344
1357
|
* @param args List of string arguments.
|
|
1345
1358
|
*/
|
|
1346
|
-
function spawnSync(command: string): SpawnSyncReturns<
|
|
1359
|
+
function spawnSync(command: string): SpawnSyncReturns<NonSharedBuffer>;
|
|
1347
1360
|
function spawnSync(command: string, options: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
|
|
1348
|
-
function spawnSync(command: string, options: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<
|
|
1349
|
-
function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns<string |
|
|
1350
|
-
function spawnSync(command: string, args: readonly string[]): SpawnSyncReturns<
|
|
1361
|
+
function spawnSync(command: string, options: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<NonSharedBuffer>;
|
|
1362
|
+
function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns<string | NonSharedBuffer>;
|
|
1363
|
+
function spawnSync(command: string, args: readonly string[]): SpawnSyncReturns<NonSharedBuffer>;
|
|
1351
1364
|
function spawnSync(
|
|
1352
1365
|
command: string,
|
|
1353
1366
|
args: readonly string[],
|
|
@@ -1357,12 +1370,12 @@ declare module "child_process" {
|
|
|
1357
1370
|
command: string,
|
|
1358
1371
|
args: readonly string[],
|
|
1359
1372
|
options: SpawnSyncOptionsWithBufferEncoding,
|
|
1360
|
-
): SpawnSyncReturns<
|
|
1373
|
+
): SpawnSyncReturns<NonSharedBuffer>;
|
|
1361
1374
|
function spawnSync(
|
|
1362
1375
|
command: string,
|
|
1363
1376
|
args?: readonly string[],
|
|
1364
1377
|
options?: SpawnSyncOptions,
|
|
1365
|
-
): SpawnSyncReturns<string |
|
|
1378
|
+
): SpawnSyncReturns<string | NonSharedBuffer>;
|
|
1366
1379
|
interface CommonExecOptions extends CommonOptions {
|
|
1367
1380
|
input?: string | NodeJS.ArrayBufferView | undefined;
|
|
1368
1381
|
/**
|
|
@@ -1404,10 +1417,10 @@ declare module "child_process" {
|
|
|
1404
1417
|
* @param command The command to run.
|
|
1405
1418
|
* @return The stdout from the command.
|
|
1406
1419
|
*/
|
|
1407
|
-
function execSync(command: string):
|
|
1420
|
+
function execSync(command: string): NonSharedBuffer;
|
|
1408
1421
|
function execSync(command: string, options: ExecSyncOptionsWithStringEncoding): string;
|
|
1409
|
-
function execSync(command: string, options: ExecSyncOptionsWithBufferEncoding):
|
|
1410
|
-
function execSync(command: string, options?: ExecSyncOptions): string |
|
|
1422
|
+
function execSync(command: string, options: ExecSyncOptionsWithBufferEncoding): NonSharedBuffer;
|
|
1423
|
+
function execSync(command: string, options?: ExecSyncOptions): string | NonSharedBuffer;
|
|
1411
1424
|
interface ExecFileSyncOptions extends CommonExecOptions {
|
|
1412
1425
|
shell?: boolean | string | undefined;
|
|
1413
1426
|
}
|
|
@@ -1437,11 +1450,11 @@ declare module "child_process" {
|
|
|
1437
1450
|
* @param args List of string arguments.
|
|
1438
1451
|
* @return The stdout from the command.
|
|
1439
1452
|
*/
|
|
1440
|
-
function execFileSync(file: string):
|
|
1453
|
+
function execFileSync(file: string): NonSharedBuffer;
|
|
1441
1454
|
function execFileSync(file: string, options: ExecFileSyncOptionsWithStringEncoding): string;
|
|
1442
|
-
function execFileSync(file: string, options: ExecFileSyncOptionsWithBufferEncoding):
|
|
1443
|
-
function execFileSync(file: string, options?: ExecFileSyncOptions): string |
|
|
1444
|
-
function execFileSync(file: string, args: readonly string[]):
|
|
1455
|
+
function execFileSync(file: string, options: ExecFileSyncOptionsWithBufferEncoding): NonSharedBuffer;
|
|
1456
|
+
function execFileSync(file: string, options?: ExecFileSyncOptions): string | NonSharedBuffer;
|
|
1457
|
+
function execFileSync(file: string, args: readonly string[]): NonSharedBuffer;
|
|
1445
1458
|
function execFileSync(
|
|
1446
1459
|
file: string,
|
|
1447
1460
|
args: readonly string[],
|
|
@@ -1451,8 +1464,12 @@ declare module "child_process" {
|
|
|
1451
1464
|
file: string,
|
|
1452
1465
|
args: readonly string[],
|
|
1453
1466
|
options: ExecFileSyncOptionsWithBufferEncoding,
|
|
1454
|
-
):
|
|
1455
|
-
function execFileSync(
|
|
1467
|
+
): NonSharedBuffer;
|
|
1468
|
+
function execFileSync(
|
|
1469
|
+
file: string,
|
|
1470
|
+
args?: readonly string[],
|
|
1471
|
+
options?: ExecFileSyncOptions,
|
|
1472
|
+
): string | NonSharedBuffer;
|
|
1456
1473
|
}
|
|
1457
1474
|
declare module "node:child_process" {
|
|
1458
1475
|
export * from "child_process";
|
|
@@ -431,9 +431,10 @@ declare module "node:console" {
|
|
|
431
431
|
colorMode?: boolean | "auto" | undefined;
|
|
432
432
|
/**
|
|
433
433
|
* Specifies options that are passed along to
|
|
434
|
-
*
|
|
434
|
+
* `util.inspect()`. Can be an options object or, if different options
|
|
435
|
+
* for stdout and stderr are desired, a `Map` from stream objects to options.
|
|
435
436
|
*/
|
|
436
|
-
inspectOptions?: InspectOptions | undefined;
|
|
437
|
+
inspectOptions?: InspectOptions | ReadonlyMap<NodeJS.WritableStream, InspectOptions> | undefined;
|
|
437
438
|
/**
|
|
438
439
|
* Set group indentation.
|
|
439
440
|
* @default 2
|