cloudstructs 0.6.32 → 0.6.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (599) hide show
  1. package/.gitattributes +1 -0
  2. package/.jsii +3 -3
  3. package/lib/codecommit-mirror/index.js +2 -2
  4. package/lib/dmarc/index.js +1 -1
  5. package/lib/ecs-service-roller/index.js +2 -2
  6. package/lib/email-receiver/receiver.js +1 -1
  7. package/lib/saml-identity-provider/index.js +2 -2
  8. package/lib/slack-app/manifest.js +1 -1
  9. package/lib/slack-app/slack-app.js +2 -2
  10. package/lib/slack-events/index.js +1 -1
  11. package/lib/slack-textract/index.js +1 -1
  12. package/lib/ssl-server-test/index.js +1 -1
  13. package/lib/state-machine-cr-provider/index.js +1 -1
  14. package/lib/static-website/index.js +1 -1
  15. package/lib/toolkit-cleaner/index.js +1 -1
  16. package/lib/url-shortener/index.js +1 -1
  17. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  18. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +86 -75
  19. package/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +66 -49
  20. package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +136 -97
  21. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +81 -55
  22. package/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +12 -12
  23. package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +5 -5
  24. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +210 -221
  25. package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +15 -15
  26. package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
  27. package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +50 -6
  28. package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +25 -16
  29. package/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +4 -4
  30. package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +111 -65
  31. package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +80 -49
  32. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +162 -91
  33. package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +3 -1
  34. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +195 -129
  35. package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +42 -46
  36. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +52 -153
  37. package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +1 -1
  38. package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +10 -3
  39. package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +5 -4
  40. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +21 -18
  41. package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +22 -18
  42. package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
  43. package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +4 -4
  44. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +28 -15
  45. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +43 -46
  46. package/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +1 -1
  47. package/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +5 -5
  48. package/node_modules/@slack/logger/node_modules/@types/node/readline/promises.d.ts +65 -63
  49. package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +32 -159
  50. package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +20 -20
  51. package/node_modules/@slack/logger/node_modules/@types/node/stream/consumers.d.ts +1 -1
  52. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +839 -857
  53. package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +6 -6
  54. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +498 -206
  55. package/node_modules/@slack/logger/node_modules/@types/node/timers/promises.d.ts +3 -3
  56. package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +122 -8
  57. package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +34 -22
  58. package/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +20 -9
  59. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/assert.d.ts +86 -75
  60. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/async_hooks.d.ts +66 -49
  61. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/buffer.d.ts +137 -99
  62. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/child_process.d.ts +81 -55
  63. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
  64. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/console.d.ts +5 -5
  65. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/crypto.d.ts +210 -221
  66. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
  67. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
  68. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/dns/promises.d.ts +50 -6
  69. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/dns.d.ts +25 -16
  70. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  71. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/events.d.ts +111 -65
  72. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
  73. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/fs.d.ts +243 -72
  74. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/globals.d.ts +20 -11
  75. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/http.d.ts +202 -129
  76. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
  77. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/https.d.ts +52 -153
  78. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
  79. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/module.d.ts +5 -4
  80. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/net.d.ts +24 -21
  81. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/os.d.ts +22 -18
  82. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/path.d.ts +4 -4
  83. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
  84. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/process.d.ts +43 -46
  85. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
  86. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
  87. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/readline/promises.d.ts +65 -63
  88. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/readline.d.ts +32 -159
  89. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/repl.d.ts +20 -20
  90. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
  91. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
  92. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
  93. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/test.d.ts +498 -206
  94. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
  95. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/timers.d.ts +125 -4
  96. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
  97. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
  98. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
  99. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/url.d.ts +46 -42
  100. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/util.d.ts +150 -109
  101. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
  102. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
  103. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
  104. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
  105. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
  106. package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +4 -5
  107. package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +46 -42
  108. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +150 -109
  109. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +204 -16
  110. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +292 -42
  111. package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +13 -19
  112. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +38 -34
  113. package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +11 -11
  114. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  115. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +86 -75
  116. package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +66 -49
  117. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +136 -97
  118. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +81 -55
  119. package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +12 -12
  120. package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +5 -5
  121. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +210 -221
  122. package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +15 -15
  123. package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
  124. package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +50 -6
  125. package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +25 -16
  126. package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +4 -4
  127. package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +111 -65
  128. package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +80 -49
  129. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +162 -91
  130. package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +3 -1
  131. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +195 -129
  132. package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +42 -46
  133. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +52 -153
  134. package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +1 -1
  135. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +10 -3
  136. package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +5 -4
  137. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +21 -18
  138. package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +22 -18
  139. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  140. package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +4 -4
  141. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +28 -15
  142. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +43 -46
  143. package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +1 -1
  144. package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +5 -5
  145. package/node_modules/@slack/web-api/node_modules/@types/node/readline/promises.d.ts +65 -63
  146. package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +32 -159
  147. package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +20 -20
  148. package/node_modules/@slack/web-api/node_modules/@types/node/stream/consumers.d.ts +1 -1
  149. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +839 -857
  150. package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +6 -6
  151. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +498 -206
  152. package/node_modules/@slack/web-api/node_modules/@types/node/timers/promises.d.ts +3 -3
  153. package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +122 -8
  154. package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +34 -22
  155. package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +20 -9
  156. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/assert.d.ts +86 -75
  157. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/async_hooks.d.ts +66 -49
  158. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/buffer.d.ts +137 -99
  159. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/child_process.d.ts +81 -55
  160. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
  161. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/console.d.ts +5 -5
  162. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/crypto.d.ts +210 -221
  163. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
  164. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
  165. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/dns/promises.d.ts +50 -6
  166. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/dns.d.ts +25 -16
  167. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  168. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/events.d.ts +111 -65
  169. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
  170. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/fs.d.ts +243 -72
  171. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/globals.d.ts +20 -11
  172. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/http.d.ts +202 -129
  173. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
  174. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/https.d.ts +52 -153
  175. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
  176. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/module.d.ts +5 -4
  177. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/net.d.ts +24 -21
  178. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/os.d.ts +22 -18
  179. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/path.d.ts +4 -4
  180. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
  181. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/process.d.ts +43 -46
  182. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
  183. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
  184. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/readline/promises.d.ts +65 -63
  185. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/readline.d.ts +32 -159
  186. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/repl.d.ts +20 -20
  187. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
  188. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
  189. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
  190. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/test.d.ts +498 -206
  191. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
  192. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/timers.d.ts +125 -4
  193. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
  194. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
  195. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
  196. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/url.d.ts +46 -42
  197. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/util.d.ts +150 -109
  198. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
  199. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
  200. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
  201. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
  202. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
  203. package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +4 -5
  204. package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +46 -42
  205. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +150 -109
  206. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +204 -16
  207. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +292 -42
  208. package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +13 -19
  209. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +38 -34
  210. package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +11 -11
  211. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  212. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +86 -75
  213. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +66 -49
  214. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +136 -97
  215. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +81 -55
  216. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +12 -12
  217. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +5 -5
  218. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +210 -221
  219. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +15 -15
  220. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
  221. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +50 -6
  222. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +25 -16
  223. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +4 -4
  224. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +111 -65
  225. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +80 -49
  226. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +162 -91
  227. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +3 -1
  228. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +195 -129
  229. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +42 -46
  230. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +52 -153
  231. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +1 -1
  232. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +10 -3
  233. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +5 -4
  234. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +21 -18
  235. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +22 -18
  236. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  237. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +4 -4
  238. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +28 -15
  239. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +43 -46
  240. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +1 -1
  241. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +5 -5
  242. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline/promises.d.ts +65 -63
  243. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +32 -159
  244. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +20 -20
  245. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/consumers.d.ts +1 -1
  246. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +839 -857
  247. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +6 -6
  248. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +498 -206
  249. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +3 -3
  250. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +122 -8
  251. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +34 -22
  252. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +20 -9
  253. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/assert.d.ts +86 -75
  254. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/async_hooks.d.ts +66 -49
  255. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/buffer.d.ts +137 -99
  256. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/child_process.d.ts +81 -55
  257. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
  258. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/console.d.ts +5 -5
  259. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/crypto.d.ts +210 -221
  260. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
  261. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
  262. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dns/promises.d.ts +50 -6
  263. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dns.d.ts +25 -16
  264. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  265. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/events.d.ts +111 -65
  266. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
  267. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/fs.d.ts +243 -72
  268. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/globals.d.ts +20 -11
  269. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/http.d.ts +202 -129
  270. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
  271. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/https.d.ts +52 -153
  272. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
  273. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/module.d.ts +5 -4
  274. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/net.d.ts +24 -21
  275. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/os.d.ts +22 -18
  276. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/path.d.ts +4 -4
  277. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
  278. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/process.d.ts +43 -46
  279. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
  280. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
  281. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/readline/promises.d.ts +65 -63
  282. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/readline.d.ts +32 -159
  283. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/repl.d.ts +20 -20
  284. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
  285. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
  286. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
  287. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/test.d.ts +498 -206
  288. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
  289. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/timers.d.ts +125 -4
  290. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
  291. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
  292. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
  293. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/url.d.ts +46 -42
  294. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/util.d.ts +150 -109
  295. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
  296. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
  297. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
  298. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
  299. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
  300. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +4 -5
  301. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +46 -42
  302. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +150 -109
  303. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +204 -16
  304. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +292 -42
  305. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +13 -19
  306. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +38 -34
  307. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +11 -11
  308. package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
  309. package/node_modules/@types/is-stream/node_modules/@types/node/assert.d.ts +86 -75
  310. package/node_modules/@types/is-stream/node_modules/@types/node/async_hooks.d.ts +66 -49
  311. package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +136 -97
  312. package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +81 -55
  313. package/node_modules/@types/is-stream/node_modules/@types/node/cluster.d.ts +12 -12
  314. package/node_modules/@types/is-stream/node_modules/@types/node/console.d.ts +5 -5
  315. package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +210 -221
  316. package/node_modules/@types/is-stream/node_modules/@types/node/dgram.d.ts +15 -15
  317. package/node_modules/@types/is-stream/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
  318. package/node_modules/@types/is-stream/node_modules/@types/node/dns/promises.d.ts +50 -6
  319. package/node_modules/@types/is-stream/node_modules/@types/node/dns.d.ts +25 -16
  320. package/node_modules/@types/is-stream/node_modules/@types/node/domain.d.ts +4 -4
  321. package/node_modules/@types/is-stream/node_modules/@types/node/events.d.ts +111 -65
  322. package/node_modules/@types/is-stream/node_modules/@types/node/fs/promises.d.ts +80 -49
  323. package/node_modules/@types/is-stream/node_modules/@types/node/fs.d.ts +162 -91
  324. package/node_modules/@types/is-stream/node_modules/@types/node/globals.d.ts +3 -1
  325. package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +195 -129
  326. package/node_modules/@types/is-stream/node_modules/@types/node/http2.d.ts +42 -46
  327. package/node_modules/@types/is-stream/node_modules/@types/node/https.d.ts +52 -153
  328. package/node_modules/@types/is-stream/node_modules/@types/node/index.d.ts +1 -1
  329. package/node_modules/@types/is-stream/node_modules/@types/node/inspector.d.ts +10 -3
  330. package/node_modules/@types/is-stream/node_modules/@types/node/module.d.ts +5 -4
  331. package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +21 -18
  332. package/node_modules/@types/is-stream/node_modules/@types/node/os.d.ts +22 -18
  333. package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
  334. package/node_modules/@types/is-stream/node_modules/@types/node/path.d.ts +4 -4
  335. package/node_modules/@types/is-stream/node_modules/@types/node/perf_hooks.d.ts +28 -15
  336. package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +43 -46
  337. package/node_modules/@types/is-stream/node_modules/@types/node/punycode.d.ts +1 -1
  338. package/node_modules/@types/is-stream/node_modules/@types/node/querystring.d.ts +5 -5
  339. package/node_modules/@types/is-stream/node_modules/@types/node/readline/promises.d.ts +65 -63
  340. package/node_modules/@types/is-stream/node_modules/@types/node/readline.d.ts +32 -159
  341. package/node_modules/@types/is-stream/node_modules/@types/node/repl.d.ts +20 -20
  342. package/node_modules/@types/is-stream/node_modules/@types/node/stream/consumers.d.ts +1 -1
  343. package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +839 -857
  344. package/node_modules/@types/is-stream/node_modules/@types/node/string_decoder.d.ts +6 -6
  345. package/node_modules/@types/is-stream/node_modules/@types/node/test.d.ts +498 -206
  346. package/node_modules/@types/is-stream/node_modules/@types/node/timers/promises.d.ts +3 -3
  347. package/node_modules/@types/is-stream/node_modules/@types/node/timers.d.ts +122 -8
  348. package/node_modules/@types/is-stream/node_modules/@types/node/tls.d.ts +34 -22
  349. package/node_modules/@types/is-stream/node_modules/@types/node/trace_events.d.ts +20 -9
  350. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/assert.d.ts +86 -75
  351. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/async_hooks.d.ts +66 -49
  352. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/buffer.d.ts +137 -99
  353. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/child_process.d.ts +81 -55
  354. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
  355. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/console.d.ts +5 -5
  356. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/crypto.d.ts +210 -221
  357. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
  358. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
  359. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/dns/promises.d.ts +50 -6
  360. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/dns.d.ts +25 -16
  361. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  362. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/events.d.ts +111 -65
  363. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
  364. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/fs.d.ts +243 -72
  365. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/globals.d.ts +20 -11
  366. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/http.d.ts +202 -129
  367. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
  368. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/https.d.ts +52 -153
  369. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
  370. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/module.d.ts +5 -4
  371. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/net.d.ts +24 -21
  372. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/os.d.ts +22 -18
  373. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/path.d.ts +4 -4
  374. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
  375. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/process.d.ts +43 -46
  376. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
  377. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
  378. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/readline/promises.d.ts +65 -63
  379. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/readline.d.ts +32 -159
  380. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/repl.d.ts +20 -20
  381. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
  382. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
  383. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
  384. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/test.d.ts +498 -206
  385. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
  386. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/timers.d.ts +125 -4
  387. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
  388. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
  389. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
  390. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/url.d.ts +46 -42
  391. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/util.d.ts +150 -109
  392. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
  393. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
  394. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
  395. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
  396. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
  397. package/node_modules/@types/is-stream/node_modules/@types/node/tty.d.ts +4 -5
  398. package/node_modules/@types/is-stream/node_modules/@types/node/url.d.ts +46 -42
  399. package/node_modules/@types/is-stream/node_modules/@types/node/util.d.ts +150 -109
  400. package/node_modules/@types/is-stream/node_modules/@types/node/v8.d.ts +204 -16
  401. package/node_modules/@types/is-stream/node_modules/@types/node/vm.d.ts +292 -42
  402. package/node_modules/@types/is-stream/node_modules/@types/node/wasi.d.ts +13 -19
  403. package/node_modules/@types/is-stream/node_modules/@types/node/worker_threads.d.ts +38 -34
  404. package/node_modules/@types/is-stream/node_modules/@types/node/zlib.d.ts +11 -11
  405. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  406. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +86 -75
  407. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +66 -49
  408. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +136 -97
  409. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +81 -55
  410. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +12 -12
  411. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +5 -5
  412. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +210 -221
  413. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +15 -15
  414. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
  415. package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +50 -6
  416. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +25 -16
  417. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +4 -4
  418. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +111 -65
  419. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +80 -49
  420. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +162 -91
  421. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +3 -1
  422. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +195 -129
  423. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +42 -46
  424. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +52 -153
  425. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +1 -1
  426. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +10 -3
  427. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +5 -4
  428. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +21 -18
  429. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +22 -18
  430. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  431. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +4 -4
  432. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +28 -15
  433. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +43 -46
  434. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +1 -1
  435. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +5 -5
  436. package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +65 -63
  437. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +32 -159
  438. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +20 -20
  439. package/node_modules/@types/keyv/node_modules/@types/node/stream/consumers.d.ts +1 -1
  440. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +839 -857
  441. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +6 -6
  442. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +498 -206
  443. package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +3 -3
  444. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +122 -8
  445. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +34 -22
  446. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +20 -9
  447. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/assert.d.ts +86 -75
  448. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/async_hooks.d.ts +66 -49
  449. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/buffer.d.ts +137 -99
  450. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/child_process.d.ts +81 -55
  451. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
  452. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/console.d.ts +5 -5
  453. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/crypto.d.ts +210 -221
  454. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
  455. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
  456. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dns/promises.d.ts +50 -6
  457. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dns.d.ts +25 -16
  458. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  459. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/events.d.ts +111 -65
  460. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
  461. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/fs.d.ts +243 -72
  462. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/globals.d.ts +20 -11
  463. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/http.d.ts +202 -129
  464. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
  465. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/https.d.ts +52 -153
  466. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
  467. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/module.d.ts +5 -4
  468. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/net.d.ts +24 -21
  469. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/os.d.ts +22 -18
  470. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/path.d.ts +4 -4
  471. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
  472. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/process.d.ts +43 -46
  473. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
  474. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
  475. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/readline/promises.d.ts +65 -63
  476. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/readline.d.ts +32 -159
  477. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/repl.d.ts +20 -20
  478. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
  479. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
  480. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
  481. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/test.d.ts +498 -206
  482. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
  483. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/timers.d.ts +125 -4
  484. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
  485. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
  486. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
  487. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/url.d.ts +46 -42
  488. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/util.d.ts +150 -109
  489. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
  490. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
  491. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
  492. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
  493. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
  494. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +4 -5
  495. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +46 -42
  496. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +150 -109
  497. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +204 -16
  498. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +292 -42
  499. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +13 -19
  500. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +38 -34
  501. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +11 -11
  502. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  503. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +86 -75
  504. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +66 -49
  505. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +136 -97
  506. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +81 -55
  507. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +12 -12
  508. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +5 -5
  509. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +210 -221
  510. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +15 -15
  511. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
  512. package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +50 -6
  513. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +25 -16
  514. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +4 -4
  515. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +111 -65
  516. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +80 -49
  517. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +162 -91
  518. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +3 -1
  519. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +195 -129
  520. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +42 -46
  521. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +52 -153
  522. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +1 -1
  523. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +10 -3
  524. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +5 -4
  525. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +21 -18
  526. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +22 -18
  527. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  528. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +4 -4
  529. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +28 -15
  530. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +43 -46
  531. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +1 -1
  532. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +5 -5
  533. package/node_modules/@types/responselike/node_modules/@types/node/readline/promises.d.ts +65 -63
  534. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +32 -159
  535. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +20 -20
  536. package/node_modules/@types/responselike/node_modules/@types/node/stream/consumers.d.ts +1 -1
  537. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +839 -857
  538. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +6 -6
  539. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +498 -206
  540. package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +3 -3
  541. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +122 -8
  542. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +34 -22
  543. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +20 -9
  544. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/assert.d.ts +86 -75
  545. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/async_hooks.d.ts +66 -49
  546. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/buffer.d.ts +137 -99
  547. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/child_process.d.ts +81 -55
  548. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
  549. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/console.d.ts +5 -5
  550. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/crypto.d.ts +210 -221
  551. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
  552. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
  553. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dns/promises.d.ts +50 -6
  554. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dns.d.ts +25 -16
  555. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  556. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/events.d.ts +111 -65
  557. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
  558. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/fs.d.ts +243 -72
  559. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/globals.d.ts +20 -11
  560. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/http.d.ts +202 -129
  561. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
  562. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/https.d.ts +52 -153
  563. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
  564. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/module.d.ts +5 -4
  565. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/net.d.ts +24 -21
  566. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/os.d.ts +22 -18
  567. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/path.d.ts +4 -4
  568. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
  569. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/process.d.ts +43 -46
  570. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
  571. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
  572. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/readline/promises.d.ts +65 -63
  573. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/readline.d.ts +32 -159
  574. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/repl.d.ts +20 -20
  575. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
  576. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
  577. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
  578. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/test.d.ts +498 -206
  579. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
  580. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/timers.d.ts +125 -4
  581. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
  582. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
  583. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
  584. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/url.d.ts +46 -42
  585. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/util.d.ts +150 -109
  586. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
  587. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
  588. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
  589. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
  590. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
  591. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +4 -5
  592. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +46 -42
  593. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +150 -109
  594. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +204 -16
  595. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +292 -42
  596. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +13 -19
  597. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +38 -34
  598. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +11 -11
  599. package/package.json +20 -20
@@ -1,23 +1,28 @@
1
1
  /**
2
- * The `readline/promise` module provides an API for reading lines of input from a Readable stream one line at a time.
3
- *
4
- * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/readline/promises.js)
5
2
  * @since v17.0.0
3
+ * @experimental
6
4
  */
7
5
  declare module 'readline/promises' {
8
6
  import { Interface as _Interface, ReadLineOptions, Completer, AsyncCompleter, Direction } from 'node:readline';
9
7
  import { Abortable } from 'node:events';
10
-
8
+ /**
9
+ * Instances of the `readlinePromises.Interface` class are constructed using the`readlinePromises.createInterface()` method. Every instance is associated with a
10
+ * single `input` `Readable` stream and a single `output` `Writable` stream.
11
+ * The `output` stream is used to print prompts for user input that arrives on,
12
+ * and is read from, the `input` stream.
13
+ * @since v17.0.0
14
+ */
11
15
  class Interface extends _Interface {
12
16
  /**
13
- * The rl.question() method displays the query by writing it to the output, waits for user input to be provided on input,
14
- * then invokes the callback function passing the provided input as the first argument.
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.
15
19
  *
16
- * When called, rl.question() will resume the input stream if it has been paused.
20
+ * When called, `rl.question()` will resume the `input` stream if it has been
21
+ * paused.
17
22
  *
18
- * If the readlinePromises.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.
19
24
  *
20
- * If the question is called after rl.close(), it returns a rejected promise.
25
+ * If the question is called after `rl.close()`, it returns a rejected promise.
21
26
  *
22
27
  * Example usage:
23
28
  *
@@ -26,7 +31,7 @@ declare module 'readline/promises' {
26
31
  * console.log(`Oh, so your favorite food is ${answer}`);
27
32
  * ```
28
33
  *
29
- * Using an AbortSignal to cancel a question.
34
+ * Using an `AbortSignal` to cancel a question.
30
35
  *
31
36
  * ```js
32
37
  * const signal = AbortSignal.timeout(10_000);
@@ -38,61 +43,87 @@ declare module 'readline/promises' {
38
43
  * const answer = await rl.question('What is your favorite food? ', { signal });
39
44
  * console.log(`Oh, so your favorite food is ${answer}`);
40
45
  * ```
41
- *
42
46
  * @since v17.0.0
43
- * @param query A statement or query to write to output, prepended to the prompt.
47
+ * @param query A statement or query to write to `output`, prepended to the prompt.
48
+ * @return A promise that is fulfilled with the user's input in response to the `query`.
44
49
  */
45
50
  question(query: string): Promise<string>;
46
51
  question(query: string, options: Abortable): Promise<string>;
47
52
  }
48
-
53
+ /**
54
+ * @since v17.0.0
55
+ */
49
56
  class Readline {
50
57
  /**
51
58
  * @param stream A TTY stream.
52
59
  */
53
- constructor(stream: NodeJS.WritableStream, options?: { autoCommit?: boolean });
60
+ constructor(
61
+ stream: NodeJS.WritableStream,
62
+ options?: {
63
+ autoCommit?: boolean;
64
+ }
65
+ );
54
66
  /**
55
- * The `rl.clearLine()` method adds to the internal list of pending action an action that clears current line of the associated `stream` in a specified direction identified by `dir`.
56
- * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true` was passed to the constructor.
67
+ * The `rl.clearLine()` method adds to the internal list of pending action an
68
+ * action that clears current line of the associated `stream` in a specified
69
+ * direction identified by `dir`.
70
+ * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor.
71
+ * @since v17.0.0
72
+ * @return this
57
73
  */
58
74
  clearLine(dir: Direction): this;
59
75
  /**
60
- * The `rl.clearScreenDown()` method adds to the internal list of pending action an action that clears the associated `stream` from the current position of the cursor down.
61
- * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true` was passed to the constructor.
76
+ * The `rl.clearScreenDown()` method adds to the internal list of pending action an
77
+ * action that clears the associated stream from the current position of the
78
+ * cursor down.
79
+ * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor.
80
+ * @since v17.0.0
81
+ * @return this
62
82
  */
63
83
  clearScreenDown(): this;
64
84
  /**
65
- * 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
+ * @since v17.0.0
66
87
  */
67
88
  commit(): Promise<void>;
68
89
  /**
69
- * The `rl.cursorTo()` method adds to the internal list of pending action an action that moves cursor to the specified position in the associated `stream`.
70
- * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true` was passed to the constructor.
90
+ * The `rl.cursorTo()` method adds to the internal list of pending action an action
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.
93
+ * @since v17.0.0
94
+ * @return this
71
95
  */
72
96
  cursorTo(x: number, y?: number): this;
73
97
  /**
74
- * The `rl.moveCursor()` method adds to the internal list of pending action an action that moves the cursor relative to its current position in the associated `stream`.
75
- * Call `rl.commit()` to see the effect of this method, unless autoCommit: true was passed to the constructor.
98
+ * The `rl.moveCursor()` method adds to the internal list of pending action an
99
+ * action that moves the cursor _relative_ to its current position in the
100
+ * associated `stream`.
101
+ * Call `rl.commit()` to see the effect of this method, unless `autoCommit: true`was passed to the constructor.
102
+ * @since v17.0.0
103
+ * @return this
76
104
  */
77
105
  moveCursor(dx: number, dy: number): this;
78
106
  /**
79
- * The `rl.rollback()` method clears the internal list of pending actions without sending it to the associated `stream`.
107
+ * The `rl.rollback` methods clears the internal list of pending actions without
108
+ * sending it to the associated `stream`.
109
+ * @since v17.0.0
110
+ * @return this
80
111
  */
81
112
  rollback(): this;
82
113
  }
83
-
84
114
  /**
85
- * The `readlinePromises.createInterface()` method creates a new `readlinePromises.Interface` instance.
115
+ * The `readlinePromises.createInterface()` method creates a new `readlinePromises.Interface`instance.
86
116
  *
87
117
  * ```js
88
118
  * const readlinePromises = require('node:readline/promises');
89
119
  * const rl = readlinePromises.createInterface({
90
120
  * input: process.stdin,
91
- * output: process.stdout
121
+ * output: process.stdout,
92
122
  * });
93
123
  * ```
94
124
  *
95
- * Once the `readlinePromises.Interface` instance is created, the most common case is to listen for the `'line'` event:
125
+ * Once the `readlinePromises.Interface` instance is created, the most common case
126
+ * is to listen for the `'line'` event:
96
127
  *
97
128
  * ```js
98
129
  * rl.on('line', (line) => {
@@ -100,42 +131,13 @@ declare module 'readline/promises' {
100
131
  * });
101
132
  * ```
102
133
  *
103
- * If `terminal` is `true` for this instance then the `output` stream will get the best compatibility if it defines an `output.columns` property,
104
- * and emits a `'resize'` event on the `output`, if or when the columns ever change (`process.stdout` does this automatically when it is a TTY).
105
- *
106
- * ## Use of the `completer` function
107
- *
108
- * The `completer` function takes the current line entered by the user as an argument, and returns an `Array` with 2 entries:
109
- *
110
- * - An Array with matching entries for the completion.
111
- * - The substring that was used for the matching.
112
- *
113
- * For instance: `[[substr1, substr2, ...], originalsubstring]`.
114
- *
115
- * ```js
116
- * function completer(line) {
117
- * const completions = '.help .error .exit .quit .q'.split(' ');
118
- * const hits = completions.filter((c) => c.startsWith(line));
119
- * // Show all completions if none found
120
- * return [hits.length ? hits : completions, line];
121
- * }
122
- * ```
123
- *
124
- * The `completer` function can also returns a `Promise`, or be asynchronous:
125
- *
126
- * ```js
127
- * async function completer(linePartial) {
128
- * await someAsyncWork();
129
- * return [['123'], linePartial];
130
- * }
131
- * ```
134
+ * If `terminal` is `true` for this instance then the `output` stream will get
135
+ * the best compatibility if it defines an `output.columns` property and emits
136
+ * a `'resize'` event on the `output` if or when the columns ever change
137
+ * (`process.stdout` does this automatically when it is a TTY).
138
+ * @since v17.0.0
132
139
  */
133
- function createInterface(
134
- input: NodeJS.ReadableStream,
135
- output?: NodeJS.WritableStream,
136
- completer?: Completer | AsyncCompleter,
137
- terminal?: boolean,
138
- ): Interface;
140
+ function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean): Interface;
139
141
  function createInterface(options: ReadLineOptions): Interface;
140
142
  }
141
143
  declare module 'node:readline/promises' {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The `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` stream (such as `process.stdin`) one line at a time.
3
3
  *
4
4
  * To use the promise-based APIs:
5
5
  *
@@ -13,7 +13,7 @@
13
13
  * import * as readline from 'node:readline';
14
14
  * ```
15
15
  *
16
- * The following simple example illustrates the basic use of the `readline` module.
16
+ * The following simple example illustrates the basic use of the `node:readline`module.
17
17
  *
18
18
  * ```js
19
19
  * import * as readline from 'node:readline/promises';
@@ -30,12 +30,11 @@
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
32
  * received on the `input` stream.
33
- * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/readline.js)
33
+ * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/readline.js)
34
34
  */
35
35
  declare module 'readline' {
36
36
  import { Abortable, EventEmitter } from 'node:events';
37
37
  import * as promises from 'node:readline/promises';
38
-
39
38
  export { promises };
40
39
  export interface Key {
41
40
  sequence?: string | undefined;
@@ -74,7 +73,7 @@ declare module 'readline' {
74
73
  * const showResults = debounce(() => {
75
74
  * console.log(
76
75
  * '\n',
77
- * values.filter((val) => val.startsWith(rl.line)).join(' ')
76
+ * values.filter((val) => val.startsWith(rl.line)).join(' '),
78
77
  * );
79
78
  * }, 300);
80
79
  * process.stdin.on('keypress', (c, k) => {
@@ -100,7 +99,7 @@ declare module 'readline' {
100
99
  * > Instances of the `readline.Interface` class are constructed using the
101
100
  * > `readline.createInterface()` method.
102
101
  *
103
- * @see https://nodejs.org/dist/latest-v10.x/docs/api/readline.html#readline_class_interface
102
+ * @see https://nodejs.org/dist/latest-v20.x/docs/api/readline.html#class-interfaceconstructor
104
103
  */
105
104
  protected constructor(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean);
106
105
  /**
@@ -109,12 +108,12 @@ declare module 'readline' {
109
108
  * > Instances of the `readline.Interface` class are constructed using the
110
109
  * > `readline.createInterface()` method.
111
110
  *
112
- * @see https://nodejs.org/dist/latest-v10.x/docs/api/readline.html#readline_class_interface
111
+ * @see https://nodejs.org/dist/latest-v20.x/docs/api/readline.html#class-interfaceconstructor
113
112
  */
114
113
  protected constructor(options: ReadLineOptions);
115
114
  /**
116
115
  * The `rl.getPrompt()` method returns the current prompt used by `rl.prompt()`.
117
- * @since v15.3.0
116
+ * @since v15.3.0, v14.17.0
118
117
  * @return the current prompt string
119
118
  */
120
119
  getPrompt(): string;
@@ -124,13 +123,13 @@ declare module 'readline' {
124
123
  */
125
124
  setPrompt(prompt: string): void;
126
125
  /**
127
- * The `rl.prompt()` method writes the `readline.Interface` instances configured`prompt` to a new line in `output` in order to provide a user with a new
126
+ * The `rl.prompt()` method writes the `Interface` instances configured`prompt` to a new line in `output` in order to provide a user with a new
128
127
  * location at which to provide input.
129
128
  *
130
129
  * When called, `rl.prompt()` will resume the `input` stream if it has been
131
130
  * paused.
132
131
  *
133
- * If the `readline.Interface` was created with `output` set to `null` or`undefined` the prompt is not written.
132
+ * If the `Interface` was created with `output` set to `null` or`undefined` the prompt is not written.
134
133
  * @since v0.1.98
135
134
  * @param preserveCursor If `true`, prevents the cursor placement from being reset to `0`.
136
135
  */
@@ -142,12 +141,14 @@ declare module 'readline' {
142
141
  * When called, `rl.question()` will resume the `input` stream if it has been
143
142
  * paused.
144
143
  *
145
- * If the `readline.Interface` was created with `output` set to `null` or`undefined` the `query` is not written.
144
+ * If the `Interface` was created with `output` set to `null` or`undefined` the `query` is not written.
146
145
  *
147
146
  * The `callback` function passed to `rl.question()` does not follow the typical
148
147
  * pattern of accepting an `Error` object or `null` as the first argument.
149
148
  * The `callback` is called with the provided answer as the only argument.
150
149
  *
150
+ * An error will be thrown if calling `rl.question()` after `rl.close()`.
151
+ *
151
152
  * Example usage:
152
153
  *
153
154
  * ```js
@@ -172,25 +173,6 @@ declare module 'readline' {
172
173
  *
173
174
  * setTimeout(() => ac.abort(), 10000);
174
175
  * ```
175
- *
176
- * If this method is invoked as it's util.promisify()ed version, it returns a
177
- * Promise that fulfills with the answer. If the question is canceled using
178
- * an `AbortController` it will reject with an `AbortError`.
179
- *
180
- * ```js
181
- * const util = require('util');
182
- * const question = util.promisify(rl.question).bind(rl);
183
- *
184
- * async function questionExample() {
185
- * try {
186
- * const answer = await question('What is you favorite food? ');
187
- * console.log(`Oh, so your favorite food is ${answer}`);
188
- * } catch (err) {
189
- * console.error('Question rejected', err);
190
- * }
191
- * }
192
- * questionExample();
193
- * ```
194
176
  * @since v0.3.3
195
177
  * @param query A statement or query to write to `output`, prepended to the prompt.
196
178
  * @param callback A callback function that is invoked with the user's input in response to the `query`.
@@ -201,7 +183,7 @@ declare module 'readline' {
201
183
  * The `rl.pause()` method pauses the `input` stream, allowing it to be resumed
202
184
  * later if necessary.
203
185
  *
204
- * Calling `rl.pause()` does not immediately pause other events (including`'line'`) from being emitted by the `readline.Interface` instance.
186
+ * Calling `rl.pause()` does not immediately pause other events (including`'line'`) from being emitted by the `Interface` instance.
205
187
  * @since v0.3.4
206
188
  */
207
189
  pause(): this;
@@ -211,12 +193,12 @@ declare module 'readline' {
211
193
  */
212
194
  resume(): this;
213
195
  /**
214
- * The `rl.close()` method closes the `readline.Interface` instance and
196
+ * The `rl.close()` method closes the `Interface` instance and
215
197
  * relinquishes control over the `input` and `output` streams. When called,
216
198
  * the `'close'` event will be emitted.
217
199
  *
218
200
  * Calling `rl.close()` does not immediately stop other events (including `'line'`)
219
- * from being emitted by the `readline.Interface` instance.
201
+ * from being emitted by the `Interface` instance.
220
202
  * @since v0.1.98
221
203
  */
222
204
  close(): void;
@@ -231,7 +213,7 @@ declare module 'readline' {
231
213
  * When called, `rl.write()` will resume the `input` stream if it has been
232
214
  * paused.
233
215
  *
234
- * If the `readline.Interface` was created with `output` set to `null` or`undefined` the `data` and `key` are not written.
216
+ * If the `Interface` was created with `output` set to `null` or`undefined` the `data` and `key` are not written.
235
217
  *
236
218
  * ```js
237
219
  * rl.write('Delete this!');
@@ -351,10 +333,10 @@ declare module 'readline' {
351
333
  * The `readline.createInterface()` method creates a new `readline.Interface`instance.
352
334
  *
353
335
  * ```js
354
- * const readline = require('readline');
336
+ * const readline = require('node:readline');
355
337
  * const rl = readline.createInterface({
356
338
  * input: process.stdin,
357
- * output: process.stdout
339
+ * output: process.stdout,
358
340
  * });
359
341
  * ```
360
342
  *
@@ -373,14 +355,8 @@ declare module 'readline' {
373
355
  * (`process.stdout` does this automatically when it is a TTY).
374
356
  *
375
357
  * When creating a `readline.Interface` using `stdin` as input, the program
376
- * will not terminate until it receives `EOF` (Ctrl+D on
377
- * Linux/macOS, Ctrl+Z followed by Return on
378
- * Windows).
379
- * If you want your application to exit without waiting for user input, you can `unref()` the standard input stream:
380
- *
381
- * ```js
382
- * process.stdin.unref();
383
- * ```
358
+ * will not terminate until it receives an [EOF character](https://en.wikipedia.org/wiki/End-of-file#EOF_character). To exit without
359
+ * waiting for user input, call `process.stdin.unref()`.
384
360
  * @since v0.1.98
385
361
  */
386
362
  export function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean): Interface;
@@ -408,11 +384,11 @@ declare module 'readline' {
408
384
  * implement a small command-line interface:
409
385
  *
410
386
  * ```js
411
- * const readline = require('readline');
387
+ * const readline = require('node:readline');
412
388
  * const rl = readline.createInterface({
413
389
  * input: process.stdin,
414
390
  * output: process.stdout,
415
- * prompt: 'OHAI> '
391
+ * prompt: 'OHAI> ',
416
392
  * });
417
393
  *
418
394
  * rl.prompt();
@@ -440,15 +416,15 @@ declare module 'readline' {
440
416
  * well as a `for await...of` loop:
441
417
  *
442
418
  * ```js
443
- * const fs = require('fs');
444
- * const readline = require('readline');
419
+ * const fs = require('node:fs');
420
+ * const readline = require('node:readline');
445
421
  *
446
422
  * async function processLineByLine() {
447
423
  * const fileStream = fs.createReadStream('input.txt');
448
424
  *
449
425
  * const rl = readline.createInterface({
450
426
  * input: fileStream,
451
- * crlfDelay: Infinity
427
+ * crlfDelay: Infinity,
452
428
  * });
453
429
  * // Note: we use the crlfDelay option to recognize all instances of CR LF
454
430
  * // ('\r\n') in input.txt as a single line break.
@@ -465,12 +441,12 @@ declare module 'readline' {
465
441
  * Alternatively, one could use the `'line'` event:
466
442
  *
467
443
  * ```js
468
- * const fs = require('fs');
469
- * const readline = require('readline');
444
+ * const fs = require('node:fs');
445
+ * const readline = require('node:readline');
470
446
  *
471
447
  * const rl = readline.createInterface({
472
448
  * input: fs.createReadStream('sample.txt'),
473
- * crlfDelay: Infinity
449
+ * crlfDelay: Infinity,
474
450
  * });
475
451
  *
476
452
  * rl.on('line', (line) => {
@@ -481,15 +457,15 @@ declare module 'readline' {
481
457
  * 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:
482
458
  *
483
459
  * ```js
484
- * const { once } = require('events');
485
- * const { createReadStream } = require('fs');
486
- * const { createInterface } = require('readline');
460
+ * const { once } = require('node:events');
461
+ * const { createReadStream } = require('node:fs');
462
+ * const { createInterface } = require('node:readline');
487
463
  *
488
464
  * (async function processLineByLine() {
489
465
  * try {
490
466
  * const rl = createInterface({
491
467
  * input: createReadStream('big-file.txt'),
492
- * crlfDelay: Infinity
468
+ * crlfDelay: Infinity,
493
469
  * });
494
470
  *
495
471
  * rl.on('line', (line) => {
@@ -539,109 +515,6 @@ declare module 'readline' {
539
515
  /**
540
516
  * The `readline.moveCursor()` method moves the cursor _relative_ to its current
541
517
  * position in a given `TTY` `stream`.
542
- *
543
- * ## Example: Tiny CLI
544
- *
545
- * The following example illustrates the use of `readline.Interface` class to
546
- * implement a small command-line interface:
547
- *
548
- * ```js
549
- * const readline = require('readline');
550
- * const rl = readline.createInterface({
551
- * input: process.stdin,
552
- * output: process.stdout,
553
- * prompt: 'OHAI> '
554
- * });
555
- *
556
- * rl.prompt();
557
- *
558
- * rl.on('line', (line) => {
559
- * switch (line.trim()) {
560
- * case 'hello':
561
- * console.log('world!');
562
- * break;
563
- * default:
564
- * console.log(`Say what? I might have heard '${line.trim()}'`);
565
- * break;
566
- * }
567
- * rl.prompt();
568
- * }).on('close', () => {
569
- * console.log('Have a great day!');
570
- * process.exit(0);
571
- * });
572
- * ```
573
- *
574
- * ## Example: Read file stream line-by-Line
575
- *
576
- * A common use case for `readline` is to consume an input file one line at a
577
- * time. The easiest way to do so is leveraging the `fs.ReadStream` API as
578
- * well as a `for await...of` loop:
579
- *
580
- * ```js
581
- * const fs = require('fs');
582
- * const readline = require('readline');
583
- *
584
- * async function processLineByLine() {
585
- * const fileStream = fs.createReadStream('input.txt');
586
- *
587
- * const rl = readline.createInterface({
588
- * input: fileStream,
589
- * crlfDelay: Infinity
590
- * });
591
- * // Note: we use the crlfDelay option to recognize all instances of CR LF
592
- * // ('\r\n') in input.txt as a single line break.
593
- *
594
- * for await (const line of rl) {
595
- * // Each line in input.txt will be successively available here as `line`.
596
- * console.log(`Line from file: ${line}`);
597
- * }
598
- * }
599
- *
600
- * processLineByLine();
601
- * ```
602
- *
603
- * Alternatively, one could use the `'line'` event:
604
- *
605
- * ```js
606
- * const fs = require('fs');
607
- * const readline = require('readline');
608
- *
609
- * const rl = readline.createInterface({
610
- * input: fs.createReadStream('sample.txt'),
611
- * crlfDelay: Infinity
612
- * });
613
- *
614
- * rl.on('line', (line) => {
615
- * console.log(`Line from file: ${line}`);
616
- * });
617
- * ```
618
- *
619
- * 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:
620
- *
621
- * ```js
622
- * const { once } = require('events');
623
- * const { createReadStream } = require('fs');
624
- * const { createInterface } = require('readline');
625
- *
626
- * (async function processLineByLine() {
627
- * try {
628
- * const rl = createInterface({
629
- * input: createReadStream('big-file.txt'),
630
- * crlfDelay: Infinity
631
- * });
632
- *
633
- * rl.on('line', (line) => {
634
- * // Process the line.
635
- * });
636
- *
637
- * await once(rl, 'close');
638
- *
639
- * console.log('File processed.');
640
- * } catch (err) {
641
- * console.error(err);
642
- * }
643
- * })();
644
- * ```
645
518
  * @since v0.7.7
646
519
  * @param callback Invoked once the operation completes.
647
520
  * @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`.