cloudstructs 0.9.42 → 0.9.44

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 (431) hide show
  1. package/.jsii +5 -5
  2. package/API.md +209 -13
  3. package/assets/slack-textract/detect.lambda/index.js +354 -90
  4. package/lib/codecommit-mirror/index.js +2 -2
  5. package/lib/dmarc/index.js +1 -1
  6. package/lib/ecs-service-roller/index.js +2 -2
  7. package/lib/email-receiver/receiver.js +1 -1
  8. package/lib/mjml-template/index.js +1 -1
  9. package/lib/saml-identity-provider/index.js +2 -2
  10. package/lib/slack-app/manifest.js +1 -1
  11. package/lib/slack-app/slack-app.js +2 -2
  12. package/lib/slack-events/index.js +1 -1
  13. package/lib/slack-textract/index.js +1 -1
  14. package/lib/ssl-server-test/index.js +1 -1
  15. package/lib/state-machine-cr-provider/index.js +1 -1
  16. package/lib/static-website/index.js +1 -1
  17. package/lib/toolkit-cleaner/index.js +1 -1
  18. package/lib/url-shortener/index.js +1 -1
  19. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  20. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +36 -1
  21. package/node_modules/@slack/logger/node_modules/@types/node/buffer.buffer.d.ts +9 -0
  22. package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +8 -4
  23. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +50 -33
  24. package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +3 -2
  25. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +198 -164
  26. package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +9 -8
  27. package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +39 -21
  28. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +89 -76
  29. package/node_modules/@slack/logger/node_modules/@types/node/globals.typedarray.d.ts +19 -0
  30. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +52 -22
  31. package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +29 -22
  32. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +82 -50
  33. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +7 -6
  34. package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +3 -2
  35. package/node_modules/@slack/logger/node_modules/@types/node/package.json +3 -3
  36. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +13 -5
  37. package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +221 -7
  38. package/node_modules/@slack/logger/node_modules/@types/node/stream/consumers.d.ts +2 -2
  39. package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +2 -2
  40. package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +88 -64
  41. package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
  42. package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
  43. package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +34 -10
  44. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +11 -2
  45. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +20 -3
  46. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +24 -3
  47. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +40 -3
  48. package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +25 -24
  49. package/node_modules/@slack/logger/node_modules/undici-types/agent.d.ts +1 -0
  50. package/node_modules/@slack/logger/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
  51. package/node_modules/@slack/logger/node_modules/undici-types/errors.d.ts +5 -15
  52. package/node_modules/@slack/logger/node_modules/undici-types/interceptors.d.ts +5 -0
  53. package/node_modules/@slack/logger/node_modules/undici-types/package.json +1 -1
  54. package/node_modules/@slack/logger/node_modules/undici-types/snapshot-agent.d.ts +5 -3
  55. package/node_modules/@slack/logger/node_modules/undici-types/webidl.d.ts +82 -21
  56. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts +4 -0
  57. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts.map +1 -1
  58. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts +36 -2
  59. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +1 -1
  60. package/node_modules/@slack/types/dist/block-kit/composition-objects.d.ts +14 -0
  61. package/node_modules/@slack/types/dist/block-kit/composition-objects.d.ts.map +1 -1
  62. package/node_modules/@slack/types/dist/block-kit/extensions.d.ts +2 -0
  63. package/node_modules/@slack/types/dist/block-kit/extensions.d.ts.map +1 -1
  64. package/node_modules/@slack/types/dist/events/entity-details-requested.d.ts +21 -0
  65. package/node_modules/@slack/types/dist/events/entity-details-requested.d.ts.map +1 -0
  66. package/node_modules/@slack/types/dist/events/entity-details-requested.js +3 -0
  67. package/node_modules/@slack/types/dist/events/entity-details-requested.js.map +1 -0
  68. package/node_modules/@slack/types/dist/events/index.d.ts +2 -1
  69. package/node_modules/@slack/types/dist/events/index.d.ts.map +1 -1
  70. package/node_modules/@slack/types/dist/events/index.js.map +1 -1
  71. package/node_modules/@slack/types/dist/message-metadata.d.ts +260 -1
  72. package/node_modules/@slack/types/dist/message-metadata.d.ts.map +1 -1
  73. package/node_modules/@slack/types/dist/message-metadata.js +24 -0
  74. package/node_modules/@slack/types/dist/message-metadata.js.map +1 -1
  75. package/node_modules/@slack/types/package.json +1 -1
  76. package/node_modules/@slack/web-api/dist/WebClient.d.ts +2 -0
  77. package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
  78. package/node_modules/@slack/web-api/dist/WebClient.js +2 -0
  79. package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
  80. package/node_modules/@slack/web-api/dist/methods.d.ts +80 -2
  81. package/node_modules/@slack/web-api/dist/methods.d.ts.map +1 -1
  82. package/node_modules/@slack/web-api/dist/methods.js +78 -0
  83. package/node_modules/@slack/web-api/dist/methods.js.map +1 -1
  84. package/node_modules/@slack/web-api/dist/types/request/chat.d.ts +37 -9
  85. package/node_modules/@slack/web-api/dist/types/request/chat.d.ts.map +1 -1
  86. package/node_modules/@slack/web-api/dist/types/request/entity.d.ts +46 -0
  87. package/node_modules/@slack/web-api/dist/types/request/entity.d.ts.map +1 -0
  88. package/node_modules/@slack/web-api/dist/types/request/entity.js +3 -0
  89. package/node_modules/@slack/web-api/dist/types/request/entity.js.map +1 -0
  90. package/node_modules/@slack/web-api/dist/types/request/index.d.ts +2 -0
  91. package/node_modules/@slack/web-api/dist/types/request/index.d.ts.map +1 -1
  92. package/node_modules/@slack/web-api/dist/types/request/manifest.d.ts +1 -1
  93. package/node_modules/@slack/web-api/dist/types/request/manifest.d.ts.map +1 -1
  94. package/node_modules/@slack/web-api/dist/types/request/search.d.ts +10 -1
  95. package/node_modules/@slack/web-api/dist/types/request/search.d.ts.map +1 -1
  96. package/node_modules/@slack/web-api/dist/types/request/slackLists.d.ts +806 -0
  97. package/node_modules/@slack/web-api/dist/types/request/slackLists.d.ts.map +1 -0
  98. package/node_modules/@slack/web-api/dist/types/request/slackLists.js +3 -0
  99. package/node_modules/@slack/web-api/dist/types/request/slackLists.js.map +1 -0
  100. package/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.d.ts +9 -0
  101. package/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.d.ts.map +1 -0
  102. package/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.js +11 -0
  103. package/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.js.map +1 -0
  104. package/node_modules/@slack/web-api/dist/types/response/SlackListsAccessDeleteResponse.d.ts +8 -0
  105. package/node_modules/@slack/web-api/dist/types/response/SlackListsAccessDeleteResponse.d.ts.map +1 -0
  106. package/node_modules/@slack/web-api/dist/types/response/SlackListsAccessDeleteResponse.js +3 -0
  107. package/node_modules/@slack/web-api/dist/types/response/SlackListsAccessDeleteResponse.js.map +1 -0
  108. package/node_modules/@slack/web-api/dist/types/response/SlackListsAccessSetResponse.d.ts +8 -0
  109. package/node_modules/@slack/web-api/dist/types/response/SlackListsAccessSetResponse.d.ts.map +1 -0
  110. package/node_modules/@slack/web-api/dist/types/response/SlackListsAccessSetResponse.js +3 -0
  111. package/node_modules/@slack/web-api/dist/types/response/SlackListsAccessSetResponse.js.map +1 -0
  112. package/node_modules/@slack/web-api/dist/types/response/SlackListsCreateResponse.d.ts +14 -0
  113. package/node_modules/@slack/web-api/dist/types/response/SlackListsCreateResponse.d.ts.map +1 -0
  114. package/node_modules/@slack/web-api/dist/types/response/SlackListsCreateResponse.js +3 -0
  115. package/node_modules/@slack/web-api/dist/types/response/SlackListsCreateResponse.js.map +1 -0
  116. package/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadGetResponse.d.ts +10 -0
  117. package/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadGetResponse.d.ts.map +1 -0
  118. package/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadGetResponse.js +3 -0
  119. package/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadGetResponse.js.map +1 -0
  120. package/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadStartResponse.d.ts +9 -0
  121. package/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadStartResponse.d.ts.map +1 -0
  122. package/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadStartResponse.js +3 -0
  123. package/node_modules/@slack/web-api/dist/types/response/SlackListsDownloadStartResponse.js.map +1 -0
  124. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsCreateResponse.d.ts +10 -0
  125. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsCreateResponse.d.ts.map +1 -0
  126. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsCreateResponse.js +3 -0
  127. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsCreateResponse.js.map +1 -0
  128. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteMultipleResponse.d.ts +8 -0
  129. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteMultipleResponse.d.ts.map +1 -0
  130. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteMultipleResponse.js +3 -0
  131. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteMultipleResponse.js.map +1 -0
  132. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteResponse.d.ts +8 -0
  133. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteResponse.d.ts.map +1 -0
  134. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteResponse.js +3 -0
  135. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsDeleteResponse.js.map +1 -0
  136. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsInfoResponse.d.ts +12 -0
  137. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsInfoResponse.d.ts.map +1 -0
  138. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsInfoResponse.js +3 -0
  139. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsInfoResponse.js.map +1 -0
  140. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsListResponse.d.ts +13 -0
  141. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsListResponse.d.ts.map +1 -0
  142. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsListResponse.js +3 -0
  143. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsListResponse.js.map +1 -0
  144. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsUpdateResponse.d.ts +8 -0
  145. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsUpdateResponse.d.ts.map +1 -0
  146. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsUpdateResponse.js +3 -0
  147. package/node_modules/@slack/web-api/dist/types/response/SlackListsItemsUpdateResponse.js.map +1 -0
  148. package/node_modules/@slack/web-api/dist/types/response/SlackListsUpdateResponse.d.ts +8 -0
  149. package/node_modules/@slack/web-api/dist/types/response/SlackListsUpdateResponse.d.ts.map +1 -0
  150. package/node_modules/@slack/web-api/dist/types/response/SlackListsUpdateResponse.js +3 -0
  151. package/node_modules/@slack/web-api/dist/types/response/SlackListsUpdateResponse.js.map +1 -0
  152. package/node_modules/@slack/web-api/dist/types/response/index.d.ts +13 -0
  153. package/node_modules/@slack/web-api/dist/types/response/index.d.ts.map +1 -1
  154. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  155. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +36 -1
  156. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.buffer.d.ts +9 -0
  157. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +8 -4
  158. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +50 -33
  159. package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +3 -2
  160. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +198 -164
  161. package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +9 -8
  162. package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +39 -21
  163. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +89 -76
  164. package/node_modules/@slack/web-api/node_modules/@types/node/globals.typedarray.d.ts +19 -0
  165. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +52 -22
  166. package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +29 -22
  167. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +82 -50
  168. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +7 -6
  169. package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +3 -2
  170. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +3 -3
  171. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +13 -5
  172. package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +221 -7
  173. package/node_modules/@slack/web-api/node_modules/@types/node/stream/consumers.d.ts +2 -2
  174. package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +2 -2
  175. package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +88 -64
  176. package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
  177. package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
  178. package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +34 -10
  179. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +11 -2
  180. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +20 -3
  181. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +24 -3
  182. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +40 -3
  183. package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +25 -24
  184. package/node_modules/@slack/web-api/node_modules/undici-types/agent.d.ts +1 -0
  185. package/node_modules/@slack/web-api/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
  186. package/node_modules/@slack/web-api/node_modules/undici-types/errors.d.ts +5 -15
  187. package/node_modules/@slack/web-api/node_modules/undici-types/interceptors.d.ts +5 -0
  188. package/node_modules/@slack/web-api/node_modules/undici-types/package.json +1 -1
  189. package/node_modules/@slack/web-api/node_modules/undici-types/snapshot-agent.d.ts +5 -3
  190. package/node_modules/@slack/web-api/node_modules/undici-types/webidl.d.ts +82 -21
  191. package/node_modules/@slack/web-api/package.json +3 -3
  192. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  193. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +36 -1
  194. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.buffer.d.ts +9 -0
  195. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +8 -4
  196. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +50 -33
  197. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +3 -2
  198. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +198 -164
  199. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +9 -8
  200. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +39 -21
  201. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +89 -76
  202. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.typedarray.d.ts +19 -0
  203. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +52 -22
  204. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +29 -22
  205. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +82 -50
  206. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +7 -6
  207. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +3 -2
  208. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +3 -3
  209. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +13 -5
  210. package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +221 -7
  211. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/consumers.d.ts +2 -2
  212. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +2 -2
  213. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +88 -64
  214. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
  215. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
  216. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +34 -10
  217. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +11 -2
  218. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +20 -3
  219. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +24 -3
  220. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +40 -3
  221. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +25 -24
  222. package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +1 -0
  223. package/node_modules/@types/cacheable-request/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
  224. package/node_modules/@types/cacheable-request/node_modules/undici-types/errors.d.ts +5 -15
  225. package/node_modules/@types/cacheable-request/node_modules/undici-types/interceptors.d.ts +5 -0
  226. package/node_modules/@types/cacheable-request/node_modules/undici-types/package.json +1 -1
  227. package/node_modules/@types/cacheable-request/node_modules/undici-types/snapshot-agent.d.ts +5 -3
  228. package/node_modules/@types/cacheable-request/node_modules/undici-types/webidl.d.ts +82 -21
  229. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  230. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +36 -1
  231. package/node_modules/@types/keyv/node_modules/@types/node/buffer.buffer.d.ts +9 -0
  232. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +8 -4
  233. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +50 -33
  234. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +3 -2
  235. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +198 -164
  236. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +9 -8
  237. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +39 -21
  238. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +89 -76
  239. package/node_modules/@types/keyv/node_modules/@types/node/globals.typedarray.d.ts +19 -0
  240. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +52 -22
  241. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +29 -22
  242. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +82 -50
  243. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +7 -6
  244. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +3 -2
  245. package/node_modules/@types/keyv/node_modules/@types/node/package.json +3 -3
  246. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +13 -5
  247. package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +221 -7
  248. package/node_modules/@types/keyv/node_modules/@types/node/stream/consumers.d.ts +2 -2
  249. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +2 -2
  250. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +88 -64
  251. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
  252. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
  253. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +34 -10
  254. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +11 -2
  255. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +20 -3
  256. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +24 -3
  257. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +40 -3
  258. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +25 -24
  259. package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +1 -0
  260. package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
  261. package/node_modules/@types/keyv/node_modules/undici-types/errors.d.ts +5 -15
  262. package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +5 -0
  263. package/node_modules/@types/keyv/node_modules/undici-types/package.json +1 -1
  264. package/node_modules/@types/keyv/node_modules/undici-types/snapshot-agent.d.ts +5 -3
  265. package/node_modules/@types/keyv/node_modules/undici-types/webidl.d.ts +82 -21
  266. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  267. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +36 -1
  268. package/node_modules/@types/responselike/node_modules/@types/node/buffer.buffer.d.ts +9 -0
  269. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +8 -4
  270. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +50 -33
  271. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +3 -2
  272. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +198 -164
  273. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +9 -8
  274. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +39 -21
  275. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +89 -76
  276. package/node_modules/@types/responselike/node_modules/@types/node/globals.typedarray.d.ts +19 -0
  277. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +52 -22
  278. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +29 -22
  279. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +82 -50
  280. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +7 -6
  281. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +3 -2
  282. package/node_modules/@types/responselike/node_modules/@types/node/package.json +3 -3
  283. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +13 -5
  284. package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +221 -7
  285. package/node_modules/@types/responselike/node_modules/@types/node/stream/consumers.d.ts +2 -2
  286. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +2 -2
  287. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +88 -64
  288. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
  289. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
  290. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +34 -10
  291. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +11 -2
  292. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +20 -3
  293. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +24 -3
  294. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +40 -3
  295. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +25 -24
  296. package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +1 -0
  297. package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
  298. package/node_modules/@types/responselike/node_modules/undici-types/errors.d.ts +5 -15
  299. package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +5 -0
  300. package/node_modules/@types/responselike/node_modules/undici-types/package.json +1 -1
  301. package/node_modules/@types/responselike/node_modules/undici-types/snapshot-agent.d.ts +5 -3
  302. package/node_modules/@types/responselike/node_modules/undici-types/webidl.d.ts +82 -21
  303. package/node_modules/axios/CHANGELOG.md +410 -346
  304. package/node_modules/axios/README.md +79 -51
  305. package/node_modules/axios/dist/axios.js +121 -46
  306. package/node_modules/axios/dist/axios.js.map +1 -1
  307. package/node_modules/axios/dist/axios.min.js +2 -2
  308. package/node_modules/axios/dist/axios.min.js.map +1 -1
  309. package/node_modules/axios/dist/browser/axios.cjs +126 -57
  310. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  311. package/node_modules/axios/dist/esm/axios.js +126 -57
  312. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  313. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  314. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  315. package/node_modules/axios/dist/node/axios.cjs +351 -97
  316. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  317. package/node_modules/axios/index.d.cts +4 -0
  318. package/node_modules/axios/index.d.ts +4 -0
  319. package/node_modules/axios/lib/adapters/adapters.js +85 -40
  320. package/node_modules/axios/lib/adapters/fetch.js +1 -1
  321. package/node_modules/axios/lib/adapters/http.js +224 -42
  322. package/node_modules/axios/lib/core/InterceptorManager.js +1 -1
  323. package/node_modules/axios/lib/core/mergeConfig.js +4 -4
  324. package/node_modules/axios/lib/env/data.js +1 -1
  325. package/node_modules/axios/lib/helpers/HttpStatusCode.js +6 -0
  326. package/node_modules/axios/lib/helpers/bind.js +7 -0
  327. package/node_modules/axios/lib/helpers/cookies.js +24 -13
  328. package/node_modules/axios/package.json +9 -4
  329. package/node_modules/form-data/CHANGELOG.md +60 -2
  330. package/node_modules/form-data/README.md +4 -4
  331. package/node_modules/form-data/lib/form_data.js +2 -2
  332. package/node_modules/form-data/package.json +4 -4
  333. package/node_modules/js-beautify/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -1
  334. package/node_modules/js-beautify/node_modules/glob/dist/commonjs/index.d.ts +2 -2
  335. package/node_modules/js-beautify/node_modules/glob/dist/esm/bin.mjs +111 -35
  336. package/node_modules/js-beautify/node_modules/glob/dist/esm/bin.mjs.map +1 -1
  337. package/node_modules/js-beautify/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -1
  338. package/node_modules/js-beautify/node_modules/glob/dist/esm/index.d.ts +2 -2
  339. package/node_modules/js-beautify/node_modules/glob/package.json +1 -1
  340. package/node_modules/mjml/LICENSE.md +21 -0
  341. package/node_modules/mjml/package.json +9 -8
  342. package/node_modules/mjml-accordion/LICENSE.md +21 -0
  343. package/node_modules/mjml-accordion/README.md +2 -2
  344. package/node_modules/mjml-accordion/lib/Accordion.js +8 -0
  345. package/node_modules/mjml-accordion/lib/AccordionElement.js +8 -0
  346. package/node_modules/mjml-accordion/lib/AccordionText.js +17 -3
  347. package/node_modules/mjml-accordion/lib/AccordionTitle.js +17 -3
  348. package/node_modules/mjml-accordion/package.json +4 -3
  349. package/node_modules/mjml-body/LICENSE.md +21 -0
  350. package/node_modules/mjml-body/package.json +4 -3
  351. package/node_modules/mjml-button/LICENSE.md +21 -0
  352. package/node_modules/mjml-button/README.md +1 -1
  353. package/node_modules/mjml-button/package.json +4 -3
  354. package/node_modules/mjml-carousel/LICENSE.md +21 -0
  355. package/node_modules/mjml-carousel/README.md +5 -5
  356. package/node_modules/mjml-carousel/lib/Carousel.js +15 -2
  357. package/node_modules/mjml-carousel/lib/CarouselImage.js +8 -1
  358. package/node_modules/mjml-carousel/package.json +4 -3
  359. package/node_modules/mjml-cli/LICENSE.md +21 -0
  360. package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -1
  361. package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/index.d.ts +2 -2
  362. package/node_modules/mjml-cli/node_modules/glob/dist/esm/bin.mjs +111 -35
  363. package/node_modules/mjml-cli/node_modules/glob/dist/esm/bin.mjs.map +1 -1
  364. package/node_modules/mjml-cli/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -1
  365. package/node_modules/mjml-cli/node_modules/glob/dist/esm/index.d.ts +2 -2
  366. package/node_modules/mjml-cli/node_modules/glob/package.json +1 -1
  367. package/node_modules/mjml-cli/package.json +7 -6
  368. package/node_modules/mjml-column/LICENSE.md +21 -0
  369. package/node_modules/mjml-column/lib/index.js +29 -3
  370. package/node_modules/mjml-column/package.json +4 -3
  371. package/node_modules/mjml-core/LICENSE.md +21 -0
  372. package/node_modules/mjml-core/lib/createComponent.js +4 -2
  373. package/node_modules/mjml-core/lib/index.js +3 -0
  374. package/node_modules/mjml-core/package.json +6 -5
  375. package/node_modules/mjml-divider/LICENSE.md +21 -0
  376. package/node_modules/mjml-divider/package.json +4 -3
  377. package/node_modules/mjml-group/LICENSE.md +21 -0
  378. package/node_modules/mjml-group/README.md +4 -4
  379. package/node_modules/mjml-group/package.json +4 -3
  380. package/node_modules/mjml-head/LICENSE.md +21 -0
  381. package/node_modules/mjml-head/package.json +4 -3
  382. package/node_modules/mjml-head-attributes/LICENSE.md +21 -0
  383. package/node_modules/mjml-head-attributes/package.json +4 -3
  384. package/node_modules/mjml-head-breakpoint/LICENSE.md +21 -0
  385. package/node_modules/mjml-head-breakpoint/package.json +4 -3
  386. package/node_modules/mjml-head-font/LICENSE.md +21 -0
  387. package/node_modules/mjml-head-font/package.json +4 -3
  388. package/node_modules/mjml-head-html-attributes/LICENSE.md +21 -0
  389. package/node_modules/mjml-head-html-attributes/package.json +4 -3
  390. package/node_modules/mjml-head-preview/LICENSE.md +21 -0
  391. package/node_modules/mjml-head-preview/package.json +4 -3
  392. package/node_modules/mjml-head-style/LICENSE.md +21 -0
  393. package/node_modules/mjml-head-style/package.json +4 -3
  394. package/node_modules/mjml-head-title/LICENSE.md +21 -0
  395. package/node_modules/mjml-head-title/package.json +4 -3
  396. package/node_modules/mjml-hero/LICENSE.md +21 -0
  397. package/node_modules/mjml-hero/README.md +4 -4
  398. package/node_modules/mjml-hero/package.json +4 -3
  399. package/node_modules/mjml-image/LICENSE.md +21 -0
  400. package/node_modules/mjml-image/README.md +1 -1
  401. package/node_modules/mjml-image/package.json +4 -3
  402. package/node_modules/mjml-migrate/package.json +5 -4
  403. package/node_modules/mjml-navbar/LICENSE.md +21 -0
  404. package/node_modules/mjml-navbar/README.md +4 -4
  405. package/node_modules/mjml-navbar/lib/Navbar.js +2 -2
  406. package/node_modules/mjml-navbar/package.json +4 -3
  407. package/node_modules/mjml-parser-xml/package.json +4 -4
  408. package/node_modules/mjml-preset-core/LICENSE.md +21 -0
  409. package/node_modules/mjml-preset-core/package.json +28 -27
  410. package/node_modules/mjml-raw/LICENSE.md +21 -0
  411. package/node_modules/mjml-raw/package.json +4 -3
  412. package/node_modules/mjml-section/LICENSE.md +21 -0
  413. package/node_modules/mjml-section/lib/index.js +20 -4
  414. package/node_modules/mjml-section/package.json +4 -3
  415. package/node_modules/mjml-social/LICENSE.md +21 -0
  416. package/node_modules/mjml-social/README.md +1 -1
  417. package/node_modules/mjml-social/lib/SocialElement.js +3 -4
  418. package/node_modules/mjml-social/package.json +4 -3
  419. package/node_modules/mjml-spacer/LICENSE.md +21 -0
  420. package/node_modules/mjml-spacer/package.json +4 -3
  421. package/node_modules/mjml-table/LICENSE.md +21 -0
  422. package/node_modules/mjml-table/lib/index.js +12 -1
  423. package/node_modules/mjml-table/package.json +4 -3
  424. package/node_modules/mjml-text/LICENSE.md +21 -0
  425. package/node_modules/mjml-text/package.json +4 -3
  426. package/node_modules/mjml-validator/package.json +2 -2
  427. package/node_modules/mjml-wrapper/LICENSE.md +21 -0
  428. package/node_modules/mjml-wrapper/README.md +2 -1
  429. package/node_modules/mjml-wrapper/lib/index.js +12 -0
  430. package/node_modules/mjml-wrapper/package.json +5 -4
  431. package/package.json +19 -19
@@ -1,22 +1,19 @@
1
1
 
2
- <h3 align="center"> 🥇 Gold sponsors <br> </h3> <table align="center" width="100%"><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://dev.intra-mart.jp/?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="48px" height="47px" src="https://axios-http.com/assets/sponsors/opencollective/948009b39c308b39f58c5d1245abd22512adc37b.png" alt="intra-mart"/> </a> <p align="center" title="[1ページ目] CookBook の記事 intra-mart Developer Portal ">[1ページ目] CookBook の記事 intra-mart Developer Portal</p> <p align="center"> <a href="https://dev.intra-mart.jp/?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship" target="_blank"><b>dev.intra-mart.jp</b></a> </p>
3
- </td><td align="center" width="33.333333333333336%"> <a href="https://stytch.com/?utm_source&#x3D;oss-sponsorship&amp;utm_medium&#x3D;paid_sponsorship&amp;utm_content&#x3D;website-link&amp;utm_campaign&#x3D;axios-http" style="padding: 10px; display: inline-block" target="_blank"> <picture> <source width="200px" height="38px" media="(prefers-color-scheme: dark)" srcset="https://axios-http.com/assets/sponsors/stytch_white.png"> <img width="200px" height="38px" src="https://axios-http.com/assets/sponsors/stytch.png" alt="Stytch"/> </picture> </a> <p align="center" title="API-first authentication, authorization, and fraud prevention">API-first authentication, authorization, and fraud prevention</p> <p align="center"> <a href="https://stytch.com/?utm_source&#x3D;oss-sponsorship&amp;utm_medium&#x3D;paid_sponsorship&amp;utm_content&#x3D;website-link&amp;utm_campaign&#x3D;axios-http" target="_blank"><b>Website</b></a> | <a href="https://stytch.com/docs?utm_source&#x3D;oss-sponsorship&amp;utm_medium&#x3D;paid_sponsorship&amp;utm_content&#x3D;docs-link&amp;utm_campaign&#x3D;axios-http" target="_blank"><b>Documentation</b></a> | <a href="https://github.com/stytchauth/stytch-node?utm_source&#x3D;oss-sponsorship&amp;utm_medium&#x3D;paid_sponsorship&amp;utm_content&#x3D;node-sdk&amp;utm_campaign&#x3D;axios-http" target="_blank"><b>Node.js</b></a> </p>
2
+ <h3 align="center"> 🥇 Gold sponsors <br> </h3> <table align="center" width="100%"><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://stytch.com/?utm_source&#x3D;oss-sponsorship&amp;utm_medium&#x3D;paid_sponsorship&amp;utm_content&#x3D;website-link&amp;utm_campaign&#x3D;axios-http" style="padding: 10px; display: inline-block" target="_blank"> <picture> <source width="200px" height="38px" media="(prefers-color-scheme: dark)" srcset="https://axios-http.com/assets/sponsors/stytch_white.png"> <img width="200px" height="38px" src="https://axios-http.com/assets/sponsors/stytch.png" alt="Stytch"/> </picture> </a> <p align="center" title="API-first authentication, authorization, and fraud prevention">API-first authentication, authorization, and fraud prevention</p> <p align="center"> <a href="https://stytch.com/?utm_source&#x3D;oss-sponsorship&amp;utm_medium&#x3D;paid_sponsorship&amp;utm_content&#x3D;website-link&amp;utm_campaign&#x3D;axios-http" target="_blank"><b>Website</b></a> | <a href="https://stytch.com/docs?utm_source&#x3D;oss-sponsorship&amp;utm_medium&#x3D;paid_sponsorship&amp;utm_content&#x3D;docs-link&amp;utm_campaign&#x3D;axios-http" target="_blank"><b>Documentation</b></a> | <a href="https://github.com/stytchauth/stytch-node?utm_source&#x3D;oss-sponsorship&amp;utm_medium&#x3D;paid_sponsorship&amp;utm_content&#x3D;node-sdk&amp;utm_campaign&#x3D;axios-http" target="_blank"><b>Node.js</b></a> </p>
4
3
  </td><td align="center" width="33.333333333333336%"> <a href="https://www.principal.com/about-us?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="133px" height="43px" src="https://axios-http.com/assets/sponsors/principal.svg" alt="Principal Financial Group"/> </a> <p align="center" title="We’re bound by one common purpose: to give you the financial tools, resources and information you need to live your best life.">We’re bound by one common purpose: to give you the financial tools, resources and information you ne...</p> <p align="center"> <a href="https://www.principal.com/about-us?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship" target="_blank"><b>www.principal.com</b></a> </p>
5
- </td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://twicsy.com/buy-instagram-followers?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="85px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/dfa9670ad5e66eea17315332453c7f4e3a3b5905.png" alt="Buy Instagram Followers Twicsy"/> </a> <p align="center" title="Buy real Instagram followers from Twicsy starting at only $2.97. Twicsy has been voted the best site to buy followers from the likes of US Magazine.">Buy real Instagram followers from Twicsy starting at only $2.97. Twicsy has been voted the best site...</p> <p align="center"> <a href="https://twicsy.com/buy-instagram-followers?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship" target="_blank"><b>twicsy.com</b></a> </p>
6
- </td><td align="center" width="33.333333333333336%"> <a href="https://www.descope.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;referral&amp;utm_campaign&#x3D;axios-oss-sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <picture> <source width="200px" height="52px" media="(prefers-color-scheme: dark)" srcset="https://axios-http.com/assets/sponsors/descope_white.png"> <img width="200px" height="52px" src="https://axios-http.com/assets/sponsors/descope.png" alt="Descope"/> </picture> </a> <p align="center" 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.">Hi, we&#x27;re Descope! We are building something in the authentication space for app developers and...</p> <p align="center"> <a href="https://www.descope.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;referral&amp;utm_campaign&#x3D;axios-oss-sponsorship" target="_blank"><b>Website</b></a> | <a href="https://docs.descope.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;referral&amp;utm_campaign&#x3D;axios-oss-sponsorship" target="_blank"><b>Docs</b></a> | <a href="https://www.descope.com/community?utm_source&#x3D;axios&amp;utm_medium&#x3D;referral&amp;utm_campaign&#x3D;axios-oss-sponsorship" target="_blank"><b>Community</b></a> </p>
4
+ </td><td align="center" width="33.333333333333336%"> <a href="https://twicsy.com/buy-instagram-followers?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="85px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/dfa9670ad5e66eea17315332453c7f4e3a3b5905.png" alt="Buy Instagram Followers Twicsy"/> </a> <p align="center" title="Buy real Instagram followers from Twicsy starting at only $2.97. Twicsy has been voted the best site to buy followers from the likes of US Magazine.">Buy real Instagram followers from Twicsy starting at only $2.97. Twicsy has been voted the best site...</p> <p align="center"> <a href="https://twicsy.com/buy-instagram-followers?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship" target="_blank"><b>twicsy.com</b></a> </p>
5
+ </td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://www.descope.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;referral&amp;utm_campaign&#x3D;axios-oss-sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <picture> <source width="200px" height="52px" media="(prefers-color-scheme: dark)" srcset="https://axios-http.com/assets/sponsors/descope_white.png"> <img width="200px" height="52px" src="https://axios-http.com/assets/sponsors/descope.png" alt="Descope"/> </picture> </a> <p align="center" 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.">Hi, we&#x27;re Descope! We are building something in the authentication space for app developers and...</p> <p align="center"> <a href="https://www.descope.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;referral&amp;utm_campaign&#x3D;axios-oss-sponsorship" target="_blank"><b>Website</b></a> | <a href="https://docs.descope.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;referral&amp;utm_campaign&#x3D;axios-oss-sponsorship" target="_blank"><b>Docs</b></a> | <a href="https://www.descope.com/community?utm_source&#x3D;axios&amp;utm_medium&#x3D;referral&amp;utm_campaign&#x3D;axios-oss-sponsorship" target="_blank"><b>Community</b></a> </p>
7
6
  </td><td align="center" width="33.333333333333336%"> <a href="https://route4me.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <picture> <source width="200px" height="51px" media="(prefers-color-scheme: dark)" srcset="https://axios-http.com/assets/sponsors/route4me_white.png"> <img width="200px" height="51px" src="https://axios-http.com/assets/sponsors/route4me.png" alt="Route4Me"/> </picture> </a> <p align="center" title="Best Route Planning And Route Optimization Software">Best Route Planning And Route Optimization Software</p> <p align="center"> <a href="https://route4me.com/platform/route-optimization-software?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship" target="_blank"><b>Explore</b></a> | <a href="https://route4me.com/platform/marketplace/pricing?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship" target="_blank"><b>Free Trial</b></a> | <a href="https://route4me.com/contact?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship" target="_blank"><b>Contact</b></a> </p>
8
- </td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://buzzoid.com/buy-instagram-followers/?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="62px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/e1625cb54e10ee40180c99d1495a462e9d6664a4.png" alt="Buzzoid - Buy Instagram Followers"/> </a> <p align="center" title="At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rated world&#x27;s #1 IG service since 2012.">At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rate...</p> <p align="center"> <a href="https://buzzoid.com/buy-instagram-followers/?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship" target="_blank"><b>buzzoid.com</b></a> </p>
9
- </td><td align="center" width="33.333333333333336%"> <a href="https://www.famety.net/?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/56645c65d4bad0ab84265e02430d19d64afde927.png" alt="Famety - Buy Instagram Followers"/> </a> <p align="center" title="At Famety, you can grow your social media following quickly, safely, and easily with just a few clicks. Rated the world’s #1 social media service since 2013.">At Famety, you can grow your social media following quickly, safely, and easily with just a few clic...</p> <p align="center"> <a href="https://www.famety.net/?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship" target="_blank"><b>www.famety.net</b></a> </p>
10
- </td><td align="center" width="33.333333333333336%"> <a href="https://poprey.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/e699ec99f7df3a203ddbc49d3c7712a907e628ea.png" alt="Poprey - Buy Instagram Likes"/> </a> <p align="center" title="Buy Instagram Likes">Buy Instagram Likes</p> <p align="center"> <a href="https://poprey.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship" target="_blank"><b>poprey.com</b></a> </p>
11
- </td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://ssmarket.net/buy-youtube-subscribers?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/0845614102b0c6602707ca2983de05a0098faad4.png" alt="Buy Youtube Subscribers"/> </a> <p align="center" title="SS Market offers professional social media services that rapidly increase your YouTube subscriber count, elevating your channel to a powerful position.">SS Market offers professional social media services that rapidly increase your YouTube subscriber co...</p> <p align="center"> <a href="https://ssmarket.net/buy-youtube-subscribers?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship" target="_blank"><b>ssmarket.net</b></a> </p>
12
- </td><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute" target="_blank" >💜 Become a sponsor</a>
7
+ </td><td align="center" width="33.333333333333336%"> <a href="https://buzzoid.com/buy-instagram-followers/?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="62px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/e1625cb54e10ee40180c99d1495a462e9d6664a4.png" alt="Buzzoid - Buy Instagram Followers"/> </a> <p align="center" title="At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rated world&#x27;s #1 IG service since 2012.">At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rate...</p> <p align="center"> <a href="https://buzzoid.com/buy-instagram-followers/?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship" target="_blank"><b>buzzoid.com</b></a> </p>
8
+ </td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://poprey.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/e699ec99f7df3a203ddbc49d3c7712a907e628ea.png" alt="Poprey - Buy Instagram Likes"/> </a> <p align="center" title="Buy Instagram Likes">Buy Instagram Likes</p> <p align="center"> <a href="https://poprey.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship" target="_blank"><b>poprey.com</b></a> </p>
9
+ </td><td align="center" width="33.333333333333336%"> <a href="https://requestly.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;sponsorlist&amp;utm_campaign&#x3D;sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="71px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/16450b4dc0deb9dab5a511bf2bc8b8b4ac33412f.png" alt="Requestly"/> </a> <p align="center" title="A lightweight open-source API Development, Testing &amp; Mocking platform">A lightweight open-source API Development, Testing &amp; Mocking platform</p> <p align="center"> <a href="https://requestly.com/?utm_source&#x3D;axios&amp;utm_medium&#x3D;readme_sponsorlist&amp;utm_campaign&#x3D;sponsorship" target="_blank"><b>requestly.com</b></a> </p>
13
10
  </td><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute" target="_blank" >💜 Become a sponsor</a>
14
11
  </td></tr></table>
15
12
 
16
13
  <!--<div>marker</div>-->
17
14
  <br><br>
18
15
  <div align="center">
19
- <a href="https://axios-http.com"><img src="https://axios-http.com/assets/logo.svg" /></a><br>
16
+ <a href="https://axios-http.com"><img src="https://axios-http.com/assets/logo.svg" alt="Axios" /></a><br>
20
17
  </div>
21
18
 
22
19
  <p align="center">Promise based HTTP client for the browser and node.js</p>
@@ -39,6 +36,7 @@
39
36
  [![gitter chat](https://img.shields.io/gitter/room/mzabriskie/axios.svg?style=flat-square)](https://gitter.im/mzabriskie/axios)
40
37
  [![code helpers](https://www.codetriage.com/axios/axios/badges/users.svg)](https://www.codetriage.com/axios/axios)
41
38
  [![Known Vulnerabilities](https://snyk.io/test/npm/axios/badge.svg)](https://snyk.io/test/npm/axios)
39
+ [![Contributors](https://img.shields.io/github/contributors/axios/axios.svg?style=flat-square)](CONTRIBUTORS.md)
42
40
 
43
41
 
44
42
 
@@ -80,12 +78,13 @@
80
78
  - [Files Posting](#files-posting)
81
79
  - [HTML Form Posting](#-html-form-posting-browser)
82
80
  - [🆕 Progress capturing](#-progress-capturing)
83
- - [🆕 Rate limiting](#-progress-capturing)
81
+ - [🆕 Rate limiting](#-rate-limiting)
84
82
  - [🆕 AxiosHeaders](#-axiosheaders)
85
83
  - [🔥 Fetch adapter](#-fetch-adapter)
86
84
  - [🔥 Custom fetch](#-custom-fetch)
87
85
  - [🔥 Using with Tauri](#-using-with-tauri)
88
86
  - [🔥 Using with SvelteKit](#-using-with-sveltekit-)
87
+ - [🔥 HTTP2](#-http2)
89
88
  - [Semver](#semver)
90
89
  - [Promises](#promises)
91
90
  - [TypeScript](#typescript)
@@ -95,21 +94,22 @@
95
94
 
96
95
  ## Features
97
96
 
98
- - Make [XMLHttpRequests](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) from the browser
99
- - Make [http](https://nodejs.org/api/http.html) requests from node.js
100
- - Supports the [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) API
101
- - Intercept request and response
102
- - Transform request and response data
103
- - Cancel requests
104
- - Automatic transforms for [JSON](https://www.json.org/json-en.html) data
105
- - 🆕 Automatic data object serialization to `multipart/form-data` and `x-www-form-urlencoded` body encodings
106
- - Client side support for protecting against [XSRF](https://en.wikipedia.org/wiki/Cross-site_request_forgery)
97
+ - **Browser Requests:** Make [XMLHttpRequests](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) directly from the browser.
98
+ - **Node.js Requests:** Make [http](https://nodejs.org/api/http.html) requests from Node.js environments.
99
+ - **Promise-based:** Fully supports the [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) API for easier asynchronous code.
100
+ - **Interceptors:** Intercept requests and responses to add custom logic or transform data.
101
+ - **Data Transformation:** Transform request and response data automatically.
102
+ - **Request Cancellation:** Cancel requests using built-in mechanisms.
103
+ - **Automatic JSON Handling:** Automatically serializes and parses [JSON](https://www.json.org/json-en.html) data.
104
+ - **Form Serialization:** 🆕 Automatically serializes data objects to `multipart/form-data` or `x-www-form-urlencoded` formats.
105
+ - **XSRF Protection:** Client-side support to protect against [Cross-Site Request Forgery](https://en.wikipedia.org/wiki/Cross-site_request_forgery).
107
106
 
108
107
  ## Browser Support
109
108
 
110
- ![Chrome](https://raw.githubusercontent.com/alrra/browser-logos/main/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.githubusercontent.com/alrra/browser-logos/main/src/firefox/firefox_48x48.png) | ![Safari](https://raw.githubusercontent.com/alrra/browser-logos/main/src/safari/safari_48x48.png) | ![Opera](https://raw.githubusercontent.com/alrra/browser-logos/main/src/opera/opera_48x48.png) | ![Edge](https://raw.githubusercontent.com/alrra/browser-logos/main/src/edge/edge_48x48.png) |
111
- --- | --- | --- | --- | --- |
112
- Latest | Latest | Latest | Latest | Latest | 11 |
109
+ | Chrome | Firefox | Safari | Opera | Edge |
110
+ |:------:|:-------:|:------:|:-----:|:----:|
111
+ | ![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) |
112
+ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
113
113
 
114
114
  [![Browser Matrix](https://saucelabs.com/open_sauce/build_matrix/axios.svg)](https://saucelabs.com/u/axios)
115
115
 
@@ -199,7 +199,7 @@ Using unpkg CDN:
199
199
 
200
200
  ## Example
201
201
 
202
- > **Note**: CommonJS usage
202
+ > **Note**: CommonJS usage
203
203
  > In order to gain the TypeScript typings (for intellisense / autocomplete) while using CommonJS imports with `require()`, use the following approach:
204
204
 
205
205
  ```js
@@ -421,18 +421,18 @@ These are the available config options for making requests. Only the `url` is re
421
421
  params: {
422
422
  ID: 12345
423
423
  },
424
-
425
- // `paramsSerializer` is an optional config that allows you to customize serializing `params`.
424
+
425
+ // `paramsSerializer` is an optional config that allows you to customize serializing `params`.
426
426
  paramsSerializer: {
427
427
 
428
428
  // Custom encoder function which sends key/value pairs in an iterative fashion.
429
- encode?: (param: string): string => { /* Do custom operations here and return transformed string */ },
430
-
429
+ encode?: (param: string): string => { /* Do custom operations here and return transformed string */ },
430
+
431
431
  // Custom serializer function for the entire parameter. Allows user to mimic pre 1.x behaviour.
432
- serialize?: (params: Record<string, any>, options?: ParamsSerializerOptions ),
433
-
434
- // Configuration for formatting array indexes in the params.
435
- 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).
432
+ serialize?: (params: Record<string, any>, options?: ParamsSerializerOptions ),
433
+
434
+ // Configuration for formatting array indexes in the params.
435
+ 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).
436
436
  },
437
437
 
438
438
  // `data` is the data to be sent as the request body
@@ -494,7 +494,7 @@ These are the available config options for making requests. Only the `url` is re
494
494
 
495
495
  // `xsrfHeaderName` is the name of the http header that carries the xsrf token value
496
496
  xsrfHeaderName: 'X-XSRF-TOKEN', // default
497
-
497
+
498
498
  // `undefined` (default) - set XSRF header only for the same origin requests
499
499
  withXSRFToken: boolean | undefined | ((config: InternalAxiosRequestConfig) => boolean | undefined),
500
500
 
@@ -544,7 +544,7 @@ These are the available config options for making requests. Only the `url` is re
544
544
  // Only either `socketPath` or `proxy` can be specified.
545
545
  // If both are specified, `socketPath` is used.
546
546
  socketPath: null, // default
547
-
547
+
548
548
  // `transport` determines the transport method that will be used to make the request.
549
549
  // If defined, it will be used. Otherwise, if `maxRedirects` is 0,
550
550
  // the default `http` or `https` library will be used, depending on the protocol specified in `protocol`.
@@ -837,10 +837,10 @@ The general structure of axios errors is as follows:
837
837
  | -------- | ---------- |
838
838
  | message | A quick summary of the error message and the status it failed with. |
839
839
  | name | This defines where the error originated from. For axios, it will always be an 'AxiosError'. |
840
- | stack | Provides the stack trace of the error. |
840
+ | stack | Provides the stack trace of the error. |
841
841
  | config | An axios config object with specific instance configurations defined by the user from when the request was made |
842
842
  | code | Represents an axios identified error. The table below lists out specific definitions for internal axios error. |
843
- | status | HTTP response status code. See [here](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes) for common HTTP response status code meanings.
843
+ | status | HTTP response status code. See [here](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes) for common HTTP response status code meanings.
844
844
 
845
845
  Below is a list of potential axios identified error:
846
846
 
@@ -1285,7 +1285,7 @@ Sending `Blobs`/`Files` as JSON (`base64`) is not currently supported.
1285
1285
  Axios supports both browser and node environments to capture request upload/download progress.
1286
1286
  The frequency of progress events is forced to be limited to `3` times per second.
1287
1287
 
1288
- ```js
1288
+ ```js
1289
1289
  await axios.post(url, data, {
1290
1290
  onUploadProgress: function (axiosProgressEvent) {
1291
1291
  /*{
@@ -1304,13 +1304,13 @@ await axios.post(url, data, {
1304
1304
  loaded: number;
1305
1305
  total?: number;
1306
1306
  progress?: number;
1307
- bytes: number;
1307
+ bytes: number;
1308
1308
  estimated?: number;
1309
1309
  rate?: number; // download speed in bytes
1310
1310
  download: true; // download sign
1311
1311
  }*/
1312
1312
  }
1313
- });
1313
+ });
1314
1314
  ```
1315
1315
 
1316
1316
  You can also track stream upload/download progress in node.js:
@@ -1320,7 +1320,7 @@ const {data} = await axios.post(SERVER_URL, readableStream, {
1320
1320
  onUploadProgress: ({progress}) => {
1321
1321
  console.log((progress * 100).toFixed(2));
1322
1322
  },
1323
-
1323
+
1324
1324
  headers: {
1325
1325
  'Content-Length': contentLength
1326
1326
  },
@@ -1346,7 +1346,7 @@ const {data} = await axios.post(LOCAL_SERVER_URL, myBuffer, {
1346
1346
  onUploadProgress: ({progress, rate}) => {
1347
1347
  console.log(`Upload [${(progress*100).toFixed(2)}%]: ${(rate / 1024).toFixed(2)}KB/s`)
1348
1348
  },
1349
-
1349
+
1350
1350
  maxRate: [100 * 1024], // 100KB/s limit
1351
1351
  });
1352
1352
  ```
@@ -1384,13 +1384,13 @@ The headers object is always initialized inside interceptors and transformers:
1384
1384
  "My-set-header1": "my-set-value1",
1385
1385
  "My-set-header2": "my-set-value2"
1386
1386
  });
1387
-
1387
+
1388
1388
  request.headers.set('User-Agent', false); // disable subsequent setting the header by Axios
1389
1389
 
1390
1390
  request.headers.setContentType('text/plain');
1391
-
1391
+
1392
1392
  request.headers['My-set-header2'] = 'newValue' // direct access is deprecated
1393
-
1393
+
1394
1394
  return request;
1395
1395
  }
1396
1396
  );
@@ -1416,7 +1416,7 @@ for(const [header, value] of headers) {
1416
1416
 
1417
1417
  ### new AxiosHeaders(headers?)
1418
1418
 
1419
- Constructs a new `AxiosHeaders` instance.
1419
+ Constructs a new `AxiosHeaders` instance.
1420
1420
 
1421
1421
  ```
1422
1422
  constructor(headers?: RawAxiosHeaders | AxiosHeaders | string);
@@ -1471,7 +1471,7 @@ const headers = new AxiosHeaders({
1471
1471
  'Content-Type': 'multipart/form-data; boundary=Asrf456BGe4h'
1472
1472
  });
1473
1473
 
1474
- console.log(headers.get('Content-Type'));
1474
+ console.log(headers.get('Content-Type'));
1475
1475
  // multipart/form-data; boundary=Asrf456BGe4h
1476
1476
 
1477
1477
  console.log(headers.get('Content-Type', true)); // parse key-value pairs from a string separated with \s,;= delimiters:
@@ -1515,7 +1515,7 @@ Returns `true` if at least one header has been removed.
1515
1515
  clear(matcher?: AxiosHeaderMatcher): boolean;
1516
1516
  ```
1517
1517
 
1518
- Removes all headers.
1518
+ Removes all headers.
1519
1519
  Unlike the `delete` method matcher, this optional matcher will be used to match against the header name rather than the value.
1520
1520
 
1521
1521
  ```ts
@@ -1570,7 +1570,7 @@ Returns a new `AxiosHeaders` instance.
1570
1570
  toJSON(asStrings?: boolean): RawAxiosHeaders;
1571
1571
  ````
1572
1572
 
1573
- Resolve all internal headers values into a new null prototype object.
1573
+ Resolve all internal headers values into a new null prototype object.
1574
1574
  Set `asStrings` to true to resolve arrays as a string containing all elements, separated by commas.
1575
1575
 
1576
1576
  ### AxiosHeaders.from(thing?)
@@ -1626,7 +1626,7 @@ const fetchAxios = axios.create({
1626
1626
  const {data} = fetchAxios.get(url);
1627
1627
  ```
1628
1628
 
1629
- The adapter supports the same functionality as `xhr` adapter, **including upload and download progress capturing**.
1629
+ The adapter supports the same functionality as `xhr` adapter, **including upload and download progress capturing**.
1630
1630
  Also, it supports additional response types such as `stream` and `formdata` (if supported by the environment).
1631
1631
 
1632
1632
  ### 🔥 Custom fetch
@@ -1680,7 +1680,7 @@ const instance = axios.create({
1680
1680
  const {data} = await instance.get("https://google.com");
1681
1681
  ```
1682
1682
 
1683
- #### 🔥 Using with SvelteKit
1683
+ #### 🔥 Using with SvelteKit
1684
1684
 
1685
1685
  [SvelteKit](https://svelte.dev/docs/kit/web-standards#Fetch-APIs) framework has a custom implementation of the fetch function for server rendering (so called `load` functions), and also uses relative paths,
1686
1686
  which makes it incompatible with the standard URL API. So, Axios must be configured to use the custom fetch API:
@@ -1700,6 +1700,34 @@ export async function load({ fetch }) {
1700
1700
  }
1701
1701
  ```
1702
1702
 
1703
+ ## 🔥 HTTP2
1704
+
1705
+ In version `1.13.0`, experimental `HTTP2` support was added to the `http` adapter.
1706
+ The `httpVersion` option is now available to select the protocol version used.
1707
+ Additional native options for the internal `session.request()` call can be passed via the `http2Options` config.
1708
+ This config also includes the custom `sessionTimeout` parameter, which defaults to `1000ms`.
1709
+
1710
+ ```js
1711
+ const form = new FormData();
1712
+
1713
+ form.append('foo', '123');
1714
+
1715
+ const {data, headers, status} = await axios.post('https://httpbin.org/post', form, {
1716
+ httpVersion: 2,
1717
+ http2Options: {
1718
+ // rejectUnauthorized: false,
1719
+ // sessionTimeout: 1000
1720
+ },
1721
+ onUploadProgress(e) {
1722
+ console.log('upload progress', e);
1723
+ },
1724
+ onDownloadProgress(e) {
1725
+ console.log('download progress', e);
1726
+ },
1727
+ responseType: 'arraybuffer'
1728
+ });
1729
+ ```
1730
+
1703
1731
  ## Semver
1704
1732
 
1705
1733
  Since Axios has reached a `v.1.0.0` we will fully embrace semver as per the spec [here](https://semver.org/)
@@ -1753,4 +1781,4 @@ axios is heavily inspired by the [$http service](https://docs.angularjs.org/api/
1753
1781
 
1754
1782
  ## License
1755
1783
 
1756
- [MIT](LICENSE)
1784
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
@@ -1,4 +1,4 @@
1
- /*! Axios v1.12.2 Copyright (c) 2025 Matt Zabriskie and contributors */
1
+ /*! Axios v1.13.2 Copyright (c) 2025 Matt Zabriskie and contributors */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
4
  typeof define === 'function' && define.amd ? define(factory) :
@@ -668,6 +668,13 @@
668
668
  };
669
669
  }
670
670
 
671
+ /**
672
+ * Create a bound version of a function with a specified `this` context
673
+ *
674
+ * @param {Function} fn - The function to bind
675
+ * @param {*} thisArg - The value to be passed as the `this` parameter
676
+ * @returns {Function} A new function that will call the original function with the specified `this` context
677
+ */
671
678
  function bind(fn, thisArg) {
672
679
  return function wrap() {
673
680
  return fn.apply(thisArg, arguments);
@@ -1831,7 +1838,7 @@
1831
1838
  *
1832
1839
  * @param {Number} id The ID that was returned by `use`
1833
1840
  *
1834
- * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
1841
+ * @returns {void}
1835
1842
  */
1836
1843
  }, {
1837
1844
  key: "eject",
@@ -2702,20 +2709,33 @@
2702
2709
  var cookies = platform.hasStandardBrowserEnv ?
2703
2710
  // Standard browser envs support document.cookie
2704
2711
  {
2705
- write: function write(name, value, expires, path, domain, secure) {
2706
- var cookie = [name + '=' + encodeURIComponent(value)];
2707
- utils$1.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());
2708
- utils$1.isString(path) && cookie.push('path=' + path);
2709
- utils$1.isString(domain) && cookie.push('domain=' + domain);
2710
- secure === true && cookie.push('secure');
2712
+ write: function write(name, value, expires, path, domain, secure, sameSite) {
2713
+ if (typeof document === 'undefined') return;
2714
+ var cookie = ["".concat(name, "=").concat(encodeURIComponent(value))];
2715
+ if (utils$1.isNumber(expires)) {
2716
+ cookie.push("expires=".concat(new Date(expires).toUTCString()));
2717
+ }
2718
+ if (utils$1.isString(path)) {
2719
+ cookie.push("path=".concat(path));
2720
+ }
2721
+ if (utils$1.isString(domain)) {
2722
+ cookie.push("domain=".concat(domain));
2723
+ }
2724
+ if (secure === true) {
2725
+ cookie.push('secure');
2726
+ }
2727
+ if (utils$1.isString(sameSite)) {
2728
+ cookie.push("SameSite=".concat(sameSite));
2729
+ }
2711
2730
  document.cookie = cookie.join('; ');
2712
2731
  },
2713
2732
  read: function read(name) {
2714
- var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
2715
- return match ? decodeURIComponent(match[3]) : null;
2733
+ if (typeof document === 'undefined') return null;
2734
+ var match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
2735
+ return match ? decodeURIComponent(match[1]) : null;
2716
2736
  },
2717
2737
  remove: function remove(name) {
2718
- this.write(name, '', Date.now() - 86400000);
2738
+ this.write(name, '', Date.now() - 86400000, '/');
2719
2739
  }
2720
2740
  } :
2721
2741
  // Non-standard browser env (web workers, react-native) lack needed support.
@@ -3639,7 +3659,7 @@
3639
3659
  };
3640
3660
  var seedCache = new Map();
3641
3661
  var getFetch = function getFetch(config) {
3642
- var env = config ? config.env : {};
3662
+ var env = config && config.env || {};
3643
3663
  var fetch = env.fetch,
3644
3664
  Request = env.Request,
3645
3665
  Response = env.Response;
@@ -3659,6 +3679,15 @@
3659
3679
  };
3660
3680
  getFetch();
3661
3681
 
3682
+ /**
3683
+ * Known adapters mapping.
3684
+ * Provides environment-specific adapters for Axios:
3685
+ * - `http` for Node.js
3686
+ * - `xhr` for browsers
3687
+ * - `fetch` for fetch API-based requests
3688
+ *
3689
+ * @type {Object<string, Function|Object>}
3690
+ */
3662
3691
  var knownAdapters = {
3663
3692
  http: httpAdapter,
3664
3693
  xhr: xhrAdapter,
@@ -3666,6 +3695,8 @@
3666
3695
  get: getFetch
3667
3696
  }
3668
3697
  };
3698
+
3699
+ // Assign adapter names for easier debugging and identification
3669
3700
  utils$1.forEach(knownAdapters, function (fn, value) {
3670
3701
  if (fn) {
3671
3702
  try {
@@ -3680,47 +3711,85 @@
3680
3711
  });
3681
3712
  }
3682
3713
  });
3714
+
3715
+ /**
3716
+ * Render a rejection reason string for unknown or unsupported adapters
3717
+ *
3718
+ * @param {string} reason
3719
+ * @returns {string}
3720
+ */
3683
3721
  var renderReason = function renderReason(reason) {
3684
3722
  return "- ".concat(reason);
3685
3723
  };
3724
+
3725
+ /**
3726
+ * Check if the adapter is resolved (function, null, or false)
3727
+ *
3728
+ * @param {Function|null|false} adapter
3729
+ * @returns {boolean}
3730
+ */
3686
3731
  var isResolvedHandle = function isResolvedHandle(adapter) {
3687
3732
  return utils$1.isFunction(adapter) || adapter === null || adapter === false;
3688
3733
  };
3689
- var adapters = {
3690
- getAdapter: function getAdapter(adapters, config) {
3691
- adapters = utils$1.isArray(adapters) ? adapters : [adapters];
3692
- var _adapters = adapters,
3693
- length = _adapters.length;
3694
- var nameOrAdapter;
3695
- var adapter;
3696
- var rejectedReasons = {};
3697
- for (var i = 0; i < length; i++) {
3698
- nameOrAdapter = adapters[i];
3699
- var id = void 0;
3700
- adapter = nameOrAdapter;
3701
- if (!isResolvedHandle(nameOrAdapter)) {
3702
- adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
3703
- if (adapter === undefined) {
3704
- throw new AxiosError("Unknown adapter '".concat(id, "'"));
3705
- }
3706
- }
3707
- if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
3708
- break;
3734
+
3735
+ /**
3736
+ * Get the first suitable adapter from the provided list.
3737
+ * Tries each adapter in order until a supported one is found.
3738
+ * Throws an AxiosError if no adapter is suitable.
3739
+ *
3740
+ * @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.
3741
+ * @param {Object} config - Axios request configuration
3742
+ * @throws {AxiosError} If no suitable adapter is available
3743
+ * @returns {Function} The resolved adapter function
3744
+ */
3745
+ function getAdapter(adapters, config) {
3746
+ adapters = utils$1.isArray(adapters) ? adapters : [adapters];
3747
+ var _adapters = adapters,
3748
+ length = _adapters.length;
3749
+ var nameOrAdapter;
3750
+ var adapter;
3751
+ var rejectedReasons = {};
3752
+ for (var i = 0; i < length; i++) {
3753
+ nameOrAdapter = adapters[i];
3754
+ var id = void 0;
3755
+ adapter = nameOrAdapter;
3756
+ if (!isResolvedHandle(nameOrAdapter)) {
3757
+ adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
3758
+ if (adapter === undefined) {
3759
+ throw new AxiosError("Unknown adapter '".concat(id, "'"));
3709
3760
  }
3710
- rejectedReasons[id || '#' + i] = adapter;
3711
3761
  }
3712
- if (!adapter) {
3713
- var reasons = Object.entries(rejectedReasons).map(function (_ref) {
3714
- var _ref2 = _slicedToArray(_ref, 2),
3715
- id = _ref2[0],
3716
- state = _ref2[1];
3717
- return "adapter ".concat(id, " ") + (state === false ? 'is not supported by the environment' : 'is not available in the build');
3718
- });
3719
- var s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified';
3720
- throw new AxiosError("There is no suitable adapter to dispatch the request " + s, 'ERR_NOT_SUPPORT');
3762
+ if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
3763
+ break;
3721
3764
  }
3722
- return adapter;
3723
- },
3765
+ rejectedReasons[id || '#' + i] = adapter;
3766
+ }
3767
+ if (!adapter) {
3768
+ var reasons = Object.entries(rejectedReasons).map(function (_ref) {
3769
+ var _ref2 = _slicedToArray(_ref, 2),
3770
+ id = _ref2[0],
3771
+ state = _ref2[1];
3772
+ return "adapter ".concat(id, " ") + (state === false ? 'is not supported by the environment' : 'is not available in the build');
3773
+ });
3774
+ var s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified';
3775
+ throw new AxiosError("There is no suitable adapter to dispatch the request " + s, 'ERR_NOT_SUPPORT');
3776
+ }
3777
+ return adapter;
3778
+ }
3779
+
3780
+ /**
3781
+ * Exports Axios adapters and utility to resolve an adapter
3782
+ */
3783
+ var adapters = {
3784
+ /**
3785
+ * Resolve an adapter from a list of adapter names or functions.
3786
+ * @type {Function}
3787
+ */
3788
+ getAdapter: getAdapter,
3789
+ /**
3790
+ * Exposes all known adapters
3791
+ * @type {Object<string, Function|Object>}
3792
+ */
3724
3793
  adapters: knownAdapters
3725
3794
  };
3726
3795
 
@@ -3778,7 +3847,7 @@
3778
3847
  });
3779
3848
  }
3780
3849
 
3781
- var VERSION = "1.12.2";
3850
+ var VERSION = "1.13.2";
3782
3851
 
3783
3852
  var validators$1 = {};
3784
3853
 
@@ -4314,7 +4383,13 @@
4314
4383
  InsufficientStorage: 507,
4315
4384
  LoopDetected: 508,
4316
4385
  NotExtended: 510,
4317
- NetworkAuthenticationRequired: 511
4386
+ NetworkAuthenticationRequired: 511,
4387
+ WebServerIsDown: 521,
4388
+ ConnectionTimedOut: 522,
4389
+ OriginIsUnreachable: 523,
4390
+ TimeoutOccurred: 524,
4391
+ SslHandshakeFailed: 525,
4392
+ InvalidSslCertificate: 526
4318
4393
  };
4319
4394
  Object.entries(HttpStatusCode).forEach(function (_ref) {
4320
4395
  var _ref2 = _slicedToArray(_ref, 2),