cloudstructs 0.9.5 → 0.9.7

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 (330) hide show
  1. package/.jsii +3 -3
  2. package/assets/slack-app/provider.lambda/index.js +46 -96
  3. package/assets/slack-events/events.lambda/index.js +4 -8
  4. package/assets/slack-textract/detect.lambda/index.js +617 -492
  5. package/assets/ssl-server-test/analyze.lambda/index.js +46 -96
  6. package/assets/static-website/origin-request.edge-lambda/index.js +1 -2
  7. package/assets/url-shortener/shortener.lambda/index.js +1 -2
  8. package/lib/codecommit-mirror/index.js +2 -2
  9. package/lib/dmarc/index.js +1 -1
  10. package/lib/ecs-service-roller/index.js +2 -2
  11. package/lib/email-receiver/receiver.js +1 -1
  12. package/lib/saml-identity-provider/index.js +2 -2
  13. package/lib/slack-app/manifest.js +1 -1
  14. package/lib/slack-app/slack-app.js +2 -2
  15. package/lib/slack-events/index.js +1 -1
  16. package/lib/slack-textract/index.js +1 -1
  17. package/lib/ssl-server-test/index.js +1 -1
  18. package/lib/state-machine-cr-provider/index.js +1 -1
  19. package/lib/static-website/index.js +1 -1
  20. package/lib/toolkit-cleaner/index.js +1 -1
  21. package/lib/url-shortener/index.js +1 -1
  22. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  23. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +41 -44
  24. package/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +17 -15
  25. package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +7 -7
  26. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +1 -1
  27. package/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +1 -1
  28. package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +1 -1
  29. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +38 -3
  30. package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +13 -13
  31. package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
  32. package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +1 -1
  33. package/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +4 -4
  34. package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +29 -37
  35. package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +12 -12
  36. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +43 -37
  37. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +4 -4
  38. package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +77 -47
  39. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +1 -1
  40. package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +4 -4
  41. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +50 -8
  42. package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +28 -11
  43. package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
  44. package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +1 -1
  45. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +3 -3
  46. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +214 -43
  47. package/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +4 -4
  48. package/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +18 -6
  49. package/node_modules/@slack/logger/node_modules/@types/node/readline/promises.d.ts +9 -9
  50. package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +21 -20
  51. package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +7 -7
  52. package/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +2 -2
  53. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +55 -49
  54. package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +3 -3
  55. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +28 -23
  56. package/node_modules/@slack/logger/node_modules/@types/node/timers/promises.d.ts +10 -6
  57. package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +5 -5
  58. package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +39 -32
  59. package/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +40 -25
  60. package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +8 -8
  61. package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +5 -5
  62. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +115 -22
  63. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +6 -6
  64. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +35 -17
  65. package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +1 -1
  66. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +16 -16
  67. package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +16 -3
  68. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  69. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +41 -44
  70. package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +17 -15
  71. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +7 -7
  72. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +1 -1
  73. package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +1 -1
  74. package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +1 -1
  75. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +38 -3
  76. package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +13 -13
  77. package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
  78. package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +1 -1
  79. package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +4 -4
  80. package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +29 -37
  81. package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +12 -12
  82. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +43 -37
  83. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +4 -4
  84. package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +77 -47
  85. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +1 -1
  86. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +4 -4
  87. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +50 -8
  88. package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +28 -11
  89. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  90. package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +1 -1
  91. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +3 -3
  92. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +214 -43
  93. package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +4 -4
  94. package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +18 -6
  95. package/node_modules/@slack/web-api/node_modules/@types/node/readline/promises.d.ts +9 -9
  96. package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +21 -20
  97. package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +7 -7
  98. package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +2 -2
  99. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +55 -49
  100. package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +3 -3
  101. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +28 -23
  102. package/node_modules/@slack/web-api/node_modules/@types/node/timers/promises.d.ts +10 -6
  103. package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +5 -5
  104. package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +39 -32
  105. package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +40 -25
  106. package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +8 -8
  107. package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +5 -5
  108. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +115 -22
  109. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +6 -6
  110. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +35 -17
  111. package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +1 -1
  112. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +16 -16
  113. package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +16 -3
  114. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  115. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +41 -44
  116. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +17 -15
  117. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +7 -7
  118. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +1 -1
  119. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +1 -1
  120. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +1 -1
  121. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +38 -3
  122. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +13 -13
  123. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
  124. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +1 -1
  125. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +4 -4
  126. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +29 -37
  127. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +12 -12
  128. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +43 -37
  129. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +4 -4
  130. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +77 -47
  131. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +1 -1
  132. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +4 -4
  133. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +50 -8
  134. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +28 -11
  135. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  136. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +1 -1
  137. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +3 -3
  138. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +214 -43
  139. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +4 -4
  140. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +18 -6
  141. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline/promises.d.ts +9 -9
  142. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +21 -20
  143. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +7 -7
  144. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +2 -2
  145. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +55 -49
  146. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +3 -3
  147. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +28 -23
  148. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +10 -6
  149. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +5 -5
  150. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +39 -32
  151. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +40 -25
  152. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +8 -8
  153. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +5 -5
  154. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +115 -22
  155. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +6 -6
  156. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +35 -17
  157. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +1 -1
  158. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +16 -16
  159. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +16 -3
  160. package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
  161. package/node_modules/@types/is-stream/node_modules/@types/node/assert.d.ts +41 -44
  162. package/node_modules/@types/is-stream/node_modules/@types/node/async_hooks.d.ts +17 -15
  163. package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +7 -7
  164. package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +1 -1
  165. package/node_modules/@types/is-stream/node_modules/@types/node/cluster.d.ts +1 -1
  166. package/node_modules/@types/is-stream/node_modules/@types/node/console.d.ts +1 -1
  167. package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +38 -3
  168. package/node_modules/@types/is-stream/node_modules/@types/node/dgram.d.ts +13 -13
  169. package/node_modules/@types/is-stream/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
  170. package/node_modules/@types/is-stream/node_modules/@types/node/dns.d.ts +1 -1
  171. package/node_modules/@types/is-stream/node_modules/@types/node/domain.d.ts +4 -4
  172. package/node_modules/@types/is-stream/node_modules/@types/node/events.d.ts +29 -37
  173. package/node_modules/@types/is-stream/node_modules/@types/node/fs/promises.d.ts +12 -12
  174. package/node_modules/@types/is-stream/node_modules/@types/node/fs.d.ts +43 -37
  175. package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +4 -4
  176. package/node_modules/@types/is-stream/node_modules/@types/node/http2.d.ts +77 -47
  177. package/node_modules/@types/is-stream/node_modules/@types/node/https.d.ts +1 -1
  178. package/node_modules/@types/is-stream/node_modules/@types/node/inspector.d.ts +4 -4
  179. package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +50 -8
  180. package/node_modules/@types/is-stream/node_modules/@types/node/os.d.ts +28 -11
  181. package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
  182. package/node_modules/@types/is-stream/node_modules/@types/node/path.d.ts +1 -1
  183. package/node_modules/@types/is-stream/node_modules/@types/node/perf_hooks.d.ts +3 -3
  184. package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +214 -43
  185. package/node_modules/@types/is-stream/node_modules/@types/node/punycode.d.ts +4 -4
  186. package/node_modules/@types/is-stream/node_modules/@types/node/querystring.d.ts +18 -6
  187. package/node_modules/@types/is-stream/node_modules/@types/node/readline/promises.d.ts +9 -9
  188. package/node_modules/@types/is-stream/node_modules/@types/node/readline.d.ts +21 -20
  189. package/node_modules/@types/is-stream/node_modules/@types/node/repl.d.ts +7 -7
  190. package/node_modules/@types/is-stream/node_modules/@types/node/stream/web.d.ts +2 -2
  191. package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +55 -49
  192. package/node_modules/@types/is-stream/node_modules/@types/node/string_decoder.d.ts +3 -3
  193. package/node_modules/@types/is-stream/node_modules/@types/node/test.d.ts +28 -23
  194. package/node_modules/@types/is-stream/node_modules/@types/node/timers/promises.d.ts +10 -6
  195. package/node_modules/@types/is-stream/node_modules/@types/node/timers.d.ts +5 -5
  196. package/node_modules/@types/is-stream/node_modules/@types/node/tls.d.ts +39 -32
  197. package/node_modules/@types/is-stream/node_modules/@types/node/trace_events.d.ts +40 -25
  198. package/node_modules/@types/is-stream/node_modules/@types/node/tty.d.ts +8 -8
  199. package/node_modules/@types/is-stream/node_modules/@types/node/url.d.ts +5 -5
  200. package/node_modules/@types/is-stream/node_modules/@types/node/util.d.ts +115 -22
  201. package/node_modules/@types/is-stream/node_modules/@types/node/v8.d.ts +6 -6
  202. package/node_modules/@types/is-stream/node_modules/@types/node/vm.d.ts +35 -17
  203. package/node_modules/@types/is-stream/node_modules/@types/node/wasi.d.ts +1 -1
  204. package/node_modules/@types/is-stream/node_modules/@types/node/worker_threads.d.ts +16 -16
  205. package/node_modules/@types/is-stream/node_modules/@types/node/zlib.d.ts +16 -3
  206. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  207. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +41 -44
  208. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +17 -15
  209. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +7 -7
  210. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +1 -1
  211. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +1 -1
  212. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +1 -1
  213. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +38 -3
  214. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +13 -13
  215. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
  216. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +1 -1
  217. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +4 -4
  218. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +29 -37
  219. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +12 -12
  220. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +43 -37
  221. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +4 -4
  222. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +77 -47
  223. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +1 -1
  224. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +4 -4
  225. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +50 -8
  226. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +28 -11
  227. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  228. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +1 -1
  229. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +3 -3
  230. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +214 -43
  231. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +4 -4
  232. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +18 -6
  233. package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +9 -9
  234. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +21 -20
  235. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +7 -7
  236. package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +2 -2
  237. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +55 -49
  238. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +3 -3
  239. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +28 -23
  240. package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +10 -6
  241. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +5 -5
  242. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +39 -32
  243. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +40 -25
  244. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +8 -8
  245. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +5 -5
  246. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +115 -22
  247. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +6 -6
  248. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +35 -17
  249. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +1 -1
  250. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +16 -16
  251. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +16 -3
  252. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  253. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +41 -44
  254. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +17 -15
  255. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +7 -7
  256. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +1 -1
  257. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +1 -1
  258. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +1 -1
  259. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +38 -3
  260. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +13 -13
  261. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
  262. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +1 -1
  263. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +4 -4
  264. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +29 -37
  265. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +12 -12
  266. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +43 -37
  267. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +4 -4
  268. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +77 -47
  269. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +1 -1
  270. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +4 -4
  271. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +50 -8
  272. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +28 -11
  273. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  274. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +1 -1
  275. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +3 -3
  276. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +214 -43
  277. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +4 -4
  278. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +18 -6
  279. package/node_modules/@types/responselike/node_modules/@types/node/readline/promises.d.ts +9 -9
  280. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +21 -20
  281. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +7 -7
  282. package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +2 -2
  283. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +55 -49
  284. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +3 -3
  285. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +28 -23
  286. package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +10 -6
  287. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +5 -5
  288. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +39 -32
  289. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +40 -25
  290. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +8 -8
  291. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +5 -5
  292. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +115 -22
  293. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +6 -6
  294. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +35 -17
  295. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +1 -1
  296. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +16 -16
  297. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +16 -3
  298. package/node_modules/axios/CHANGELOG.md +868 -790
  299. package/node_modules/axios/README.md +60 -15
  300. package/node_modules/axios/dist/axios.js +1018 -294
  301. package/node_modules/axios/dist/axios.js.map +1 -1
  302. package/node_modules/axios/dist/axios.min.js +1 -1
  303. package/node_modules/axios/dist/axios.min.js.map +1 -1
  304. package/node_modules/axios/dist/browser/axios.cjs +688 -308
  305. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  306. package/node_modules/axios/dist/esm/axios.js +688 -308
  307. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  308. package/node_modules/axios/dist/esm/axios.min.js +1 -1
  309. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  310. package/node_modules/axios/dist/node/axios.cjs +597 -246
  311. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  312. package/node_modules/axios/index.d.cts +5 -2
  313. package/node_modules/axios/index.d.ts +5 -2
  314. package/node_modules/axios/lib/adapters/adapters.js +3 -1
  315. package/node_modules/axios/lib/adapters/fetch.js +227 -0
  316. package/node_modules/axios/lib/adapters/xhr.js +31 -101
  317. package/node_modules/axios/lib/core/Axios.js +9 -6
  318. package/node_modules/axios/lib/core/AxiosHeaders.js +4 -0
  319. package/node_modules/axios/lib/defaults/index.js +7 -2
  320. package/node_modules/axios/lib/env/data.js +1 -1
  321. package/node_modules/axios/lib/helpers/AxiosTransformStream.js +9 -8
  322. package/node_modules/axios/lib/helpers/composeSignals.js +46 -0
  323. package/node_modules/axios/lib/helpers/progressEventReducer.js +32 -0
  324. package/node_modules/axios/lib/helpers/resolveConfig.js +57 -0
  325. package/node_modules/axios/lib/helpers/throttle.js +5 -3
  326. package/node_modules/axios/lib/helpers/trackStream.js +55 -0
  327. package/node_modules/axios/lib/platform/common/utils.js +4 -1
  328. package/node_modules/axios/lib/utils.js +7 -2
  329. package/node_modules/axios/package.json +4 -3
  330. package/package.json +18 -18
@@ -6,7 +6,7 @@ declare module "readline/promises" {
6
6
  import { AsyncCompleter, Completer, Direction, Interface as _Interface, ReadLineOptions } from "node:readline";
7
7
  import { Abortable } from "node:events";
8
8
  /**
9
- * Instances of the `readlinePromises.Interface` class are constructed using the`readlinePromises.createInterface()` method. Every instance is associated with a
9
+ * Instances of the `readlinePromises.Interface` class are constructed using the `readlinePromises.createInterface()` method. Every instance is associated with a
10
10
  * single `input` `Readable` stream and a single `output` `Writable` stream.
11
11
  * The `output` stream is used to print prompts for user input that arrives on,
12
12
  * and is read from, the `input` stream.
@@ -15,12 +15,12 @@ declare module "readline/promises" {
15
15
  class Interface extends _Interface {
16
16
  /**
17
17
  * The `rl.question()` method displays the `query` by writing it to the `output`,
18
- * waits for user input to be provided on `input`, then invokes the `callback`function passing the provided input as the first argument.
18
+ * waits for user input to be provided on `input`, then invokes the `callback` function passing the provided input as the first argument.
19
19
  *
20
20
  * When called, `rl.question()` will resume the `input` stream if it has been
21
21
  * paused.
22
22
  *
23
- * If the `Interface` was created with `output` set to `null` or`undefined` the `query` is not written.
23
+ * If the `Interface` was created with `output` set to `null` or `undefined` the `query` is not written.
24
24
  *
25
25
  * If the question is called after `rl.close()`, it returns a rejected promise.
26
26
  *
@@ -67,7 +67,7 @@ declare module "readline/promises" {
67
67
  * The `rl.clearLine()` method adds to the internal list of pending action an
68
68
  * action that clears current line of the associated `stream` in a specified
69
69
  * direction identified by `dir`.
70
- * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor.
70
+ * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true` was passed to the constructor.
71
71
  * @since v17.0.0
72
72
  * @return this
73
73
  */
@@ -76,20 +76,20 @@ declare module "readline/promises" {
76
76
  * The `rl.clearScreenDown()` method adds to the internal list of pending action an
77
77
  * action that clears the associated stream from the current position of the
78
78
  * cursor down.
79
- * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor.
79
+ * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true` was passed to the constructor.
80
80
  * @since v17.0.0
81
81
  * @return this
82
82
  */
83
83
  clearScreenDown(): this;
84
84
  /**
85
- * The `rl.commit()` method sends all the pending actions to the associated`stream` and clears the internal list of pending actions.
85
+ * The `rl.commit()` method sends all the pending actions to the associated `stream` and clears the internal list of pending actions.
86
86
  * @since v17.0.0
87
87
  */
88
88
  commit(): Promise<void>;
89
89
  /**
90
90
  * The `rl.cursorTo()` method adds to the internal list of pending action an action
91
91
  * that moves cursor to the specified position in the associated `stream`.
92
- * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor.
92
+ * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true` was passed to the constructor.
93
93
  * @since v17.0.0
94
94
  * @return this
95
95
  */
@@ -98,7 +98,7 @@ declare module "readline/promises" {
98
98
  * The `rl.moveCursor()` method adds to the internal list of pending action an
99
99
  * action that moves the cursor _relative_ to its current position in the
100
100
  * associated `stream`.
101
- * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor.
101
+ * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true` was passed to the constructor.
102
102
  * @since v17.0.0
103
103
  * @return this
104
104
  */
@@ -112,7 +112,7 @@ declare module "readline/promises" {
112
112
  rollback(): this;
113
113
  }
114
114
  /**
115
- * The `readlinePromises.createInterface()` method creates a new `readlinePromises.Interface`instance.
115
+ * The `readlinePromises.createInterface()` method creates a new `readlinePromises.Interface` instance.
116
116
  *
117
117
  * ```js
118
118
  * const readlinePromises = require('node:readline/promises');
@@ -1,5 +1,6 @@
1
1
  /**
2
- * The `node:readline` module provides an interface for reading data from a `Readable` stream (such as `process.stdin`) one line at a time.
2
+ * The `node:readline` module provides an interface for reading data from a [Readable](https://nodejs.org/docs/latest-v20.x/api/stream.html#readable-streams) stream
3
+ * (such as [`process.stdin`](https://nodejs.org/docs/latest-v20.x/api/process.html#processstdin)) one line at a time.
3
4
  *
4
5
  * To use the promise-based APIs:
5
6
  *
@@ -13,7 +14,7 @@
13
14
  * import * as readline from 'node:readline';
14
15
  * ```
15
16
  *
16
- * The following simple example illustrates the basic use of the `node:readline`module.
17
+ * The following simple example illustrates the basic use of the `node:readline` module.
17
18
  *
18
19
  * ```js
19
20
  * import * as readline from 'node:readline/promises';
@@ -28,9 +29,9 @@
28
29
  * rl.close();
29
30
  * ```
30
31
  *
31
- * Once this code is invoked, the Node.js application will not terminate until the`readline.Interface` is closed because the interface waits for data to be
32
+ * Once this code is invoked, the Node.js application will not terminate until the `readline.Interface` is closed because the interface waits for data to be
32
33
  * received on the `input` stream.
33
- * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/readline.js)
34
+ * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/readline.js)
34
35
  */
35
36
  declare module "readline" {
36
37
  import { Abortable, EventEmitter } from "node:events";
@@ -44,8 +45,8 @@ declare module "readline" {
44
45
  shift?: boolean | undefined;
45
46
  }
46
47
  /**
47
- * Instances of the `readline.Interface` class are constructed using the`readline.createInterface()` method. Every instance is associated with a
48
- * single `input` `Readable` stream and a single `output` `Writable` stream.
48
+ * Instances of the `readline.Interface` class are constructed using the `readline.createInterface()` method. Every instance is associated with a
49
+ * single `input` [Readable](https://nodejs.org/docs/latest-v20.x/api/stream.html#readable-streams) stream and a single `output` [Writable](https://nodejs.org/docs/latest-v20.x/api/stream.html#writable-streams) stream.
49
50
  * The `output` stream is used to print prompts for user input that arrives on,
50
51
  * and is read from, the `input` stream.
51
52
  * @since v0.1.104
@@ -123,7 +124,7 @@ declare module "readline" {
123
124
  */
124
125
  getPrompt(): string;
125
126
  /**
126
- * The `rl.setPrompt()` method sets the prompt that will be written to `output`whenever `rl.prompt()` is called.
127
+ * The `rl.setPrompt()` method sets the prompt that will be written to `output` whenever `rl.prompt()` is called.
127
128
  * @since v0.1.98
128
129
  */
129
130
  setPrompt(prompt: string): void;
@@ -134,19 +135,19 @@ declare module "readline" {
134
135
  * When called, `rl.prompt()` will resume the `input` stream if it has been
135
136
  * paused.
136
137
  *
137
- * If the `Interface` was created with `output` set to `null` or`undefined` the prompt is not written.
138
+ * If the `Interface` was created with `output` set to `null` or `undefined` the prompt is not written.
138
139
  * @since v0.1.98
139
140
  * @param preserveCursor If `true`, prevents the cursor placement from being reset to `0`.
140
141
  */
141
142
  prompt(preserveCursor?: boolean): void;
142
143
  /**
143
144
  * The `rl.question()` method displays the `query` by writing it to the `output`,
144
- * waits for user input to be provided on `input`, then invokes the `callback`function passing the provided input as the first argument.
145
+ * waits for user input to be provided on `input`, then invokes the `callback` function passing the provided input as the first argument.
145
146
  *
146
147
  * When called, `rl.question()` will resume the `input` stream if it has been
147
148
  * paused.
148
149
  *
149
- * If the `Interface` was created with `output` set to `null` or`undefined` the `query` is not written.
150
+ * If the `Interface` was created with `output` set to `null` or `undefined` the `query` is not written.
150
151
  *
151
152
  * The `callback` function passed to `rl.question()` does not follow the typical
152
153
  * pattern of accepting an `Error` object or `null` as the first argument.
@@ -188,7 +189,7 @@ declare module "readline" {
188
189
  * The `rl.pause()` method pauses the `input` stream, allowing it to be resumed
189
190
  * later if necessary.
190
191
  *
191
- * Calling `rl.pause()` does not immediately pause other events (including`'line'`) from being emitted by the `Interface` instance.
192
+ * Calling `rl.pause()` does not immediately pause other events (including `'line'`) from being emitted by the `Interface` instance.
192
193
  * @since v0.3.4
193
194
  */
194
195
  pause(): this;
@@ -218,7 +219,7 @@ declare module "readline" {
218
219
  * When called, `rl.write()` will resume the `input` stream if it has been
219
220
  * paused.
220
221
  *
221
- * If the `Interface` was created with `output` set to `null` or`undefined` the `data` and `key` are not written.
222
+ * If the `Interface` was created with `output` set to `null` or `undefined` the `data` and `key` are not written.
222
223
  *
223
224
  * ```js
224
225
  * rl.write('Delete this!');
@@ -226,7 +227,7 @@ declare module "readline" {
226
227
  * rl.write(null, { ctrl: true, name: 'u' });
227
228
  * ```
228
229
  *
229
- * The `rl.write()` method will write the data to the `readline` `Interface`'s`input`_as if it were provided by the user_.
230
+ * The `rl.write()` method will write the data to the `readline` `Interface`'s `input` _as if it were provided by the user_.
230
231
  * @since v0.1.98
231
232
  */
232
233
  write(data: string | Buffer, key?: Key): void;
@@ -338,7 +339,7 @@ declare module "readline" {
338
339
  tabSize?: number | undefined;
339
340
  }
340
341
  /**
341
- * The `readline.createInterface()` method creates a new `readline.Interface`instance.
342
+ * The `readline.createInterface()` method creates a new `readline.Interface` instance.
342
343
  *
343
344
  * ```js
344
345
  * const readline = require('node:readline');
@@ -382,7 +383,7 @@ declare module "readline" {
382
383
  *
383
384
  * If the `stream` is a `TTY`, then it must be in raw mode.
384
385
  *
385
- * This is automatically called by any readline instance on its `input` if the`input` is a terminal. Closing the `readline` instance does not stop
386
+ * This is automatically called by any readline instance on its `input` if the `input` is a terminal. Closing the `readline` instance does not stop
386
387
  * the `input` from emitting `'keypress'` events.
387
388
  *
388
389
  * ```js
@@ -467,7 +468,7 @@ declare module "readline" {
467
468
  * });
468
469
  * ```
469
470
  *
470
- * Currently, `for await...of` loop can be a bit slower. If `async` / `await`flow and speed are both essential, a mixed approach can be applied:
471
+ * Currently, `for await...of` loop can be a bit slower. If `async` / `await` flow and speed are both essential, a mixed approach can be applied:
471
472
  *
472
473
  * ```js
473
474
  * const { once } = require('node:events');
@@ -502,7 +503,7 @@ declare module "readline" {
502
503
  cols: number;
503
504
  }
504
505
  /**
505
- * The `readline.clearLine()` method clears current line of given `TTY` stream
506
+ * The `readline.clearLine()` method clears current line of given [TTY](https://nodejs.org/docs/latest-v20.x/api/tty.html) stream
506
507
  * in a specified direction identified by `dir`.
507
508
  * @since v0.7.7
508
509
  * @param callback Invoked once the operation completes.
@@ -510,7 +511,7 @@ declare module "readline" {
510
511
  */
511
512
  export function clearLine(stream: NodeJS.WritableStream, dir: Direction, callback?: () => void): boolean;
512
513
  /**
513
- * The `readline.clearScreenDown()` method clears the given `TTY` stream from
514
+ * The `readline.clearScreenDown()` method clears the given [TTY](https://nodejs.org/docs/latest-v20.x/api/tty.html) stream from
514
515
  * the current position of the cursor down.
515
516
  * @since v0.7.7
516
517
  * @param callback Invoked once the operation completes.
@@ -519,7 +520,7 @@ declare module "readline" {
519
520
  export function clearScreenDown(stream: NodeJS.WritableStream, callback?: () => void): boolean;
520
521
  /**
521
522
  * The `readline.cursorTo()` method moves cursor to the specified position in a
522
- * given `TTY` `stream`.
523
+ * given [TTY](https://nodejs.org/docs/latest-v20.x/api/tty.html) `stream`.
523
524
  * @since v0.7.7
524
525
  * @param callback Invoked once the operation completes.
525
526
  * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
@@ -527,7 +528,7 @@ declare module "readline" {
527
528
  export function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number, callback?: () => void): boolean;
528
529
  /**
529
530
  * The `readline.moveCursor()` method moves the cursor _relative_ to its current
530
- * position in a given `TTY` `stream`.
531
+ * position in a given [TTY](https://nodejs.org/docs/latest-v20.x/api/tty.html) `stream`.
531
532
  * @since v0.7.7
532
533
  * @param callback Invoked once the operation completes.
533
534
  * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
@@ -6,7 +6,7 @@
6
6
  * ```js
7
7
  * const repl = require('node:repl');
8
8
  * ```
9
- * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/repl.js)
9
+ * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/repl.js)
10
10
  */
11
11
  declare module "repl" {
12
12
  import { AsyncCompleter, Completer, Interface } from "node:readline";
@@ -54,25 +54,25 @@ declare module "repl" {
54
54
  * If `true`, specifies that the default `writer` function should include ANSI color
55
55
  * styling to REPL output. If a custom `writer` function is provided then this has no
56
56
  * effect.
57
- * Default: the REPL instance's `terminal` value.
57
+ * @default the REPL instance's `terminal` value
58
58
  */
59
59
  useColors?: boolean | undefined;
60
60
  /**
61
61
  * If `true`, specifies that the default evaluation function will use the JavaScript
62
62
  * `global` as the context as opposed to creating a new separate context for the REPL
63
63
  * instance. The node CLI REPL sets this value to `true`.
64
- * Default: `false`.
64
+ * @default false
65
65
  */
66
66
  useGlobal?: boolean | undefined;
67
67
  /**
68
68
  * If `true`, specifies that the default writer will not output the return value of a
69
69
  * command if it evaluates to `undefined`.
70
- * Default: `false`.
70
+ * @default false
71
71
  */
72
72
  ignoreUndefined?: boolean | undefined;
73
73
  /**
74
74
  * The function to invoke to format the output of each command before writing to `output`.
75
- * Default: a wrapper for `util.inspect`.
75
+ * @default a wrapper for `util.inspect`
76
76
  *
77
77
  * @see https://nodejs.org/dist/latest-v20.x/docs/api/repl.html#repl_customizing_repl_output
78
78
  */
@@ -95,7 +95,7 @@ declare module "repl" {
95
95
  /**
96
96
  * Stop evaluating the current piece of code when `SIGINT` is received, i.e. `Ctrl+C` is
97
97
  * pressed. This cannot be used together with a custom `eval` function.
98
- * Default: `false`.
98
+ * @default false
99
99
  */
100
100
  breakEvalOnSigint?: boolean | undefined;
101
101
  }
@@ -297,7 +297,7 @@ declare module "repl" {
297
297
  * When `preserveCursor` is `true`, the cursor placement will not be reset to `0`.
298
298
  *
299
299
  * The `replServer.displayPrompt` method is primarily intended to be called from
300
- * within the action function for commands registered using the`replServer.defineCommand()` method.
300
+ * within the action function for commands registered using the `replServer.defineCommand()` method.
301
301
  * @since v0.1.91
302
302
  */
303
303
  displayPrompt(preserveCursor?: boolean): void;
@@ -351,7 +351,7 @@ declare module "stream/web" {
351
351
  }
352
352
  const CompressionStream: {
353
353
  prototype: CompressionStream;
354
- new<R = any, W = any>(format: string): CompressionStream<R, W>;
354
+ new<R = any, W = any>(format: "deflate" | "deflate-raw" | "gzip"): CompressionStream<R, W>;
355
355
  };
356
356
  interface DecompressionStream<R = any, W = any> {
357
357
  readonly readable: ReadableStream<R>;
@@ -359,7 +359,7 @@ declare module "stream/web" {
359
359
  }
360
360
  const DecompressionStream: {
361
361
  prototype: DecompressionStream;
362
- new<R = any, W = any>(format: string): DecompressionStream<R, W>;
362
+ new<R = any, W = any>(format: "deflate" | "deflate-raw" | "gzip"): DecompressionStream<R, W>;
363
363
  };
364
364
  }
365
365
  declare module "node:stream/web" {
@@ -2,9 +2,10 @@
2
2
  * A stream is an abstract interface for working with streaming data in Node.js.
3
3
  * The `node:stream` module provides an API for implementing the stream interface.
4
4
  *
5
- * There are many stream objects provided by Node.js. For instance, a `request to an HTTP server` and `process.stdout` are both stream instances.
5
+ * There are many stream objects provided by Node.js. For instance, a [request to an HTTP server](https://nodejs.org/docs/latest-v20.x/api/http.html#class-httpincomingmessage)
6
+ * and [`process.stdout`](https://nodejs.org/docs/latest-v20.x/api/process.html#processstdout) are both stream instances.
6
7
  *
7
- * Streams can be readable, writable, or both. All streams are instances of `EventEmitter`.
8
+ * Streams can be readable, writable, or both. All streams are instances of [`EventEmitter`](https://nodejs.org/docs/latest-v20.x/api/events.html#class-eventemitter).
8
9
  *
9
10
  * To access the `node:stream` module:
10
11
  *
@@ -14,7 +15,7 @@
14
15
  *
15
16
  * The `node:stream` module is useful for creating new types of stream instances.
16
17
  * It is usually not necessary to use the `node:stream` module to consume streams.
17
- * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/stream.js)
18
+ * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/stream.js)
18
19
  */
19
20
  declare module "stream" {
20
21
  import { Abortable, EventEmitter } from "node:events";
@@ -41,14 +42,20 @@ declare module "stream" {
41
42
  import Readable = internal.Readable;
42
43
  import ReadableOptions = internal.ReadableOptions;
43
44
  interface ArrayOptions {
44
- /** the maximum concurrent invocations of `fn` to call on the stream at once. **Default: 1**. */
45
+ /**
46
+ * The maximum concurrent invocations of `fn` to call on the stream at once.
47
+ * @default 1
48
+ */
45
49
  concurrency?: number;
46
- /** allows destroying the stream if the signal is aborted. */
50
+ /** Allows destroying the stream if the signal is aborted. */
47
51
  signal?: AbortSignal;
48
52
  }
49
53
  class ReadableBase extends Stream implements NodeJS.ReadableStream {
50
54
  /**
51
55
  * A utility method for creating Readable Streams out of iterators.
56
+ * @since v12.3.0, v10.17.0
57
+ * @param iterable Object implementing the `Symbol.asyncIterator` or `Symbol.iterator` iterable protocol. Emits an 'error' event if a null value is passed.
58
+ * @param options Options provided to `new stream.Readable([options])`. By default, `Readable.from()` will set `options.objectMode` to `true`, unless this is explicitly opted out by setting `options.objectMode` to `false`.
52
59
  */
53
60
  static from(iterable: Iterable<any> | AsyncIterable<any>, options?: ReadableOptions): Readable;
54
61
  /**
@@ -63,7 +70,7 @@ declare module "stream" {
63
70
  */
64
71
  readonly readableAborted: boolean;
65
72
  /**
66
- * Is `true` if it is safe to call `readable.read()`, which means
73
+ * Is `true` if it is safe to call {@link read}, which means
67
74
  * the stream has not been destroyed or emitted `'error'` or `'end'`.
68
75
  * @since v11.4.0
69
76
  */
@@ -75,18 +82,18 @@ declare module "stream" {
75
82
  */
76
83
  readonly readableDidRead: boolean;
77
84
  /**
78
- * Getter for the property `encoding` of a given `Readable` stream. The `encoding`property can be set using the `readable.setEncoding()` method.
85
+ * Getter for the property `encoding` of a given `Readable` stream. The `encoding` property can be set using the {@link setEncoding} method.
79
86
  * @since v12.7.0
80
87
  */
81
88
  readonly readableEncoding: BufferEncoding | null;
82
89
  /**
83
- * Becomes `true` when `'end'` event is emitted.
90
+ * Becomes `true` when [`'end'`](https://nodejs.org/docs/latest-v20.x/api/stream.html#event-end) event is emitted.
84
91
  * @since v12.9.0
85
92
  */
86
93
  readonly readableEnded: boolean;
87
94
  /**
88
95
  * This property reflects the current state of a `Readable` stream as described
89
- * in the `Three states` section.
96
+ * in the [Three states](https://nodejs.org/docs/latest-v20.x/api/stream.html#three-states) section.
90
97
  * @since v9.4.0
91
98
  */
92
99
  readonly readableFlowing: boolean | null;
@@ -132,9 +139,10 @@ declare module "stream" {
132
139
  * specified using the `readable.setEncoding()` method or the stream is operating
133
140
  * in object mode.
134
141
  *
135
- * The optional `size` argument specifies a specific number of bytes to read. If`size` bytes are not available to be read, `null` will be returned _unless_the stream has ended, in which
136
- * case all of the data remaining in the internal
137
- * buffer will be returned.
142
+ * The optional `size` argument specifies a specific number of bytes to read. If
143
+ * `size` bytes are not available to be read, `null` will be returned _unless_ the
144
+ * stream has ended, in which case all of the data remaining in the internal buffer
145
+ * will be returned.
138
146
  *
139
147
  * If the `size` argument is not specified, all of the data contained in the
140
148
  * internal buffer will be returned.
@@ -191,7 +199,7 @@ declare module "stream" {
191
199
  * ```
192
200
  *
193
201
  * A `Readable` stream in object mode will always return a single item from
194
- * a call to `readable.read(size)`, regardless of the value of the`size` argument.
202
+ * a call to `readable.read(size)`, regardless of the value of the `size` argument.
195
203
  *
196
204
  * If the `readable.read()` method returns a chunk of data, a `'data'` event will
197
205
  * also be emitted.
@@ -206,9 +214,9 @@ declare module "stream" {
206
214
  * The `readable.setEncoding()` method sets the character encoding for
207
215
  * data read from the `Readable` stream.
208
216
  *
209
- * By default, no encoding is assigned and stream data will be returned as`Buffer` objects. Setting an encoding causes the stream data
210
- * to be returned as strings of the specified encoding rather than as `Buffer`objects. For instance, calling `readable.setEncoding('utf8')` will cause the
211
- * output data to be interpreted as UTF-8 data, and passed as strings. Calling`readable.setEncoding('hex')` will cause the data to be encoded in hexadecimal
217
+ * By default, no encoding is assigned and stream data will be returned as `Buffer` objects. Setting an encoding causes the stream data
218
+ * to be returned as strings of the specified encoding rather than as `Buffer` objects. For instance, calling `readable.setEncoding('utf8')` will cause the
219
+ * output data to be interpreted as UTF-8 data, and passed as strings. Calling `readable.setEncoding('hex')` will cause the data to be encoded in hexadecimal
212
220
  * string format.
213
221
  *
214
222
  * The `Readable` stream will properly handle multi-byte characters delivered
@@ -245,7 +253,7 @@ declare module "stream" {
245
253
  * });
246
254
  * ```
247
255
  *
248
- * The `readable.pause()` method has no effect if there is a `'readable'`event listener.
256
+ * The `readable.pause()` method has no effect if there is a `'readable'` event listener.
249
257
  * @since v0.9.4
250
258
  */
251
259
  pause(): this;
@@ -269,9 +277,9 @@ declare module "stream" {
269
277
  */
270
278
  resume(): this;
271
279
  /**
272
- * The `readable.isPaused()` method returns the current operating state of the`Readable`. This is used primarily by the mechanism that underlies the`readable.pipe()` method. In most
273
- * typical cases, there will be no reason to
274
- * use this method directly.
280
+ * The `readable.isPaused()` method returns the current operating state of the `Readable`. This is
281
+ * used primarily by the mechanism that underlies the `readable.pipe()` method. In most typical cases,
282
+ * there will be no reason to use this method directly.
275
283
  *
276
284
  * ```js
277
285
  * const readable = new stream.Readable();
@@ -379,10 +387,10 @@ declare module "stream" {
379
387
  */
380
388
  unshift(chunk: any, encoding?: BufferEncoding): void;
381
389
  /**
382
- * Prior to Node.js 0.10, streams did not implement the entire `node:stream`module API as it is currently defined. (See `Compatibility` for more
390
+ * Prior to Node.js 0.10, streams did not implement the entire `node:stream` module API as it is currently defined. (See `Compatibility` for more
383
391
  * information.)
384
392
  *
385
- * When using an older Node.js library that emits `'data'` events and has a {@link pause} method that is advisory only, the`readable.wrap()` method can be used to create a `Readable`
393
+ * When using an older Node.js library that emits `'data'` events and has a {@link pause} method that is advisory only, the `readable.wrap()` method can be used to create a `Readable`
386
394
  * stream that uses
387
395
  * the old stream as its data source.
388
396
  *
@@ -565,8 +573,8 @@ declare module "stream" {
565
573
  ): Promise<T>;
566
574
  _destroy(error: Error | null, callback: (error?: Error | null) => void): void;
567
575
  /**
568
- * Destroy the stream. Optionally emit an `'error'` event, and emit a `'close'`event (unless `emitClose` is set to `false`). After this call, the readable
569
- * stream will release any internal resources and subsequent calls to `push()`will be ignored.
576
+ * Destroy the stream. Optionally emit an `'error'` event, and emit a `'close'` event (unless `emitClose` is set to `false`). After this call, the readable
577
+ * stream will release any internal resources and subsequent calls to `push()` will be ignored.
570
578
  *
571
579
  * Once `destroy()` has been called any further calls will be a no-op and no
572
580
  * further errors except from `_destroy()` may be emitted as `'error'`.
@@ -731,7 +739,7 @@ declare module "stream" {
731
739
  * first argument. The `callback` is called asynchronously and before `'error'` is
732
740
  * emitted.
733
741
  *
734
- * The return value is `true` if the internal buffer is less than the`highWaterMark` configured when the stream was created after admitting `chunk`.
742
+ * The return value is `true` if the internal buffer is less than the `highWaterMark` configured when the stream was created after admitting `chunk`.
735
743
  * If `false` is returned, further attempts to write data to the stream should
736
744
  * stop until the `'drain'` event is emitted.
737
745
  *
@@ -819,10 +827,10 @@ declare module "stream" {
819
827
  *
820
828
  * The primary intent of `writable.cork()` is to accommodate a situation in which
821
829
  * several small chunks are written to the stream in rapid succession. Instead of
822
- * immediately forwarding them to the underlying destination, `writable.cork()`buffers all the chunks until `writable.uncork()` is called, which will pass them
830
+ * immediately forwarding them to the underlying destination, `writable.cork()` buffers all the chunks until `writable.uncork()` is called, which will pass them
823
831
  * all to `writable._writev()`, if present. This prevents a head-of-line blocking
824
832
  * situation where data is being buffered while waiting for the first small chunk
825
- * to be processed. However, use of `writable.cork()` without implementing`writable._writev()` may have an adverse effect on throughput.
833
+ * to be processed. However, use of `writable.cork()` without implementing `writable._writev()` may have an adverse effect on throughput.
826
834
  *
827
835
  * See also: `writable.uncork()`, `writable._writev()`.
828
836
  * @since v0.11.2
@@ -832,7 +840,7 @@ declare module "stream" {
832
840
  * The `writable.uncork()` method flushes all data buffered since {@link cork} was called.
833
841
  *
834
842
  * When using `writable.cork()` and `writable.uncork()` to manage the buffering
835
- * of writes to a stream, defer calls to `writable.uncork()` using`process.nextTick()`. Doing so allows batching of all`writable.write()` calls that occur within a given Node.js event
843
+ * of writes to a stream, defer calls to `writable.uncork()` using `process.nextTick()`. Doing so allows batching of all `writable.write()` calls that occur within a given Node.js event
836
844
  * loop phase.
837
845
  *
838
846
  * ```js
@@ -863,10 +871,10 @@ declare module "stream" {
863
871
  */
864
872
  uncork(): void;
865
873
  /**
866
- * Destroy the stream. Optionally emit an `'error'` event, and emit a `'close'`event (unless `emitClose` is set to `false`). After this call, the writable
874
+ * Destroy the stream. Optionally emit an `'error'` event, and emit a `'close'` event (unless `emitClose` is set to `false`). After this call, the writable
867
875
  * stream has ended and subsequent calls to `write()` or `end()` will result in
868
876
  * an `ERR_STREAM_DESTROYED` error.
869
- * This is a destructive and immediate way to destroy a stream. Previous calls to`write()` may not have drained, and may trigger an `ERR_STREAM_DESTROYED` error.
877
+ * This is a destructive and immediate way to destroy a stream. Previous calls to `write()` may not have drained, and may trigger an `ERR_STREAM_DESTROYED` error.
870
878
  * Use `end()` instead of destroy if data should flush before close, or wait for
871
879
  * the `'drain'` event before destroying the stream.
872
880
  *
@@ -1061,8 +1069,8 @@ declare module "stream" {
1061
1069
  * readable side ends. Set initially by the `allowHalfOpen` constructor option,
1062
1070
  * which defaults to `true`.
1063
1071
  *
1064
- * This can be changed manually to change the half-open behavior of an existing`Duplex` stream instance, but must be changed before the `'end'` event is
1065
- * emitted.
1072
+ * This can be changed manually to change the half-open behavior of an existing
1073
+ * `Duplex` stream instance, but must be changed before the `'end'` event is emitted.
1066
1074
  * @since v0.9.4
1067
1075
  */
1068
1076
  allowHalfOpen: boolean;
@@ -1283,7 +1291,7 @@ declare module "stream" {
1283
1291
  }
1284
1292
  /**
1285
1293
  * The `stream.PassThrough` class is a trivial implementation of a `Transform` stream that simply passes the input bytes across to the output. Its purpose is
1286
- * primarily for examples and testing, but there are some use cases where`stream.PassThrough` is useful as a building block for novel sorts of streams.
1294
+ * primarily for examples and testing, but there are some use cases where `stream.PassThrough` is useful as a building block for novel sorts of streams.
1287
1295
  */
1288
1296
  class PassThrough extends Transform {}
1289
1297
  /**
@@ -1292,8 +1300,8 @@ declare module "stream" {
1292
1300
  * Attaches an AbortSignal to a readable or writeable stream. This lets code
1293
1301
  * control stream destruction using an `AbortController`.
1294
1302
  *
1295
- * Calling `abort` on the `AbortController` corresponding to the passed`AbortSignal` will behave the same way as calling `.destroy(new AbortError())`on the stream, and `controller.error(new
1296
- * AbortError())` for webstreams.
1303
+ * Calling `abort` on the `AbortController` corresponding to the passed `AbortSignal` will behave the same way as
1304
+ * calling `.destroy(new AbortError())` on the stream, and `controller.error(new AbortError())` for webstreams.
1297
1305
  *
1298
1306
  * ```js
1299
1307
  * const fs = require('node:fs');
@@ -1363,20 +1371,18 @@ declare module "stream" {
1363
1371
  * ```
1364
1372
  * @since v15.4.0
1365
1373
  * @param signal A signal representing possible cancellation
1366
- * @param stream a stream to attach a signal to
1374
+ * @param stream A stream to attach a signal to.
1367
1375
  */
1368
1376
  function addAbortSignal<T extends Stream>(signal: AbortSignal, stream: T): T;
1369
1377
  /**
1370
1378
  * Returns the default highWaterMark used by streams.
1371
1379
  * Defaults to `16384` (16 KiB), or `16` for `objectMode`.
1372
1380
  * @since v19.9.0
1373
- * @param objectMode
1374
1381
  */
1375
1382
  function getDefaultHighWaterMark(objectMode: boolean): number;
1376
1383
  /**
1377
1384
  * Sets the default highWaterMark used by streams.
1378
1385
  * @since v19.9.0
1379
- * @param objectMode
1380
1386
  * @param value highWaterMark value
1381
1387
  */
1382
1388
  function setDefaultHighWaterMark(objectMode: boolean, value: number): void;
@@ -1409,11 +1415,11 @@ declare module "stream" {
1409
1415
  * ```
1410
1416
  *
1411
1417
  * Especially useful in error handling scenarios where a stream is destroyed
1412
- * prematurely (like an aborted HTTP request), and will not emit `'end'`or `'finish'`.
1418
+ * prematurely (like an aborted HTTP request), and will not emit `'end'` or `'finish'`.
1413
1419
  *
1414
- * The `finished` API provides `promise version`.
1420
+ * The `finished` API provides [promise version](https://nodejs.org/docs/latest-v20.x/api/stream.html#streamfinishedstream-options).
1415
1421
  *
1416
- * `stream.finished()` leaves dangling event listeners (in particular`'error'`, `'end'`, `'finish'` and `'close'`) after `callback` has been
1422
+ * `stream.finished()` leaves dangling event listeners (in particular `'error'`, `'end'`, `'finish'` and `'close'`) after `callback` has been
1417
1423
  * invoked. The reason for this is so that unexpected `'error'` events (due to
1418
1424
  * incorrect stream implementations) do not cause unexpected crashes.
1419
1425
  * If this is unwanted behavior then the returned cleanup function needs to be
@@ -1428,7 +1434,7 @@ declare module "stream" {
1428
1434
  * @since v10.0.0
1429
1435
  * @param stream A readable and/or writable stream.
1430
1436
  * @param callback A callback function that takes an optional error argument.
1431
- * @return A cleanup function which removes all registered listeners.
1437
+ * @returns A cleanup function which removes all registered listeners.
1432
1438
  */
1433
1439
  function finished(
1434
1440
  stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream,
@@ -1499,7 +1505,7 @@ declare module "stream" {
1499
1505
  * );
1500
1506
  * ```
1501
1507
  *
1502
- * The `pipeline` API provides a `promise version`.
1508
+ * The `pipeline` API provides a [promise version](https://nodejs.org/docs/latest-v20.x/api/stream.html#streampipelinesource-transforms-destination-options).
1503
1509
  *
1504
1510
  * `stream.pipeline()` will call `stream.destroy(err)` on all streams except:
1505
1511
  *
@@ -1539,7 +1545,7 @@ declare module "stream" {
1539
1545
  function pipeline<A extends PipelineSource<any>, B extends PipelineDestination<A, any>>(
1540
1546
  source: A,
1541
1547
  destination: B,
1542
- callback?: PipelineCallback<B>,
1548
+ callback: PipelineCallback<B>,
1543
1549
  ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream;
1544
1550
  function pipeline<
1545
1551
  A extends PipelineSource<any>,
@@ -1549,7 +1555,7 @@ declare module "stream" {
1549
1555
  source: A,
1550
1556
  transform1: T1,
1551
1557
  destination: B,
1552
- callback?: PipelineCallback<B>,
1558
+ callback: PipelineCallback<B>,
1553
1559
  ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream;
1554
1560
  function pipeline<
1555
1561
  A extends PipelineSource<any>,
@@ -1561,7 +1567,7 @@ declare module "stream" {
1561
1567
  transform1: T1,
1562
1568
  transform2: T2,
1563
1569
  destination: B,
1564
- callback?: PipelineCallback<B>,
1570
+ callback: PipelineCallback<B>,
1565
1571
  ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream;
1566
1572
  function pipeline<
1567
1573
  A extends PipelineSource<any>,
@@ -1575,7 +1581,7 @@ declare module "stream" {
1575
1581
  transform2: T2,
1576
1582
  transform3: T3,
1577
1583
  destination: B,
1578
- callback?: PipelineCallback<B>,
1584
+ callback: PipelineCallback<B>,
1579
1585
  ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream;
1580
1586
  function pipeline<
1581
1587
  A extends PipelineSource<any>,
@@ -1591,11 +1597,11 @@ declare module "stream" {
1591
1597
  transform3: T3,
1592
1598
  transform4: T4,
1593
1599
  destination: B,
1594
- callback?: PipelineCallback<B>,
1600
+ callback: PipelineCallback<B>,
1595
1601
  ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream;
1596
1602
  function pipeline(
1597
1603
  streams: ReadonlyArray<NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream>,
1598
- callback?: (err: NodeJS.ErrnoException | null) => void,
1604
+ callback: (err: NodeJS.ErrnoException | null) => void,
1599
1605
  ): NodeJS.WritableStream;
1600
1606
  function pipeline(
1601
1607
  stream1: NodeJS.ReadableStream,