cloudstructs 0.9.37 → 0.9.39
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/assets/slack-app/provider.lambda/index.js +26 -26
- package/assets/slack-textract/detect.lambda/index.js +1151 -979
- 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 +1 -1
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@babel/runtime/helpers/applyDecs2203.js +1 -1
- package/node_modules/@babel/runtime/helpers/applyDecs2203R.js +1 -1
- package/node_modules/@babel/runtime/helpers/applyDecs2301.js +1 -1
- package/node_modules/@babel/runtime/helpers/applyDecs2311.js +1 -1
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +1 -1
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +1 -1
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +1 -1
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2311.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/@isaacs/cliui/node_modules/ansi-regex/index.js +8 -4
- package/node_modules/@isaacs/cliui/node_modules/ansi-regex/package.json +1 -1
- package/node_modules/@isaacs/cliui/node_modules/ansi-regex/readme.md +6 -0
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/index.d.ts +12 -12
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/index.js +3 -3
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/package.json +4 -4
- package/node_modules/@isaacs/cliui/node_modules/strip-ansi/package.json +3 -1
- package/node_modules/@isaacs/cliui/node_modules/strip-ansi/readme.md +5 -9
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/assert/strict.d.ts +105 -2
- package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +119 -95
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +4 -1
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +26 -122
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +178 -18
- 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 +23 -19
- package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +79 -33
- package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +48 -29
- package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +283 -32
- package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +148 -347
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +55 -21
- package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +5 -0
- package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +7 -2
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +187 -3932
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.generated.d.ts +4052 -0
- package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +25 -0
- package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +21 -0
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +4 -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 +34 -1
- package/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +4 -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 +122 -24
- package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +32 -0
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/index.d.ts +7 -2
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.7/index.d.ts +7 -2
- package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +26 -7
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +17 -6
- package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +73 -10
- package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +21 -0
- package/node_modules/@slack/logger/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/node_modules/@slack/logger/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/node_modules/@slack/logger/node_modules/@types/node/{dom-events.d.ts → web-globals/events.d.ts} +49 -51
- package/node_modules/@slack/logger/node_modules/@types/node/web-globals/fetch.d.ts +50 -0
- package/node_modules/@slack/logger/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@slack/logger/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +96 -50
- package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +14 -2
- package/node_modules/@slack/logger/node_modules/undici-types/agent.d.ts +4 -4
- 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 -5
- package/node_modules/@slack/logger/node_modules/undici-types/diagnostics-channel.d.ts +9 -0
- package/node_modules/@slack/logger/node_modules/undici-types/dispatcher.d.ts +3 -8
- package/node_modules/@slack/logger/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -1
- package/node_modules/@slack/logger/node_modules/undici-types/eventsource.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/undici-types/fetch.d.ts +1 -0
- package/node_modules/@slack/logger/node_modules/undici-types/h2c-client.d.ts +0 -2
- package/node_modules/@slack/logger/node_modules/undici-types/handlers.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/index.d.ts +3 -1
- package/node_modules/@slack/logger/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/@slack/logger/node_modules/undici-types/mock-client.d.ts +2 -0
- package/node_modules/@slack/logger/node_modules/undici-types/mock-interceptor.d.ts +2 -1
- package/node_modules/@slack/logger/node_modules/undici-types/mock-pool.d.ts +2 -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/logger/node_modules/undici-types/retry-handler.d.ts +9 -0
- package/node_modules/@slack/logger/node_modules/undici-types/snapshot-agent.d.ts +107 -0
- package/node_modules/@slack/logger/node_modules/undici-types/webidl.d.ts +29 -15
- package/node_modules/@slack/logger/node_modules/undici-types/websocket.d.ts +3 -1
- package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts +58 -58
- package/node_modules/@slack/types/dist/block-kit/block-elements.js +1 -1
- package/node_modules/@slack/types/dist/block-kit/block-elements.js.map +1 -1
- package/node_modules/@slack/types/dist/block-kit/blocks.d.ts +49 -29
- package/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/block-kit/composition-objects.d.ts +19 -19
- package/node_modules/@slack/types/dist/block-kit/composition-objects.js +1 -1
- package/node_modules/@slack/types/dist/block-kit/composition-objects.js.map +1 -1
- package/node_modules/@slack/types/dist/block-kit/extensions.d.ts +5 -5
- package/node_modules/@slack/types/dist/calls.d.ts +1 -1
- package/node_modules/@slack/types/dist/calls.js +2 -2
- package/node_modules/@slack/types/dist/calls.js.map +1 -1
- package/node_modules/@slack/types/dist/dialog.d.ts +1 -1
- package/node_modules/@slack/types/dist/events/index.d.ts +4 -4
- 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/dist/message-attachments.d.ts +10 -10
- package/node_modules/@slack/types/dist/message-metadata.d.ts +2 -2
- package/node_modules/@slack/types/dist/views.d.ts +6 -6
- package/node_modules/@slack/types/package.json +19 -8
- package/node_modules/@slack/web-api/README.md +9 -9
- package/node_modules/@slack/web-api/dist/WebClient.d.ts +8 -8
- package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/WebClient.js +10 -9
- package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
- package/node_modules/@slack/web-api/dist/file-upload.d.ts +2 -2
- package/node_modules/@slack/web-api/dist/file-upload.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/file-upload.js +3 -2
- package/node_modules/@slack/web-api/dist/file-upload.js.map +1 -1
- package/node_modules/@slack/web-api/dist/index.d.ts +5 -5
- package/node_modules/@slack/web-api/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/index.js +10 -9
- package/node_modules/@slack/web-api/dist/index.js.map +1 -1
- package/node_modules/@slack/web-api/dist/instrument.js +1 -1
- package/node_modules/@slack/web-api/dist/instrument.js.map +1 -1
- package/node_modules/@slack/web-api/dist/logger.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/logger.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/methods.d.ts +284 -262
- package/node_modules/@slack/web-api/dist/methods.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/methods.js +284 -262
- package/node_modules/@slack/web-api/dist/methods.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/admin/analytics.d.ts +2 -2
- package/node_modules/@slack/web-api/dist/types/request/admin/conversations.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/admin/roles.d.ts +2 -2
- package/node_modules/@slack/web-api/dist/types/request/assistant.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/assistant.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/calls.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/chat.d.ts +17 -10
- package/node_modules/@slack/web-api/dist/types/request/chat.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/common.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/files.d.ts +3 -3
- package/node_modules/@slack/web-api/dist/types/request/index.d.ts +32 -32
- 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 +34 -34
- package/node_modules/@slack/web-api/dist/types/request/manifest.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/oauth.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/oauth.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/reminders.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/rtm.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/search.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/users.d.ts +3 -3
- package/node_modules/@slack/web-api/dist/types/request/views.d.ts +2 -2
- package/node_modules/@slack/web-api/dist/types/request/views.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/workflows.d.ts +40 -0
- package/node_modules/@slack/web-api/dist/types/request/workflows.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedAddResponse.d.ts +3 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedAddResponse.d.ts.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedAddResponse.js +3 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedAddResponse.js.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedListResponse.d.ts +11 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedListResponse.d.ts.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedListResponse.js +3 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedListResponse.js.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedRemoveResponse.d.ts +3 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedRemoveResponse.d.ts.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedRemoveResponse.js +3 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedRemoveResponse.js.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedSetResponse.d.ts +3 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedSetResponse.d.ts.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedSetResponse.js +3 -0
- package/node_modules/@slack/web-api/dist/types/response/WorkflowsFeaturedSetResponse.js.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/index.d.ts +12 -8
- 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 +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/assert/strict.d.ts +105 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +119 -95
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +4 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +26 -122
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +178 -18
- 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 +23 -19
- package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +79 -33
- package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +48 -29
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +283 -32
- package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +148 -347
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +55 -21
- 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/https.d.ts +5 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +7 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +187 -3932
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.generated.d.ts +4052 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +25 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +21 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +4 -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 +34 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +4 -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 +122 -24
- 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/tls.d.ts +32 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/index.d.ts +7 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.7/index.d.ts +7 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +26 -7
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +17 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +73 -10
- package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +21 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/node_modules/{@types/cacheable-request/node_modules/@types/node/dom-events.d.ts → @slack/web-api/node_modules/@types/node/web-globals/events.d.ts} +49 -51
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/fetch.d.ts +50 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +96 -50
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +14 -2
- package/node_modules/@slack/web-api/node_modules/undici-types/agent.d.ts +4 -4
- 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 -5
- package/node_modules/@slack/web-api/node_modules/undici-types/diagnostics-channel.d.ts +9 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/dispatcher.d.ts +3 -8
- package/node_modules/@slack/web-api/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/eventsource.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/undici-types/fetch.d.ts +1 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/h2c-client.d.ts +0 -2
- package/node_modules/@slack/web-api/node_modules/undici-types/handlers.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/index.d.ts +3 -1
- 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/mock-client.d.ts +2 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-interceptor.d.ts +2 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-pool.d.ts +2 -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/@slack/web-api/node_modules/undici-types/retry-handler.d.ts +9 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/snapshot-agent.d.ts +107 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/webidl.d.ts +29 -15
- package/node_modules/@slack/web-api/node_modules/undici-types/websocket.d.ts +3 -1
- package/node_modules/@slack/web-api/package.json +23 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/assert/strict.d.ts +105 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +119 -95
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +4 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +26 -122
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +178 -18
- 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 +23 -19
- package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +79 -33
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +48 -29
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +283 -32
- package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +148 -347
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +55 -21
- 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/https.d.ts +5 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +7 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +187 -3932
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.generated.d.ts +4052 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +25 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +21 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +4 -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 +34 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +4 -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 +122 -24
- 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/tls.d.ts +32 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/index.d.ts +7 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.7/index.d.ts +7 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +26 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +17 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +73 -10
- package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +21 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/node_modules/@types/{keyv/node_modules/@types/node/dom-events.d.ts → cacheable-request/node_modules/@types/node/web-globals/events.d.ts} +49 -51
- package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/fetch.d.ts +50 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +96 -50
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +14 -2
- package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +4 -4
- 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 -5
- package/node_modules/@types/cacheable-request/node_modules/undici-types/diagnostics-channel.d.ts +9 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/dispatcher.d.ts +3 -8
- package/node_modules/@types/cacheable-request/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/eventsource.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/undici-types/fetch.d.ts +1 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/h2c-client.d.ts +0 -2
- package/node_modules/@types/cacheable-request/node_modules/undici-types/handlers.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/index.d.ts +3 -1
- 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/mock-client.d.ts +2 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-interceptor.d.ts +2 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-pool.d.ts +2 -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/cacheable-request/node_modules/undici-types/retry-handler.d.ts +9 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/snapshot-agent.d.ts +107 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/webidl.d.ts +29 -15
- package/node_modules/@types/cacheable-request/node_modules/undici-types/websocket.d.ts +3 -1
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/assert/strict.d.ts +105 -2
- package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +119 -95
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +4 -1
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +26 -122
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +178 -18
- 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 +23 -19
- package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +79 -33
- package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +48 -29
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +283 -32
- package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +148 -347
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +55 -21
- package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +5 -0
- package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +7 -2
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +187 -3932
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.generated.d.ts +4052 -0
- package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +25 -0
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +21 -0
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +4 -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 +34 -1
- package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +4 -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 +122 -24
- package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +32 -0
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/index.d.ts +7 -2
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.7/index.d.ts +7 -2
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +26 -7
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +17 -6
- package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +73 -10
- package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +21 -0
- package/node_modules/@types/keyv/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/node_modules/@types/keyv/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/node_modules/{@slack/web-api/node_modules/@types/node/dom-events.d.ts → @types/keyv/node_modules/@types/node/web-globals/events.d.ts} +49 -51
- package/node_modules/@types/keyv/node_modules/@types/node/web-globals/fetch.d.ts +50 -0
- package/node_modules/@types/keyv/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@types/keyv/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +96 -50
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +14 -2
- package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +4 -4
- 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 -5
- package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +9 -0
- package/node_modules/@types/keyv/node_modules/undici-types/dispatcher.d.ts +3 -8
- package/node_modules/@types/keyv/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -1
- package/node_modules/@types/keyv/node_modules/undici-types/eventsource.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/undici-types/fetch.d.ts +1 -0
- package/node_modules/@types/keyv/node_modules/undici-types/h2c-client.d.ts +0 -2
- package/node_modules/@types/keyv/node_modules/undici-types/handlers.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/index.d.ts +3 -1
- package/node_modules/@types/keyv/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/@types/keyv/node_modules/undici-types/mock-client.d.ts +2 -0
- package/node_modules/@types/keyv/node_modules/undici-types/mock-interceptor.d.ts +2 -1
- package/node_modules/@types/keyv/node_modules/undici-types/mock-pool.d.ts +2 -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/keyv/node_modules/undici-types/retry-handler.d.ts +9 -0
- package/node_modules/@types/keyv/node_modules/undici-types/snapshot-agent.d.ts +107 -0
- package/node_modules/@types/keyv/node_modules/undici-types/webidl.d.ts +29 -15
- package/node_modules/@types/keyv/node_modules/undici-types/websocket.d.ts +3 -1
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/assert/strict.d.ts +105 -2
- package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +119 -95
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +4 -1
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +26 -122
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +178 -18
- 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 +23 -19
- package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +79 -33
- package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +48 -29
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +283 -32
- package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +148 -347
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +55 -21
- package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +13 -11
- package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +5 -0
- package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +7 -2
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +187 -3932
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.generated.d.ts +4052 -0
- package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +25 -0
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +21 -0
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +4 -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 +34 -1
- package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +4 -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 +122 -24
- package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +0 -2
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +32 -0
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/index.d.ts +7 -2
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.7/index.d.ts +7 -2
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +26 -7
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +17 -6
- package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +73 -10
- package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +21 -0
- package/node_modules/@types/responselike/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/node_modules/@types/responselike/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/node_modules/@types/responselike/node_modules/@types/node/web-globals/events.d.ts +97 -0
- package/node_modules/@types/responselike/node_modules/@types/node/web-globals/fetch.d.ts +50 -0
- package/node_modules/@types/responselike/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@types/responselike/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +96 -50
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +14 -2
- package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +4 -4
- 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 -5
- package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +9 -0
- package/node_modules/@types/responselike/node_modules/undici-types/dispatcher.d.ts +3 -8
- package/node_modules/@types/responselike/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -1
- package/node_modules/@types/responselike/node_modules/undici-types/eventsource.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/undici-types/fetch.d.ts +1 -0
- package/node_modules/@types/responselike/node_modules/undici-types/h2c-client.d.ts +0 -2
- package/node_modules/@types/responselike/node_modules/undici-types/handlers.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/index.d.ts +3 -1
- package/node_modules/@types/responselike/node_modules/undici-types/mock-agent.d.ts +3 -0
- package/node_modules/@types/responselike/node_modules/undici-types/mock-client.d.ts +2 -0
- package/node_modules/@types/responselike/node_modules/undici-types/mock-interceptor.d.ts +2 -1
- package/node_modules/@types/responselike/node_modules/undici-types/mock-pool.d.ts +2 -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/@types/responselike/node_modules/undici-types/retry-handler.d.ts +9 -0
- package/node_modules/@types/responselike/node_modules/undici-types/snapshot-agent.d.ts +107 -0
- package/node_modules/@types/responselike/node_modules/undici-types/webidl.d.ts +29 -15
- package/node_modules/@types/responselike/node_modules/undici-types/websocket.d.ts +3 -1
- package/node_modules/axios/CHANGELOG.md +75 -0
- package/node_modules/axios/README.md +87 -13
- package/node_modules/axios/dist/axios.js +392 -292
- 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 +329 -219
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +329 -219
- 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 +420 -219
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +25 -7
- package/node_modules/axios/index.d.ts +13 -4
- package/node_modules/axios/lib/adapters/adapters.js +6 -4
- package/node_modules/axios/lib/adapters/fetch.js +221 -162
- package/node_modules/axios/lib/adapters/http.js +18 -0
- package/node_modules/axios/lib/adapters/xhr.js +11 -8
- package/node_modules/axios/lib/core/Axios.js +2 -4
- package/node_modules/axios/lib/core/AxiosError.js +10 -3
- package/node_modules/axios/lib/core/dispatchRequest.js +1 -1
- package/node_modules/axios/lib/core/mergeConfig.js +1 -1
- package/node_modules/axios/lib/defaults/index.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/buildURL.js +1 -3
- package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +73 -0
- package/node_modules/axios/lib/helpers/resolveConfig.js +13 -9
- 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 +40 -2
- package/node_modules/axios/package.json +21 -15
- 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/node_modules/mjml/package.json +8 -9
- package/node_modules/mjml-accordion/README.md +2 -1
- package/node_modules/mjml-accordion/lib/Accordion.js +3 -5
- package/node_modules/mjml-accordion/lib/AccordionElement.js +2 -3
- package/node_modules/mjml-accordion/lib/AccordionText.js +2 -3
- package/node_modules/mjml-accordion/lib/AccordionTitle.js +4 -3
- package/node_modules/mjml-accordion/package.json +4 -5
- package/node_modules/mjml-body/README.md +1 -1
- package/node_modules/mjml-body/lib/index.js +9 -4
- package/node_modules/mjml-body/package.json +4 -5
- package/node_modules/mjml-button/lib/index.js +2 -3
- package/node_modules/mjml-button/package.json +4 -5
- package/node_modules/mjml-carousel/lib/Carousel.js +4 -6
- package/node_modules/mjml-carousel/lib/CarouselImage.js +2 -3
- package/node_modules/mjml-carousel/package.json +4 -5
- package/node_modules/mjml-cli/lib/commands/watchFiles.js +4 -1
- package/node_modules/mjml-cli/package.json +7 -8
- package/node_modules/mjml-column/lib/index.js +2 -3
- package/node_modules/mjml-column/package.json +4 -5
- package/node_modules/mjml-core/lib/createComponent.js +12 -9
- package/node_modules/mjml-core/lib/index.js +2 -2
- package/node_modules/mjml-core/lib/types/boolean.js +2 -3
- package/node_modules/mjml-core/lib/types/color.js +2 -3
- package/node_modules/mjml-core/lib/types/enum.js +1 -1
- package/node_modules/mjml-core/lib/types/integer.js +1 -1
- package/node_modules/mjml-core/lib/types/string.js +1 -1
- package/node_modules/mjml-core/lib/types/type.js +1 -2
- package/node_modules/mjml-core/lib/types/unit.js +1 -1
- package/node_modules/mjml-core/package.json +6 -7
- package/node_modules/mjml-divider/lib/index.js +2 -3
- package/node_modules/mjml-divider/package.json +4 -5
- package/node_modules/mjml-group/lib/index.js +2 -3
- package/node_modules/mjml-group/package.json +4 -5
- package/node_modules/mjml-head/lib/index.js +2 -3
- package/node_modules/mjml-head/package.json +4 -5
- package/node_modules/mjml-head-attributes/lib/index.js +2 -3
- package/node_modules/mjml-head-attributes/package.json +4 -5
- package/node_modules/mjml-head-breakpoint/lib/index.js +2 -3
- package/node_modules/mjml-head-breakpoint/package.json +4 -5
- package/node_modules/mjml-head-font/lib/index.js +2 -3
- package/node_modules/mjml-head-font/package.json +4 -5
- package/node_modules/mjml-head-html-attributes/lib/index.js +2 -3
- package/node_modules/mjml-head-html-attributes/package.json +4 -5
- package/node_modules/mjml-head-preview/lib/index.js +2 -3
- package/node_modules/mjml-head-preview/package.json +4 -5
- package/node_modules/mjml-head-style/lib/index.js +2 -3
- package/node_modules/mjml-head-style/package.json +4 -5
- package/node_modules/mjml-head-title/lib/index.js +2 -3
- package/node_modules/mjml-head-title/package.json +4 -5
- package/node_modules/mjml-hero/lib/index.js +3 -5
- package/node_modules/mjml-hero/package.json +4 -5
- package/node_modules/mjml-image/lib/index.js +3 -5
- package/node_modules/mjml-image/package.json +4 -5
- package/node_modules/mjml-migrate/package.json +5 -6
- package/node_modules/mjml-navbar/lib/Navbar.js +3 -5
- package/node_modules/mjml-navbar/lib/NavbarLink.js +2 -3
- package/node_modules/mjml-navbar/package.json +4 -5
- package/node_modules/mjml-parser-xml/lib/index.js +1 -1
- package/node_modules/mjml-parser-xml/package.json +6 -6
- package/node_modules/mjml-preset-core/package.json +28 -29
- package/node_modules/mjml-raw/lib/index.js +2 -3
- package/node_modules/mjml-raw/package.json +4 -5
- package/node_modules/mjml-section/lib/index.js +18 -7
- package/node_modules/mjml-section/package.json +4 -5
- package/node_modules/mjml-social/README.md +1 -0
- package/node_modules/mjml-social/lib/Social.js +2 -3
- package/node_modules/mjml-social/lib/SocialElement.js +18 -9
- package/node_modules/mjml-social/package.json +4 -5
- package/node_modules/mjml-spacer/lib/index.js +2 -3
- package/node_modules/mjml-spacer/package.json +4 -5
- package/node_modules/mjml-table/README.md +1 -1
- package/node_modules/mjml-table/lib/index.js +6 -4
- package/node_modules/mjml-table/package.json +4 -5
- package/node_modules/mjml-text/lib/index.js +2 -3
- package/node_modules/mjml-text/package.json +4 -5
- package/node_modules/mjml-validator/package.json +3 -3
- package/node_modules/mjml-wrapper/lib/index.js +2 -3
- package/node_modules/mjml-wrapper/package.json +5 -6
- package/package.json +20 -20
- 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/dom-events.d.ts +0 -99
- 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
- package/node_modules/mjml/LICENSE.md +0 -21
- package/node_modules/mjml-accordion/LICENSE.md +0 -21
- package/node_modules/mjml-body/LICENSE.md +0 -21
- package/node_modules/mjml-button/LICENSE.md +0 -21
- package/node_modules/mjml-carousel/LICENSE.md +0 -21
- package/node_modules/mjml-cli/LICENSE.md +0 -21
- package/node_modules/mjml-cli/lib/helpers/promesify.js +0 -48
- package/node_modules/mjml-cli/lib/helpers/timePad.js +0 -18
- package/node_modules/mjml-column/LICENSE.md +0 -21
- package/node_modules/mjml-core/LICENSE.md +0 -21
- package/node_modules/mjml-core/lib/Error.js +0 -86
- package/node_modules/mjml-core/lib/MJMLElementsCollection.js +0 -37
- package/node_modules/mjml-core/lib/MJMLHead.js +0 -38
- package/node_modules/mjml-core/lib/MJMLRenderer.js +0 -275
- package/node_modules/mjml-core/lib/configs/defaultContainer.js +0 -15
- package/node_modules/mjml-core/lib/configs/defaultStyle.js +0 -6
- package/node_modules/mjml-core/lib/configs/listFontsImports.js +0 -21
- package/node_modules/mjml-core/lib/decorators/MJMLElement.js +0 -356
- package/node_modules/mjml-core/lib/helpers/colors.js +0 -7
- package/node_modules/mjml-core/lib/helpers/dom.js +0 -109
- package/node_modules/mjml-core/lib/helpers/html.js +0 -9
- package/node_modules/mjml-core/lib/helpers/importFonts.js +0 -46
- package/node_modules/mjml-core/lib/helpers/index.js +0 -40
- package/node_modules/mjml-core/lib/helpers/isBrowser.js +0 -11
- package/node_modules/mjml-core/lib/helpers/mjAttribute.js +0 -62
- package/node_modules/mjml-core/lib/helpers/mjml.js +0 -46
- package/node_modules/mjml-core/lib/helpers/parseAttributes.js +0 -29
- package/node_modules/mjml-core/lib/helpers/postRender.js +0 -33
- package/node_modules/mjml-core/lib/helpers/removeCDATA.js +0 -19
- package/node_modules/mjml-core/lib/helpers/traverseMJML.js +0 -41
- package/node_modules/mjml-core/lib/includeExternal.js +0 -92
- package/node_modules/mjml-core/lib/parsers/config.js +0 -130
- package/node_modules/mjml-core/lib/parsers/document.js +0 -189
- package/node_modules/mjml-divider/LICENSE.md +0 -21
- package/node_modules/mjml-group/LICENSE.md +0 -21
- package/node_modules/mjml-head/LICENSE.md +0 -21
- package/node_modules/mjml-head-attributes/LICENSE.md +0 -21
- package/node_modules/mjml-head-breakpoint/LICENSE.md +0 -21
- package/node_modules/mjml-head-font/LICENSE.md +0 -21
- package/node_modules/mjml-head-html-attributes/LICENSE.md +0 -21
- package/node_modules/mjml-head-preview/LICENSE.md +0 -21
- package/node_modules/mjml-head-style/LICENSE.md +0 -21
- package/node_modules/mjml-head-title/LICENSE.md +0 -21
- package/node_modules/mjml-hero/LICENSE.md +0 -21
- package/node_modules/mjml-image/LICENSE.md +0 -21
- package/node_modules/mjml-navbar/LICENSE.md +0 -21
- package/node_modules/mjml-navbar/lib/InlineLinks.js +0 -227
- package/node_modules/mjml-navbar/lib/Link.js +0 -130
- package/node_modules/mjml-parser-xml/lib/helpers/addCDATASection.js +0 -31
- package/node_modules/mjml-parser-xml/lib/helpers/parseAttributes.js +0 -37
- package/node_modules/mjml-preset-core/LICENSE.md +0 -21
- package/node_modules/mjml-raw/LICENSE.md +0 -21
- package/node_modules/mjml-section/LICENSE.md +0 -21
- package/node_modules/mjml-social/LICENSE.md +0 -21
- package/node_modules/mjml-spacer/LICENSE.md +0 -21
- package/node_modules/mjml-table/LICENSE.md +0 -21
- package/node_modules/mjml-text/LICENSE.md +0 -21
- package/node_modules/mjml-validator/lib/rules/index.js +0 -29
- package/node_modules/mjml-validator/lib/types/boolean.js +0 -57
- package/node_modules/mjml-validator/lib/types/color.js +0 -51
- package/node_modules/mjml-validator/lib/types/enum.js +0 -57
- package/node_modules/mjml-validator/lib/types/helpers/colors.js +0 -7
- package/node_modules/mjml-validator/lib/types/index.js +0 -41
- package/node_modules/mjml-validator/lib/types/integer.js +0 -47
- package/node_modules/mjml-validator/lib/types/string.js +0 -47
- package/node_modules/mjml-validator/lib/types/type.js +0 -93
- package/node_modules/mjml-validator/lib/types/unit.js +0 -57
- package/node_modules/mjml-wrapper/LICENSE.md +0 -21
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* the parent Node.js process and the spawned subprocess. These pipes have
|
|
25
25
|
* limited (and platform-specific) capacity. If the subprocess writes to
|
|
26
26
|
* stdout in excess of that limit without the output being captured, the
|
|
27
|
-
* subprocess blocks waiting for the pipe buffer to accept more data. This is
|
|
27
|
+
* subprocess blocks, waiting for the pipe buffer to accept more data. This is
|
|
28
28
|
* identical to the behavior of pipes in the shell. Use the `{ stdio: 'ignore' }` option if the output will not be consumed.
|
|
29
29
|
*
|
|
30
30
|
* The command lookup is performed using the `options.env.PATH` environment
|
|
@@ -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;
|
|
@@ -603,6 +603,9 @@ declare module "crypto" {
|
|
|
603
603
|
* * `'ed25519'` (OID 1.3.101.112)
|
|
604
604
|
* * `'ed448'` (OID 1.3.101.113)
|
|
605
605
|
* * `'dh'` (OID 1.2.840.113549.1.3.1)
|
|
606
|
+
* * `'ml-dsa-44'` (OID 2.16.840.1.101.3.4.3.17)
|
|
607
|
+
* * `'ml-dsa-65'` (OID 2.16.840.1.101.3.4.3.18)
|
|
608
|
+
* * `'ml-dsa-87'` (OID 2.16.840.1.101.3.4.3.19)
|
|
606
609
|
*
|
|
607
610
|
* This property is `undefined` for unrecognized `KeyObject` types and symmetric
|
|
608
611
|
* keys.
|
|
@@ -2456,7 +2459,18 @@ declare module "crypto" {
|
|
|
2456
2459
|
* @since v6.6.0
|
|
2457
2460
|
*/
|
|
2458
2461
|
function timingSafeEqual(a: NodeJS.ArrayBufferView, b: NodeJS.ArrayBufferView): boolean;
|
|
2459
|
-
type KeyType =
|
|
2462
|
+
type KeyType =
|
|
2463
|
+
| "rsa"
|
|
2464
|
+
| "rsa-pss"
|
|
2465
|
+
| "dsa"
|
|
2466
|
+
| "ec"
|
|
2467
|
+
| "ed25519"
|
|
2468
|
+
| "ed448"
|
|
2469
|
+
| "x25519"
|
|
2470
|
+
| "x448"
|
|
2471
|
+
| "ml-dsa-44"
|
|
2472
|
+
| "ml-dsa-65"
|
|
2473
|
+
| "ml-dsa-87";
|
|
2460
2474
|
type KeyFormat = "pem" | "der" | "jwk";
|
|
2461
2475
|
interface BasePrivateKeyEncodingOptions<T extends KeyFormat> {
|
|
2462
2476
|
format: T;
|
|
@@ -2471,6 +2485,7 @@ declare module "crypto" {
|
|
|
2471
2485
|
interface ED448KeyPairKeyObjectOptions {}
|
|
2472
2486
|
interface X25519KeyPairKeyObjectOptions {}
|
|
2473
2487
|
interface X448KeyPairKeyObjectOptions {}
|
|
2488
|
+
interface MLDSAKeyPairKeyObjectOptions {}
|
|
2474
2489
|
interface ECKeyPairKeyObjectOptions {
|
|
2475
2490
|
/**
|
|
2476
2491
|
* Name of the curve to use
|
|
@@ -2635,13 +2650,22 @@ declare module "crypto" {
|
|
|
2635
2650
|
type: "pkcs8";
|
|
2636
2651
|
};
|
|
2637
2652
|
}
|
|
2653
|
+
interface MLDSAKeyPairOptions<PubF extends KeyFormat, PrivF extends KeyFormat> {
|
|
2654
|
+
publicKeyEncoding: {
|
|
2655
|
+
type: "spki";
|
|
2656
|
+
format: PubF;
|
|
2657
|
+
};
|
|
2658
|
+
privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
|
|
2659
|
+
type: "pkcs8";
|
|
2660
|
+
};
|
|
2661
|
+
}
|
|
2638
2662
|
interface KeyPairSyncResult<T1 extends string | Buffer, T2 extends string | Buffer> {
|
|
2639
2663
|
publicKey: T1;
|
|
2640
2664
|
privateKey: T2;
|
|
2641
2665
|
}
|
|
2642
2666
|
/**
|
|
2643
2667
|
* Generates a new asymmetric key pair of the given `type`. RSA, RSA-PSS, DSA, EC,
|
|
2644
|
-
* Ed25519, Ed448, X25519, X448, and
|
|
2668
|
+
* Ed25519, Ed448, X25519, X448, DH, and ML-DSA are currently supported.
|
|
2645
2669
|
*
|
|
2646
2670
|
* If a `publicKeyEncoding` or `privateKeyEncoding` was specified, this function
|
|
2647
2671
|
* behaves as if `keyObject.export()` had been called on its result. Otherwise,
|
|
@@ -2678,7 +2702,8 @@ declare module "crypto" {
|
|
|
2678
2702
|
* When PEM encoding was selected, the respective key will be a string, otherwise
|
|
2679
2703
|
* it will be a buffer containing the data encoded as DER.
|
|
2680
2704
|
* @since v10.12.0
|
|
2681
|
-
* @param type Must be `'rsa'`, `'rsa-pss'`, `'dsa'`, `'ec'`, `'ed25519'`,
|
|
2705
|
+
* @param type Must be `'rsa'`, `'rsa-pss'`, `'dsa'`, `'ec'`, `'ed25519'`,
|
|
2706
|
+
* `'ed448'`, `'x25519'`, `'x448'`, `'dh'`, `'ml-dsa-44'`, `'ml-dsa-65'`, or `'ml-dsa-87'`.
|
|
2682
2707
|
*/
|
|
2683
2708
|
function generateKeyPairSync(
|
|
2684
2709
|
type: "rsa",
|
|
@@ -2816,6 +2841,26 @@ declare module "crypto" {
|
|
|
2816
2841
|
options: X448KeyPairOptions<"der", "der">,
|
|
2817
2842
|
): KeyPairSyncResult<Buffer, Buffer>;
|
|
2818
2843
|
function generateKeyPairSync(type: "x448", options?: X448KeyPairKeyObjectOptions): KeyPairKeyObjectResult;
|
|
2844
|
+
function generateKeyPairSync(
|
|
2845
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
2846
|
+
options: MLDSAKeyPairOptions<"pem", "pem">,
|
|
2847
|
+
): KeyPairSyncResult<string, string>;
|
|
2848
|
+
function generateKeyPairSync(
|
|
2849
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
2850
|
+
options: MLDSAKeyPairOptions<"pem", "der">,
|
|
2851
|
+
): KeyPairSyncResult<string, Buffer>;
|
|
2852
|
+
function generateKeyPairSync(
|
|
2853
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
2854
|
+
options: MLDSAKeyPairOptions<"der", "pem">,
|
|
2855
|
+
): KeyPairSyncResult<Buffer, string>;
|
|
2856
|
+
function generateKeyPairSync(
|
|
2857
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
2858
|
+
options: MLDSAKeyPairOptions<"der", "der">,
|
|
2859
|
+
): KeyPairSyncResult<Buffer, Buffer>;
|
|
2860
|
+
function generateKeyPairSync(
|
|
2861
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
2862
|
+
options?: MLDSAKeyPairKeyObjectOptions,
|
|
2863
|
+
): KeyPairKeyObjectResult;
|
|
2819
2864
|
/**
|
|
2820
2865
|
* Generates a new asymmetric key pair of the given `type`. RSA, RSA-PSS, DSA, EC,
|
|
2821
2866
|
* Ed25519, Ed448, X25519, X448, and DH are currently supported.
|
|
@@ -2853,7 +2898,8 @@ declare module "crypto" {
|
|
|
2853
2898
|
* If this method is invoked as its `util.promisify()` ed version, it returns
|
|
2854
2899
|
* a `Promise` for an `Object` with `publicKey` and `privateKey` properties.
|
|
2855
2900
|
* @since v10.12.0
|
|
2856
|
-
* @param type Must be `'rsa'`, `'rsa-pss'`, `'dsa'`, `'ec'`, `'ed25519'`,
|
|
2901
|
+
* @param type Must be `'rsa'`, `'rsa-pss'`, `'dsa'`, `'ec'`, `'ed25519'`,
|
|
2902
|
+
* `'ed448'`, `'x25519'`, `'x448'`, `'dh'`, `'ml-dsa-44'`, `'ml-dsa-65'`, or `'ml-dsa-87'`.
|
|
2857
2903
|
*/
|
|
2858
2904
|
function generateKeyPair(
|
|
2859
2905
|
type: "rsa",
|
|
@@ -3055,6 +3101,31 @@ declare module "crypto" {
|
|
|
3055
3101
|
options: X448KeyPairKeyObjectOptions | undefined,
|
|
3056
3102
|
callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void,
|
|
3057
3103
|
): void;
|
|
3104
|
+
function generateKeyPair(
|
|
3105
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3106
|
+
options: MLDSAKeyPairOptions<"pem", "pem">,
|
|
3107
|
+
callback: (err: Error | null, publicKey: string, privateKey: string) => void,
|
|
3108
|
+
): void;
|
|
3109
|
+
function generateKeyPair(
|
|
3110
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3111
|
+
options: MLDSAKeyPairOptions<"pem", "der">,
|
|
3112
|
+
callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void,
|
|
3113
|
+
): void;
|
|
3114
|
+
function generateKeyPair(
|
|
3115
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3116
|
+
options: MLDSAKeyPairOptions<"der", "pem">,
|
|
3117
|
+
callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void,
|
|
3118
|
+
): void;
|
|
3119
|
+
function generateKeyPair(
|
|
3120
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3121
|
+
options: MLDSAKeyPairOptions<"der", "der">,
|
|
3122
|
+
callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void,
|
|
3123
|
+
): void;
|
|
3124
|
+
function generateKeyPair(
|
|
3125
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3126
|
+
options: MLDSAKeyPairKeyObjectOptions | undefined,
|
|
3127
|
+
callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void,
|
|
3128
|
+
): void;
|
|
3058
3129
|
namespace generateKeyPair {
|
|
3059
3130
|
function __promisify__(
|
|
3060
3131
|
type: "rsa",
|
|
@@ -3297,11 +3368,46 @@ declare module "crypto" {
|
|
|
3297
3368
|
privateKey: Buffer;
|
|
3298
3369
|
}>;
|
|
3299
3370
|
function __promisify__(type: "x448", options?: X448KeyPairKeyObjectOptions): Promise<KeyPairKeyObjectResult>;
|
|
3371
|
+
function __promisify__(
|
|
3372
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3373
|
+
options: MLDSAKeyPairOptions<"pem", "pem">,
|
|
3374
|
+
): Promise<{
|
|
3375
|
+
publicKey: string;
|
|
3376
|
+
privateKey: string;
|
|
3377
|
+
}>;
|
|
3378
|
+
function __promisify__(
|
|
3379
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3380
|
+
options: MLDSAKeyPairOptions<"pem", "der">,
|
|
3381
|
+
): Promise<{
|
|
3382
|
+
publicKey: string;
|
|
3383
|
+
privateKey: Buffer;
|
|
3384
|
+
}>;
|
|
3385
|
+
function __promisify__(
|
|
3386
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3387
|
+
options: MLDSAKeyPairOptions<"der", "pem">,
|
|
3388
|
+
): Promise<{
|
|
3389
|
+
publicKey: Buffer;
|
|
3390
|
+
privateKey: string;
|
|
3391
|
+
}>;
|
|
3392
|
+
function __promisify__(
|
|
3393
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3394
|
+
options: MLDSAKeyPairOptions<"der", "der">,
|
|
3395
|
+
): Promise<{
|
|
3396
|
+
publicKey: Buffer;
|
|
3397
|
+
privateKey: Buffer;
|
|
3398
|
+
}>;
|
|
3399
|
+
function __promisify__(
|
|
3400
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3401
|
+
options?: MLDSAKeyPairKeyObjectOptions,
|
|
3402
|
+
): Promise<KeyPairKeyObjectResult>;
|
|
3300
3403
|
}
|
|
3301
3404
|
/**
|
|
3302
3405
|
* Calculates and returns the signature for `data` using the given private key and
|
|
3303
3406
|
* algorithm. If `algorithm` is `null` or `undefined`, then the algorithm is
|
|
3304
|
-
* dependent upon the key type
|
|
3407
|
+
* dependent upon the key type.
|
|
3408
|
+
*
|
|
3409
|
+
* `algorithm` is required to be `null` or `undefined` for Ed25519, Ed448, and
|
|
3410
|
+
* ML-DSA.
|
|
3305
3411
|
*
|
|
3306
3412
|
* If `key` is not a `KeyObject`, this function behaves as if `key` had been
|
|
3307
3413
|
* passed to {@link createPrivateKey}. If it is an object, the following
|
|
@@ -3322,8 +3428,12 @@ declare module "crypto" {
|
|
|
3322
3428
|
callback: (error: Error | null, data: Buffer) => void,
|
|
3323
3429
|
): void;
|
|
3324
3430
|
/**
|
|
3325
|
-
* Verifies the given signature for `data` using the given key and algorithm. If
|
|
3326
|
-
*
|
|
3431
|
+
* Verifies the given signature for `data` using the given key and algorithm. If
|
|
3432
|
+
* `algorithm` is `null` or `undefined`, then the algorithm is dependent upon the
|
|
3433
|
+
* key type.
|
|
3434
|
+
*
|
|
3435
|
+
* `algorithm` is required to be `null` or `undefined` for Ed25519, Ed448, and
|
|
3436
|
+
* ML-DSA.
|
|
3327
3437
|
*
|
|
3328
3438
|
* If `key` is not a `KeyObject`, this function behaves as if `key` had been
|
|
3329
3439
|
* passed to {@link createPublicKey}. If it is an object, the following
|
|
@@ -3363,11 +3473,36 @@ declare module "crypto" {
|
|
|
3363
3473
|
options: { privateKey: KeyObject; publicKey: KeyObject },
|
|
3364
3474
|
callback: (err: Error | null, secret: Buffer) => void,
|
|
3365
3475
|
): void;
|
|
3476
|
+
interface OneShotDigestOptions {
|
|
3477
|
+
/**
|
|
3478
|
+
* Encoding used to encode the returned digest.
|
|
3479
|
+
* @default 'hex'
|
|
3480
|
+
*/
|
|
3481
|
+
outputEncoding?: BinaryToTextEncoding | "buffer" | undefined;
|
|
3482
|
+
/**
|
|
3483
|
+
* For XOF hash functions such as 'shake256', the outputLength option
|
|
3484
|
+
* can be used to specify the desired output length in bytes.
|
|
3485
|
+
*/
|
|
3486
|
+
outputLength?: number | undefined;
|
|
3487
|
+
}
|
|
3488
|
+
interface OneShotDigestOptionsWithStringEncoding extends OneShotDigestOptions {
|
|
3489
|
+
outputEncoding?: BinaryToTextEncoding | undefined;
|
|
3490
|
+
}
|
|
3491
|
+
interface OneShotDigestOptionsWithBufferEncoding extends OneShotDigestOptions {
|
|
3492
|
+
outputEncoding: "buffer";
|
|
3493
|
+
}
|
|
3366
3494
|
/**
|
|
3367
|
-
* A utility for creating one-shot hash digests of data. It can be faster than
|
|
3368
|
-
*
|
|
3369
|
-
*
|
|
3370
|
-
*
|
|
3495
|
+
* A utility for creating one-shot hash digests of data. It can be faster than
|
|
3496
|
+
* the object-based `crypto.createHash()` when hashing a smaller amount of data
|
|
3497
|
+
* (<= 5MB) that's readily available. If the data can be big or if it is streamed,
|
|
3498
|
+
* it's still recommended to use `crypto.createHash()` instead.
|
|
3499
|
+
*
|
|
3500
|
+
* The `algorithm` is dependent on the available algorithms supported by the
|
|
3501
|
+
* version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc.
|
|
3502
|
+
* On recent releases of OpenSSL, `openssl list -digest-algorithms` will
|
|
3503
|
+
* display the available digest algorithms.
|
|
3504
|
+
*
|
|
3505
|
+
* If `options` is a string, then it specifies the `outputEncoding`.
|
|
3371
3506
|
*
|
|
3372
3507
|
* Example:
|
|
3373
3508
|
*
|
|
@@ -3387,16 +3522,25 @@ declare module "crypto" {
|
|
|
3387
3522
|
* console.log(crypto.hash('sha1', Buffer.from(base64, 'base64'), 'buffer'));
|
|
3388
3523
|
* ```
|
|
3389
3524
|
* @since v21.7.0, v20.12.0
|
|
3390
|
-
* @param data When `data` is a string, it will be encoded as UTF-8 before being hashed. If a different
|
|
3391
|
-
*
|
|
3392
|
-
*
|
|
3525
|
+
* @param data When `data` is a string, it will be encoded as UTF-8 before being hashed. If a different
|
|
3526
|
+
* input encoding is desired for a string input, user could encode the string
|
|
3527
|
+
* into a `TypedArray` using either `TextEncoder` or `Buffer.from()` and passing
|
|
3528
|
+
* the encoded `TypedArray` into this API instead.
|
|
3393
3529
|
*/
|
|
3394
|
-
function hash(algorithm: string, data: BinaryLike, outputEncoding?: BinaryToTextEncoding): string;
|
|
3395
|
-
function hash(algorithm: string, data: BinaryLike, outputEncoding: "buffer"): Buffer;
|
|
3396
3530
|
function hash(
|
|
3397
3531
|
algorithm: string,
|
|
3398
3532
|
data: BinaryLike,
|
|
3399
|
-
|
|
3533
|
+
options?: OneShotDigestOptionsWithStringEncoding | BinaryToTextEncoding,
|
|
3534
|
+
): string;
|
|
3535
|
+
function hash(
|
|
3536
|
+
algorithm: string,
|
|
3537
|
+
data: BinaryLike,
|
|
3538
|
+
options: OneShotDigestOptionsWithBufferEncoding | "buffer",
|
|
3539
|
+
): Buffer;
|
|
3540
|
+
function hash(
|
|
3541
|
+
algorithm: string,
|
|
3542
|
+
data: BinaryLike,
|
|
3543
|
+
options: OneShotDigestOptions | BinaryToTextEncoding | "buffer",
|
|
3400
3544
|
): string | Buffer;
|
|
3401
3545
|
type CipherMode = "cbc" | "ccm" | "cfb" | "ctr" | "ecb" | "gcm" | "ocb" | "ofb" | "stream" | "wrap" | "xts";
|
|
3402
3546
|
interface CipherInfoOptions {
|
|
@@ -3771,7 +3915,23 @@ declare module "crypto" {
|
|
|
3771
3915
|
*/
|
|
3772
3916
|
checkIP(ip: string): string | undefined;
|
|
3773
3917
|
/**
|
|
3774
|
-
* Checks whether this certificate was issued by the given `otherCert
|
|
3918
|
+
* Checks whether this certificate was potentially issued by the given `otherCert`
|
|
3919
|
+
* by comparing the certificate metadata.
|
|
3920
|
+
*
|
|
3921
|
+
* This is useful for pruning a list of possible issuer certificates which have been
|
|
3922
|
+
* selected using a more rudimentary filtering routine, i.e. just based on subject
|
|
3923
|
+
* and issuer names.
|
|
3924
|
+
*
|
|
3925
|
+
* Finally, to verify that this certificate's signature was produced by a private key
|
|
3926
|
+
* corresponding to `otherCert`'s public key use `x509.verify(publicKey)`
|
|
3927
|
+
* with `otherCert`'s public key represented as a `KeyObject`
|
|
3928
|
+
* like so
|
|
3929
|
+
*
|
|
3930
|
+
* ```js
|
|
3931
|
+
* if (!x509.verify(otherCert.publicKey)) {
|
|
3932
|
+
* throw new Error('otherCert did not issue x509');
|
|
3933
|
+
* }
|
|
3934
|
+
* ```
|
|
3775
3935
|
* @since v15.6.0
|
|
3776
3936
|
*/
|
|
3777
3937
|
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
|