@openclaw/slack 2026.7.2-beta.7 → 2026.7.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 (1339) hide show
  1. package/README.md +1 -1
  2. package/dist/.setup/account-configured-DzC407uv.mjs +14 -0
  3. package/dist/.setup/account-inspect-CcqRNkC3.mjs +79 -0
  4. package/dist/.setup/account-reply-mode-Bvoq75cS.mjs +15 -0
  5. package/dist/.setup/accounts-uGn8E6uq.mjs +187 -0
  6. package/dist/.setup/accounts.runtime-k_V5-EOr.mjs +2 -0
  7. package/dist/.setup/action-runtime-iq6ZxO_b.mjs +395 -0
  8. package/dist/.setup/action-runtime.runtime-DXY8CdWJ.mjs +2 -0
  9. package/dist/.setup/actions-2VEX4Wdz.mjs +950 -0
  10. package/dist/.setup/actions.runtime-CfX8mK8Y.mjs +2 -0
  11. package/dist/.setup/approval-handler.runtime-COMbf4Ud.mjs +368 -0
  12. package/dist/.setup/channel-BqOekthS.mjs +1120 -0
  13. package/dist/.setup/channel.setup-DBlZCEvc.mjs +73 -0
  14. package/dist/.setup/client-B6i83rHk.mjs +116 -0
  15. package/dist/.setup/config-api-DnT9ohtE.mjs +2 -0
  16. package/dist/.setup/config-schema-DV93lEJ7.mjs +227 -0
  17. package/dist/.setup/directory-config-DB0OcZzw.mjs +55 -0
  18. package/dist/.setup/directory-live-O3jkDEJH.mjs +131 -0
  19. package/dist/.setup/doctor-contract-Dxk57DKz.mjs +147 -0
  20. package/dist/.setup/format-xuAop9a-.mjs +108 -0
  21. package/dist/.setup/interactive-replies-BLw4HEPS.mjs +193 -0
  22. package/dist/.setup/message-tool-api-D2m68v1f.mjs +128 -0
  23. package/dist/.setup/monitor-jTrujB_u.mjs +13 -0
  24. package/dist/.setup/outbound-adapter-DwAvZVk8.mjs +273 -0
  25. package/dist/.setup/pipeline.runtime-qFsXbTJf.mjs +3646 -0
  26. package/dist/.setup/plugin-routes-C3X0eVaK.mjs +22 -0
  27. package/dist/.setup/policy-C6VVHqUf.mjs +67 -0
  28. package/dist/.setup/probe-tmU762D2.mjs +48 -0
  29. package/dist/.setup/provider-Bjv1R5E2.mjs +4720 -0
  30. package/dist/.setup/relay-source-DR--lDW8.mjs +289 -0
  31. package/dist/.setup/replies-BO37R07g.mjs +288 -0
  32. package/dist/.setup/reply-blocks-Cwu6LYJI.mjs +882 -0
  33. package/dist/.setup/resolve-allowlist-common-CP8SH0Zf.mjs +43 -0
  34. package/dist/.setup/resolve-channels-CivvCeZv.mjs +81 -0
  35. package/dist/.setup/resolve-users-D5Qb64BJ.mjs +113 -0
  36. package/dist/.setup/rolldown-runtime-D7D4PA-g.mjs +13 -0
  37. package/dist/.setup/runtime-BOk7xkOl.mjs +8 -0
  38. package/dist/.setup/runtime-api-BnavgpzD.mjs +9 -0
  39. package/dist/.setup/runtime-setter-api-C-6lgBvk.mjs +3 -0
  40. package/dist/.setup/scopes-CYSKlU91.mjs +74 -0
  41. package/dist/.setup/secret-contract-C3ChHo5A.mjs +181 -0
  42. package/dist/.setup/secret-contract-api-CcCSHlV7.mjs +3 -0
  43. package/dist/.setup/security-audit-HMEYeSrJ.mjs +51 -0
  44. package/dist/.setup/send-DEOvcVM4.mjs +933 -0
  45. package/dist/.setup/send.runtime-Bmals7DV.mjs +2 -0
  46. package/dist/.setup/setup-core-uPGudyJH.mjs +344 -0
  47. package/dist/.setup/setup-plugin-api-DMKdqvij.mjs +3 -0
  48. package/dist/.setup/setup-surface-_4luZsPQ.mjs +130 -0
  49. package/dist/.setup/shared-BqyNq0up.mjs +269 -0
  50. package/dist/.setup/slash-dispatch.runtime-eyQo6mTA.mjs +32 -0
  51. package/dist/.setup/streaming-compat-DjlgH-Be.mjs +43 -0
  52. package/dist/.setup/target-parsing-C36VFWHQ.mjs +65 -0
  53. package/dist/.setup/targets-DnpzC22e.mjs +13 -0
  54. package/dist/account-inspect-api.js +1 -1
  55. package/dist/api.js +19 -18
  56. package/dist/channel-config-api.js +1 -1
  57. package/dist/channel-plugin-api.js +1 -1
  58. package/dist/configured-state.js +11 -0
  59. package/dist/directory-contract-api.js +1 -1
  60. package/dist/doctor-contract-api.js +1 -1
  61. package/dist/http-routes-api.js +1 -1
  62. package/dist/index.js +1 -1
  63. package/dist/interactive-replies-api.js +2 -0
  64. package/dist/message-tool-api.js +1 -1
  65. package/dist/runtime-api.js +13 -13
  66. package/dist/runtime-setter-api.js +1 -1
  67. package/dist/secret-contract-api.js +1 -1
  68. package/dist/security-contract-api.js +1 -1
  69. package/dist/setup-entry.js +5 -4
  70. package/dist/setup-plugin-api.js +1 -1
  71. package/node_modules/@slack/bolt/dist/App.d.ts +19 -4
  72. package/node_modules/@slack/bolt/dist/App.d.ts.map +1 -1
  73. package/node_modules/@slack/bolt/dist/App.js +40 -21
  74. package/node_modules/@slack/bolt/dist/App.js.map +1 -1
  75. package/node_modules/@slack/bolt/dist/WorkflowStep.d.ts +159 -0
  76. package/node_modules/@slack/bolt/dist/WorkflowStep.d.ts.map +1 -0
  77. package/node_modules/@slack/bolt/dist/WorkflowStep.js +217 -0
  78. package/node_modules/@slack/bolt/dist/WorkflowStep.js.map +1 -0
  79. package/node_modules/@slack/bolt/dist/context/create-respond.d.ts +3 -3
  80. package/node_modules/@slack/bolt/dist/context/create-respond.d.ts.map +1 -1
  81. package/node_modules/@slack/bolt/dist/context/create-respond.js +2 -13
  82. package/node_modules/@slack/bolt/dist/context/create-respond.js.map +1 -1
  83. package/node_modules/@slack/bolt/dist/errors.d.ts +8 -6
  84. package/node_modules/@slack/bolt/dist/errors.d.ts.map +1 -1
  85. package/node_modules/@slack/bolt/dist/errors.js +11 -11
  86. package/node_modules/@slack/bolt/dist/errors.js.map +1 -1
  87. package/node_modules/@slack/bolt/dist/helpers.d.ts.map +1 -1
  88. package/node_modules/@slack/bolt/dist/helpers.js +2 -1
  89. package/node_modules/@slack/bolt/dist/helpers.js.map +1 -1
  90. package/node_modules/@slack/bolt/dist/index.d.ts +1 -0
  91. package/node_modules/@slack/bolt/dist/index.d.ts.map +1 -1
  92. package/node_modules/@slack/bolt/dist/index.js +3 -1
  93. package/node_modules/@slack/bolt/dist/index.js.map +1 -1
  94. package/node_modules/@slack/bolt/dist/receivers/AwsLambdaReceiver.d.ts +1 -10
  95. package/node_modules/@slack/bolt/dist/receivers/AwsLambdaReceiver.d.ts.map +1 -1
  96. package/node_modules/@slack/bolt/dist/receivers/AwsLambdaReceiver.js +1 -5
  97. package/node_modules/@slack/bolt/dist/receivers/AwsLambdaReceiver.js.map +1 -1
  98. package/node_modules/@slack/bolt/dist/receivers/HTTPModuleFunctions.d.ts.map +1 -1
  99. package/node_modules/@slack/bolt/dist/receivers/HTTPModuleFunctions.js +14 -10
  100. package/node_modules/@slack/bolt/dist/receivers/HTTPModuleFunctions.js.map +1 -1
  101. package/node_modules/@slack/bolt/dist/receivers/SocketModeFunctions.d.ts.map +1 -1
  102. package/node_modules/@slack/bolt/dist/receivers/SocketModeFunctions.js +1 -1
  103. package/node_modules/@slack/bolt/dist/receivers/SocketModeFunctions.js.map +1 -1
  104. package/node_modules/@slack/bolt/dist/receivers/SocketModeReceiver.d.ts +1 -3
  105. package/node_modules/@slack/bolt/dist/receivers/SocketModeReceiver.d.ts.map +1 -1
  106. package/node_modules/@slack/bolt/dist/receivers/SocketModeReceiver.js +1 -2
  107. package/node_modules/@slack/bolt/dist/receivers/SocketModeReceiver.js.map +1 -1
  108. package/node_modules/@slack/bolt/dist/types/actions/index.d.ts +4 -2
  109. package/node_modules/@slack/bolt/dist/types/actions/index.d.ts.map +1 -1
  110. package/node_modules/@slack/bolt/dist/types/actions/index.js +2 -0
  111. package/node_modules/@slack/bolt/dist/types/actions/index.js.map +1 -1
  112. package/node_modules/@slack/bolt/dist/types/actions/workflow-step-edit.d.ts +49 -0
  113. package/node_modules/@slack/bolt/dist/types/actions/workflow-step-edit.d.ts.map +1 -0
  114. package/node_modules/@slack/bolt/dist/types/actions/workflow-step-edit.js +3 -0
  115. package/node_modules/@slack/bolt/dist/types/actions/workflow-step-edit.js.map +1 -0
  116. package/node_modules/@slack/bolt/dist/types/events/index.d.ts +0 -2
  117. package/node_modules/@slack/bolt/dist/types/events/index.d.ts.map +1 -1
  118. package/node_modules/@slack/bolt/dist/types/utilities.d.ts +2 -2
  119. package/node_modules/@slack/bolt/dist/types/utilities.d.ts.map +1 -1
  120. package/node_modules/@slack/bolt/dist/types/view/index.d.ts +31 -1
  121. package/node_modules/@slack/bolt/dist/types/view/index.d.ts.map +1 -1
  122. package/node_modules/@slack/bolt/node_modules/@slack/logger/README.md +1 -1
  123. package/node_modules/@slack/bolt/node_modules/@slack/logger/dist/index.js +13 -17
  124. package/node_modules/@slack/bolt/node_modules/@slack/logger/dist/index.js.map +1 -1
  125. package/node_modules/@slack/bolt/node_modules/@slack/logger/package.json +7 -6
  126. package/node_modules/@slack/bolt/node_modules/@slack/oauth/README.md +1 -1
  127. package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/errors.d.ts +14 -25
  128. package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/errors.d.ts.map +1 -1
  129. package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/errors.js +33 -24
  130. package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/errors.js.map +1 -1
  131. package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/install-provider.js +16 -58
  132. package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/install-provider.js.map +1 -1
  133. package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/installation-stores/file-store.js +2 -4
  134. package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/installation-stores/file-store.js.map +1 -1
  135. package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/installation-stores/memory-store.js +16 -3
  136. package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/installation-stores/memory-store.js.map +1 -1
  137. package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/state-stores/clear-state-store.js +0 -2
  138. package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/state-stores/clear-state-store.js.map +1 -1
  139. package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/state-stores/file-state-store.js +0 -3
  140. package/node_modules/@slack/bolt/node_modules/@slack/oauth/dist/state-stores/file-state-store.js.map +1 -1
  141. package/node_modules/@slack/bolt/node_modules/@slack/oauth/package.json +9 -8
  142. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/README.md +221 -0
  143. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/package.json +67 -0
  144. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.d.ts +96 -0
  145. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.d.ts.map +1 -0
  146. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.js +242 -0
  147. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.js.map +1 -0
  148. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SocketModeClient.d.ts +98 -0
  149. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SocketModeClient.d.ts.map +1 -0
  150. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SocketModeClient.js +363 -0
  151. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SocketModeClient.js.map +1 -0
  152. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SocketModeOptions.d.ts +47 -0
  153. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SocketModeOptions.d.ts.map +1 -0
  154. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/errors.d.ts +60 -0
  155. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/errors.d.ts.map +1 -0
  156. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/errors.js +68 -0
  157. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/errors.js.map +1 -0
  158. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/index.d.ts +6 -0
  159. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/index.d.ts.map +1 -0
  160. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/index.js +13 -0
  161. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/index.js.map +1 -0
  162. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/package.json +67 -0
  163. package/node_modules/@slack/bolt/node_modules/@types/node/README.md +1 -1
  164. package/node_modules/@slack/bolt/node_modules/@types/node/fs/promises.d.ts +6 -16
  165. package/node_modules/@slack/bolt/node_modules/@types/node/package.json +2 -2
  166. package/node_modules/@slack/bolt/node_modules/@types/ws/README.md +15 -0
  167. package/node_modules/@slack/bolt/node_modules/@types/ws/index.d.mts +451 -0
  168. package/node_modules/@slack/bolt/node_modules/@types/ws/index.d.ts +445 -0
  169. package/node_modules/@slack/bolt/node_modules/@types/ws/package.json +72 -0
  170. package/node_modules/@slack/bolt/node_modules/agent-base/README.md +145 -0
  171. package/node_modules/@slack/bolt/node_modules/agent-base/dist/src/index.d.ts +78 -0
  172. package/node_modules/@slack/bolt/node_modules/agent-base/dist/src/index.js +203 -0
  173. package/node_modules/@slack/bolt/node_modules/agent-base/dist/src/index.js.map +1 -0
  174. package/node_modules/@slack/bolt/node_modules/agent-base/dist/src/promisify.d.ts +4 -0
  175. package/node_modules/@slack/bolt/node_modules/agent-base/dist/src/promisify.js +18 -0
  176. package/node_modules/@slack/bolt/node_modules/agent-base/dist/src/promisify.js.map +1 -0
  177. package/node_modules/@slack/bolt/node_modules/agent-base/package.json +64 -0
  178. package/node_modules/@slack/bolt/node_modules/agent-base/src/index.ts +345 -0
  179. package/node_modules/@slack/bolt/node_modules/agent-base/src/promisify.ts +33 -0
  180. package/node_modules/@slack/bolt/node_modules/asynckit/LICENSE +21 -0
  181. package/node_modules/@slack/bolt/node_modules/asynckit/README.md +233 -0
  182. package/node_modules/@slack/bolt/node_modules/asynckit/bench.js +76 -0
  183. package/node_modules/@slack/bolt/node_modules/asynckit/index.js +6 -0
  184. package/node_modules/@slack/bolt/node_modules/asynckit/lib/abort.js +29 -0
  185. package/node_modules/@slack/bolt/node_modules/asynckit/lib/async.js +34 -0
  186. package/node_modules/@slack/bolt/node_modules/asynckit/lib/defer.js +26 -0
  187. package/node_modules/@slack/bolt/node_modules/asynckit/lib/iterate.js +75 -0
  188. package/node_modules/@slack/bolt/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  189. package/node_modules/@slack/bolt/node_modules/asynckit/lib/readable_parallel.js +25 -0
  190. package/node_modules/@slack/bolt/node_modules/asynckit/lib/readable_serial.js +25 -0
  191. package/node_modules/@slack/bolt/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  192. package/node_modules/@slack/bolt/node_modules/asynckit/lib/state.js +37 -0
  193. package/node_modules/@slack/bolt/node_modules/asynckit/lib/streamify.js +141 -0
  194. package/node_modules/@slack/bolt/node_modules/asynckit/lib/terminator.js +29 -0
  195. package/node_modules/@slack/bolt/node_modules/asynckit/package.json +63 -0
  196. package/node_modules/@slack/bolt/node_modules/asynckit/parallel.js +43 -0
  197. package/node_modules/@slack/bolt/node_modules/asynckit/serial.js +17 -0
  198. package/node_modules/@slack/bolt/node_modules/asynckit/serialOrdered.js +75 -0
  199. package/node_modules/@slack/bolt/node_modules/asynckit/stream.js +21 -0
  200. package/node_modules/@slack/bolt/node_modules/axios/CHANGELOG.md +1934 -0
  201. package/node_modules/@slack/bolt/node_modules/axios/LICENSE +7 -0
  202. package/node_modules/@slack/bolt/node_modules/axios/MIGRATION_GUIDE.md +877 -0
  203. package/node_modules/@slack/bolt/node_modules/axios/README.md +2851 -0
  204. package/node_modules/@slack/bolt/node_modules/axios/dist/axios.js +5807 -0
  205. package/node_modules/@slack/bolt/node_modules/axios/dist/axios.min.js +5 -0
  206. package/node_modules/@slack/bolt/node_modules/axios/dist/axios.min.js.map +1 -0
  207. package/node_modules/@slack/bolt/node_modules/axios/dist/browser/axios.cjs +5829 -0
  208. package/node_modules/@slack/bolt/node_modules/axios/dist/esm/axios.js +5850 -0
  209. package/node_modules/@slack/bolt/node_modules/axios/dist/esm/axios.min.js +3 -0
  210. package/node_modules/@slack/bolt/node_modules/axios/dist/esm/axios.min.js.map +1 -0
  211. package/node_modules/@slack/bolt/node_modules/axios/dist/node/axios.cjs +6808 -0
  212. package/node_modules/@slack/bolt/node_modules/axios/index.d.cts +766 -0
  213. package/node_modules/@slack/bolt/node_modules/axios/index.d.ts +787 -0
  214. package/node_modules/@slack/bolt/node_modules/axios/index.js +45 -0
  215. package/node_modules/@slack/bolt/node_modules/axios/lib/adapters/README.md +36 -0
  216. package/node_modules/@slack/bolt/node_modules/axios/lib/adapters/adapters.js +132 -0
  217. package/node_modules/@slack/bolt/node_modules/axios/lib/adapters/fetch.js +696 -0
  218. package/node_modules/@slack/bolt/node_modules/axios/lib/adapters/http.js +1490 -0
  219. package/node_modules/@slack/bolt/node_modules/axios/lib/adapters/xhr.js +277 -0
  220. package/node_modules/@slack/bolt/node_modules/axios/lib/axios.js +89 -0
  221. package/node_modules/@slack/bolt/node_modules/axios/lib/cancel/CancelToken.js +135 -0
  222. package/node_modules/@slack/bolt/node_modules/axios/lib/cancel/CanceledError.js +22 -0
  223. package/node_modules/@slack/bolt/node_modules/axios/lib/cancel/isCancel.js +5 -0
  224. package/node_modules/@slack/bolt/node_modules/axios/lib/core/Axios.js +306 -0
  225. package/node_modules/@slack/bolt/node_modules/axios/lib/core/AxiosError.js +219 -0
  226. package/node_modules/@slack/bolt/node_modules/axios/lib/core/AxiosHeaders.js +474 -0
  227. package/node_modules/@slack/bolt/node_modules/axios/lib/core/InterceptorManager.js +171 -0
  228. package/node_modules/@slack/bolt/node_modules/axios/lib/core/README.md +8 -0
  229. package/node_modules/@slack/bolt/node_modules/axios/lib/core/buildFullPath.js +76 -0
  230. package/node_modules/@slack/bolt/node_modules/axios/lib/core/dispatchRequest.js +95 -0
  231. package/node_modules/@slack/bolt/node_modules/axios/lib/core/mergeConfig.js +174 -0
  232. package/node_modules/@slack/bolt/node_modules/axios/lib/core/methodList.js +17 -0
  233. package/node_modules/@slack/bolt/node_modules/axios/lib/core/setFormDataHeaders.js +27 -0
  234. package/node_modules/@slack/bolt/node_modules/axios/lib/core/settle.js +27 -0
  235. package/node_modules/@slack/bolt/node_modules/axios/lib/core/transformData.js +28 -0
  236. package/node_modules/@slack/bolt/node_modules/axios/lib/defaults/index.js +178 -0
  237. package/node_modules/@slack/bolt/node_modules/axios/lib/defaults/transitional.js +10 -0
  238. package/node_modules/@slack/bolt/node_modules/axios/lib/env/README.md +3 -0
  239. package/node_modules/@slack/bolt/node_modules/axios/lib/env/classes/FormData.js +2 -0
  240. package/node_modules/@slack/bolt/node_modules/axios/lib/env/data.js +1 -0
  241. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/AxiosTransformStream.js +156 -0
  242. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +59 -0
  243. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/Http2Sessions.js +121 -0
  244. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/HttpStatusCode.js +88 -0
  245. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/README.md +7 -0
  246. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +29 -0
  247. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/bind.js +14 -0
  248. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/buildURL.js +69 -0
  249. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/callbackify.js +18 -0
  250. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/combineURLs.js +23 -0
  251. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/composeSignals.js +68 -0
  252. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/cookies.js +64 -0
  253. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/deprecatedMethod.js +31 -0
  254. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +166 -0
  255. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/formDataToJSON.js +125 -0
  256. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/formDataToStream.js +119 -0
  257. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/fromDataURI.js +69 -0
  258. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/isAbsoluteURL.js +19 -0
  259. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
  260. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/isURLSameOrigin.js +16 -0
  261. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js +24 -0
  262. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/null.js +2 -0
  263. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/parseHeaders.js +71 -0
  264. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
  265. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/progressEventReducer.js +54 -0
  266. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/readBlob.js +15 -0
  267. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/resolveConfig.js +107 -0
  268. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
  269. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/shouldBypassProxy.js +505 -0
  270. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/speedometer.js +55 -0
  271. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/spread.js +28 -0
  272. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/throttle.js +45 -0
  273. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/toFormData.js +279 -0
  274. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
  275. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/trackStream.js +89 -0
  276. package/node_modules/@slack/bolt/node_modules/axios/lib/helpers/validator.js +112 -0
  277. package/node_modules/@slack/bolt/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
  278. package/node_modules/@slack/bolt/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
  279. package/node_modules/@slack/bolt/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +4 -0
  280. package/node_modules/@slack/bolt/node_modules/axios/lib/platform/browser/index.js +13 -0
  281. package/node_modules/@slack/bolt/node_modules/axios/lib/platform/common/utils.js +52 -0
  282. package/node_modules/@slack/bolt/node_modules/axios/lib/platform/index.js +7 -0
  283. package/node_modules/@slack/bolt/node_modules/axios/lib/platform/node/classes/Buffer.js +11 -0
  284. package/node_modules/@slack/bolt/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
  285. package/node_modules/@slack/bolt/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
  286. package/node_modules/@slack/bolt/node_modules/axios/lib/platform/node/index.js +37 -0
  287. package/node_modules/@slack/bolt/node_modules/axios/lib/utils.js +1150 -0
  288. package/node_modules/@slack/bolt/node_modules/axios/package.json +203 -0
  289. package/node_modules/@slack/bolt/node_modules/combined-stream/License +19 -0
  290. package/node_modules/@slack/bolt/node_modules/combined-stream/Readme.md +138 -0
  291. package/node_modules/@slack/bolt/node_modules/combined-stream/lib/combined_stream.js +208 -0
  292. package/node_modules/@slack/bolt/node_modules/combined-stream/package.json +25 -0
  293. package/node_modules/@slack/bolt/node_modules/delayed-stream/.npmignore +1 -0
  294. package/node_modules/@slack/bolt/node_modules/delayed-stream/License +19 -0
  295. package/node_modules/@slack/bolt/node_modules/delayed-stream/Makefile +7 -0
  296. package/node_modules/@slack/bolt/node_modules/delayed-stream/Readme.md +141 -0
  297. package/node_modules/@slack/bolt/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  298. package/node_modules/@slack/bolt/node_modules/delayed-stream/package.json +27 -0
  299. package/node_modules/@slack/bolt/node_modules/es-set-tostringtag/.eslintrc +13 -0
  300. package/node_modules/@slack/bolt/node_modules/es-set-tostringtag/.nycrc +9 -0
  301. package/node_modules/@slack/bolt/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
  302. package/node_modules/@slack/bolt/node_modules/es-set-tostringtag/LICENSE +21 -0
  303. package/node_modules/@slack/bolt/node_modules/es-set-tostringtag/README.md +53 -0
  304. package/node_modules/@slack/bolt/node_modules/es-set-tostringtag/index.d.ts +10 -0
  305. package/node_modules/@slack/bolt/node_modules/es-set-tostringtag/index.js +35 -0
  306. package/node_modules/@slack/bolt/node_modules/es-set-tostringtag/package.json +78 -0
  307. package/node_modules/@slack/bolt/node_modules/es-set-tostringtag/test/index.js +85 -0
  308. package/node_modules/@slack/bolt/node_modules/es-set-tostringtag/tsconfig.json +9 -0
  309. package/node_modules/@slack/bolt/node_modules/follow-redirects/LICENSE +18 -0
  310. package/node_modules/@slack/bolt/node_modules/follow-redirects/README.md +157 -0
  311. package/node_modules/@slack/bolt/node_modules/follow-redirects/debug.js +15 -0
  312. package/node_modules/@slack/bolt/node_modules/follow-redirects/http.js +1 -0
  313. package/node_modules/@slack/bolt/node_modules/follow-redirects/https.js +1 -0
  314. package/node_modules/@slack/bolt/node_modules/follow-redirects/index.js +709 -0
  315. package/node_modules/@slack/bolt/node_modules/follow-redirects/package.json +58 -0
  316. package/node_modules/@slack/bolt/node_modules/form-data/CHANGELOG.md +669 -0
  317. package/node_modules/@slack/bolt/node_modules/form-data/License +19 -0
  318. package/node_modules/@slack/bolt/node_modules/form-data/README.md +350 -0
  319. package/node_modules/@slack/bolt/node_modules/form-data/index.d.ts +51 -0
  320. package/node_modules/@slack/bolt/node_modules/form-data/lib/browser.js +4 -0
  321. package/node_modules/@slack/bolt/node_modules/form-data/lib/form_data.js +514 -0
  322. package/node_modules/@slack/bolt/node_modules/form-data/lib/populate.js +10 -0
  323. package/node_modules/@slack/bolt/node_modules/form-data/node_modules/mime-db/HISTORY.md +507 -0
  324. package/node_modules/@slack/bolt/node_modules/form-data/node_modules/mime-db/LICENSE +23 -0
  325. package/node_modules/@slack/bolt/node_modules/form-data/node_modules/mime-db/README.md +100 -0
  326. package/node_modules/@slack/bolt/node_modules/form-data/node_modules/mime-db/db.json +8519 -0
  327. package/node_modules/@slack/bolt/node_modules/form-data/node_modules/mime-db/index.js +12 -0
  328. package/node_modules/@slack/bolt/node_modules/form-data/node_modules/mime-db/package.json +60 -0
  329. package/node_modules/@slack/bolt/node_modules/form-data/node_modules/mime-types/HISTORY.md +397 -0
  330. package/node_modules/@slack/bolt/node_modules/form-data/node_modules/mime-types/LICENSE +23 -0
  331. package/node_modules/@slack/bolt/node_modules/form-data/node_modules/mime-types/README.md +113 -0
  332. package/node_modules/@slack/bolt/node_modules/form-data/node_modules/mime-types/index.js +188 -0
  333. package/node_modules/@slack/bolt/node_modules/form-data/node_modules/mime-types/package.json +44 -0
  334. package/node_modules/@slack/bolt/node_modules/form-data/package.json +83 -0
  335. package/node_modules/@slack/bolt/node_modules/has-tostringtag/.eslintrc +5 -0
  336. package/node_modules/@slack/bolt/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
  337. package/node_modules/@slack/bolt/node_modules/has-tostringtag/.nycrc +13 -0
  338. package/node_modules/@slack/bolt/node_modules/has-tostringtag/CHANGELOG.md +42 -0
  339. package/node_modules/@slack/bolt/node_modules/has-tostringtag/LICENSE +21 -0
  340. package/node_modules/@slack/bolt/node_modules/has-tostringtag/README.md +46 -0
  341. package/node_modules/@slack/bolt/node_modules/has-tostringtag/index.d.ts +3 -0
  342. package/node_modules/@slack/bolt/node_modules/has-tostringtag/index.js +8 -0
  343. package/node_modules/@slack/bolt/node_modules/has-tostringtag/package.json +108 -0
  344. package/node_modules/@slack/bolt/node_modules/has-tostringtag/shams.d.ts +3 -0
  345. package/node_modules/@slack/bolt/node_modules/has-tostringtag/shams.js +8 -0
  346. package/node_modules/@slack/bolt/node_modules/has-tostringtag/test/index.js +21 -0
  347. package/node_modules/@slack/bolt/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
  348. package/node_modules/@slack/bolt/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
  349. package/node_modules/@slack/bolt/node_modules/has-tostringtag/test/tests.js +15 -0
  350. package/node_modules/@slack/bolt/node_modules/has-tostringtag/tsconfig.json +49 -0
  351. package/node_modules/@slack/bolt/node_modules/https-proxy-agent/README.md +137 -0
  352. package/node_modules/@slack/bolt/node_modules/https-proxy-agent/dist/agent.d.ts +30 -0
  353. package/node_modules/@slack/bolt/node_modules/https-proxy-agent/dist/agent.js +177 -0
  354. package/node_modules/@slack/bolt/node_modules/https-proxy-agent/dist/agent.js.map +1 -0
  355. package/node_modules/@slack/bolt/node_modules/https-proxy-agent/dist/index.d.ts +23 -0
  356. package/node_modules/@slack/bolt/node_modules/https-proxy-agent/dist/index.js +14 -0
  357. package/node_modules/@slack/bolt/node_modules/https-proxy-agent/dist/index.js.map +1 -0
  358. package/node_modules/@slack/bolt/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
  359. package/node_modules/@slack/bolt/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
  360. package/node_modules/@slack/bolt/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
  361. package/node_modules/@slack/bolt/node_modules/https-proxy-agent/package.json +56 -0
  362. package/node_modules/@slack/bolt/node_modules/iconv-lite/encodings/sbcs-data.js +0 -2
  363. package/node_modules/@slack/bolt/node_modules/iconv-lite/encodings/utf32.js +3 -10
  364. package/node_modules/@slack/bolt/node_modules/iconv-lite/package.json +2 -2
  365. package/node_modules/@slack/bolt/node_modules/iconv-lite/types/encodings.d.ts +0 -2
  366. package/node_modules/@slack/bolt/node_modules/media-typer/README.md +14 -15
  367. package/node_modules/@slack/bolt/node_modules/media-typer/index.js +8 -0
  368. package/node_modules/@slack/bolt/node_modules/media-typer/package.json +12 -16
  369. package/node_modules/@slack/bolt/node_modules/path-to-regexp/Readme.md +3 -3
  370. package/node_modules/@slack/bolt/node_modules/path-to-regexp/dist/index.js +158 -135
  371. package/node_modules/@slack/bolt/node_modules/path-to-regexp/dist/index.js.map +1 -1
  372. package/node_modules/@slack/bolt/node_modules/path-to-regexp/package.json +2 -2
  373. package/node_modules/@slack/bolt/node_modules/proxy-addr/HISTORY.md +60 -54
  374. package/node_modules/@slack/bolt/node_modules/proxy-addr/README.md +1 -1
  375. package/node_modules/@slack/bolt/node_modules/proxy-addr/index.js +32 -0
  376. package/node_modules/@slack/bolt/node_modules/proxy-addr/package.json +8 -4
  377. package/node_modules/@slack/bolt/node_modules/proxy-from-env/LICENSE +20 -0
  378. package/node_modules/@slack/bolt/node_modules/proxy-from-env/README.md +163 -0
  379. package/node_modules/@slack/bolt/node_modules/proxy-from-env/index.cjs +105 -0
  380. package/node_modules/@slack/bolt/node_modules/proxy-from-env/index.js +103 -0
  381. package/node_modules/@slack/bolt/node_modules/proxy-from-env/package.json +43 -0
  382. package/node_modules/@slack/bolt/node_modules/qs/CHANGELOG.md +0 -11
  383. package/node_modules/@slack/bolt/node_modules/qs/dist/qs.js +17 -17
  384. package/node_modules/@slack/bolt/node_modules/qs/lib/parse.js +8 -19
  385. package/node_modules/@slack/bolt/node_modules/qs/lib/utils.js +8 -47
  386. package/node_modules/@slack/bolt/node_modules/qs/package.json +5 -6
  387. package/node_modules/@slack/bolt/node_modules/qs/test/parse.js +0 -230
  388. package/node_modules/@slack/bolt/node_modules/qs/test/utils.js +0 -194
  389. package/node_modules/@slack/bolt/package.json +11 -10
  390. package/node_modules/@slack/types/README.md +1 -1
  391. package/node_modules/@slack/types/dist/events/app.d.ts +0 -28
  392. package/node_modules/@slack/types/dist/events/app.d.ts.map +1 -1
  393. package/node_modules/@slack/types/dist/events/index.d.ts +2 -2
  394. package/node_modules/@slack/types/dist/events/index.d.ts.map +1 -1
  395. package/node_modules/@slack/types/dist/events/index.js.map +1 -1
  396. package/node_modules/@slack/types/dist/events/message.d.ts +0 -2
  397. package/node_modules/@slack/types/dist/events/message.d.ts.map +1 -1
  398. package/node_modules/@slack/types/package.json +3 -3
  399. package/node_modules/@slack/web-api/README.md +1 -1
  400. package/node_modules/@slack/web-api/dist/WebClient.d.ts +71 -42
  401. package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
  402. package/node_modules/@slack/web-api/dist/WebClient.js +248 -180
  403. package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
  404. package/node_modules/@slack/web-api/dist/chat-stream.js +22 -37
  405. package/node_modules/@slack/web-api/dist/chat-stream.js.map +1 -1
  406. package/node_modules/@slack/web-api/dist/errors.d.ts +51 -32
  407. package/node_modules/@slack/web-api/dist/errors.d.ts.map +1 -1
  408. package/node_modules/@slack/web-api/dist/errors.js +55 -64
  409. package/node_modules/@slack/web-api/dist/errors.js.map +1 -1
  410. package/node_modules/@slack/web-api/dist/file-upload.d.ts +9 -0
  411. package/node_modules/@slack/web-api/dist/file-upload.d.ts.map +1 -1
  412. package/node_modules/@slack/web-api/dist/file-upload.js +46 -41
  413. package/node_modules/@slack/web-api/dist/file-upload.js.map +1 -1
  414. package/node_modules/@slack/web-api/dist/index.d.ts +2 -2
  415. package/node_modules/@slack/web-api/dist/index.d.ts.map +1 -1
  416. package/node_modules/@slack/web-api/dist/index.js +1 -8
  417. package/node_modules/@slack/web-api/dist/index.js.map +1 -1
  418. package/node_modules/@slack/web-api/dist/methods.d.ts +38 -2
  419. package/node_modules/@slack/web-api/dist/methods.d.ts.map +1 -1
  420. package/node_modules/@slack/web-api/dist/methods.js +1384 -1347
  421. package/node_modules/@slack/web-api/dist/methods.js.map +1 -1
  422. package/node_modules/@slack/web-api/dist/types/request/files.d.ts +1 -0
  423. package/node_modules/@slack/web-api/dist/types/request/files.d.ts.map +1 -1
  424. package/node_modules/@slack/web-api/dist/types/request/index.d.ts +3 -3
  425. package/node_modules/@slack/web-api/dist/types/request/index.d.ts.map +1 -1
  426. package/node_modules/@slack/web-api/dist/types/request/manifest.d.ts +1 -66
  427. package/node_modules/@slack/web-api/dist/types/request/manifest.d.ts.map +1 -1
  428. package/node_modules/@slack/web-api/dist/types/request/rtm.d.ts +14 -1
  429. package/node_modules/@slack/web-api/dist/types/request/rtm.d.ts.map +1 -1
  430. package/node_modules/@slack/web-api/dist/types/request/workflows.d.ts +29 -0
  431. package/node_modules/@slack/web-api/dist/types/request/workflows.d.ts.map +1 -1
  432. package/node_modules/@slack/web-api/node_modules/@slack/logger/README.md +1 -1
  433. package/node_modules/@slack/web-api/node_modules/@slack/logger/dist/index.js +13 -17
  434. package/node_modules/@slack/web-api/node_modules/@slack/logger/dist/index.js.map +1 -1
  435. package/node_modules/@slack/web-api/node_modules/@slack/logger/package.json +7 -6
  436. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  437. package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +6 -16
  438. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  439. package/node_modules/@slack/web-api/node_modules/agent-base/README.md +145 -0
  440. package/node_modules/@slack/web-api/node_modules/agent-base/dist/src/index.d.ts +78 -0
  441. package/node_modules/@slack/web-api/node_modules/agent-base/dist/src/index.js +203 -0
  442. package/node_modules/@slack/web-api/node_modules/agent-base/dist/src/index.js.map +1 -0
  443. package/node_modules/@slack/web-api/node_modules/agent-base/dist/src/promisify.d.ts +4 -0
  444. package/node_modules/@slack/web-api/node_modules/agent-base/dist/src/promisify.js +18 -0
  445. package/node_modules/@slack/web-api/node_modules/agent-base/dist/src/promisify.js.map +1 -0
  446. package/node_modules/@slack/web-api/node_modules/agent-base/package.json +64 -0
  447. package/node_modules/@slack/web-api/node_modules/agent-base/src/index.ts +345 -0
  448. package/node_modules/@slack/web-api/node_modules/agent-base/src/promisify.ts +33 -0
  449. package/node_modules/@slack/web-api/node_modules/asynckit/LICENSE +21 -0
  450. package/node_modules/@slack/web-api/node_modules/asynckit/README.md +233 -0
  451. package/node_modules/@slack/web-api/node_modules/asynckit/bench.js +76 -0
  452. package/node_modules/@slack/web-api/node_modules/asynckit/index.js +6 -0
  453. package/node_modules/@slack/web-api/node_modules/asynckit/lib/abort.js +29 -0
  454. package/node_modules/@slack/web-api/node_modules/asynckit/lib/async.js +34 -0
  455. package/node_modules/@slack/web-api/node_modules/asynckit/lib/defer.js +26 -0
  456. package/node_modules/@slack/web-api/node_modules/asynckit/lib/iterate.js +75 -0
  457. package/node_modules/@slack/web-api/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  458. package/node_modules/@slack/web-api/node_modules/asynckit/lib/readable_parallel.js +25 -0
  459. package/node_modules/@slack/web-api/node_modules/asynckit/lib/readable_serial.js +25 -0
  460. package/node_modules/@slack/web-api/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  461. package/node_modules/@slack/web-api/node_modules/asynckit/lib/state.js +37 -0
  462. package/node_modules/@slack/web-api/node_modules/asynckit/lib/streamify.js +141 -0
  463. package/node_modules/@slack/web-api/node_modules/asynckit/lib/terminator.js +29 -0
  464. package/node_modules/@slack/web-api/node_modules/asynckit/package.json +63 -0
  465. package/node_modules/@slack/web-api/node_modules/asynckit/parallel.js +43 -0
  466. package/node_modules/@slack/web-api/node_modules/asynckit/serial.js +17 -0
  467. package/node_modules/@slack/web-api/node_modules/asynckit/serialOrdered.js +75 -0
  468. package/node_modules/@slack/web-api/node_modules/asynckit/stream.js +21 -0
  469. package/node_modules/@slack/web-api/node_modules/axios/CHANGELOG.md +1934 -0
  470. package/node_modules/@slack/web-api/node_modules/axios/LICENSE +7 -0
  471. package/node_modules/@slack/web-api/node_modules/axios/MIGRATION_GUIDE.md +877 -0
  472. package/node_modules/@slack/web-api/node_modules/axios/README.md +2851 -0
  473. package/node_modules/@slack/web-api/node_modules/axios/dist/axios.js +5807 -0
  474. package/node_modules/@slack/web-api/node_modules/axios/dist/axios.min.js +5 -0
  475. package/node_modules/@slack/web-api/node_modules/axios/dist/axios.min.js.map +1 -0
  476. package/node_modules/@slack/web-api/node_modules/axios/dist/browser/axios.cjs +5829 -0
  477. package/node_modules/@slack/web-api/node_modules/axios/dist/esm/axios.js +5850 -0
  478. package/node_modules/@slack/web-api/node_modules/axios/dist/esm/axios.min.js +3 -0
  479. package/node_modules/@slack/web-api/node_modules/axios/dist/esm/axios.min.js.map +1 -0
  480. package/node_modules/@slack/web-api/node_modules/axios/dist/node/axios.cjs +6808 -0
  481. package/node_modules/@slack/web-api/node_modules/axios/index.d.cts +766 -0
  482. package/node_modules/@slack/web-api/node_modules/axios/index.d.ts +787 -0
  483. package/node_modules/@slack/web-api/node_modules/axios/index.js +45 -0
  484. package/node_modules/@slack/web-api/node_modules/axios/lib/adapters/README.md +36 -0
  485. package/node_modules/@slack/web-api/node_modules/axios/lib/adapters/adapters.js +132 -0
  486. package/node_modules/@slack/web-api/node_modules/axios/lib/adapters/fetch.js +696 -0
  487. package/node_modules/@slack/web-api/node_modules/axios/lib/adapters/http.js +1490 -0
  488. package/node_modules/@slack/web-api/node_modules/axios/lib/adapters/xhr.js +277 -0
  489. package/node_modules/@slack/web-api/node_modules/axios/lib/axios.js +89 -0
  490. package/node_modules/@slack/web-api/node_modules/axios/lib/cancel/CancelToken.js +135 -0
  491. package/node_modules/@slack/web-api/node_modules/axios/lib/cancel/CanceledError.js +22 -0
  492. package/node_modules/@slack/web-api/node_modules/axios/lib/cancel/isCancel.js +5 -0
  493. package/node_modules/@slack/web-api/node_modules/axios/lib/core/Axios.js +306 -0
  494. package/node_modules/@slack/web-api/node_modules/axios/lib/core/AxiosError.js +219 -0
  495. package/node_modules/@slack/web-api/node_modules/axios/lib/core/AxiosHeaders.js +474 -0
  496. package/node_modules/@slack/web-api/node_modules/axios/lib/core/InterceptorManager.js +171 -0
  497. package/node_modules/@slack/web-api/node_modules/axios/lib/core/README.md +8 -0
  498. package/node_modules/@slack/web-api/node_modules/axios/lib/core/buildFullPath.js +76 -0
  499. package/node_modules/@slack/web-api/node_modules/axios/lib/core/dispatchRequest.js +95 -0
  500. package/node_modules/@slack/web-api/node_modules/axios/lib/core/mergeConfig.js +174 -0
  501. package/node_modules/@slack/web-api/node_modules/axios/lib/core/methodList.js +17 -0
  502. package/node_modules/@slack/web-api/node_modules/axios/lib/core/setFormDataHeaders.js +27 -0
  503. package/node_modules/@slack/web-api/node_modules/axios/lib/core/settle.js +27 -0
  504. package/node_modules/@slack/web-api/node_modules/axios/lib/core/transformData.js +28 -0
  505. package/node_modules/@slack/web-api/node_modules/axios/lib/defaults/index.js +178 -0
  506. package/node_modules/@slack/web-api/node_modules/axios/lib/defaults/transitional.js +10 -0
  507. package/node_modules/@slack/web-api/node_modules/axios/lib/env/README.md +3 -0
  508. package/node_modules/@slack/web-api/node_modules/axios/lib/env/classes/FormData.js +2 -0
  509. package/node_modules/@slack/web-api/node_modules/axios/lib/env/data.js +1 -0
  510. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/AxiosTransformStream.js +156 -0
  511. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +59 -0
  512. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/Http2Sessions.js +121 -0
  513. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/HttpStatusCode.js +88 -0
  514. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/README.md +7 -0
  515. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +29 -0
  516. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/bind.js +14 -0
  517. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/buildURL.js +69 -0
  518. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/callbackify.js +18 -0
  519. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/combineURLs.js +23 -0
  520. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/composeSignals.js +68 -0
  521. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/cookies.js +64 -0
  522. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/deprecatedMethod.js +31 -0
  523. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +166 -0
  524. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/formDataToJSON.js +125 -0
  525. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/formDataToStream.js +119 -0
  526. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/fromDataURI.js +69 -0
  527. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/isAbsoluteURL.js +19 -0
  528. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
  529. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/isURLSameOrigin.js +16 -0
  530. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js +24 -0
  531. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/null.js +2 -0
  532. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/parseHeaders.js +71 -0
  533. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
  534. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/progressEventReducer.js +54 -0
  535. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/readBlob.js +15 -0
  536. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/resolveConfig.js +107 -0
  537. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
  538. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/shouldBypassProxy.js +505 -0
  539. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/speedometer.js +55 -0
  540. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/spread.js +28 -0
  541. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/throttle.js +45 -0
  542. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/toFormData.js +279 -0
  543. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
  544. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/trackStream.js +89 -0
  545. package/node_modules/@slack/web-api/node_modules/axios/lib/helpers/validator.js +112 -0
  546. package/node_modules/@slack/web-api/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
  547. package/node_modules/@slack/web-api/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
  548. package/node_modules/@slack/web-api/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +4 -0
  549. package/node_modules/@slack/web-api/node_modules/axios/lib/platform/browser/index.js +13 -0
  550. package/node_modules/@slack/web-api/node_modules/axios/lib/platform/common/utils.js +52 -0
  551. package/node_modules/@slack/web-api/node_modules/axios/lib/platform/index.js +7 -0
  552. package/node_modules/@slack/web-api/node_modules/axios/lib/platform/node/classes/Buffer.js +11 -0
  553. package/node_modules/@slack/web-api/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
  554. package/node_modules/@slack/web-api/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
  555. package/node_modules/@slack/web-api/node_modules/axios/lib/platform/node/index.js +37 -0
  556. package/node_modules/@slack/web-api/node_modules/axios/lib/utils.js +1150 -0
  557. package/node_modules/@slack/web-api/node_modules/axios/package.json +203 -0
  558. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  559. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  560. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  561. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  562. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/LICENSE +21 -0
  563. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/README.md +62 -0
  564. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  565. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  566. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  567. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  568. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  569. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  570. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  571. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  572. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  573. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/index.js +15 -0
  574. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/package.json +85 -0
  575. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  576. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  577. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  578. package/node_modules/@slack/web-api/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  579. package/node_modules/@slack/web-api/node_modules/combined-stream/License +19 -0
  580. package/node_modules/@slack/web-api/node_modules/combined-stream/Readme.md +138 -0
  581. package/node_modules/@slack/web-api/node_modules/combined-stream/lib/combined_stream.js +208 -0
  582. package/node_modules/@slack/web-api/node_modules/combined-stream/package.json +25 -0
  583. package/node_modules/@slack/web-api/node_modules/debug/LICENSE +20 -0
  584. package/node_modules/@slack/web-api/node_modules/debug/README.md +481 -0
  585. package/node_modules/@slack/web-api/node_modules/debug/package.json +64 -0
  586. package/node_modules/@slack/web-api/node_modules/debug/src/browser.js +272 -0
  587. package/node_modules/@slack/web-api/node_modules/debug/src/common.js +292 -0
  588. package/node_modules/@slack/web-api/node_modules/debug/src/index.js +10 -0
  589. package/node_modules/@slack/web-api/node_modules/debug/src/node.js +263 -0
  590. package/node_modules/@slack/web-api/node_modules/delayed-stream/.npmignore +1 -0
  591. package/node_modules/@slack/web-api/node_modules/delayed-stream/License +19 -0
  592. package/node_modules/@slack/web-api/node_modules/delayed-stream/Makefile +7 -0
  593. package/node_modules/@slack/web-api/node_modules/delayed-stream/Readme.md +141 -0
  594. package/node_modules/@slack/web-api/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  595. package/node_modules/@slack/web-api/node_modules/delayed-stream/package.json +27 -0
  596. package/node_modules/@slack/web-api/node_modules/dunder-proto/.eslintrc +5 -0
  597. package/node_modules/@slack/web-api/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  598. package/node_modules/@slack/web-api/node_modules/dunder-proto/.nycrc +13 -0
  599. package/node_modules/@slack/web-api/node_modules/dunder-proto/CHANGELOG.md +24 -0
  600. package/node_modules/@slack/web-api/node_modules/dunder-proto/LICENSE +21 -0
  601. package/node_modules/@slack/web-api/node_modules/dunder-proto/README.md +54 -0
  602. package/node_modules/@slack/web-api/node_modules/dunder-proto/get.d.ts +5 -0
  603. package/node_modules/@slack/web-api/node_modules/dunder-proto/get.js +30 -0
  604. package/node_modules/@slack/web-api/node_modules/dunder-proto/package.json +76 -0
  605. package/node_modules/@slack/web-api/node_modules/dunder-proto/set.d.ts +5 -0
  606. package/node_modules/@slack/web-api/node_modules/dunder-proto/set.js +35 -0
  607. package/node_modules/@slack/web-api/node_modules/dunder-proto/test/get.js +34 -0
  608. package/node_modules/@slack/web-api/node_modules/dunder-proto/test/index.js +4 -0
  609. package/node_modules/@slack/web-api/node_modules/dunder-proto/test/set.js +50 -0
  610. package/node_modules/@slack/web-api/node_modules/dunder-proto/tsconfig.json +9 -0
  611. package/node_modules/@slack/web-api/node_modules/es-define-property/.eslintrc +13 -0
  612. package/node_modules/@slack/web-api/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  613. package/node_modules/@slack/web-api/node_modules/es-define-property/.nycrc +9 -0
  614. package/node_modules/@slack/web-api/node_modules/es-define-property/CHANGELOG.md +29 -0
  615. package/node_modules/@slack/web-api/node_modules/es-define-property/LICENSE +21 -0
  616. package/node_modules/@slack/web-api/node_modules/es-define-property/README.md +49 -0
  617. package/node_modules/@slack/web-api/node_modules/es-define-property/index.d.ts +3 -0
  618. package/node_modules/@slack/web-api/node_modules/es-define-property/index.js +14 -0
  619. package/node_modules/@slack/web-api/node_modules/es-define-property/package.json +81 -0
  620. package/node_modules/@slack/web-api/node_modules/es-define-property/test/index.js +56 -0
  621. package/node_modules/@slack/web-api/node_modules/es-define-property/tsconfig.json +10 -0
  622. package/node_modules/@slack/web-api/node_modules/es-errors/.eslintrc +5 -0
  623. package/node_modules/@slack/web-api/node_modules/es-errors/.github/FUNDING.yml +12 -0
  624. package/node_modules/@slack/web-api/node_modules/es-errors/CHANGELOG.md +40 -0
  625. package/node_modules/@slack/web-api/node_modules/es-errors/LICENSE +21 -0
  626. package/node_modules/@slack/web-api/node_modules/es-errors/README.md +55 -0
  627. package/node_modules/@slack/web-api/node_modules/es-errors/eval.d.ts +3 -0
  628. package/node_modules/@slack/web-api/node_modules/es-errors/eval.js +4 -0
  629. package/node_modules/@slack/web-api/node_modules/es-errors/index.d.ts +3 -0
  630. package/node_modules/@slack/web-api/node_modules/es-errors/index.js +4 -0
  631. package/node_modules/@slack/web-api/node_modules/es-errors/package.json +80 -0
  632. package/node_modules/@slack/web-api/node_modules/es-errors/range.d.ts +3 -0
  633. package/node_modules/@slack/web-api/node_modules/es-errors/range.js +4 -0
  634. package/node_modules/@slack/web-api/node_modules/es-errors/ref.d.ts +3 -0
  635. package/node_modules/@slack/web-api/node_modules/es-errors/ref.js +4 -0
  636. package/node_modules/@slack/web-api/node_modules/es-errors/syntax.d.ts +3 -0
  637. package/node_modules/@slack/web-api/node_modules/es-errors/syntax.js +4 -0
  638. package/node_modules/@slack/web-api/node_modules/es-errors/test/index.js +19 -0
  639. package/node_modules/@slack/web-api/node_modules/es-errors/tsconfig.json +49 -0
  640. package/node_modules/@slack/web-api/node_modules/es-errors/type.d.ts +3 -0
  641. package/node_modules/@slack/web-api/node_modules/es-errors/type.js +4 -0
  642. package/node_modules/@slack/web-api/node_modules/es-errors/uri.d.ts +3 -0
  643. package/node_modules/@slack/web-api/node_modules/es-errors/uri.js +4 -0
  644. package/node_modules/@slack/web-api/node_modules/es-object-atoms/.eslintrc +16 -0
  645. package/node_modules/@slack/web-api/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  646. package/node_modules/@slack/web-api/node_modules/es-object-atoms/CHANGELOG.md +44 -0
  647. package/node_modules/@slack/web-api/node_modules/es-object-atoms/LICENSE +21 -0
  648. package/node_modules/@slack/web-api/node_modules/es-object-atoms/README.md +63 -0
  649. package/node_modules/@slack/web-api/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  650. package/node_modules/@slack/web-api/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  651. package/node_modules/@slack/web-api/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  652. package/node_modules/@slack/web-api/node_modules/es-object-atoms/ToObject.js +10 -0
  653. package/node_modules/@slack/web-api/node_modules/es-object-atoms/index.d.ts +3 -0
  654. package/node_modules/@slack/web-api/node_modules/es-object-atoms/index.js +4 -0
  655. package/node_modules/@slack/web-api/node_modules/es-object-atoms/isObject.d.ts +3 -0
  656. package/node_modules/@slack/web-api/node_modules/es-object-atoms/isObject.js +6 -0
  657. package/node_modules/@slack/web-api/node_modules/es-object-atoms/package.json +79 -0
  658. package/node_modules/@slack/web-api/node_modules/es-object-atoms/test/index.js +38 -0
  659. package/node_modules/@slack/web-api/node_modules/es-object-atoms/tsconfig.json +7 -0
  660. package/node_modules/@slack/web-api/node_modules/es-set-tostringtag/.eslintrc +13 -0
  661. package/node_modules/@slack/web-api/node_modules/es-set-tostringtag/.nycrc +9 -0
  662. package/node_modules/@slack/web-api/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
  663. package/node_modules/@slack/web-api/node_modules/es-set-tostringtag/LICENSE +21 -0
  664. package/node_modules/@slack/web-api/node_modules/es-set-tostringtag/README.md +53 -0
  665. package/node_modules/@slack/web-api/node_modules/es-set-tostringtag/index.d.ts +10 -0
  666. package/node_modules/@slack/web-api/node_modules/es-set-tostringtag/index.js +35 -0
  667. package/node_modules/@slack/web-api/node_modules/es-set-tostringtag/package.json +78 -0
  668. package/node_modules/@slack/web-api/node_modules/es-set-tostringtag/test/index.js +85 -0
  669. package/node_modules/@slack/web-api/node_modules/es-set-tostringtag/tsconfig.json +9 -0
  670. package/node_modules/@slack/web-api/node_modules/follow-redirects/LICENSE +18 -0
  671. package/node_modules/@slack/web-api/node_modules/follow-redirects/README.md +157 -0
  672. package/node_modules/@slack/web-api/node_modules/follow-redirects/debug.js +15 -0
  673. package/node_modules/@slack/web-api/node_modules/follow-redirects/http.js +1 -0
  674. package/node_modules/@slack/web-api/node_modules/follow-redirects/https.js +1 -0
  675. package/node_modules/@slack/web-api/node_modules/follow-redirects/index.js +709 -0
  676. package/node_modules/@slack/web-api/node_modules/follow-redirects/package.json +58 -0
  677. package/node_modules/@slack/web-api/node_modules/form-data/CHANGELOG.md +669 -0
  678. package/node_modules/@slack/web-api/node_modules/form-data/License +19 -0
  679. package/node_modules/@slack/web-api/node_modules/form-data/README.md +350 -0
  680. package/node_modules/@slack/web-api/node_modules/form-data/index.d.ts +51 -0
  681. package/node_modules/@slack/web-api/node_modules/form-data/lib/browser.js +4 -0
  682. package/node_modules/@slack/web-api/node_modules/form-data/lib/form_data.js +514 -0
  683. package/node_modules/@slack/web-api/node_modules/form-data/lib/populate.js +10 -0
  684. package/node_modules/@slack/web-api/node_modules/form-data/package.json +83 -0
  685. package/node_modules/@slack/web-api/node_modules/function-bind/.eslintrc +21 -0
  686. package/node_modules/@slack/web-api/node_modules/function-bind/.github/FUNDING.yml +12 -0
  687. package/node_modules/@slack/web-api/node_modules/function-bind/.github/SECURITY.md +3 -0
  688. package/node_modules/@slack/web-api/node_modules/function-bind/.nycrc +13 -0
  689. package/node_modules/@slack/web-api/node_modules/function-bind/CHANGELOG.md +136 -0
  690. package/node_modules/@slack/web-api/node_modules/function-bind/LICENSE +20 -0
  691. package/node_modules/@slack/web-api/node_modules/function-bind/README.md +46 -0
  692. package/node_modules/@slack/web-api/node_modules/function-bind/implementation.js +84 -0
  693. package/node_modules/@slack/web-api/node_modules/function-bind/index.js +5 -0
  694. package/node_modules/@slack/web-api/node_modules/function-bind/package.json +87 -0
  695. package/node_modules/@slack/web-api/node_modules/function-bind/test/.eslintrc +9 -0
  696. package/node_modules/@slack/web-api/node_modules/function-bind/test/index.js +252 -0
  697. package/node_modules/@slack/web-api/node_modules/get-intrinsic/.eslintrc +42 -0
  698. package/node_modules/@slack/web-api/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  699. package/node_modules/@slack/web-api/node_modules/get-intrinsic/.nycrc +9 -0
  700. package/node_modules/@slack/web-api/node_modules/get-intrinsic/CHANGELOG.md +186 -0
  701. package/node_modules/@slack/web-api/node_modules/get-intrinsic/LICENSE +21 -0
  702. package/node_modules/@slack/web-api/node_modules/get-intrinsic/README.md +71 -0
  703. package/node_modules/@slack/web-api/node_modules/get-intrinsic/index.js +378 -0
  704. package/node_modules/@slack/web-api/node_modules/get-intrinsic/package.json +97 -0
  705. package/node_modules/@slack/web-api/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  706. package/node_modules/@slack/web-api/node_modules/get-proto/.eslintrc +10 -0
  707. package/node_modules/@slack/web-api/node_modules/get-proto/.github/FUNDING.yml +12 -0
  708. package/node_modules/@slack/web-api/node_modules/get-proto/.nycrc +9 -0
  709. package/node_modules/@slack/web-api/node_modules/get-proto/CHANGELOG.md +21 -0
  710. package/node_modules/@slack/web-api/node_modules/get-proto/LICENSE +21 -0
  711. package/node_modules/@slack/web-api/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  712. package/node_modules/@slack/web-api/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  713. package/node_modules/@slack/web-api/node_modules/get-proto/README.md +50 -0
  714. package/node_modules/@slack/web-api/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  715. package/node_modules/@slack/web-api/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  716. package/node_modules/@slack/web-api/node_modules/get-proto/index.d.ts +5 -0
  717. package/node_modules/@slack/web-api/node_modules/get-proto/index.js +27 -0
  718. package/node_modules/@slack/web-api/node_modules/get-proto/package.json +81 -0
  719. package/node_modules/@slack/web-api/node_modules/get-proto/test/index.js +68 -0
  720. package/node_modules/@slack/web-api/node_modules/get-proto/tsconfig.json +9 -0
  721. package/node_modules/@slack/web-api/node_modules/gopd/.eslintrc +16 -0
  722. package/node_modules/@slack/web-api/node_modules/gopd/.github/FUNDING.yml +12 -0
  723. package/node_modules/@slack/web-api/node_modules/gopd/CHANGELOG.md +45 -0
  724. package/node_modules/@slack/web-api/node_modules/gopd/LICENSE +21 -0
  725. package/node_modules/@slack/web-api/node_modules/gopd/README.md +40 -0
  726. package/node_modules/@slack/web-api/node_modules/gopd/gOPD.d.ts +1 -0
  727. package/node_modules/@slack/web-api/node_modules/gopd/gOPD.js +4 -0
  728. package/node_modules/@slack/web-api/node_modules/gopd/index.d.ts +5 -0
  729. package/node_modules/@slack/web-api/node_modules/gopd/index.js +15 -0
  730. package/node_modules/@slack/web-api/node_modules/gopd/package.json +77 -0
  731. package/node_modules/@slack/web-api/node_modules/gopd/test/index.js +36 -0
  732. package/node_modules/@slack/web-api/node_modules/gopd/tsconfig.json +9 -0
  733. package/node_modules/@slack/web-api/node_modules/has-symbols/.eslintrc +11 -0
  734. package/node_modules/@slack/web-api/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  735. package/node_modules/@slack/web-api/node_modules/has-symbols/.nycrc +9 -0
  736. package/node_modules/@slack/web-api/node_modules/has-symbols/CHANGELOG.md +91 -0
  737. package/node_modules/@slack/web-api/node_modules/has-symbols/LICENSE +21 -0
  738. package/node_modules/@slack/web-api/node_modules/has-symbols/README.md +46 -0
  739. package/node_modules/@slack/web-api/node_modules/has-symbols/index.d.ts +3 -0
  740. package/node_modules/@slack/web-api/node_modules/has-symbols/index.js +14 -0
  741. package/node_modules/@slack/web-api/node_modules/has-symbols/package.json +111 -0
  742. package/node_modules/@slack/web-api/node_modules/has-symbols/shams.d.ts +3 -0
  743. package/node_modules/@slack/web-api/node_modules/has-symbols/shams.js +45 -0
  744. package/node_modules/@slack/web-api/node_modules/has-symbols/test/index.js +22 -0
  745. package/node_modules/@slack/web-api/node_modules/has-symbols/test/shams/core-js.js +29 -0
  746. package/node_modules/@slack/web-api/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
  747. package/node_modules/@slack/web-api/node_modules/has-symbols/test/tests.js +58 -0
  748. package/node_modules/@slack/web-api/node_modules/has-symbols/tsconfig.json +10 -0
  749. package/node_modules/@slack/web-api/node_modules/has-tostringtag/.eslintrc +5 -0
  750. package/node_modules/@slack/web-api/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
  751. package/node_modules/@slack/web-api/node_modules/has-tostringtag/.nycrc +13 -0
  752. package/node_modules/@slack/web-api/node_modules/has-tostringtag/CHANGELOG.md +42 -0
  753. package/node_modules/@slack/web-api/node_modules/has-tostringtag/LICENSE +21 -0
  754. package/node_modules/@slack/web-api/node_modules/has-tostringtag/README.md +46 -0
  755. package/node_modules/@slack/web-api/node_modules/has-tostringtag/index.d.ts +3 -0
  756. package/node_modules/@slack/web-api/node_modules/has-tostringtag/index.js +8 -0
  757. package/node_modules/@slack/web-api/node_modules/has-tostringtag/package.json +108 -0
  758. package/node_modules/@slack/web-api/node_modules/has-tostringtag/shams.d.ts +3 -0
  759. package/node_modules/@slack/web-api/node_modules/has-tostringtag/shams.js +8 -0
  760. package/node_modules/@slack/web-api/node_modules/has-tostringtag/test/index.js +21 -0
  761. package/node_modules/@slack/web-api/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
  762. package/node_modules/@slack/web-api/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
  763. package/node_modules/@slack/web-api/node_modules/has-tostringtag/test/tests.js +15 -0
  764. package/node_modules/@slack/web-api/node_modules/has-tostringtag/tsconfig.json +49 -0
  765. package/node_modules/@slack/web-api/node_modules/hasown/.github/FUNDING.yml +12 -0
  766. package/node_modules/@slack/web-api/node_modules/hasown/.nycrc +13 -0
  767. package/node_modules/@slack/web-api/node_modules/hasown/CHANGELOG.md +58 -0
  768. package/node_modules/@slack/web-api/node_modules/hasown/LICENSE +21 -0
  769. package/node_modules/@slack/web-api/node_modules/hasown/README.md +40 -0
  770. package/node_modules/@slack/web-api/node_modules/hasown/eslint.config.mjs +6 -0
  771. package/node_modules/@slack/web-api/node_modules/hasown/index.d.ts +3 -0
  772. package/node_modules/@slack/web-api/node_modules/hasown/index.js +8 -0
  773. package/node_modules/@slack/web-api/node_modules/hasown/package.json +91 -0
  774. package/node_modules/@slack/web-api/node_modules/hasown/tsconfig.json +6 -0
  775. package/node_modules/@slack/web-api/node_modules/https-proxy-agent/README.md +137 -0
  776. package/node_modules/@slack/web-api/node_modules/https-proxy-agent/dist/agent.d.ts +30 -0
  777. package/node_modules/@slack/web-api/node_modules/https-proxy-agent/dist/agent.js +177 -0
  778. package/node_modules/@slack/web-api/node_modules/https-proxy-agent/dist/agent.js.map +1 -0
  779. package/node_modules/@slack/web-api/node_modules/https-proxy-agent/dist/index.d.ts +23 -0
  780. package/node_modules/@slack/web-api/node_modules/https-proxy-agent/dist/index.js +14 -0
  781. package/node_modules/@slack/web-api/node_modules/https-proxy-agent/dist/index.js.map +1 -0
  782. package/node_modules/@slack/web-api/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
  783. package/node_modules/@slack/web-api/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
  784. package/node_modules/@slack/web-api/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
  785. package/node_modules/@slack/web-api/node_modules/https-proxy-agent/package.json +56 -0
  786. package/node_modules/@slack/web-api/node_modules/is-electron/LICENSE +21 -0
  787. package/node_modules/@slack/web-api/node_modules/is-electron/README.md +25 -0
  788. package/node_modules/@slack/web-api/node_modules/is-electron/index.d.ts +2 -0
  789. package/node_modules/@slack/web-api/node_modules/is-electron/index.js +21 -0
  790. package/node_modules/@slack/web-api/node_modules/is-electron/package.json +34 -0
  791. package/node_modules/@slack/web-api/node_modules/is-stream/index.d.ts +79 -0
  792. package/node_modules/@slack/web-api/node_modules/is-stream/index.js +28 -0
  793. package/node_modules/@slack/web-api/node_modules/is-stream/package.json +42 -0
  794. package/node_modules/@slack/web-api/node_modules/is-stream/readme.md +60 -0
  795. package/node_modules/@slack/web-api/node_modules/math-intrinsics/.eslintrc +16 -0
  796. package/node_modules/@slack/web-api/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  797. package/node_modules/@slack/web-api/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  798. package/node_modules/@slack/web-api/node_modules/math-intrinsics/LICENSE +21 -0
  799. package/node_modules/@slack/web-api/node_modules/math-intrinsics/README.md +50 -0
  800. package/node_modules/@slack/web-api/node_modules/math-intrinsics/abs.d.ts +1 -0
  801. package/node_modules/@slack/web-api/node_modules/math-intrinsics/abs.js +4 -0
  802. package/node_modules/@slack/web-api/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  803. package/node_modules/@slack/web-api/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  804. package/node_modules/@slack/web-api/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  805. package/node_modules/@slack/web-api/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  806. package/node_modules/@slack/web-api/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  807. package/node_modules/@slack/web-api/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  808. package/node_modules/@slack/web-api/node_modules/math-intrinsics/floor.d.ts +1 -0
  809. package/node_modules/@slack/web-api/node_modules/math-intrinsics/floor.js +4 -0
  810. package/node_modules/@slack/web-api/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  811. package/node_modules/@slack/web-api/node_modules/math-intrinsics/isFinite.js +12 -0
  812. package/node_modules/@slack/web-api/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  813. package/node_modules/@slack/web-api/node_modules/math-intrinsics/isInteger.js +16 -0
  814. package/node_modules/@slack/web-api/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  815. package/node_modules/@slack/web-api/node_modules/math-intrinsics/isNaN.js +6 -0
  816. package/node_modules/@slack/web-api/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  817. package/node_modules/@slack/web-api/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  818. package/node_modules/@slack/web-api/node_modules/math-intrinsics/max.d.ts +1 -0
  819. package/node_modules/@slack/web-api/node_modules/math-intrinsics/max.js +4 -0
  820. package/node_modules/@slack/web-api/node_modules/math-intrinsics/min.d.ts +1 -0
  821. package/node_modules/@slack/web-api/node_modules/math-intrinsics/min.js +4 -0
  822. package/node_modules/@slack/web-api/node_modules/math-intrinsics/mod.d.ts +3 -0
  823. package/node_modules/@slack/web-api/node_modules/math-intrinsics/mod.js +9 -0
  824. package/node_modules/@slack/web-api/node_modules/math-intrinsics/package.json +86 -0
  825. package/node_modules/@slack/web-api/node_modules/math-intrinsics/pow.d.ts +1 -0
  826. package/node_modules/@slack/web-api/node_modules/math-intrinsics/pow.js +4 -0
  827. package/node_modules/@slack/web-api/node_modules/math-intrinsics/round.d.ts +1 -0
  828. package/node_modules/@slack/web-api/node_modules/math-intrinsics/round.js +4 -0
  829. package/node_modules/@slack/web-api/node_modules/math-intrinsics/sign.d.ts +3 -0
  830. package/node_modules/@slack/web-api/node_modules/math-intrinsics/sign.js +11 -0
  831. package/node_modules/@slack/web-api/node_modules/math-intrinsics/test/index.js +192 -0
  832. package/node_modules/@slack/web-api/node_modules/math-intrinsics/tsconfig.json +3 -0
  833. package/node_modules/@slack/web-api/node_modules/mime-db/HISTORY.md +507 -0
  834. package/node_modules/@slack/web-api/node_modules/mime-db/LICENSE +23 -0
  835. package/node_modules/@slack/web-api/node_modules/mime-db/README.md +100 -0
  836. package/node_modules/@slack/web-api/node_modules/mime-db/db.json +8519 -0
  837. package/node_modules/@slack/web-api/node_modules/mime-db/index.js +12 -0
  838. package/node_modules/@slack/web-api/node_modules/mime-db/package.json +60 -0
  839. package/node_modules/@slack/web-api/node_modules/mime-types/HISTORY.md +397 -0
  840. package/node_modules/@slack/web-api/node_modules/mime-types/LICENSE +23 -0
  841. package/node_modules/@slack/web-api/node_modules/mime-types/README.md +113 -0
  842. package/node_modules/@slack/web-api/node_modules/mime-types/index.js +188 -0
  843. package/node_modules/@slack/web-api/node_modules/mime-types/package.json +44 -0
  844. package/node_modules/@slack/web-api/node_modules/ms/index.js +162 -0
  845. package/node_modules/@slack/web-api/node_modules/ms/license.md +21 -0
  846. package/node_modules/@slack/web-api/node_modules/ms/package.json +38 -0
  847. package/node_modules/@slack/web-api/node_modules/ms/readme.md +59 -0
  848. package/node_modules/@slack/web-api/node_modules/proxy-from-env/LICENSE +20 -0
  849. package/node_modules/@slack/web-api/node_modules/proxy-from-env/README.md +163 -0
  850. package/node_modules/@slack/web-api/node_modules/proxy-from-env/index.cjs +105 -0
  851. package/node_modules/@slack/web-api/node_modules/proxy-from-env/index.js +103 -0
  852. package/node_modules/@slack/web-api/node_modules/proxy-from-env/package.json +43 -0
  853. package/node_modules/@slack/web-api/node_modules/safe-buffer/LICENSE +21 -0
  854. package/node_modules/@slack/web-api/node_modules/safe-buffer/README.md +584 -0
  855. package/node_modules/@slack/web-api/node_modules/safe-buffer/index.d.ts +187 -0
  856. package/node_modules/@slack/web-api/node_modules/safe-buffer/index.js +65 -0
  857. package/node_modules/@slack/web-api/node_modules/safe-buffer/package.json +51 -0
  858. package/node_modules/@slack/web-api/package.json +10 -6
  859. package/node_modules/typebox/build/compile/validator.d.mts +4 -1
  860. package/node_modules/typebox/build/guard/guard.d.mts +1 -1
  861. package/node_modules/typebox/build/guard/guard.mjs +2 -5
  862. package/node_modules/typebox/build/guard/string.mjs +4 -16
  863. package/node_modules/typebox/build/schema/engine/_functions.mjs +15 -34
  864. package/node_modules/typebox/build/type/action/readonly_object.d.mts +0 -5
  865. package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -8
  866. package/node_modules/typebox/build/typebox.d.mts +1 -1
  867. package/node_modules/typebox/build/typebox.mjs +1 -1
  868. package/node_modules/typebox/package.json +1 -1
  869. package/node_modules/typebox/readme.md +32 -29
  870. package/node_modules/ws/lib/permessage-deflate.js +3 -1
  871. package/node_modules/ws/package.json +1 -1
  872. package/openclaw.plugin.json +1390 -1351
  873. package/package.json +19 -109
  874. package/dist/account-configured-BwfXBo_F.js +0 -14
  875. package/dist/account-inspect-DEKpg9Ip.js +0 -89
  876. package/dist/account-reply-mode-DrUXogvO.js +0 -14
  877. package/dist/accounts-CHAeNZOX.js +0 -186
  878. package/dist/accounts.runtime-BHD4Ma2R.js +0 -2
  879. package/dist/action-runtime-DfuYoMjG.js +0 -561
  880. package/dist/action-runtime.runtime-DQErZYpz.js +0 -2
  881. package/dist/actions-D3NuJvva.js +0 -876
  882. package/dist/actions.runtime-BIRU_G4M.js +0 -2
  883. package/dist/approval-handler.runtime-BA05P0QT.js +0 -367
  884. package/dist/block-text-DkHaoGem.js +0 -79
  885. package/dist/channel-B9fVdW3s.js +0 -1118
  886. package/dist/channel-type-DXyos1d2.js +0 -108
  887. package/dist/channel.setup-CLP5oTvh.js +0 -56
  888. package/dist/config-adapter-CxBQH8fq.js +0 -566
  889. package/dist/config-schema-SgZT6nXV.js +0 -373
  890. package/dist/cursor-pages-eX7p8Wwt.js +0 -19
  891. package/dist/directory-config-CnCIAktf.js +0 -54
  892. package/dist/directory-live-DKunWh3A.js +0 -131
  893. package/dist/doctor-contract-CsGH1Dfc.js +0 -158
  894. package/dist/group-policy-NQZti9t-.js +0 -2442
  895. package/dist/message-tool-api-DkhFpMoy.js +0 -127
  896. package/dist/monitor-CmKz0wtI.js +0 -13
  897. package/dist/outbound-adapter-BkuMp2Vs.js +0 -236
  898. package/dist/pipeline.runtime-DgtmuYCP.js +0 -4360
  899. package/dist/plugin-routes-CLp4obpN.js +0 -22
  900. package/dist/policy-PRysPn23.js +0 -65
  901. package/dist/preflight-audio.runtime-D5Bgags0.js +0 -3
  902. package/dist/probe-CgDsSops.js +0 -345
  903. package/dist/provider-DmRizMZt.js +0 -5900
  904. package/dist/relay-source-Blxj8xb4.js +0 -272
  905. package/dist/replies-4s_Vq_z9.js +0 -457
  906. package/dist/resolve-channels-yEqmM-3I.js +0 -92
  907. package/dist/resolve-users-BOrt5K-5.js +0 -118
  908. package/dist/rolldown-runtime-8H4AJuhK.js +0 -14
  909. package/dist/runtime-JSVZSWAj.js +0 -8
  910. package/dist/runtime-api-QMb-Q5Ko.js +0 -10
  911. package/dist/scopes-BJSrkAp6.js +0 -73
  912. package/dist/secret-contract-DxmvbxBF.js +0 -87
  913. package/dist/security-audit-DR097212.js +0 -41
  914. package/dist/send-DsLeZpST.js +0 -1269
  915. package/dist/send.runtime-gUdK6V3h.js +0 -2
  916. package/dist/setup-surface-BeNzrMrJ.js +0 -148
  917. package/dist/shared-DgIN3Dcr.js +0 -268
  918. package/dist/slash-dispatch.runtime-zPkyl7dB.js +0 -33
  919. package/dist/streaming-compat-3_X-21wW.js +0 -44
  920. package/dist/target-parsing-N6lHogYZ.js +0 -73
  921. package/dist/targets-KmjP2E8s.js +0 -13
  922. package/node_modules/@slack/socket-mode/README.md +0 -221
  923. package/node_modules/@slack/socket-mode/dist/package.json +0 -75
  924. package/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.d.ts +0 -102
  925. package/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.d.ts.map +0 -1
  926. package/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.js +0 -330
  927. package/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.js.map +0 -1
  928. package/node_modules/@slack/socket-mode/dist/src/SocketModeClient.d.ts +0 -104
  929. package/node_modules/@slack/socket-mode/dist/src/SocketModeClient.d.ts.map +0 -1
  930. package/node_modules/@slack/socket-mode/dist/src/SocketModeClient.js +0 -412
  931. package/node_modules/@slack/socket-mode/dist/src/SocketModeClient.js.map +0 -1
  932. package/node_modules/@slack/socket-mode/dist/src/SocketModeOptions.d.ts +0 -77
  933. package/node_modules/@slack/socket-mode/dist/src/SocketModeOptions.d.ts.map +0 -1
  934. package/node_modules/@slack/socket-mode/dist/src/errors.d.ts +0 -54
  935. package/node_modules/@slack/socket-mode/dist/src/errors.d.ts.map +0 -1
  936. package/node_modules/@slack/socket-mode/dist/src/errors.js +0 -64
  937. package/node_modules/@slack/socket-mode/dist/src/errors.js.map +0 -1
  938. package/node_modules/@slack/socket-mode/dist/src/index.d.ts +0 -6
  939. package/node_modules/@slack/socket-mode/dist/src/index.d.ts.map +0 -1
  940. package/node_modules/@slack/socket-mode/dist/src/index.js +0 -19
  941. package/node_modules/@slack/socket-mode/dist/src/index.js.map +0 -1
  942. package/node_modules/@slack/socket-mode/node_modules/@slack/logger/LICENSE +0 -23
  943. package/node_modules/@slack/socket-mode/node_modules/@slack/logger/README.md +0 -66
  944. package/node_modules/@slack/socket-mode/node_modules/@slack/logger/dist/index.d.ts +0 -94
  945. package/node_modules/@slack/socket-mode/node_modules/@slack/logger/dist/index.d.ts.map +0 -1
  946. package/node_modules/@slack/socket-mode/node_modules/@slack/logger/dist/index.js +0 -98
  947. package/node_modules/@slack/socket-mode/node_modules/@slack/logger/dist/index.js.map +0 -1
  948. package/node_modules/@slack/socket-mode/node_modules/@slack/logger/package.json +0 -42
  949. package/node_modules/@slack/socket-mode/node_modules/@types/node/README.md +0 -15
  950. package/node_modules/@slack/socket-mode/node_modules/@types/node/assert/strict.d.ts +0 -68
  951. package/node_modules/@slack/socket-mode/node_modules/@types/node/assert.d.ts +0 -1077
  952. package/node_modules/@slack/socket-mode/node_modules/@types/node/async_hooks.d.ts +0 -711
  953. package/node_modules/@slack/socket-mode/node_modules/@types/node/buffer.buffer.d.ts +0 -466
  954. package/node_modules/@slack/socket-mode/node_modules/@types/node/buffer.d.ts +0 -1799
  955. package/node_modules/@slack/socket-mode/node_modules/@types/node/child_process.d.ts +0 -1362
  956. package/node_modules/@slack/socket-mode/node_modules/@types/node/cluster.d.ts +0 -432
  957. package/node_modules/@slack/socket-mode/node_modules/@types/node/console.d.ts +0 -93
  958. package/node_modules/@slack/socket-mode/node_modules/@types/node/constants.d.ts +0 -14
  959. package/node_modules/@slack/socket-mode/node_modules/@types/node/crypto.d.ts +0 -3954
  960. package/node_modules/@slack/socket-mode/node_modules/@types/node/dgram.d.ts +0 -537
  961. package/node_modules/@slack/socket-mode/node_modules/@types/node/diagnostics_channel.d.ts +0 -794
  962. package/node_modules/@slack/socket-mode/node_modules/@types/node/dns/promises.d.ts +0 -497
  963. package/node_modules/@slack/socket-mode/node_modules/@types/node/dns.d.ts +0 -876
  964. package/node_modules/@slack/socket-mode/node_modules/@types/node/domain.d.ts +0 -150
  965. package/node_modules/@slack/socket-mode/node_modules/@types/node/events.d.ts +0 -1008
  966. package/node_modules/@slack/socket-mode/node_modules/@types/node/ffi.d.ts +0 -486
  967. package/node_modules/@slack/socket-mode/node_modules/@types/node/fs/promises.d.ts +0 -1481
  968. package/node_modules/@slack/socket-mode/node_modules/@types/node/fs.d.ts +0 -4786
  969. package/node_modules/@slack/socket-mode/node_modules/@types/node/globals.d.ts +0 -150
  970. package/node_modules/@slack/socket-mode/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  971. package/node_modules/@slack/socket-mode/node_modules/@types/node/http.d.ts +0 -2172
  972. package/node_modules/@slack/socket-mode/node_modules/@types/node/http2.d.ts +0 -2489
  973. package/node_modules/@slack/socket-mode/node_modules/@types/node/https.d.ts +0 -400
  974. package/node_modules/@slack/socket-mode/node_modules/@types/node/index.d.ts +0 -115
  975. package/node_modules/@slack/socket-mode/node_modules/@types/node/inspector/promises.d.ts +0 -35
  976. package/node_modules/@slack/socket-mode/node_modules/@types/node/inspector.d.ts +0 -264
  977. package/node_modules/@slack/socket-mode/node_modules/@types/node/inspector.generated.d.ts +0 -4406
  978. package/node_modules/@slack/socket-mode/node_modules/@types/node/module.d.ts +0 -726
  979. package/node_modules/@slack/socket-mode/node_modules/@types/node/net.d.ts +0 -970
  980. package/node_modules/@slack/socket-mode/node_modules/@types/node/os.d.ts +0 -498
  981. package/node_modules/@slack/socket-mode/node_modules/@types/node/package.json +0 -155
  982. package/node_modules/@slack/socket-mode/node_modules/@types/node/path/posix.d.ts +0 -8
  983. package/node_modules/@slack/socket-mode/node_modules/@types/node/path/win32.d.ts +0 -8
  984. package/node_modules/@slack/socket-mode/node_modules/@types/node/path.d.ts +0 -178
  985. package/node_modules/@slack/socket-mode/node_modules/@types/node/perf_hooks.d.ts +0 -604
  986. package/node_modules/@slack/socket-mode/node_modules/@types/node/process.d.ts +0 -2217
  987. package/node_modules/@slack/socket-mode/node_modules/@types/node/punycode.d.ts +0 -89
  988. package/node_modules/@slack/socket-mode/node_modules/@types/node/querystring.d.ts +0 -139
  989. package/node_modules/@slack/socket-mode/node_modules/@types/node/quic.d.ts +0 -978
  990. package/node_modules/@slack/socket-mode/node_modules/@types/node/readline/promises.d.ts +0 -158
  991. package/node_modules/@slack/socket-mode/node_modules/@types/node/readline.d.ts +0 -508
  992. package/node_modules/@slack/socket-mode/node_modules/@types/node/repl.d.ts +0 -420
  993. package/node_modules/@slack/socket-mode/node_modules/@types/node/sea.d.ts +0 -47
  994. package/node_modules/@slack/socket-mode/node_modules/@types/node/sqlite.d.ts +0 -1123
  995. package/node_modules/@slack/socket-mode/node_modules/@types/node/stream/consumers.d.ts +0 -114
  996. package/node_modules/@slack/socket-mode/node_modules/@types/node/stream/iter.d.ts +0 -451
  997. package/node_modules/@slack/socket-mode/node_modules/@types/node/stream/promises.d.ts +0 -211
  998. package/node_modules/@slack/socket-mode/node_modules/@types/node/stream/web.d.ts +0 -300
  999. package/node_modules/@slack/socket-mode/node_modules/@types/node/stream.d.ts +0 -1806
  1000. package/node_modules/@slack/socket-mode/node_modules/@types/node/string_decoder.d.ts +0 -27
  1001. package/node_modules/@slack/socket-mode/node_modules/@types/node/test/reporters.d.ts +0 -59
  1002. package/node_modules/@slack/socket-mode/node_modules/@types/node/test.d.ts +0 -2389
  1003. package/node_modules/@slack/socket-mode/node_modules/@types/node/timers/promises.d.ts +0 -93
  1004. package/node_modules/@slack/socket-mode/node_modules/@types/node/timers.d.ts +0 -149
  1005. package/node_modules/@slack/socket-mode/node_modules/@types/node/tls.d.ts +0 -1193
  1006. package/node_modules/@slack/socket-mode/node_modules/@types/node/trace_events.d.ts +0 -103
  1007. package/node_modules/@slack/socket-mode/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
  1008. package/node_modules/@slack/socket-mode/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  1009. package/node_modules/@slack/socket-mode/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  1010. package/node_modules/@slack/socket-mode/node_modules/@types/node/ts5.6/index.d.ts +0 -117
  1011. package/node_modules/@slack/socket-mode/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  1012. package/node_modules/@slack/socket-mode/node_modules/@types/node/ts5.7/index.d.ts +0 -117
  1013. package/node_modules/@slack/socket-mode/node_modules/@types/node/tty.d.ts +0 -225
  1014. package/node_modules/@slack/socket-mode/node_modules/@types/node/url.d.ts +0 -556
  1015. package/node_modules/@slack/socket-mode/node_modules/@types/node/util/types.d.ts +0 -558
  1016. package/node_modules/@slack/socket-mode/node_modules/@types/node/util.d.ts +0 -1677
  1017. package/node_modules/@slack/socket-mode/node_modules/@types/node/v8.d.ts +0 -1062
  1018. package/node_modules/@slack/socket-mode/node_modules/@types/node/vm.d.ts +0 -1136
  1019. package/node_modules/@slack/socket-mode/node_modules/@types/node/wasi.d.ts +0 -131
  1020. package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  1021. package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  1022. package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/console.d.ts +0 -9
  1023. package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  1024. package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/domexception.d.ts +0 -83
  1025. package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  1026. package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/events.d.ts +0 -106
  1027. package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
  1028. package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  1029. package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  1030. package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  1031. package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  1032. package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  1033. package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/streams.d.ts +0 -115
  1034. package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  1035. package/node_modules/@slack/socket-mode/node_modules/@types/node/web-globals/url.d.ts +0 -24
  1036. package/node_modules/@slack/socket-mode/node_modules/@types/node/worker_threads.d.ts +0 -669
  1037. package/node_modules/@slack/socket-mode/node_modules/@types/node/zlib/iter.d.ts +0 -131
  1038. package/node_modules/@slack/socket-mode/node_modules/@types/node/zlib.d.ts +0 -589
  1039. package/node_modules/@slack/socket-mode/node_modules/undici-types/LICENSE +0 -21
  1040. package/node_modules/@slack/socket-mode/node_modules/undici-types/README.md +0 -6
  1041. package/node_modules/@slack/socket-mode/node_modules/undici-types/agent.d.ts +0 -30
  1042. package/node_modules/@slack/socket-mode/node_modules/undici-types/api.d.ts +0 -43
  1043. package/node_modules/@slack/socket-mode/node_modules/undici-types/balanced-pool.d.ts +0 -30
  1044. package/node_modules/@slack/socket-mode/node_modules/undici-types/cache-interceptor.d.ts +0 -179
  1045. package/node_modules/@slack/socket-mode/node_modules/undici-types/cache.d.ts +0 -36
  1046. package/node_modules/@slack/socket-mode/node_modules/undici-types/client-stats.d.ts +0 -15
  1047. package/node_modules/@slack/socket-mode/node_modules/undici-types/client.d.ts +0 -129
  1048. package/node_modules/@slack/socket-mode/node_modules/undici-types/connector.d.ts +0 -36
  1049. package/node_modules/@slack/socket-mode/node_modules/undici-types/content-type.d.ts +0 -21
  1050. package/node_modules/@slack/socket-mode/node_modules/undici-types/cookies.d.ts +0 -30
  1051. package/node_modules/@slack/socket-mode/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
  1052. package/node_modules/@slack/socket-mode/node_modules/undici-types/dispatcher.d.ts +0 -253
  1053. package/node_modules/@slack/socket-mode/node_modules/undici-types/dispatcher1-wrapper.d.ts +0 -7
  1054. package/node_modules/@slack/socket-mode/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
  1055. package/node_modules/@slack/socket-mode/node_modules/undici-types/errors.d.ts +0 -177
  1056. package/node_modules/@slack/socket-mode/node_modules/undici-types/eventsource.d.ts +0 -66
  1057. package/node_modules/@slack/socket-mode/node_modules/undici-types/fetch.d.ts +0 -231
  1058. package/node_modules/@slack/socket-mode/node_modules/undici-types/formdata.d.ts +0 -108
  1059. package/node_modules/@slack/socket-mode/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  1060. package/node_modules/@slack/socket-mode/node_modules/undici-types/global-origin.d.ts +0 -7
  1061. package/node_modules/@slack/socket-mode/node_modules/undici-types/h2c-client.d.ts +0 -73
  1062. package/node_modules/@slack/socket-mode/node_modules/undici-types/handlers.d.ts +0 -14
  1063. package/node_modules/@slack/socket-mode/node_modules/undici-types/header.d.ts +0 -165
  1064. package/node_modules/@slack/socket-mode/node_modules/undici-types/index.d.ts +0 -93
  1065. package/node_modules/@slack/socket-mode/node_modules/undici-types/interceptors.d.ts +0 -80
  1066. package/node_modules/@slack/socket-mode/node_modules/undici-types/mock-agent.d.ts +0 -68
  1067. package/node_modules/@slack/socket-mode/node_modules/undici-types/mock-call-history.d.ts +0 -111
  1068. package/node_modules/@slack/socket-mode/node_modules/undici-types/mock-client.d.ts +0 -27
  1069. package/node_modules/@slack/socket-mode/node_modules/undici-types/mock-errors.d.ts +0 -12
  1070. package/node_modules/@slack/socket-mode/node_modules/undici-types/mock-interceptor.d.ts +0 -94
  1071. package/node_modules/@slack/socket-mode/node_modules/undici-types/mock-pool.d.ts +0 -27
  1072. package/node_modules/@slack/socket-mode/node_modules/undici-types/package.json +0 -55
  1073. package/node_modules/@slack/socket-mode/node_modules/undici-types/patch.d.ts +0 -29
  1074. package/node_modules/@slack/socket-mode/node_modules/undici-types/pool-stats.d.ts +0 -19
  1075. package/node_modules/@slack/socket-mode/node_modules/undici-types/pool.d.ts +0 -39
  1076. package/node_modules/@slack/socket-mode/node_modules/undici-types/proxy-agent.d.ts +0 -29
  1077. package/node_modules/@slack/socket-mode/node_modules/undici-types/readable.d.ts +0 -68
  1078. package/node_modules/@slack/socket-mode/node_modules/undici-types/retry-agent.d.ts +0 -8
  1079. package/node_modules/@slack/socket-mode/node_modules/undici-types/retry-handler.d.ts +0 -125
  1080. package/node_modules/@slack/socket-mode/node_modules/undici-types/round-robin-pool.d.ts +0 -39
  1081. package/node_modules/@slack/socket-mode/node_modules/undici-types/snapshot-agent.d.ts +0 -113
  1082. package/node_modules/@slack/socket-mode/node_modules/undici-types/socks5-proxy-agent.d.ts +0 -25
  1083. package/node_modules/@slack/socket-mode/node_modules/undici-types/util.d.ts +0 -18
  1084. package/node_modules/@slack/socket-mode/node_modules/undici-types/utility.d.ts +0 -7
  1085. package/node_modules/@slack/socket-mode/node_modules/undici-types/webidl.d.ts +0 -346
  1086. package/node_modules/@slack/socket-mode/node_modules/undici-types/websocket.d.ts +0 -188
  1087. package/node_modules/@slack/socket-mode/package.json +0 -75
  1088. package/node_modules/get-east-asian-width/index.d.ts +0 -60
  1089. package/node_modules/get-east-asian-width/index.js +0 -30
  1090. package/node_modules/get-east-asian-width/lookup-data.js +0 -21
  1091. package/node_modules/get-east-asian-width/lookup.js +0 -138
  1092. package/node_modules/get-east-asian-width/package.json +0 -71
  1093. package/node_modules/get-east-asian-width/readme.md +0 -65
  1094. package/node_modules/get-east-asian-width/utilities.js +0 -24
  1095. package/node_modules/p-map/index.d.ts +0 -155
  1096. package/node_modules/p-map/index.js +0 -285
  1097. package/node_modules/p-map/license +0 -9
  1098. package/node_modules/p-map/package.json +0 -57
  1099. package/node_modules/p-map/readme.md +0 -190
  1100. package/node_modules/undici/LICENSE +0 -21
  1101. package/node_modules/undici/README.md +0 -741
  1102. package/node_modules/undici/docs/docs/api/Agent.md +0 -84
  1103. package/node_modules/undici/docs/docs/api/BalancedPool.md +0 -99
  1104. package/node_modules/undici/docs/docs/api/CacheStorage.md +0 -30
  1105. package/node_modules/undici/docs/docs/api/CacheStore.md +0 -164
  1106. package/node_modules/undici/docs/docs/api/Client.md +0 -288
  1107. package/node_modules/undici/docs/docs/api/ClientStats.md +0 -27
  1108. package/node_modules/undici/docs/docs/api/Connector.md +0 -115
  1109. package/node_modules/undici/docs/docs/api/ContentType.md +0 -57
  1110. package/node_modules/undici/docs/docs/api/Cookies.md +0 -128
  1111. package/node_modules/undici/docs/docs/api/Debug.md +0 -62
  1112. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +0 -315
  1113. package/node_modules/undici/docs/docs/api/Dispatcher.md +0 -1392
  1114. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +0 -159
  1115. package/node_modules/undici/docs/docs/api/Errors.md +0 -49
  1116. package/node_modules/undici/docs/docs/api/EventSource.md +0 -45
  1117. package/node_modules/undici/docs/docs/api/Fetch.md +0 -60
  1118. package/node_modules/undici/docs/docs/api/GlobalInstallation.md +0 -139
  1119. package/node_modules/undici/docs/docs/api/H2CClient.md +0 -263
  1120. package/node_modules/undici/docs/docs/api/MockAgent.md +0 -603
  1121. package/node_modules/undici/docs/docs/api/MockCallHistory.md +0 -197
  1122. package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +0 -43
  1123. package/node_modules/undici/docs/docs/api/MockClient.md +0 -81
  1124. package/node_modules/undici/docs/docs/api/MockErrors.md +0 -12
  1125. package/node_modules/undici/docs/docs/api/MockPool.md +0 -555
  1126. package/node_modules/undici/docs/docs/api/Pool.md +0 -84
  1127. package/node_modules/undici/docs/docs/api/PoolStats.md +0 -35
  1128. package/node_modules/undici/docs/docs/api/ProxyAgent.md +0 -229
  1129. package/node_modules/undici/docs/docs/api/RedirectHandler.md +0 -93
  1130. package/node_modules/undici/docs/docs/api/RetryAgent.md +0 -50
  1131. package/node_modules/undici/docs/docs/api/RetryHandler.md +0 -118
  1132. package/node_modules/undici/docs/docs/api/RoundRobinPool.md +0 -145
  1133. package/node_modules/undici/docs/docs/api/SnapshotAgent.md +0 -616
  1134. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +0 -275
  1135. package/node_modules/undici/docs/docs/api/Util.md +0 -25
  1136. package/node_modules/undici/docs/docs/api/WebSocket.md +0 -141
  1137. package/node_modules/undici/docs/docs/api/api-lifecycle.md +0 -91
  1138. package/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -64
  1139. package/node_modules/undici/docs/docs/best-practices/crawling.md +0 -58
  1140. package/node_modules/undici/docs/docs/best-practices/mocking-request.md +0 -190
  1141. package/node_modules/undici/docs/docs/best-practices/proxy.md +0 -127
  1142. package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -224
  1143. package/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -63
  1144. package/node_modules/undici/index-fetch.js +0 -65
  1145. package/node_modules/undici/index.d.ts +0 -3
  1146. package/node_modules/undici/index.js +0 -234
  1147. package/node_modules/undici/lib/api/abort-signal.js +0 -59
  1148. package/node_modules/undici/lib/api/api-connect.js +0 -110
  1149. package/node_modules/undici/lib/api/api-pipeline.js +0 -252
  1150. package/node_modules/undici/lib/api/api-request.js +0 -214
  1151. package/node_modules/undici/lib/api/api-stream.js +0 -209
  1152. package/node_modules/undici/lib/api/api-upgrade.js +0 -111
  1153. package/node_modules/undici/lib/api/index.js +0 -7
  1154. package/node_modules/undici/lib/api/readable.js +0 -580
  1155. package/node_modules/undici/lib/cache/memory-cache-store.js +0 -234
  1156. package/node_modules/undici/lib/cache/sqlite-cache-store.js +0 -461
  1157. package/node_modules/undici/lib/core/connect.js +0 -153
  1158. package/node_modules/undici/lib/core/constants.js +0 -143
  1159. package/node_modules/undici/lib/core/diagnostics.js +0 -227
  1160. package/node_modules/undici/lib/core/errors.js +0 -477
  1161. package/node_modules/undici/lib/core/request.js +0 -453
  1162. package/node_modules/undici/lib/core/socks5-client.js +0 -422
  1163. package/node_modules/undici/lib/core/socks5-utils.js +0 -212
  1164. package/node_modules/undici/lib/core/symbols.js +0 -75
  1165. package/node_modules/undici/lib/core/tree.js +0 -160
  1166. package/node_modules/undici/lib/core/util.js +0 -992
  1167. package/node_modules/undici/lib/dispatcher/agent.js +0 -158
  1168. package/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -219
  1169. package/node_modules/undici/lib/dispatcher/client-h1.js +0 -1722
  1170. package/node_modules/undici/lib/dispatcher/client-h2.js +0 -995
  1171. package/node_modules/undici/lib/dispatcher/client.js +0 -664
  1172. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -184
  1173. package/node_modules/undici/lib/dispatcher/dispatcher.js +0 -48
  1174. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -146
  1175. package/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -135
  1176. package/node_modules/undici/lib/dispatcher/h2c-client.js +0 -51
  1177. package/node_modules/undici/lib/dispatcher/pool-base.js +0 -214
  1178. package/node_modules/undici/lib/dispatcher/pool.js +0 -118
  1179. package/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -319
  1180. package/node_modules/undici/lib/dispatcher/retry-agent.js +0 -35
  1181. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +0 -137
  1182. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +0 -260
  1183. package/node_modules/undici/lib/encoding/index.js +0 -33
  1184. package/node_modules/undici/lib/global.js +0 -59
  1185. package/node_modules/undici/lib/handler/cache-handler.js +0 -578
  1186. package/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -124
  1187. package/node_modules/undici/lib/handler/decorator-handler.js +0 -67
  1188. package/node_modules/undici/lib/handler/deduplication-handler.js +0 -460
  1189. package/node_modules/undici/lib/handler/redirect-handler.js +0 -238
  1190. package/node_modules/undici/lib/handler/retry-handler.js +0 -394
  1191. package/node_modules/undici/lib/handler/unwrap-handler.js +0 -106
  1192. package/node_modules/undici/lib/handler/wrap-handler.js +0 -105
  1193. package/node_modules/undici/lib/interceptor/cache.js +0 -495
  1194. package/node_modules/undici/lib/interceptor/decompress.js +0 -259
  1195. package/node_modules/undici/lib/interceptor/deduplicate.js +0 -117
  1196. package/node_modules/undici/lib/interceptor/dns.js +0 -571
  1197. package/node_modules/undici/lib/interceptor/dump.js +0 -112
  1198. package/node_modules/undici/lib/interceptor/redirect.js +0 -21
  1199. package/node_modules/undici/lib/interceptor/response-error.js +0 -95
  1200. package/node_modules/undici/lib/interceptor/retry.js +0 -19
  1201. package/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  1202. package/node_modules/undici/lib/llhttp/constants.d.ts +0 -195
  1203. package/node_modules/undici/lib/llhttp/constants.js +0 -531
  1204. package/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -15
  1205. package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -15
  1206. package/node_modules/undici/lib/llhttp/utils.d.ts +0 -2
  1207. package/node_modules/undici/lib/llhttp/utils.js +0 -12
  1208. package/node_modules/undici/lib/mock/mock-agent.js +0 -232
  1209. package/node_modules/undici/lib/mock/mock-call-history.js +0 -248
  1210. package/node_modules/undici/lib/mock/mock-client.js +0 -68
  1211. package/node_modules/undici/lib/mock/mock-errors.js +0 -29
  1212. package/node_modules/undici/lib/mock/mock-interceptor.js +0 -209
  1213. package/node_modules/undici/lib/mock/mock-pool.js +0 -68
  1214. package/node_modules/undici/lib/mock/mock-symbols.js +0 -32
  1215. package/node_modules/undici/lib/mock/mock-utils.js +0 -486
  1216. package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
  1217. package/node_modules/undici/lib/mock/snapshot-agent.js +0 -353
  1218. package/node_modules/undici/lib/mock/snapshot-recorder.js +0 -588
  1219. package/node_modules/undici/lib/mock/snapshot-utils.js +0 -158
  1220. package/node_modules/undici/lib/util/cache.js +0 -414
  1221. package/node_modules/undici/lib/util/date.js +0 -653
  1222. package/node_modules/undici/lib/util/promise.js +0 -28
  1223. package/node_modules/undici/lib/util/runtime-features.js +0 -124
  1224. package/node_modules/undici/lib/util/stats.js +0 -32
  1225. package/node_modules/undici/lib/util/timers.js +0 -425
  1226. package/node_modules/undici/lib/web/cache/cache.js +0 -864
  1227. package/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
  1228. package/node_modules/undici/lib/web/cache/util.js +0 -45
  1229. package/node_modules/undici/lib/web/cookies/constants.js +0 -12
  1230. package/node_modules/undici/lib/web/cookies/index.js +0 -199
  1231. package/node_modules/undici/lib/web/cookies/parse.js +0 -314
  1232. package/node_modules/undici/lib/web/cookies/util.js +0 -282
  1233. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -399
  1234. package/node_modules/undici/lib/web/eventsource/eventsource.js +0 -501
  1235. package/node_modules/undici/lib/web/eventsource/util.js +0 -29
  1236. package/node_modules/undici/lib/web/fetch/LICENSE +0 -21
  1237. package/node_modules/undici/lib/web/fetch/body.js +0 -509
  1238. package/node_modules/undici/lib/web/fetch/constants.js +0 -131
  1239. package/node_modules/undici/lib/web/fetch/data-url.js +0 -596
  1240. package/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -586
  1241. package/node_modules/undici/lib/web/fetch/formdata.js +0 -259
  1242. package/node_modules/undici/lib/web/fetch/global.js +0 -40
  1243. package/node_modules/undici/lib/web/fetch/headers.js +0 -719
  1244. package/node_modules/undici/lib/web/fetch/index.js +0 -2413
  1245. package/node_modules/undici/lib/web/fetch/request.js +0 -1115
  1246. package/node_modules/undici/lib/web/fetch/response.js +0 -641
  1247. package/node_modules/undici/lib/web/fetch/util.js +0 -1522
  1248. package/node_modules/undici/lib/web/infra/index.js +0 -229
  1249. package/node_modules/undici/lib/web/subresource-integrity/Readme.md +0 -9
  1250. package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +0 -307
  1251. package/node_modules/undici/lib/web/webidl/index.js +0 -1006
  1252. package/node_modules/undici/lib/web/websocket/connection.js +0 -329
  1253. package/node_modules/undici/lib/web/websocket/constants.js +0 -126
  1254. package/node_modules/undici/lib/web/websocket/events.js +0 -331
  1255. package/node_modules/undici/lib/web/websocket/frame.js +0 -133
  1256. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -100
  1257. package/node_modules/undici/lib/web/websocket/receiver.js +0 -507
  1258. package/node_modules/undici/lib/web/websocket/sender.js +0 -109
  1259. package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +0 -104
  1260. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +0 -498
  1261. package/node_modules/undici/lib/web/websocket/util.js +0 -347
  1262. package/node_modules/undici/lib/web/websocket/websocket.js +0 -758
  1263. package/node_modules/undici/package.json +0 -152
  1264. package/node_modules/undici/scripts/strip-comments.js +0 -10
  1265. package/node_modules/undici/types/README.md +0 -6
  1266. package/node_modules/undici/types/agent.d.ts +0 -32
  1267. package/node_modules/undici/types/api.d.ts +0 -43
  1268. package/node_modules/undici/types/balanced-pool.d.ts +0 -30
  1269. package/node_modules/undici/types/cache-interceptor.d.ts +0 -179
  1270. package/node_modules/undici/types/cache.d.ts +0 -36
  1271. package/node_modules/undici/types/client-stats.d.ts +0 -15
  1272. package/node_modules/undici/types/client.d.ts +0 -139
  1273. package/node_modules/undici/types/connector.d.ts +0 -36
  1274. package/node_modules/undici/types/content-type.d.ts +0 -21
  1275. package/node_modules/undici/types/cookies.d.ts +0 -30
  1276. package/node_modules/undici/types/diagnostics-channel.d.ts +0 -74
  1277. package/node_modules/undici/types/dispatcher.d.ts +0 -275
  1278. package/node_modules/undici/types/env-http-proxy-agent.d.ts +0 -22
  1279. package/node_modules/undici/types/errors.d.ts +0 -177
  1280. package/node_modules/undici/types/eventsource.d.ts +0 -66
  1281. package/node_modules/undici/types/fetch.d.ts +0 -231
  1282. package/node_modules/undici/types/formdata.d.ts +0 -114
  1283. package/node_modules/undici/types/global-dispatcher.d.ts +0 -9
  1284. package/node_modules/undici/types/global-origin.d.ts +0 -7
  1285. package/node_modules/undici/types/h2c-client.d.ts +0 -73
  1286. package/node_modules/undici/types/handlers.d.ts +0 -14
  1287. package/node_modules/undici/types/header.d.ts +0 -160
  1288. package/node_modules/undici/types/index.d.ts +0 -91
  1289. package/node_modules/undici/types/interceptors.d.ts +0 -80
  1290. package/node_modules/undici/types/mock-agent.d.ts +0 -68
  1291. package/node_modules/undici/types/mock-call-history.d.ts +0 -111
  1292. package/node_modules/undici/types/mock-client.d.ts +0 -27
  1293. package/node_modules/undici/types/mock-errors.d.ts +0 -12
  1294. package/node_modules/undici/types/mock-interceptor.d.ts +0 -94
  1295. package/node_modules/undici/types/mock-pool.d.ts +0 -27
  1296. package/node_modules/undici/types/patch.d.ts +0 -29
  1297. package/node_modules/undici/types/pool-stats.d.ts +0 -19
  1298. package/node_modules/undici/types/pool.d.ts +0 -41
  1299. package/node_modules/undici/types/proxy-agent.d.ts +0 -29
  1300. package/node_modules/undici/types/readable.d.ts +0 -68
  1301. package/node_modules/undici/types/retry-agent.d.ts +0 -8
  1302. package/node_modules/undici/types/retry-handler.d.ts +0 -125
  1303. package/node_modules/undici/types/round-robin-pool.d.ts +0 -41
  1304. package/node_modules/undici/types/snapshot-agent.d.ts +0 -109
  1305. package/node_modules/undici/types/socks5-proxy-agent.d.ts +0 -25
  1306. package/node_modules/undici/types/util.d.ts +0 -18
  1307. package/node_modules/undici/types/utility.d.ts +0 -7
  1308. package/node_modules/undici/types/webidl.d.ts +0 -347
  1309. package/node_modules/undici/types/websocket.d.ts +0 -188
  1310. /package/dist/{registry-bbjH7IHX.js → .setup/registry-bbjH7IHX.mjs} +0 -0
  1311. /package/dist/{slash-commands.runtime-BTTMlmwy.js → .setup/slash-commands.runtime-BTTMlmwy.mjs} +0 -0
  1312. /package/dist/{slash-plugin-commands.runtime-Dosfcx3X.js → .setup/slash-plugin-commands.runtime-Dosfcx3X.mjs} +0 -0
  1313. /package/dist/{slash-skill-commands.runtime-CD1J2ODY.js → .setup/slash-skill-commands.runtime-CD1J2ODY.mjs} +0 -0
  1314. /package/dist/{thread-ts-DUGhaYKq.js → .setup/thread-ts-DUGhaYKq.mjs} +0 -0
  1315. /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/LICENSE +0 -0
  1316. /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/SocketModeOptions.js +0 -0
  1317. /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/SocketModeOptions.js.map +0 -0
  1318. /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/UnrecoverableSocketModeStartError.d.ts +0 -0
  1319. /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/UnrecoverableSocketModeStartError.d.ts.map +0 -0
  1320. /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/UnrecoverableSocketModeStartError.js +0 -0
  1321. /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/UnrecoverableSocketModeStartError.js.map +0 -0
  1322. /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/logger.d.ts +0 -0
  1323. /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/logger.d.ts.map +0 -0
  1324. /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/logger.js +0 -0
  1325. /package/node_modules/@slack/{socket-mode → bolt/node_modules/@slack/socket-mode}/dist/src/logger.js.map +0 -0
  1326. /package/node_modules/@slack/{socket-mode/node_modules/@types/node → bolt/node_modules/@types/ws}/LICENSE +0 -0
  1327. /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/LICENSE +0 -0
  1328. /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/README.md +0 -0
  1329. /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/dist/eventemitter3.esm.js +0 -0
  1330. /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +0 -0
  1331. /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +0 -0
  1332. /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/dist/eventemitter3.umd.js +0 -0
  1333. /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +0 -0
  1334. /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +0 -0
  1335. /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/index.d.ts +0 -0
  1336. /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/index.js +0 -0
  1337. /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/index.mjs +0 -0
  1338. /package/node_modules/@slack/{socket-mode → bolt}/node_modules/eventemitter3/package.json +0 -0
  1339. /package/node_modules/{get-east-asian-width → @slack/web-api/node_modules/is-stream}/license +0 -0
@@ -0,0 +1,2851 @@
1
+ <h3 align="center">💎 Platinum sponsors <br /></h3>
2
+ <table align="center">
3
+ <tr>
4
+ <td align="center" width="50%">
5
+ <a
6
+ href="https://thanks.dev/?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship"
7
+ style="padding: 10px; display: inline-block"
8
+ target="_blank"
9
+ >
10
+ <img
11
+ width="90px"
12
+ height="90px"
13
+ src="https://images.opencollective.com/thanks-dev/360b917/logo/256.png?height=256"
14
+ alt="Thanks.dev"
15
+ />
16
+ </a>
17
+ <p
18
+ align="center"
19
+ >
20
+ We're passionate about making open source sustainable. Scan your dependency tree to better understand which open source projects need funding.
21
+ </p>
22
+ <p align="center">
23
+ <a
24
+ href="https://thanks.dev/?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship"
25
+ target="_blank"
26
+ ><b>thanks.dev</b></a
27
+ >
28
+ </p>
29
+ </td>
30
+ <td align="center" width="50%">
31
+ <a
32
+ href="https://opencollective.com/axios/contribute"
33
+ target="_blank"
34
+ >💜 Become a sponsor</a
35
+ >
36
+ </td>
37
+ </tr>
38
+ </table>
39
+ <table align="center">
40
+ <tr>
41
+ <td align="center" width="50%">
42
+ <a
43
+ href="https://opencollective.com/axios/contribute"
44
+ target="_blank"
45
+ >💜 Become a sponsor</a
46
+ >
47
+ </td>
48
+ <td align="center" width="50%">
49
+ <a
50
+ href="https://opencollective.com/axios/contribute"
51
+ target="_blank"
52
+ >💜 Become a sponsor</a
53
+ >
54
+ </td>
55
+ </tr>
56
+ </table>
57
+ <h3 align="center">🥇 Gold sponsors <br /></h3>
58
+ <table align="center" width="100%">
59
+ <tr width="33.333333333333336%">
60
+ <td align="center" width="33.333333333333336%">
61
+ <a
62
+ href="https://www.principal.com/about-us?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship"
63
+ style="padding: 10px; display: inline-block"
64
+ target="_blank"
65
+ >
66
+ <img
67
+ width="90px"
68
+ height="90px"
69
+ src="https://images.opencollective.com/principal/431e690/logo.png"
70
+ alt="Principal Financial Group"
71
+ />
72
+ </a>
73
+ <p
74
+ align="center"
75
+ >
76
+ Free tools to help with your financial planning needs!
77
+ </p>
78
+ <p align="center">
79
+ <a
80
+ href="https://www.principal.com/about-us?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship"
81
+ target="_blank"
82
+ ><b>principal.com</b></a
83
+ >
84
+ </p>
85
+ </td>
86
+ <td align="center" width="33.333333333333336%">
87
+ <a
88
+ href="https://opensource.sap.com?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship"
89
+ style="padding: 10px; display: inline-block"
90
+ target="_blank"
91
+ >
92
+ <img
93
+ width="90px"
94
+ height="90px"
95
+ src="https://avatars.githubusercontent.com/u/2531208?s=200&v=4"
96
+ alt="SAP"
97
+ />
98
+ </a>
99
+ <p
100
+ align="center"
101
+ title="SAP SE, a global software company, is one of the largest vendors of ERP and other enterprise applications."
102
+ >
103
+ BSAP SE, a global software company, is one of the largest vendors of ERP and other enterprise applications.
104
+ </p>
105
+ <p align="center">
106
+ <a
107
+ href="https://opensource.sap.com?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship"
108
+ target="_blank"
109
+ ><b>opensource.sap.com</b></a
110
+ >
111
+ </p>
112
+ </td>
113
+ <td align="center" width="33.333333333333336%">
114
+ <a
115
+ href="https://www.descope.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;referral&amp;utm_campaign&#x3D;axios-oss-sponsorship"
116
+ style="padding: 10px; display: inline-block"
117
+ target="_blank"
118
+ >
119
+ <img
120
+ width="90px"
121
+ height="90px"
122
+ src="https://images.opencollective.com/descope/b53243e/logo.png"
123
+ alt="Descope"
124
+ />
125
+ </a>
126
+ <p
127
+ align="center"
128
+ title="Hi, we&#x27;re Descope! We are building something in the authentication space for app developers and can't wait to place it in your hands."
129
+ >
130
+ Reduce user friction, prevent account takeover, and get a 360° view of your customer and agentic identities with the Descope External IAM platform.
131
+ </p>
132
+ <p align="center">
133
+ <a
134
+ href="https://www.descope.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;referral&amp;utm_campaign&#x3D;axios-oss-sponsorship"
135
+ target="_blank"
136
+ ><b>descope.com</b></a
137
+ >
138
+ </p>
139
+ </td>
140
+ </tr>
141
+ <tr width="33.333333333333336%">
142
+ <td align="center" width="33.333333333333336%">
143
+ <a
144
+ href="https://stytch.com/"
145
+ style="padding: 10px; display: inline-block"
146
+ target="_blank"
147
+ >
148
+ <img
149
+ width="90px"
150
+ height="90px"
151
+ src="https://images.opencollective.com/stytch/f84ce43/logo/256.png?height=256"
152
+ alt="Stytch"
153
+ />
154
+ </a>
155
+ <p
156
+ align="center"
157
+ >
158
+ The identity platform for humans & AI agents
159
+ </p>
160
+ <p align="center">
161
+ <a
162
+ href="https://stytch.com"
163
+ target="_blank"
164
+ ><b>stytch.com</b></a
165
+ >
166
+ </p>
167
+ </td>
168
+ <td align="center" width="33.333333333333336%">
169
+ <a
170
+ href="https://rxdb.info/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship&utm_content=logo"
171
+ style="padding: 10px; display: inline-block"
172
+ target="_blank"
173
+ >
174
+ <img
175
+ width="90px"
176
+ height="90px"
177
+ src="https://rxdb.info/files/logo/logo_text_white.svg"
178
+ alt="RxDB"
179
+ />
180
+ </a>
181
+ <p
182
+ align="center"
183
+ >
184
+ RxDB is a NoSQL database for JavaScript that runs directly in your app.
185
+ </p>
186
+ <p align="center">
187
+ <a
188
+ href="https://rxdb.info/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship&utm_content=logo"
189
+ target="_blank"
190
+ ><b>rxdb.info</b></a
191
+ >
192
+ </p>
193
+ </td>
194
+ <td align="center" width="33.333333333333336%">
195
+ <a
196
+ href="https://poprey.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship"
197
+ style="padding: 10px; display: inline-block"
198
+ target="_blank"
199
+ >
200
+ <img
201
+ width="70px"
202
+ height="70px"
203
+ src="https://images.opencollective.com/instagram-likes/2a72a03/avatar.png"
204
+ alt="Poprey"
205
+ />
206
+ </a>
207
+ <p align="center">
208
+ Buy Instagram Likes
209
+ </p>
210
+ <p align="center">
211
+ <a
212
+ href="https://poprey.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship"
213
+ target="_blank"
214
+ ><b>poprey.com</b></a
215
+ >
216
+ </p>
217
+ </td>
218
+ </tr>
219
+ <tr width="33.333333333333336%">
220
+ <td align="center" width="33.333333333333336%">
221
+ <a
222
+ href="https://buzzoid.com/buy-instagram-followers/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
223
+ style="padding: 10px; display: inline-block"
224
+ target="_blank"
225
+ >
226
+ <img
227
+ width="71px"
228
+ height="70px"
229
+ src="https://images.opencollective.com/buzzoid-buy-instagram-followers/56a09fe/logo.png"
230
+ alt="Buzzoid - Buy Instagram Followers"
231
+ />
232
+ </a>
233
+ <p
234
+ align="center"
235
+ >
236
+ At Buzzoid, you can buy Instagram followers through a short checkout flow with safety controls. Rated world&#39;s #1 IG service since 2012.
237
+ </p>
238
+ <p align="center">
239
+ <a
240
+ href="https://buzzoid.com/buy-instagram-followers/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
241
+ target="_blank"
242
+ ><b>buzzoid.com</b></a
243
+ >
244
+ </p>
245
+ </td>
246
+ <td align="center" width="33.333333333333336%">
247
+ <a
248
+ href="https://twicsy.com/buy-instagram-followers/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
249
+ style="padding: 10px; display: inline-block"
250
+ target="_blank"
251
+ >
252
+ <img
253
+ width="71px"
254
+ height="70px"
255
+ src="https://images.opencollective.com/buy-instagram-followers-twicsy/b4c5d7f/logo/256.png?height=256"
256
+ alt="Buy Instagram Followers Twicsy"
257
+ />
258
+ </a>
259
+ <p
260
+ align="center"
261
+ >
262
+ Buy real Instagram followers from Twicsy. Twicsy has been voted the best site to buy followers from the likes of US Magazine.
263
+ </p>
264
+ <p align="center">
265
+ <a
266
+ href="https://twicsy.com/buy-instagram-followers/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
267
+ target="_blank"
268
+ ><b>twicsy.com</b></a
269
+ >
270
+ </p>
271
+ </td>
272
+ <td align="center" width="33.333333333333336%">
273
+ <a
274
+ href="https://global.fun88.com/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
275
+ style="padding: 10px; display: inline-block"
276
+ target="_blank"
277
+ >
278
+ <img
279
+ width="71px"
280
+ height="70px"
281
+ src="https://images.opencollective.com/fun88-official/bf2843c/logo.png"
282
+ alt="Fun 88"
283
+ />
284
+ </a>
285
+ <p
286
+ align="center"
287
+ >
288
+ Fun88 is a global online gambling and betting brand founded in 2009, offering a wide range of services including sports betting, live casino games, slots, and virtual gaming.
289
+ </p>
290
+ <p align="center">
291
+ <a
292
+ href="https://global.fun88.com/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
293
+ target="_blank"
294
+ ><b>global.fun88.com</b></a
295
+ >
296
+ </p>
297
+ </td>
298
+ </tr>
299
+ <tr width="33.333333333333336%">
300
+ <td align="center" width="33.333333333333336%">
301
+ <a
302
+ href="https://www.jbo88b.com/vn/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
303
+ style="padding: 10px; display: inline-block"
304
+ target="_blank"
305
+ >
306
+ <img
307
+ width="71px"
308
+ height="70px"
309
+ src="https://images.opencollective.com/jbo-vietnam/3fc6159/avatar.png"
310
+ alt="JBO Vietnam"
311
+ />
312
+ </a>
313
+ <p
314
+ align="center"
315
+ >
316
+ JBO Vietnam is a prominent online entertainment brand in Vietnam, offering sports betting, esports, online casino games, and a wide range of other exciting games.
317
+ </p>
318
+ <p align="center">
319
+ <a
320
+ href="https://www.jbo88b.com/vn/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
321
+ target="_blank"
322
+ ><b>jbo88b.com</b></a
323
+ >
324
+ </p>
325
+ </td>
326
+ <td align="center" width="33.333333333333336%">
327
+ <a
328
+ href="https://www.jbo579.com/th/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
329
+ style="padding: 10px; display: inline-block"
330
+ target="_blank"
331
+ >
332
+ <img
333
+ width="71px"
334
+ height="70px"
335
+ src="https://images.opencollective.com/jbo-thailand/d17e84f/avatar.png"
336
+ alt="JBO Thailand"
337
+ />
338
+ </a>
339
+ <p
340
+ align="center"
341
+ >
342
+ JBO Thailand is a prominent online entertainment brand in Thailand, offering sports betting, esports, online casino games, and a wide range of other exciting games.
343
+ </p>
344
+ <p align="center">
345
+ <a
346
+ href="https://www.jbo579.com/th/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
347
+ target="_blank"
348
+ ><b>jbo88b.com</b></a
349
+ >
350
+ </p>
351
+ </td>
352
+ <td align="center" width="33.333333333333336%">
353
+ <a
354
+ href="https://kasyno.us.com/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
355
+ style="padding: 10px; display: inline-block"
356
+ target="_blank"
357
+ >
358
+ <img
359
+ width="71px"
360
+ height="70px"
361
+ src="https://images.opencollective.com/polskie-kasyno-online/c25e456/avatar.png"
362
+ alt="polskie kasyno online"
363
+ />
364
+ </a>
365
+ <p
366
+ align="center"
367
+ >
368
+ Kasyno.us.com to niezależny portal o tematyce kasyno online Polska, który pomaga graczom znaleźć bezpieczne i sprawdzone kasyna internetowe.
369
+ </p>
370
+ <p align="center">
371
+ <a
372
+ href="https://kasyno.us.com/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
373
+ target="_blank"
374
+ ><b>kasyno.us.com</b></a
375
+ >
376
+ </p>
377
+ </td>
378
+ </tr>
379
+ <tr width="33.333333333333336%">
380
+ <td align="center" width="33.333333333333336%">
381
+ <a
382
+ href="https://www.scrapingbee.com/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
383
+ style="padding: 10px; display: inline-block"
384
+ target="_blank"
385
+ >
386
+ <img
387
+ width="90px"
388
+ height="90px"
389
+ src="https://images.opencollective.com/scrapingbee/6d5dc95/logo.png"
390
+ alt="ScrapingBee"
391
+ />
392
+ </a>
393
+ <p
394
+ align="center"
395
+ >
396
+ Scrape websites with a powerful web scraping API without managing proxies, browsers, or anti-bot defenses.
397
+ </p>
398
+ <p align="center">
399
+ <a
400
+ href="https://www.scrapingbee.com/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
401
+ target="_blank"
402
+ ><b>scrapingbee.com</b></a
403
+ >
404
+ </p>
405
+ </td>
406
+ <td align="center" width="33.333333333333336%">
407
+ <a
408
+ href="https://opencollective.com/axios/contribute"
409
+ target="_blank"
410
+ >💜 Become a sponsor</a
411
+ >
412
+ </td>
413
+ <td align="center" width="33.333333333333336%">
414
+ <a
415
+ href="https://opencollective.com/axios/contribute"
416
+ target="_blank"
417
+ >💜 Become a sponsor</a
418
+ >
419
+ </td>
420
+ </tr>
421
+ </table>
422
+
423
+ <!--<div>marker</div>-->
424
+
425
+ <br><br>
426
+
427
+ <div align="center">
428
+ <a href="https://axios.rest"><img src="https://axios.rest/logo.svg" alt="Axios" /></a><br>
429
+ </div>
430
+
431
+ <p align="center">Promise based HTTP client for the browser and node.js</p>
432
+
433
+ <p align="center">
434
+ <a href="https://axios.rest/"><b>Website</b></a> •
435
+ <a href="https://axios.rest/pages/getting-started/first-steps.html"><b>Documentation</b></a>
436
+ </p>
437
+
438
+ <div align="center">
439
+
440
+ [![npm version](https://img.shields.io/npm/v/axios.svg?style=flat-square)](https://www.npmjs.org/package/axios)
441
+ [![Build status](https://img.shields.io/github/actions/workflow/status/axios/axios/ci.yml?branch=v1.x&label=CI&logo=github&style=flat-square)](https://github.com/axios/axios/actions/workflows/ci.yml)
442
+ [![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod&style=flat-square)](https://gitpod.io/#https://github.com/axios/axios)
443
+ [![install size](https://img.shields.io/badge/dynamic/json?url=https://packagephobia.com/v2/api.json?p=axios&query=$.install.pretty&label=install%20size&style=flat-square)](https://packagephobia.now.sh/result?p=axios)
444
+ [![npm bundle size](https://img.shields.io/bundlephobia/minzip/axios?style=flat-square)](https://bundlephobia.com/package/axios@latest)
445
+ [![npm downloads](https://img.shields.io/npm/dm/axios.svg?style=flat-square)](https://npm-stat.com/charts.html?package=axios)
446
+ [![gitter chat](https://img.shields.io/gitter/room/mzabriskie/axios.svg?style=flat-square)](https://gitter.im/mzabriskie/axios)
447
+ [![code helpers](https://www.codetriage.com/axios/axios/badges/users.svg)](https://www.codetriage.com/axios/axios)
448
+ [![Contributors](https://img.shields.io/github/contributors/axios/axios.svg?style=flat-square)](CONTRIBUTORS.md)
449
+ [![Agent Friendly](https://agentfriendlycode.com/api/badge/github/axios/axios.svg)](https://agentfriendlycode.com/repo/32)
450
+
451
+ </div>
452
+
453
+ ## Table of contents
454
+
455
+ - [Features](#features)
456
+ - [Browser support](#browser-support)
457
+ - [Installing](#installing)
458
+ - [Package manager](#package-manager)
459
+ - [CDN](#cdn)
460
+ - [Example](#example)
461
+ - [Axios API](#axios-api)
462
+ - [Request method aliases](#request-method-aliases)
463
+ - [Concurrency](#concurrency-deprecated)
464
+ - [Creating an instance](#creating-an-instance)
465
+ - [Instance methods](#instance-methods)
466
+ - [Request config](#request-config)
467
+ - [Response schema](#response-schema)
468
+ - [Config defaults](#config-defaults)
469
+ - [Global axios defaults](#global-axios-defaults)
470
+ - [Custom instance defaults](#custom-instance-defaults)
471
+ - [Config order of precedence](#config-order-of-precedence)
472
+ - [Interceptors](#interceptors)
473
+ - [Multiple interceptors](#multiple-interceptors)
474
+ - [Handling errors](#handling-errors)
475
+ - [Handling timeouts](#handling-timeouts)
476
+ - [Cancellation](#cancellation)
477
+ - [AbortController](#abortcontroller)
478
+ - [CancelToken](#canceltoken-deprecated)
479
+ - [Using application/x-www-form-urlencoded format](#using-applicationx-www-form-urlencoded-format)
480
+ - [URLSearchParams](#urlsearchparams)
481
+ - [Query string](#query-string-older-browsers)
482
+ - [Automatic serialization](#automatic-serialization-to-urlsearchparams)
483
+ - [Using multipart/form-data format](#using-multipartform-data-format)
484
+ - [FormData](#formdata)
485
+ - [Automatic serialization](#automatic-serialization-to-formdata)
486
+ - [Posting files](#posting-files)
487
+ - [HTML form posting](#html-form-posting-browser)
488
+ - [Progress capturing](#progress-capturing)
489
+ - [Rate limiting](#rate-limiting)
490
+ - [AxiosHeaders](#axiosheaders)
491
+ - [Fetch adapter](#fetch-adapter)
492
+ - [Custom fetch](#custom-fetch)
493
+ - [Using with Tauri](#using-with-tauri)
494
+ - [Using with SvelteKit](#using-with-sveltekit)
495
+ - [HTTP/2 support](#http2-support)
496
+ - [Semver](#semver)
497
+ - [Promises](#promises)
498
+ - [TypeScript](#typescript)
499
+ - [Contributing](#contributing)
500
+ - [Local setup](#local-setup)
501
+ - [Resources](#resources)
502
+ - [Credits](#credits)
503
+ - [License](#license)
504
+
505
+ ## Features
506
+
507
+ - Make [XMLHttpRequests](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) from the browser.
508
+ - Make [http](https://nodejs.org/api/http.html) requests from Node.js.
509
+ - Use the [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) API for asynchronous request handling.
510
+ - Intercept requests and responses to add custom logic or transform data.
511
+ - Transform request and response data.
512
+ - Cancel requests with built-in cancellation APIs.
513
+ - Serialize and parse [JSON](https://www.json.org/json-en.html) data.
514
+ - Serialize data objects to `multipart/form-data` or `application/x-www-form-urlencoded`.
515
+ - Add client-side protection against [Cross-Site Request Forgery](https://en.wikipedia.org/wiki/Cross-site_request_forgery).
516
+
517
+ ## Browser support
518
+
519
+ | Chrome | Firefox | Safari | Opera | Edge |
520
+ | :------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------: |
521
+ | ![Chrome browser logo](https://raw.githubusercontent.com/alrra/browser-logos/main/src/chrome/chrome_48x48.png) | ![Firefox browser logo](https://raw.githubusercontent.com/alrra/browser-logos/main/src/firefox/firefox_48x48.png) | ![Safari browser logo](https://raw.githubusercontent.com/alrra/browser-logos/main/src/safari/safari_48x48.png) | ![Opera browser logo](https://raw.githubusercontent.com/alrra/browser-logos/main/src/opera/opera_48x48.png) | ![Edge browser logo](https://raw.githubusercontent.com/alrra/browser-logos/main/src/edge/edge_48x48.png) |
522
+ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
523
+
524
+ [![Browser Matrix](https://saucelabs.com/open_sauce/build_matrix/axios.svg)](https://saucelabs.com/u/axios)
525
+
526
+ ## Installing
527
+
528
+ ### Package manager
529
+
530
+ Using npm:
531
+
532
+ ```bash
533
+ $ npm install axios
534
+ ```
535
+
536
+ Using yarn:
537
+
538
+ ```bash
539
+ $ yarn add axios
540
+ ```
541
+
542
+ Using pnpm:
543
+
544
+ ```bash
545
+ $ pnpm add axios
546
+ ```
547
+
548
+ Using bun:
549
+
550
+ ```bash
551
+ $ bun add axios
552
+ ```
553
+
554
+ Using Deno:
555
+
556
+ ```bash
557
+ $ deno add axios
558
+ ```
559
+
560
+ Once the package is installed, import it with `import` or `require`:
561
+
562
+ ```js
563
+ import axios, { isCancel, AxiosError } from 'axios';
564
+ ```
565
+
566
+ You can also use the default export, since the named export is just a re-export from the Axios factory:
567
+
568
+ ```js
569
+ import axios from 'axios';
570
+
571
+ console.log(axios.isCancel('something'));
572
+ ```
573
+
574
+ If you use `require` for importing, **only the default export is available**:
575
+
576
+ ```js
577
+ const axios = require('axios');
578
+
579
+ console.log(axios.isCancel('something'));
580
+ ```
581
+
582
+ Some bundlers and ES6 linters need this form:
583
+
584
+ ```js
585
+ import { default as axios } from 'axios';
586
+ ```
587
+
588
+ In custom or legacy environments, you can import the bundle directly:
589
+
590
+ ```js
591
+ const axios = require('axios/dist/browser/axios.cjs'); // browser commonJS bundle (ES2017)
592
+ // const axios = require('axios/dist/node/axios.cjs'); // node commonJS bundle (ES2017)
593
+ ```
594
+
595
+ ### CDN
596
+
597
+ Using jsDelivr CDN (ES5 UMD browser module):
598
+
599
+ ```html
600
+ <script src="https://cdn.jsdelivr.net/npm/axios@1.13.2/dist/axios.min.js"></script>
601
+ ```
602
+
603
+ Using unpkg CDN:
604
+
605
+ ```html
606
+ <script src="https://unpkg.com/axios@1.13.2/dist/axios.min.js"></script>
607
+ ```
608
+
609
+ ## Example
610
+
611
+ ```js
612
+ import axios from 'axios';
613
+ //const axios = require('axios'); // legacy way
614
+
615
+ try {
616
+ const response = await axios.get('/user?ID=12345');
617
+ console.log(response);
618
+ } catch (error) {
619
+ console.error(error);
620
+ }
621
+
622
+ // Optionally the request above could also be done as
623
+ axios
624
+ .get('/user', {
625
+ params: {
626
+ ID: 12345,
627
+ },
628
+ timeout: 5000, // 5 seconds. See "Handling Timeouts" below for matching error handling
629
+ })
630
+ .then(function (response) {
631
+ console.log(response);
632
+ })
633
+ .catch(function (error) {
634
+ console.log(error);
635
+ })
636
+ .finally(function () {
637
+ // always executed
638
+ });
639
+
640
+ // Want to use async/await? Add the `async` keyword to your outer function/method.
641
+ async function getUser() {
642
+ try {
643
+ // Example: GET request with query parameters
644
+ const response = await axios.get('/user', {
645
+ params: {
646
+ ID: 12345,
647
+ },
648
+ });
649
+
650
+ // Using the `params` option improves readability and automatically formats query strings
651
+
652
+ console.log(response);
653
+ } catch (error) {
654
+ console.error(error);
655
+ }
656
+ }
657
+ ```
658
+
659
+ > Note: Set a `timeout` in production. Without one, a stalled request can hang
660
+ > indefinitely. See [Handling Timeouts](#handling-timeouts) for the matching error handling.
661
+
662
+ > Note: `async/await` is part of ECMAScript 2017 and is not supported in Internet
663
+ > Explorer and older browsers, so use with caution.
664
+
665
+ Performing a `POST` request
666
+
667
+ ```js
668
+ const response = await axios.post('/user', {
669
+ firstName: 'Fred',
670
+ lastName: 'Flintstone',
671
+ });
672
+ console.log(response);
673
+ ```
674
+
675
+ Performing multiple concurrent requests
676
+
677
+ ```js
678
+ function getUserAccount() {
679
+ return axios.get('/user/12345');
680
+ }
681
+
682
+ function getUserPermissions() {
683
+ return axios.get('/user/12345/permissions');
684
+ }
685
+
686
+ Promise.all([getUserAccount(), getUserPermissions()]).then(function (results) {
687
+ const acct = results[0];
688
+ const perm = results[1];
689
+ });
690
+ ```
691
+
692
+ ## axios API
693
+
694
+ Requests can be made by passing the relevant config to `axios`.
695
+
696
+ ##### axios(config)
697
+
698
+ ```js
699
+ // Send a POST request
700
+ axios({
701
+ method: 'post',
702
+ url: '/user/12345',
703
+ data: {
704
+ firstName: 'Fred',
705
+ lastName: 'Flintstone',
706
+ },
707
+ });
708
+ ```
709
+
710
+ ```js
711
+ // GET request for remote image in node.js
712
+ import fs from 'fs';
713
+ const response = await axios({
714
+ method: 'get',
715
+ url: 'https://bit.ly/2mTM3nY',
716
+ responseType: 'stream',
717
+ });
718
+ response.data.pipe(fs.createWriteStream('ada_lovelace.jpg'));
719
+ ```
720
+
721
+ ##### axios(url[, config])
722
+
723
+ ```js
724
+ // Send a GET request (default method)
725
+ axios('/user/12345');
726
+ ```
727
+
728
+ ### Request method aliases
729
+
730
+ For convenience, aliases have been provided for all common request methods.
731
+
732
+ ##### axios.request(config)
733
+
734
+ ##### axios.get(url[, config])
735
+
736
+ ##### axios.delete(url[, config])
737
+
738
+ ##### axios.head(url[, config])
739
+
740
+ ##### axios.options(url[, config])
741
+
742
+ ##### axios.post(url[, data[, config]])
743
+
744
+ ##### axios.put(url[, data[, config]])
745
+
746
+ ##### axios.patch(url[, data[, config]])
747
+
748
+ ###### Note
749
+
750
+ When using the alias methods `url`, `method`, and `data` properties don't need to be specified in config.
751
+
752
+ ### Concurrency (deprecated)
753
+
754
+ Use `Promise.all` instead of these helpers.
755
+
756
+ Helper functions for dealing with concurrent requests.
757
+
758
+ axios.all(iterable)
759
+ axios.spread(callback)
760
+
761
+ ### Creating an instance
762
+
763
+ You can create a new instance of axios with a custom config.
764
+
765
+ ##### axios.create([config])
766
+
767
+ ```js
768
+ const instance = axios.create({
769
+ baseURL: 'https://some-domain.com/api/',
770
+ timeout: 1000,
771
+ headers: { 'X-Custom-Header': 'foobar' },
772
+ });
773
+ ```
774
+
775
+ ### Instance methods
776
+
777
+ The following instance methods are available. Axios merges the specified config with the instance config.
778
+
779
+ ##### axios#request(config)
780
+
781
+ ##### axios#get(url[, config])
782
+
783
+ ##### axios#delete(url[, config])
784
+
785
+ ##### axios#head(url[, config])
786
+
787
+ ##### axios#options(url[, config])
788
+
789
+ ##### axios#post(url[, data[, config]])
790
+
791
+ ##### axios#put(url[, data[, config]])
792
+
793
+ ##### axios#patch(url[, data[, config]])
794
+
795
+ ##### axios#getUri([config])
796
+
797
+ ## Request config
798
+
799
+ ### Security notice: decompression-bomb protection is opt-in
800
+
801
+ By default `maxContentLength` and `maxBodyLength` are `-1` (unlimited). A malicious or compromised server can return a tiny gzip/deflate/brotli/zstd body that expands to gigabytes and exhaust the Node.js process.
802
+
803
+ If you call servers you do not fully trust, **set a cap**:
804
+
805
+ ```js
806
+ axios.defaults.maxContentLength = 10 * 1024 * 1024; // 10 MB
807
+ axios.defaults.maxBodyLength = 10 * 1024 * 1024;
808
+ ```
809
+
810
+ See the [security guide](https://axios.rest/pages/misc/security.html) for details.
811
+
812
+ These config options are available for requests. Only `url` is required. Requests default to `GET` when `method` is not set.
813
+
814
+ ```js
815
+ {
816
+ // `url` is the server URL for the request
817
+ url: '/user',
818
+
819
+ // `method` is the request method to be used when making the request
820
+ method: 'get', // default
821
+
822
+ // Axios prepends `baseURL` to `url` unless `url` is absolute and `allowAbsoluteUrls` is set to true.
823
+ // It can be convenient to set `baseURL` for an instance of axios to pass relative URLs
824
+ // to the methods of that instance.
825
+ // `baseURL` is not a security boundary. If `url` is attacker-controlled, validate it
826
+ // before passing it to axios. Relative URLs can contain `..` segments that resolve
827
+ // outside an intended path prefix after the final URL is parsed.
828
+ // HTTP(S) URLs must include `//` after the protocol. Values such as
829
+ // `https:example.com` and `https:/example.com` are rejected with ERR_INVALID_URL.
830
+ baseURL: 'https://some-domain.com/api/',
831
+
832
+ // `allowAbsoluteUrls` determines whether or not absolute URLs will override a configured `baseUrl`.
833
+ // When set to true (default), absolute values for `url` will override `baseUrl`.
834
+ // When set to false, absolute values for `url` will always be prepended by `baseUrl`.
835
+ allowAbsoluteUrls: true,
836
+
837
+ // `transformRequest` allows changes to the request data before it is sent to the server
838
+ // This is only applicable for request methods 'PUT', 'POST', 'PATCH' and 'DELETE'
839
+ // The last function in the array must return a string or an instance of Buffer, ArrayBuffer,
840
+ // FormData or Stream
841
+ // You may modify the headers object.
842
+ transformRequest: [function (data, headers) {
843
+ // Do whatever you want to transform the data
844
+
845
+ return data;
846
+ }],
847
+
848
+ // `transformResponse` allows changes to the response data to be made before
849
+ // it is passed to then/catch
850
+ transformResponse: [function (data) {
851
+ // Do whatever you want to transform the data
852
+
853
+ return data;
854
+ }],
855
+
856
+ // `parseReviver` is an optional function passed as the
857
+ // second argument (reviver) to JSON.parse()
858
+ parseReviver: function (key, value, context) {
859
+ // In modern environments, context.source provides the raw JSON string
860
+ // allowing for precision-safe parsing of BigInt
861
+ if (typeof value === 'number' && context?.source) {
862
+ const isInteger = Number.isInteger(value);
863
+ const isUnsafe = !Number.isSafeInteger(value);
864
+ const isValidIntegerString = /^-?\d+$/.test(context.source);
865
+
866
+ if (isInteger && isUnsafe && isValidIntegerString) {
867
+ try {
868
+ return BigInt(context.source);
869
+ } catch {
870
+ // Fallback: return original value if parsing fails
871
+ }
872
+ }
873
+ }
874
+ return value;
875
+ },
876
+
877
+ // `headers` are custom headers to be sent
878
+ headers: {'X-Requested-With': 'XMLHttpRequest'},
879
+
880
+ // `params` are the URL parameters to be sent with the request
881
+ // Must be a plain object or a URLSearchParams object
882
+ params: {
883
+ ID: 12345
884
+ },
885
+
886
+ // `paramsSerializer` is an optional config that allows you to customize serializing `params`.
887
+ paramsSerializer: {
888
+
889
+ // Custom encoder function which sends key/value pairs in an iterative fashion.
890
+ encode?: (param: string): string => { /* Do custom operations here and return transformed string */ },
891
+
892
+ // Custom serializer function for the entire parameter. Allows the user to mimic pre 1.x behaviour.
893
+ serialize?: (params: Record<string, any>, options?: ParamsSerializerOptions ),
894
+
895
+ // Configuration for formatting array indexes in the params.
896
+ indexes: false, // Three available options: (1) indexes: null (leads to no brackets), (2) (default) indexes: false (leads to empty brackets), (3) indexes: true (leads to brackets with indexes).
897
+
898
+ // Maximum object nesting depth when serializing params. Payloads deeper than this throw an
899
+ // AxiosError with code ERR_FORM_DATA_DEPTH_EXCEEDED. Default: 100. Set to Infinity to disable.
900
+ maxDepth: 100
901
+
902
+ },
903
+
904
+ // `data` is the data to be sent as the request body
905
+ // Only applicable for request methods 'PUT', 'POST', 'DELETE', and 'PATCH'
906
+ // `data` is request-specific: axios does not inherit or deep-merge it from defaults.
907
+ // To add shared body fields, use a request interceptor or transformRequest.
908
+ // When no `transformRequest` is set, it must be of one of the following types:
909
+ // - string, plain object, ArrayBuffer, ArrayBufferView, URLSearchParams
910
+ // - Browser only: FormData, File, Blob
911
+ // - React Native: FormData
912
+ // - Node only: Stream, Buffer, FormData (form-data package)
913
+ data: {
914
+ firstName: 'Fred'
915
+ },
916
+
917
+ // `formDataHeaderPolicy` controls how node.js FormData#getHeaders() is copied.
918
+ // 'legacy' (default) copies all returned headers for v1 compatibility.
919
+ // 'content-only' copies only Content-Type and Content-Length.
920
+ formDataHeaderPolicy: 'legacy',
921
+
922
+ // syntax alternative to send data into the body
923
+ // method post
924
+ // only the value is sent, not the key
925
+ data: 'Country=Brasil&City=Belo Horizonte',
926
+
927
+ // `timeout` specifies the number of milliseconds before the request times out.
928
+ // If the request takes longer than `timeout`, Axios aborts it.
929
+ timeout: 1000, // default is `0` (no timeout)
930
+
931
+ // `withCredentials` indicates whether or not cross-site Access-Control requests
932
+ // should be made using credentials
933
+ // This only controls whether the browser sends credentials.
934
+ // It does not control whether the XSRF header is added.
935
+ withCredentials: false, // default
936
+
937
+ // `adapter` allows custom handling of requests which makes testing easier.
938
+ // Return a promise and supply a valid response (see lib/adapters/README.md)
939
+ adapter: function (config) {
940
+ /* ... */
941
+ },
942
+ // Also, you can set the name of the built-in adapter, or provide an array with their names
943
+ // to choose the first available in the environment
944
+ adapter: 'xhr', // 'fetch' | 'http' | ['xhr', 'http', 'fetch']
945
+
946
+ // `auth` indicates that HTTP Basic auth should be used, and supplies credentials.
947
+ // This will set an `Authorization` header, overwriting any existing
948
+ // `Authorization` custom headers you have set using `headers`.
949
+ // If `auth` is omitted, the Node.js HTTP and fetch adapters can read
950
+ // HTTP Basic auth credentials from the request URL, for example
951
+ // `https://user:pass@example.com`. Axios decodes percent-encoded URL
952
+ // credentials, and `auth` takes precedence over URL-embedded credentials.
953
+ // The Node.js HTTP adapter preserves Basic auth on same-origin redirects
954
+ // and strips it on cross-origin redirects.
955
+ // Please note that only HTTP Basic auth is configurable through this parameter.
956
+ // For Bearer tokens and such, use `Authorization` custom headers instead.
957
+ auth: {
958
+ username: 'janedoe',
959
+ password: 's00pers3cret'
960
+ },
961
+
962
+ // `responseType` indicates the type of data that the server will respond with
963
+ // options are: 'arraybuffer', 'document', 'json', 'text', 'stream'
964
+ // browser only: 'blob'
965
+ responseType: 'json', // default
966
+
967
+ // `responseEncoding` indicates encoding to use for decoding responses (Node.js only)
968
+ // Note: Ignored for `responseType` of 'stream' or client-side requests
969
+ // options are: 'ascii', 'ASCII', 'ansi', 'ANSI', 'binary', 'BINARY', 'base64', 'BASE64', 'base64url',
970
+ // 'BASE64URL', 'hex', 'HEX', 'latin1', 'LATIN1', 'ucs-2', 'UCS-2', 'ucs2', 'UCS2', 'utf-8', 'UTF-8',
971
+ // 'utf8', 'UTF8', 'utf16le', 'UTF16LE'
972
+ responseEncoding: 'utf8', // default
973
+
974
+ // `xsrfCookieName` is the name of the cookie to use as a value for the xsrf token
975
+ xsrfCookieName: 'XSRF-TOKEN', // default
976
+
977
+ // `xsrfHeaderName` is the name of the http header that carries the xsrf token value
978
+ xsrfHeaderName: 'X-XSRF-TOKEN', // default
979
+
980
+ // `withXSRFToken` defines whether to send the XSRF header in browser requests.
981
+ // `undefined` (default) - set XSRF header only for the same origin requests
982
+ // `true` - always set XSRF header, including for cross-origin requests
983
+ // `false` - never set XSRF header
984
+ // function - resolve with custom logic; receives the internal config object
985
+ withXSRFToken: boolean | undefined | ((config: InternalAxiosRequestConfig) => boolean | undefined),
986
+
987
+ // `withXSRFToken` controls whether Axios reads the XSRF cookie and sets the XSRF header.
988
+ // - `undefined` (default): the XSRF header is set only for same-origin requests.
989
+ // - `true`: attempt to set the XSRF header for all requests (including cross-origin).
990
+ // - `false`: never set the XSRF header.
991
+ // - function: a callback that receives the request `config` and returns `true`,
992
+ // `false`, or `undefined` to decide per-request behavior.
993
+ //
994
+ // Note about `withCredentials`: `withCredentials` controls whether cross-site
995
+ // requests include credentials (cookies and HTTP auth). In older Axios versions,
996
+ // setting `withCredentials: true` implicitly caused Axios to set the XSRF header
997
+ // for cross-origin requests. Newer Axios separates these concerns: to allow the
998
+ // XSRF header to be sent for cross-origin requests you should set both
999
+ // `withCredentials: true` and `withXSRFToken: true`.
1000
+ //
1001
+ // Example:
1002
+ // axios.get('/user', { withCredentials: true, withXSRFToken: true });
1003
+
1004
+ // `onUploadProgress` allows handling of progress events for uploads
1005
+ // browser & node.js
1006
+ onUploadProgress: function ({loaded, total, progress, bytes, estimated, rate, upload = true}) {
1007
+ // Do whatever you want with the Axios progress event
1008
+ },
1009
+
1010
+ // `onDownloadProgress` allows handling of progress events for downloads
1011
+ // browser & node.js
1012
+ onDownloadProgress: function ({loaded, total, progress, bytes, estimated, rate, download = true}) {
1013
+ // Do whatever you want with the Axios progress event
1014
+ },
1015
+
1016
+ // `maxContentLength` defines the max size of the response content in bytes.
1017
+ // It is enforced by the Node.js HTTP adapter and the fetch adapter.
1018
+ maxContentLength: 2000,
1019
+
1020
+ // `maxBodyLength` defines the max size of the request content in bytes.
1021
+ // It is enforced by the Node.js HTTP adapter and the fetch adapter when the body length can be determined.
1022
+ maxBodyLength: 2000,
1023
+
1024
+ // `redact` masks matching config keys when AxiosError#toJSON() is called.
1025
+ // Matching is case-insensitive and recursive. It does not change the request.
1026
+ redact: ['authorization', 'password'],
1027
+
1028
+ // `validateStatus` defines whether to resolve or reject the promise for a given
1029
+ // HTTP response status code. If `validateStatus` returns `true` or is set to
1030
+ // `null`, Axios resolves the promise; otherwise, Axios rejects it.
1031
+ // Explicit `validateStatus: undefined` resolves every status by default for
1032
+ // backward compatibility. Set `transitional.validateStatusUndefinedResolves`
1033
+ // to `false` to make explicit `undefined` behave as if this option was omitted.
1034
+ validateStatus: function (status) {
1035
+ return status >= 200 && status < 300; // default
1036
+ },
1037
+
1038
+ // `maxRedirects` defines the maximum number of redirects to follow in node.js.
1039
+ // If set to 0, Axios follows no redirects.
1040
+ maxRedirects: 21, // default
1041
+
1042
+ // `sensitiveHeaders` (Node only option) lists custom secret-bearing headers
1043
+ // (such as `X-API-Key`) to remove from cross-origin redirects. Matching is
1044
+ // case-insensitive. Same-origin redirects keep these headers. If
1045
+ // `maxRedirects` is 0, this option is not used.
1046
+ sensitiveHeaders: ['X-API-Key'],
1047
+
1048
+ // `beforeRedirect` defines a function that Axios calls before redirect.
1049
+ // Use this to adjust the request options upon redirecting,
1050
+ // to inspect the latest response headers,
1051
+ // or to cancel the request by throwing an error
1052
+ // If maxRedirects is set to 0, `beforeRedirect` is not used.
1053
+
1054
+ beforeRedirect: (options, { headers }) => {
1055
+ if (
1056
+ options.hostname === "example.com" &&
1057
+ options.protocol === "https:"
1058
+ ) {
1059
+ options.auth = "user:password";
1060
+ }
1061
+ },
1062
+ // Security note:
1063
+ // The `beforeRedirect` hook runs after sensitive headers are stripped during redirects.
1064
+ // `follow-redirects` removes credentials on protocol downgrades
1065
+ // (HTTPS to HTTP). Because `beforeRedirect` runs after that step,
1066
+ // re-injecting credentials without checking the destination can expose
1067
+ // sensitive data. Only add credentials for trusted HTTPS destinations.
1068
+
1069
+ // `socketPath` defines a UNIX Socket to be used in node.js.
1070
+ // e.g. '/var/run/docker.sock' to send requests to the docker daemon.
1071
+ // Only either `socketPath` or `proxy` can be specified.
1072
+ // If both are specified, `socketPath` is used.
1073
+ //
1074
+ // Security: when `socketPath` is set, hostname/port of the URL are ignored,
1075
+ // which bypasses hostname-based SSRF protections. Never derive `socketPath`
1076
+ // from untrusted input. Use `allowedSocketPaths` (below) to restrict accepted
1077
+ // socket paths for defense-in-depth.
1078
+ socketPath: null, // default
1079
+
1080
+ // `allowedSocketPaths` restricts which `socketPath` values are accepted.
1081
+ // Accepts a string or array of strings. Entries and the incoming socketPath
1082
+ // are compared after path.resolve(). A mismatch throws AxiosError with code
1083
+ // `ERR_BAD_OPTION_VALUE`. When null/undefined, no restriction is applied.
1084
+ allowedSocketPaths: null, // default
1085
+
1086
+ // `transport` determines the transport method for the request.
1087
+ // If defined, Axios uses it. Otherwise, if `maxRedirects` is 0,
1088
+ // Axios uses the default `http` or `https` library, depending on the protocol specified in `protocol`.
1089
+ // Otherwise, Axios uses the `httpFollow` or `httpsFollow` library, again depending on the protocol,
1090
+ // which can handle redirects.
1091
+ transport: undefined, // default
1092
+
1093
+ // `httpAgent` and `httpsAgent` define a custom agent to be used when performing http
1094
+ // and https requests, respectively, in node.js. This allows options to be added like
1095
+ // `keepAlive` that are not enabled by default before Node.js v19.0.0. After Node.js
1096
+ // v19.0.0, you no longer need to customize the agent to enable `keepAlive` because
1097
+ // `http.globalAgent` has `keepAlive` enabled by default.
1098
+ httpAgent: new http.Agent({ keepAlive: true }),
1099
+ httpsAgent: new https.Agent({ keepAlive: true }),
1100
+
1101
+ // `proxy` defines the hostname, port, and protocol of the proxy server.
1102
+ // You can also define your proxy using the conventional `http_proxy` and
1103
+ // `https_proxy` environment variables. If you are using environment variables
1104
+ // for your proxy configuration, you can also define a `no_proxy` environment
1105
+ // variable as a comma-separated list of domains that should not be proxied.
1106
+ // Use `false` to disable proxies, ignoring environment variables.
1107
+ // On Node.js versions with native environment proxy support, axios defers
1108
+ // environment proxy handling to Node when the selected agent has `proxyEnv`
1109
+ // enabled, including processes started with `NODE_USE_ENV_PROXY=1`,
1110
+ // `--use-env-proxy`, or `NODE_OPTIONS=--use-env-proxy`. Custom agents without
1111
+ // `proxyEnv` continue to use axios environment proxy resolution. Explicit
1112
+ // `proxy` config is still handled by axios.
1113
+ // `auth` indicates that HTTP Basic auth should be used to connect to the proxy, and
1114
+ // supplies credentials.
1115
+ // For `http://` targets, axios sends the request to the proxy in
1116
+ // forward-proxy mode and stamps `Proxy-Authorization` onto the request
1117
+ // headers (overwriting any user-supplied `Proxy-Authorization` header).
1118
+ // For `https://` targets, axios establishes a CONNECT tunnel through the
1119
+ // proxy and performs TLS end-to-end with the origin; `Proxy-Authorization`
1120
+ // is sent on the CONNECT request only, never on the wrapped TLS request,
1121
+ // so the proxy never sees the URL, headers, or body. Axios forwards
1122
+ // `httpsAgent` TLS options such as `ca`, `cert`, `key`, and
1123
+ // `rejectUnauthorized` to the generated tunneling agent, so they still apply
1124
+ // to the origin TLS connection.
1125
+ // If you supply an `HttpsProxyAgent`, axios leaves tunneling to that agent.
1126
+ // If the proxy server uses HTTPS, then you must set the protocol to `https`.
1127
+ // A user-supplied `Host` header in `headers` is preserved when forwarding
1128
+ // through a proxy (case-insensitive match on `host`/`Host`/`HOST`); this
1129
+ // lets you target a virtual host that differs from the request URL, for
1130
+ // example, hitting `127.0.0.1:4000` while having the proxy treat the
1131
+ // request as `example.com`. If no `Host` header is supplied, axios
1132
+ // defaults it to the request URL's `hostname:port` as before. The Host
1133
+ // header is only set in forward-proxy mode (HTTP targets); for HTTPS
1134
+ // tunneling the Host header is sent inside the TLS connection, not seen
1135
+ // by the proxy.
1136
+ proxy: {
1137
+ protocol: 'https',
1138
+ host: '127.0.0.1',
1139
+ // hostname: '127.0.0.1' // Takes precedence over 'host' if both are defined
1140
+ port: 9000,
1141
+ auth: {
1142
+ username: 'mikeymike',
1143
+ password: 'rapunz3l'
1144
+ }
1145
+ },
1146
+
1147
+ // `cancelToken` specifies a cancel token that can be used to cancel the request
1148
+ // (see Cancellation section below for details)
1149
+ cancelToken: new CancelToken(function (cancel) {
1150
+ }),
1151
+
1152
+ // an alternative way to cancel Axios requests using AbortController
1153
+ signal: new AbortController().signal,
1154
+
1155
+ // `decompress` indicates whether or not the response body should be decompressed
1156
+ // automatically. If set to `true` will also remove the 'content-encoding' header
1157
+ // from the responses objects of all decompressed responses
1158
+ // Axios supports gzip, deflate, brotli, and zstd when the current Node.js
1159
+ // runtime provides the corresponding zlib decompressor.
1160
+ // - Node only (XHR cannot turn off decompression)
1161
+ decompress: true, // default
1162
+
1163
+ // `insecureHTTPParser` boolean.
1164
+ // Indicates where to use an insecure HTTP parser that accepts invalid HTTP headers.
1165
+ // This may allow interoperability with non-conformant HTTP implementations.
1166
+ // Using the insecure parser should be avoided.
1167
+ // see options https://nodejs.org/dist/latest-v12.x/docs/api/http.html#http_http_request_url_options_callback
1168
+ // see also https://nodejs.org/en/blog/vulnerability/february-2020-security-releases/#strict-http-header-parsing-none
1169
+ insecureHTTPParser: undefined, // default
1170
+
1171
+ // transitional options for backward compatibility that may be removed in the newer versions
1172
+ transitional: {
1173
+ // silent JSON parsing mode
1174
+ // `true` - ignore JSON parsing errors and set response.data to null if parsing failed (old behaviour)
1175
+ // `false` - throw SyntaxError if JSON parsing failed
1176
+ // Important: this option only takes effect when `responseType` is explicitly set to 'json'.
1177
+ // When `responseType` is omitted (defaults to no value), axios uses `forcedJSONParsing`
1178
+ // to attempt JSON parsing, but will silently return the raw string on failure regardless
1179
+ // of this setting. To have invalid JSON throw errors, use:
1180
+ // { responseType: 'json', transitional: { silentJSONParsing: false } }
1181
+ silentJSONParsing: true, // default value for the current Axios version
1182
+
1183
+ // try to parse the response string as JSON even if `responseType` is not 'json'
1184
+ forcedJSONParsing: true,
1185
+
1186
+ // throw ETIMEDOUT error instead of generic ECONNABORTED on request timeouts
1187
+ clarifyTimeoutError: false,
1188
+
1189
+ // keep explicit `validateStatus: undefined` resolving every response status
1190
+ // for backward compatibility. Set to false to make explicit undefined behave
1191
+ // as if validateStatus was omitted.
1192
+ validateStatusUndefinedResolves: true,
1193
+
1194
+ // advertise `zstd` in the default Accept-Encoding header when the current
1195
+ // Node.js runtime supports zstd decompression. Axios still decompresses
1196
+ // zstd responses when support exists and `decompress` is true.
1197
+ advertiseZstdAcceptEncoding: false,
1198
+
1199
+ // use the legacy interceptor request/response ordering
1200
+ legacyInterceptorReqResOrdering: true, // default
1201
+ },
1202
+
1203
+ env: {
1204
+ // The FormData class to be used to automatically serialize the payload into a FormData object
1205
+ FormData: window?.FormData || global?.FormData
1206
+ },
1207
+
1208
+ formSerializer: {
1209
+ visitor: (value, key, path, helpers) => {}; // custom visitor function to serialize form values
1210
+ dots: boolean; // use dots instead of brackets format
1211
+ metaTokens: boolean; // keep special endings like {} in parameter key
1212
+ indexes: boolean; // array indexes format null - no brackets, false - empty brackets, true - brackets with indexes
1213
+ maxDepth: 100; // maximum object nesting depth; throws AxiosError (ERR_FORM_DATA_DEPTH_EXCEEDED) if exceeded. Set to Infinity to disable.
1214
+ },
1215
+
1216
+ // http adapter only (node.js)
1217
+ maxRate: [
1218
+ 100 * 1024, // 100KB/s upload limit,
1219
+ 100 * 1024 // 100KB/s download limit
1220
+ ]
1221
+ }
1222
+ ```
1223
+
1224
+ For custom secret-bearing headers in Node.js, list them in `sensitiveHeaders` so Axios removes them when following a redirect to another origin:
1225
+
1226
+ ```js
1227
+ axios.get('https://api.example.com/users', {
1228
+ headers: { 'X-API-Key': 'secret' },
1229
+ sensitiveHeaders: ['X-API-Key'],
1230
+ });
1231
+ ```
1232
+
1233
+ ### Strict RFC 3986 percent-encoding for query params
1234
+
1235
+ By default, axios decodes `%3A`, `%24`, `%2C` and `%20` back to `:`, `$`, `,` and `+` for readability (the `+` follows the `application/x-www-form-urlencoded` convention for spaces in query strings). These characters are valid in a query component under [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986#section-3.4), so the default output is correct, but some backends require strict percent-encoding and reject the readable form.
1236
+
1237
+ Override the default encoder via `paramsSerializer.encode`:
1238
+
1239
+ ```js
1240
+ // Per-request: emit strict RFC 3986 percent-encoding for query values
1241
+ axios.get('/foo', {
1242
+ params: { filter: JSON.stringify({ startedAt: '2026-01-23' }) },
1243
+ paramsSerializer: { encode: encodeURIComponent },
1244
+ });
1245
+
1246
+ // Or set it on the instance defaults
1247
+ const client = axios.create({
1248
+ paramsSerializer: { encode: encodeURIComponent },
1249
+ });
1250
+ ```
1251
+
1252
+ ## HTTP/2 support
1253
+
1254
+ Axios has experimental HTTP/2 support in the Node.js HTTP adapter.
1255
+
1256
+ Support depends on the runtime environment and Node.js version. Redirects and some adapter behavior may differ from HTTP/1.1.
1257
+
1258
+ Options like `httpVersion` and `http2Options` are adapter-specific and may not work the same way in every environment.
1259
+
1260
+ If you need HTTP/2, check runtime support or use a custom adapter.
1261
+
1262
+ ## Response schema
1263
+
1264
+ The response to a request contains the following information.
1265
+
1266
+ ```js
1267
+ {
1268
+ // `data` is the response that was provided by the server
1269
+ data: {},
1270
+
1271
+ // `status` is the HTTP status code from the server response
1272
+ status: 200,
1273
+
1274
+ // `statusText` is the HTTP status message from the server response
1275
+ statusText: 'OK',
1276
+
1277
+ // `headers` the HTTP headers that the server responded with
1278
+ // All header names are lowercase and can be accessed using the bracket notation.
1279
+ // Example: `response.headers['content-type']`
1280
+ headers: {},
1281
+
1282
+ // `config` is the config that was provided to `axios` for the request
1283
+ config: {},
1284
+
1285
+ // `request` is the request that generated this response
1286
+ // It is the last ClientRequest instance in node.js (in redirects)
1287
+ // and an XMLHttpRequest instance in the browser
1288
+ request: {}
1289
+ }
1290
+ ```
1291
+
1292
+ When using `then`, you receive the response like this:
1293
+
1294
+ ```js
1295
+ const response = await axios.get('/user/12345');
1296
+ console.log(response.data);
1297
+ console.log(response.status);
1298
+ console.log(response.statusText);
1299
+ console.log(response.headers);
1300
+ console.log(response.config);
1301
+ ```
1302
+
1303
+ When using `catch`, or passing a [rejection callback](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/then) as the second parameter of `then`, read the response from the `error` object. See [Handling errors](#handling-errors).
1304
+
1305
+ ## Config defaults
1306
+
1307
+ Config defaults apply to every request.
1308
+
1309
+ ### Global axios defaults
1310
+
1311
+ ```js
1312
+ axios.defaults.baseURL = 'https://api.example.com';
1313
+
1314
+ // Important: If you use axios with multiple domains, Axios sends AUTH_TOKEN to all of them.
1315
+ // See below for an example using Custom instance defaults instead.
1316
+ axios.defaults.headers.common['Authorization'] = AUTH_TOKEN;
1317
+
1318
+ axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
1319
+ ```
1320
+
1321
+ ### Custom instance defaults
1322
+
1323
+ ```js
1324
+ // Set config defaults when creating the instance
1325
+ const instance = axios.create({
1326
+ baseURL: 'https://api.example.com',
1327
+ });
1328
+
1329
+ // Alter defaults after instance has been created
1330
+ instance.defaults.headers.common['Authorization'] = AUTH_TOKEN;
1331
+ ```
1332
+
1333
+ ### Config order of precedence
1334
+
1335
+ Axios merges config in this order: library defaults from [lib/defaults/index.js](https://github.com/axios/axios/blob/main/lib/defaults/index.js#L49), the instance `defaults` property, and the request `config` argument. Later values take precedence over earlier ones.
1336
+
1337
+ Some options are request-specific and are only taken from the request `config`. `data` is one of those options: axios does not inherit or deep-merge request bodies from global or instance defaults. If every request needs shared body fields, add them with a request interceptor or `transformRequest`, and scope that logic carefully so sensitive values are not sent to the wrong endpoint.
1338
+
1339
+ ```js
1340
+ // Create an instance using the config defaults provided by the library
1341
+ // At this point the timeout config value is `0` as is the default for the library
1342
+ const instance = axios.create();
1343
+
1344
+ // Override timeout default for the library
1345
+ // Now all requests using this instance will wait 2.5 seconds before timing out
1346
+ instance.defaults.timeout = 2500;
1347
+
1348
+ // Override timeout for this request as it's known to take a long time
1349
+ instance.get('/longRequest', {
1350
+ timeout: 5000,
1351
+ });
1352
+ ```
1353
+
1354
+ ## Interceptors
1355
+
1356
+ You can intercept requests or responses before methods like `.get()` or `.post()`
1357
+ resolve their promises (before code inside `then` or `catch`, or after `await`)
1358
+
1359
+ ```js
1360
+ const instance = axios.create();
1361
+
1362
+ // Add a request interceptor
1363
+ instance.interceptors.request.use(
1364
+ function (config) {
1365
+ // Do something before the request is sent
1366
+ return config;
1367
+ },
1368
+ function (error) {
1369
+ // Do something with the request error
1370
+ return Promise.reject(error);
1371
+ }
1372
+ );
1373
+
1374
+ // Add a response interceptor
1375
+ instance.interceptors.response.use(
1376
+ function (response) {
1377
+ // Any status code that lies within the range of 2xx causes this function to trigger
1378
+ // Do something with response data
1379
+ return response;
1380
+ },
1381
+ function (error) {
1382
+ // Any status codes that fall outside the range of 2xx cause this function to trigger
1383
+ // Do something with response error
1384
+ return Promise.reject(error);
1385
+ }
1386
+ );
1387
+ ```
1388
+
1389
+ If you need to remove an interceptor later you can.
1390
+
1391
+ ```js
1392
+ const instance = axios.create();
1393
+ const myInterceptor = instance.interceptors.request.use(function () {
1394
+ /*...*/
1395
+ });
1396
+ instance.interceptors.request.eject(myInterceptor);
1397
+ ```
1398
+
1399
+ You can also clear all interceptors for requests or responses.
1400
+
1401
+ ```js
1402
+ const instance = axios.create();
1403
+ instance.interceptors.request.use(function () {
1404
+ /*...*/
1405
+ });
1406
+ instance.interceptors.request.clear(); // Removes interceptors from requests
1407
+ instance.interceptors.response.use(function () {
1408
+ /*...*/
1409
+ });
1410
+ instance.interceptors.response.clear(); // Removes interceptors from responses
1411
+ ```
1412
+
1413
+ You can add interceptors to a custom instance of axios.
1414
+
1415
+ ```js
1416
+ const instance = axios.create();
1417
+ instance.interceptors.request.use(function () {
1418
+ /*...*/
1419
+ });
1420
+ ```
1421
+
1422
+ When you add request interceptors, they are presumed to be asynchronous by default. This can cause a delay
1423
+ in the execution of your axios request when the main thread is blocked (a promise is created under the hood for
1424
+ the interceptor and your request gets put at the bottom of the call stack). If your request interceptors are synchronous you can add a flag
1425
+ to the options object that will tell axios to run the code synchronously and avoid any delays in request execution.
1426
+
1427
+ ```js
1428
+ axios.interceptors.request.use(
1429
+ function (config) {
1430
+ config.headers.test = 'I am only a header!';
1431
+ return config;
1432
+ },
1433
+ null,
1434
+ { synchronous: true }
1435
+ );
1436
+ ```
1437
+
1438
+ If a synchronous request interceptor throws, Axios calls that interceptor's paired rejection handler and stops running the remaining request interceptors. A rejection handler that returns normally, including one that returns `undefined` or a fulfilled Promise, treats the error as handled: Axios dispatches the request with the last valid config, and ignores the handler's return value. To block dispatch, omit the rejection handler or throw/return a rejected Promise from it. The final error then continues through response rejection interceptors.
1439
+
1440
+ Use a rejected Promise when validation must prevent the request:
1441
+
1442
+ ```js
1443
+ axios.interceptors.request.use(
1444
+ function validate(config) {
1445
+ if (!config.headers.has('Authorization')) {
1446
+ throw new Error('Authorization is required');
1447
+ }
1448
+ return config;
1449
+ },
1450
+ function rejectInvalidRequest(error) {
1451
+ return Promise.reject(error);
1452
+ },
1453
+ { synchronous: true }
1454
+ );
1455
+ ```
1456
+
1457
+ A logging-only rejection handler can return normally to preserve the existing request-continuation behavior:
1458
+
1459
+ ```js
1460
+ axios.interceptors.request.use(
1461
+ function prepare(config) {
1462
+ throw new Error('Optional preparation failed');
1463
+ },
1464
+ function logPreparationFailure(error) {
1465
+ console.warn(error);
1466
+ // Returning normally dispatches with the last valid config.
1467
+ },
1468
+ { synchronous: true }
1469
+ );
1470
+ ```
1471
+
1472
+ If you want to execute a particular interceptor based on a runtime check,
1473
+ you can add a `runWhen` function to the options object. The request interceptor will not run **if and only if** the return
1474
+ of `runWhen` is `false`. Axios calls the function with the config
1475
+ object (don't forget that you can bind your own arguments to it as well.) This can be handy when you have an
1476
+ asynchronous request interceptor that only needs to run at certain times.
1477
+
1478
+ ```js
1479
+ function onGetCall(config) {
1480
+ return config.method === 'get';
1481
+ }
1482
+ axios.interceptors.request.use(
1483
+ function (config) {
1484
+ config.headers.test = 'special get headers';
1485
+ return config;
1486
+ },
1487
+ null,
1488
+ { runWhen: onGetCall }
1489
+ );
1490
+ ```
1491
+
1492
+ > Note: The options parameter (with `synchronous` and `runWhen` properties) is only supported for request interceptors at the moment.
1493
+
1494
+ ### Interceptor execution order
1495
+
1496
+ Request and response interceptors use different execution orders.
1497
+
1498
+ Request interceptors run in reverse order (LIFO: last in, first out). The last interceptor added runs first.
1499
+
1500
+ Response interceptors run in the order they were added (FIFO: first in, first out). The first interceptor added runs first.
1501
+
1502
+ Example:
1503
+
1504
+ ```js
1505
+ const instance = axios.create();
1506
+
1507
+ const interceptor = (id) => (base) => {
1508
+ console.log(id);
1509
+ return base;
1510
+ };
1511
+
1512
+ instance.interceptors.request.use(interceptor('Request Interceptor 1'));
1513
+ instance.interceptors.request.use(interceptor('Request Interceptor 2'));
1514
+ instance.interceptors.request.use(interceptor('Request Interceptor 3'));
1515
+ instance.interceptors.response.use(interceptor('Response Interceptor 1'));
1516
+ instance.interceptors.response.use(interceptor('Response Interceptor 2'));
1517
+ instance.interceptors.response.use(interceptor('Response Interceptor 3'));
1518
+
1519
+ // Console output:
1520
+ // Request Interceptor 3
1521
+ // Request Interceptor 2
1522
+ // Request Interceptor 1
1523
+ // [HTTP request is made]
1524
+ // Response Interceptor 1
1525
+ // Response Interceptor 2
1526
+ // Response Interceptor 3
1527
+ ```
1528
+
1529
+ ### Multiple interceptors
1530
+
1531
+ When a response is fulfilled and multiple response interceptors are registered:
1532
+
1533
+ - Each interceptor runs in registration order.
1534
+ - Each interceptor receives the result from the previous interceptor.
1535
+ - The chain returns the result from the last interceptor.
1536
+ - If a fulfillment interceptor throws, Axios skips the next fulfillment interceptor and calls the next rejection interceptor.
1537
+ - After the error is caught, later fulfillment interceptors run again, just like in a promise chain.
1538
+
1539
+ Read [the interceptor tests](./tests/browser/interceptors.browser.test.js) to see all this in code.
1540
+
1541
+ ## Error types
1542
+
1543
+ Axios error messages include details that can help you debug the request.
1544
+
1545
+ Axios errors use this structure:
1546
+ | Property | Definition |
1547
+ | -------- | ---------- |
1548
+ | message | A quick summary of the error message and the status it failed with. |
1549
+ | name | This defines where the error originated from. For axios, it will always be an 'AxiosError'. |
1550
+ | stack | Stack trace for the error. |
1551
+ | config | An axios config object with specific instance configurations defined by the user from when the request was made |
1552
+ | code | Axios error code. The table below lists internal Axios error codes. |
1553
+ | status | HTTP response status code. See [here](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes) for common HTTP response status code meanings.
1554
+
1555
+ These are the internal Axios error codes:
1556
+
1557
+ | Code | Definition |
1558
+ | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1559
+ | ERR_BAD_OPTION_VALUE | Invalid value provided in axios configuration. |
1560
+ | ERR_BAD_OPTION | Invalid option provided in axios configuration. |
1561
+ | ERR_NOT_SUPPORT | Feature or method not supported in the current axios environment. |
1562
+ | ERR_DEPRECATED | Deprecated feature or method used in axios. |
1563
+ | ERR_INVALID_URL | Invalid URL provided for axios request. |
1564
+ | ECONNABORTED | Typically indicates that the request has been timed out (unless `transitional.clarifyTimeoutError` is set) or aborted by the browser or its plugin. |
1565
+ | ERR_CANCELED | The user explicitly canceled the request with an AbortSignal or CancelToken. |
1566
+ | ETIMEDOUT | Request timed out after exceeding the configured Axios timeout. Set `transitional.clarifyTimeoutError` to `true`; otherwise Axios throws a generic `ECONNABORTED` error. |
1567
+ | ERR_NETWORK | Network-related issue. In the browser, this error can also be caused by a [CORS](https://developer.mozilla.org/ru/docs/Web/HTTP/Guides/CORS) or [Mixed Content](https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content) policy violation. The browser does not allow the JS code to clarify the real reason for the error caused by security issues, so please check the console. |
1568
+ | ERR_FR_TOO_MANY_REDIRECTS | Request exceeded the configured maximum number of redirects. |
1569
+ | ERR_BAD_RESPONSE | Response cannot be parsed properly or is in an unexpected format. Usually related to a response with `5xx` status code. |
1570
+ | ERR_BAD_REQUEST | The request has an unexpected format or is missing required parameters. Usually related to a response with `4xx` status code. |
1571
+
1572
+ ## Handling errors
1573
+
1574
+ By default, Axios rejects responses with status codes outside the 2xx range.
1575
+
1576
+ ```js
1577
+ axios.get('/user/12345').catch(function (error) {
1578
+ if (error.response) {
1579
+ // The request was made and the server responded with a status code
1580
+ // that falls out of the range of 2xx
1581
+ console.log(error.response.data);
1582
+ console.log(error.response.status);
1583
+ console.log(error.response.headers);
1584
+ } else if (error.request) {
1585
+ // The request was made but no response was received
1586
+ // `error.request` is an instance of XMLHttpRequest in the browser and an instance of
1587
+ // http.ClientRequest in node.js
1588
+ console.log(error.request);
1589
+ } else {
1590
+ // Something happened in setting up the request that triggered an Error
1591
+ console.log('Error', error.message);
1592
+ }
1593
+ console.log(error.config);
1594
+ });
1595
+ ```
1596
+
1597
+ Axios rejects an `http:` or `https:` request `url` or `baseURL` that omits `//` after the protocol. For example, `https:example.com` and `https:/example.com` reject with `AxiosError` code `ERR_INVALID_URL` instead of being silently normalized. Pass a well-formed URL such as `https://example.com`.
1598
+
1599
+ The error identifies the malformed URL, for example `Invalid URL "https:example.com": missing "//" after protocol`. To keep logs useful without leaking secrets, Axios reports the control-character-normalized URL with credentials, query parameter values, and fragment contents redacted; the scheme, host, path, and query parameter names remain visible.
1600
+
1601
+ Use `validateStatus` to override the default condition (`status >= 200 && status < 300`) and choose which HTTP status codes should reject.
1602
+
1603
+ ```js
1604
+ axios.get('/user/12345', {
1605
+ validateStatus: function (status) {
1606
+ return status < 500; // Resolve only if the status code is less than 500
1607
+ },
1608
+ });
1609
+ ```
1610
+
1611
+ By default, explicit `validateStatus: undefined` keeps legacy behavior and resolves every response status because `transitional.validateStatusUndefinedResolves` defaults to `true`. Set it to `false` to make explicit `validateStatus: undefined` behave like the option was omitted, so Axios uses the configured/default validator and rejects non-2xx responses by default.
1612
+
1613
+ `validateStatus: null` still accepts every response status. If you disable the transitional behavior and intentionally want all statuses to resolve, use `null` or `() => true`.
1614
+
1615
+ ```js
1616
+ axios.get('/user/12345', {
1617
+ validateStatus: undefined,
1618
+ transitional: {
1619
+ validateStatusUndefinedResolves: false,
1620
+ },
1621
+ });
1622
+ ```
1623
+
1624
+ Use `toJSON` to get more information about the HTTP error.
1625
+
1626
+ ```js
1627
+ axios.get('/user/12345').catch(function (error) {
1628
+ console.log(error.toJSON());
1629
+ });
1630
+ ```
1631
+
1632
+ To avoid logging secrets from `error.config`, pass a `redact` array in the request config. Matching config keys are masked case-insensitively at any depth when `AxiosError#toJSON()` is called.
1633
+
1634
+ ```js
1635
+ axios
1636
+ .get('/user/12345', {
1637
+ headers: { Authorization: 'Bearer token' },
1638
+ redact: ['authorization'],
1639
+ })
1640
+ .catch(function (error) {
1641
+ console.log(error.toJSON().config.headers.Authorization); // [REDACTED ****]
1642
+ });
1643
+ ```
1644
+
1645
+ ## Handling timeouts
1646
+
1647
+ ```js
1648
+ async function fetchWithTimeout() {
1649
+ try {
1650
+ const response = await axios.get('https://example.com/data', {
1651
+ timeout: 5000, // 5 seconds
1652
+ transitional: {
1653
+ // set to true if you prefer ETIMEDOUT over ECONNABORTED
1654
+ clarifyTimeoutError: false,
1655
+ },
1656
+ });
1657
+
1658
+ console.log('Response:', response.data);
1659
+ } catch (error) {
1660
+ if (axios.isAxiosError(error)) {
1661
+ if (error.code === 'ECONNABORTED' || error.code === 'ETIMEDOUT') {
1662
+ console.error('Request timed out. Please try again.');
1663
+ return;
1664
+ }
1665
+
1666
+ console.error('Axios error:', error.message);
1667
+ return;
1668
+ }
1669
+
1670
+ console.error('Unexpected error:', error);
1671
+ }
1672
+ }
1673
+ ```
1674
+
1675
+ ## Cancellation
1676
+
1677
+ ### AbortController
1678
+
1679
+ Since `v0.22.0`, Axios supports AbortController:
1680
+
1681
+ ```js
1682
+ const controller = new AbortController();
1683
+
1684
+ axios
1685
+ .get('/foo/bar', {
1686
+ signal: controller.signal,
1687
+ })
1688
+ .then(function (response) {
1689
+ //...
1690
+ });
1691
+ // cancel the request
1692
+ controller.abort();
1693
+ ```
1694
+
1695
+ ### CancelToken (deprecated)
1696
+
1697
+ You can also cancel a request using a _CancelToken_.
1698
+
1699
+ > The axios cancel token API is based on the withdrawn [cancellable promises proposal](https://github.com/tc39/proposal-cancelable-promises).
1700
+
1701
+ > This API is deprecated since v0.22.0 and should not be used in new projects.
1702
+
1703
+ Create a cancel token with the `CancelToken.source` factory:
1704
+
1705
+ ```js
1706
+ const CancelToken = axios.CancelToken;
1707
+ const source = CancelToken.source();
1708
+
1709
+ axios
1710
+ .get('/user/12345', {
1711
+ cancelToken: source.token,
1712
+ })
1713
+ .catch(function (thrown) {
1714
+ if (axios.isCancel(thrown)) {
1715
+ console.log('Request canceled', thrown.message);
1716
+ } else {
1717
+ // handle error
1718
+ }
1719
+ });
1720
+
1721
+ axios.post(
1722
+ '/user/12345',
1723
+ {
1724
+ name: 'new name',
1725
+ },
1726
+ {
1727
+ cancelToken: source.token,
1728
+ }
1729
+ );
1730
+
1731
+ // cancel the request (the message parameter is optional)
1732
+ source.cancel('Operation canceled by the user.');
1733
+ ```
1734
+
1735
+ You can also pass an executor function to the `CancelToken` constructor:
1736
+
1737
+ ```js
1738
+ const CancelToken = axios.CancelToken;
1739
+ let cancel;
1740
+
1741
+ axios.get('/user/12345', {
1742
+ cancelToken: new CancelToken(function executor(c) {
1743
+ // An executor function receives a cancel function as a parameter
1744
+ cancel = c;
1745
+ }),
1746
+ });
1747
+
1748
+ // cancel the request
1749
+ cancel();
1750
+ ```
1751
+
1752
+ `CancelToken` also exposes low-level helpers for legacy integrations:
1753
+
1754
+ ```js
1755
+ const source = axios.CancelToken.source();
1756
+
1757
+ const listener = (cancel) => {
1758
+ console.log(cancel.message);
1759
+ };
1760
+
1761
+ source.token.subscribe(listener);
1762
+
1763
+ const signal = source.token.toAbortSignal();
1764
+ // Pass `signal` to APIs that accept AbortSignal.
1765
+
1766
+ source.cancel('Operation canceled by the user.');
1767
+ source.token.unsubscribe(listener);
1768
+ ```
1769
+
1770
+ Canceled requests reject with `axios.CanceledError`. The legacy `axios.Cancel` export is an alias of `axios.CanceledError`, and cancellation errors include `__CANCEL__` for `axios.isCancel` compatibility.
1771
+
1772
+ > Note: You can cancel several requests with the same cancel token or abort controller.
1773
+ > If a cancellation token is already cancelled when an Axios request starts, Axios cancels the request immediately without making a real request.
1774
+
1775
+ > During the transition period, you can use both cancellation APIs, even for the same request:
1776
+
1777
+ ```js
1778
+ const controller = new AbortController();
1779
+ const source = axios.CancelToken.source();
1780
+
1781
+ axios.get('/user/12345', {
1782
+ cancelToken: source.token,
1783
+ signal: controller.signal,
1784
+ });
1785
+
1786
+ controller.abort();
1787
+ source.cancel('Operation canceled by the user.');
1788
+ ```
1789
+
1790
+ ## Using `application/x-www-form-urlencoded` format
1791
+
1792
+ ### URLSearchParams
1793
+
1794
+ By default, axios serializes JavaScript objects to `JSON`. To send data as [`application/x-www-form-urlencoded`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST), use the [`URLSearchParams`](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams) API. It works in most browsers and in [Node](https://nodejs.org/api/url.html#url_class_urlsearchparams) v10 and later.
1795
+
1796
+ ```js
1797
+ const params = new URLSearchParams({ foo: 'bar' });
1798
+ params.append('extraparam', 'value');
1799
+ axios.post('/foo', params);
1800
+ ```
1801
+
1802
+ ### Query string (older browsers)
1803
+
1804
+ For very old browsers, use a [polyfill](https://github.com/WebReflection/url-search-params) and make sure it patches the global environment.
1805
+
1806
+ Alternatively, you can encode data using the [`qs`](https://github.com/ljharb/qs) library:
1807
+
1808
+ ```js
1809
+ const qs = require('qs');
1810
+ axios.post('/foo', qs.stringify({ bar: 123 }));
1811
+ ```
1812
+
1813
+ With ES modules:
1814
+
1815
+ ```js
1816
+ import qs from 'qs';
1817
+ const data = { bar: 123 };
1818
+ const options = {
1819
+ method: 'POST',
1820
+ headers: { 'content-type': 'application/x-www-form-urlencoded' },
1821
+ data: qs.stringify(data),
1822
+ url,
1823
+ };
1824
+ axios(options);
1825
+ ```
1826
+
1827
+ ### Older Node.js versions
1828
+
1829
+ For older Node.js engines, use the [`querystring`](https://nodejs.org/api/querystring.html) module:
1830
+
1831
+ ```js
1832
+ const querystring = require('querystring');
1833
+ axios.post('https://something.com/', querystring.stringify({ foo: 'bar' }));
1834
+ ```
1835
+
1836
+ You can also use the [`qs`](https://github.com/ljharb/qs) library.
1837
+
1838
+ > Note: The `qs` library is preferable if you need to stringify nested objects, as the `querystring` method has [known issues](https://github.com/nodejs/node-v0.x-archive/issues/1665) with that use case.
1839
+
1840
+ ### Automatic serialization to URLSearchParams
1841
+
1842
+ Axios automatically serializes the data object to urlencoded format if the content-type header is set to "application/x-www-form-urlencoded".
1843
+
1844
+ ```js
1845
+ const data = {
1846
+ x: 1,
1847
+ arr: [1, 2, 3],
1848
+ arr2: [1, [2], 3],
1849
+ users: [
1850
+ { name: 'Peter', surname: 'Griffin' },
1851
+ { name: 'Thomas', surname: 'Anderson' },
1852
+ ],
1853
+ };
1854
+
1855
+ await axios.postForm('https://postman-echo.com/post', data, {
1856
+ headers: { 'content-type': 'application/x-www-form-urlencoded' },
1857
+ });
1858
+ ```
1859
+
1860
+ The server receives these fields:
1861
+
1862
+ ```js
1863
+ {
1864
+ x: '1',
1865
+ 'arr[]': [ '1', '2', '3' ],
1866
+ 'arr2[0]': '1',
1867
+ 'arr2[1][0]': '2',
1868
+ 'arr2[2]': '3',
1869
+ 'arr3[]': [ '1', '2', '3' ],
1870
+ 'users[0][name]': 'Peter',
1871
+ 'users[0][surname]': 'griffin',
1872
+ 'users[1][name]': 'Thomas',
1873
+ 'users[1][surname]': 'Anderson'
1874
+ }
1875
+ ```
1876
+
1877
+ If your backend body parser, such as `body-parser` for `express.js`, supports nested object decoding, the server receives the same object structure:
1878
+
1879
+ ```js
1880
+ const app = express();
1881
+
1882
+ app.use(bodyParser.urlencoded({ extended: true })); // support encoded bodies
1883
+
1884
+ app.post('/', function (req, res, next) {
1885
+ // echo body as JSON
1886
+ res.send(JSON.stringify(req.body));
1887
+ });
1888
+
1889
+ server = app.listen(3000);
1890
+ ```
1891
+
1892
+ ## Using `multipart/form-data` format
1893
+
1894
+ ### FormData
1895
+
1896
+ To send data as `multipart/form-data`, pass a FormData instance as the payload.
1897
+ You do not need to set the `Content-Type` header. Axios detects it from the payload type.
1898
+ For browser, web worker, and React Native `FormData`, leave `Content-Type` unset so the runtime can add the multipart boundary.
1899
+
1900
+ ```js
1901
+ const formData = new FormData();
1902
+ formData.append('foo', 'bar');
1903
+
1904
+ axios.post('https://httpbin.org/post', formData);
1905
+ ```
1906
+
1907
+ In node.js, use the [`form-data`](https://github.com/form-data/form-data) library:
1908
+
1909
+ ```js
1910
+ const FormData = require('form-data');
1911
+
1912
+ const form = new FormData();
1913
+ form.append('my_field', 'my value');
1914
+ form.append('my_buffer', Buffer.alloc(10));
1915
+ form.append('my_file', fs.createReadStream('/foo/bar.jpg'));
1916
+
1917
+ axios.post('https://example.com', form);
1918
+ ```
1919
+
1920
+ In node.js, when a `FormData` object provides `getHeaders()`, axios copies all returned headers by default for v1 compatibility. If the `FormData` object is custom or not fully trusted, set `formDataHeaderPolicy: 'content-only'` to copy only `Content-Type` and `Content-Length`, and set any other request headers explicitly with the request `headers` config.
1921
+
1922
+ ### Automatic serialization to FormData
1923
+
1924
+ Since `v0.27.0`, Axios can serialize an object to FormData if the request `Content-Type`
1925
+ header is set to `multipart/form-data`.
1926
+
1927
+ This request submits data as FormData in browsers and Node.js:
1928
+
1929
+ ```js
1930
+ import axios from 'axios';
1931
+
1932
+ axios
1933
+ .post(
1934
+ 'https://httpbin.org/post',
1935
+ { x: 1 },
1936
+ {
1937
+ headers: {
1938
+ 'Content-Type': 'multipart/form-data',
1939
+ },
1940
+ }
1941
+ )
1942
+ .then(({ data }) => console.log(data));
1943
+ ```
1944
+
1945
+ The Node.js build uses the [`form-data`](https://github.com/form-data/form-data) polyfill by default.
1946
+
1947
+ You can override the FormData class with the `env.FormData` config option, but most applications do not need this:
1948
+
1949
+ ```js
1950
+ const axios = require('axios');
1951
+ var FormData = require('form-data');
1952
+
1953
+ axios
1954
+ .post(
1955
+ 'https://httpbin.org/post',
1956
+ { x: 1, buf: Buffer.alloc(10) },
1957
+ {
1958
+ headers: {
1959
+ 'Content-Type': 'multipart/form-data',
1960
+ },
1961
+ }
1962
+ )
1963
+ .then(({ data }) => console.log(data));
1964
+ ```
1965
+
1966
+ The Axios FormData serializer supports these special endings:
1967
+
1968
+ - `{}` - serialize the value with JSON.stringify
1969
+ - `[]` - unwrap the array-like object as separate fields with the same key
1970
+
1971
+ > Note: Arrays and FileList objects are unwrapped by default.
1972
+
1973
+ FormData serializer supports additional options via `config.formSerializer: object` property to handle rare cases:
1974
+
1975
+ - `visitor: Function` - user-defined visitor function that Axios calls recursively to serialize the data object
1976
+ to a `FormData` object by following custom rules.
1977
+
1978
+ - `dots: boolean = false` - use dot notation instead of brackets to serialize arrays and objects;
1979
+
1980
+ - `metaTokens: boolean = true` - add the special ending (e.g `user{}: '{"name": "John"}'`) in the FormData key.
1981
+ A backend body parser can use this meta-information to parse the value as JSON.
1982
+
1983
+ - `indexes: null|false|true = false` - controls how Axios adds indexes to unwrapped keys of `flat` array-like objects.
1984
+ - `null` - don't add brackets (`arr: 1`, `arr: 2`, `arr: 3`)
1985
+ - `false`(default) - add empty brackets (`arr[]: 1`, `arr[]: 2`, `arr[]: 3`)
1986
+ - `true` - add brackets with indexes (`arr[0]: 1`, `arr[1]: 2`, `arr[2]: 3`)
1987
+ - `maxDepth: number = 100` - maximum object nesting depth the serializer will recurse into. If the
1988
+ input object exceeds this depth, an `AxiosError` with `code: 'ERR_FORM_DATA_DEPTH_EXCEEDED'` is
1989
+ thrown instead of overflowing the call stack. This protects server applications from DoS
1990
+ attacks via deeply nested payloads. Set to `Infinity` to disable the limit and restore pre-fix behaviour.
1991
+ - `Blob: typeof Blob` - Blob constructor used when converting ArrayBuffer-like values for spec-compliant
1992
+ `FormData`. Override it only for runtimes that provide a compatible `Blob` constructor under a
1993
+ different binding.
1994
+
1995
+ ```js
1996
+ // Raise the limit for a schema that genuinely nests deeper than 100 levels:
1997
+ axios.postForm('/api', data, { formSerializer: { maxDepth: 200 } });
1998
+
1999
+ // Same protection applies to params serialization:
2000
+ axios.get('/api', { params: data, paramsSerializer: { maxDepth: 200 } });
2001
+ ```
2002
+
2003
+ Given this object:
2004
+
2005
+ ```js
2006
+ const obj = {
2007
+ x: 1,
2008
+ arr: [1, 2, 3],
2009
+ arr2: [1, [2], 3],
2010
+ users: [
2011
+ { name: 'Peter', surname: 'Griffin' },
2012
+ { name: 'Thomas', surname: 'Anderson' },
2013
+ ],
2014
+ 'obj2{}': [{ x: 1 }],
2015
+ };
2016
+ ```
2017
+
2018
+ The Axios serializer appends these fields:
2019
+
2020
+ ```js
2021
+ const formData = new FormData();
2022
+ formData.append('x', '1');
2023
+ formData.append('arr[]', '1');
2024
+ formData.append('arr[]', '2');
2025
+ formData.append('arr[]', '3');
2026
+ formData.append('arr2[0]', '1');
2027
+ formData.append('arr2[1][0]', '2');
2028
+ formData.append('arr2[2]', '3');
2029
+ formData.append('users[0][name]', 'Peter');
2030
+ formData.append('users[0][surname]', 'Griffin');
2031
+ formData.append('users[1][name]', 'Thomas');
2032
+ formData.append('users[1][surname]', 'Anderson');
2033
+ formData.append('obj2{}', '[{"x":1}]');
2034
+ ```
2035
+
2036
+ ### Converting FormData to JSON
2037
+
2038
+ `axios.formToJSON()` converts `FormData` field names that use dot or bracket notation into nested objects and arrays. Only `.`, `[`, and `]` are structural separators. Other characters, including `-`, spaces, `+`, `*`, and `&`, remain part of the literal key.
2039
+
2040
+ ```js
2041
+ const form = new FormData();
2042
+ form.append('user-name', 'johndoe');
2043
+ form.append('user.name', 'john');
2044
+
2045
+ console.log(axios.formToJSON(form));
2046
+ // {
2047
+ // 'user-name': 'johndoe',
2048
+ // user: { name: 'john' }
2049
+ // }
2050
+ ```
2051
+
2052
+ `user[name]` also creates `{ user: { name: ... } }`, while `items[]` creates an array.
2053
+
2054
+ Axios supports `postForm`, `putForm`, and `patchForm` as shortcuts for the matching HTTP methods with the `Content-Type` header preset to `multipart/form-data`.
2055
+
2056
+ ## Posting files
2057
+
2058
+ Submit a single file:
2059
+
2060
+ ```js
2061
+ await axios.postForm('https://httpbin.org/post', {
2062
+ myVar: 'foo',
2063
+ file: document.querySelector('#fileInput').files[0],
2064
+ });
2065
+ ```
2066
+
2067
+ or multiple files as `multipart/form-data`:
2068
+
2069
+ ```js
2070
+ await axios.postForm('https://httpbin.org/post', {
2071
+ 'files[]': document.querySelector('#fileInput').files,
2072
+ });
2073
+ ```
2074
+
2075
+ `FileList` object can be passed directly:
2076
+
2077
+ ```js
2078
+ await axios.postForm('https://httpbin.org/post', document.querySelector('#fileInput').files);
2079
+ ```
2080
+
2081
+ Axios sends all files with the same field name: `files[]`.
2082
+
2083
+ ## HTML form posting (browser)
2084
+
2085
+ Pass an HTML Form element as a payload to submit it as `multipart/form-data` content.
2086
+
2087
+ ```js
2088
+ await axios.postForm('https://httpbin.org/post', document.querySelector('#htmlForm'));
2089
+ ```
2090
+
2091
+ `FormData` and `HTMLForm` objects can also be posted as `JSON` by explicitly setting the `Content-Type` header to `application/json`:
2092
+
2093
+ ```js
2094
+ await axios.post('https://httpbin.org/post', document.querySelector('#htmlForm'), {
2095
+ headers: {
2096
+ 'Content-Type': 'application/json',
2097
+ },
2098
+ });
2099
+ ```
2100
+
2101
+ For example, the Form
2102
+
2103
+ ```html
2104
+ <form id="form">
2105
+ <input type="text" name="foo" value="1" />
2106
+ <input type="text" name="deep.prop" value="2" />
2107
+ <input type="text" name="deep prop spaced" value="3" />
2108
+ <input type="text" name="baz" value="4" />
2109
+ <input type="text" name="baz" value="5" />
2110
+
2111
+ <select name="user.age">
2112
+ <option value="value1">Value 1</option>
2113
+ <option value="value2" selected>Value 2</option>
2114
+ <option value="value3">Value 3</option>
2115
+ </select>
2116
+
2117
+ <input type="submit" value="Save" />
2118
+ </form>
2119
+ ```
2120
+
2121
+ submits this JSON object:
2122
+
2123
+ ```js
2124
+ {
2125
+ "foo": "1",
2126
+ "deep": {
2127
+ "prop": "2"
2128
+ },
2129
+ "deep prop spaced": "3",
2130
+ "baz": [
2131
+ "4",
2132
+ "5"
2133
+ ],
2134
+ "user": {
2135
+ "age": "value2"
2136
+ }
2137
+ }
2138
+ ```
2139
+
2140
+ Only dot and bracket notation create nested paths when a form is converted to JSON. Spaces and other punctuation remain part of literal field names.
2141
+
2142
+ Sending `Blobs`/`Files` as JSON (`base64`) is not currently supported.
2143
+
2144
+ ## Progress capturing
2145
+
2146
+ Axios can capture request upload and download progress in browsers and Node.js.
2147
+ Progress events are limited to `3` times per second.
2148
+
2149
+ ```js
2150
+ await axios.post(url, data, {
2151
+ onUploadProgress: function (axiosProgressEvent) {
2152
+ /*{
2153
+ loaded: number;
2154
+ total?: number;
2155
+ progress?: number; // in range [0..1]
2156
+ bytes: number; // how many bytes have been transferred since the last trigger (delta)
2157
+ estimated?: number; // estimated time in seconds
2158
+ rate?: number; // upload speed in bytes
2159
+ upload: true; // upload sign
2160
+ }*/
2161
+ },
2162
+
2163
+ onDownloadProgress: function (axiosProgressEvent) {
2164
+ /*{
2165
+ loaded: number;
2166
+ total?: number;
2167
+ progress?: number;
2168
+ bytes: number;
2169
+ estimated?: number;
2170
+ rate?: number; // download speed in bytes
2171
+ download: true; // download sign
2172
+ }*/
2173
+ },
2174
+ });
2175
+ ```
2176
+
2177
+ You can also track stream upload/download progress in node.js:
2178
+
2179
+ ```js
2180
+ const { data } = await axios.post(SERVER_URL, readableStream, {
2181
+ onUploadProgress: ({ progress }) => {
2182
+ console.log((progress * 100).toFixed(2));
2183
+ },
2184
+
2185
+ headers: {
2186
+ 'Content-Length': contentLength,
2187
+ },
2188
+
2189
+ maxRedirects: 0, // avoid buffering the entire stream
2190
+ });
2191
+ ```
2192
+
2193
+ > Note:
2194
+ > Capturing FormData upload progress is not currently supported in node.js environments.
2195
+
2196
+ > Warning:
2197
+ > Set `maxRedirects: 0` when uploading streams in node.js.
2198
+ > The follow-redirects package buffers the entire stream in RAM and does not follow the "backpressure" algorithm.
2199
+
2200
+ ## Rate limiting
2201
+
2202
+ Download and upload rate limits can only be set for the http adapter (node.js):
2203
+
2204
+ ```js
2205
+ const { data } = await axios.post(LOCAL_SERVER_URL, myBuffer, {
2206
+ onUploadProgress: ({ progress, rate }) => {
2207
+ console.log(`Upload [${(progress * 100).toFixed(2)}%]: ${(rate / 1024).toFixed(2)}KB/s`);
2208
+ },
2209
+
2210
+ maxRate: [100 * 1024], // 100KB/s limit
2211
+ });
2212
+ ```
2213
+
2214
+ ## AxiosHeaders
2215
+
2216
+ Axios includes an `AxiosHeaders` class for working with headers through a Map-like API.
2217
+ HTTP header names are case-insensitive, but Axios keeps the original header case for style and for servers that incorrectly depend on case.
2218
+ Directly manipulating the headers object still works, but it is deprecated.
2219
+
2220
+ ### Working with headers
2221
+
2222
+ An `AxiosHeaders` instance can contain several internal value types that control setting and merging.
2223
+ Axios gets the final headers object with string values by calling `toJSON`.
2224
+
2225
+ > Note: By JSON here we mean an object consisting only of string values intended to be sent over the network.
2226
+
2227
+ The header value can be one of the following types:
2228
+
2229
+ - `string` - normal string value sent to the server
2230
+ - `null` - skip header when rendering to JSON
2231
+ - `false` - skip header when rendering to JSON. Also indicates that the `set` method must be called with `rewrite` set to `true`
2232
+ to overwrite this value (Axios uses this internally to allow users to opt out of installing certain headers like `User-Agent` or `Content-Type`)
2233
+ - `undefined` - value is not set
2234
+
2235
+ > Note: The header value is considered set if it is not equal to undefined.
2236
+
2237
+ The headers object is always initialized inside interceptors and transformers:
2238
+
2239
+ ```ts
2240
+ axios.interceptors.request.use((request: InternalAxiosRequestConfig) => {
2241
+ request.headers.set('My-header', 'value');
2242
+
2243
+ request.headers.set({
2244
+ 'My-set-header1': 'my-set-value1',
2245
+ 'My-set-header2': 'my-set-value2',
2246
+ });
2247
+
2248
+ request.headers.set('User-Agent', false); // prevent Axios from setting this header later
2249
+
2250
+ request.headers.setContentType('text/plain');
2251
+
2252
+ request.headers['My-set-header2'] = 'newValue'; // direct access is deprecated
2253
+
2254
+ return request;
2255
+ });
2256
+ ```
2257
+
2258
+ You can iterate over an `AxiosHeaders` instance using a `for...of` statement:
2259
+
2260
+ ```js
2261
+ const headers = new AxiosHeaders({
2262
+ foo: '1',
2263
+ bar: '2',
2264
+ baz: '3',
2265
+ });
2266
+
2267
+ for (const [header, value] of headers) {
2268
+ console.log(header, value);
2269
+ }
2270
+
2271
+ // foo 1
2272
+ // bar 2
2273
+ // baz 3
2274
+ ```
2275
+
2276
+ ### Preserving a specific header case
2277
+
2278
+ Header names are case-insensitive, but `AxiosHeaders` keeps the case of the first matching key it sees.
2279
+ If you need a specific case for non-standard case-sensitive servers, define a case preset with `undefined` and then set the value later:
2280
+
2281
+ ```js
2282
+ const api = axios.create();
2283
+
2284
+ api.defaults.headers.common = {
2285
+ 'content-type': undefined,
2286
+ accept: undefined,
2287
+ };
2288
+
2289
+ await api.put(url, data, {
2290
+ headers: {
2291
+ 'Content-Type': 'application/octet-stream',
2292
+ Accept: 'application/json',
2293
+ },
2294
+ });
2295
+ ```
2296
+
2297
+ You can also compose the same behavior with `AxiosHeaders.concat`:
2298
+
2299
+ ```js
2300
+ const headers = axios.AxiosHeaders.concat(
2301
+ { 'content-type': undefined },
2302
+ { 'Content-Type': 'application/octet-stream' }
2303
+ );
2304
+
2305
+ await axios.put(url, data, { headers });
2306
+ ```
2307
+
2308
+ ### new AxiosHeaders(headers?)
2309
+
2310
+ Constructs a new `AxiosHeaders` instance.
2311
+
2312
+ ```
2313
+ constructor(headers?: RawAxiosHeaders | AxiosHeaders | string);
2314
+ ```
2315
+
2316
+ If the headers object is a string, Axios parses it as raw HTTP headers.
2317
+
2318
+ ```js
2319
+ const headers = new AxiosHeaders(`
2320
+ Host: www.bing.com
2321
+ User-Agent: curl/7.54.0
2322
+ Accept: */*`);
2323
+
2324
+ console.log(headers);
2325
+
2326
+ // Object [AxiosHeaders] {
2327
+ // host: 'www.bing.com',
2328
+ // 'user-agent': 'curl/7.54.0',
2329
+ // accept: '*/*'
2330
+ // }
2331
+ ```
2332
+
2333
+ ### AxiosHeaders#set
2334
+
2335
+ ```ts
2336
+ set(headerName, value: Axios, rewrite?: boolean);
2337
+ set(headerName, value, rewrite?: (this: AxiosHeaders, value: string, name: string, headers: RawAxiosHeaders) => boolean);
2338
+ set(headers?: RawAxiosHeaders | AxiosHeaders | string, rewrite?: boolean);
2339
+ set(headers?: Iterable<[string, AxiosHeaderValue]>, rewrite?: boolean);
2340
+ ```
2341
+
2342
+ The `rewrite` argument controls the overwriting behavior:
2343
+
2344
+ - `false` - do not overwrite if the header's value is set (is not `undefined`)
2345
+ - `undefined` (default) - overwrite the header unless its value is set to `false`
2346
+ - `true` - rewrite anyway
2347
+
2348
+ The option can also accept a user-defined function that determines whether to overwrite the value.
2349
+
2350
+ Empty or whitespace-only header names are ignored.
2351
+
2352
+ Iterable key/value pairs, such as a `Map`, are accepted:
2353
+
2354
+ ```js
2355
+ const headers = new AxiosHeaders();
2356
+
2357
+ headers.set(
2358
+ new Map([
2359
+ ['X-Trace-Id', 'abc123'],
2360
+ ['Accept', 'application/json'],
2361
+ ])
2362
+ );
2363
+ ```
2364
+
2365
+ Returns `this`.
2366
+
2367
+ ### AxiosHeaders#get(header)
2368
+
2369
+ ```
2370
+ get(headerName: string, parser: typeof AxiosHeaders.parseParameters): AxiosHeaderParameters;
2371
+ get(headerName: string, parser: RegExp): RegExpExecArray | null;
2372
+ get(headerName: string, matcher?: true | AxiosHeaderParser): AxiosHeaderValue;
2373
+ ```
2374
+
2375
+ Returns the internal value of the header. It can take an extra argument to parse the header's value with `RegExp.exec`,
2376
+ matcher function or internal key-value parser.
2377
+
2378
+ ```ts
2379
+ const headers = new AxiosHeaders({
2380
+ 'Content-Type': 'multipart/form-data; boundary=Asrf456BGe4h',
2381
+ });
2382
+
2383
+ console.log(headers.get('Content-Type'));
2384
+ // multipart/form-data; boundary=Asrf456BGe4h
2385
+
2386
+ console.log(headers.get('Content-Type', true)); // parse key-value pairs from a string separated with \s,;= delimiters:
2387
+ // [Object: null prototype] {
2388
+ // 'multipart/form-data': undefined,
2389
+ // boundary: 'Asrf456BGe4h'
2390
+ // }
2391
+
2392
+ const quotedHeaders = new AxiosHeaders({
2393
+ 'Content-Type': 'multipart/form-data; boundary="a,b"',
2394
+ });
2395
+
2396
+ console.log({
2397
+ ...quotedHeaders.get('Content-Type', AxiosHeaders.parseParameters),
2398
+ });
2399
+ // { boundary: 'a,b' }
2400
+
2401
+ console.log(
2402
+ headers.get('Content-Type', (value, name, headers) => {
2403
+ return String(value).replace(/a/g, 'ZZZ');
2404
+ })
2405
+ );
2406
+ // multipZZZrt/form-dZZZtZZZ; boundZZZry=Asrf456BGe4h
2407
+
2408
+ console.log(headers.get('Content-Type', /boundary=(\w+)/)?.[0]);
2409
+ // boundary=Asrf456BGe4h
2410
+ ```
2411
+
2412
+ `AxiosHeaders.parseParameters` is the opt-in parser for normalized HTTP parameter values. It returns a null-prototype map, matches parameter names case-insensitively, removes quoted-string delimiters, decodes escaped quotes and backslashes, preserves commas and semicolons inside quoted values, and removes only HTTP optional whitespace around unquoted values. It omits the unsafe keys `__proto__`, `constructor`, and `prototype`.
2413
+
2414
+ Passing `true` remains the legacy tokenizer and keeps its existing output for backward compatibility.
2415
+
2416
+ Returns the value of the header.
2417
+
2418
+ ### AxiosHeaders#has(header, matcher?)
2419
+
2420
+ ```
2421
+ has(header: string, matcher?: AxiosHeaderMatcher): boolean;
2422
+ ```
2423
+
2424
+ Returns `true` if the header is set (has no `undefined` value).
2425
+
2426
+ ### AxiosHeaders#delete(header, matcher?)
2427
+
2428
+ ```
2429
+ delete(header: string | string[], matcher?: AxiosHeaderMatcher): boolean;
2430
+ ```
2431
+
2432
+ Returns `true` if at least one header has been removed.
2433
+
2434
+ ### AxiosHeaders#clear(matcher?)
2435
+
2436
+ ```
2437
+ clear(matcher?: AxiosHeaderMatcher): boolean;
2438
+ ```
2439
+
2440
+ Removes all headers.
2441
+ Unlike the `delete` method matcher, this optional matcher matches the header name rather than the value.
2442
+
2443
+ ```ts
2444
+ const headers = new AxiosHeaders({
2445
+ foo: '1',
2446
+ 'x-foo': '2',
2447
+ 'x-bar': '3',
2448
+ });
2449
+
2450
+ console.log(headers.clear(/^x-/)); // true
2451
+
2452
+ console.log(headers.toJSON()); // [Object: null prototype] { foo: '1' }
2453
+ ```
2454
+
2455
+ Returns `true` if at least one header has been cleared.
2456
+
2457
+ ### AxiosHeaders#normalize(format);
2458
+
2459
+ If the headers object was changed directly, it can have duplicates with the same name but in different cases.
2460
+ This method normalizes the headers object by combining duplicate keys into one.
2461
+ Axios uses this method internally after calling each interceptor.
2462
+ Set `format` to true for converting header names to lowercase and capitalizing the initial letters (`cOntEnt-type` => `Content-Type`)
2463
+
2464
+ ```js
2465
+ const headers = new AxiosHeaders({
2466
+ foo: '1',
2467
+ });
2468
+
2469
+ headers.Foo = '2';
2470
+ headers.FOO = '3';
2471
+
2472
+ console.log(headers.toJSON()); // [Object: null prototype] { foo: '1', Foo: '2', FOO: '3' }
2473
+ console.log(headers.normalize().toJSON()); // [Object: null prototype] { foo: '3' }
2474
+ console.log(headers.normalize(true).toJSON()); // [Object: null prototype] { Foo: '3' }
2475
+ ```
2476
+
2477
+ Returns `this`.
2478
+
2479
+ ### AxiosHeaders#concat(...targets)
2480
+
2481
+ ```
2482
+ concat(...targets: Array<AxiosHeaders | RawAxiosHeaders | string | undefined | null>): AxiosHeaders;
2483
+ ```
2484
+
2485
+ Merges the instance with targets into a new `AxiosHeaders` instance. If the target is a string, Axios parses it as raw HTTP headers.
2486
+
2487
+ Returns a new `AxiosHeaders` instance.
2488
+
2489
+ ### AxiosHeaders#toJSON(asStrings?)
2490
+
2491
+ ```
2492
+ toJSON(asStrings: true): Record<string, string>;
2493
+ toJSON(asStrings?: false): Record<string, string | string[]>;
2494
+ ```
2495
+
2496
+ Resolves all internal header values into a new null prototype object.
2497
+ Set `asStrings` to true to resolve arrays as a string containing all elements, separated by commas.
2498
+
2499
+ ### AxiosHeaders#toString()
2500
+
2501
+ ```
2502
+ toString(): string;
2503
+ ```
2504
+
2505
+ Returns the headers as a CRLF-free HTTP header block, one `name: value` pair per line.
2506
+
2507
+ ### AxiosHeaders.from(thing?)
2508
+
2509
+ ```
2510
+ from(thing?: AxiosHeaders | RawAxiosHeaders | string): AxiosHeaders;
2511
+ ```
2512
+
2513
+ Returns a new `AxiosHeaders` instance created from the raw headers passed in,
2514
+ or returns the given headers object if it's already an `AxiosHeaders` instance.
2515
+
2516
+ ### AxiosHeaders.concat(...targets)
2517
+
2518
+ ```
2519
+ concat(...targets: Array<AxiosHeaders | RawAxiosHeaders | string | undefined | null>): AxiosHeaders;
2520
+ ```
2521
+
2522
+ Returns a new `AxiosHeaders` instance created by merging the target objects.
2523
+
2524
+ ### Shortcuts
2525
+
2526
+ The following shortcuts are available:
2527
+
2528
+ - `setContentType`, `getContentType`, `hasContentType`
2529
+
2530
+ - `setContentLength`, `getContentLength`, `hasContentLength`
2531
+
2532
+ - `setAccept`, `getAccept`, `hasAccept`
2533
+
2534
+ - `setUserAgent`, `getUserAgent`, `hasUserAgent`
2535
+
2536
+ - `setContentEncoding`, `getContentEncoding`, `hasContentEncoding`
2537
+
2538
+ ## Fetch adapter
2539
+
2540
+ Axios introduced the fetch adapter in `v1.7.0`. By default, Axios uses it when the `xhr` and `http` adapters are not available in the build or not supported by the environment.
2541
+ To use it by default, select it explicitly:
2542
+
2543
+ ```js
2544
+ const { data } = axios.get(url, {
2545
+ adapter: 'fetch', // by default ['xhr', 'http', 'fetch']
2546
+ });
2547
+ ```
2548
+
2549
+ You can create a separate instance for this:
2550
+
2551
+ ```js
2552
+ const fetchAxios = axios.create({
2553
+ adapter: 'fetch',
2554
+ });
2555
+
2556
+ const { data } = fetchAxios.get(url);
2557
+ ```
2558
+
2559
+ The adapter supports the same features as the `xhr` adapter, including upload and download progress capturing.
2560
+ It also supports response types such as `stream` and `formdata` when the environment supports them.
2561
+
2562
+ When `auth` is omitted, the fetch adapter can read HTTP Basic auth credentials from the request URL, for example `https://user:pass@example.com`. Percent-encoded URL credentials are decoded before the `Authorization` header is generated, and `auth` takes precedence over URL-embedded credentials.
2563
+
2564
+ ### Custom fetch
2565
+
2566
+ Since `v1.12.0`, you can configure the fetch adapter to use a custom fetch API instead of environment globals.
2567
+ Pass a custom `fetch` function, `Request`, and `Response` constructors through `env` config.
2568
+ This helps in custom environments and app frameworks.
2569
+
2570
+ When using a custom fetch, you may also need to set custom `Request` and `Response` constructors. If you do not set them, Axios uses the global objects.
2571
+ If your custom fetch API does not provide these objects and the globals are incompatible with it, pass `null` to disable them inside the fetch adapter.
2572
+
2573
+ > Note: Setting `Request` and `Response` to `null` prevents the fetch adapter from capturing upload and download progress.
2574
+
2575
+ Basic example:
2576
+
2577
+ ```js
2578
+ import customFetchFunction from 'customFetchModule';
2579
+
2580
+ const instance = axios.create({
2581
+ adapter: 'fetch',
2582
+ onDownloadProgress(e) {
2583
+ console.log('downloadProgress', e);
2584
+ },
2585
+ env: {
2586
+ fetch: customFetchFunction,
2587
+ Request: null, // undefined -> use the global constructor
2588
+ Response: null,
2589
+ },
2590
+ });
2591
+ ```
2592
+
2593
+ #### Using with Tauri
2594
+
2595
+ A minimal example of setting up Axios for use in a [Tauri](https://tauri.app/plugin/http-client/) app with a platform fetch function that ignores CORS policy for requests.
2596
+
2597
+ ```js
2598
+ import { fetch } from '@tauri-apps/plugin-http';
2599
+ import axios from 'axios';
2600
+
2601
+ const instance = axios.create({
2602
+ adapter: 'fetch',
2603
+ onDownloadProgress(e) {
2604
+ console.log('downloadProgress', e);
2605
+ },
2606
+ env: {
2607
+ fetch,
2608
+ },
2609
+ });
2610
+
2611
+ const { data } = await instance.get('https://google.com');
2612
+ ```
2613
+
2614
+ #### Using with SvelteKit
2615
+
2616
+ [SvelteKit](https://svelte.dev/docs/kit/web-standards#Fetch-APIs) uses a custom fetch function for server rendering in `load` functions. It also uses relative paths, which are incompatible with the standard URL API. Configure Axios to use SvelteKit's custom fetch API:
2617
+
2618
+ ```js
2619
+ export async function load({ fetch }) {
2620
+ const { data: post } = await axios.get('https://jsonplaceholder.typicode.com/posts/1', {
2621
+ adapter: 'fetch',
2622
+ env: {
2623
+ fetch,
2624
+ Request: null,
2625
+ Response: null,
2626
+ },
2627
+ });
2628
+
2629
+ return { post };
2630
+ }
2631
+ ```
2632
+
2633
+ #### HTTP/2 support
2634
+
2635
+ Axios supports HTTP/2 through the Node.js `http` adapter, introduced in v1.13.0.
2636
+
2637
+ Support depends on the runtime environment. Axios relies on Node.js APIs, so HTTP/2 works in supported Node.js versions but may not work in other environments such as Bun or Deno.
2638
+
2639
+ Options like `httpVersion` and `http2Options` are adapter-specific and may not behave the same way in every environment.
2640
+
2641
+ Note: HTTP/2 redirects are currently not supported by the HTTP/2 adapter.
2642
+
2643
+ ```js
2644
+ const form = new FormData();
2645
+
2646
+ form.append('foo', '123');
2647
+
2648
+ const { data, headers, status } = await axios.post('https://httpbin.org/post', form, {
2649
+ onUploadProgress(e) {
2650
+ console.log('upload progress', e);
2651
+ },
2652
+ onDownloadProgress(e) {
2653
+ console.log('download progress', e);
2654
+ },
2655
+ responseType: 'arraybuffer',
2656
+ });
2657
+ ```
2658
+
2659
+ ## Semver
2660
+
2661
+ Axios follows [semver](https://semver.org/) since `v1.0.0`.
2662
+
2663
+ ## Promises
2664
+
2665
+ axios depends on a native ES6 Promise implementation to be [supported](https://caniuse.com/promises).
2666
+ If your environment doesn't support ES6 Promises, you can [polyfill](https://github.com/jakearchibald/es6-promise).
2667
+
2668
+ ## TypeScript
2669
+
2670
+ axios includes [TypeScript](https://typescriptlang.org) definitions and a type guard for axios errors.
2671
+
2672
+ ```typescript
2673
+ let user: User = null;
2674
+ try {
2675
+ const { data } = await axios.get('/user?ID=12345');
2676
+ user = data.userDetails;
2677
+ } catch (error) {
2678
+ if (axios.isAxiosError(error)) {
2679
+ handleAxiosError(error);
2680
+ } else {
2681
+ handleUnexpectedError(error);
2682
+ }
2683
+ }
2684
+ ```
2685
+
2686
+ Use `axios.isCancel<T>()` to narrow cancellation errors to `CanceledError<T>`:
2687
+
2688
+ ```typescript
2689
+ const controller = new AbortController();
2690
+
2691
+ try {
2692
+ await axios.get<User>('/user?ID=12345', { signal: controller.signal });
2693
+ } catch (error) {
2694
+ if (axios.isCancel<User>(error)) {
2695
+ handleCancellation(error);
2696
+ }
2697
+ }
2698
+ ```
2699
+
2700
+ ### Typing request data and query params
2701
+
2702
+ `AxiosRequestConfig<D = any, P = any>` uses `D` for the request body and `P` for query parameters. The params serializer receives the same `P`, and both types are preserved on the default response config:
2703
+
2704
+ ```typescript
2705
+ import axios, {
2706
+ type AxiosPromise,
2707
+ type AxiosRequestConfig,
2708
+ type InternalAxiosRequestConfig,
2709
+ } from 'axios';
2710
+
2711
+ interface RequestBody {
2712
+ includeArchived: boolean;
2713
+ }
2714
+
2715
+ interface SearchParams {
2716
+ query: string;
2717
+ page?: number;
2718
+ }
2719
+
2720
+ interface SearchResponse {
2721
+ results: string[];
2722
+ }
2723
+
2724
+ const config: AxiosRequestConfig<RequestBody, SearchParams> = {
2725
+ data: { includeArchived: false },
2726
+ params: { query: 'axios', page: 1 },
2727
+ paramsSerializer: (params) => `${params.query}:${params.page ?? 1}`,
2728
+ };
2729
+
2730
+ const response = await axios.get('/search', config);
2731
+ response.config.data; // RequestBody | undefined
2732
+ response.config.params; // SearchParams | undefined
2733
+
2734
+ const invalidConfig: AxiosRequestConfig<RequestBody, SearchParams> = {
2735
+ // @ts-expect-error `query` must be a string
2736
+ params: { query: 123 },
2737
+ };
2738
+
2739
+ const adapter = (
2740
+ adapterConfig: InternalAxiosRequestConfig<RequestBody, SearchParams>
2741
+ ): AxiosPromise<SearchResponse, RequestBody, SearchParams> =>
2742
+ Promise.resolve({
2743
+ data: { results: [] },
2744
+ status: 200,
2745
+ statusText: 'OK',
2746
+ headers: {},
2747
+ config: adapterConfig,
2748
+ });
2749
+ ```
2750
+
2751
+ The request methods place `P` last—`<T, R, D, P>`—so the existing response data (`T`), custom response (`R`), and request data (`D`) positions do not change. Explicit custom response types still determine the resolved value. `RawAxiosRequestConfig`, `InternalAxiosRequestConfig`, defaults, `AxiosResponse`, `AxiosPromise<T, D, P>`, `AxiosError`, `CanceledError`, callable instances, adapters, and `mergeConfig()` also carry `P`. The default is `any` for backward compatibility.
2752
+
2753
+ Use all three public error generics when cancellation narrowing must retain the response, request body, and params types:
2754
+
2755
+ ```typescript
2756
+ declare const error: unknown;
2757
+
2758
+ if (axios.isCancel<SearchResponse, RequestBody, SearchParams>(error)) {
2759
+ error.config?.data; // RequestBody | undefined
2760
+ error.config?.params; // SearchParams | undefined
2761
+ }
2762
+ ```
2763
+
2764
+ ### Symbol-keyed custom request config
2765
+
2766
+ Own enumerable symbol properties survive config merging, so module-augmented options can reach request interceptors and adapters:
2767
+
2768
+ ```typescript
2769
+ import axios from 'axios';
2770
+
2771
+ export const someFlag: unique symbol = Symbol(
2772
+ 'some flag used in request interceptor'
2773
+ );
2774
+
2775
+ declare module 'axios' {
2776
+ interface AxiosRequestConfig<D = any, P = any> {
2777
+ [someFlag]?: boolean;
2778
+ }
2779
+ }
2780
+
2781
+ axios.interceptors.request.use((config) => {
2782
+ if (config[someFlag]) {
2783
+ config.headers.set('X-Some-Flag', 'enabled');
2784
+ }
2785
+ return config;
2786
+ });
2787
+
2788
+ await axios.get('/users', { [someFlag]: true });
2789
+ ```
2790
+
2791
+ Only own enumerable symbol properties are copied; inherited and non-enumerable symbol properties are not.
2792
+
2793
+ Because axios publishes an ESM default export and a CJS `module.exports`, TypeScript has a few caveats.
2794
+ The recommended setting is `"moduleResolution": "node16"`, which is implied by `"module": "node16"`. This requires TypeScript 4.7 or greater.
2795
+ If you use ESM, your settings should be fine.
2796
+ If you compile TypeScript to CJS and can't use `"moduleResolution": "node 16"`, enable `esModuleInterop`.
2797
+ If you use TypeScript to type check CJS JavaScript code, your only option is to use `"moduleResolution": "node16"`.
2798
+
2799
+ You can also create a custom instance with typed interceptors:
2800
+
2801
+ ```typescript
2802
+ import axios, { AxiosInstance, InternalAxiosRequestConfig } from 'axios';
2803
+
2804
+ const apiClient: AxiosInstance = axios.create({
2805
+ baseURL: 'https://api.example.com',
2806
+ timeout: 10000,
2807
+ });
2808
+
2809
+ apiClient.interceptors.request.use((config: InternalAxiosRequestConfig) => {
2810
+ // Add auth token
2811
+ return config;
2812
+ });
2813
+ ```
2814
+
2815
+ ## Online one-click setup
2816
+
2817
+ You can use Gitpod, a free online IDE for open source projects, to contribute or run the examples online.
2818
+
2819
+ [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/axios/axios/blob/main/examples/server.js)
2820
+
2821
+ ## Contributing
2822
+
2823
+ ### Local setup
2824
+
2825
+ As a supply-chain hardening measure, this repository ships a project-level `.npmrc` that sets `ignore-scripts=true`. This blocks npm lifecycle scripts (`preinstall`, `install`, `postinstall`, `prepare`) from any direct or transitive dependency when you run `npm install` or `npm ci` inside the repo. See [THREATMODEL.md](./THREATMODEL.md) (threat T-S2) for the rationale.
2826
+
2827
+ One consequence: the repository's own `prepare` hook (which installs Husky's git hooks) will **not** run automatically. After your first install, enable the git hooks manually:
2828
+
2829
+ ```bash
2830
+ npm ci
2831
+ npm rebuild husky && npx husky
2832
+ ```
2833
+
2834
+ Run those two commands once per fresh checkout. You do **not** need to re-run them after every subsequent `npm install`.
2835
+
2836
+ Do not remove `ignore-scripts=true` from `.npmrc` to "fix" this. That reopens the lifecycle-script attack surface for every other package in the tree. All CI workflows already invoke npm with `--ignore-scripts`, so local behaviour matches CI.
2837
+
2838
+ ## Resources
2839
+
2840
+ - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
2841
+ - [Ecosystem](https://github.com/axios/axios/blob/v1.x/ECOSYSTEM.md)
2842
+ - [Contributing Guide](https://github.com/axios/axios/blob/v1.x/CONTRIBUTING.md)
2843
+ - [Code of Conduct](https://github.com/axios/axios/blob/v1.x/CODE_OF_CONDUCT.md)
2844
+
2845
+ ## Credits
2846
+
2847
+ axios is heavily inspired by the [$http service](https://docs.angularjs.org/api/ng/service/$http) in [AngularJS](https://angularjs.org/). It provides a standalone `$http`-like service for use outside AngularJS.
2848
+
2849
+ ## License
2850
+
2851
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)