node-red-contrib-tak-registration 0.16.0 → 0.16.1

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 (347) hide show
  1. package/node_modules/@types/node/README.md +2 -2
  2. package/node_modules/@types/node/assert.d.ts +8 -6
  3. package/node_modules/@types/node/async_hooks.d.ts +26 -6
  4. package/node_modules/@types/node/buffer.d.ts +7 -3
  5. package/node_modules/@types/node/child_process.d.ts +28 -124
  6. package/node_modules/@types/node/cluster.d.ts +15 -15
  7. package/node_modules/@types/node/console.d.ts +17 -17
  8. package/node_modules/@types/node/crypto.d.ts +95 -38
  9. package/node_modules/@types/node/dgram.d.ts +1 -1
  10. package/node_modules/@types/node/diagnostics_channel.d.ts +18 -13
  11. package/node_modules/@types/node/dns/promises.d.ts +36 -9
  12. package/node_modules/@types/node/dns.d.ts +89 -36
  13. package/node_modules/@types/node/domain.d.ts +1 -1
  14. package/node_modules/@types/node/events.d.ts +1 -2
  15. package/node_modules/@types/node/fs/promises.d.ts +67 -40
  16. package/node_modules/@types/node/fs.d.ts +88 -52
  17. package/node_modules/@types/node/globals.d.ts +148 -351
  18. package/node_modules/@types/node/globals.typedarray.d.ts +1 -0
  19. package/node_modules/@types/node/http.d.ts +73 -7
  20. package/node_modules/@types/node/http2.d.ts +88 -15
  21. package/node_modules/@types/node/https.d.ts +1 -1
  22. package/node_modules/@types/node/index.d.ts +13 -6
  23. package/node_modules/@types/node/inspector.d.ts +222 -13
  24. package/node_modules/@types/node/module.d.ts +153 -31
  25. package/node_modules/@types/node/net.d.ts +3 -6
  26. package/node_modules/@types/node/os.d.ts +8 -7
  27. package/node_modules/@types/node/package.json +14 -84
  28. package/node_modules/@types/node/path.d.ts +1 -1
  29. package/node_modules/@types/node/perf_hooks.d.ts +24 -10
  30. package/node_modules/@types/node/process.d.ts +21 -11
  31. package/node_modules/@types/node/punycode.d.ts +1 -1
  32. package/node_modules/@types/node/querystring.d.ts +1 -1
  33. package/node_modules/@types/node/readline/promises.d.ts +0 -1
  34. package/node_modules/@types/node/readline.d.ts +13 -13
  35. package/node_modules/@types/node/repl.d.ts +25 -17
  36. package/node_modules/@types/node/sea.d.ts +1 -1
  37. package/node_modules/@types/node/sqlite.d.ts +209 -3
  38. package/node_modules/@types/node/stream/web.d.ts +8 -0
  39. package/node_modules/@types/node/stream.d.ts +30 -24
  40. package/node_modules/@types/node/string_decoder.d.ts +1 -1
  41. package/node_modules/@types/node/test.d.ts +2029 -1975
  42. package/node_modules/@types/node/timers/promises.d.ts +1 -1
  43. package/node_modules/@types/node/timers.d.ts +1 -3
  44. package/node_modules/@types/node/tls.d.ts +2 -48
  45. package/node_modules/@types/node/trace_events.d.ts +6 -6
  46. package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  47. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +1 -0
  48. package/node_modules/@types/node/ts5.6/index.d.ts +15 -6
  49. package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  50. package/node_modules/@types/node/ts5.7/index.d.ts +101 -0
  51. package/node_modules/@types/node/tty.d.ts +1 -1
  52. package/node_modules/@types/node/url.d.ts +73 -20
  53. package/node_modules/@types/node/util.d.ts +23 -298
  54. package/node_modules/@types/node/v8.d.ts +62 -32
  55. package/node_modules/@types/node/vm.d.ts +132 -24
  56. package/node_modules/@types/node/wasi.d.ts +22 -1
  57. package/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  58. package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  59. package/node_modules/@types/node/web-globals/events.d.ts +94 -0
  60. package/node_modules/@types/node/web-globals/fetch.d.ts +50 -0
  61. package/node_modules/@types/node/web-globals/navigator.d.ts +22 -0
  62. package/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  63. package/node_modules/@types/node/worker_threads.d.ts +85 -26
  64. package/node_modules/@types/node/zlib.d.ts +13 -9
  65. package/node_modules/axios/CHANGELOG.md +58 -0
  66. package/node_modules/axios/README.md +87 -10
  67. package/node_modules/axios/dist/axios.js +355 -289
  68. package/node_modules/axios/dist/axios.js.map +1 -1
  69. package/node_modules/axios/dist/axios.min.js +2 -2
  70. package/node_modules/axios/dist/axios.min.js.map +1 -1
  71. package/node_modules/axios/dist/browser/axios.cjs +286 -213
  72. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  73. package/node_modules/axios/dist/esm/axios.js +286 -213
  74. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  75. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  76. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  77. package/node_modules/axios/dist/node/axios.cjs +377 -213
  78. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  79. package/node_modules/axios/index.d.cts +12 -5
  80. package/node_modules/axios/index.d.ts +13 -4
  81. package/node_modules/axios/lib/adapters/adapters.js +6 -4
  82. package/node_modules/axios/lib/adapters/fetch.js +221 -162
  83. package/node_modules/axios/lib/adapters/http.js +18 -0
  84. package/node_modules/axios/lib/adapters/xhr.js +11 -8
  85. package/node_modules/axios/lib/core/Axios.js +0 -2
  86. package/node_modules/axios/lib/core/AxiosError.js +10 -3
  87. package/node_modules/axios/lib/core/dispatchRequest.js +1 -1
  88. package/node_modules/axios/lib/defaults/index.js +1 -1
  89. package/node_modules/axios/lib/env/data.js +1 -1
  90. package/node_modules/axios/lib/helpers/buildURL.js +1 -3
  91. package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +73 -0
  92. package/node_modules/axios/lib/helpers/resolveConfig.js +13 -9
  93. package/node_modules/axios/lib/utils.js +5 -3
  94. package/node_modules/axios/package.json +18 -12
  95. package/node_modules/bignumber.js/CHANGELOG.md +6 -1
  96. package/node_modules/bignumber.js/README.md +5 -4
  97. package/node_modules/bignumber.js/bignumber.js +2 -2
  98. package/node_modules/bignumber.js/bignumber.mjs +2 -2
  99. package/node_modules/bignumber.js/package.json +1 -1
  100. package/node_modules/follow-redirects/package.json +1 -1
  101. package/node_modules/protobufjs/dist/light/protobuf.js +2 -2
  102. package/node_modules/protobufjs/dist/light/protobuf.min.js +2 -2
  103. package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
  104. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
  105. package/node_modules/protobufjs/dist/protobuf.js +2 -2
  106. package/node_modules/protobufjs/dist/protobuf.min.js +2 -2
  107. package/node_modules/protobufjs/google/protobuf/descriptor.json +2 -2
  108. package/node_modules/protobufjs/google/protobuf/descriptor.proto +2 -1
  109. package/node_modules/protobufjs/package.json +1 -1
  110. package/node_modules/undici-types/agent.d.ts +11 -7
  111. package/node_modules/undici-types/api.d.ts +24 -24
  112. package/node_modules/undici-types/balanced-pool.d.ts +11 -11
  113. package/node_modules/undici-types/cache-interceptor.d.ts +172 -0
  114. package/node_modules/undici-types/client-stats.d.ts +15 -0
  115. package/node_modules/undici-types/client.d.ts +18 -16
  116. package/node_modules/undici-types/cookies.d.ts +2 -0
  117. package/node_modules/undici-types/diagnostics-channel.d.ts +19 -10
  118. package/node_modules/undici-types/dispatcher.d.ts +119 -93
  119. package/node_modules/undici-types/env-http-proxy-agent.d.ts +4 -3
  120. package/node_modules/undici-types/errors.d.ts +69 -47
  121. package/node_modules/undici-types/eventsource.d.ts +3 -3
  122. package/node_modules/undici-types/fetch.d.ts +18 -16
  123. package/node_modules/undici-types/formdata.d.ts +7 -7
  124. package/node_modules/undici-types/global-dispatcher.d.ts +4 -4
  125. package/node_modules/undici-types/global-origin.d.ts +5 -5
  126. package/node_modules/undici-types/h2c-client.d.ts +75 -0
  127. package/node_modules/undici-types/handlers.d.ts +8 -8
  128. package/node_modules/undici-types/header.d.ts +157 -1
  129. package/node_modules/undici-types/index.d.ts +51 -47
  130. package/node_modules/undici-types/interceptors.d.ts +25 -8
  131. package/node_modules/undici-types/mock-agent.d.ts +36 -18
  132. package/node_modules/undici-types/mock-call-history.d.ts +111 -0
  133. package/node_modules/undici-types/mock-client.d.ts +6 -4
  134. package/node_modules/undici-types/mock-errors.d.ts +3 -3
  135. package/node_modules/undici-types/mock-interceptor.d.ts +21 -19
  136. package/node_modules/undici-types/mock-pool.d.ts +6 -4
  137. package/node_modules/undici-types/package.json +1 -1
  138. package/node_modules/undici-types/patch.d.ts +0 -4
  139. package/node_modules/undici-types/pool-stats.d.ts +8 -8
  140. package/node_modules/undici-types/pool.d.ts +14 -12
  141. package/node_modules/undici-types/proxy-agent.d.ts +5 -4
  142. package/node_modules/undici-types/readable.d.ts +18 -15
  143. package/node_modules/undici-types/retry-agent.d.ts +1 -1
  144. package/node_modules/undici-types/retry-handler.d.ts +19 -10
  145. package/node_modules/undici-types/util.d.ts +3 -3
  146. package/node_modules/undici-types/utility.d.ts +7 -0
  147. package/node_modules/undici-types/webidl.d.ts +50 -8
  148. package/node_modules/undici-types/websocket.d.ts +36 -2
  149. package/node_modules/uuid/README.md +8 -19
  150. package/node_modules/uuid/dist/{esm-browser/uuid-bin.js → uuid-bin.js} +1 -1
  151. package/node_modules/uuid/dist/{esm-browser/v4.js → v4.js} +7 -4
  152. package/node_modules/uuid/{dist/esm → dist-node}/md5.js +1 -1
  153. package/node_modules/uuid/dist-node/native.js +2 -0
  154. package/node_modules/uuid/{dist/esm → dist-node}/rng.js +1 -1
  155. package/node_modules/uuid/{dist/esm → dist-node}/sha1.js +1 -1
  156. package/node_modules/uuid/{dist/esm → dist-node}/uuid-bin.js +1 -1
  157. package/node_modules/uuid/{dist/esm → dist-node}/v4.js +7 -4
  158. package/node_modules/uuid/package.json +28 -41
  159. package/package.json +4 -4
  160. package/tak-registration.bak +557 -0
  161. package/tak-registration.js +8 -8
  162. package/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  163. package/node_modules/@types/node/compatibility/index.d.ts +0 -9
  164. package/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  165. package/node_modules/@types/node/dom-events.d.ts +0 -124
  166. package/node_modules/undici-types/file.d.ts +0 -39
  167. package/node_modules/undici-types/filereader.d.ts +0 -54
  168. package/node_modules/uuid/dist/cjs/index.d.ts +0 -15
  169. package/node_modules/uuid/dist/cjs/index.js +0 -31
  170. package/node_modules/uuid/dist/cjs/max.d.ts +0 -2
  171. package/node_modules/uuid/dist/cjs/max.js +0 -3
  172. package/node_modules/uuid/dist/cjs/md5.d.ts +0 -4
  173. package/node_modules/uuid/dist/cjs/md5.js +0 -13
  174. package/node_modules/uuid/dist/cjs/native.d.ts +0 -6
  175. package/node_modules/uuid/dist/cjs/native.js +0 -4
  176. package/node_modules/uuid/dist/cjs/nil.d.ts +0 -2
  177. package/node_modules/uuid/dist/cjs/nil.js +0 -3
  178. package/node_modules/uuid/dist/cjs/package.json +0 -1
  179. package/node_modules/uuid/dist/cjs/parse.d.ts +0 -2
  180. package/node_modules/uuid/dist/cjs/parse.js +0 -11
  181. package/node_modules/uuid/dist/cjs/regex.d.ts +0 -2
  182. package/node_modules/uuid/dist/cjs/regex.js +0 -3
  183. package/node_modules/uuid/dist/cjs/rng.d.ts +0 -1
  184. package/node_modules/uuid/dist/cjs/rng.js +0 -13
  185. package/node_modules/uuid/dist/cjs/sha1.d.ts +0 -4
  186. package/node_modules/uuid/dist/cjs/sha1.js +0 -13
  187. package/node_modules/uuid/dist/cjs/stringify.d.ts +0 -3
  188. package/node_modules/uuid/dist/cjs/stringify.js +0 -39
  189. package/node_modules/uuid/dist/cjs/types.d.ts +0 -21
  190. package/node_modules/uuid/dist/cjs/types.js +0 -2
  191. package/node_modules/uuid/dist/cjs/uuid-bin.d.ts +0 -1
  192. package/node_modules/uuid/dist/cjs/uuid-bin.js +0 -72
  193. package/node_modules/uuid/dist/cjs/v1.d.ts +0 -11
  194. package/node_modules/uuid/dist/cjs/v1.js +0 -87
  195. package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +0 -2
  196. package/node_modules/uuid/dist/cjs/v1ToV6.js +0 -13
  197. package/node_modules/uuid/dist/cjs/v3.d.ts +0 -9
  198. package/node_modules/uuid/dist/cjs/v3.js +0 -14
  199. package/node_modules/uuid/dist/cjs/v35.d.ts +0 -7
  200. package/node_modules/uuid/dist/cjs/v35.js +0 -41
  201. package/node_modules/uuid/dist/cjs/v4.d.ts +0 -4
  202. package/node_modules/uuid/dist/cjs/v4.js +0 -29
  203. package/node_modules/uuid/dist/cjs/v5.d.ts +0 -9
  204. package/node_modules/uuid/dist/cjs/v5.js +0 -14
  205. package/node_modules/uuid/dist/cjs/v6.d.ts +0 -4
  206. package/node_modules/uuid/dist/cjs/v6.js +0 -19
  207. package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +0 -2
  208. package/node_modules/uuid/dist/cjs/v6ToV1.js +0 -13
  209. package/node_modules/uuid/dist/cjs/v7.d.ts +0 -9
  210. package/node_modules/uuid/dist/cjs/v7.js +0 -69
  211. package/node_modules/uuid/dist/cjs/validate.d.ts +0 -2
  212. package/node_modules/uuid/dist/cjs/validate.js +0 -7
  213. package/node_modules/uuid/dist/cjs/version.d.ts +0 -2
  214. package/node_modules/uuid/dist/cjs/version.js +0 -10
  215. package/node_modules/uuid/dist/cjs-browser/index.js +0 -31
  216. package/node_modules/uuid/dist/cjs-browser/max.js +0 -3
  217. package/node_modules/uuid/dist/cjs-browser/md5.js +0 -137
  218. package/node_modules/uuid/dist/cjs-browser/native.js +0 -4
  219. package/node_modules/uuid/dist/cjs-browser/nil.js +0 -3
  220. package/node_modules/uuid/dist/cjs-browser/package.json +0 -1
  221. package/node_modules/uuid/dist/cjs-browser/parse.js +0 -11
  222. package/node_modules/uuid/dist/cjs-browser/regex.js +0 -3
  223. package/node_modules/uuid/dist/cjs-browser/rng.js +0 -14
  224. package/node_modules/uuid/dist/cjs-browser/sha1.js +0 -72
  225. package/node_modules/uuid/dist/cjs-browser/stringify.js +0 -39
  226. package/node_modules/uuid/dist/cjs-browser/types.js +0 -2
  227. package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +0 -72
  228. package/node_modules/uuid/dist/cjs-browser/v1.js +0 -87
  229. package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +0 -13
  230. package/node_modules/uuid/dist/cjs-browser/v3.js +0 -14
  231. package/node_modules/uuid/dist/cjs-browser/v35.js +0 -41
  232. package/node_modules/uuid/dist/cjs-browser/v4.js +0 -29
  233. package/node_modules/uuid/dist/cjs-browser/v5.js +0 -14
  234. package/node_modules/uuid/dist/cjs-browser/v6.js +0 -19
  235. package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +0 -13
  236. package/node_modules/uuid/dist/cjs-browser/v7.js +0 -69
  237. package/node_modules/uuid/dist/cjs-browser/validate.js +0 -7
  238. package/node_modules/uuid/dist/cjs-browser/version.js +0 -10
  239. package/node_modules/uuid/dist/esm/index.d.ts +0 -15
  240. package/node_modules/uuid/dist/esm/max.d.ts +0 -2
  241. package/node_modules/uuid/dist/esm/md5.d.ts +0 -4
  242. package/node_modules/uuid/dist/esm/native.d.ts +0 -6
  243. package/node_modules/uuid/dist/esm/native.js +0 -2
  244. package/node_modules/uuid/dist/esm/nil.d.ts +0 -2
  245. package/node_modules/uuid/dist/esm/parse.d.ts +0 -2
  246. package/node_modules/uuid/dist/esm/regex.d.ts +0 -2
  247. package/node_modules/uuid/dist/esm/rng.d.ts +0 -1
  248. package/node_modules/uuid/dist/esm/sha1.d.ts +0 -4
  249. package/node_modules/uuid/dist/esm/stringify.d.ts +0 -3
  250. package/node_modules/uuid/dist/esm/types.d.ts +0 -21
  251. package/node_modules/uuid/dist/esm/uuid-bin.d.ts +0 -1
  252. package/node_modules/uuid/dist/esm/v1.d.ts +0 -11
  253. package/node_modules/uuid/dist/esm/v1ToV6.d.ts +0 -2
  254. package/node_modules/uuid/dist/esm/v3.d.ts +0 -9
  255. package/node_modules/uuid/dist/esm/v35.d.ts +0 -7
  256. package/node_modules/uuid/dist/esm/v4.d.ts +0 -4
  257. package/node_modules/uuid/dist/esm/v5.d.ts +0 -9
  258. package/node_modules/uuid/dist/esm/v6.d.ts +0 -4
  259. package/node_modules/uuid/dist/esm/v6ToV1.d.ts +0 -2
  260. package/node_modules/uuid/dist/esm/v7.d.ts +0 -9
  261. package/node_modules/uuid/dist/esm/validate.d.ts +0 -2
  262. package/node_modules/uuid/dist/esm/version.d.ts +0 -2
  263. package/node_modules/uuid/dist/esm-browser/index.d.ts +0 -15
  264. package/node_modules/uuid/dist/esm-browser/max.d.ts +0 -2
  265. package/node_modules/uuid/dist/esm-browser/md5.d.ts +0 -2
  266. package/node_modules/uuid/dist/esm-browser/native.d.ts +0 -4
  267. package/node_modules/uuid/dist/esm-browser/nil.d.ts +0 -2
  268. package/node_modules/uuid/dist/esm-browser/parse.d.ts +0 -2
  269. package/node_modules/uuid/dist/esm-browser/regex.d.ts +0 -2
  270. package/node_modules/uuid/dist/esm-browser/rng.d.ts +0 -1
  271. package/node_modules/uuid/dist/esm-browser/sha1.d.ts +0 -2
  272. package/node_modules/uuid/dist/esm-browser/stringify.d.ts +0 -3
  273. package/node_modules/uuid/dist/esm-browser/types.d.ts +0 -21
  274. package/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +0 -1
  275. package/node_modules/uuid/dist/esm-browser/v1.d.ts +0 -11
  276. package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +0 -2
  277. package/node_modules/uuid/dist/esm-browser/v3.d.ts +0 -9
  278. package/node_modules/uuid/dist/esm-browser/v35.d.ts +0 -7
  279. package/node_modules/uuid/dist/esm-browser/v4.d.ts +0 -4
  280. package/node_modules/uuid/dist/esm-browser/v5.d.ts +0 -9
  281. package/node_modules/uuid/dist/esm-browser/v6.d.ts +0 -4
  282. package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +0 -2
  283. package/node_modules/uuid/dist/esm-browser/v7.d.ts +0 -9
  284. package/node_modules/uuid/dist/esm-browser/validate.d.ts +0 -2
  285. package/node_modules/uuid/dist/esm-browser/version.d.ts +0 -2
  286. /package/node_modules/uuid/dist/{cjs-browser/index.d.ts → index.d.ts} +0 -0
  287. /package/node_modules/uuid/dist/{esm/index.js → index.js} +0 -0
  288. /package/node_modules/uuid/dist/{cjs-browser/max.d.ts → max.d.ts} +0 -0
  289. /package/node_modules/uuid/dist/{esm/max.js → max.js} +0 -0
  290. /package/node_modules/uuid/dist/{cjs-browser/md5.d.ts → md5.d.ts} +0 -0
  291. /package/node_modules/uuid/dist/{esm-browser/md5.js → md5.js} +0 -0
  292. /package/node_modules/uuid/dist/{cjs-browser/native.d.ts → native.d.ts} +0 -0
  293. /package/node_modules/uuid/dist/{esm-browser/native.js → native.js} +0 -0
  294. /package/node_modules/uuid/dist/{cjs-browser/nil.d.ts → nil.d.ts} +0 -0
  295. /package/node_modules/uuid/dist/{esm/nil.js → nil.js} +0 -0
  296. /package/node_modules/uuid/dist/{cjs-browser/parse.d.ts → parse.d.ts} +0 -0
  297. /package/node_modules/uuid/dist/{esm/parse.js → parse.js} +0 -0
  298. /package/node_modules/uuid/dist/{cjs-browser/regex.d.ts → regex.d.ts} +0 -0
  299. /package/node_modules/uuid/dist/{esm/regex.js → regex.js} +0 -0
  300. /package/node_modules/uuid/dist/{cjs-browser/rng.d.ts → rng.d.ts} +0 -0
  301. /package/node_modules/uuid/dist/{esm-browser/rng.js → rng.js} +0 -0
  302. /package/node_modules/uuid/dist/{cjs-browser/sha1.d.ts → sha1.d.ts} +0 -0
  303. /package/node_modules/uuid/dist/{esm-browser/sha1.js → sha1.js} +0 -0
  304. /package/node_modules/uuid/dist/{cjs-browser/stringify.d.ts → stringify.d.ts} +0 -0
  305. /package/node_modules/uuid/dist/{esm/stringify.js → stringify.js} +0 -0
  306. /package/node_modules/uuid/dist/{cjs-browser/types.d.ts → types.d.ts} +0 -0
  307. /package/node_modules/uuid/dist/{esm/types.js → types.js} +0 -0
  308. /package/node_modules/uuid/dist/{cjs-browser/uuid-bin.d.ts → uuid-bin.d.ts} +0 -0
  309. /package/node_modules/uuid/dist/{cjs-browser/v1.d.ts → v1.d.ts} +0 -0
  310. /package/node_modules/uuid/dist/{esm/v1.js → v1.js} +0 -0
  311. /package/node_modules/uuid/dist/{cjs-browser/v1ToV6.d.ts → v1ToV6.d.ts} +0 -0
  312. /package/node_modules/uuid/dist/{esm/v1ToV6.js → v1ToV6.js} +0 -0
  313. /package/node_modules/uuid/dist/{cjs-browser/v3.d.ts → v3.d.ts} +0 -0
  314. /package/node_modules/uuid/dist/{esm/v3.js → v3.js} +0 -0
  315. /package/node_modules/uuid/dist/{cjs-browser/v35.d.ts → v35.d.ts} +0 -0
  316. /package/node_modules/uuid/dist/{esm/v35.js → v35.js} +0 -0
  317. /package/node_modules/uuid/dist/{cjs-browser/v4.d.ts → v4.d.ts} +0 -0
  318. /package/node_modules/uuid/dist/{cjs-browser/v5.d.ts → v5.d.ts} +0 -0
  319. /package/node_modules/uuid/dist/{esm/v5.js → v5.js} +0 -0
  320. /package/node_modules/uuid/dist/{cjs-browser/v6.d.ts → v6.d.ts} +0 -0
  321. /package/node_modules/uuid/dist/{esm/v6.js → v6.js} +0 -0
  322. /package/node_modules/uuid/dist/{cjs-browser/v6ToV1.d.ts → v6ToV1.d.ts} +0 -0
  323. /package/node_modules/uuid/dist/{esm/v6ToV1.js → v6ToV1.js} +0 -0
  324. /package/node_modules/uuid/dist/{cjs-browser/v7.d.ts → v7.d.ts} +0 -0
  325. /package/node_modules/uuid/dist/{esm/v7.js → v7.js} +0 -0
  326. /package/node_modules/uuid/dist/{cjs-browser/validate.d.ts → validate.d.ts} +0 -0
  327. /package/node_modules/uuid/dist/{esm/validate.js → validate.js} +0 -0
  328. /package/node_modules/uuid/dist/{cjs-browser/version.d.ts → version.d.ts} +0 -0
  329. /package/node_modules/uuid/dist/{esm/version.js → version.js} +0 -0
  330. /package/node_modules/uuid/{dist/esm → dist-node}/bin/uuid +0 -0
  331. /package/node_modules/uuid/{dist/esm-browser → dist-node}/index.js +0 -0
  332. /package/node_modules/uuid/{dist/esm-browser → dist-node}/max.js +0 -0
  333. /package/node_modules/uuid/{dist/esm-browser → dist-node}/nil.js +0 -0
  334. /package/node_modules/uuid/{dist/esm-browser → dist-node}/parse.js +0 -0
  335. /package/node_modules/uuid/{dist/esm-browser → dist-node}/regex.js +0 -0
  336. /package/node_modules/uuid/{dist/esm-browser → dist-node}/stringify.js +0 -0
  337. /package/node_modules/uuid/{dist/esm-browser → dist-node}/types.js +0 -0
  338. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v1.js +0 -0
  339. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v1ToV6.js +0 -0
  340. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v3.js +0 -0
  341. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v35.js +0 -0
  342. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v5.js +0 -0
  343. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v6.js +0 -0
  344. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v6ToV1.js +0 -0
  345. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v7.js +0 -0
  346. /package/node_modules/uuid/{dist/esm-browser → dist-node}/validate.js +0 -0
  347. /package/node_modules/uuid/{dist/esm-browser → dist-node}/version.js +0 -0
@@ -15,28 +15,31 @@
15
15
  *
16
16
  * ```js
17
17
  * import {
18
- * Worker, isMainThread, parentPort, workerData,
18
+ * Worker,
19
+ * isMainThread,
20
+ * parentPort,
21
+ * workerData,
19
22
  * } from 'node:worker_threads';
20
- * import { parse } from 'some-js-parsing-library';
21
23
  *
22
- * if (isMainThread) {
23
- * module.exports = function parseJSAsync(script) {
24
- * return new Promise((resolve, reject) => {
25
- * const worker = new Worker(__filename, {
26
- * workerData: script,
27
- * });
28
- * worker.on('message', resolve);
29
- * worker.on('error', reject);
30
- * worker.on('exit', (code) => {
31
- * if (code !== 0)
32
- * reject(new Error(`Worker stopped with exit code ${code}`));
33
- * });
34
- * });
35
- * };
36
- * } else {
24
+ * if (!isMainThread) {
25
+ * const { parse } = await import('some-js-parsing-library');
37
26
  * const script = workerData;
38
27
  * parentPort.postMessage(parse(script));
39
28
  * }
29
+ *
30
+ * export default function parseJSAsync(script) {
31
+ * return new Promise((resolve, reject) => {
32
+ * const worker = new Worker(new URL(import.meta.url), {
33
+ * workerData: script,
34
+ * });
35
+ * worker.on('message', resolve);
36
+ * worker.on('error', reject);
37
+ * worker.on('exit', (code) => {
38
+ * if (code !== 0)
39
+ * reject(new Error(`Worker stopped with exit code ${code}`));
40
+ * });
41
+ * });
42
+ * };
40
43
  * ```
41
44
  *
42
45
  * The above example spawns a Worker thread for each `parseJSAsync()` call. In
@@ -49,17 +52,17 @@
49
52
  *
50
53
  * Worker threads inherit non-process-specific options by default. Refer to `Worker constructor options` to know how to customize worker thread options,
51
54
  * specifically `argv` and `execArgv` options.
52
- * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/worker_threads.js)
55
+ * @see [source](https://github.com/nodejs/node/blob/v24.x/lib/worker_threads.js)
53
56
  */
54
57
  declare module "worker_threads" {
55
- import { Blob } from "node:buffer";
56
58
  import { Context } from "node:vm";
57
59
  import { EventEmitter } from "node:events";
58
60
  import { EventLoopUtilityFunction } from "node:perf_hooks";
59
61
  import { FileHandle } from "node:fs/promises";
60
62
  import { Readable, Writable } from "node:stream";
63
+ import { ReadableStream, TransformStream, WritableStream } from "node:stream/web";
61
64
  import { URL } from "node:url";
62
- import { X509Certificate } from "node:crypto";
65
+ import { HeapInfo } from "node:v8";
63
66
  const isInternalThread: boolean;
64
67
  const isMainThread: boolean;
65
68
  const parentPort: null | MessagePort;
@@ -89,7 +92,17 @@ declare module "worker_threads" {
89
92
  interface WorkerPerformance {
90
93
  eventLoopUtilization: EventLoopUtilityFunction;
91
94
  }
92
- type TransferListItem = ArrayBuffer | MessagePort | FileHandle | X509Certificate | Blob;
95
+ type Transferable =
96
+ | ArrayBuffer
97
+ | MessagePort
98
+ | AbortSignal
99
+ | FileHandle
100
+ | ReadableStream
101
+ | WritableStream
102
+ | TransformStream;
103
+ /** @deprecated Use `import { Transferable } from "node:worker_threads"` instead. */
104
+ // TODO: remove in a future major @types/node version.
105
+ type TransferListItem = Transferable;
93
106
  /**
94
107
  * Instances of the `worker.MessagePort` class represent one end of an
95
108
  * asynchronous, two-way communications channel. It can be used to transfer
@@ -174,7 +187,12 @@ declare module "worker_threads" {
174
187
  * behind this API, see the `serialization API of the node:v8 module`.
175
188
  * @since v10.5.0
176
189
  */
177
- postMessage(value: any, transferList?: readonly TransferListItem[]): void;
190
+ postMessage(value: any, transferList?: readonly Transferable[]): void;
191
+ /**
192
+ * If true, the `MessagePort` object will keep the Node.js event loop active.
193
+ * @since v18.1.0, v16.17.0
194
+ */
195
+ hasRef(): boolean;
178
196
  /**
179
197
  * Opposite of `unref()`. Calling `ref()` on a previously `unref()`ed port does _not_ let the program exit if it's the only active handle left (the default
180
198
  * behavior). If the port is `ref()`ed, calling `ref()` again has no effect.
@@ -261,7 +279,7 @@ declare module "worker_threads" {
261
279
  /**
262
280
  * Additional data to send in the first worker message.
263
281
  */
264
- transferList?: TransferListItem[] | undefined;
282
+ transferList?: Transferable[] | undefined;
265
283
  /**
266
284
  * @default true
267
285
  */
@@ -409,7 +427,7 @@ declare module "worker_threads" {
409
427
  * See `port.postMessage()` for more details.
410
428
  * @since v10.5.0
411
429
  */
412
- postMessage(value: any, transferList?: readonly TransferListItem[]): void;
430
+ postMessage(value: any, transferList?: readonly Transferable[]): void;
413
431
  /**
414
432
  * Sends a value to another worker, identified by its thread ID.
415
433
  * @param threadId The target thread ID. If the thread ID is invalid, a `ERR_WORKER_MESSAGING_FAILED` error will be thrown.
@@ -425,7 +443,7 @@ declare module "worker_threads" {
425
443
  postMessageToThread(
426
444
  threadId: number,
427
445
  value: any,
428
- transferList: readonly TransferListItem[],
446
+ transferList: readonly Transferable[],
429
447
  timeout?: number,
430
448
  ): Promise<void>;
431
449
  /**
@@ -457,6 +475,25 @@ declare module "worker_threads" {
457
475
  * @return A promise for a Readable Stream containing a V8 heap snapshot
458
476
  */
459
477
  getHeapSnapshot(): Promise<Readable>;
478
+ /**
479
+ * This method returns a `Promise` that will resolve to an object identical to `v8.getHeapStatistics()`,
480
+ * or reject with an `ERR_WORKER_NOT_RUNNING` error if the worker is no longer running.
481
+ * This methods allows the statistics to be observed from outside the actual thread.
482
+ * @since v24.0.0
483
+ */
484
+ getHeapStatistics(): Promise<HeapInfo>;
485
+ /**
486
+ * Calls `worker.terminate()` when the dispose scope is exited.
487
+ *
488
+ * ```js
489
+ * async function example() {
490
+ * await using worker = new Worker('for (;;) {}', { eval: true });
491
+ * // Worker is automatically terminate when the scope is exited.
492
+ * }
493
+ * ```
494
+ * @since v24.2.0
495
+ */
496
+ [Symbol.asyncDispose](): Promise<void>;
460
497
  addListener(event: "error", listener: (err: Error) => void): this;
461
498
  addListener(event: "exit", listener: (exitCode: number) => void): this;
462
499
  addListener(event: "message", listener: (value: any) => void): this;
@@ -701,7 +738,25 @@ declare module "worker_threads" {
701
738
  * @param value Any arbitrary, cloneable JavaScript value that will be cloned and passed automatically to all new `Worker` instances. If `value` is passed as `undefined`, any previously set value
702
739
  * for the `key` will be deleted.
703
740
  */
704
- function setEnvironmentData(key: Serializable, value: Serializable): void;
741
+ function setEnvironmentData(key: Serializable, value?: Serializable): void;
742
+ /**
743
+ * Sends a value to another worker, identified by its thread ID.
744
+ * @param threadId The target thread ID. If the thread ID is invalid, a `ERR_WORKER_MESSAGING_FAILED` error will be thrown.
745
+ * If the target thread ID is the current thread ID, a `ERR_WORKER_MESSAGING_SAME_THREAD` error will be thrown.
746
+ * @param value The value to send.
747
+ * @param transferList If one or more `MessagePort`-like objects are passed in value, a `transferList` is required for those items
748
+ * or `ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST` is thrown. See `port.postMessage()` for more information.
749
+ * @param timeout Time to wait for the message to be delivered in milliseconds. By default it's `undefined`, which means wait forever.
750
+ * If the operation times out, a `ERR_WORKER_MESSAGING_TIMEOUT` error is thrown.
751
+ * @since v22.5.0
752
+ */
753
+ function postMessageToThread(threadId: number, value: any, timeout?: number): Promise<void>;
754
+ function postMessageToThread(
755
+ threadId: number,
756
+ value: any,
757
+ transferList: readonly Transferable[],
758
+ timeout?: number,
759
+ ): Promise<void>;
705
760
 
706
761
  import {
707
762
  BroadcastChannel as _BroadcastChannel,
@@ -709,6 +764,10 @@ declare module "worker_threads" {
709
764
  MessagePort as _MessagePort,
710
765
  } from "worker_threads";
711
766
  global {
767
+ function structuredClone<T>(
768
+ value: T,
769
+ options?: { transfer?: Transferable[] },
770
+ ): T;
712
771
  /**
713
772
  * `BroadcastChannel` class is a global reference for `import { BroadcastChannel } from 'worker_threads'`
714
773
  * https://nodejs.org/api/globals.html#broadcastchannel
@@ -9,7 +9,7 @@
9
9
  * ```
10
10
  *
11
11
  * Compression and decompression are built around the Node.js
12
- * [Streams API](https://nodejs.org/docs/latest-v22.x/api/stream.html).
12
+ * [Streams API](https://nodejs.org/docs/latest-v24.x/api/stream.html).
13
13
  *
14
14
  * Compressing or decompressing a stream (such as a file) can be accomplished by
15
15
  * piping the source stream through a `zlib` `Transform` stream into a destination
@@ -89,7 +89,7 @@
89
89
  * });
90
90
  * ```
91
91
  * @since v0.5.8
92
- * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/zlib.js)
92
+ * @see [source](https://github.com/nodejs/node/blob/v24.x/lib/zlib.js)
93
93
  */
94
94
  declare module "zlib" {
95
95
  import * as stream from "node:stream";
@@ -143,10 +143,14 @@ declare module "zlib" {
143
143
  }
144
144
  | undefined;
145
145
  /**
146
- * Limits output size when using [convenience methods](https://nodejs.org/docs/latest-v22.x/api/zlib.html#convenience-methods).
146
+ * Limits output size when using [convenience methods](https://nodejs.org/docs/latest-v24.x/api/zlib.html#convenience-methods).
147
147
  * @default buffer.kMaxLength
148
148
  */
149
149
  maxOutputLength?: number | undefined;
150
+ /**
151
+ * If `true`, returns an object with `buffer` and `engine`.
152
+ */
153
+ info?: boolean | undefined;
150
154
  }
151
155
  interface ZstdOptions {
152
156
  /**
@@ -163,19 +167,21 @@ declare module "zlib" {
163
167
  chunkSize?: number | undefined;
164
168
  /**
165
169
  * Key-value object containing indexed
166
- * [Zstd parameters](https://nodejs.org/docs/latest-v22.x/api/zlib.html#zstd-constants).
170
+ * [Zstd parameters](https://nodejs.org/docs/latest-v24.x/api/zlib.html#zstd-constants).
167
171
  */
168
172
  params?: { [key: number]: number | boolean } | undefined;
169
173
  /**
170
174
  * Limits output size when using
171
- * [convenience methods](https://nodejs.org/docs/latest-v22.x/api/zlib.html#convenience-methods).
175
+ * [convenience methods](https://nodejs.org/docs/latest-v24.x/api/zlib.html#convenience-methods).
172
176
  * @default buffer.kMaxLength
173
177
  */
174
178
  maxOutputLength?: number | undefined;
179
+ /**
180
+ * If `true`, returns an object with `buffer` and `engine`.
181
+ */
182
+ info?: boolean | undefined;
175
183
  }
176
184
  interface Zlib {
177
- /** @deprecated Use bytesWritten instead. */
178
- readonly bytesRead: number;
179
185
  readonly bytesWritten: number;
180
186
  shell?: boolean | string | undefined;
181
187
  close(callback?: () => void): void;
@@ -612,8 +618,6 @@ declare module "zlib" {
612
618
  const Z_FINISH: number;
613
619
  /** @deprecated Use `constants.Z_BLOCK` */
614
620
  const Z_BLOCK: number;
615
- /** @deprecated Use `constants.Z_TREES` */
616
- const Z_TREES: number;
617
621
  // Return codes for the compression/decompression functions.
618
622
  // Negative values are errors, positive values are used for special but normal events.
619
623
  /** @deprecated Use `constants.Z_OK` */
@@ -1,5 +1,63 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.12.2](https://github.com/axios/axios/compare/v1.12.1...v1.12.2) (2025-09-14)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **fetch:** use current global fetch instead of cached one when env fetch is not specified to keep MSW support; ([#7030](https://github.com/axios/axios/issues/7030)) ([cf78825](https://github.com/axios/axios/commit/cf78825e1229b60d1629ad0bbc8a752ff43c3f53))
9
+
10
+ ### Contributors to this release
11
+
12
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+247/-16 (#7030 #7022 #7024 )")
13
+ - <img src="https://avatars.githubusercontent.com/u/189505037?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Noritaka Kobayashi](https://github.com/noritaka1166 "+2/-6 (#7028 #7029 )")
14
+
15
+ ## [1.12.1](https://github.com/axios/axios/compare/v1.12.0...v1.12.1) (2025-09-12)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **types:** fixed env config types; ([#7020](https://github.com/axios/axios/issues/7020)) ([b5f26b7](https://github.com/axios/axios/commit/b5f26b75bdd9afa95016fb67d0cab15fc74cbf05))
21
+
22
+ ### Contributors to this release
23
+
24
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+10/-4 (#7020 )")
25
+
26
+ # [1.12.0](https://github.com/axios/axios/compare/v1.11.0...v1.12.0) (2025-09-11)
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * adding build artifacts ([9ec86de](https://github.com/axios/axios/commit/9ec86de257bfa33856571036279169f385ed92bd))
32
+ * dont add dist on release ([a2edc36](https://github.com/axios/axios/commit/a2edc3606a4f775d868a67bb3461ff18ce7ecd11))
33
+ * **fetch-adapter:** set correct Content-Type for Node FormData ([#6998](https://github.com/axios/axios/issues/6998)) ([a9f47af](https://github.com/axios/axios/commit/a9f47afbf3224d2ca987dbd8188789c7ea853c5d))
34
+ * **node:** enforce maxContentLength for data: URLs ([#7011](https://github.com/axios/axios/issues/7011)) ([945435f](https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593))
35
+ * package exports ([#5627](https://github.com/axios/axios/issues/5627)) ([aa78ac2](https://github.com/axios/axios/commit/aa78ac23fc9036163308c0f6bd2bb885e7af3f36))
36
+ * **params:** removing '[' and ']' from URL encode exclude characters ([#3316](https://github.com/axios/axios/issues/3316)) ([#5715](https://github.com/axios/axios/issues/5715)) ([6d84189](https://github.com/axios/axios/commit/6d84189349c43b1dcdd977b522610660cc4c7042))
37
+ * release pr run ([fd7f404](https://github.com/axios/axios/commit/fd7f404488b2c4f238c2fbe635b58026a634bfd2))
38
+ * **types:** change the type guard on isCancel ([#5595](https://github.com/axios/axios/issues/5595)) ([0dbb7fd](https://github.com/axios/axios/commit/0dbb7fd4f61dc568498cd13a681fa7f907d6ec7e))
39
+
40
+
41
+ ### Features
42
+
43
+ * **adapter:** surface low‑level network error details; attach original error via cause ([#6982](https://github.com/axios/axios/issues/6982)) ([78b290c](https://github.com/axios/axios/commit/78b290c57c978ed2ab420b90d97350231c9e5d74))
44
+ * **fetch:** add fetch, Request, Response env config variables for the adapter; ([#7003](https://github.com/axios/axios/issues/7003)) ([c959ff2](https://github.com/axios/axios/commit/c959ff29013a3bc90cde3ac7ea2d9a3f9c08974b))
45
+ * support reviver on JSON.parse ([#5926](https://github.com/axios/axios/issues/5926)) ([2a97634](https://github.com/axios/axios/commit/2a9763426e43d996fd60d01afe63fa6e1f5b4fca)), closes [#5924](https://github.com/axios/axios/issues/5924)
46
+ * **types:** extend AxiosResponse interface to include custom headers type ([#6782](https://github.com/axios/axios/issues/6782)) ([7960d34](https://github.com/axios/axios/commit/7960d34eded2de66ffd30b4687f8da0e46c4903e))
47
+
48
+ ### Contributors to this release
49
+
50
+ - <img src="https://avatars.githubusercontent.com/u/22686401?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Willian Agostini](https://github.com/WillianAgostini "+132/-16760 (#7002 #5926 #6782 )")
51
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+4263/-293 (#7006 #7003 )")
52
+ - <img src="https://avatars.githubusercontent.com/u/53833811?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [khani](https://github.com/mkhani01 "+111/-15 (#6982 )")
53
+ - <img src="https://avatars.githubusercontent.com/u/7712804?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Ameer Assadi](https://github.com/AmeerAssadi "+123/-0 (#7011 )")
54
+ - <img src="https://avatars.githubusercontent.com/u/70265727?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Emiedonmokumo Dick-Boro](https://github.com/emiedonmokumo "+55/-35 (#6998 )")
55
+ - <img src="https://avatars.githubusercontent.com/u/47859767?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Zeroday BYTE](https://github.com/opsysdebug "+8/-8 (#6980 )")
56
+ - <img src="https://avatars.githubusercontent.com/u/4814473?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Jason Saayman](https://github.com/jasonsaayman "+7/-7 (#6985 #6985 )")
57
+ - <img src="https://avatars.githubusercontent.com/u/13010755?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [최예찬](https://github.com/HealGaren "+5/-7 (#5715 )")
58
+ - <img src="https://avatars.githubusercontent.com/u/7002604?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Gligor Kotushevski](https://github.com/gligorkot "+3/-1 (#5627 )")
59
+ - <img src="https://avatars.githubusercontent.com/u/15893?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Aleksandar Dimitrov](https://github.com/adimit "+2/-1 (#5595 )")
60
+
3
61
  # [1.11.0](https://github.com/axios/axios/compare/v1.10.0...v1.11.0) (2025-07-22)
4
62
 
5
63
 
@@ -1,13 +1,16 @@
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://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"> <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"><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"><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"><b>Node.js</b></a> </p>
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"> <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"><b>www.principal.com</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"> <img width="85px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/buy-instagram-followers-twicsy.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"><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"> <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"><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"><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"><b>Community</b></a> </p>
6
- </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"> <img width="62px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/buzzoid-buy-instagram-followers.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"><b>buzzoid.com</b></a> </p>
7
- </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"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/famety-buy-instagram-followers.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"><b>www.famety.net</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"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/instagram-likes.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"><b>poprey.com</b></a> </p>
9
- </td><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"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/youtube-subscribers-ssmarket.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"><b>ssmarket.net</b></a> </p>
10
- </td><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute">💜 Become a sponsor</a>
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>
4
+ </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>
7
+ </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>
13
+ </td><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute" target="_blank" >💜 Become a sponsor</a>
11
14
  </td></tr></table>
12
15
 
13
16
  <!--<div>marker</div>-->
@@ -80,6 +83,9 @@
80
83
  - [🆕 Rate limiting](#-progress-capturing)
81
84
  - [🆕 AxiosHeaders](#-axiosheaders)
82
85
  - [🔥 Fetch adapter](#-fetch-adapter)
86
+ - [🔥 Custom fetch](#-custom-fetch)
87
+ - [🔥 Using with Tauri](#-using-with-tauri)
88
+ - [🔥 Using with SvelteKit](#-using-with-sveltekit-)
83
89
  - [Semver](#semver)
84
90
  - [Promises](#promises)
85
91
  - [TypeScript](#typescript)
@@ -1623,9 +1629,80 @@ const {data} = fetchAxios.get(url);
1623
1629
  The adapter supports the same functionality as `xhr` adapter, **including upload and download progress capturing**.
1624
1630
  Also, it supports additional response types such as `stream` and `formdata` (if supported by the environment).
1625
1631
 
1632
+ ### 🔥 Custom fetch
1633
+
1634
+ Starting from `v1.12.0`, you can customize the fetch adapter to use a custom fetch API instead of environment globals.
1635
+ You can pass a custom `fetch` function, `Request`, and `Response` constructors via env config.
1636
+ This can be helpful in case of custom environments & app frameworks.
1637
+
1638
+ Also, when using a custom fetch, you may need to set custom Request and Response too. If you don't set them, global objects will be used.
1639
+ If your custom fetch api does not have these objects, and the globals are incompatible with a custom fetch,
1640
+ you must disable their use inside the fetch adapter by passing null.
1641
+
1642
+ > Note: Setting `Request` & `Response` to `null` will make it impossible for the fetch adapter to capture the upload & download progress.
1643
+
1644
+ Basic example:
1645
+
1646
+ ```js
1647
+ import customFetchFunction from 'customFetchModule';
1648
+
1649
+ const instance = axios.create({
1650
+ adapter: 'fetch',
1651
+ onDownloadProgress(e) {
1652
+ console.log('downloadProgress', e);
1653
+ },
1654
+ env: {
1655
+ fetch: customFetchFunction,
1656
+ Request: null, // undefined -> use the global constructor
1657
+ Response: null
1658
+ }
1659
+ });
1660
+ ```
1661
+
1662
+ #### 🔥 Using with Tauri
1663
+
1664
+ 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.
1665
+
1666
+ ```js
1667
+ import { fetch } from "@tauri-apps/plugin-http";
1668
+ import axios from "axios";
1669
+
1670
+ const instance = axios.create({
1671
+ adapter: 'fetch',
1672
+ onDownloadProgress(e) {
1673
+ console.log('downloadProgress', e);
1674
+ },
1675
+ env: {
1676
+ fetch
1677
+ }
1678
+ });
1679
+
1680
+ const {data} = await instance.get("https://google.com");
1681
+ ```
1682
+
1683
+ #### 🔥 Using with SvelteKit
1684
+
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
+ which makes it incompatible with the standard URL API. So, Axios must be configured to use the custom fetch API:
1687
+
1688
+ ```js
1689
+ export async function load({ fetch }) {
1690
+ const {data: post} = await axios.get('https://jsonplaceholder.typicode.com/posts/1', {
1691
+ adapter: 'fetch',
1692
+ env: {
1693
+ fetch,
1694
+ Request: null,
1695
+ Response: null
1696
+ }
1697
+ });
1698
+
1699
+ return { post };
1700
+ }
1701
+ ```
1702
+
1626
1703
  ## Semver
1627
1704
 
1628
- Until axios reaches a `1.0` release, breaking changes will be released with a new minor version. For example `0.5.1`, and `0.5.4` will have the same API, but `0.6.0` will have breaking changes.
1705
+ Since Axios has reached a `v.1.0.0` we will fully embrace semver as per the spec [here](https://semver.org/)
1629
1706
 
1630
1707
  ## Promises
1631
1708