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
@@ -1,371 +1,168 @@
1
- export {}; // Make this a module
1
+ declare var global: typeof globalThis;
2
2
 
3
- // #region Fetch and friends
4
- // Conditional type aliases, used at the end of this file.
5
- // Will either be empty if lib.dom (or lib.webworker) is included, or the undici version otherwise.
6
- type _Request = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Request;
7
- type _Response = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Response;
8
- type _FormData = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").FormData;
9
- type _Headers = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Headers;
10
- type _MessageEvent = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").MessageEvent;
11
- type _RequestInit = typeof globalThis extends { onmessage: any } ? {}
12
- : import("undici-types").RequestInit;
13
- type _ResponseInit = typeof globalThis extends { onmessage: any } ? {}
14
- : import("undici-types").ResponseInit;
15
- type _WebSocket = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").WebSocket;
16
- type _EventSource = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").EventSource;
17
- // #endregion Fetch and friends
18
-
19
- // Conditional type definitions for webstorage interface, which conflicts with lib.dom otherwise.
20
- type _Storage = typeof globalThis extends { onabort: any } ? {} : {
21
- readonly length: number;
22
- clear(): void;
23
- getItem(key: string): string | null;
24
- key(index: number): string | null;
25
- removeItem(key: string): void;
26
- setItem(key: string, value: string): void;
27
- [key: string]: any;
28
- };
29
-
30
- // #region DOMException
31
- type _DOMException = typeof globalThis extends { onmessage: any } ? {} : NodeDOMException;
32
- interface NodeDOMException extends Error {
33
- readonly code: number;
34
- readonly message: string;
35
- readonly name: string;
36
- readonly INDEX_SIZE_ERR: 1;
37
- readonly DOMSTRING_SIZE_ERR: 2;
38
- readonly HIERARCHY_REQUEST_ERR: 3;
39
- readonly WRONG_DOCUMENT_ERR: 4;
40
- readonly INVALID_CHARACTER_ERR: 5;
41
- readonly NO_DATA_ALLOWED_ERR: 6;
42
- readonly NO_MODIFICATION_ALLOWED_ERR: 7;
43
- readonly NOT_FOUND_ERR: 8;
44
- readonly NOT_SUPPORTED_ERR: 9;
45
- readonly INUSE_ATTRIBUTE_ERR: 10;
46
- readonly INVALID_STATE_ERR: 11;
47
- readonly SYNTAX_ERR: 12;
48
- readonly INVALID_MODIFICATION_ERR: 13;
49
- readonly NAMESPACE_ERR: 14;
50
- readonly INVALID_ACCESS_ERR: 15;
51
- readonly VALIDATION_ERR: 16;
52
- readonly TYPE_MISMATCH_ERR: 17;
53
- readonly SECURITY_ERR: 18;
54
- readonly NETWORK_ERR: 19;
55
- readonly ABORT_ERR: 20;
56
- readonly URL_MISMATCH_ERR: 21;
57
- readonly QUOTA_EXCEEDED_ERR: 22;
58
- readonly TIMEOUT_ERR: 23;
59
- readonly INVALID_NODE_TYPE_ERR: 24;
60
- readonly DATA_CLONE_ERR: 25;
61
- }
62
- interface NodeDOMExceptionConstructor {
63
- prototype: DOMException;
64
- new(message?: string, nameOrOptions?: string | { name?: string; cause?: unknown }): DOMException;
65
- readonly INDEX_SIZE_ERR: 1;
66
- readonly DOMSTRING_SIZE_ERR: 2;
67
- readonly HIERARCHY_REQUEST_ERR: 3;
68
- readonly WRONG_DOCUMENT_ERR: 4;
69
- readonly INVALID_CHARACTER_ERR: 5;
70
- readonly NO_DATA_ALLOWED_ERR: 6;
71
- readonly NO_MODIFICATION_ALLOWED_ERR: 7;
72
- readonly NOT_FOUND_ERR: 8;
73
- readonly NOT_SUPPORTED_ERR: 9;
74
- readonly INUSE_ATTRIBUTE_ERR: 10;
75
- readonly INVALID_STATE_ERR: 11;
76
- readonly SYNTAX_ERR: 12;
77
- readonly INVALID_MODIFICATION_ERR: 13;
78
- readonly NAMESPACE_ERR: 14;
79
- readonly INVALID_ACCESS_ERR: 15;
80
- readonly VALIDATION_ERR: 16;
81
- readonly TYPE_MISMATCH_ERR: 17;
82
- readonly SECURITY_ERR: 18;
83
- readonly NETWORK_ERR: 19;
84
- readonly ABORT_ERR: 20;
85
- readonly URL_MISMATCH_ERR: 21;
86
- readonly QUOTA_EXCEEDED_ERR: 22;
87
- readonly TIMEOUT_ERR: 23;
88
- readonly INVALID_NODE_TYPE_ERR: 24;
89
- readonly DATA_CLONE_ERR: 25;
90
- }
91
- // #endregion DOMException
92
-
93
- declare global {
94
- var global: typeof globalThis;
95
-
96
- var process: NodeJS.Process;
97
- var console: Console;
98
-
99
- interface ErrorConstructor {
100
- /**
101
- * Creates a `.stack` property on `targetObject`, which when accessed returns
102
- * a string representing the location in the code at which
103
- * `Error.captureStackTrace()` was called.
104
- *
105
- * ```js
106
- * const myObject = {};
107
- * Error.captureStackTrace(myObject);
108
- * myObject.stack; // Similar to `new Error().stack`
109
- * ```
110
- *
111
- * The first line of the trace will be prefixed with
112
- * `${myObject.name}: ${myObject.message}`.
113
- *
114
- * The optional `constructorOpt` argument accepts a function. If given, all frames
115
- * above `constructorOpt`, including `constructorOpt`, will be omitted from the
116
- * generated stack trace.
117
- *
118
- * The `constructorOpt` argument is useful for hiding implementation
119
- * details of error generation from the user. For instance:
120
- *
121
- * ```js
122
- * function a() {
123
- * b();
124
- * }
125
- *
126
- * function b() {
127
- * c();
128
- * }
129
- *
130
- * function c() {
131
- * // Create an error without stack trace to avoid calculating the stack trace twice.
132
- * const { stackTraceLimit } = Error;
133
- * Error.stackTraceLimit = 0;
134
- * const error = new Error();
135
- * Error.stackTraceLimit = stackTraceLimit;
136
- *
137
- * // Capture the stack trace above function b
138
- * Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
139
- * throw error;
140
- * }
141
- *
142
- * a();
143
- * ```
144
- */
145
- captureStackTrace(targetObject: object, constructorOpt?: Function): void;
146
- /**
147
- * @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
148
- */
149
- prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
150
- /**
151
- * The `Error.stackTraceLimit` property specifies the number of stack frames
152
- * collected by a stack trace (whether generated by `new Error().stack` or
153
- * `Error.captureStackTrace(obj)`).
154
- *
155
- * The default value is `10` but may be set to any valid JavaScript number. Changes
156
- * will affect any stack trace captured _after_ the value has been changed.
157
- *
158
- * If set to a non-number value, or set to a negative number, stack traces will
159
- * not capture any frames.
160
- */
161
- stackTraceLimit: number;
162
- }
3
+ declare var process: NodeJS.Process;
4
+ declare var console: Console;
163
5
 
6
+ interface ErrorConstructor {
164
7
  /**
165
- * Enable this API with the `--expose-gc` CLI flag.
8
+ * Creates a `.stack` property on `targetObject`, which when accessed returns
9
+ * a string representing the location in the code at which
10
+ * `Error.captureStackTrace()` was called.
11
+ *
12
+ * ```js
13
+ * const myObject = {};
14
+ * Error.captureStackTrace(myObject);
15
+ * myObject.stack; // Similar to `new Error().stack`
16
+ * ```
17
+ *
18
+ * The first line of the trace will be prefixed with
19
+ * `${myObject.name}: ${myObject.message}`.
20
+ *
21
+ * The optional `constructorOpt` argument accepts a function. If given, all frames
22
+ * above `constructorOpt`, including `constructorOpt`, will be omitted from the
23
+ * generated stack trace.
24
+ *
25
+ * The `constructorOpt` argument is useful for hiding implementation
26
+ * details of error generation from the user. For instance:
27
+ *
28
+ * ```js
29
+ * function a() {
30
+ * b();
31
+ * }
32
+ *
33
+ * function b() {
34
+ * c();
35
+ * }
36
+ *
37
+ * function c() {
38
+ * // Create an error without stack trace to avoid calculating the stack trace twice.
39
+ * const { stackTraceLimit } = Error;
40
+ * Error.stackTraceLimit = 0;
41
+ * const error = new Error();
42
+ * Error.stackTraceLimit = stackTraceLimit;
43
+ *
44
+ * // Capture the stack trace above function b
45
+ * Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
46
+ * throw error;
47
+ * }
48
+ *
49
+ * a();
50
+ * ```
166
51
  */
167
- var gc: NodeJS.GCFunction | undefined;
168
-
169
- namespace NodeJS {
170
- interface CallSite {
171
- getColumnNumber(): number | null;
172
- getEnclosingColumnNumber(): number | null;
173
- getEnclosingLineNumber(): number | null;
174
- getEvalOrigin(): string | undefined;
175
- getFileName(): string | null;
176
- getFunction(): Function | undefined;
177
- getFunctionName(): string | null;
178
- getLineNumber(): number | null;
179
- getMethodName(): string | null;
180
- getPosition(): number;
181
- getPromiseIndex(): number | null;
182
- getScriptHash(): string;
183
- getScriptNameOrSourceURL(): string | null;
184
- getThis(): unknown;
185
- getTypeName(): string | null;
186
- isAsync(): boolean;
187
- isConstructor(): boolean;
188
- isEval(): boolean;
189
- isNative(): boolean;
190
- isPromiseAll(): boolean;
191
- isToplevel(): boolean;
192
- }
193
-
194
- interface ErrnoException extends Error {
195
- errno?: number | undefined;
196
- code?: string | undefined;
197
- path?: string | undefined;
198
- syscall?: string | undefined;
199
- }
200
-
201
- interface ReadableStream extends EventEmitter {
202
- readable: boolean;
203
- read(size?: number): string | Buffer;
204
- setEncoding(encoding: BufferEncoding): this;
205
- pause(): this;
206
- resume(): this;
207
- isPaused(): boolean;
208
- pipe<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined }): T;
209
- unpipe(destination?: WritableStream): this;
210
- unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void;
211
- wrap(oldStream: ReadableStream): this;
212
- [Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>;
213
- }
214
-
215
- interface WritableStream extends EventEmitter {
216
- writable: boolean;
217
- write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean;
218
- write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean;
219
- end(cb?: () => void): this;
220
- end(data: string | Uint8Array, cb?: () => void): this;
221
- end(str: string, encoding?: BufferEncoding, cb?: () => void): this;
222
- }
223
-
224
- interface ReadWriteStream extends ReadableStream, WritableStream {}
225
-
226
- interface RefCounted {
227
- ref(): this;
228
- unref(): this;
229
- }
230
-
231
- interface Dict<T> {
232
- [key: string]: T | undefined;
233
- }
234
-
235
- interface ReadOnlyDict<T> {
236
- readonly [key: string]: T | undefined;
237
- }
238
-
239
- interface GCFunction {
240
- (minor?: boolean): void;
241
- (options: NodeJS.GCOptions & { execution: "async" }): Promise<void>;
242
- (options: NodeJS.GCOptions): void;
243
- }
244
-
245
- interface GCOptions {
246
- execution?: "sync" | "async" | undefined;
247
- flavor?: "regular" | "last-resort" | undefined;
248
- type?: "major-snapshot" | "major" | "minor" | undefined;
249
- filename?: string | undefined;
250
- }
251
-
252
- /** An iterable iterator returned by the Node.js API. */
253
- // Default TReturn/TNext in v22 is `any`, for compatibility with the previously-used IterableIterator.
254
- // TODO: In next major @types/node version, change default TReturn to undefined.
255
- interface Iterator<T, TReturn = any, TNext = any> extends IteratorObject<T, TReturn, TNext> {
256
- [Symbol.iterator](): NodeJS.Iterator<T, TReturn, TNext>;
257
- }
52
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
53
+ /**
54
+ * @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
55
+ */
56
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
57
+ /**
58
+ * The `Error.stackTraceLimit` property specifies the number of stack frames
59
+ * collected by a stack trace (whether generated by `new Error().stack` or
60
+ * `Error.captureStackTrace(obj)`).
61
+ *
62
+ * The default value is `10` but may be set to any valid JavaScript number. Changes
63
+ * will affect any stack trace captured _after_ the value has been changed.
64
+ *
65
+ * If set to a non-number value, or set to a negative number, stack traces will
66
+ * not capture any frames.
67
+ */
68
+ stackTraceLimit: number;
69
+ }
258
70
 
259
- /** An async iterable iterator returned by the Node.js API. */
260
- // Default TReturn/TNext in v22 is `any`, for compatibility with the previously-used AsyncIterableIterator.
261
- // TODO: In next major @types/node version, change default TReturn to undefined.
262
- interface AsyncIterator<T, TReturn = any, TNext = any> extends AsyncIteratorObject<T, TReturn, TNext> {
263
- [Symbol.asyncIterator](): NodeJS.AsyncIterator<T, TReturn, TNext>;
264
- }
71
+ /**
72
+ * Enable this API with the `--expose-gc` CLI flag.
73
+ */
74
+ declare var gc: NodeJS.GCFunction | undefined;
75
+
76
+ declare namespace NodeJS {
77
+ interface CallSite {
78
+ getColumnNumber(): number | null;
79
+ getEnclosingColumnNumber(): number | null;
80
+ getEnclosingLineNumber(): number | null;
81
+ getEvalOrigin(): string | undefined;
82
+ getFileName(): string | null;
83
+ getFunction(): Function | undefined;
84
+ getFunctionName(): string | null;
85
+ getLineNumber(): number | null;
86
+ getMethodName(): string | null;
87
+ getPosition(): number;
88
+ getPromiseIndex(): number | null;
89
+ getScriptHash(): string;
90
+ getScriptNameOrSourceURL(): string | null;
91
+ getThis(): unknown;
92
+ getTypeName(): string | null;
93
+ isAsync(): boolean;
94
+ isConstructor(): boolean;
95
+ isEval(): boolean;
96
+ isNative(): boolean;
97
+ isPromiseAll(): boolean;
98
+ isToplevel(): boolean;
265
99
  }
266
100
 
267
- // Global DOM types
268
-
269
- function structuredClone<T>(
270
- value: T,
271
- transfer?: { transfer: ReadonlyArray<import("worker_threads").TransferListItem> },
272
- ): T;
273
-
274
- interface DOMException extends _DOMException {}
275
- var DOMException: typeof globalThis extends { onmessage: any; DOMException: infer T } ? T
276
- : NodeDOMExceptionConstructor;
277
-
278
- // #region AbortController
279
- interface AbortController {
280
- readonly signal: AbortSignal;
281
- abort(reason?: any): void;
101
+ interface ErrnoException extends Error {
102
+ errno?: number | undefined;
103
+ code?: string | undefined;
104
+ path?: string | undefined;
105
+ syscall?: string | undefined;
282
106
  }
283
- var AbortController: typeof globalThis extends { onmessage: any; AbortController: infer T } ? T
284
- : {
285
- prototype: AbortController;
286
- new(): AbortController;
287
- };
288
107
 
289
- interface AbortSignal extends EventTarget {
290
- readonly aborted: boolean;
291
- onabort: ((this: AbortSignal, ev: Event) => any) | null;
292
- readonly reason: any;
293
- throwIfAborted(): void;
108
+ interface ReadableStream extends EventEmitter {
109
+ readable: boolean;
110
+ read(size?: number): string | Buffer;
111
+ setEncoding(encoding: BufferEncoding): this;
112
+ pause(): this;
113
+ resume(): this;
114
+ isPaused(): boolean;
115
+ pipe<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined }): T;
116
+ unpipe(destination?: WritableStream): this;
117
+ unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void;
118
+ wrap(oldStream: ReadableStream): this;
119
+ [Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>;
294
120
  }
295
- var AbortSignal: typeof globalThis extends { onmessage: any; AbortSignal: infer T } ? T
296
- : {
297
- prototype: AbortSignal;
298
- new(): AbortSignal;
299
- abort(reason?: any): AbortSignal;
300
- any(signals: AbortSignal[]): AbortSignal;
301
- timeout(milliseconds: number): AbortSignal;
302
- };
303
- // #endregion AbortController
304
-
305
- // #region Storage
306
- interface Storage extends _Storage {}
307
- // Conditional on `onabort` rather than `onmessage`, in order to exclude lib.webworker
308
- var Storage: typeof globalThis extends { onabort: any; Storage: infer T } ? T
309
- : {
310
- prototype: Storage;
311
- new(): Storage;
312
- };
313
-
314
- var localStorage: Storage;
315
- var sessionStorage: Storage;
316
- // #endregion Storage
317
121
 
318
- // #region fetch
319
- interface RequestInit extends _RequestInit {}
320
-
321
- function fetch(
322
- input: string | URL | globalThis.Request,
323
- init?: RequestInit,
324
- ): Promise<Response>;
122
+ interface WritableStream extends EventEmitter {
123
+ writable: boolean;
124
+ write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean;
125
+ write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean;
126
+ end(cb?: () => void): this;
127
+ end(data: string | Uint8Array, cb?: () => void): this;
128
+ end(str: string, encoding?: BufferEncoding, cb?: () => void): this;
129
+ }
325
130
 
326
- interface Request extends _Request {}
327
- var Request: typeof globalThis extends {
328
- onmessage: any;
329
- Request: infer T;
330
- } ? T
331
- : typeof import("undici-types").Request;
131
+ interface ReadWriteStream extends ReadableStream, WritableStream {}
332
132
 
333
- interface ResponseInit extends _ResponseInit {}
133
+ interface RefCounted {
134
+ ref(): this;
135
+ unref(): this;
136
+ }
334
137
 
335
- interface Response extends _Response {}
336
- var Response: typeof globalThis extends {
337
- onmessage: any;
338
- Response: infer T;
339
- } ? T
340
- : typeof import("undici-types").Response;
138
+ interface Dict<T> {
139
+ [key: string]: T | undefined;
140
+ }
341
141
 
342
- interface FormData extends _FormData {}
343
- var FormData: typeof globalThis extends {
344
- onmessage: any;
345
- FormData: infer T;
346
- } ? T
347
- : typeof import("undici-types").FormData;
142
+ interface ReadOnlyDict<T> {
143
+ readonly [key: string]: T | undefined;
144
+ }
348
145
 
349
- interface Headers extends _Headers {}
350
- var Headers: typeof globalThis extends {
351
- onmessage: any;
352
- Headers: infer T;
353
- } ? T
354
- : typeof import("undici-types").Headers;
146
+ interface GCFunction {
147
+ (minor?: boolean): void;
148
+ (options: NodeJS.GCOptions & { execution: "async" }): Promise<void>;
149
+ (options: NodeJS.GCOptions): void;
150
+ }
355
151
 
356
- interface MessageEvent extends _MessageEvent {}
357
- var MessageEvent: typeof globalThis extends {
358
- onmessage: any;
359
- MessageEvent: infer T;
360
- } ? T
361
- : typeof import("undici-types").MessageEvent;
152
+ interface GCOptions {
153
+ execution?: "sync" | "async" | undefined;
154
+ flavor?: "regular" | "last-resort" | undefined;
155
+ type?: "major-snapshot" | "major" | "minor" | undefined;
156
+ filename?: string | undefined;
157
+ }
362
158
 
363
- interface WebSocket extends _WebSocket {}
364
- var WebSocket: typeof globalThis extends { onmessage: any; WebSocket: infer T } ? T
365
- : typeof import("undici-types").WebSocket;
159
+ /** An iterable iterator returned by the Node.js API. */
160
+ interface Iterator<T, TReturn = undefined, TNext = any> extends IteratorObject<T, TReturn, TNext> {
161
+ [Symbol.iterator](): NodeJS.Iterator<T, TReturn, TNext>;
162
+ }
366
163
 
367
- interface EventSource extends _EventSource {}
368
- var EventSource: typeof globalThis extends { onmessage: any; EventSource: infer T } ? T
369
- : typeof import("undici-types").EventSource;
370
- // #endregion fetch
164
+ /** An async iterable iterator returned by the Node.js API. */
165
+ interface AsyncIterator<T, TReturn = undefined, TNext = any> extends AsyncIteratorObject<T, TReturn, TNext> {
166
+ [Symbol.asyncIterator](): NodeJS.AsyncIterator<T, TReturn, TNext>;
167
+ }
371
168
  }
@@ -12,6 +12,7 @@ declare global {
12
12
  | Int32Array<TArrayBuffer>
13
13
  | BigUint64Array<TArrayBuffer>
14
14
  | BigInt64Array<TArrayBuffer>
15
+ | Float16Array<TArrayBuffer>
15
16
  | Float32Array<TArrayBuffer>
16
17
  | Float64Array<TArrayBuffer>;
17
18
  type ArrayBufferView<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> =
@@ -37,7 +37,7 @@
37
37
  * 'Host', 'example.com',
38
38
  * 'accepT', '*' ]
39
39
  * ```
40
- * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/http.js)
40
+ * @see [source](https://github.com/nodejs/node/blob/v24.x/lib/http.js)
41
41
  */
42
42
  declare module "http" {
43
43
  import * as stream from "node:stream";
@@ -95,6 +95,10 @@ declare module "http" {
95
95
  range?: string | undefined;
96
96
  referer?: string | undefined;
97
97
  "retry-after"?: string | undefined;
98
+ "sec-fetch-site"?: string | undefined;
99
+ "sec-fetch-mode"?: string | undefined;
100
+ "sec-fetch-user"?: string | undefined;
101
+ "sec-fetch-dest"?: string | undefined;
98
102
  "sec-websocket-accept"?: string | undefined;
99
103
  "sec-websocket-extensions"?: string | undefined;
100
104
  "sec-websocket-key"?: string | undefined;
@@ -907,7 +911,7 @@ declare module "http" {
907
911
  * the request body should be sent.
908
912
  * @since v10.0.0
909
913
  */
910
- writeProcessing(): void;
914
+ writeProcessing(callback?: () => void): void;
911
915
  }
912
916
  interface InformationEvent {
913
917
  statusCode: number;
@@ -1501,7 +1505,7 @@ declare module "http" {
1501
1505
  * });
1502
1506
  * ```
1503
1507
  *
1504
- * `options` in [`socket.connect()`](https://nodejs.org/docs/latest-v22.x/api/net.html#socketconnectoptions-connectlistener) are also supported.
1508
+ * `options` in [`socket.connect()`](https://nodejs.org/docs/latest-v24.x/api/net.html#socketconnectoptions-connectlistener) are also supported.
1505
1509
  *
1506
1510
  * To configure any of them, a custom {@link Agent} instance must be created.
1507
1511
  *
@@ -1566,6 +1570,68 @@ declare module "http" {
1566
1570
  * @since v0.11.4
1567
1571
  */
1568
1572
  destroy(): void;
1573
+ /**
1574
+ * Produces a socket/stream to be used for HTTP requests.
1575
+ *
1576
+ * By default, this function is the same as `net.createConnection()`. However,
1577
+ * custom agents may override this method in case greater flexibility is desired.
1578
+ *
1579
+ * A socket/stream can be supplied in one of two ways: by returning the
1580
+ * socket/stream from this function, or by passing the socket/stream to `callback`.
1581
+ *
1582
+ * This method is guaranteed to return an instance of the `net.Socket` class,
1583
+ * a subclass of `stream.Duplex`, unless the user specifies a socket
1584
+ * type other than `net.Socket`.
1585
+ *
1586
+ * `callback` has a signature of `(err, stream)`.
1587
+ * @since v0.11.4
1588
+ * @param options Options containing connection details. Check `createConnection` for the format of the options
1589
+ * @param callback Callback function that receives the created socket
1590
+ */
1591
+ createConnection(
1592
+ options: ClientRequestArgs,
1593
+ callback?: (err: Error | null, stream: stream.Duplex) => void,
1594
+ ): stream.Duplex;
1595
+ /**
1596
+ * Called when `socket` is detached from a request and could be persisted by the`Agent`. Default behavior is to:
1597
+ *
1598
+ * ```js
1599
+ * socket.setKeepAlive(true, this.keepAliveMsecs);
1600
+ * socket.unref();
1601
+ * return true;
1602
+ * ```
1603
+ *
1604
+ * This method can be overridden by a particular `Agent` subclass. If this
1605
+ * method returns a falsy value, the socket will be destroyed instead of persisting
1606
+ * it for use with the next request.
1607
+ *
1608
+ * The `socket` argument can be an instance of `net.Socket`, a subclass of `stream.Duplex`.
1609
+ * @since v8.1.0
1610
+ */
1611
+ keepSocketAlive(socket: stream.Duplex): void;
1612
+ /**
1613
+ * Called when `socket` is attached to `request` after being persisted because of
1614
+ * the keep-alive options. Default behavior is to:
1615
+ *
1616
+ * ```js
1617
+ * socket.ref();
1618
+ * ```
1619
+ *
1620
+ * This method can be overridden by a particular `Agent` subclass.
1621
+ *
1622
+ * The `socket` argument can be an instance of `net.Socket`, a subclass of `stream.Duplex`.
1623
+ * @since v8.1.0
1624
+ */
1625
+ reuseSocket(socket: stream.Duplex, request: ClientRequest): void;
1626
+ /**
1627
+ * Get a unique name for a set of request options, to determine whether a
1628
+ * connection can be reused. For an HTTP agent, this returns`host:port:localAddress` or `host:port:localAddress:family`. For an HTTPS agent,
1629
+ * the name includes the CA, cert, ciphers, and other HTTPS/TLS-specific options
1630
+ * that determine socket reusability.
1631
+ * @since v0.11.4
1632
+ * @param options A set of options providing information for name generation
1633
+ */
1634
+ getName(options?: ClientRequestArgs): string;
1569
1635
  }
1570
1636
  const METHODS: string[];
1571
1637
  const STATUS_CODES: {
@@ -1962,18 +2028,18 @@ declare module "http" {
1962
2028
  */
1963
2029
  const maxHeaderSize: number;
1964
2030
  /**
1965
- * A browser-compatible implementation of [WebSocket](https://nodejs.org/docs/latest/api/http.html#websocket).
2031
+ * A browser-compatible implementation of `WebSocket`.
1966
2032
  * @since v22.5.0
1967
2033
  */
1968
- const WebSocket: import("undici-types").WebSocket;
2034
+ const WebSocket: typeof import("undici-types").WebSocket;
1969
2035
  /**
1970
2036
  * @since v22.5.0
1971
2037
  */
1972
- const CloseEvent: import("undici-types").CloseEvent;
2038
+ const CloseEvent: typeof import("undici-types").CloseEvent;
1973
2039
  /**
1974
2040
  * @since v22.5.0
1975
2041
  */
1976
- const MessageEvent: import("undici-types").MessageEvent;
2042
+ const MessageEvent: typeof import("undici-types").MessageEvent;
1977
2043
  }
1978
2044
  declare module "node:http" {
1979
2045
  export * from "http";