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.
Files changed (904) hide show
  1. package/.jsii +4 -4
  2. package/assets/slack-app/provider.lambda/index.js +209 -33
  3. package/assets/slack-textract/detect.lambda/index.js +385 -163
  4. package/assets/ssl-server-test/analyze.lambda/index.js +209 -33
  5. package/lib/codecommit-mirror/index.js +2 -2
  6. package/lib/dmarc/index.js +1 -1
  7. package/lib/ecs-service-roller/index.js +2 -2
  8. package/lib/email-receiver/receiver.js +1 -1
  9. package/lib/mjml-template/index.js +1 -1
  10. package/lib/saml-identity-provider/index.js +2 -2
  11. package/lib/slack-app/manifest.js +1 -1
  12. package/lib/slack-app/slack-app.js +2 -2
  13. package/lib/slack-events/index.js +1 -1
  14. package/lib/slack-textract/index.js +1 -1
  15. package/lib/ssl-server-test/index.js +2 -2
  16. package/lib/state-machine-cr-provider/index.js +4 -4
  17. package/lib/static-website/index.js +1 -1
  18. package/lib/toolkit-cleaner/index.js +1 -1
  19. package/lib/url-shortener/index.js +1 -1
  20. package/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +19 -24
  21. package/node_modules/@babel/runtime/helpers/esm/regenerator.js +89 -0
  22. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +8 -0
  23. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +6 -0
  24. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +33 -0
  25. package/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +24 -0
  26. package/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +10 -0
  27. package/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +66 -293
  28. package/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +19 -0
  29. package/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +19 -24
  30. package/node_modules/@babel/runtime/helpers/regenerator.js +89 -0
  31. package/node_modules/@babel/runtime/helpers/regeneratorAsync.js +8 -0
  32. package/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +6 -0
  33. package/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +33 -0
  34. package/node_modules/@babel/runtime/helpers/regeneratorDefine.js +24 -0
  35. package/node_modules/@babel/runtime/helpers/regeneratorKeys.js +10 -0
  36. package/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +66 -293
  37. package/node_modules/@babel/runtime/helpers/regeneratorValues.js +19 -0
  38. package/node_modules/@babel/runtime/package.json +52 -10
  39. package/node_modules/@slack/logger/node_modules/@types/node/README.md +2 -2
  40. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +15 -54
  41. package/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +90 -8
  42. package/node_modules/@slack/logger/node_modules/@types/node/buffer.buffer.d.ts +3 -0
  43. package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +3 -4
  44. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +2 -2
  45. package/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +16 -16
  46. package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +17 -17
  47. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +43 -37
  48. package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +1 -1
  49. package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +38 -14
  50. package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +16 -16
  51. package/node_modules/@slack/logger/node_modules/@types/node/dom-events.d.ts +60 -85
  52. package/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +1 -1
  53. package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +1 -2
  54. package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +40 -35
  55. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +122 -29
  56. package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +143 -287
  57. package/node_modules/@slack/logger/node_modules/@types/node/globals.typedarray.d.ts +1 -0
  58. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +28 -3
  59. package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +78 -8
  60. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +1 -1
  61. package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +7 -5
  62. package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +39 -7
  63. package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +102 -27
  64. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +17 -14
  65. package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +8 -7
  66. package/node_modules/@slack/logger/node_modules/@types/node/package.json +18 -3
  67. package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +1 -1
  68. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +10 -10
  69. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +43 -11
  70. package/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +1 -1
  71. package/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +3 -4
  72. package/node_modules/@slack/logger/node_modules/@types/node/readline/promises.d.ts +0 -1
  73. package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +19 -14
  74. package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +14 -16
  75. package/node_modules/@slack/logger/node_modules/@types/node/sea.d.ts +1 -1
  76. package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +217 -14
  77. package/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +3 -3
  78. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +13 -18
  79. package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +1 -1
  80. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +107 -21
  81. package/node_modules/@slack/logger/node_modules/@types/node/timers/promises.d.ts +1 -1
  82. package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +1 -1
  83. package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +36 -49
  84. package/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +6 -6
  85. package/node_modules/@slack/logger/node_modules/@types/node/{compatibility → ts5.1/compatibility}/disposable.d.ts +0 -4
  86. package/node_modules/@slack/logger/node_modules/@types/node/ts5.1/index.d.ts +98 -0
  87. package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +3 -0
  88. package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  89. package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +1 -0
  90. package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/index.d.ts +9 -5
  91. package/node_modules/@slack/logger/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  92. package/node_modules/@slack/logger/node_modules/@types/node/ts5.7/index.d.ts +96 -0
  93. package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +1 -1
  94. package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +61 -19
  95. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +234 -381
  96. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +110 -32
  97. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +73 -13
  98. package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +1 -1
  99. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +55 -26
  100. package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +170 -41
  101. package/node_modules/@slack/logger/node_modules/undici-types/agent.d.ts +7 -7
  102. package/node_modules/@slack/logger/node_modules/undici-types/api.d.ts +24 -24
  103. package/node_modules/@slack/logger/node_modules/undici-types/balanced-pool.d.ts +11 -11
  104. package/node_modules/@slack/logger/node_modules/undici-types/cache-interceptor.d.ts +172 -0
  105. package/node_modules/@slack/logger/node_modules/undici-types/client.d.ts +12 -13
  106. package/node_modules/@slack/logger/node_modules/undici-types/cookies.d.ts +2 -0
  107. package/node_modules/@slack/logger/node_modules/undici-types/diagnostics-channel.d.ts +10 -10
  108. package/node_modules/@slack/logger/node_modules/undici-types/dispatcher.d.ts +117 -92
  109. package/node_modules/@slack/logger/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -2
  110. package/node_modules/@slack/logger/node_modules/undici-types/errors.d.ts +69 -47
  111. package/node_modules/@slack/logger/node_modules/undici-types/fetch.d.ts +17 -16
  112. package/node_modules/@slack/logger/node_modules/undici-types/formdata.d.ts +7 -7
  113. package/node_modules/@slack/logger/node_modules/undici-types/global-dispatcher.d.ts +4 -4
  114. package/node_modules/@slack/logger/node_modules/undici-types/global-origin.d.ts +5 -5
  115. package/node_modules/@slack/logger/node_modules/undici-types/h2c-client.d.ts +75 -0
  116. package/node_modules/@slack/logger/node_modules/undici-types/handlers.d.ts +7 -7
  117. package/node_modules/@slack/logger/node_modules/undici-types/header.d.ts +157 -1
  118. package/node_modules/@slack/logger/node_modules/undici-types/index.d.ts +51 -47
  119. package/node_modules/@slack/logger/node_modules/undici-types/interceptors.d.ts +25 -8
  120. package/node_modules/@slack/logger/node_modules/undici-types/mock-agent.d.ts +33 -18
  121. package/node_modules/@slack/logger/node_modules/undici-types/mock-call-history.d.ts +111 -0
  122. package/node_modules/@slack/logger/node_modules/undici-types/mock-client.d.ts +4 -4
  123. package/node_modules/@slack/logger/node_modules/undici-types/mock-errors.d.ts +3 -3
  124. package/node_modules/@slack/logger/node_modules/undici-types/mock-interceptor.d.ts +19 -19
  125. package/node_modules/@slack/logger/node_modules/undici-types/mock-pool.d.ts +4 -4
  126. package/node_modules/@slack/logger/node_modules/undici-types/package.json +1 -1
  127. package/node_modules/@slack/logger/node_modules/undici-types/patch.d.ts +0 -4
  128. package/node_modules/@slack/logger/node_modules/undici-types/pool-stats.d.ts +8 -8
  129. package/node_modules/@slack/logger/node_modules/undici-types/pool.d.ts +12 -12
  130. package/node_modules/@slack/logger/node_modules/undici-types/proxy-agent.d.ts +4 -4
  131. package/node_modules/@slack/logger/node_modules/undici-types/readable.d.ts +18 -15
  132. package/node_modules/@slack/logger/node_modules/undici-types/retry-agent.d.ts +1 -1
  133. package/node_modules/@slack/logger/node_modules/undici-types/retry-handler.d.ts +10 -10
  134. package/node_modules/@slack/logger/node_modules/undici-types/util.d.ts +3 -3
  135. package/node_modules/@slack/logger/node_modules/undici-types/utility.d.ts +7 -0
  136. package/node_modules/@slack/logger/node_modules/undici-types/webidl.d.ts +44 -6
  137. package/node_modules/@slack/logger/node_modules/undici-types/websocket.d.ts +35 -1
  138. package/node_modules/@slack/web-api/dist/WebClient.d.ts +0 -2
  139. package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
  140. package/node_modules/@slack/web-api/dist/WebClient.js +28 -15
  141. package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
  142. package/node_modules/@slack/web-api/dist/errors.d.ts +0 -2
  143. package/node_modules/@slack/web-api/dist/errors.d.ts.map +1 -1
  144. package/node_modules/@slack/web-api/dist/errors.js +6 -6
  145. package/node_modules/@slack/web-api/dist/errors.js.map +1 -1
  146. package/node_modules/@slack/web-api/dist/file-upload.d.ts +1 -4
  147. package/node_modules/@slack/web-api/dist/file-upload.d.ts.map +1 -1
  148. package/node_modules/@slack/web-api/dist/file-upload.js +43 -38
  149. package/node_modules/@slack/web-api/dist/file-upload.js.map +1 -1
  150. package/node_modules/@slack/web-api/dist/helpers.js +1 -1
  151. package/node_modules/@slack/web-api/dist/helpers.js.map +1 -1
  152. package/node_modules/@slack/web-api/dist/index.d.ts +0 -1
  153. package/node_modules/@slack/web-api/dist/index.d.ts.map +1 -1
  154. package/node_modules/@slack/web-api/dist/instrument.js +19 -10
  155. package/node_modules/@slack/web-api/dist/instrument.js.map +1 -1
  156. package/node_modules/@slack/web-api/dist/logger.js +2 -2
  157. package/node_modules/@slack/web-api/dist/logger.js.map +1 -1
  158. package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts +2 -0
  159. package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts.map +1 -1
  160. package/node_modules/@slack/web-api/dist/types/request/files.d.ts +18 -5
  161. package/node_modules/@slack/web-api/dist/types/request/files.d.ts.map +1 -1
  162. package/node_modules/@slack/web-api/dist/types/request/users.d.ts +0 -3
  163. package/node_modules/@slack/web-api/dist/types/request/users.d.ts.map +1 -1
  164. package/node_modules/@slack/web-api/dist/types/response/AdminConversationsSearchResponse.d.ts +1 -0
  165. package/node_modules/@slack/web-api/dist/types/response/AdminConversationsSearchResponse.d.ts.map +1 -1
  166. package/node_modules/@slack/web-api/dist/types/response/AdminFunctionsPermissionsLookupResponse.d.ts +3 -0
  167. package/node_modules/@slack/web-api/dist/types/response/AdminFunctionsPermissionsLookupResponse.d.ts.map +1 -1
  168. package/node_modules/@slack/web-api/dist/types/response/AppsManifestCreateResponse.d.ts +2 -0
  169. package/node_modules/@slack/web-api/dist/types/response/AppsManifestCreateResponse.d.ts.map +1 -1
  170. package/node_modules/@slack/web-api/dist/types/response/ChatPostMessageResponse.d.ts +64 -12
  171. package/node_modules/@slack/web-api/dist/types/response/ChatPostMessageResponse.d.ts.map +1 -1
  172. package/node_modules/@slack/web-api/dist/types/response/ChatPostMessageResponse.js +27 -8
  173. package/node_modules/@slack/web-api/dist/types/response/ChatPostMessageResponse.js.map +1 -1
  174. package/node_modules/@slack/web-api/dist/types/response/ChatScheduleMessageResponse.d.ts +35 -5
  175. package/node_modules/@slack/web-api/dist/types/response/ChatScheduleMessageResponse.d.ts.map +1 -1
  176. package/node_modules/@slack/web-api/dist/types/response/ChatScheduleMessageResponse.js.map +1 -1
  177. package/node_modules/@slack/web-api/dist/types/response/ChatUpdateResponse.d.ts +35 -5
  178. package/node_modules/@slack/web-api/dist/types/response/ChatUpdateResponse.d.ts.map +1 -1
  179. package/node_modules/@slack/web-api/dist/types/response/ChatUpdateResponse.js.map +1 -1
  180. package/node_modules/@slack/web-api/dist/types/response/ConversationsHistoryResponse.d.ts +65 -12
  181. package/node_modules/@slack/web-api/dist/types/response/ConversationsHistoryResponse.d.ts.map +1 -1
  182. package/node_modules/@slack/web-api/dist/types/response/ConversationsHistoryResponse.js +27 -8
  183. package/node_modules/@slack/web-api/dist/types/response/ConversationsHistoryResponse.js.map +1 -1
  184. package/node_modules/@slack/web-api/dist/types/response/ConversationsJoinResponse.d.ts +1 -0
  185. package/node_modules/@slack/web-api/dist/types/response/ConversationsJoinResponse.d.ts.map +1 -1
  186. package/node_modules/@slack/web-api/dist/types/response/ConversationsKickResponse.d.ts +2 -0
  187. package/node_modules/@slack/web-api/dist/types/response/ConversationsKickResponse.d.ts.map +1 -1
  188. package/node_modules/@slack/web-api/dist/types/response/ConversationsListResponse.d.ts +1 -0
  189. package/node_modules/@slack/web-api/dist/types/response/ConversationsListResponse.d.ts.map +1 -1
  190. package/node_modules/@slack/web-api/dist/types/response/ConversationsOpenResponse.d.ts +26 -5
  191. package/node_modules/@slack/web-api/dist/types/response/ConversationsOpenResponse.d.ts.map +1 -1
  192. package/node_modules/@slack/web-api/dist/types/response/ConversationsOpenResponse.js.map +1 -1
  193. package/node_modules/@slack/web-api/dist/types/response/ConversationsRepliesResponse.d.ts +64 -12
  194. package/node_modules/@slack/web-api/dist/types/response/ConversationsRepliesResponse.d.ts.map +1 -1
  195. package/node_modules/@slack/web-api/dist/types/response/ConversationsRepliesResponse.js +27 -8
  196. package/node_modules/@slack/web-api/dist/types/response/ConversationsRepliesResponse.js.map +1 -1
  197. package/node_modules/@slack/web-api/dist/types/response/FilesCompleteUploadExternalResponse.d.ts +1 -0
  198. package/node_modules/@slack/web-api/dist/types/response/FilesCompleteUploadExternalResponse.d.ts.map +1 -1
  199. package/node_modules/@slack/web-api/dist/types/response/FilesInfoResponse.d.ts +134 -108
  200. package/node_modules/@slack/web-api/dist/types/response/FilesInfoResponse.d.ts.map +1 -1
  201. package/node_modules/@slack/web-api/dist/types/response/FilesInfoResponse.js +21 -14
  202. package/node_modules/@slack/web-api/dist/types/response/FilesInfoResponse.js.map +1 -1
  203. package/node_modules/@slack/web-api/dist/types/response/FilesListResponse.d.ts +134 -108
  204. package/node_modules/@slack/web-api/dist/types/response/FilesListResponse.d.ts.map +1 -1
  205. package/node_modules/@slack/web-api/dist/types/response/FilesListResponse.js +21 -14
  206. package/node_modules/@slack/web-api/dist/types/response/FilesListResponse.js.map +1 -1
  207. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteAddResponse.d.ts +134 -108
  208. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteAddResponse.d.ts.map +1 -1
  209. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteAddResponse.js +21 -14
  210. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteAddResponse.js.map +1 -1
  211. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteInfoResponse.d.ts +134 -108
  212. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteInfoResponse.d.ts.map +1 -1
  213. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteInfoResponse.js +21 -14
  214. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteInfoResponse.js.map +1 -1
  215. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteListResponse.d.ts +134 -108
  216. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteListResponse.d.ts.map +1 -1
  217. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteListResponse.js +21 -14
  218. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteListResponse.js.map +1 -1
  219. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteShareResponse.d.ts +134 -108
  220. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteShareResponse.d.ts.map +1 -1
  221. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteShareResponse.js +21 -14
  222. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteShareResponse.js.map +1 -1
  223. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteUpdateResponse.d.ts +134 -108
  224. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteUpdateResponse.d.ts.map +1 -1
  225. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteUpdateResponse.js +21 -14
  226. package/node_modules/@slack/web-api/dist/types/response/FilesRemoteUpdateResponse.js.map +1 -1
  227. package/node_modules/@slack/web-api/dist/types/response/FilesRevokePublicURLResponse.d.ts +134 -108
  228. package/node_modules/@slack/web-api/dist/types/response/FilesRevokePublicURLResponse.d.ts.map +1 -1
  229. package/node_modules/@slack/web-api/dist/types/response/FilesRevokePublicURLResponse.js +21 -14
  230. package/node_modules/@slack/web-api/dist/types/response/FilesRevokePublicURLResponse.js.map +1 -1
  231. package/node_modules/@slack/web-api/dist/types/response/FilesSharedPublicURLResponse.d.ts +134 -108
  232. package/node_modules/@slack/web-api/dist/types/response/FilesSharedPublicURLResponse.d.ts.map +1 -1
  233. package/node_modules/@slack/web-api/dist/types/response/FilesSharedPublicURLResponse.js +21 -14
  234. package/node_modules/@slack/web-api/dist/types/response/FilesSharedPublicURLResponse.js.map +1 -1
  235. package/node_modules/@slack/web-api/dist/types/response/FilesUploadResponse.d.ts +134 -108
  236. package/node_modules/@slack/web-api/dist/types/response/FilesUploadResponse.d.ts.map +1 -1
  237. package/node_modules/@slack/web-api/dist/types/response/FilesUploadResponse.js +21 -14
  238. package/node_modules/@slack/web-api/dist/types/response/FilesUploadResponse.js.map +1 -1
  239. package/node_modules/@slack/web-api/dist/types/response/PinsListResponse.d.ts +134 -108
  240. package/node_modules/@slack/web-api/dist/types/response/PinsListResponse.d.ts.map +1 -1
  241. package/node_modules/@slack/web-api/dist/types/response/PinsListResponse.js +21 -14
  242. package/node_modules/@slack/web-api/dist/types/response/PinsListResponse.js.map +1 -1
  243. package/node_modules/@slack/web-api/dist/types/response/ReactionsGetResponse.d.ts +35 -5
  244. package/node_modules/@slack/web-api/dist/types/response/ReactionsGetResponse.d.ts.map +1 -1
  245. package/node_modules/@slack/web-api/dist/types/response/ReactionsGetResponse.js.map +1 -1
  246. package/node_modules/@slack/web-api/dist/types/response/ReactionsListResponse.d.ts +64 -12
  247. package/node_modules/@slack/web-api/dist/types/response/ReactionsListResponse.d.ts.map +1 -1
  248. package/node_modules/@slack/web-api/dist/types/response/ReactionsListResponse.js +27 -8
  249. package/node_modules/@slack/web-api/dist/types/response/ReactionsListResponse.js.map +1 -1
  250. package/node_modules/@slack/web-api/dist/types/response/RtmStartResponse.d.ts +35 -2
  251. package/node_modules/@slack/web-api/dist/types/response/RtmStartResponse.d.ts.map +1 -1
  252. package/node_modules/@slack/web-api/dist/types/response/RtmStartResponse.js.map +1 -1
  253. package/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.d.ts +42 -7
  254. package/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.d.ts.map +1 -1
  255. package/node_modules/@slack/web-api/dist/types/response/SearchAllResponse.js.map +1 -1
  256. package/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.d.ts +37 -2
  257. package/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.d.ts.map +1 -1
  258. package/node_modules/@slack/web-api/dist/types/response/SearchFilesResponse.js.map +1 -1
  259. package/node_modules/@slack/web-api/dist/types/response/SearchMessagesResponse.d.ts +35 -2
  260. package/node_modules/@slack/web-api/dist/types/response/SearchMessagesResponse.d.ts.map +1 -1
  261. package/node_modules/@slack/web-api/dist/types/response/SearchMessagesResponse.js.map +1 -1
  262. package/node_modules/@slack/web-api/dist/types/response/UsergroupsCreateResponse.d.ts +1 -0
  263. package/node_modules/@slack/web-api/dist/types/response/UsergroupsCreateResponse.d.ts.map +1 -1
  264. package/node_modules/@slack/web-api/dist/types/response/UsergroupsDisableResponse.d.ts +1 -0
  265. package/node_modules/@slack/web-api/dist/types/response/UsergroupsDisableResponse.d.ts.map +1 -1
  266. package/node_modules/@slack/web-api/dist/types/response/UsergroupsEnableResponse.d.ts +1 -0
  267. package/node_modules/@slack/web-api/dist/types/response/UsergroupsEnableResponse.d.ts.map +1 -1
  268. package/node_modules/@slack/web-api/dist/types/response/UsergroupsListResponse.d.ts +1 -0
  269. package/node_modules/@slack/web-api/dist/types/response/UsergroupsListResponse.d.ts.map +1 -1
  270. package/node_modules/@slack/web-api/dist/types/response/UsergroupsUpdateResponse.d.ts +1 -0
  271. package/node_modules/@slack/web-api/dist/types/response/UsergroupsUpdateResponse.d.ts.map +1 -1
  272. package/node_modules/@slack/web-api/dist/types/response/UsergroupsUsersUpdateResponse.d.ts +1 -0
  273. package/node_modules/@slack/web-api/dist/types/response/UsergroupsUsersUpdateResponse.d.ts.map +1 -1
  274. package/node_modules/@slack/web-api/dist/types/response/UsersConversationsResponse.d.ts +1 -0
  275. package/node_modules/@slack/web-api/dist/types/response/UsersConversationsResponse.d.ts.map +1 -1
  276. package/node_modules/@slack/web-api/dist/types/response/UsersInfoResponse.d.ts +1 -0
  277. package/node_modules/@slack/web-api/dist/types/response/UsersInfoResponse.d.ts.map +1 -1
  278. package/node_modules/@slack/web-api/dist/types/response/ViewsOpenResponse.d.ts +1 -0
  279. package/node_modules/@slack/web-api/dist/types/response/ViewsOpenResponse.d.ts.map +1 -1
  280. package/node_modules/@slack/web-api/dist/types/response/ViewsOpenResponse.js.map +1 -1
  281. package/node_modules/@slack/web-api/dist/types/response/ViewsPublishResponse.d.ts +1 -0
  282. package/node_modules/@slack/web-api/dist/types/response/ViewsPublishResponse.d.ts.map +1 -1
  283. package/node_modules/@slack/web-api/dist/types/response/ViewsPublishResponse.js.map +1 -1
  284. package/node_modules/@slack/web-api/dist/types/response/ViewsPushResponse.d.ts +1 -0
  285. package/node_modules/@slack/web-api/dist/types/response/ViewsPushResponse.d.ts.map +1 -1
  286. package/node_modules/@slack/web-api/dist/types/response/ViewsPushResponse.js.map +1 -1
  287. package/node_modules/@slack/web-api/dist/types/response/ViewsUpdateResponse.d.ts +1 -0
  288. package/node_modules/@slack/web-api/dist/types/response/ViewsUpdateResponse.d.ts.map +1 -1
  289. package/node_modules/@slack/web-api/dist/types/response/ViewsUpdateResponse.js.map +1 -1
  290. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +2 -2
  291. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +15 -54
  292. package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +90 -8
  293. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.buffer.d.ts +3 -0
  294. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +3 -4
  295. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +2 -2
  296. package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +16 -16
  297. package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +17 -17
  298. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +43 -37
  299. package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +1 -1
  300. package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +38 -14
  301. package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +16 -16
  302. package/node_modules/@slack/web-api/node_modules/@types/node/dom-events.d.ts +60 -85
  303. package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +1 -1
  304. package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +1 -2
  305. package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +40 -35
  306. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +122 -29
  307. package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +143 -287
  308. package/node_modules/@slack/web-api/node_modules/@types/node/globals.typedarray.d.ts +1 -0
  309. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +28 -3
  310. package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +78 -8
  311. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +1 -1
  312. package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +7 -5
  313. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +39 -7
  314. package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +102 -27
  315. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +17 -14
  316. package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +8 -7
  317. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +18 -3
  318. package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +1 -1
  319. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +10 -10
  320. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +43 -11
  321. package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +1 -1
  322. package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +3 -4
  323. package/node_modules/@slack/web-api/node_modules/@types/node/readline/promises.d.ts +0 -1
  324. package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +19 -14
  325. package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +14 -16
  326. package/node_modules/@slack/web-api/node_modules/@types/node/sea.d.ts +1 -1
  327. package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +217 -14
  328. package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +3 -3
  329. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +13 -18
  330. package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +1 -1
  331. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +107 -21
  332. package/node_modules/@slack/web-api/node_modules/@types/node/timers/promises.d.ts +1 -1
  333. package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +1 -1
  334. package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +36 -49
  335. package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +6 -6
  336. package/node_modules/@slack/web-api/node_modules/@types/node/{compatibility → ts5.1/compatibility}/disposable.d.ts +0 -4
  337. package/node_modules/@slack/web-api/node_modules/@types/node/ts5.1/index.d.ts +98 -0
  338. package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +3 -0
  339. package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  340. package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +1 -0
  341. package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/index.d.ts +9 -5
  342. package/node_modules/@slack/web-api/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  343. package/node_modules/@slack/web-api/node_modules/@types/node/ts5.7/index.d.ts +96 -0
  344. package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +1 -1
  345. package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +61 -19
  346. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +234 -381
  347. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +110 -32
  348. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +73 -13
  349. package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +1 -1
  350. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +55 -26
  351. package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +170 -41
  352. package/node_modules/@slack/web-api/node_modules/undici-types/agent.d.ts +7 -7
  353. package/node_modules/@slack/web-api/node_modules/undici-types/api.d.ts +24 -24
  354. package/node_modules/@slack/web-api/node_modules/undici-types/balanced-pool.d.ts +11 -11
  355. package/node_modules/@slack/web-api/node_modules/undici-types/cache-interceptor.d.ts +172 -0
  356. package/node_modules/@slack/web-api/node_modules/undici-types/client.d.ts +12 -13
  357. package/node_modules/@slack/web-api/node_modules/undici-types/cookies.d.ts +2 -0
  358. package/node_modules/@slack/web-api/node_modules/undici-types/diagnostics-channel.d.ts +10 -10
  359. package/node_modules/@slack/web-api/node_modules/undici-types/dispatcher.d.ts +117 -92
  360. package/node_modules/@slack/web-api/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -2
  361. package/node_modules/@slack/web-api/node_modules/undici-types/errors.d.ts +69 -47
  362. package/node_modules/@slack/web-api/node_modules/undici-types/fetch.d.ts +17 -16
  363. package/node_modules/@slack/web-api/node_modules/undici-types/formdata.d.ts +7 -7
  364. package/node_modules/@slack/web-api/node_modules/undici-types/global-dispatcher.d.ts +4 -4
  365. package/node_modules/@slack/web-api/node_modules/undici-types/global-origin.d.ts +5 -5
  366. package/node_modules/@slack/web-api/node_modules/undici-types/h2c-client.d.ts +75 -0
  367. package/node_modules/@slack/web-api/node_modules/undici-types/handlers.d.ts +7 -7
  368. package/node_modules/@slack/web-api/node_modules/undici-types/header.d.ts +157 -1
  369. package/node_modules/@slack/web-api/node_modules/undici-types/index.d.ts +51 -47
  370. package/node_modules/@slack/web-api/node_modules/undici-types/interceptors.d.ts +25 -8
  371. package/node_modules/@slack/web-api/node_modules/undici-types/mock-agent.d.ts +33 -18
  372. package/node_modules/@slack/web-api/node_modules/undici-types/mock-call-history.d.ts +111 -0
  373. package/node_modules/@slack/web-api/node_modules/undici-types/mock-client.d.ts +4 -4
  374. package/node_modules/@slack/web-api/node_modules/undici-types/mock-errors.d.ts +3 -3
  375. package/node_modules/@slack/web-api/node_modules/undici-types/mock-interceptor.d.ts +19 -19
  376. package/node_modules/@slack/web-api/node_modules/undici-types/mock-pool.d.ts +4 -4
  377. package/node_modules/@slack/web-api/node_modules/undici-types/package.json +1 -1
  378. package/node_modules/@slack/web-api/node_modules/undici-types/patch.d.ts +0 -4
  379. package/node_modules/@slack/web-api/node_modules/undici-types/pool-stats.d.ts +8 -8
  380. package/node_modules/@slack/web-api/node_modules/undici-types/pool.d.ts +12 -12
  381. package/node_modules/@slack/web-api/node_modules/undici-types/proxy-agent.d.ts +4 -4
  382. package/node_modules/@slack/web-api/node_modules/undici-types/readable.d.ts +18 -15
  383. package/node_modules/@slack/web-api/node_modules/undici-types/retry-agent.d.ts +1 -1
  384. package/node_modules/@slack/web-api/node_modules/undici-types/retry-handler.d.ts +10 -10
  385. package/node_modules/@slack/web-api/node_modules/undici-types/util.d.ts +3 -3
  386. package/node_modules/@slack/web-api/node_modules/undici-types/utility.d.ts +7 -0
  387. package/node_modules/@slack/web-api/node_modules/undici-types/webidl.d.ts +44 -6
  388. package/node_modules/@slack/web-api/node_modules/undici-types/websocket.d.ts +35 -1
  389. package/node_modules/@slack/web-api/package.json +5 -5
  390. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +2 -2
  391. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +15 -54
  392. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +90 -8
  393. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.buffer.d.ts +3 -0
  394. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +3 -4
  395. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +2 -2
  396. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +16 -16
  397. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +17 -17
  398. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +43 -37
  399. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +1 -1
  400. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +38 -14
  401. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +16 -16
  402. package/node_modules/@types/cacheable-request/node_modules/@types/node/dom-events.d.ts +60 -85
  403. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +1 -1
  404. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +1 -2
  405. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +40 -35
  406. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +122 -29
  407. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +143 -287
  408. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.typedarray.d.ts +1 -0
  409. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +28 -3
  410. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +78 -8
  411. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +1 -1
  412. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +7 -5
  413. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +39 -7
  414. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +102 -27
  415. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +17 -14
  416. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +8 -7
  417. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +18 -3
  418. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +1 -1
  419. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +10 -10
  420. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +43 -11
  421. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +1 -1
  422. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +3 -4
  423. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline/promises.d.ts +0 -1
  424. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +19 -14
  425. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +14 -16
  426. package/node_modules/@types/cacheable-request/node_modules/@types/node/sea.d.ts +1 -1
  427. package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +217 -14
  428. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +3 -3
  429. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +13 -18
  430. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +1 -1
  431. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +107 -21
  432. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +1 -1
  433. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +1 -1
  434. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +36 -49
  435. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +6 -6
  436. package/node_modules/@types/cacheable-request/node_modules/@types/node/{compatibility → ts5.1/compatibility}/disposable.d.ts +0 -4
  437. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.1/index.d.ts +98 -0
  438. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +3 -0
  439. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  440. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +1 -0
  441. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/index.d.ts +9 -5
  442. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  443. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.7/index.d.ts +96 -0
  444. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +1 -1
  445. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +61 -19
  446. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +234 -381
  447. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +110 -32
  448. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +73 -13
  449. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +1 -1
  450. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +55 -26
  451. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +170 -41
  452. package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +7 -7
  453. package/node_modules/@types/cacheable-request/node_modules/undici-types/api.d.ts +24 -24
  454. package/node_modules/@types/cacheable-request/node_modules/undici-types/balanced-pool.d.ts +11 -11
  455. package/node_modules/@types/cacheable-request/node_modules/undici-types/cache-interceptor.d.ts +172 -0
  456. package/node_modules/@types/cacheable-request/node_modules/undici-types/client.d.ts +12 -13
  457. package/node_modules/@types/cacheable-request/node_modules/undici-types/cookies.d.ts +2 -0
  458. package/node_modules/@types/cacheable-request/node_modules/undici-types/diagnostics-channel.d.ts +10 -10
  459. package/node_modules/@types/cacheable-request/node_modules/undici-types/dispatcher.d.ts +117 -92
  460. package/node_modules/@types/cacheable-request/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -2
  461. package/node_modules/@types/cacheable-request/node_modules/undici-types/errors.d.ts +69 -47
  462. package/node_modules/@types/cacheable-request/node_modules/undici-types/fetch.d.ts +17 -16
  463. package/node_modules/@types/cacheable-request/node_modules/undici-types/formdata.d.ts +7 -7
  464. package/node_modules/@types/cacheable-request/node_modules/undici-types/global-dispatcher.d.ts +4 -4
  465. package/node_modules/@types/cacheable-request/node_modules/undici-types/global-origin.d.ts +5 -5
  466. package/node_modules/@types/cacheable-request/node_modules/undici-types/h2c-client.d.ts +75 -0
  467. package/node_modules/@types/cacheable-request/node_modules/undici-types/handlers.d.ts +7 -7
  468. package/node_modules/@types/cacheable-request/node_modules/undici-types/header.d.ts +157 -1
  469. package/node_modules/@types/cacheable-request/node_modules/undici-types/index.d.ts +51 -47
  470. package/node_modules/@types/cacheable-request/node_modules/undici-types/interceptors.d.ts +25 -8
  471. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-agent.d.ts +33 -18
  472. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-call-history.d.ts +111 -0
  473. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-client.d.ts +4 -4
  474. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-errors.d.ts +3 -3
  475. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-interceptor.d.ts +19 -19
  476. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-pool.d.ts +4 -4
  477. package/node_modules/@types/cacheable-request/node_modules/undici-types/package.json +1 -1
  478. package/node_modules/@types/cacheable-request/node_modules/undici-types/patch.d.ts +0 -4
  479. package/node_modules/@types/cacheable-request/node_modules/undici-types/pool-stats.d.ts +8 -8
  480. package/node_modules/@types/cacheable-request/node_modules/undici-types/pool.d.ts +12 -12
  481. package/node_modules/@types/cacheable-request/node_modules/undici-types/proxy-agent.d.ts +4 -4
  482. package/node_modules/@types/cacheable-request/node_modules/undici-types/readable.d.ts +18 -15
  483. package/node_modules/@types/cacheable-request/node_modules/undici-types/retry-agent.d.ts +1 -1
  484. package/node_modules/@types/cacheable-request/node_modules/undici-types/retry-handler.d.ts +10 -10
  485. package/node_modules/@types/cacheable-request/node_modules/undici-types/util.d.ts +3 -3
  486. package/node_modules/@types/cacheable-request/node_modules/undici-types/utility.d.ts +7 -0
  487. package/node_modules/@types/cacheable-request/node_modules/undici-types/webidl.d.ts +44 -6
  488. package/node_modules/@types/cacheable-request/node_modules/undici-types/websocket.d.ts +35 -1
  489. package/node_modules/@types/keyv/node_modules/@types/node/README.md +2 -2
  490. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +15 -54
  491. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +90 -8
  492. package/node_modules/@types/keyv/node_modules/@types/node/buffer.buffer.d.ts +3 -0
  493. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +3 -4
  494. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +2 -2
  495. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +16 -16
  496. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +17 -17
  497. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +43 -37
  498. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +1 -1
  499. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +38 -14
  500. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +16 -16
  501. package/node_modules/@types/keyv/node_modules/@types/node/dom-events.d.ts +60 -85
  502. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +1 -1
  503. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +1 -2
  504. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +40 -35
  505. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +122 -29
  506. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +143 -287
  507. package/node_modules/@types/keyv/node_modules/@types/node/globals.typedarray.d.ts +1 -0
  508. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +28 -3
  509. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +78 -8
  510. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +1 -1
  511. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +7 -5
  512. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +39 -7
  513. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +102 -27
  514. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +17 -14
  515. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +8 -7
  516. package/node_modules/@types/keyv/node_modules/@types/node/package.json +18 -3
  517. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +1 -1
  518. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +10 -10
  519. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +43 -11
  520. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +1 -1
  521. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +3 -4
  522. package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +0 -1
  523. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +19 -14
  524. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +14 -16
  525. package/node_modules/@types/keyv/node_modules/@types/node/sea.d.ts +1 -1
  526. package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +217 -14
  527. package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +3 -3
  528. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +13 -18
  529. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +1 -1
  530. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +107 -21
  531. package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +1 -1
  532. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +1 -1
  533. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +36 -49
  534. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +6 -6
  535. package/node_modules/@types/keyv/node_modules/@types/node/{compatibility → ts5.1/compatibility}/disposable.d.ts +0 -4
  536. package/node_modules/@types/keyv/node_modules/@types/node/ts5.1/index.d.ts +98 -0
  537. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +3 -0
  538. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  539. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +1 -0
  540. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/index.d.ts +9 -5
  541. package/node_modules/@types/keyv/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  542. package/node_modules/@types/keyv/node_modules/@types/node/ts5.7/index.d.ts +96 -0
  543. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +1 -1
  544. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +61 -19
  545. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +234 -381
  546. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +110 -32
  547. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +73 -13
  548. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +1 -1
  549. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +55 -26
  550. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +170 -41
  551. package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +7 -7
  552. package/node_modules/@types/keyv/node_modules/undici-types/api.d.ts +24 -24
  553. package/node_modules/@types/keyv/node_modules/undici-types/balanced-pool.d.ts +11 -11
  554. package/node_modules/@types/keyv/node_modules/undici-types/cache-interceptor.d.ts +172 -0
  555. package/node_modules/@types/keyv/node_modules/undici-types/client.d.ts +12 -13
  556. package/node_modules/@types/keyv/node_modules/undici-types/cookies.d.ts +2 -0
  557. package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +10 -10
  558. package/node_modules/@types/keyv/node_modules/undici-types/dispatcher.d.ts +117 -92
  559. package/node_modules/@types/keyv/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -2
  560. package/node_modules/@types/keyv/node_modules/undici-types/errors.d.ts +69 -47
  561. package/node_modules/@types/keyv/node_modules/undici-types/fetch.d.ts +17 -16
  562. package/node_modules/@types/keyv/node_modules/undici-types/formdata.d.ts +7 -7
  563. package/node_modules/@types/keyv/node_modules/undici-types/global-dispatcher.d.ts +4 -4
  564. package/node_modules/@types/keyv/node_modules/undici-types/global-origin.d.ts +5 -5
  565. package/node_modules/@types/keyv/node_modules/undici-types/h2c-client.d.ts +75 -0
  566. package/node_modules/@types/keyv/node_modules/undici-types/handlers.d.ts +7 -7
  567. package/node_modules/@types/keyv/node_modules/undici-types/header.d.ts +157 -1
  568. package/node_modules/@types/keyv/node_modules/undici-types/index.d.ts +51 -47
  569. package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +25 -8
  570. package/node_modules/@types/keyv/node_modules/undici-types/mock-agent.d.ts +33 -18
  571. package/node_modules/@types/keyv/node_modules/undici-types/mock-call-history.d.ts +111 -0
  572. package/node_modules/@types/keyv/node_modules/undici-types/mock-client.d.ts +4 -4
  573. package/node_modules/@types/keyv/node_modules/undici-types/mock-errors.d.ts +3 -3
  574. package/node_modules/@types/keyv/node_modules/undici-types/mock-interceptor.d.ts +19 -19
  575. package/node_modules/@types/keyv/node_modules/undici-types/mock-pool.d.ts +4 -4
  576. package/node_modules/@types/keyv/node_modules/undici-types/package.json +1 -1
  577. package/node_modules/@types/keyv/node_modules/undici-types/patch.d.ts +0 -4
  578. package/node_modules/@types/keyv/node_modules/undici-types/pool-stats.d.ts +8 -8
  579. package/node_modules/@types/keyv/node_modules/undici-types/pool.d.ts +12 -12
  580. package/node_modules/@types/keyv/node_modules/undici-types/proxy-agent.d.ts +4 -4
  581. package/node_modules/@types/keyv/node_modules/undici-types/readable.d.ts +18 -15
  582. package/node_modules/@types/keyv/node_modules/undici-types/retry-agent.d.ts +1 -1
  583. package/node_modules/@types/keyv/node_modules/undici-types/retry-handler.d.ts +10 -10
  584. package/node_modules/@types/keyv/node_modules/undici-types/util.d.ts +3 -3
  585. package/node_modules/@types/keyv/node_modules/undici-types/utility.d.ts +7 -0
  586. package/node_modules/@types/keyv/node_modules/undici-types/webidl.d.ts +44 -6
  587. package/node_modules/@types/keyv/node_modules/undici-types/websocket.d.ts +35 -1
  588. package/node_modules/@types/responselike/node_modules/@types/node/README.md +2 -2
  589. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +15 -54
  590. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +90 -8
  591. package/node_modules/@types/responselike/node_modules/@types/node/buffer.buffer.d.ts +3 -0
  592. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +3 -4
  593. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +2 -2
  594. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +16 -16
  595. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +17 -17
  596. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +43 -37
  597. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +1 -1
  598. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +38 -14
  599. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +16 -16
  600. package/node_modules/@types/responselike/node_modules/@types/node/dom-events.d.ts +60 -85
  601. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +1 -1
  602. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +1 -2
  603. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +40 -35
  604. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +122 -29
  605. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +143 -287
  606. package/node_modules/@types/responselike/node_modules/@types/node/globals.typedarray.d.ts +1 -0
  607. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +28 -3
  608. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +78 -8
  609. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +1 -1
  610. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +7 -5
  611. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +39 -7
  612. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +102 -27
  613. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +17 -14
  614. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +8 -7
  615. package/node_modules/@types/responselike/node_modules/@types/node/package.json +18 -3
  616. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +1 -1
  617. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +10 -10
  618. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +43 -11
  619. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +1 -1
  620. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +3 -4
  621. package/node_modules/@types/responselike/node_modules/@types/node/readline/promises.d.ts +0 -1
  622. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +19 -14
  623. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +14 -16
  624. package/node_modules/@types/responselike/node_modules/@types/node/sea.d.ts +1 -1
  625. package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +217 -14
  626. package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +3 -3
  627. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +13 -18
  628. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +1 -1
  629. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +107 -21
  630. package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +1 -1
  631. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +1 -1
  632. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +36 -49
  633. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +6 -6
  634. package/node_modules/@types/responselike/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +12 -0
  635. package/node_modules/@types/responselike/node_modules/@types/node/ts5.1/index.d.ts +98 -0
  636. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +3 -0
  637. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  638. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +1 -0
  639. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/index.d.ts +9 -5
  640. package/node_modules/@types/responselike/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  641. package/node_modules/@types/responselike/node_modules/@types/node/ts5.7/index.d.ts +96 -0
  642. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +1 -1
  643. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +61 -19
  644. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +234 -381
  645. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +110 -32
  646. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +73 -13
  647. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +1 -1
  648. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +55 -26
  649. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +170 -41
  650. package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +7 -7
  651. package/node_modules/@types/responselike/node_modules/undici-types/api.d.ts +24 -24
  652. package/node_modules/@types/responselike/node_modules/undici-types/balanced-pool.d.ts +11 -11
  653. package/node_modules/@types/responselike/node_modules/undici-types/cache-interceptor.d.ts +172 -0
  654. package/node_modules/@types/responselike/node_modules/undici-types/client.d.ts +12 -13
  655. package/node_modules/@types/responselike/node_modules/undici-types/cookies.d.ts +2 -0
  656. package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +10 -10
  657. package/node_modules/@types/responselike/node_modules/undici-types/dispatcher.d.ts +117 -92
  658. package/node_modules/@types/responselike/node_modules/undici-types/env-http-proxy-agent.d.ts +2 -2
  659. package/node_modules/@types/responselike/node_modules/undici-types/errors.d.ts +69 -47
  660. package/node_modules/@types/responselike/node_modules/undici-types/fetch.d.ts +17 -16
  661. package/node_modules/@types/responselike/node_modules/undici-types/formdata.d.ts +7 -7
  662. package/node_modules/@types/responselike/node_modules/undici-types/global-dispatcher.d.ts +4 -4
  663. package/node_modules/@types/responselike/node_modules/undici-types/global-origin.d.ts +5 -5
  664. package/node_modules/@types/responselike/node_modules/undici-types/h2c-client.d.ts +75 -0
  665. package/node_modules/@types/responselike/node_modules/undici-types/handlers.d.ts +7 -7
  666. package/node_modules/@types/responselike/node_modules/undici-types/header.d.ts +157 -1
  667. package/node_modules/@types/responselike/node_modules/undici-types/index.d.ts +51 -47
  668. package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +25 -8
  669. package/node_modules/@types/responselike/node_modules/undici-types/mock-agent.d.ts +33 -18
  670. package/node_modules/@types/responselike/node_modules/undici-types/mock-call-history.d.ts +111 -0
  671. package/node_modules/@types/responselike/node_modules/undici-types/mock-client.d.ts +4 -4
  672. package/node_modules/@types/responselike/node_modules/undici-types/mock-errors.d.ts +3 -3
  673. package/node_modules/@types/responselike/node_modules/undici-types/mock-interceptor.d.ts +19 -19
  674. package/node_modules/@types/responselike/node_modules/undici-types/mock-pool.d.ts +4 -4
  675. package/node_modules/@types/responselike/node_modules/undici-types/package.json +1 -1
  676. package/node_modules/@types/responselike/node_modules/undici-types/patch.d.ts +0 -4
  677. package/node_modules/@types/responselike/node_modules/undici-types/pool-stats.d.ts +8 -8
  678. package/node_modules/@types/responselike/node_modules/undici-types/pool.d.ts +12 -12
  679. package/node_modules/@types/responselike/node_modules/undici-types/proxy-agent.d.ts +4 -4
  680. package/node_modules/@types/responselike/node_modules/undici-types/readable.d.ts +18 -15
  681. package/node_modules/@types/responselike/node_modules/undici-types/retry-agent.d.ts +1 -1
  682. package/node_modules/@types/responselike/node_modules/undici-types/retry-handler.d.ts +10 -10
  683. package/node_modules/@types/responselike/node_modules/undici-types/util.d.ts +3 -3
  684. package/node_modules/@types/responselike/node_modules/undici-types/utility.d.ts +7 -0
  685. package/node_modules/@types/responselike/node_modules/undici-types/webidl.d.ts +44 -6
  686. package/node_modules/@types/responselike/node_modules/undici-types/websocket.d.ts +35 -1
  687. package/node_modules/axios/CHANGELOG.md +51 -0
  688. package/node_modules/axios/README.md +24 -21
  689. package/node_modules/axios/dist/axios.js +36 -17
  690. package/node_modules/axios/dist/axios.js.map +1 -1
  691. package/node_modules/axios/dist/axios.min.js +2 -2
  692. package/node_modules/axios/dist/axios.min.js.map +1 -1
  693. package/node_modules/axios/dist/browser/axios.cjs +36 -14
  694. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  695. package/node_modules/axios/dist/esm/axios.js +36 -14
  696. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  697. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  698. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  699. package/node_modules/axios/dist/node/axios.cjs +37 -15
  700. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  701. package/node_modules/axios/index.d.cts +3 -3
  702. package/node_modules/axios/index.d.ts +5 -3
  703. package/node_modules/axios/lib/adapters/fetch.js +2 -2
  704. package/node_modules/axios/lib/core/Axios.js +1 -1
  705. package/node_modules/axios/lib/core/AxiosHeaders.js +15 -3
  706. package/node_modules/axios/lib/env/data.js +1 -1
  707. package/node_modules/axios/lib/helpers/formDataToStream.js +1 -1
  708. package/node_modules/axios/lib/helpers/toFormData.js +4 -0
  709. package/node_modules/axios/lib/utils.js +12 -6
  710. package/node_modules/axios/package.json +13 -4
  711. package/node_modules/brace-expansion/index.js +1 -1
  712. package/node_modules/brace-expansion/package.json +4 -1
  713. package/node_modules/end-of-stream/index.js +3 -1
  714. package/node_modules/end-of-stream/package.json +1 -1
  715. package/node_modules/form-data/README.md.bak +355 -0
  716. package/node_modules/form-data/Readme.md +34 -37
  717. package/node_modules/form-data/lib/browser.js +3 -1
  718. package/node_modules/form-data/lib/form_data.js +124 -129
  719. package/node_modules/form-data/lib/populate.js +5 -5
  720. package/node_modules/form-data/package.json +7 -15
  721. package/node_modules/http-cache-semantics/README.md +116 -51
  722. package/node_modules/http-cache-semantics/index.js +300 -46
  723. package/node_modules/http-cache-semantics/package.json +8 -4
  724. package/node_modules/parse5/dist/cjs/parser/formatting-element-list.js +4 -4
  725. package/node_modules/parse5/dist/cjs/parser/index.d.ts +1 -1
  726. package/node_modules/parse5/dist/cjs/parser/index.js +13 -8
  727. package/node_modules/parse5/dist/cjs/parser/open-element-stack.d.ts +2 -2
  728. package/node_modules/parse5/dist/cjs/parser/open-element-stack.js +11 -7
  729. package/node_modules/parse5/dist/cjs/serializer/index.js +3 -3
  730. package/node_modules/parse5/dist/cjs/tokenizer/index.d.ts +1 -1
  731. package/node_modules/parse5/dist/cjs/tokenizer/index.js +3 -3
  732. package/node_modules/parse5/dist/parser/formatting-element-list.js +4 -4
  733. package/node_modules/parse5/dist/parser/index.d.ts +1 -1
  734. package/node_modules/parse5/dist/parser/index.js +13 -8
  735. package/node_modules/parse5/dist/parser/open-element-stack.d.ts +2 -2
  736. package/node_modules/parse5/dist/parser/open-element-stack.js +11 -7
  737. package/node_modules/parse5/dist/serializer/index.js +1 -1
  738. package/node_modules/parse5/dist/tokenizer/index.d.ts +1 -1
  739. package/node_modules/parse5/dist/tokenizer/index.js +1 -1
  740. package/node_modules/parse5/node_modules/entities/LICENSE +11 -0
  741. package/node_modules/parse5/node_modules/entities/decode.d.ts +1 -0
  742. package/node_modules/parse5/node_modules/entities/decode.js +3 -0
  743. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
  744. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +1 -0
  745. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  746. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
  747. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts +209 -0
  748. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts.map +1 -0
  749. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js +511 -0
  750. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js.map +1 -0
  751. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
  752. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts.map +1 -0
  753. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js +73 -0
  754. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js.map +1 -0
  755. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts +43 -0
  756. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts.map +1 -0
  757. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js +121 -0
  758. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js.map +1 -0
  759. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
  760. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +1 -0
  761. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js +10 -0
  762. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
  763. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
  764. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +1 -0
  765. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +10 -0
  766. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
  767. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +8 -0
  768. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +1 -0
  769. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js +13 -0
  770. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js.map +1 -0
  771. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts +96 -0
  772. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts.map +1 -0
  773. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.js +131 -0
  774. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.js.map +1 -0
  775. package/node_modules/parse5/node_modules/entities/dist/commonjs/package.json +3 -0
  776. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
  777. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +1 -0
  778. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +72 -0
  779. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js.map +1 -0
  780. package/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts +209 -0
  781. package/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts.map +1 -0
  782. package/node_modules/parse5/node_modules/entities/dist/esm/decode.js +497 -0
  783. package/node_modules/parse5/node_modules/entities/dist/esm/decode.js.map +1 -0
  784. package/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts +22 -0
  785. package/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts.map +1 -0
  786. package/node_modules/parse5/node_modules/entities/dist/esm/encode.js +69 -0
  787. package/node_modules/parse5/node_modules/entities/dist/esm/encode.js.map +1 -0
  788. package/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts +43 -0
  789. package/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts.map +1 -0
  790. package/node_modules/parse5/node_modules/entities/dist/esm/escape.js +117 -0
  791. package/node_modules/parse5/node_modules/entities/dist/esm/escape.js.map +1 -0
  792. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
  793. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +1 -0
  794. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +7 -0
  795. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js.map +1 -0
  796. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
  797. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +1 -0
  798. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js +7 -0
  799. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +1 -0
  800. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts +8 -0
  801. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +1 -0
  802. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js +10 -0
  803. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js.map +1 -0
  804. package/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts +96 -0
  805. package/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts.map +1 -0
  806. package/node_modules/parse5/node_modules/entities/dist/esm/index.js +107 -0
  807. package/node_modules/parse5/node_modules/entities/dist/esm/index.js.map +1 -0
  808. package/node_modules/parse5/node_modules/entities/dist/esm/package.json +3 -0
  809. package/node_modules/parse5/node_modules/entities/escape.d.ts +1 -0
  810. package/node_modules/parse5/node_modules/entities/escape.js +3 -0
  811. package/node_modules/parse5/node_modules/entities/package.json +118 -0
  812. package/node_modules/parse5/node_modules/entities/readme.md +122 -0
  813. package/node_modules/parse5/node_modules/entities/src/decode-codepoint.ts +81 -0
  814. package/node_modules/parse5/node_modules/entities/src/decode.spec.ts +320 -0
  815. package/node_modules/parse5/node_modules/entities/src/decode.ts +620 -0
  816. package/node_modules/parse5/node_modules/entities/src/encode.spec.ts +78 -0
  817. package/node_modules/parse5/node_modules/entities/src/encode.ts +77 -0
  818. package/node_modules/parse5/node_modules/entities/src/escape.spec.ts +14 -0
  819. package/node_modules/parse5/node_modules/entities/src/escape.ts +148 -0
  820. package/node_modules/parse5/node_modules/entities/src/generated/.eslintrc.json +10 -0
  821. package/node_modules/parse5/node_modules/entities/src/generated/decode-data-html.ts +8 -0
  822. package/node_modules/parse5/node_modules/entities/src/generated/decode-data-xml.ts +8 -0
  823. package/node_modules/parse5/node_modules/entities/src/generated/encode-html.ts +17 -0
  824. package/node_modules/parse5/node_modules/entities/src/index.spec.ts +125 -0
  825. package/node_modules/parse5/node_modules/entities/src/index.ts +188 -0
  826. package/node_modules/parse5/package.json +3 -3
  827. package/node_modules/pump/index.js +1 -1
  828. package/node_modules/pump/package.json +1 -1
  829. package/node_modules/semver/bin/semver.js +2 -0
  830. package/node_modules/semver/classes/comparator.js +2 -0
  831. package/node_modules/semver/classes/index.js +2 -0
  832. package/node_modules/semver/classes/range.js +2 -0
  833. package/node_modules/semver/classes/semver.js +4 -3
  834. package/node_modules/semver/functions/clean.js +2 -0
  835. package/node_modules/semver/functions/cmp.js +2 -0
  836. package/node_modules/semver/functions/coerce.js +2 -0
  837. package/node_modules/semver/functions/compare-build.js +2 -0
  838. package/node_modules/semver/functions/compare-loose.js +2 -0
  839. package/node_modules/semver/functions/compare.js +2 -0
  840. package/node_modules/semver/functions/diff.js +2 -0
  841. package/node_modules/semver/functions/eq.js +2 -0
  842. package/node_modules/semver/functions/gt.js +2 -0
  843. package/node_modules/semver/functions/gte.js +2 -0
  844. package/node_modules/semver/functions/inc.js +2 -0
  845. package/node_modules/semver/functions/lt.js +2 -0
  846. package/node_modules/semver/functions/lte.js +2 -0
  847. package/node_modules/semver/functions/major.js +2 -0
  848. package/node_modules/semver/functions/minor.js +2 -0
  849. package/node_modules/semver/functions/neq.js +2 -0
  850. package/node_modules/semver/functions/parse.js +2 -0
  851. package/node_modules/semver/functions/patch.js +2 -0
  852. package/node_modules/semver/functions/prerelease.js +2 -0
  853. package/node_modules/semver/functions/rcompare.js +2 -0
  854. package/node_modules/semver/functions/rsort.js +2 -0
  855. package/node_modules/semver/functions/satisfies.js +2 -0
  856. package/node_modules/semver/functions/sort.js +2 -0
  857. package/node_modules/semver/functions/valid.js +2 -0
  858. package/node_modules/semver/index.js +2 -0
  859. package/node_modules/semver/internal/constants.js +2 -0
  860. package/node_modules/semver/internal/debug.js +2 -0
  861. package/node_modules/semver/internal/identifiers.js +2 -0
  862. package/node_modules/semver/internal/lrucache.js +2 -0
  863. package/node_modules/semver/internal/parse-options.js +2 -0
  864. package/node_modules/semver/internal/re.js +8 -4
  865. package/node_modules/semver/package.json +3 -3
  866. package/node_modules/semver/preload.js +2 -0
  867. package/node_modules/semver/ranges/gtr.js +2 -0
  868. package/node_modules/semver/ranges/intersects.js +2 -0
  869. package/node_modules/semver/ranges/ltr.js +2 -0
  870. package/node_modules/semver/ranges/max-satisfying.js +2 -0
  871. package/node_modules/semver/ranges/min-satisfying.js +2 -0
  872. package/node_modules/semver/ranges/min-version.js +2 -0
  873. package/node_modules/semver/ranges/outside.js +2 -0
  874. package/node_modules/semver/ranges/simplify.js +2 -0
  875. package/node_modules/semver/ranges/subset.js +2 -0
  876. package/node_modules/semver/ranges/to-comparators.js +2 -0
  877. package/node_modules/semver/ranges/valid.js +2 -0
  878. package/package.json +20 -20
  879. package/node_modules/@slack/logger/node_modules/@types/node/compatibility/index.d.ts +0 -9
  880. package/node_modules/@slack/logger/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  881. package/node_modules/@slack/logger/node_modules/undici-types/file.d.ts +0 -39
  882. package/node_modules/@slack/logger/node_modules/undici-types/filereader.d.ts +0 -54
  883. package/node_modules/@slack/web-api/node_modules/@types/node/compatibility/index.d.ts +0 -9
  884. package/node_modules/@slack/web-api/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  885. package/node_modules/@slack/web-api/node_modules/undici-types/file.d.ts +0 -39
  886. package/node_modules/@slack/web-api/node_modules/undici-types/filereader.d.ts +0 -54
  887. package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/index.d.ts +0 -9
  888. package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  889. package/node_modules/@types/cacheable-request/node_modules/undici-types/file.d.ts +0 -39
  890. package/node_modules/@types/cacheable-request/node_modules/undici-types/filereader.d.ts +0 -54
  891. package/node_modules/@types/keyv/node_modules/@types/node/compatibility/index.d.ts +0 -9
  892. package/node_modules/@types/keyv/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  893. package/node_modules/@types/keyv/node_modules/undici-types/file.d.ts +0 -39
  894. package/node_modules/@types/keyv/node_modules/undici-types/filereader.d.ts +0 -54
  895. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  896. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/index.d.ts +0 -9
  897. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  898. package/node_modules/@types/responselike/node_modules/undici-types/file.d.ts +0 -39
  899. package/node_modules/@types/responselike/node_modules/undici-types/filereader.d.ts +0 -54
  900. package/node_modules/regenerator-runtime/LICENSE +0 -21
  901. package/node_modules/regenerator-runtime/README.md +0 -31
  902. package/node_modules/regenerator-runtime/package.json +0 -19
  903. package/node_modules/regenerator-runtime/path.js +0 -11
  904. package/node_modules/regenerator-runtime/runtime.js +0 -761
package/.jsii CHANGED
@@ -7,7 +7,7 @@
7
7
  ]
8
8
  },
9
9
  "bundled": {
10
- "@slack/web-api": "^7.9.1",
10
+ "@slack/web-api": "^7.9.3",
11
11
  "got": "^11.8.6",
12
12
  "mjml": "^4.15.3"
13
13
  },
@@ -3654,7 +3654,7 @@
3654
3654
  "stability": "stable"
3655
3655
  },
3656
3656
  "homepage": "https://github.com/jogold/cloudstructs.git",
3657
- "jsiiVersion": "5.8.5 (build 2b48a8e)",
3657
+ "jsiiVersion": "5.8.12 (build 5c353f5)",
3658
3658
  "keywords": [
3659
3659
  "cdk"
3660
3660
  ],
@@ -7820,6 +7820,6 @@
7820
7820
  "symbolId": "src/url-shortener/index:UrlShortenerProps"
7821
7821
  }
7822
7822
  },
7823
- "version": "0.9.32",
7824
- "fingerprint": "164DZ7Y3TrV8OXCGpw280Q1V7KRkw1lQ1UlX3HL2hzQ="
7823
+ "version": "0.9.34",
7824
+ "fingerprint": "pZSbUPbHqLi0dAT6g63KgxQlduXRW35p7HoR8QruvTw="
7825
7825
  }
@@ -1304,6 +1304,7 @@ var require_end_of_stream = __commonJS({
1304
1304
  var once = require_once();
1305
1305
  var noop = function() {
1306
1306
  };
1307
+ var qnt = global.Bare ? queueMicrotask : process.nextTick.bind(process);
1307
1308
  var isRequest = function(stream) {
1308
1309
  return stream.setHeader && typeof stream.abort === "function";
1309
1310
  };
@@ -1337,7 +1338,7 @@ var require_end_of_stream = __commonJS({
1337
1338
  callback.call(stream, err);
1338
1339
  };
1339
1340
  var onclose = function() {
1340
- process.nextTick(onclosenexttick);
1341
+ qnt(onclosenexttick);
1341
1342
  };
1342
1343
  var onclosenexttick = function() {
1343
1344
  if (cancelled) return;
@@ -1393,7 +1394,7 @@ var require_pump = __commonJS({
1393
1394
  }
1394
1395
  var noop = function() {
1395
1396
  };
1396
- var ancient = /^v?\.0/.test(process.version);
1397
+ var ancient = typeof process === "undefined" ? false : /^v?\.0/.test(process.version);
1397
1398
  var isFn = function(fn) {
1398
1399
  return typeof fn === "function";
1399
1400
  };
@@ -1645,6 +1646,17 @@ var require_http_cache_semantics = __commonJS({
1645
1646
  return parts.join(", ");
1646
1647
  }
1647
1648
  module2.exports = class CachePolicy {
1649
+ /**
1650
+ * Creates a new CachePolicy instance.
1651
+ * @param {HttpRequest} req - Incoming client request.
1652
+ * @param {HttpResponse} res - Received server response.
1653
+ * @param {Object} [options={}] - Configuration options.
1654
+ * @param {boolean} [options.shared=true] - Is the cache shared (a public proxy)? `false` for personal browser caches.
1655
+ * @param {number} [options.cacheHeuristic=0.1] - Fallback heuristic (age fraction) for cache duration.
1656
+ * @param {number} [options.immutableMinTimeToLive=86400000] - Minimum TTL for immutable responses in milliseconds.
1657
+ * @param {boolean} [options.ignoreCargoCult=false] - Detect nonsense cache headers, and override them.
1658
+ * @param {any} [options._fromObject] - Internal parameter for deserialization. Do not use.
1659
+ */
1648
1660
  constructor(req, res, {
1649
1661
  shared,
1650
1662
  cacheHeuristic,
@@ -1662,6 +1674,7 @@ var require_http_cache_semantics = __commonJS({
1662
1674
  this._assertRequestHasHeaders(req);
1663
1675
  this._responseTime = this.now();
1664
1676
  this._isShared = shared !== false;
1677
+ this._ignoreCargoCult = !!ignoreCargoCult;
1665
1678
  this._cacheHeuristic = void 0 !== cacheHeuristic ? cacheHeuristic : 0.1;
1666
1679
  this._immutableMinTtl = void 0 !== immutableMinTimeToLive ? immutableMinTimeToLive : 24 * 3600 * 1e3;
1667
1680
  this._status = "status" in res ? res.status : 200;
@@ -1673,7 +1686,7 @@ var require_http_cache_semantics = __commonJS({
1673
1686
  this._noAuthorization = !req.headers.authorization;
1674
1687
  this._reqHeaders = res.headers.vary ? req.headers : null;
1675
1688
  this._reqcc = parseCacheControl(req.headers["cache-control"]);
1676
- if (ignoreCargoCult && "pre-check" in this._rescc && "post-check" in this._rescc) {
1689
+ if (this._ignoreCargoCult && "pre-check" in this._rescc && "post-check" in this._rescc) {
1677
1690
  delete this._rescc["pre-check"];
1678
1691
  delete this._rescc["post-check"];
1679
1692
  delete this._rescc["no-cache"];
@@ -1689,9 +1702,17 @@ var require_http_cache_semantics = __commonJS({
1689
1702
  this._rescc["no-cache"] = true;
1690
1703
  }
1691
1704
  }
1705
+ /**
1706
+ * You can monkey-patch it for testing.
1707
+ * @returns {number} Current time in milliseconds.
1708
+ */
1692
1709
  now() {
1693
1710
  return Date.now();
1694
1711
  }
1712
+ /**
1713
+ * Determines if the response is storable in a cache.
1714
+ * @returns {boolean} `false` if can never be cached.
1715
+ */
1695
1716
  storable() {
1696
1717
  return !!(!this._reqcc["no-store"] && // A cache MUST NOT store a response to any request, unless:
1697
1718
  // The request method is understood by the cache and defined as being cacheable, and
@@ -1707,42 +1728,142 @@ var require_http_cache_semantics = __commonJS({
1707
1728
  this._rescc["max-age"] || this._isShared && this._rescc["s-maxage"] || this._rescc.public || // has a status code that is defined as cacheable by default
1708
1729
  statusCodeCacheableByDefault.has(this._status)));
1709
1730
  }
1731
+ /**
1732
+ * @returns {boolean} true if expiration is explicitly defined.
1733
+ */
1710
1734
  _hasExplicitExpiration() {
1711
- return this._isShared && this._rescc["s-maxage"] || this._rescc["max-age"] || this._resHeaders.expires;
1735
+ return !!(this._isShared && this._rescc["s-maxage"] || this._rescc["max-age"] || this._resHeaders.expires);
1712
1736
  }
1737
+ /**
1738
+ * @param {HttpRequest} req - a request
1739
+ * @throws {Error} if the headers are missing.
1740
+ */
1713
1741
  _assertRequestHasHeaders(req) {
1714
1742
  if (!req || !req.headers) {
1715
1743
  throw Error("Request headers missing");
1716
1744
  }
1717
1745
  }
1746
+ /**
1747
+ * Checks if the request matches the cache and can be satisfied from the cache immediately,
1748
+ * without having to make a request to the server.
1749
+ *
1750
+ * This doesn't support `stale-while-revalidate`. See `evaluateRequest()` for a more complete solution.
1751
+ *
1752
+ * @param {HttpRequest} req - The new incoming HTTP request.
1753
+ * @returns {boolean} `true`` if the cached response used to construct this cache policy satisfies the request without revalidation.
1754
+ */
1718
1755
  satisfiesWithoutRevalidation(req) {
1756
+ const result = this.evaluateRequest(req);
1757
+ return !result.revalidation;
1758
+ }
1759
+ /**
1760
+ * @param {{headers: Record<string, string>, synchronous: boolean}|undefined} revalidation - Revalidation information, if any.
1761
+ * @returns {{response: {headers: Record<string, string>}, revalidation: {headers: Record<string, string>, synchronous: boolean}|undefined}} An object with a cached response headers and revalidation info.
1762
+ */
1763
+ _evaluateRequestHitResult(revalidation) {
1764
+ return {
1765
+ response: {
1766
+ headers: this.responseHeaders()
1767
+ },
1768
+ revalidation
1769
+ };
1770
+ }
1771
+ /**
1772
+ * @param {HttpRequest} request - new incoming
1773
+ * @param {boolean} synchronous - whether revalidation must be synchronous (not s-w-r).
1774
+ * @returns {{headers: Record<string, string>, synchronous: boolean}} An object with revalidation headers and a synchronous flag.
1775
+ */
1776
+ _evaluateRequestRevalidation(request, synchronous) {
1777
+ return {
1778
+ synchronous,
1779
+ headers: this.revalidationHeaders(request)
1780
+ };
1781
+ }
1782
+ /**
1783
+ * @param {HttpRequest} request - new incoming
1784
+ * @returns {{response: undefined, revalidation: {headers: Record<string, string>, synchronous: boolean}}} An object indicating no cached response and revalidation details.
1785
+ */
1786
+ _evaluateRequestMissResult(request) {
1787
+ return {
1788
+ response: void 0,
1789
+ revalidation: this._evaluateRequestRevalidation(request, true)
1790
+ };
1791
+ }
1792
+ /**
1793
+ * Checks if the given request matches this cache entry, and how the cache can be used to satisfy it. Returns an object with:
1794
+ *
1795
+ * ```
1796
+ * {
1797
+ * // If defined, you must send a request to the server.
1798
+ * revalidation: {
1799
+ * headers: {}, // HTTP headers to use when sending the revalidation response
1800
+ * // If true, you MUST wait for a response from the server before using the cache
1801
+ * // If false, this is stale-while-revalidate. The cache is stale, but you can use it while you update it asynchronously.
1802
+ * synchronous: bool,
1803
+ * },
1804
+ * // If defined, you can use this cached response.
1805
+ * response: {
1806
+ * headers: {}, // Updated cached HTTP headers you must use when responding to the client
1807
+ * },
1808
+ * }
1809
+ * ```
1810
+ * @param {HttpRequest} req - new incoming HTTP request
1811
+ * @returns {{response: {headers: Record<string, string>}|undefined, revalidation: {headers: Record<string, string>, synchronous: boolean}|undefined}} An object containing keys:
1812
+ * - revalidation: { headers: Record<string, string>, synchronous: boolean } Set if you should send this to the origin server
1813
+ * - response: { headers: Record<string, string> } Set if you can respond to the client with these cached headers
1814
+ */
1815
+ evaluateRequest(req) {
1719
1816
  this._assertRequestHasHeaders(req);
1817
+ if (this._rescc["must-revalidate"]) {
1818
+ return this._evaluateRequestMissResult(req);
1819
+ }
1820
+ if (!this._requestMatches(req, false)) {
1821
+ return this._evaluateRequestMissResult(req);
1822
+ }
1720
1823
  const requestCC = parseCacheControl(req.headers["cache-control"]);
1721
1824
  if (requestCC["no-cache"] || /no-cache/.test(req.headers.pragma)) {
1722
- return false;
1825
+ return this._evaluateRequestMissResult(req);
1723
1826
  }
1724
- if (requestCC["max-age"] && this.age() > requestCC["max-age"]) {
1725
- return false;
1827
+ if (requestCC["max-age"] && this.age() > toNumberOrZero(requestCC["max-age"])) {
1828
+ return this._evaluateRequestMissResult(req);
1726
1829
  }
1727
- if (requestCC["min-fresh"] && this.timeToLive() < 1e3 * requestCC["min-fresh"]) {
1728
- return false;
1830
+ if (requestCC["min-fresh"] && this.maxAge() - this.age() < toNumberOrZero(requestCC["min-fresh"])) {
1831
+ return this._evaluateRequestMissResult(req);
1729
1832
  }
1730
1833
  if (this.stale()) {
1731
- const allowsStale = requestCC["max-stale"] && !this._rescc["must-revalidate"] && (true === requestCC["max-stale"] || requestCC["max-stale"] > this.age() - this.maxAge());
1732
- if (!allowsStale) {
1733
- return false;
1834
+ const allowsStaleWithoutRevalidation = "max-stale" in requestCC && (true === requestCC["max-stale"] || requestCC["max-stale"] > this.age() - this.maxAge());
1835
+ if (allowsStaleWithoutRevalidation) {
1836
+ return this._evaluateRequestHitResult(void 0);
1734
1837
  }
1838
+ if (this.useStaleWhileRevalidate()) {
1839
+ return this._evaluateRequestHitResult(this._evaluateRequestRevalidation(req, false));
1840
+ }
1841
+ return this._evaluateRequestMissResult(req);
1735
1842
  }
1736
- return this._requestMatches(req, false);
1843
+ return this._evaluateRequestHitResult(void 0);
1737
1844
  }
1845
+ /**
1846
+ * @param {HttpRequest} req - check if this is for the same cache entry
1847
+ * @param {boolean} allowHeadMethod - allow a HEAD method to match.
1848
+ * @returns {boolean} `true` if the request matches.
1849
+ */
1738
1850
  _requestMatches(req, allowHeadMethod) {
1739
- return (!this._url || this._url === req.url) && this._host === req.headers.host && // the request method associated with the stored response allows it to be used for the presented request, and
1851
+ return !!((!this._url || this._url === req.url) && this._host === req.headers.host && // the request method associated with the stored response allows it to be used for the presented request, and
1740
1852
  (!req.method || this._method === req.method || allowHeadMethod && "HEAD" === req.method) && // selecting header fields nominated by the stored response (if any) match those presented, and
1741
- this._varyMatches(req);
1853
+ this._varyMatches(req));
1742
1854
  }
1855
+ /**
1856
+ * Determines whether storing authenticated responses is allowed.
1857
+ * @returns {boolean} `true` if allowed.
1858
+ */
1743
1859
  _allowsStoringAuthenticated() {
1744
- return this._rescc["must-revalidate"] || this._rescc.public || this._rescc["s-maxage"];
1860
+ return !!(this._rescc["must-revalidate"] || this._rescc.public || this._rescc["s-maxage"]);
1745
1861
  }
1862
+ /**
1863
+ * Checks whether the Vary header in the response matches the new request.
1864
+ * @param {HttpRequest} req - incoming HTTP request
1865
+ * @returns {boolean} `true` if the vary headers match.
1866
+ */
1746
1867
  _varyMatches(req) {
1747
1868
  if (!this._resHeaders.vary) {
1748
1869
  return true;
@@ -1756,6 +1877,11 @@ var require_http_cache_semantics = __commonJS({
1756
1877
  }
1757
1878
  return true;
1758
1879
  }
1880
+ /**
1881
+ * Creates a copy of the given headers without any hop-by-hop headers.
1882
+ * @param {Record<string, string>} inHeaders - old headers from the cached response
1883
+ * @returns {Record<string, string>} A new headers object without hop-by-hop headers.
1884
+ */
1759
1885
  _copyWithoutHopByHopHeaders(inHeaders) {
1760
1886
  const headers = {};
1761
1887
  for (const name in inHeaders) {
@@ -1780,6 +1906,11 @@ var require_http_cache_semantics = __commonJS({
1780
1906
  }
1781
1907
  return headers;
1782
1908
  }
1909
+ /**
1910
+ * Returns the response headers adjusted for serving the cached response.
1911
+ * Removes hop-by-hop headers and updates the Age and Date headers.
1912
+ * @returns {Record<string, string>} The adjusted response headers.
1913
+ */
1783
1914
  responseHeaders() {
1784
1915
  const headers = this._copyWithoutHopByHopHeaders(this._resHeaders);
1785
1916
  const age = this.age();
@@ -1791,8 +1922,8 @@ var require_http_cache_semantics = __commonJS({
1791
1922
  return headers;
1792
1923
  }
1793
1924
  /**
1794
- * Value of the Date response header or current time if Date was invalid
1795
- * @return timestamp
1925
+ * Returns the Date header value from the response or the current time if invalid.
1926
+ * @returns {number} Timestamp (in milliseconds) representing the Date header or response time.
1796
1927
  */
1797
1928
  date() {
1798
1929
  const serverDate = Date.parse(this._resHeaders.date);
@@ -1804,23 +1935,27 @@ var require_http_cache_semantics = __commonJS({
1804
1935
  /**
1805
1936
  * Value of the Age header, in seconds, updated for the current time.
1806
1937
  * May be fractional.
1807
- *
1808
- * @return Number
1938
+ * @returns {number} The age in seconds.
1809
1939
  */
1810
1940
  age() {
1811
1941
  let age = this._ageValue();
1812
1942
  const residentTime = (this.now() - this._responseTime) / 1e3;
1813
1943
  return age + residentTime;
1814
1944
  }
1945
+ /**
1946
+ * @returns {number} The Age header value as a number.
1947
+ */
1815
1948
  _ageValue() {
1816
1949
  return toNumberOrZero(this._resHeaders.age);
1817
1950
  }
1818
1951
  /**
1819
- * Value of applicable max-age (or heuristic equivalent) in seconds. This counts since response's `Date`.
1952
+ * Possibly outdated value of applicable max-age (or heuristic equivalent) in seconds.
1953
+ * This counts since response's `Date`.
1820
1954
  *
1821
1955
  * For an up-to-date value, see `timeToLive()`.
1822
1956
  *
1823
- * @return Number
1957
+ * Returns the maximum age (freshness lifetime) of the response in seconds.
1958
+ * @returns {number} The max-age value in seconds.
1824
1959
  */
1825
1960
  maxAge() {
1826
1961
  if (!this.storable() || this._rescc["no-cache"]) {
@@ -1863,24 +1998,52 @@ var require_http_cache_semantics = __commonJS({
1863
1998
  }
1864
1999
  return defaultMinTtl;
1865
2000
  }
2001
+ /**
2002
+ * Remaining time this cache entry may be useful for, in *milliseconds*.
2003
+ * You can use this as an expiration time for your cache storage.
2004
+ *
2005
+ * Prefer this method over `maxAge()`, because it includes other factors like `age` and `stale-while-revalidate`.
2006
+ * @returns {number} Time-to-live in milliseconds.
2007
+ */
1866
2008
  timeToLive() {
1867
2009
  const age = this.maxAge() - this.age();
1868
2010
  const staleIfErrorAge = age + toNumberOrZero(this._rescc["stale-if-error"]);
1869
2011
  const staleWhileRevalidateAge = age + toNumberOrZero(this._rescc["stale-while-revalidate"]);
1870
- return Math.max(0, age, staleIfErrorAge, staleWhileRevalidateAge) * 1e3;
2012
+ return Math.round(Math.max(0, age, staleIfErrorAge, staleWhileRevalidateAge) * 1e3);
1871
2013
  }
2014
+ /**
2015
+ * If true, this cache entry is past its expiration date.
2016
+ * Note that stale cache may be useful sometimes, see `evaluateRequest()`.
2017
+ * @returns {boolean} `false` doesn't mean it's fresh nor usable
2018
+ */
1872
2019
  stale() {
1873
2020
  return this.maxAge() <= this.age();
1874
2021
  }
2022
+ /**
2023
+ * @returns {boolean} `true` if `stale-if-error` condition allows use of a stale response.
2024
+ */
1875
2025
  _useStaleIfError() {
1876
2026
  return this.maxAge() + toNumberOrZero(this._rescc["stale-if-error"]) > this.age();
1877
2027
  }
2028
+ /** See `evaluateRequest()` for a more complete solution
2029
+ * @returns {boolean} `true` if `stale-while-revalidate` is currently allowed.
2030
+ */
1878
2031
  useStaleWhileRevalidate() {
1879
- return this.maxAge() + toNumberOrZero(this._rescc["stale-while-revalidate"]) > this.age();
2032
+ const swr = toNumberOrZero(this._rescc["stale-while-revalidate"]);
2033
+ return swr > 0 && this.maxAge() + swr > this.age();
1880
2034
  }
2035
+ /**
2036
+ * Creates a `CachePolicy` instance from a serialized object.
2037
+ * @param {Object} obj - The serialized object.
2038
+ * @returns {CachePolicy} A new CachePolicy instance.
2039
+ */
1881
2040
  static fromObject(obj) {
1882
2041
  return new this(void 0, void 0, { _fromObject: obj });
1883
2042
  }
2043
+ /**
2044
+ * @param {any} obj - The serialized object.
2045
+ * @throws {Error} If already initialized or if the object is invalid.
2046
+ */
1884
2047
  _fromObject(obj) {
1885
2048
  if (this._responseTime) throw Error("Reinitialized");
1886
2049
  if (!obj || obj.v !== 1) throw Error("Invalid serialization");
@@ -1888,6 +2051,7 @@ var require_http_cache_semantics = __commonJS({
1888
2051
  this._isShared = obj.sh;
1889
2052
  this._cacheHeuristic = obj.ch;
1890
2053
  this._immutableMinTtl = obj.imm !== void 0 ? obj.imm : 24 * 3600 * 1e3;
2054
+ this._ignoreCargoCult = !!obj.icc;
1891
2055
  this._status = obj.st;
1892
2056
  this._resHeaders = obj.resh;
1893
2057
  this._rescc = obj.rescc;
@@ -1898,6 +2062,10 @@ var require_http_cache_semantics = __commonJS({
1898
2062
  this._reqHeaders = obj.reqh;
1899
2063
  this._reqcc = obj.reqcc;
1900
2064
  }
2065
+ /**
2066
+ * Serializes the `CachePolicy` instance into a JSON-serializable object.
2067
+ * @returns {Object} The serialized object.
2068
+ */
1901
2069
  toObject() {
1902
2070
  return {
1903
2071
  v: 1,
@@ -1905,6 +2073,7 @@ var require_http_cache_semantics = __commonJS({
1905
2073
  sh: this._isShared,
1906
2074
  ch: this._cacheHeuristic,
1907
2075
  imm: this._immutableMinTtl,
2076
+ icc: this._ignoreCargoCult,
1908
2077
  st: this._status,
1909
2078
  resh: this._resHeaders,
1910
2079
  rescc: this._rescc,
@@ -1922,6 +2091,8 @@ var require_http_cache_semantics = __commonJS({
1922
2091
  *
1923
2092
  * Hop by hop headers are always stripped.
1924
2093
  * Revalidation headers may be added or removed, depending on request.
2094
+ * @param {HttpRequest} incomingReq - The incoming HTTP request.
2095
+ * @returns {Record<string, string>} The headers for the revalidation request.
1925
2096
  */
1926
2097
  revalidationHeaders(incomingReq) {
1927
2098
  this._assertRequestHasHeaders(incomingReq);
@@ -1960,15 +2131,18 @@ var require_http_cache_semantics = __commonJS({
1960
2131
  * Returns {policy, modified} where modified is a boolean indicating
1961
2132
  * whether the response body has been modified, and old cached body can't be used.
1962
2133
  *
1963
- * @return {Object} {policy: CachePolicy, modified: Boolean}
2134
+ * @param {HttpRequest} request - The latest HTTP request asking for the cached entry.
2135
+ * @param {HttpResponse} response - The latest revalidation HTTP response from the origin server.
2136
+ * @returns {{policy: CachePolicy, modified: boolean, matches: boolean}} The updated policy and modification status.
2137
+ * @throws {Error} If the response headers are missing.
1964
2138
  */
1965
2139
  revalidatedPolicy(request, response) {
1966
2140
  this._assertRequestHasHeaders(request);
1967
2141
  if (this._useStaleIfError() && isErrorResponse(response)) {
1968
2142
  return {
2143
+ policy: this,
1969
2144
  modified: false,
1970
- matches: false,
1971
- policy: this
2145
+ matches: true
1972
2146
  };
1973
2147
  }
1974
2148
  if (!response || !response.headers) {
@@ -1988,9 +2162,15 @@ var require_http_cache_semantics = __commonJS({
1988
2162
  matches = true;
1989
2163
  }
1990
2164
  }
2165
+ const optionsCopy = {
2166
+ shared: this._isShared,
2167
+ cacheHeuristic: this._cacheHeuristic,
2168
+ immutableMinTimeToLive: this._immutableMinTtl,
2169
+ ignoreCargoCult: this._ignoreCargoCult
2170
+ };
1991
2171
  if (!matches) {
1992
2172
  return {
1993
- policy: new this.constructor(request, response),
2173
+ policy: new this.constructor(request, response, optionsCopy),
1994
2174
  // Client receiving 304 without body, even if it's invalid/mismatched has no option
1995
2175
  // but to reuse a cached body. We don't have a good way to tell clients to do
1996
2176
  // error recovery in such case.
@@ -2008,11 +2188,7 @@ var require_http_cache_semantics = __commonJS({
2008
2188
  headers
2009
2189
  });
2010
2190
  return {
2011
- policy: new this.constructor(request, newResponse, {
2012
- shared: this._isShared,
2013
- cacheHeuristic: this._cacheHeuristic,
2014
- immutableMinTimeToLive: this._immutableMinTtl
2015
- }),
2191
+ policy: new this.constructor(request, newResponse, optionsCopy),
2016
2192
  modified: false,
2017
2193
  matches: true
2018
2194
  };