cloudstructs 0.9.33 → 0.9.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +4 -4
- package/assets/slack-app/provider.lambda/index.js +209 -33
- package/assets/slack-textract/detect.lambda/index.js +385 -163
- package/assets/ssl-server-test/analyze.lambda/index.js +209 -33
- 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 +2 -2
- 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/esm/interopRequireWildcard.js +19 -24
- package/node_modules/@babel/runtime/helpers/esm/regenerator.js +89 -0
- package/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +33 -0
- package/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +24 -0
- package/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +66 -293
- package/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +19 -0
- package/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +19 -24
- package/node_modules/@babel/runtime/helpers/regenerator.js +89 -0
- package/node_modules/@babel/runtime/helpers/regeneratorAsync.js +8 -0
- package/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +6 -0
- package/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +33 -0
- package/node_modules/@babel/runtime/helpers/regeneratorDefine.js +24 -0
- package/node_modules/@babel/runtime/helpers/regeneratorKeys.js +10 -0
- package/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +66 -293
- package/node_modules/@babel/runtime/helpers/regeneratorValues.js +19 -0
- package/node_modules/@babel/runtime/package.json +52 -10
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +15 -54
- package/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +90 -8
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.buffer.d.ts +3 -0
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +3 -4
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +16 -16
- package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +17 -17
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +43 -37
- package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +38 -14
- package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +16 -16
- package/node_modules/@slack/logger/node_modules/@types/node/dom-events.d.ts +60 -85
- package/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +1 -2
- package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +40 -35
- package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +122 -29
- package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +143 -287
- package/node_modules/@slack/logger/node_modules/@types/node/globals.typedarray.d.ts +1 -0
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +28 -3
- package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +78 -8
- package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +7 -5
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +39 -7
- package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +102 -27
- package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +17 -14
- package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +8 -7
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +18 -3
- package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +10 -10
- package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +43 -11
- package/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +3 -4
- package/node_modules/@slack/logger/node_modules/@types/node/readline/promises.d.ts +0 -1
- package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +19 -14
- package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +14 -16
- package/node_modules/@slack/logger/node_modules/@types/node/sea.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +217 -14
- package/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +13 -18
- package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +107 -21
- package/node_modules/@slack/logger/node_modules/@types/node/timers/promises.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +36 -49
- package/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +6 -6
- package/node_modules/@slack/logger/node_modules/@types/node/{compatibility → ts5.1/compatibility}/disposable.d.ts +0 -4
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.1/index.d.ts +98 -0
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +3 -0
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +1 -0
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/index.d.ts +9 -5
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.7/index.d.ts +96 -0
- package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +61 -19
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +234 -381
- package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +110 -32
- package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +73 -13
- package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +55 -26
- package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +170 -41
- package/node_modules/@slack/logger/node_modules/undici-types/agent.d.ts +7 -7
- package/node_modules/@slack/logger/node_modules/undici-types/api.d.ts +24 -24
- package/node_modules/@slack/logger/node_modules/undici-types/balanced-pool.d.ts +11 -11
- package/node_modules/@slack/logger/node_modules/undici-types/cache-interceptor.d.ts +172 -0
- package/node_modules/@slack/logger/node_modules/undici-types/client.d.ts +12 -13
- package/node_modules/@slack/logger/node_modules/undici-types/cookies.d.ts +2 -0
- package/node_modules/@slack/logger/node_modules/undici-types/diagnostics-channel.d.ts +10 -10
- package/node_modules/@slack/logger/node_modules/undici-types/dispatcher.d.ts +117 -92
- package/node_modules/@slack/logger/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/undici-types/errors.d.ts +69 -47
- package/node_modules/@slack/logger/node_modules/undici-types/fetch.d.ts +17 -16
- package/node_modules/@slack/logger/node_modules/undici-types/formdata.d.ts +7 -7
- package/node_modules/@slack/logger/node_modules/undici-types/global-dispatcher.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/undici-types/global-origin.d.ts +5 -5
- package/node_modules/@slack/logger/node_modules/undici-types/h2c-client.d.ts +75 -0
- package/node_modules/@slack/logger/node_modules/undici-types/handlers.d.ts +7 -7
- package/node_modules/@slack/logger/node_modules/undici-types/header.d.ts +157 -1
- package/node_modules/@slack/logger/node_modules/undici-types/index.d.ts +51 -47
- package/node_modules/@slack/logger/node_modules/undici-types/interceptors.d.ts +25 -8
- package/node_modules/@slack/logger/node_modules/undici-types/mock-agent.d.ts +33 -18
- package/node_modules/@slack/logger/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/node_modules/@slack/logger/node_modules/undici-types/mock-client.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/undici-types/mock-errors.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/undici-types/mock-interceptor.d.ts +19 -19
- package/node_modules/@slack/logger/node_modules/undici-types/mock-pool.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/undici-types/package.json +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/patch.d.ts +0 -4
- package/node_modules/@slack/logger/node_modules/undici-types/pool-stats.d.ts +8 -8
- package/node_modules/@slack/logger/node_modules/undici-types/pool.d.ts +12 -12
- package/node_modules/@slack/logger/node_modules/undici-types/proxy-agent.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/undici-types/readable.d.ts +18 -15
- package/node_modules/@slack/logger/node_modules/undici-types/retry-agent.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/retry-handler.d.ts +10 -10
- package/node_modules/@slack/logger/node_modules/undici-types/util.d.ts +3 -3
- package/node_modules/@slack/logger/node_modules/undici-types/utility.d.ts +7 -0
- package/node_modules/@slack/logger/node_modules/undici-types/webidl.d.ts +44 -6
- package/node_modules/@slack/logger/node_modules/undici-types/websocket.d.ts +35 -1
- package/node_modules/@slack/web-api/dist/WebClient.d.ts +0 -2
- package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/WebClient.js +28 -15
- package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
- package/node_modules/@slack/web-api/dist/errors.d.ts +0 -2
- package/node_modules/@slack/web-api/dist/errors.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/errors.js +6 -6
- package/node_modules/@slack/web-api/dist/errors.js.map +1 -1
- package/node_modules/@slack/web-api/dist/file-upload.d.ts +1 -4
- package/node_modules/@slack/web-api/dist/file-upload.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/file-upload.js +43 -38
- package/node_modules/@slack/web-api/dist/file-upload.js.map +1 -1
- package/node_modules/@slack/web-api/dist/helpers.js +1 -1
- package/node_modules/@slack/web-api/dist/helpers.js.map +1 -1
- package/node_modules/@slack/web-api/dist/index.d.ts +0 -1
- package/node_modules/@slack/web-api/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/instrument.js +19 -10
- package/node_modules/@slack/web-api/dist/instrument.js.map +1 -1
- package/node_modules/@slack/web-api/dist/logger.js +2 -2
- package/node_modules/@slack/web-api/dist/logger.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts +2 -0
- package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/files.d.ts +18 -5
- package/node_modules/@slack/web-api/dist/types/request/files.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/users.d.ts +0 -3
- package/node_modules/@slack/web-api/dist/types/request/users.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/AdminConversationsSearchResponse.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/AdminConversationsSearchResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/AdminFunctionsPermissionsLookupResponse.d.ts +3 -0
- package/node_modules/@slack/web-api/dist/types/response/AdminFunctionsPermissionsLookupResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/AppsManifestCreateResponse.d.ts +2 -0
- package/node_modules/@slack/web-api/dist/types/response/AppsManifestCreateResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ChatPostMessageResponse.d.ts +64 -12
- package/node_modules/@slack/web-api/dist/types/response/ChatPostMessageResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ChatPostMessageResponse.js +27 -8
- package/node_modules/@slack/web-api/dist/types/response/ChatPostMessageResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ChatScheduleMessageResponse.d.ts +35 -5
- package/node_modules/@slack/web-api/dist/types/response/ChatScheduleMessageResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ChatScheduleMessageResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ChatUpdateResponse.d.ts +35 -5
- package/node_modules/@slack/web-api/dist/types/response/ChatUpdateResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ChatUpdateResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ConversationsHistoryResponse.d.ts +65 -12
- package/node_modules/@slack/web-api/dist/types/response/ConversationsHistoryResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ConversationsHistoryResponse.js +27 -8
- package/node_modules/@slack/web-api/dist/types/response/ConversationsHistoryResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ConversationsJoinResponse.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/ConversationsJoinResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ConversationsKickResponse.d.ts +2 -0
- package/node_modules/@slack/web-api/dist/types/response/ConversationsKickResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ConversationsListResponse.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/ConversationsListResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ConversationsOpenResponse.d.ts +26 -5
- package/node_modules/@slack/web-api/dist/types/response/ConversationsOpenResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ConversationsOpenResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ConversationsRepliesResponse.d.ts +64 -12
- package/node_modules/@slack/web-api/dist/types/response/ConversationsRepliesResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ConversationsRepliesResponse.js +27 -8
- package/node_modules/@slack/web-api/dist/types/response/ConversationsRepliesResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesCompleteUploadExternalResponse.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/FilesCompleteUploadExternalResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesInfoResponse.d.ts +134 -108
- package/node_modules/@slack/web-api/dist/types/response/FilesInfoResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesInfoResponse.js +21 -14
- package/node_modules/@slack/web-api/dist/types/response/FilesInfoResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesListResponse.d.ts +134 -108
- package/node_modules/@slack/web-api/dist/types/response/FilesListResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesListResponse.js +21 -14
- package/node_modules/@slack/web-api/dist/types/response/FilesListResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteAddResponse.d.ts +134 -108
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteAddResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteAddResponse.js +21 -14
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteAddResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteInfoResponse.d.ts +134 -108
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteInfoResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteInfoResponse.js +21 -14
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteInfoResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteListResponse.d.ts +134 -108
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteListResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteListResponse.js +21 -14
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteListResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteShareResponse.d.ts +134 -108
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteShareResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteShareResponse.js +21 -14
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteShareResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteUpdateResponse.d.ts +134 -108
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteUpdateResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteUpdateResponse.js +21 -14
- package/node_modules/@slack/web-api/dist/types/response/FilesRemoteUpdateResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesRevokePublicURLResponse.d.ts +134 -108
- package/node_modules/@slack/web-api/dist/types/response/FilesRevokePublicURLResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesRevokePublicURLResponse.js +21 -14
- package/node_modules/@slack/web-api/dist/types/response/FilesRevokePublicURLResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesSharedPublicURLResponse.d.ts +134 -108
- package/node_modules/@slack/web-api/dist/types/response/FilesSharedPublicURLResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesSharedPublicURLResponse.js +21 -14
- package/node_modules/@slack/web-api/dist/types/response/FilesSharedPublicURLResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesUploadResponse.d.ts +134 -108
- package/node_modules/@slack/web-api/dist/types/response/FilesUploadResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/FilesUploadResponse.js +21 -14
- package/node_modules/@slack/web-api/dist/types/response/FilesUploadResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/PinsListResponse.d.ts +134 -108
- package/node_modules/@slack/web-api/dist/types/response/PinsListResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/PinsListResponse.js +21 -14
- package/node_modules/@slack/web-api/dist/types/response/PinsListResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ReactionsGetResponse.d.ts +35 -5
- package/node_modules/@slack/web-api/dist/types/response/ReactionsGetResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ReactionsGetResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ReactionsListResponse.d.ts +64 -12
- package/node_modules/@slack/web-api/dist/types/response/ReactionsListResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ReactionsListResponse.js +27 -8
- package/node_modules/@slack/web-api/dist/types/response/ReactionsListResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/RtmStartResponse.d.ts +35 -2
- package/node_modules/@slack/web-api/dist/types/response/RtmStartResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/RtmStartResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.d.ts +42 -7
- package/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.d.ts +37 -2
- package/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/SearchMessagesResponse.d.ts +35 -2
- package/node_modules/@slack/web-api/dist/types/response/SearchMessagesResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/SearchMessagesResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/UsergroupsCreateResponse.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/UsergroupsCreateResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/UsergroupsDisableResponse.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/UsergroupsDisableResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/UsergroupsEnableResponse.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/UsergroupsEnableResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/UsergroupsListResponse.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/UsergroupsListResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/UsergroupsUpdateResponse.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/UsergroupsUpdateResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/UsergroupsUsersUpdateResponse.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/UsergroupsUsersUpdateResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/UsersConversationsResponse.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/UsersConversationsResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/UsersInfoResponse.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/UsersInfoResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ViewsOpenResponse.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/ViewsOpenResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ViewsOpenResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ViewsPublishResponse.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/ViewsPublishResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ViewsPublishResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ViewsPushResponse.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/ViewsPushResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ViewsPushResponse.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ViewsUpdateResponse.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/ViewsUpdateResponse.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/ViewsUpdateResponse.js.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.d.ts +15 -54
- package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +90 -8
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.buffer.d.ts +3 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +3 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +16 -16
- package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +17 -17
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +43 -37
- package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +38 -14
- package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +16 -16
- package/node_modules/@slack/web-api/node_modules/@types/node/dom-events.d.ts +60 -85
- package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +1 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +40 -35
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +122 -29
- package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +143 -287
- package/node_modules/@slack/web-api/node_modules/@types/node/globals.typedarray.d.ts +1 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +28 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +78 -8
- package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +7 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +39 -7
- package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +102 -27
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +17 -14
- package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +8 -7
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +18 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +10 -10
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +43 -11
- package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +3 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/readline/promises.d.ts +0 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +19 -14
- package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +14 -16
- package/node_modules/@slack/web-api/node_modules/@types/node/sea.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +217 -14
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +13 -18
- package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +107 -21
- package/node_modules/@slack/web-api/node_modules/@types/node/timers/promises.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +36 -49
- package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +6 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/{compatibility → ts5.1/compatibility}/disposable.d.ts +0 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.1/index.d.ts +98 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +3 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +1 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/index.d.ts +9 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.7/index.d.ts +96 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +61 -19
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +234 -381
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +110 -32
- package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +73 -13
- package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +55 -26
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +170 -41
- package/node_modules/@slack/web-api/node_modules/undici-types/agent.d.ts +7 -7
- package/node_modules/@slack/web-api/node_modules/undici-types/api.d.ts +24 -24
- package/node_modules/@slack/web-api/node_modules/undici-types/balanced-pool.d.ts +11 -11
- package/node_modules/@slack/web-api/node_modules/undici-types/cache-interceptor.d.ts +172 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/client.d.ts +12 -13
- package/node_modules/@slack/web-api/node_modules/undici-types/cookies.d.ts +2 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/diagnostics-channel.d.ts +10 -10
- package/node_modules/@slack/web-api/node_modules/undici-types/dispatcher.d.ts +117 -92
- package/node_modules/@slack/web-api/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/undici-types/errors.d.ts +69 -47
- package/node_modules/@slack/web-api/node_modules/undici-types/fetch.d.ts +17 -16
- package/node_modules/@slack/web-api/node_modules/undici-types/formdata.d.ts +7 -7
- package/node_modules/@slack/web-api/node_modules/undici-types/global-dispatcher.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/undici-types/global-origin.d.ts +5 -5
- package/node_modules/@slack/web-api/node_modules/undici-types/h2c-client.d.ts +75 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/handlers.d.ts +7 -7
- package/node_modules/@slack/web-api/node_modules/undici-types/header.d.ts +157 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/index.d.ts +51 -47
- package/node_modules/@slack/web-api/node_modules/undici-types/interceptors.d.ts +25 -8
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-agent.d.ts +33 -18
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-client.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-errors.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-interceptor.d.ts +19 -19
- package/node_modules/@slack/web-api/node_modules/undici-types/mock-pool.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/undici-types/package.json +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/patch.d.ts +0 -4
- package/node_modules/@slack/web-api/node_modules/undici-types/pool-stats.d.ts +8 -8
- package/node_modules/@slack/web-api/node_modules/undici-types/pool.d.ts +12 -12
- package/node_modules/@slack/web-api/node_modules/undici-types/proxy-agent.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/undici-types/readable.d.ts +18 -15
- package/node_modules/@slack/web-api/node_modules/undici-types/retry-agent.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/retry-handler.d.ts +10 -10
- package/node_modules/@slack/web-api/node_modules/undici-types/util.d.ts +3 -3
- package/node_modules/@slack/web-api/node_modules/undici-types/utility.d.ts +7 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/webidl.d.ts +44 -6
- package/node_modules/@slack/web-api/node_modules/undici-types/websocket.d.ts +35 -1
- package/node_modules/@slack/web-api/package.json +5 -5
- 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.d.ts +15 -54
- package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +90 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.buffer.d.ts +3 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +3 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +16 -16
- package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +17 -17
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +43 -37
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +38 -14
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +16 -16
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dom-events.d.ts +60 -85
- package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +1 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +40 -35
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +122 -29
- package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +143 -287
- package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.typedarray.d.ts +1 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +28 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +78 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +7 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +39 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +102 -27
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +17 -14
- package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +8 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +18 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +10 -10
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +43 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +3 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/readline/promises.d.ts +0 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +19 -14
- package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +14 -16
- package/node_modules/@types/cacheable-request/node_modules/@types/node/sea.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +217 -14
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +13 -18
- package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +107 -21
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +36 -49
- package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +6 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/{compatibility → ts5.1/compatibility}/disposable.d.ts +0 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.1/index.d.ts +98 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +3 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +1 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/index.d.ts +9 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.7/index.d.ts +96 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +61 -19
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +234 -381
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +110 -32
- package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +73 -13
- package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +55 -26
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +170 -41
- package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +7 -7
- package/node_modules/@types/cacheable-request/node_modules/undici-types/api.d.ts +24 -24
- package/node_modules/@types/cacheable-request/node_modules/undici-types/balanced-pool.d.ts +11 -11
- package/node_modules/@types/cacheable-request/node_modules/undici-types/cache-interceptor.d.ts +172 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/client.d.ts +12 -13
- package/node_modules/@types/cacheable-request/node_modules/undici-types/cookies.d.ts +2 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/diagnostics-channel.d.ts +10 -10
- package/node_modules/@types/cacheable-request/node_modules/undici-types/dispatcher.d.ts +117 -92
- package/node_modules/@types/cacheable-request/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/undici-types/errors.d.ts +69 -47
- package/node_modules/@types/cacheable-request/node_modules/undici-types/fetch.d.ts +17 -16
- package/node_modules/@types/cacheable-request/node_modules/undici-types/formdata.d.ts +7 -7
- package/node_modules/@types/cacheable-request/node_modules/undici-types/global-dispatcher.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/undici-types/global-origin.d.ts +5 -5
- package/node_modules/@types/cacheable-request/node_modules/undici-types/h2c-client.d.ts +75 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/handlers.d.ts +7 -7
- package/node_modules/@types/cacheable-request/node_modules/undici-types/header.d.ts +157 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/index.d.ts +51 -47
- package/node_modules/@types/cacheable-request/node_modules/undici-types/interceptors.d.ts +25 -8
- package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-agent.d.ts +33 -18
- package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-client.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-errors.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-interceptor.d.ts +19 -19
- package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-pool.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/patch.d.ts +0 -4
- package/node_modules/@types/cacheable-request/node_modules/undici-types/pool-stats.d.ts +8 -8
- package/node_modules/@types/cacheable-request/node_modules/undici-types/pool.d.ts +12 -12
- package/node_modules/@types/cacheable-request/node_modules/undici-types/proxy-agent.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/undici-types/readable.d.ts +18 -15
- package/node_modules/@types/cacheable-request/node_modules/undici-types/retry-agent.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/retry-handler.d.ts +10 -10
- package/node_modules/@types/cacheable-request/node_modules/undici-types/util.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/undici-types/utility.d.ts +7 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/webidl.d.ts +44 -6
- package/node_modules/@types/cacheable-request/node_modules/undici-types/websocket.d.ts +35 -1
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +15 -54
- package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +90 -8
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.buffer.d.ts +3 -0
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +3 -4
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +16 -16
- package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +17 -17
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +43 -37
- package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +38 -14
- package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +16 -16
- package/node_modules/@types/keyv/node_modules/@types/node/dom-events.d.ts +60 -85
- package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +1 -2
- package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +40 -35
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +122 -29
- package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +143 -287
- package/node_modules/@types/keyv/node_modules/@types/node/globals.typedarray.d.ts +1 -0
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +28 -3
- package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +78 -8
- package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +7 -5
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +39 -7
- package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +102 -27
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +17 -14
- package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +8 -7
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +18 -3
- package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +10 -10
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +43 -11
- package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +3 -4
- package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +0 -1
- package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +19 -14
- package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +14 -16
- package/node_modules/@types/keyv/node_modules/@types/node/sea.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +217 -14
- package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +13 -18
- package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +107 -21
- package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +36 -49
- package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +6 -6
- package/node_modules/@types/keyv/node_modules/@types/node/{compatibility → ts5.1/compatibility}/disposable.d.ts +0 -4
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.1/index.d.ts +98 -0
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +3 -0
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +1 -0
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/index.d.ts +9 -5
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.7/index.d.ts +96 -0
- package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +61 -19
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +234 -381
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +110 -32
- package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +73 -13
- package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +55 -26
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +170 -41
- package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +7 -7
- package/node_modules/@types/keyv/node_modules/undici-types/api.d.ts +24 -24
- package/node_modules/@types/keyv/node_modules/undici-types/balanced-pool.d.ts +11 -11
- package/node_modules/@types/keyv/node_modules/undici-types/cache-interceptor.d.ts +172 -0
- package/node_modules/@types/keyv/node_modules/undici-types/client.d.ts +12 -13
- package/node_modules/@types/keyv/node_modules/undici-types/cookies.d.ts +2 -0
- package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +10 -10
- package/node_modules/@types/keyv/node_modules/undici-types/dispatcher.d.ts +117 -92
- package/node_modules/@types/keyv/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/undici-types/errors.d.ts +69 -47
- package/node_modules/@types/keyv/node_modules/undici-types/fetch.d.ts +17 -16
- package/node_modules/@types/keyv/node_modules/undici-types/formdata.d.ts +7 -7
- package/node_modules/@types/keyv/node_modules/undici-types/global-dispatcher.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/undici-types/global-origin.d.ts +5 -5
- package/node_modules/@types/keyv/node_modules/undici-types/h2c-client.d.ts +75 -0
- package/node_modules/@types/keyv/node_modules/undici-types/handlers.d.ts +7 -7
- package/node_modules/@types/keyv/node_modules/undici-types/header.d.ts +157 -1
- package/node_modules/@types/keyv/node_modules/undici-types/index.d.ts +51 -47
- package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +25 -8
- package/node_modules/@types/keyv/node_modules/undici-types/mock-agent.d.ts +33 -18
- package/node_modules/@types/keyv/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/node_modules/@types/keyv/node_modules/undici-types/mock-client.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/undici-types/mock-errors.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/undici-types/mock-interceptor.d.ts +19 -19
- package/node_modules/@types/keyv/node_modules/undici-types/mock-pool.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/patch.d.ts +0 -4
- package/node_modules/@types/keyv/node_modules/undici-types/pool-stats.d.ts +8 -8
- package/node_modules/@types/keyv/node_modules/undici-types/pool.d.ts +12 -12
- package/node_modules/@types/keyv/node_modules/undici-types/proxy-agent.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/undici-types/readable.d.ts +18 -15
- package/node_modules/@types/keyv/node_modules/undici-types/retry-agent.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/retry-handler.d.ts +10 -10
- package/node_modules/@types/keyv/node_modules/undici-types/util.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/undici-types/utility.d.ts +7 -0
- package/node_modules/@types/keyv/node_modules/undici-types/webidl.d.ts +44 -6
- package/node_modules/@types/keyv/node_modules/undici-types/websocket.d.ts +35 -1
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +15 -54
- package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +90 -8
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.buffer.d.ts +3 -0
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +3 -4
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +16 -16
- package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +17 -17
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +43 -37
- package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +38 -14
- package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +16 -16
- package/node_modules/@types/responselike/node_modules/@types/node/dom-events.d.ts +60 -85
- package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +1 -2
- package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +40 -35
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +122 -29
- package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +143 -287
- package/node_modules/@types/responselike/node_modules/@types/node/globals.typedarray.d.ts +1 -0
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +28 -3
- package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +78 -8
- package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +7 -5
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +39 -7
- package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +102 -27
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +17 -14
- package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +8 -7
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +18 -3
- package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +10 -10
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +43 -11
- package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +3 -4
- package/node_modules/@types/responselike/node_modules/@types/node/readline/promises.d.ts +0 -1
- package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +19 -14
- package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +14 -16
- package/node_modules/@types/responselike/node_modules/@types/node/sea.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +217 -14
- package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +13 -18
- package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +107 -21
- package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +36 -49
- package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +6 -6
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +12 -0
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.1/index.d.ts +98 -0
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +3 -0
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +1 -0
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/index.d.ts +9 -5
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.7/index.d.ts +96 -0
- package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +61 -19
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +234 -381
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +110 -32
- package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +73 -13
- package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +55 -26
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +170 -41
- package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +7 -7
- package/node_modules/@types/responselike/node_modules/undici-types/api.d.ts +24 -24
- package/node_modules/@types/responselike/node_modules/undici-types/balanced-pool.d.ts +11 -11
- package/node_modules/@types/responselike/node_modules/undici-types/cache-interceptor.d.ts +172 -0
- package/node_modules/@types/responselike/node_modules/undici-types/client.d.ts +12 -13
- package/node_modules/@types/responselike/node_modules/undici-types/cookies.d.ts +2 -0
- package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +10 -10
- package/node_modules/@types/responselike/node_modules/undici-types/dispatcher.d.ts +117 -92
- package/node_modules/@types/responselike/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/undici-types/errors.d.ts +69 -47
- package/node_modules/@types/responselike/node_modules/undici-types/fetch.d.ts +17 -16
- package/node_modules/@types/responselike/node_modules/undici-types/formdata.d.ts +7 -7
- package/node_modules/@types/responselike/node_modules/undici-types/global-dispatcher.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/undici-types/global-origin.d.ts +5 -5
- package/node_modules/@types/responselike/node_modules/undici-types/h2c-client.d.ts +75 -0
- package/node_modules/@types/responselike/node_modules/undici-types/handlers.d.ts +7 -7
- package/node_modules/@types/responselike/node_modules/undici-types/header.d.ts +157 -1
- package/node_modules/@types/responselike/node_modules/undici-types/index.d.ts +51 -47
- package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +25 -8
- package/node_modules/@types/responselike/node_modules/undici-types/mock-agent.d.ts +33 -18
- package/node_modules/@types/responselike/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/node_modules/@types/responselike/node_modules/undici-types/mock-client.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/undici-types/mock-errors.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/undici-types/mock-interceptor.d.ts +19 -19
- package/node_modules/@types/responselike/node_modules/undici-types/mock-pool.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/patch.d.ts +0 -4
- package/node_modules/@types/responselike/node_modules/undici-types/pool-stats.d.ts +8 -8
- package/node_modules/@types/responselike/node_modules/undici-types/pool.d.ts +12 -12
- package/node_modules/@types/responselike/node_modules/undici-types/proxy-agent.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/undici-types/readable.d.ts +18 -15
- package/node_modules/@types/responselike/node_modules/undici-types/retry-agent.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/retry-handler.d.ts +10 -10
- package/node_modules/@types/responselike/node_modules/undici-types/util.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/undici-types/utility.d.ts +7 -0
- package/node_modules/@types/responselike/node_modules/undici-types/webidl.d.ts +44 -6
- package/node_modules/@types/responselike/node_modules/undici-types/websocket.d.ts +35 -1
- package/node_modules/axios/CHANGELOG.md +51 -0
- package/node_modules/axios/README.md +24 -21
- package/node_modules/axios/dist/axios.js +36 -17
- 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 +36 -14
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +36 -14
- 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 +37 -15
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +3 -3
- package/node_modules/axios/index.d.ts +5 -3
- package/node_modules/axios/lib/adapters/fetch.js +2 -2
- package/node_modules/axios/lib/core/Axios.js +1 -1
- package/node_modules/axios/lib/core/AxiosHeaders.js +15 -3
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/formDataToStream.js +1 -1
- package/node_modules/axios/lib/helpers/toFormData.js +4 -0
- package/node_modules/axios/lib/utils.js +12 -6
- package/node_modules/axios/package.json +13 -4
- package/node_modules/brace-expansion/index.js +1 -1
- package/node_modules/brace-expansion/package.json +4 -1
- package/node_modules/end-of-stream/index.js +3 -1
- package/node_modules/end-of-stream/package.json +1 -1
- package/node_modules/form-data/README.md.bak +355 -0
- package/node_modules/form-data/Readme.md +34 -37
- package/node_modules/form-data/lib/browser.js +3 -1
- package/node_modules/form-data/lib/form_data.js +124 -129
- package/node_modules/form-data/lib/populate.js +5 -5
- package/node_modules/form-data/package.json +7 -15
- package/node_modules/http-cache-semantics/README.md +116 -51
- package/node_modules/http-cache-semantics/index.js +300 -46
- package/node_modules/http-cache-semantics/package.json +8 -4
- package/node_modules/parse5/dist/cjs/parser/formatting-element-list.js +4 -4
- package/node_modules/parse5/dist/cjs/parser/index.d.ts +1 -1
- package/node_modules/parse5/dist/cjs/parser/index.js +13 -8
- package/node_modules/parse5/dist/cjs/parser/open-element-stack.d.ts +2 -2
- package/node_modules/parse5/dist/cjs/parser/open-element-stack.js +11 -7
- package/node_modules/parse5/dist/cjs/serializer/index.js +3 -3
- package/node_modules/parse5/dist/cjs/tokenizer/index.d.ts +1 -1
- package/node_modules/parse5/dist/cjs/tokenizer/index.js +3 -3
- package/node_modules/parse5/dist/parser/formatting-element-list.js +4 -4
- package/node_modules/parse5/dist/parser/index.d.ts +1 -1
- package/node_modules/parse5/dist/parser/index.js +13 -8
- package/node_modules/parse5/dist/parser/open-element-stack.d.ts +2 -2
- package/node_modules/parse5/dist/parser/open-element-stack.js +11 -7
- package/node_modules/parse5/dist/serializer/index.js +1 -1
- package/node_modules/parse5/dist/tokenizer/index.d.ts +1 -1
- package/node_modules/parse5/dist/tokenizer/index.js +1 -1
- package/node_modules/parse5/node_modules/entities/LICENSE +11 -0
- package/node_modules/parse5/node_modules/entities/decode.d.ts +1 -0
- package/node_modules/parse5/node_modules/entities/decode.js +3 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts +209 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js +511 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js +73 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts +43 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js +121 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js +10 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +10 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +8 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js +13 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts +96 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/index.js +131 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/index.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/package.json +3 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +72 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts +209 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode.js +497 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts +22 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/encode.js +69 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/encode.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts +43 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/escape.js +117 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/escape.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +7 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js +7 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts +8 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js +10 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts +96 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/index.js +107 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/index.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/package.json +3 -0
- package/node_modules/parse5/node_modules/entities/escape.d.ts +1 -0
- package/node_modules/parse5/node_modules/entities/escape.js +3 -0
- package/node_modules/parse5/node_modules/entities/package.json +118 -0
- package/node_modules/parse5/node_modules/entities/readme.md +122 -0
- package/node_modules/parse5/node_modules/entities/src/decode-codepoint.ts +81 -0
- package/node_modules/parse5/node_modules/entities/src/decode.spec.ts +320 -0
- package/node_modules/parse5/node_modules/entities/src/decode.ts +620 -0
- package/node_modules/parse5/node_modules/entities/src/encode.spec.ts +78 -0
- package/node_modules/parse5/node_modules/entities/src/encode.ts +77 -0
- package/node_modules/parse5/node_modules/entities/src/escape.spec.ts +14 -0
- package/node_modules/parse5/node_modules/entities/src/escape.ts +148 -0
- package/node_modules/parse5/node_modules/entities/src/generated/.eslintrc.json +10 -0
- package/node_modules/parse5/node_modules/entities/src/generated/decode-data-html.ts +8 -0
- package/node_modules/parse5/node_modules/entities/src/generated/decode-data-xml.ts +8 -0
- package/node_modules/parse5/node_modules/entities/src/generated/encode-html.ts +17 -0
- package/node_modules/parse5/node_modules/entities/src/index.spec.ts +125 -0
- package/node_modules/parse5/node_modules/entities/src/index.ts +188 -0
- package/node_modules/parse5/package.json +3 -3
- package/node_modules/pump/index.js +1 -1
- package/node_modules/pump/package.json +1 -1
- package/node_modules/semver/bin/semver.js +2 -0
- package/node_modules/semver/classes/comparator.js +2 -0
- package/node_modules/semver/classes/index.js +2 -0
- package/node_modules/semver/classes/range.js +2 -0
- package/node_modules/semver/classes/semver.js +4 -3
- package/node_modules/semver/functions/clean.js +2 -0
- package/node_modules/semver/functions/cmp.js +2 -0
- package/node_modules/semver/functions/coerce.js +2 -0
- package/node_modules/semver/functions/compare-build.js +2 -0
- package/node_modules/semver/functions/compare-loose.js +2 -0
- package/node_modules/semver/functions/compare.js +2 -0
- package/node_modules/semver/functions/diff.js +2 -0
- package/node_modules/semver/functions/eq.js +2 -0
- package/node_modules/semver/functions/gt.js +2 -0
- package/node_modules/semver/functions/gte.js +2 -0
- package/node_modules/semver/functions/inc.js +2 -0
- package/node_modules/semver/functions/lt.js +2 -0
- package/node_modules/semver/functions/lte.js +2 -0
- package/node_modules/semver/functions/major.js +2 -0
- package/node_modules/semver/functions/minor.js +2 -0
- package/node_modules/semver/functions/neq.js +2 -0
- package/node_modules/semver/functions/parse.js +2 -0
- package/node_modules/semver/functions/patch.js +2 -0
- package/node_modules/semver/functions/prerelease.js +2 -0
- package/node_modules/semver/functions/rcompare.js +2 -0
- package/node_modules/semver/functions/rsort.js +2 -0
- package/node_modules/semver/functions/satisfies.js +2 -0
- package/node_modules/semver/functions/sort.js +2 -0
- package/node_modules/semver/functions/valid.js +2 -0
- package/node_modules/semver/index.js +2 -0
- package/node_modules/semver/internal/constants.js +2 -0
- package/node_modules/semver/internal/debug.js +2 -0
- package/node_modules/semver/internal/identifiers.js +2 -0
- package/node_modules/semver/internal/lrucache.js +2 -0
- package/node_modules/semver/internal/parse-options.js +2 -0
- package/node_modules/semver/internal/re.js +8 -4
- package/node_modules/semver/package.json +3 -3
- package/node_modules/semver/preload.js +2 -0
- package/node_modules/semver/ranges/gtr.js +2 -0
- package/node_modules/semver/ranges/intersects.js +2 -0
- package/node_modules/semver/ranges/ltr.js +2 -0
- package/node_modules/semver/ranges/max-satisfying.js +2 -0
- package/node_modules/semver/ranges/min-satisfying.js +2 -0
- package/node_modules/semver/ranges/min-version.js +2 -0
- package/node_modules/semver/ranges/outside.js +2 -0
- package/node_modules/semver/ranges/simplify.js +2 -0
- package/node_modules/semver/ranges/subset.js +2 -0
- package/node_modules/semver/ranges/to-comparators.js +2 -0
- package/node_modules/semver/ranges/valid.js +2 -0
- package/package.json +20 -20
- package/node_modules/@slack/logger/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/node_modules/@slack/logger/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
- package/node_modules/@slack/logger/node_modules/undici-types/file.d.ts +0 -39
- package/node_modules/@slack/logger/node_modules/undici-types/filereader.d.ts +0 -54
- package/node_modules/@slack/web-api/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/node_modules/@slack/web-api/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
- package/node_modules/@slack/web-api/node_modules/undici-types/file.d.ts +0 -39
- package/node_modules/@slack/web-api/node_modules/undici-types/filereader.d.ts +0 -54
- package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
- package/node_modules/@types/cacheable-request/node_modules/undici-types/file.d.ts +0 -39
- package/node_modules/@types/cacheable-request/node_modules/undici-types/filereader.d.ts +0 -54
- package/node_modules/@types/keyv/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/node_modules/@types/keyv/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
- package/node_modules/@types/keyv/node_modules/undici-types/file.d.ts +0 -39
- package/node_modules/@types/keyv/node_modules/undici-types/filereader.d.ts +0 -54
- package/node_modules/@types/responselike/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
- package/node_modules/@types/responselike/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/node_modules/@types/responselike/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
- package/node_modules/@types/responselike/node_modules/undici-types/file.d.ts +0 -39
- package/node_modules/@types/responselike/node_modules/undici-types/filereader.d.ts +0 -54
- package/node_modules/regenerator-runtime/LICENSE +0 -21
- package/node_modules/regenerator-runtime/README.md +0 -31
- package/node_modules/regenerator-runtime/package.json +0 -19
- package/node_modules/regenerator-runtime/path.js +0 -11
- package/node_modules/regenerator-runtime/runtime.js +0 -761
|
@@ -0,0 +1,620 @@
|
|
|
1
|
+
import { htmlDecodeTree } from "./generated/decode-data-html.js";
|
|
2
|
+
import { xmlDecodeTree } from "./generated/decode-data-xml.js";
|
|
3
|
+
import { replaceCodePoint, fromCodePoint } from "./decode-codepoint.js";
|
|
4
|
+
|
|
5
|
+
const enum CharCodes {
|
|
6
|
+
NUM = 35, // "#"
|
|
7
|
+
SEMI = 59, // ";"
|
|
8
|
+
EQUALS = 61, // "="
|
|
9
|
+
ZERO = 48, // "0"
|
|
10
|
+
NINE = 57, // "9"
|
|
11
|
+
LOWER_A = 97, // "a"
|
|
12
|
+
LOWER_F = 102, // "f"
|
|
13
|
+
LOWER_X = 120, // "x"
|
|
14
|
+
LOWER_Z = 122, // "z"
|
|
15
|
+
UPPER_A = 65, // "A"
|
|
16
|
+
UPPER_F = 70, // "F"
|
|
17
|
+
UPPER_Z = 90, // "Z"
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/** Bit that needs to be set to convert an upper case ASCII character to lower case */
|
|
21
|
+
const TO_LOWER_BIT = 0b10_0000;
|
|
22
|
+
|
|
23
|
+
export enum BinTrieFlags {
|
|
24
|
+
VALUE_LENGTH = 0b1100_0000_0000_0000,
|
|
25
|
+
BRANCH_LENGTH = 0b0011_1111_1000_0000,
|
|
26
|
+
JUMP_TABLE = 0b0000_0000_0111_1111,
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function isNumber(code: number): boolean {
|
|
30
|
+
return code >= CharCodes.ZERO && code <= CharCodes.NINE;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function isHexadecimalCharacter(code: number): boolean {
|
|
34
|
+
return (
|
|
35
|
+
(code >= CharCodes.UPPER_A && code <= CharCodes.UPPER_F) ||
|
|
36
|
+
(code >= CharCodes.LOWER_A && code <= CharCodes.LOWER_F)
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function isAsciiAlphaNumeric(code: number): boolean {
|
|
41
|
+
return (
|
|
42
|
+
(code >= CharCodes.UPPER_A && code <= CharCodes.UPPER_Z) ||
|
|
43
|
+
(code >= CharCodes.LOWER_A && code <= CharCodes.LOWER_Z) ||
|
|
44
|
+
isNumber(code)
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Checks if the given character is a valid end character for an entity in an attribute.
|
|
50
|
+
*
|
|
51
|
+
* Attribute values that aren't terminated properly aren't parsed, and shouldn't lead to a parser error.
|
|
52
|
+
* See the example in https://html.spec.whatwg.org/multipage/parsing.html#named-character-reference-state
|
|
53
|
+
*/
|
|
54
|
+
function isEntityInAttributeInvalidEnd(code: number): boolean {
|
|
55
|
+
return code === CharCodes.EQUALS || isAsciiAlphaNumeric(code);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
const enum EntityDecoderState {
|
|
59
|
+
EntityStart,
|
|
60
|
+
NumericStart,
|
|
61
|
+
NumericDecimal,
|
|
62
|
+
NumericHex,
|
|
63
|
+
NamedEntity,
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export enum DecodingMode {
|
|
67
|
+
/** Entities in text nodes that can end with any character. */
|
|
68
|
+
Legacy = 0,
|
|
69
|
+
/** Only allow entities terminated with a semicolon. */
|
|
70
|
+
Strict = 1,
|
|
71
|
+
/** Entities in attributes have limitations on ending characters. */
|
|
72
|
+
Attribute = 2,
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Producers for character reference errors as defined in the HTML spec.
|
|
77
|
+
*/
|
|
78
|
+
export interface EntityErrorProducer {
|
|
79
|
+
missingSemicolonAfterCharacterReference(): void;
|
|
80
|
+
absenceOfDigitsInNumericCharacterReference(
|
|
81
|
+
consumedCharacters: number,
|
|
82
|
+
): void;
|
|
83
|
+
validateNumericCharacterReference(code: number): void;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Token decoder with support of writing partial entities.
|
|
88
|
+
*/
|
|
89
|
+
export class EntityDecoder {
|
|
90
|
+
constructor(
|
|
91
|
+
/** The tree used to decode entities. */
|
|
92
|
+
private readonly decodeTree: Uint16Array,
|
|
93
|
+
/**
|
|
94
|
+
* The function that is called when a codepoint is decoded.
|
|
95
|
+
*
|
|
96
|
+
* For multi-byte named entities, this will be called multiple times,
|
|
97
|
+
* with the second codepoint, and the same `consumed` value.
|
|
98
|
+
*
|
|
99
|
+
* @param codepoint The decoded codepoint.
|
|
100
|
+
* @param consumed The number of bytes consumed by the decoder.
|
|
101
|
+
*/
|
|
102
|
+
private readonly emitCodePoint: (cp: number, consumed: number) => void,
|
|
103
|
+
/** An object that is used to produce errors. */
|
|
104
|
+
private readonly errors?: EntityErrorProducer | undefined,
|
|
105
|
+
) {}
|
|
106
|
+
|
|
107
|
+
/** The current state of the decoder. */
|
|
108
|
+
private state = EntityDecoderState.EntityStart;
|
|
109
|
+
/** Characters that were consumed while parsing an entity. */
|
|
110
|
+
private consumed = 1;
|
|
111
|
+
/**
|
|
112
|
+
* The result of the entity.
|
|
113
|
+
*
|
|
114
|
+
* Either the result index of a numeric entity, or the codepoint of a
|
|
115
|
+
* numeric entity.
|
|
116
|
+
*/
|
|
117
|
+
private result = 0;
|
|
118
|
+
|
|
119
|
+
/** The current index in the decode tree. */
|
|
120
|
+
private treeIndex = 0;
|
|
121
|
+
/** The number of characters that were consumed in excess. */
|
|
122
|
+
private excess = 1;
|
|
123
|
+
/** The mode in which the decoder is operating. */
|
|
124
|
+
private decodeMode = DecodingMode.Strict;
|
|
125
|
+
|
|
126
|
+
/** Resets the instance to make it reusable. */
|
|
127
|
+
startEntity(decodeMode: DecodingMode): void {
|
|
128
|
+
this.decodeMode = decodeMode;
|
|
129
|
+
this.state = EntityDecoderState.EntityStart;
|
|
130
|
+
this.result = 0;
|
|
131
|
+
this.treeIndex = 0;
|
|
132
|
+
this.excess = 1;
|
|
133
|
+
this.consumed = 1;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Write an entity to the decoder. This can be called multiple times with partial entities.
|
|
138
|
+
* If the entity is incomplete, the decoder will return -1.
|
|
139
|
+
*
|
|
140
|
+
* Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the
|
|
141
|
+
* entity is incomplete, and resume when the next string is written.
|
|
142
|
+
*
|
|
143
|
+
* @param input The string containing the entity (or a continuation of the entity).
|
|
144
|
+
* @param offset The offset at which the entity begins. Should be 0 if this is not the first call.
|
|
145
|
+
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
146
|
+
*/
|
|
147
|
+
write(input: string, offset: number): number {
|
|
148
|
+
switch (this.state) {
|
|
149
|
+
case EntityDecoderState.EntityStart: {
|
|
150
|
+
if (input.charCodeAt(offset) === CharCodes.NUM) {
|
|
151
|
+
this.state = EntityDecoderState.NumericStart;
|
|
152
|
+
this.consumed += 1;
|
|
153
|
+
return this.stateNumericStart(input, offset + 1);
|
|
154
|
+
}
|
|
155
|
+
this.state = EntityDecoderState.NamedEntity;
|
|
156
|
+
return this.stateNamedEntity(input, offset);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
case EntityDecoderState.NumericStart: {
|
|
160
|
+
return this.stateNumericStart(input, offset);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
case EntityDecoderState.NumericDecimal: {
|
|
164
|
+
return this.stateNumericDecimal(input, offset);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
case EntityDecoderState.NumericHex: {
|
|
168
|
+
return this.stateNumericHex(input, offset);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
case EntityDecoderState.NamedEntity: {
|
|
172
|
+
return this.stateNamedEntity(input, offset);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Switches between the numeric decimal and hexadecimal states.
|
|
179
|
+
*
|
|
180
|
+
* Equivalent to the `Numeric character reference state` in the HTML spec.
|
|
181
|
+
*
|
|
182
|
+
* @param input The string containing the entity (or a continuation of the entity).
|
|
183
|
+
* @param offset The current offset.
|
|
184
|
+
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
185
|
+
*/
|
|
186
|
+
private stateNumericStart(input: string, offset: number): number {
|
|
187
|
+
if (offset >= input.length) {
|
|
188
|
+
return -1;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
if ((input.charCodeAt(offset) | TO_LOWER_BIT) === CharCodes.LOWER_X) {
|
|
192
|
+
this.state = EntityDecoderState.NumericHex;
|
|
193
|
+
this.consumed += 1;
|
|
194
|
+
return this.stateNumericHex(input, offset + 1);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
this.state = EntityDecoderState.NumericDecimal;
|
|
198
|
+
return this.stateNumericDecimal(input, offset);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
private addToNumericResult(
|
|
202
|
+
input: string,
|
|
203
|
+
start: number,
|
|
204
|
+
end: number,
|
|
205
|
+
base: number,
|
|
206
|
+
): void {
|
|
207
|
+
if (start !== end) {
|
|
208
|
+
const digitCount = end - start;
|
|
209
|
+
this.result =
|
|
210
|
+
this.result * Math.pow(base, digitCount) +
|
|
211
|
+
Number.parseInt(input.substr(start, digitCount), base);
|
|
212
|
+
this.consumed += digitCount;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Parses a hexadecimal numeric entity.
|
|
218
|
+
*
|
|
219
|
+
* Equivalent to the `Hexademical character reference state` in the HTML spec.
|
|
220
|
+
*
|
|
221
|
+
* @param input The string containing the entity (or a continuation of the entity).
|
|
222
|
+
* @param offset The current offset.
|
|
223
|
+
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
224
|
+
*/
|
|
225
|
+
private stateNumericHex(input: string, offset: number): number {
|
|
226
|
+
const startIndex = offset;
|
|
227
|
+
|
|
228
|
+
while (offset < input.length) {
|
|
229
|
+
const char = input.charCodeAt(offset);
|
|
230
|
+
if (isNumber(char) || isHexadecimalCharacter(char)) {
|
|
231
|
+
offset += 1;
|
|
232
|
+
} else {
|
|
233
|
+
this.addToNumericResult(input, startIndex, offset, 16);
|
|
234
|
+
return this.emitNumericEntity(char, 3);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
this.addToNumericResult(input, startIndex, offset, 16);
|
|
239
|
+
|
|
240
|
+
return -1;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Parses a decimal numeric entity.
|
|
245
|
+
*
|
|
246
|
+
* Equivalent to the `Decimal character reference state` in the HTML spec.
|
|
247
|
+
*
|
|
248
|
+
* @param input The string containing the entity (or a continuation of the entity).
|
|
249
|
+
* @param offset The current offset.
|
|
250
|
+
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
251
|
+
*/
|
|
252
|
+
private stateNumericDecimal(input: string, offset: number): number {
|
|
253
|
+
const startIndex = offset;
|
|
254
|
+
|
|
255
|
+
while (offset < input.length) {
|
|
256
|
+
const char = input.charCodeAt(offset);
|
|
257
|
+
if (isNumber(char)) {
|
|
258
|
+
offset += 1;
|
|
259
|
+
} else {
|
|
260
|
+
this.addToNumericResult(input, startIndex, offset, 10);
|
|
261
|
+
return this.emitNumericEntity(char, 2);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
this.addToNumericResult(input, startIndex, offset, 10);
|
|
266
|
+
|
|
267
|
+
return -1;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Validate and emit a numeric entity.
|
|
272
|
+
*
|
|
273
|
+
* Implements the logic from the `Hexademical character reference start
|
|
274
|
+
* state` and `Numeric character reference end state` in the HTML spec.
|
|
275
|
+
*
|
|
276
|
+
* @param lastCp The last code point of the entity. Used to see if the
|
|
277
|
+
* entity was terminated with a semicolon.
|
|
278
|
+
* @param expectedLength The minimum number of characters that should be
|
|
279
|
+
* consumed. Used to validate that at least one digit
|
|
280
|
+
* was consumed.
|
|
281
|
+
* @returns The number of characters that were consumed.
|
|
282
|
+
*/
|
|
283
|
+
private emitNumericEntity(lastCp: number, expectedLength: number): number {
|
|
284
|
+
// Ensure we consumed at least one digit.
|
|
285
|
+
if (this.consumed <= expectedLength) {
|
|
286
|
+
this.errors?.absenceOfDigitsInNumericCharacterReference(
|
|
287
|
+
this.consumed,
|
|
288
|
+
);
|
|
289
|
+
return 0;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
// Figure out if this is a legit end of the entity
|
|
293
|
+
if (lastCp === CharCodes.SEMI) {
|
|
294
|
+
this.consumed += 1;
|
|
295
|
+
} else if (this.decodeMode === DecodingMode.Strict) {
|
|
296
|
+
return 0;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
this.emitCodePoint(replaceCodePoint(this.result), this.consumed);
|
|
300
|
+
|
|
301
|
+
if (this.errors) {
|
|
302
|
+
if (lastCp !== CharCodes.SEMI) {
|
|
303
|
+
this.errors.missingSemicolonAfterCharacterReference();
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
this.errors.validateNumericCharacterReference(this.result);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
return this.consumed;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Parses a named entity.
|
|
314
|
+
*
|
|
315
|
+
* Equivalent to the `Named character reference state` in the HTML spec.
|
|
316
|
+
*
|
|
317
|
+
* @param input The string containing the entity (or a continuation of the entity).
|
|
318
|
+
* @param offset The current offset.
|
|
319
|
+
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
320
|
+
*/
|
|
321
|
+
private stateNamedEntity(input: string, offset: number): number {
|
|
322
|
+
const { decodeTree } = this;
|
|
323
|
+
let current = decodeTree[this.treeIndex];
|
|
324
|
+
// The mask is the number of bytes of the value, including the current byte.
|
|
325
|
+
let valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;
|
|
326
|
+
|
|
327
|
+
for (; offset < input.length; offset++, this.excess++) {
|
|
328
|
+
const char = input.charCodeAt(offset);
|
|
329
|
+
|
|
330
|
+
this.treeIndex = determineBranch(
|
|
331
|
+
decodeTree,
|
|
332
|
+
current,
|
|
333
|
+
this.treeIndex + Math.max(1, valueLength),
|
|
334
|
+
char,
|
|
335
|
+
);
|
|
336
|
+
|
|
337
|
+
if (this.treeIndex < 0) {
|
|
338
|
+
return this.result === 0 ||
|
|
339
|
+
// If we are parsing an attribute
|
|
340
|
+
(this.decodeMode === DecodingMode.Attribute &&
|
|
341
|
+
// We shouldn't have consumed any characters after the entity,
|
|
342
|
+
(valueLength === 0 ||
|
|
343
|
+
// And there should be no invalid characters.
|
|
344
|
+
isEntityInAttributeInvalidEnd(char)))
|
|
345
|
+
? 0
|
|
346
|
+
: this.emitNotTerminatedNamedEntity();
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
current = decodeTree[this.treeIndex];
|
|
350
|
+
valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;
|
|
351
|
+
|
|
352
|
+
// If the branch is a value, store it and continue
|
|
353
|
+
if (valueLength !== 0) {
|
|
354
|
+
// If the entity is terminated by a semicolon, we are done.
|
|
355
|
+
if (char === CharCodes.SEMI) {
|
|
356
|
+
return this.emitNamedEntityData(
|
|
357
|
+
this.treeIndex,
|
|
358
|
+
valueLength,
|
|
359
|
+
this.consumed + this.excess,
|
|
360
|
+
);
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
// If we encounter a non-terminated (legacy) entity while parsing strictly, then ignore it.
|
|
364
|
+
if (this.decodeMode !== DecodingMode.Strict) {
|
|
365
|
+
this.result = this.treeIndex;
|
|
366
|
+
this.consumed += this.excess;
|
|
367
|
+
this.excess = 0;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
return -1;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Emit a named entity that was not terminated with a semicolon.
|
|
377
|
+
*
|
|
378
|
+
* @returns The number of characters consumed.
|
|
379
|
+
*/
|
|
380
|
+
private emitNotTerminatedNamedEntity(): number {
|
|
381
|
+
const { result, decodeTree } = this;
|
|
382
|
+
|
|
383
|
+
const valueLength =
|
|
384
|
+
(decodeTree[result] & BinTrieFlags.VALUE_LENGTH) >> 14;
|
|
385
|
+
|
|
386
|
+
this.emitNamedEntityData(result, valueLength, this.consumed);
|
|
387
|
+
this.errors?.missingSemicolonAfterCharacterReference();
|
|
388
|
+
|
|
389
|
+
return this.consumed;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* Emit a named entity.
|
|
394
|
+
*
|
|
395
|
+
* @param result The index of the entity in the decode tree.
|
|
396
|
+
* @param valueLength The number of bytes in the entity.
|
|
397
|
+
* @param consumed The number of characters consumed.
|
|
398
|
+
*
|
|
399
|
+
* @returns The number of characters consumed.
|
|
400
|
+
*/
|
|
401
|
+
private emitNamedEntityData(
|
|
402
|
+
result: number,
|
|
403
|
+
valueLength: number,
|
|
404
|
+
consumed: number,
|
|
405
|
+
): number {
|
|
406
|
+
const { decodeTree } = this;
|
|
407
|
+
|
|
408
|
+
this.emitCodePoint(
|
|
409
|
+
valueLength === 1
|
|
410
|
+
? decodeTree[result] & ~BinTrieFlags.VALUE_LENGTH
|
|
411
|
+
: decodeTree[result + 1],
|
|
412
|
+
consumed,
|
|
413
|
+
);
|
|
414
|
+
if (valueLength === 3) {
|
|
415
|
+
// For multi-byte values, we need to emit the second byte.
|
|
416
|
+
this.emitCodePoint(decodeTree[result + 2], consumed);
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
return consumed;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* Signal to the parser that the end of the input was reached.
|
|
424
|
+
*
|
|
425
|
+
* Remaining data will be emitted and relevant errors will be produced.
|
|
426
|
+
*
|
|
427
|
+
* @returns The number of characters consumed.
|
|
428
|
+
*/
|
|
429
|
+
end(): number {
|
|
430
|
+
switch (this.state) {
|
|
431
|
+
case EntityDecoderState.NamedEntity: {
|
|
432
|
+
// Emit a named entity if we have one.
|
|
433
|
+
return this.result !== 0 &&
|
|
434
|
+
(this.decodeMode !== DecodingMode.Attribute ||
|
|
435
|
+
this.result === this.treeIndex)
|
|
436
|
+
? this.emitNotTerminatedNamedEntity()
|
|
437
|
+
: 0;
|
|
438
|
+
}
|
|
439
|
+
// Otherwise, emit a numeric entity if we have one.
|
|
440
|
+
case EntityDecoderState.NumericDecimal: {
|
|
441
|
+
return this.emitNumericEntity(0, 2);
|
|
442
|
+
}
|
|
443
|
+
case EntityDecoderState.NumericHex: {
|
|
444
|
+
return this.emitNumericEntity(0, 3);
|
|
445
|
+
}
|
|
446
|
+
case EntityDecoderState.NumericStart: {
|
|
447
|
+
this.errors?.absenceOfDigitsInNumericCharacterReference(
|
|
448
|
+
this.consumed,
|
|
449
|
+
);
|
|
450
|
+
return 0;
|
|
451
|
+
}
|
|
452
|
+
case EntityDecoderState.EntityStart: {
|
|
453
|
+
// Return 0 if we have no entity.
|
|
454
|
+
return 0;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* Creates a function that decodes entities in a string.
|
|
462
|
+
*
|
|
463
|
+
* @param decodeTree The decode tree.
|
|
464
|
+
* @returns A function that decodes entities in a string.
|
|
465
|
+
*/
|
|
466
|
+
function getDecoder(decodeTree: Uint16Array) {
|
|
467
|
+
let returnValue = "";
|
|
468
|
+
const decoder = new EntityDecoder(
|
|
469
|
+
decodeTree,
|
|
470
|
+
(data) => (returnValue += fromCodePoint(data)),
|
|
471
|
+
);
|
|
472
|
+
|
|
473
|
+
return function decodeWithTrie(
|
|
474
|
+
input: string,
|
|
475
|
+
decodeMode: DecodingMode,
|
|
476
|
+
): string {
|
|
477
|
+
let lastIndex = 0;
|
|
478
|
+
let offset = 0;
|
|
479
|
+
|
|
480
|
+
while ((offset = input.indexOf("&", offset)) >= 0) {
|
|
481
|
+
returnValue += input.slice(lastIndex, offset);
|
|
482
|
+
|
|
483
|
+
decoder.startEntity(decodeMode);
|
|
484
|
+
|
|
485
|
+
const length = decoder.write(
|
|
486
|
+
input,
|
|
487
|
+
// Skip the "&"
|
|
488
|
+
offset + 1,
|
|
489
|
+
);
|
|
490
|
+
|
|
491
|
+
if (length < 0) {
|
|
492
|
+
lastIndex = offset + decoder.end();
|
|
493
|
+
break;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
lastIndex = offset + length;
|
|
497
|
+
// If `length` is 0, skip the current `&` and continue.
|
|
498
|
+
offset = length === 0 ? lastIndex + 1 : lastIndex;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
const result = returnValue + input.slice(lastIndex);
|
|
502
|
+
|
|
503
|
+
// Make sure we don't keep a reference to the final string.
|
|
504
|
+
returnValue = "";
|
|
505
|
+
|
|
506
|
+
return result;
|
|
507
|
+
};
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Determines the branch of the current node that is taken given the current
|
|
512
|
+
* character. This function is used to traverse the trie.
|
|
513
|
+
*
|
|
514
|
+
* @param decodeTree The trie.
|
|
515
|
+
* @param current The current node.
|
|
516
|
+
* @param nodeIdx The index right after the current node and its value.
|
|
517
|
+
* @param char The current character.
|
|
518
|
+
* @returns The index of the next node, or -1 if no branch is taken.
|
|
519
|
+
*/
|
|
520
|
+
export function determineBranch(
|
|
521
|
+
decodeTree: Uint16Array,
|
|
522
|
+
current: number,
|
|
523
|
+
nodeIndex: number,
|
|
524
|
+
char: number,
|
|
525
|
+
): number {
|
|
526
|
+
const branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;
|
|
527
|
+
const jumpOffset = current & BinTrieFlags.JUMP_TABLE;
|
|
528
|
+
|
|
529
|
+
// Case 1: Single branch encoded in jump offset
|
|
530
|
+
if (branchCount === 0) {
|
|
531
|
+
return jumpOffset !== 0 && char === jumpOffset ? nodeIndex : -1;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
// Case 2: Multiple branches encoded in jump table
|
|
535
|
+
if (jumpOffset) {
|
|
536
|
+
const value = char - jumpOffset;
|
|
537
|
+
|
|
538
|
+
return value < 0 || value >= branchCount
|
|
539
|
+
? -1
|
|
540
|
+
: decodeTree[nodeIndex + value] - 1;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
// Case 3: Multiple branches encoded in dictionary
|
|
544
|
+
|
|
545
|
+
// Binary search for the character.
|
|
546
|
+
let lo = nodeIndex;
|
|
547
|
+
let hi = lo + branchCount - 1;
|
|
548
|
+
|
|
549
|
+
while (lo <= hi) {
|
|
550
|
+
const mid = (lo + hi) >>> 1;
|
|
551
|
+
const midValue = decodeTree[mid];
|
|
552
|
+
|
|
553
|
+
if (midValue < char) {
|
|
554
|
+
lo = mid + 1;
|
|
555
|
+
} else if (midValue > char) {
|
|
556
|
+
hi = mid - 1;
|
|
557
|
+
} else {
|
|
558
|
+
return decodeTree[mid + branchCount];
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
return -1;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
const htmlDecoder = /* #__PURE__ */ getDecoder(htmlDecodeTree);
|
|
566
|
+
const xmlDecoder = /* #__PURE__ */ getDecoder(xmlDecodeTree);
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Decodes an HTML string.
|
|
570
|
+
*
|
|
571
|
+
* @param htmlString The string to decode.
|
|
572
|
+
* @param mode The decoding mode.
|
|
573
|
+
* @returns The decoded string.
|
|
574
|
+
*/
|
|
575
|
+
export function decodeHTML(
|
|
576
|
+
htmlString: string,
|
|
577
|
+
mode: DecodingMode = DecodingMode.Legacy,
|
|
578
|
+
): string {
|
|
579
|
+
return htmlDecoder(htmlString, mode);
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* Decodes an HTML string in an attribute.
|
|
584
|
+
*
|
|
585
|
+
* @param htmlAttribute The string to decode.
|
|
586
|
+
* @returns The decoded string.
|
|
587
|
+
*/
|
|
588
|
+
export function decodeHTMLAttribute(htmlAttribute: string): string {
|
|
589
|
+
return htmlDecoder(htmlAttribute, DecodingMode.Attribute);
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* Decodes an HTML string, requiring all entities to be terminated by a semicolon.
|
|
594
|
+
*
|
|
595
|
+
* @param htmlString The string to decode.
|
|
596
|
+
* @returns The decoded string.
|
|
597
|
+
*/
|
|
598
|
+
export function decodeHTMLStrict(htmlString: string): string {
|
|
599
|
+
return htmlDecoder(htmlString, DecodingMode.Strict);
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* Decodes an XML string, requiring all entities to be terminated by a semicolon.
|
|
604
|
+
*
|
|
605
|
+
* @param xmlString The string to decode.
|
|
606
|
+
* @returns The decoded string.
|
|
607
|
+
*/
|
|
608
|
+
export function decodeXML(xmlString: string): string {
|
|
609
|
+
return xmlDecoder(xmlString, DecodingMode.Strict);
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
// Re-export for use by eg. htmlparser2
|
|
613
|
+
export { htmlDecodeTree } from "./generated/decode-data-html.js";
|
|
614
|
+
export { xmlDecodeTree } from "./generated/decode-data-xml.js";
|
|
615
|
+
|
|
616
|
+
export {
|
|
617
|
+
decodeCodePoint,
|
|
618
|
+
replaceCodePoint,
|
|
619
|
+
fromCodePoint,
|
|
620
|
+
} from "./decode-codepoint.js";
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { describe, it, expect } from "vitest";
|
|
2
|
+
import * as entities from "./index.js";
|
|
3
|
+
|
|
4
|
+
describe("Encode->decode test", () => {
|
|
5
|
+
const testcases = [
|
|
6
|
+
{
|
|
7
|
+
input: "asdf & ÿ ü '",
|
|
8
|
+
xml: "asdf & ÿ ü '",
|
|
9
|
+
html: "asdf & ÿ ü '",
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
input: "&",
|
|
13
|
+
xml: "&#38;",
|
|
14
|
+
html: "&#38;",
|
|
15
|
+
},
|
|
16
|
+
];
|
|
17
|
+
|
|
18
|
+
for (const { input, xml, html } of testcases) {
|
|
19
|
+
const encodedXML = entities.encodeXML(input);
|
|
20
|
+
it(`should XML encode ${input}`, () => expect(encodedXML).toBe(xml));
|
|
21
|
+
it(`should default to XML encode ${input}`, () =>
|
|
22
|
+
expect(entities.encode(input)).toBe(xml));
|
|
23
|
+
it(`should XML decode ${encodedXML}`, () =>
|
|
24
|
+
expect(entities.decodeXML(encodedXML)).toBe(input));
|
|
25
|
+
it(`should default to XML encode ${encodedXML}`, () =>
|
|
26
|
+
expect(entities.decode(encodedXML)).toBe(input));
|
|
27
|
+
it(`should default strict to XML encode ${encodedXML}`, () =>
|
|
28
|
+
expect(entities.decodeStrict(encodedXML)).toBe(input));
|
|
29
|
+
|
|
30
|
+
const encodedHTML5 = entities.encodeHTML5(input);
|
|
31
|
+
it(`should HTML5 encode ${input}`, () =>
|
|
32
|
+
expect(encodedHTML5).toBe(html));
|
|
33
|
+
it(`should HTML5 decode ${encodedHTML5}`, () =>
|
|
34
|
+
expect(entities.decodeHTML(encodedHTML5)).toBe(input));
|
|
35
|
+
it("should encode emojis", () =>
|
|
36
|
+
expect(entities.encodeHTML5("😄🍾🥳💥😇")).toBe(
|
|
37
|
+
"😄🍾🥳💥😇",
|
|
38
|
+
));
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
it("should encode data URIs (issue #16)", () => {
|
|
42
|
+
const data =
|
|
43
|
+
"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAALAAABAAEAAAIBRAA7";
|
|
44
|
+
expect(entities.decode(entities.encode(data))).toBe(data);
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
it("should HTML encode all ASCII characters", () => {
|
|
48
|
+
for (let index = 0; index < 128; index++) {
|
|
49
|
+
const char = String.fromCharCode(index);
|
|
50
|
+
const encoded = entities.encodeHTML(char);
|
|
51
|
+
const decoded = entities.decodeHTML(encoded);
|
|
52
|
+
expect(decoded).toBe(char);
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
it("should encode trailing parts of entities", () =>
|
|
57
|
+
expect(entities.encodeHTML("\uD835")).toBe("�"));
|
|
58
|
+
|
|
59
|
+
it("should encode surrogate pair with first surrogate equivalent of entity, without corresponding entity", () =>
|
|
60
|
+
expect(entities.encodeHTML("\u{1D4A4}")).toBe("𝒤"));
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
describe("encodeNonAsciiHTML", () => {
|
|
64
|
+
it("should encode all non-ASCII characters", () =>
|
|
65
|
+
expect(entities.encodeNonAsciiHTML("<test> #123! übermaßen")).toBe(
|
|
66
|
+
"<test> #123! übermaßen",
|
|
67
|
+
));
|
|
68
|
+
|
|
69
|
+
it("should encode emojis", () =>
|
|
70
|
+
expect(entities.encodeNonAsciiHTML("😄🍾🥳💥😇")).toBe(
|
|
71
|
+
"😄🍾🥳💥😇",
|
|
72
|
+
));
|
|
73
|
+
|
|
74
|
+
it("should encode chars above surrogates", () =>
|
|
75
|
+
expect(entities.encodeNonAsciiHTML("♒️♓️♈️♉️♊️♋️♌️♍️♎️♏️♐️♑️")).toBe(
|
|
76
|
+
"♒️♓️♈️♉️♊️♋️♌️♍️♎️♏️♐️♑️",
|
|
77
|
+
));
|
|
78
|
+
});
|