cloudstructs 0.9.32 → 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 +4 -4
- 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
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @typedef {Object} HttpRequest
|
|
5
|
+
* @property {Record<string, string>} headers - Request headers
|
|
6
|
+
* @property {string} [method] - HTTP method
|
|
7
|
+
* @property {string} [url] - Request URL
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @typedef {Object} HttpResponse
|
|
12
|
+
* @property {Record<string, string>} headers - Response headers
|
|
13
|
+
* @property {number} [status] - HTTP status code
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Set of default cacheable status codes per RFC 7231 section 6.1.
|
|
18
|
+
* @type {Set<number>}
|
|
19
|
+
*/
|
|
3
20
|
const statusCodeCacheableByDefault = new Set([
|
|
4
21
|
200,
|
|
5
22
|
203,
|
|
@@ -15,7 +32,11 @@ const statusCodeCacheableByDefault = new Set([
|
|
|
15
32
|
501,
|
|
16
33
|
]);
|
|
17
34
|
|
|
18
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Set of HTTP status codes that the cache implementation understands.
|
|
37
|
+
* Note: This implementation does not understand partial responses (206).
|
|
38
|
+
* @type {Set<number>}
|
|
39
|
+
*/
|
|
19
40
|
const understoodStatuses = new Set([
|
|
20
41
|
200,
|
|
21
42
|
203,
|
|
@@ -33,13 +54,21 @@ const understoodStatuses = new Set([
|
|
|
33
54
|
501,
|
|
34
55
|
]);
|
|
35
56
|
|
|
57
|
+
/**
|
|
58
|
+
* Set of HTTP error status codes.
|
|
59
|
+
* @type {Set<number>}
|
|
60
|
+
*/
|
|
36
61
|
const errorStatusCodes = new Set([
|
|
37
62
|
500,
|
|
38
63
|
502,
|
|
39
|
-
503,
|
|
64
|
+
503,
|
|
40
65
|
504,
|
|
41
66
|
]);
|
|
42
67
|
|
|
68
|
+
/**
|
|
69
|
+
* Object representing hop-by-hop headers that should be removed.
|
|
70
|
+
* @type {Record<string, boolean>}
|
|
71
|
+
*/
|
|
43
72
|
const hopByHopHeaders = {
|
|
44
73
|
date: true, // included, because we add Age update Date
|
|
45
74
|
connection: true,
|
|
@@ -52,6 +81,10 @@ const hopByHopHeaders = {
|
|
|
52
81
|
upgrade: true,
|
|
53
82
|
};
|
|
54
83
|
|
|
84
|
+
/**
|
|
85
|
+
* Headers that are excluded from revalidation update.
|
|
86
|
+
* @type {Record<string, boolean>}
|
|
87
|
+
*/
|
|
55
88
|
const excludedFromRevalidationUpdate = {
|
|
56
89
|
// Since the old body is reused, it doesn't make sense to change properties of the body
|
|
57
90
|
'content-length': true,
|
|
@@ -60,21 +93,37 @@ const excludedFromRevalidationUpdate = {
|
|
|
60
93
|
'content-range': true,
|
|
61
94
|
};
|
|
62
95
|
|
|
96
|
+
/**
|
|
97
|
+
* Converts a string to a number or returns zero if the conversion fails.
|
|
98
|
+
* @param {string} s - The string to convert.
|
|
99
|
+
* @returns {number} The parsed number or 0.
|
|
100
|
+
*/
|
|
63
101
|
function toNumberOrZero(s) {
|
|
64
102
|
const n = parseInt(s, 10);
|
|
65
103
|
return isFinite(n) ? n : 0;
|
|
66
104
|
}
|
|
67
105
|
|
|
68
|
-
|
|
106
|
+
/**
|
|
107
|
+
* Determines if the given response is an error response.
|
|
108
|
+
* Implements RFC 5861 behavior.
|
|
109
|
+
* @param {HttpResponse|undefined} response - The HTTP response object.
|
|
110
|
+
* @returns {boolean} true if the response is an error or undefined, false otherwise.
|
|
111
|
+
*/
|
|
69
112
|
function isErrorResponse(response) {
|
|
70
113
|
// consider undefined response as faulty
|
|
71
|
-
if(!response) {
|
|
72
|
-
return true
|
|
114
|
+
if (!response) {
|
|
115
|
+
return true;
|
|
73
116
|
}
|
|
74
117
|
return errorStatusCodes.has(response.status);
|
|
75
118
|
}
|
|
76
119
|
|
|
120
|
+
/**
|
|
121
|
+
* Parses a Cache-Control header string into an object.
|
|
122
|
+
* @param {string} [header] - The Cache-Control header value.
|
|
123
|
+
* @returns {Record<string, string|boolean>} An object representing Cache-Control directives.
|
|
124
|
+
*/
|
|
77
125
|
function parseCacheControl(header) {
|
|
126
|
+
/** @type {Record<string, string|boolean>} */
|
|
78
127
|
const cc = {};
|
|
79
128
|
if (!header) return cc;
|
|
80
129
|
|
|
@@ -89,6 +138,11 @@ function parseCacheControl(header) {
|
|
|
89
138
|
return cc;
|
|
90
139
|
}
|
|
91
140
|
|
|
141
|
+
/**
|
|
142
|
+
* Formats a Cache-Control directives object into a header string.
|
|
143
|
+
* @param {Record<string, string|boolean>} cc - The Cache-Control directives.
|
|
144
|
+
* @returns {string|undefined} A formatted Cache-Control header string or undefined if empty.
|
|
145
|
+
*/
|
|
92
146
|
function formatCacheControl(cc) {
|
|
93
147
|
let parts = [];
|
|
94
148
|
for (const k in cc) {
|
|
@@ -102,6 +156,17 @@ function formatCacheControl(cc) {
|
|
|
102
156
|
}
|
|
103
157
|
|
|
104
158
|
module.exports = class CachePolicy {
|
|
159
|
+
/**
|
|
160
|
+
* Creates a new CachePolicy instance.
|
|
161
|
+
* @param {HttpRequest} req - Incoming client request.
|
|
162
|
+
* @param {HttpResponse} res - Received server response.
|
|
163
|
+
* @param {Object} [options={}] - Configuration options.
|
|
164
|
+
* @param {boolean} [options.shared=true] - Is the cache shared (a public proxy)? `false` for personal browser caches.
|
|
165
|
+
* @param {number} [options.cacheHeuristic=0.1] - Fallback heuristic (age fraction) for cache duration.
|
|
166
|
+
* @param {number} [options.immutableMinTimeToLive=86400000] - Minimum TTL for immutable responses in milliseconds.
|
|
167
|
+
* @param {boolean} [options.ignoreCargoCult=false] - Detect nonsense cache headers, and override them.
|
|
168
|
+
* @param {any} [options._fromObject] - Internal parameter for deserialization. Do not use.
|
|
169
|
+
*/
|
|
105
170
|
constructor(
|
|
106
171
|
req,
|
|
107
172
|
res,
|
|
@@ -123,29 +188,44 @@ module.exports = class CachePolicy {
|
|
|
123
188
|
}
|
|
124
189
|
this._assertRequestHasHeaders(req);
|
|
125
190
|
|
|
191
|
+
/** @type {number} Timestamp when the response was received */
|
|
126
192
|
this._responseTime = this.now();
|
|
193
|
+
/** @type {boolean} Indicates if the cache is shared */
|
|
127
194
|
this._isShared = shared !== false;
|
|
195
|
+
/** @type {boolean} Indicates if legacy cargo cult directives should be ignored */
|
|
196
|
+
this._ignoreCargoCult = !!ignoreCargoCult;
|
|
197
|
+
/** @type {number} Heuristic cache fraction */
|
|
128
198
|
this._cacheHeuristic =
|
|
129
199
|
undefined !== cacheHeuristic ? cacheHeuristic : 0.1; // 10% matches IE
|
|
200
|
+
/** @type {number} Minimum TTL for immutable responses in ms */
|
|
130
201
|
this._immutableMinTtl =
|
|
131
202
|
undefined !== immutableMinTimeToLive
|
|
132
203
|
? immutableMinTimeToLive
|
|
133
204
|
: 24 * 3600 * 1000;
|
|
134
205
|
|
|
206
|
+
/** @type {number} HTTP status code */
|
|
135
207
|
this._status = 'status' in res ? res.status : 200;
|
|
208
|
+
/** @type {Record<string, string>} Response headers */
|
|
136
209
|
this._resHeaders = res.headers;
|
|
210
|
+
/** @type {Record<string, string|boolean>} Parsed Cache-Control directives from response */
|
|
137
211
|
this._rescc = parseCacheControl(res.headers['cache-control']);
|
|
212
|
+
/** @type {string} HTTP method (e.g., GET, POST) */
|
|
138
213
|
this._method = 'method' in req ? req.method : 'GET';
|
|
214
|
+
/** @type {string} Request URL */
|
|
139
215
|
this._url = req.url;
|
|
216
|
+
/** @type {string} Host header from the request */
|
|
140
217
|
this._host = req.headers.host;
|
|
218
|
+
/** @type {boolean} Whether the request does not include an Authorization header */
|
|
141
219
|
this._noAuthorization = !req.headers.authorization;
|
|
220
|
+
/** @type {Record<string, string>|null} Request headers used for Vary matching */
|
|
142
221
|
this._reqHeaders = res.headers.vary ? req.headers : null; // Don't keep all request headers if they won't be used
|
|
222
|
+
/** @type {Record<string, string|boolean>} Parsed Cache-Control directives from request */
|
|
143
223
|
this._reqcc = parseCacheControl(req.headers['cache-control']);
|
|
144
224
|
|
|
145
225
|
// Assume that if someone uses legacy, non-standard uncecessary options they don't understand caching,
|
|
146
226
|
// so there's no point stricly adhering to the blindly copy&pasted directives.
|
|
147
227
|
if (
|
|
148
|
-
|
|
228
|
+
this._ignoreCargoCult &&
|
|
149
229
|
'pre-check' in this._rescc &&
|
|
150
230
|
'post-check' in this._rescc
|
|
151
231
|
) {
|
|
@@ -171,10 +251,18 @@ module.exports = class CachePolicy {
|
|
|
171
251
|
}
|
|
172
252
|
}
|
|
173
253
|
|
|
254
|
+
/**
|
|
255
|
+
* You can monkey-patch it for testing.
|
|
256
|
+
* @returns {number} Current time in milliseconds.
|
|
257
|
+
*/
|
|
174
258
|
now() {
|
|
175
259
|
return Date.now();
|
|
176
260
|
}
|
|
177
261
|
|
|
262
|
+
/**
|
|
263
|
+
* Determines if the response is storable in a cache.
|
|
264
|
+
* @returns {boolean} `false` if can never be cached.
|
|
265
|
+
*/
|
|
178
266
|
storable() {
|
|
179
267
|
// The "no-store" request directive indicates that a cache MUST NOT store any part of either this request or any response to it.
|
|
180
268
|
return !!(
|
|
@@ -208,62 +296,160 @@ module.exports = class CachePolicy {
|
|
|
208
296
|
);
|
|
209
297
|
}
|
|
210
298
|
|
|
299
|
+
/**
|
|
300
|
+
* @returns {boolean} true if expiration is explicitly defined.
|
|
301
|
+
*/
|
|
211
302
|
_hasExplicitExpiration() {
|
|
212
303
|
// 4.2.1 Calculating Freshness Lifetime
|
|
213
|
-
return (
|
|
304
|
+
return !!(
|
|
214
305
|
(this._isShared && this._rescc['s-maxage']) ||
|
|
215
306
|
this._rescc['max-age'] ||
|
|
216
307
|
this._resHeaders.expires
|
|
217
308
|
);
|
|
218
309
|
}
|
|
219
310
|
|
|
311
|
+
/**
|
|
312
|
+
* @param {HttpRequest} req - a request
|
|
313
|
+
* @throws {Error} if the headers are missing.
|
|
314
|
+
*/
|
|
220
315
|
_assertRequestHasHeaders(req) {
|
|
221
316
|
if (!req || !req.headers) {
|
|
222
317
|
throw Error('Request headers missing');
|
|
223
318
|
}
|
|
224
319
|
}
|
|
225
320
|
|
|
321
|
+
/**
|
|
322
|
+
* Checks if the request matches the cache and can be satisfied from the cache immediately,
|
|
323
|
+
* without having to make a request to the server.
|
|
324
|
+
*
|
|
325
|
+
* This doesn't support `stale-while-revalidate`. See `evaluateRequest()` for a more complete solution.
|
|
326
|
+
*
|
|
327
|
+
* @param {HttpRequest} req - The new incoming HTTP request.
|
|
328
|
+
* @returns {boolean} `true`` if the cached response used to construct this cache policy satisfies the request without revalidation.
|
|
329
|
+
*/
|
|
226
330
|
satisfiesWithoutRevalidation(req) {
|
|
331
|
+
const result = this.evaluateRequest(req);
|
|
332
|
+
return !result.revalidation;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* @param {{headers: Record<string, string>, synchronous: boolean}|undefined} revalidation - Revalidation information, if any.
|
|
337
|
+
* @returns {{response: {headers: Record<string, string>}, revalidation: {headers: Record<string, string>, synchronous: boolean}|undefined}} An object with a cached response headers and revalidation info.
|
|
338
|
+
*/
|
|
339
|
+
_evaluateRequestHitResult(revalidation) {
|
|
340
|
+
return {
|
|
341
|
+
response: {
|
|
342
|
+
headers: this.responseHeaders(),
|
|
343
|
+
},
|
|
344
|
+
revalidation,
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* @param {HttpRequest} request - new incoming
|
|
350
|
+
* @param {boolean} synchronous - whether revalidation must be synchronous (not s-w-r).
|
|
351
|
+
* @returns {{headers: Record<string, string>, synchronous: boolean}} An object with revalidation headers and a synchronous flag.
|
|
352
|
+
*/
|
|
353
|
+
_evaluateRequestRevalidation(request, synchronous) {
|
|
354
|
+
return {
|
|
355
|
+
synchronous,
|
|
356
|
+
headers: this.revalidationHeaders(request),
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* @param {HttpRequest} request - new incoming
|
|
362
|
+
* @returns {{response: undefined, revalidation: {headers: Record<string, string>, synchronous: boolean}}} An object indicating no cached response and revalidation details.
|
|
363
|
+
*/
|
|
364
|
+
_evaluateRequestMissResult(request) {
|
|
365
|
+
return {
|
|
366
|
+
response: undefined,
|
|
367
|
+
revalidation: this._evaluateRequestRevalidation(request, true),
|
|
368
|
+
};
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Checks if the given request matches this cache entry, and how the cache can be used to satisfy it. Returns an object with:
|
|
373
|
+
*
|
|
374
|
+
* ```
|
|
375
|
+
* {
|
|
376
|
+
* // If defined, you must send a request to the server.
|
|
377
|
+
* revalidation: {
|
|
378
|
+
* headers: {}, // HTTP headers to use when sending the revalidation response
|
|
379
|
+
* // If true, you MUST wait for a response from the server before using the cache
|
|
380
|
+
* // If false, this is stale-while-revalidate. The cache is stale, but you can use it while you update it asynchronously.
|
|
381
|
+
* synchronous: bool,
|
|
382
|
+
* },
|
|
383
|
+
* // If defined, you can use this cached response.
|
|
384
|
+
* response: {
|
|
385
|
+
* headers: {}, // Updated cached HTTP headers you must use when responding to the client
|
|
386
|
+
* },
|
|
387
|
+
* }
|
|
388
|
+
* ```
|
|
389
|
+
* @param {HttpRequest} req - new incoming HTTP request
|
|
390
|
+
* @returns {{response: {headers: Record<string, string>}|undefined, revalidation: {headers: Record<string, string>, synchronous: boolean}|undefined}} An object containing keys:
|
|
391
|
+
* - revalidation: { headers: Record<string, string>, synchronous: boolean } Set if you should send this to the origin server
|
|
392
|
+
* - response: { headers: Record<string, string> } Set if you can respond to the client with these cached headers
|
|
393
|
+
*/
|
|
394
|
+
evaluateRequest(req) {
|
|
227
395
|
this._assertRequestHasHeaders(req);
|
|
228
396
|
|
|
397
|
+
// In all circumstances, a cache MUST NOT ignore the must-revalidate directive
|
|
398
|
+
if (this._rescc['must-revalidate']) {
|
|
399
|
+
return this._evaluateRequestMissResult(req);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
if (!this._requestMatches(req, false)) {
|
|
403
|
+
return this._evaluateRequestMissResult(req);
|
|
404
|
+
}
|
|
405
|
+
|
|
229
406
|
// When presented with a request, a cache MUST NOT reuse a stored response, unless:
|
|
230
407
|
// the presented request does not contain the no-cache pragma (Section 5.4), nor the no-cache cache directive,
|
|
231
408
|
// unless the stored response is successfully validated (Section 4.3), and
|
|
232
409
|
const requestCC = parseCacheControl(req.headers['cache-control']);
|
|
410
|
+
|
|
233
411
|
if (requestCC['no-cache'] || /no-cache/.test(req.headers.pragma)) {
|
|
234
|
-
return
|
|
412
|
+
return this._evaluateRequestMissResult(req);
|
|
235
413
|
}
|
|
236
414
|
|
|
237
|
-
if (requestCC['max-age'] && this.age() > requestCC['max-age']) {
|
|
238
|
-
return
|
|
415
|
+
if (requestCC['max-age'] && this.age() > toNumberOrZero(requestCC['max-age'])) {
|
|
416
|
+
return this._evaluateRequestMissResult(req);
|
|
239
417
|
}
|
|
240
418
|
|
|
241
|
-
if (
|
|
242
|
-
|
|
243
|
-
this.timeToLive() < 1000 * requestCC['min-fresh']
|
|
244
|
-
) {
|
|
245
|
-
return false;
|
|
419
|
+
if (requestCC['min-fresh'] && this.maxAge() - this.age() < toNumberOrZero(requestCC['min-fresh'])) {
|
|
420
|
+
return this._evaluateRequestMissResult(req);
|
|
246
421
|
}
|
|
247
422
|
|
|
248
423
|
// the stored response is either:
|
|
249
424
|
// fresh, or allowed to be served stale
|
|
250
425
|
if (this.stale()) {
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
(true === requestCC['max-stale'] ||
|
|
255
|
-
|
|
256
|
-
if (
|
|
257
|
-
return
|
|
426
|
+
// If a value is present, then the client is willing to accept a response that has
|
|
427
|
+
// exceeded its freshness lifetime by no more than the specified number of seconds
|
|
428
|
+
const allowsStaleWithoutRevalidation = 'max-stale' in requestCC &&
|
|
429
|
+
(true === requestCC['max-stale'] || requestCC['max-stale'] > this.age() - this.maxAge());
|
|
430
|
+
|
|
431
|
+
if (allowsStaleWithoutRevalidation) {
|
|
432
|
+
return this._evaluateRequestHitResult(undefined);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
if (this.useStaleWhileRevalidate()) {
|
|
436
|
+
return this._evaluateRequestHitResult(this._evaluateRequestRevalidation(req, false));
|
|
258
437
|
}
|
|
438
|
+
|
|
439
|
+
return this._evaluateRequestMissResult(req);
|
|
259
440
|
}
|
|
260
441
|
|
|
261
|
-
return this.
|
|
442
|
+
return this._evaluateRequestHitResult(undefined);
|
|
262
443
|
}
|
|
263
444
|
|
|
445
|
+
/**
|
|
446
|
+
* @param {HttpRequest} req - check if this is for the same cache entry
|
|
447
|
+
* @param {boolean} allowHeadMethod - allow a HEAD method to match.
|
|
448
|
+
* @returns {boolean} `true` if the request matches.
|
|
449
|
+
*/
|
|
264
450
|
_requestMatches(req, allowHeadMethod) {
|
|
265
451
|
// The presented effective request URI and that of the stored response match, and
|
|
266
|
-
return (
|
|
452
|
+
return !!(
|
|
267
453
|
(!this._url || this._url === req.url) &&
|
|
268
454
|
this._host === req.headers.host &&
|
|
269
455
|
// the request method associated with the stored response allows it to be used for the presented request, and
|
|
@@ -275,15 +461,24 @@ module.exports = class CachePolicy {
|
|
|
275
461
|
);
|
|
276
462
|
}
|
|
277
463
|
|
|
464
|
+
/**
|
|
465
|
+
* Determines whether storing authenticated responses is allowed.
|
|
466
|
+
* @returns {boolean} `true` if allowed.
|
|
467
|
+
*/
|
|
278
468
|
_allowsStoringAuthenticated() {
|
|
279
|
-
//
|
|
280
|
-
return (
|
|
469
|
+
// following Cache-Control response directives (Section 5.2.2) have such an effect: must-revalidate, public, and s-maxage.
|
|
470
|
+
return !!(
|
|
281
471
|
this._rescc['must-revalidate'] ||
|
|
282
472
|
this._rescc.public ||
|
|
283
473
|
this._rescc['s-maxage']
|
|
284
474
|
);
|
|
285
475
|
}
|
|
286
476
|
|
|
477
|
+
/**
|
|
478
|
+
* Checks whether the Vary header in the response matches the new request.
|
|
479
|
+
* @param {HttpRequest} req - incoming HTTP request
|
|
480
|
+
* @returns {boolean} `true` if the vary headers match.
|
|
481
|
+
*/
|
|
287
482
|
_varyMatches(req) {
|
|
288
483
|
if (!this._resHeaders.vary) {
|
|
289
484
|
return true;
|
|
@@ -304,7 +499,13 @@ module.exports = class CachePolicy {
|
|
|
304
499
|
return true;
|
|
305
500
|
}
|
|
306
501
|
|
|
502
|
+
/**
|
|
503
|
+
* Creates a copy of the given headers without any hop-by-hop headers.
|
|
504
|
+
* @param {Record<string, string>} inHeaders - old headers from the cached response
|
|
505
|
+
* @returns {Record<string, string>} A new headers object without hop-by-hop headers.
|
|
506
|
+
*/
|
|
307
507
|
_copyWithoutHopByHopHeaders(inHeaders) {
|
|
508
|
+
/** @type {Record<string, string>} */
|
|
308
509
|
const headers = {};
|
|
309
510
|
for (const name in inHeaders) {
|
|
310
511
|
if (hopByHopHeaders[name]) continue;
|
|
@@ -330,6 +531,11 @@ module.exports = class CachePolicy {
|
|
|
330
531
|
return headers;
|
|
331
532
|
}
|
|
332
533
|
|
|
534
|
+
/**
|
|
535
|
+
* Returns the response headers adjusted for serving the cached response.
|
|
536
|
+
* Removes hop-by-hop headers and updates the Age and Date headers.
|
|
537
|
+
* @returns {Record<string, string>} The adjusted response headers.
|
|
538
|
+
*/
|
|
333
539
|
responseHeaders() {
|
|
334
540
|
const headers = this._copyWithoutHopByHopHeaders(this._resHeaders);
|
|
335
541
|
const age = this.age();
|
|
@@ -351,8 +557,8 @@ module.exports = class CachePolicy {
|
|
|
351
557
|
}
|
|
352
558
|
|
|
353
559
|
/**
|
|
354
|
-
*
|
|
355
|
-
* @
|
|
560
|
+
* Returns the Date header value from the response or the current time if invalid.
|
|
561
|
+
* @returns {number} Timestamp (in milliseconds) representing the Date header or response time.
|
|
356
562
|
*/
|
|
357
563
|
date() {
|
|
358
564
|
const serverDate = Date.parse(this._resHeaders.date);
|
|
@@ -365,8 +571,7 @@ module.exports = class CachePolicy {
|
|
|
365
571
|
/**
|
|
366
572
|
* Value of the Age header, in seconds, updated for the current time.
|
|
367
573
|
* May be fractional.
|
|
368
|
-
*
|
|
369
|
-
* @return Number
|
|
574
|
+
* @returns {number} The age in seconds.
|
|
370
575
|
*/
|
|
371
576
|
age() {
|
|
372
577
|
let age = this._ageValue();
|
|
@@ -375,16 +580,21 @@ module.exports = class CachePolicy {
|
|
|
375
580
|
return age + residentTime;
|
|
376
581
|
}
|
|
377
582
|
|
|
583
|
+
/**
|
|
584
|
+
* @returns {number} The Age header value as a number.
|
|
585
|
+
*/
|
|
378
586
|
_ageValue() {
|
|
379
587
|
return toNumberOrZero(this._resHeaders.age);
|
|
380
588
|
}
|
|
381
589
|
|
|
382
590
|
/**
|
|
383
|
-
*
|
|
591
|
+
* Possibly outdated value of applicable max-age (or heuristic equivalent) in seconds.
|
|
592
|
+
* This counts since response's `Date`.
|
|
384
593
|
*
|
|
385
594
|
* For an up-to-date value, see `timeToLive()`.
|
|
386
595
|
*
|
|
387
|
-
*
|
|
596
|
+
* Returns the maximum age (freshness lifetime) of the response in seconds.
|
|
597
|
+
* @returns {number} The max-age value in seconds.
|
|
388
598
|
*/
|
|
389
599
|
maxAge() {
|
|
390
600
|
if (!this.storable() || this._rescc['no-cache']) {
|
|
@@ -446,29 +656,57 @@ module.exports = class CachePolicy {
|
|
|
446
656
|
return defaultMinTtl;
|
|
447
657
|
}
|
|
448
658
|
|
|
659
|
+
/**
|
|
660
|
+
* Remaining time this cache entry may be useful for, in *milliseconds*.
|
|
661
|
+
* You can use this as an expiration time for your cache storage.
|
|
662
|
+
*
|
|
663
|
+
* Prefer this method over `maxAge()`, because it includes other factors like `age` and `stale-while-revalidate`.
|
|
664
|
+
* @returns {number} Time-to-live in milliseconds.
|
|
665
|
+
*/
|
|
449
666
|
timeToLive() {
|
|
450
667
|
const age = this.maxAge() - this.age();
|
|
451
668
|
const staleIfErrorAge = age + toNumberOrZero(this._rescc['stale-if-error']);
|
|
452
669
|
const staleWhileRevalidateAge = age + toNumberOrZero(this._rescc['stale-while-revalidate']);
|
|
453
|
-
return Math.max(0, age, staleIfErrorAge, staleWhileRevalidateAge) * 1000;
|
|
670
|
+
return Math.round(Math.max(0, age, staleIfErrorAge, staleWhileRevalidateAge) * 1000);
|
|
454
671
|
}
|
|
455
672
|
|
|
673
|
+
/**
|
|
674
|
+
* If true, this cache entry is past its expiration date.
|
|
675
|
+
* Note that stale cache may be useful sometimes, see `evaluateRequest()`.
|
|
676
|
+
* @returns {boolean} `false` doesn't mean it's fresh nor usable
|
|
677
|
+
*/
|
|
456
678
|
stale() {
|
|
457
679
|
return this.maxAge() <= this.age();
|
|
458
680
|
}
|
|
459
681
|
|
|
682
|
+
/**
|
|
683
|
+
* @returns {boolean} `true` if `stale-if-error` condition allows use of a stale response.
|
|
684
|
+
*/
|
|
460
685
|
_useStaleIfError() {
|
|
461
686
|
return this.maxAge() + toNumberOrZero(this._rescc['stale-if-error']) > this.age();
|
|
462
687
|
}
|
|
463
688
|
|
|
689
|
+
/** See `evaluateRequest()` for a more complete solution
|
|
690
|
+
* @returns {boolean} `true` if `stale-while-revalidate` is currently allowed.
|
|
691
|
+
*/
|
|
464
692
|
useStaleWhileRevalidate() {
|
|
465
|
-
|
|
693
|
+
const swr = toNumberOrZero(this._rescc['stale-while-revalidate']);
|
|
694
|
+
return swr > 0 && this.maxAge() + swr > this.age();
|
|
466
695
|
}
|
|
467
696
|
|
|
697
|
+
/**
|
|
698
|
+
* Creates a `CachePolicy` instance from a serialized object.
|
|
699
|
+
* @param {Object} obj - The serialized object.
|
|
700
|
+
* @returns {CachePolicy} A new CachePolicy instance.
|
|
701
|
+
*/
|
|
468
702
|
static fromObject(obj) {
|
|
469
703
|
return new this(undefined, undefined, { _fromObject: obj });
|
|
470
704
|
}
|
|
471
705
|
|
|
706
|
+
/**
|
|
707
|
+
* @param {any} obj - The serialized object.
|
|
708
|
+
* @throws {Error} If already initialized or if the object is invalid.
|
|
709
|
+
*/
|
|
472
710
|
_fromObject(obj) {
|
|
473
711
|
if (this._responseTime) throw Error('Reinitialized');
|
|
474
712
|
if (!obj || obj.v !== 1) throw Error('Invalid serialization');
|
|
@@ -478,6 +716,7 @@ module.exports = class CachePolicy {
|
|
|
478
716
|
this._cacheHeuristic = obj.ch;
|
|
479
717
|
this._immutableMinTtl =
|
|
480
718
|
obj.imm !== undefined ? obj.imm : 24 * 3600 * 1000;
|
|
719
|
+
this._ignoreCargoCult = !!obj.icc;
|
|
481
720
|
this._status = obj.st;
|
|
482
721
|
this._resHeaders = obj.resh;
|
|
483
722
|
this._rescc = obj.rescc;
|
|
@@ -489,6 +728,10 @@ module.exports = class CachePolicy {
|
|
|
489
728
|
this._reqcc = obj.reqcc;
|
|
490
729
|
}
|
|
491
730
|
|
|
731
|
+
/**
|
|
732
|
+
* Serializes the `CachePolicy` instance into a JSON-serializable object.
|
|
733
|
+
* @returns {Object} The serialized object.
|
|
734
|
+
*/
|
|
492
735
|
toObject() {
|
|
493
736
|
return {
|
|
494
737
|
v: 1,
|
|
@@ -496,6 +739,7 @@ module.exports = class CachePolicy {
|
|
|
496
739
|
sh: this._isShared,
|
|
497
740
|
ch: this._cacheHeuristic,
|
|
498
741
|
imm: this._immutableMinTtl,
|
|
742
|
+
icc: this._ignoreCargoCult,
|
|
499
743
|
st: this._status,
|
|
500
744
|
resh: this._resHeaders,
|
|
501
745
|
rescc: this._rescc,
|
|
@@ -514,6 +758,8 @@ module.exports = class CachePolicy {
|
|
|
514
758
|
*
|
|
515
759
|
* Hop by hop headers are always stripped.
|
|
516
760
|
* Revalidation headers may be added or removed, depending on request.
|
|
761
|
+
* @param {HttpRequest} incomingReq - The incoming HTTP request.
|
|
762
|
+
* @returns {Record<string, string>} The headers for the revalidation request.
|
|
517
763
|
*/
|
|
518
764
|
revalidationHeaders(incomingReq) {
|
|
519
765
|
this._assertRequestHasHeaders(incomingReq);
|
|
@@ -578,17 +824,22 @@ module.exports = class CachePolicy {
|
|
|
578
824
|
* Returns {policy, modified} where modified is a boolean indicating
|
|
579
825
|
* whether the response body has been modified, and old cached body can't be used.
|
|
580
826
|
*
|
|
581
|
-
* @
|
|
827
|
+
* @param {HttpRequest} request - The latest HTTP request asking for the cached entry.
|
|
828
|
+
* @param {HttpResponse} response - The latest revalidation HTTP response from the origin server.
|
|
829
|
+
* @returns {{policy: CachePolicy, modified: boolean, matches: boolean}} The updated policy and modification status.
|
|
830
|
+
* @throws {Error} If the response headers are missing.
|
|
582
831
|
*/
|
|
583
832
|
revalidatedPolicy(request, response) {
|
|
584
833
|
this._assertRequestHasHeaders(request);
|
|
585
|
-
|
|
834
|
+
|
|
835
|
+
if (this._useStaleIfError() && isErrorResponse(response)) {
|
|
586
836
|
return {
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
837
|
+
policy: this,
|
|
838
|
+
modified: false,
|
|
839
|
+
matches: true,
|
|
590
840
|
};
|
|
591
841
|
}
|
|
842
|
+
|
|
592
843
|
if (!response || !response.headers) {
|
|
593
844
|
throw Error('Response headers missing');
|
|
594
845
|
}
|
|
@@ -635,9 +886,16 @@ module.exports = class CachePolicy {
|
|
|
635
886
|
}
|
|
636
887
|
}
|
|
637
888
|
|
|
889
|
+
const optionsCopy = {
|
|
890
|
+
shared: this._isShared,
|
|
891
|
+
cacheHeuristic: this._cacheHeuristic,
|
|
892
|
+
immutableMinTimeToLive: this._immutableMinTtl,
|
|
893
|
+
ignoreCargoCult: this._ignoreCargoCult,
|
|
894
|
+
};
|
|
895
|
+
|
|
638
896
|
if (!matches) {
|
|
639
897
|
return {
|
|
640
|
-
policy: new this.constructor(request, response),
|
|
898
|
+
policy: new this.constructor(request, response, optionsCopy),
|
|
641
899
|
// Client receiving 304 without body, even if it's invalid/mismatched has no option
|
|
642
900
|
// but to reuse a cached body. We don't have a good way to tell clients to do
|
|
643
901
|
// error recovery in such case.
|
|
@@ -662,11 +920,7 @@ module.exports = class CachePolicy {
|
|
|
662
920
|
headers,
|
|
663
921
|
});
|
|
664
922
|
return {
|
|
665
|
-
policy: new this.constructor(request, newResponse,
|
|
666
|
-
shared: this._isShared,
|
|
667
|
-
cacheHeuristic: this._cacheHeuristic,
|
|
668
|
-
immutableMinTimeToLive: this._immutableMinTtl,
|
|
669
|
-
}),
|
|
923
|
+
policy: new this.constructor(request, newResponse, optionsCopy),
|
|
670
924
|
modified: false,
|
|
671
925
|
matches: true,
|
|
672
926
|
};
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "http-cache-semantics",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Parses Cache-Control and other headers. Helps building correct HTTP caches and proxies",
|
|
5
|
-
"repository":
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/kornelski/http-cache-semantics.git"
|
|
8
|
+
},
|
|
6
9
|
"main": "index.js",
|
|
10
|
+
"types": "index.js",
|
|
7
11
|
"scripts": {
|
|
8
12
|
"test": "mocha"
|
|
9
13
|
},
|
|
10
14
|
"files": [
|
|
11
15
|
"index.js"
|
|
12
16
|
],
|
|
13
|
-
"author": "Kornel Lesiński <
|
|
17
|
+
"author": "Kornel Lesiński <npms2@geekhood.net> (https://kornel.ski/)",
|
|
14
18
|
"license": "BSD-2-Clause",
|
|
15
19
|
"devDependencies": {
|
|
16
|
-
"mocha": "^
|
|
20
|
+
"mocha": "^11.0"
|
|
17
21
|
}
|
|
18
22
|
}
|
|
@@ -84,7 +84,7 @@ class FormattingElementList {
|
|
|
84
84
|
}
|
|
85
85
|
removeEntry(entry) {
|
|
86
86
|
const entryIndex = this.entries.indexOf(entry);
|
|
87
|
-
if (entryIndex
|
|
87
|
+
if (entryIndex !== -1) {
|
|
88
88
|
this.entries.splice(entryIndex, 1);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
@@ -95,11 +95,11 @@ class FormattingElementList {
|
|
|
95
95
|
*/
|
|
96
96
|
clearToLastMarker() {
|
|
97
97
|
const markerIdx = this.entries.indexOf(MARKER);
|
|
98
|
-
if (markerIdx
|
|
99
|
-
this.entries.
|
|
98
|
+
if (markerIdx === -1) {
|
|
99
|
+
this.entries.length = 0;
|
|
100
100
|
}
|
|
101
101
|
else {
|
|
102
|
-
this.entries.
|
|
102
|
+
this.entries.splice(0, markerIdx + 1);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
//Search
|