cdk-ecr-deployment 2.5.29 → 2.5.31

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 (395) hide show
  1. package/.gitattributes +1 -1
  2. package/.jsii +129 -27
  3. package/.jsii.tabl.json +1 -1
  4. package/.projenrc.ts +3 -1
  5. package/API.md +2 -0
  6. package/lambda/install.js +7 -6
  7. package/lib/index.d.ts +10 -0
  8. package/lib/index.js +6 -5
  9. package/node_modules/@types/cacheable-request/node_modules/@types/node/LICENSE +0 -0
  10. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +4 -5
  11. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert/strict.d.ts +4 -4
  12. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +48 -24
  13. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +15 -6
  14. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +43 -35
  15. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +267 -122
  16. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +107 -89
  17. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +17 -14
  18. package/node_modules/@types/cacheable-request/node_modules/@types/node/constants.d.ts +12 -11
  19. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +755 -269
  20. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +86 -45
  21. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
  22. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +28 -25
  23. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +203 -62
  24. package/node_modules/@types/cacheable-request/node_modules/@types/node/dom-events.d.ts +67 -71
  25. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +4 -4
  26. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +127 -7
  27. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +115 -73
  28. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +560 -315
  29. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +96 -18
  30. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.global.d.ts +0 -0
  31. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +359 -195
  32. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +629 -377
  33. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +221 -112
  34. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +0 -46
  35. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +2 -3
  36. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +195 -14
  37. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +154 -93
  38. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +9 -9
  39. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +88 -95
  40. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +13 -13
  41. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +19 -18
  42. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +166 -128
  43. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +3 -3
  44. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +14 -4
  45. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline/promises.d.ts +12 -7
  46. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +69 -56
  47. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +67 -61
  48. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/consumers.d.ts +10 -10
  49. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/promises.d.ts +56 -15
  50. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +40 -20
  51. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +498 -218
  52. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +8 -8
  53. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +398 -170
  54. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +4 -4
  55. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +34 -9
  56. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +162 -71
  57. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +3 -3
  58. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/assert/strict.d.ts +4 -4
  59. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/assert.d.ts +48 -24
  60. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/async_hooks.d.ts +15 -6
  61. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/buffer.d.ts +44 -36
  62. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/child_process.d.ts +267 -122
  63. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/cluster.d.ts +107 -89
  64. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/console.d.ts +17 -14
  65. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/constants.d.ts +12 -11
  66. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/crypto.d.ts +755 -269
  67. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dgram.d.ts +86 -45
  68. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +3 -3
  69. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dns/promises.d.ts +28 -25
  70. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dns.d.ts +203 -62
  71. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dom-events.d.ts +67 -71
  72. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  73. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/events.d.ts +79 -7
  74. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/fs/promises.d.ts +117 -74
  75. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/fs.d.ts +560 -315
  76. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/globals.d.ts +96 -18
  77. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -0
  78. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/http.d.ts +359 -195
  79. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/http2.d.ts +629 -377
  80. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/https.d.ts +221 -112
  81. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/index.d.ts +0 -0
  82. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/inspector.d.ts +2 -3
  83. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/module.d.ts +195 -14
  84. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/net.d.ts +154 -93
  85. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/os.d.ts +9 -9
  86. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/path.d.ts +13 -13
  87. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/perf_hooks.d.ts +19 -18
  88. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/process.d.ts +166 -128
  89. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/punycode.d.ts +3 -3
  90. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/querystring.d.ts +14 -4
  91. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/readline/promises.d.ts +12 -7
  92. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/readline.d.ts +69 -56
  93. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/repl.d.ts +67 -61
  94. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream/consumers.d.ts +10 -10
  95. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream/promises.d.ts +56 -15
  96. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream/web.d.ts +40 -20
  97. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream.d.ts +1162 -853
  98. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/string_decoder.d.ts +8 -8
  99. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/test.d.ts +398 -170
  100. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/timers/promises.d.ts +4 -4
  101. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/timers.d.ts +34 -9
  102. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/tls.d.ts +162 -71
  103. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/trace_events.d.ts +3 -3
  104. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/tty.d.ts +10 -10
  105. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/url.d.ts +40 -14
  106. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/util.d.ts +263 -129
  107. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/v8.d.ts +4 -4
  108. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/vm.d.ts +52 -45
  109. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/wasi.d.ts +3 -3
  110. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/worker_threads.d.ts +83 -85
  111. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/zlib.d.ts +9 -9
  112. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +10 -10
  113. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +40 -14
  114. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +263 -129
  115. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +4 -4
  116. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +52 -45
  117. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +3 -3
  118. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +83 -85
  119. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +9 -9
  120. package/node_modules/@types/http-cache-semantics/LICENSE +0 -0
  121. package/node_modules/@types/http-cache-semantics/README.md +1 -2
  122. package/node_modules/@types/http-cache-semantics/index.d.ts +1 -6
  123. package/node_modules/@types/http-cache-semantics/package.json +5 -5
  124. package/node_modules/@types/keyv/node_modules/@types/node/LICENSE +0 -0
  125. package/node_modules/@types/keyv/node_modules/@types/node/README.md +4 -5
  126. package/node_modules/@types/keyv/node_modules/@types/node/assert/strict.d.ts +4 -4
  127. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +48 -24
  128. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +15 -6
  129. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +43 -35
  130. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +267 -122
  131. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +107 -89
  132. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +17 -14
  133. package/node_modules/@types/keyv/node_modules/@types/node/constants.d.ts +12 -11
  134. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +755 -269
  135. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +86 -45
  136. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
  137. package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +28 -25
  138. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +203 -62
  139. package/node_modules/@types/keyv/node_modules/@types/node/dom-events.d.ts +67 -71
  140. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +4 -4
  141. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +127 -7
  142. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +115 -73
  143. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +560 -315
  144. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +96 -18
  145. package/node_modules/@types/keyv/node_modules/@types/node/globals.global.d.ts +0 -0
  146. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +359 -195
  147. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +629 -377
  148. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +221 -112
  149. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +0 -46
  150. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +2 -3
  151. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +195 -14
  152. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +154 -93
  153. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +9 -9
  154. package/node_modules/@types/keyv/node_modules/@types/node/package.json +88 -95
  155. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +13 -13
  156. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +19 -18
  157. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +166 -128
  158. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +3 -3
  159. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +14 -4
  160. package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +12 -7
  161. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +69 -56
  162. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +67 -61
  163. package/node_modules/@types/keyv/node_modules/@types/node/stream/consumers.d.ts +10 -10
  164. package/node_modules/@types/keyv/node_modules/@types/node/stream/promises.d.ts +56 -15
  165. package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +40 -20
  166. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +498 -218
  167. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +8 -8
  168. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +398 -170
  169. package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +4 -4
  170. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +34 -9
  171. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +162 -71
  172. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +3 -3
  173. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/assert/strict.d.ts +4 -4
  174. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/assert.d.ts +48 -24
  175. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/async_hooks.d.ts +15 -6
  176. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/buffer.d.ts +44 -36
  177. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/child_process.d.ts +267 -122
  178. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/cluster.d.ts +107 -89
  179. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/console.d.ts +17 -14
  180. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/constants.d.ts +12 -11
  181. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/crypto.d.ts +755 -269
  182. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dgram.d.ts +86 -45
  183. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +3 -3
  184. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dns/promises.d.ts +28 -25
  185. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dns.d.ts +203 -62
  186. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dom-events.d.ts +67 -71
  187. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  188. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/events.d.ts +79 -7
  189. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/fs/promises.d.ts +117 -74
  190. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/fs.d.ts +560 -315
  191. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/globals.d.ts +96 -18
  192. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -0
  193. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/http.d.ts +359 -195
  194. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/http2.d.ts +629 -377
  195. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/https.d.ts +221 -112
  196. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/index.d.ts +0 -0
  197. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/inspector.d.ts +2 -3
  198. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/module.d.ts +195 -14
  199. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/net.d.ts +154 -93
  200. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/os.d.ts +9 -9
  201. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/path.d.ts +13 -13
  202. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/perf_hooks.d.ts +19 -18
  203. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/process.d.ts +166 -128
  204. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/punycode.d.ts +3 -3
  205. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/querystring.d.ts +14 -4
  206. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/readline/promises.d.ts +12 -7
  207. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/readline.d.ts +69 -56
  208. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/repl.d.ts +67 -61
  209. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream/consumers.d.ts +10 -10
  210. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream/promises.d.ts +56 -15
  211. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream/web.d.ts +40 -20
  212. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream.d.ts +1162 -853
  213. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/string_decoder.d.ts +8 -8
  214. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/test.d.ts +398 -170
  215. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/timers/promises.d.ts +4 -4
  216. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/timers.d.ts +34 -9
  217. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/tls.d.ts +162 -71
  218. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/trace_events.d.ts +3 -3
  219. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/tty.d.ts +10 -10
  220. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/url.d.ts +40 -14
  221. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/util.d.ts +263 -129
  222. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/v8.d.ts +4 -4
  223. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/vm.d.ts +52 -45
  224. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/wasi.d.ts +3 -3
  225. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/worker_threads.d.ts +83 -85
  226. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/zlib.d.ts +9 -9
  227. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +10 -10
  228. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +40 -14
  229. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +263 -129
  230. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +4 -4
  231. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +52 -45
  232. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +3 -3
  233. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +83 -85
  234. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +9 -9
  235. package/node_modules/@types/responselike/LICENSE +21 -21
  236. package/node_modules/@types/responselike/README.md +39 -7
  237. package/node_modules/@types/responselike/index.d.ts +3 -8
  238. package/node_modules/@types/responselike/node_modules/@types/node/LICENSE +0 -0
  239. package/node_modules/@types/responselike/node_modules/@types/node/README.md +4 -5
  240. package/node_modules/@types/responselike/node_modules/@types/node/assert/strict.d.ts +4 -4
  241. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +48 -24
  242. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +15 -6
  243. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +43 -35
  244. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +267 -122
  245. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +107 -89
  246. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +17 -14
  247. package/node_modules/@types/responselike/node_modules/@types/node/constants.d.ts +12 -11
  248. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +755 -269
  249. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +86 -45
  250. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
  251. package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +28 -25
  252. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +203 -62
  253. package/node_modules/@types/responselike/node_modules/@types/node/dom-events.d.ts +67 -71
  254. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +4 -4
  255. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +127 -7
  256. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +115 -73
  257. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +560 -315
  258. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +96 -18
  259. package/node_modules/@types/responselike/node_modules/@types/node/globals.global.d.ts +0 -0
  260. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +359 -195
  261. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +629 -377
  262. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +221 -112
  263. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +0 -46
  264. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +2 -3
  265. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +195 -14
  266. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +154 -93
  267. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +9 -9
  268. package/node_modules/@types/responselike/node_modules/@types/node/package.json +88 -95
  269. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +13 -13
  270. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +19 -18
  271. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +166 -128
  272. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +3 -3
  273. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +14 -4
  274. package/node_modules/@types/responselike/node_modules/@types/node/readline/promises.d.ts +12 -7
  275. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +69 -56
  276. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +67 -61
  277. package/node_modules/@types/responselike/node_modules/@types/node/stream/consumers.d.ts +10 -10
  278. package/node_modules/@types/responselike/node_modules/@types/node/stream/promises.d.ts +56 -15
  279. package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +40 -20
  280. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +498 -218
  281. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +8 -8
  282. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +398 -170
  283. package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +4 -4
  284. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +34 -9
  285. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +162 -71
  286. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +3 -3
  287. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/assert/strict.d.ts +4 -4
  288. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/assert.d.ts +48 -24
  289. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/async_hooks.d.ts +15 -6
  290. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/buffer.d.ts +44 -36
  291. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/child_process.d.ts +267 -122
  292. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/cluster.d.ts +107 -89
  293. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/console.d.ts +17 -14
  294. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/constants.d.ts +12 -11
  295. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/crypto.d.ts +755 -269
  296. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dgram.d.ts +86 -45
  297. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +3 -3
  298. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dns/promises.d.ts +28 -25
  299. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dns.d.ts +203 -62
  300. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dom-events.d.ts +67 -71
  301. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  302. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/events.d.ts +79 -7
  303. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/fs/promises.d.ts +117 -74
  304. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/fs.d.ts +560 -315
  305. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/globals.d.ts +96 -18
  306. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -0
  307. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/http.d.ts +359 -195
  308. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/http2.d.ts +629 -377
  309. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/https.d.ts +221 -112
  310. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/index.d.ts +0 -0
  311. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/inspector.d.ts +2 -3
  312. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/module.d.ts +195 -14
  313. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/net.d.ts +154 -93
  314. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/os.d.ts +9 -9
  315. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/path.d.ts +13 -13
  316. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/perf_hooks.d.ts +19 -18
  317. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/process.d.ts +166 -128
  318. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/punycode.d.ts +3 -3
  319. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/querystring.d.ts +14 -4
  320. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/readline/promises.d.ts +12 -7
  321. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/readline.d.ts +69 -56
  322. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/repl.d.ts +67 -61
  323. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream/consumers.d.ts +10 -10
  324. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream/promises.d.ts +56 -15
  325. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream/web.d.ts +40 -20
  326. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream.d.ts +1162 -853
  327. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/string_decoder.d.ts +8 -8
  328. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/test.d.ts +398 -170
  329. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/timers/promises.d.ts +4 -4
  330. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/timers.d.ts +34 -9
  331. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/tls.d.ts +162 -71
  332. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/trace_events.d.ts +3 -3
  333. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/tty.d.ts +10 -10
  334. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/url.d.ts +40 -14
  335. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/util.d.ts +263 -129
  336. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/v8.d.ts +4 -4
  337. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/vm.d.ts +52 -45
  338. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/wasi.d.ts +3 -3
  339. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/worker_threads.d.ts +83 -85
  340. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/zlib.d.ts +9 -9
  341. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +10 -10
  342. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +40 -14
  343. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +263 -129
  344. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +4 -4
  345. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +52 -45
  346. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +3 -3
  347. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +83 -85
  348. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +9 -9
  349. package/node_modules/@types/responselike/package.json +9 -7
  350. package/node_modules/keyv/README.md +2 -0
  351. package/node_modules/keyv/package.json +13 -14
  352. package/node_modules/keyv/src/index.d.ts +6 -10
  353. package/node_modules/keyv/src/index.js +7 -12
  354. package/node_modules/undici-types/README.md +6 -0
  355. package/node_modules/undici-types/agent.d.ts +31 -0
  356. package/node_modules/undici-types/api.d.ts +43 -0
  357. package/node_modules/undici-types/balanced-pool.d.ts +18 -0
  358. package/node_modules/undici-types/cache.d.ts +36 -0
  359. package/node_modules/undici-types/client.d.ts +97 -0
  360. package/node_modules/undici-types/connector.d.ts +34 -0
  361. package/node_modules/undici-types/content-type.d.ts +21 -0
  362. package/node_modules/undici-types/cookies.d.ts +28 -0
  363. package/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
  364. package/node_modules/undici-types/dispatcher.d.ts +241 -0
  365. package/node_modules/undici-types/errors.d.ts +128 -0
  366. package/node_modules/undici-types/fetch.d.ts +209 -0
  367. package/node_modules/undici-types/file.d.ts +39 -0
  368. package/node_modules/undici-types/filereader.d.ts +54 -0
  369. package/node_modules/undici-types/formdata.d.ts +108 -0
  370. package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  371. package/node_modules/undici-types/global-origin.d.ts +7 -0
  372. package/node_modules/undici-types/handlers.d.ts +9 -0
  373. package/node_modules/undici-types/header.d.ts +4 -0
  374. package/node_modules/undici-types/index.d.ts +63 -0
  375. package/node_modules/undici-types/interceptors.d.ts +5 -0
  376. package/node_modules/undici-types/mock-agent.d.ts +50 -0
  377. package/node_modules/undici-types/mock-client.d.ts +25 -0
  378. package/node_modules/undici-types/mock-errors.d.ts +12 -0
  379. package/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  380. package/node_modules/undici-types/mock-pool.d.ts +25 -0
  381. package/node_modules/undici-types/package.json +55 -0
  382. package/node_modules/undici-types/patch.d.ts +71 -0
  383. package/node_modules/undici-types/pool-stats.d.ts +19 -0
  384. package/node_modules/undici-types/pool.d.ts +28 -0
  385. package/node_modules/undici-types/proxy-agent.d.ts +30 -0
  386. package/node_modules/undici-types/readable.d.ts +61 -0
  387. package/node_modules/undici-types/webidl.d.ts +220 -0
  388. package/node_modules/undici-types/websocket.d.ts +131 -0
  389. package/package.json +10 -11
  390. /package/node_modules/{cacheable-request/node_modules/get-stream → get-stream}/buffer-stream.js +0 -0
  391. /package/node_modules/{cacheable-request/node_modules/get-stream → get-stream}/index.d.ts +0 -0
  392. /package/node_modules/{cacheable-request/node_modules/get-stream → get-stream}/index.js +0 -0
  393. /package/node_modules/{cacheable-request/node_modules/get-stream → get-stream}/license +0 -0
  394. /package/node_modules/{cacheable-request/node_modules/get-stream → get-stream}/package.json +0 -0
  395. /package/node_modules/{cacheable-request/node_modules/get-stream → get-stream}/readme.md +0 -0
@@ -34,7 +34,7 @@
34
34
  * ```
35
35
  * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/events.js)
36
36
  */
37
- declare module 'events' {
37
+ declare module "events" {
38
38
  // NOTE: This class is in the docs but is **not actually exported** by Node.
39
39
  // If https://github.com/nodejs/node/issues/39903 gets resolved and Node
40
40
  // actually starts exporting the class, uncomment below.
@@ -85,7 +85,7 @@ declare module 'events' {
85
85
  listener: (...args: any[]) => void,
86
86
  opts?: {
87
87
  once: boolean;
88
- }
88
+ },
89
89
  ): any;
90
90
  }
91
91
  interface StaticEventEmitterOptions {
@@ -186,7 +186,11 @@ declare module 'events' {
186
186
  * ```
187
187
  * @since v11.13.0, v10.16.0
188
188
  */
189
- static once(emitter: _NodeEventTarget, eventName: string | symbol, options?: StaticEventEmitterOptions): Promise<any[]>;
189
+ static once(
190
+ emitter: _NodeEventTarget,
191
+ eventName: string | symbol,
192
+ options?: StaticEventEmitterOptions,
193
+ ): Promise<any[]>;
190
194
  static once(emitter: _DOMEventTarget, eventName: string, options?: StaticEventEmitterOptions): Promise<any[]>;
191
195
  /**
192
196
  * ```js
@@ -247,7 +251,11 @@ declare module 'events' {
247
251
  * @param eventName The name of the event being listened for
248
252
  * @return that iterates `eventName` events emitted by the `emitter`
249
253
  */
250
- static on(emitter: NodeJS.EventEmitter, eventName: string, options?: StaticEventEmitterOptions): AsyncIterableIterator<any>;
254
+ static on(
255
+ emitter: NodeJS.EventEmitter,
256
+ eventName: string,
257
+ options?: StaticEventEmitterOptions,
258
+ ): AsyncIterableIterator<any>;
251
259
  /**
252
260
  * A class method that returns the number of listeners for the given `eventName`registered on the given `emitter`.
253
261
  *
@@ -294,6 +302,35 @@ declare module 'events' {
294
302
  * @since v15.2.0, v14.17.0
295
303
  */
296
304
  static getEventListeners(emitter: _DOMEventTarget | NodeJS.EventEmitter, name: string | symbol): Function[];
305
+ /**
306
+ * Returns the currently set max amount of listeners.
307
+ *
308
+ * For `EventEmitter`s this behaves exactly the same as calling `.getMaxListeners` on
309
+ * the emitter.
310
+ *
311
+ * For `EventTarget`s this is the only way to get the max event listeners for the
312
+ * event target. If the number of event handlers on a single EventTarget exceeds
313
+ * the max set, the EventTarget will print a warning.
314
+ *
315
+ * ```js
316
+ * import { getMaxListeners, setMaxListeners, EventEmitter } from 'node:events';
317
+ *
318
+ * {
319
+ * const ee = new EventEmitter();
320
+ * console.log(getMaxListeners(ee)); // 10
321
+ * setMaxListeners(11, ee);
322
+ * console.log(getMaxListeners(ee)); // 11
323
+ * }
324
+ * {
325
+ * const et = new EventTarget();
326
+ * console.log(getMaxListeners(et)); // 10
327
+ * setMaxListeners(11, et);
328
+ * console.log(getMaxListeners(et)); // 11
329
+ * }
330
+ * ```
331
+ * @since v19.9.0
332
+ */
333
+ static getMaxListeners(emitter: _DOMEventTarget | NodeJS.EventEmitter): number;
297
334
  /**
298
335
  * ```js
299
336
  * import { setMaxListeners, EventEmitter } from 'node:events';
@@ -309,6 +346,41 @@ declare module 'events' {
309
346
  * objects.
310
347
  */
311
348
  static setMaxListeners(n?: number, ...eventTargets: Array<_DOMEventTarget | NodeJS.EventEmitter>): void;
349
+ /**
350
+ * Listens once to the `abort` event on the provided `signal`.
351
+ *
352
+ * Listening to the `abort` event on abort signals is unsafe and may
353
+ * lead to resource leaks since another third party with the signal can
354
+ * call `e.stopImmediatePropagation()`. Unfortunately Node.js cannot change
355
+ * this since it would violate the web standard. Additionally, the original
356
+ * API makes it easy to forget to remove listeners.
357
+ *
358
+ * This API allows safely using `AbortSignal`s in Node.js APIs by solving these
359
+ * two issues by listening to the event such that `stopImmediatePropagation` does
360
+ * not prevent the listener from running.
361
+ *
362
+ * Returns a disposable so that it may be unsubscribed from more easily.
363
+ *
364
+ * ```js
365
+ * import { addAbortListener } from 'node:events';
366
+ *
367
+ * function example(signal) {
368
+ * let disposable;
369
+ * try {
370
+ * signal.addEventListener('abort', (e) => e.stopImmediatePropagation());
371
+ * disposable = addAbortListener(signal, (e) => {
372
+ * // Do something when signal is aborted.
373
+ * });
374
+ * } finally {
375
+ * disposable?.[Symbol.dispose]();
376
+ * }
377
+ * }
378
+ * ```
379
+ * @since v20.5.0
380
+ * @experimental
381
+ * @return that removes the `abort` listener.
382
+ */
383
+ static addAbortListener(signal: AbortSignal, resource: (event: Event) => void): Disposable;
312
384
  /**
313
385
  * This symbol shall be used to install a listener for only monitoring `'error'`events. Listeners installed using this symbol are called before the regular`'error'` listeners are called.
314
386
  *
@@ -369,7 +441,7 @@ declare module 'events' {
369
441
  */
370
442
  static defaultMaxListeners: number;
371
443
  }
372
- import internal = require('node:events');
444
+ import internal = require("node:events");
373
445
  namespace EventEmitter {
374
446
  // Should just be `export { EventEmitter }`, but that doesn't work in TypeScript 3.4
375
447
  export { internal as EventEmitter };
@@ -718,7 +790,7 @@ declare module 'events' {
718
790
  }
719
791
  export = EventEmitter;
720
792
  }
721
- declare module 'node:events' {
722
- import events = require('events');
793
+ declare module "node:events" {
794
+ import events = require("events");
723
795
  export = events;
724
796
  }
@@ -8,10 +8,10 @@
8
8
  * concurrent modifications on the same file or data corruption may occur.
9
9
  * @since v10.0.0
10
10
  */
11
- declare module 'fs/promises' {
12
- import { Abortable } from 'node:events';
13
- import { Stream } from 'node:stream';
14
- import { ReadableStream } from 'node:stream/web';
11
+ declare module "fs/promises" {
12
+ import { Abortable } from "node:events";
13
+ import { Stream } from "node:stream";
14
+ import { ReadableStream } from "node:stream/web";
15
15
  import {
16
16
  BigIntStats,
17
17
  BigIntStatsFs,
@@ -30,8 +30,8 @@ declare module 'fs/promises' {
30
30
  ReadVResult,
31
31
  RmDirOptions,
32
32
  RmOptions,
33
- StatOptions,
34
33
  StatFsOptions,
34
+ StatOptions,
35
35
  Stats,
36
36
  StatsFs,
37
37
  TimeLike,
@@ -39,8 +39,8 @@ declare module 'fs/promises' {
39
39
  WatchOptions,
40
40
  WriteStream,
41
41
  WriteVResult,
42
- } from 'node:fs';
43
- import { Interface as ReadlineInterface } from 'node:readline';
42
+ } from "node:fs";
43
+ import { Interface as ReadlineInterface } from "node:readline";
44
44
  interface FileChangeInfo<T extends string | Buffer> {
45
45
  eventType: WatchEventType;
46
46
  filename: T | null;
@@ -81,6 +81,14 @@ declare module 'fs/promises' {
81
81
  autoClose?: boolean | undefined;
82
82
  emitClose?: boolean | undefined;
83
83
  start?: number | undefined;
84
+ highWaterMark?: number | undefined;
85
+ }
86
+ interface ReadableWebStreamOptions {
87
+ /**
88
+ * Whether to open a normal or a `'bytes'` stream.
89
+ * @since v20.0.0
90
+ */
91
+ type?: "bytes" | undefined;
84
92
  }
85
93
  // TODO: Add `EventEmitter` close
86
94
  interface FileHandle {
@@ -97,7 +105,10 @@ declare module 'fs/promises' {
97
105
  * @since v10.0.0
98
106
  * @return Fulfills with `undefined` upon success.
99
107
  */
100
- appendFile(data: string | Uint8Array, options?: (ObjectEncodingOptions & FlagAndOpenMode) | BufferEncoding | null): Promise<void>;
108
+ appendFile(
109
+ data: string | Uint8Array,
110
+ options?: (ObjectEncodingOptions & FlagAndOpenMode) | BufferEncoding | null,
111
+ ): Promise<void>;
101
112
  /**
102
113
  * Changes the ownership of the file. A wrapper for [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html).
103
114
  * @since v10.0.0
@@ -214,7 +225,12 @@ declare module 'fs/promises' {
214
225
  * integer, the current file position will remain unchanged.
215
226
  * @return Fulfills upon success with an object with two properties:
216
227
  */
217
- read<T extends NodeJS.ArrayBufferView>(buffer: T, offset?: number | null, length?: number | null, position?: number | null): Promise<FileReadResult<T>>;
228
+ read<T extends NodeJS.ArrayBufferView>(
229
+ buffer: T,
230
+ offset?: number | null,
231
+ length?: number | null,
232
+ position?: number | null,
233
+ ): Promise<FileReadResult<T>>;
218
234
  read<T extends NodeJS.ArrayBufferView = Buffer>(options?: FileReadOptions<T>): Promise<FileReadResult<T>>;
219
235
  /**
220
236
  * Returns a `ReadableStream` that may be used to read the files data.
@@ -240,7 +256,7 @@ declare module 'fs/promises' {
240
256
  * @since v17.0.0
241
257
  * @experimental
242
258
  */
243
- readableWebStream(): ReadableStream;
259
+ readableWebStream(options?: ReadableWebStreamOptions): ReadableStream;
244
260
  /**
245
261
  * Asynchronously reads the entire contents of a file.
246
262
  *
@@ -259,7 +275,7 @@ declare module 'fs/promises' {
259
275
  options?: {
260
276
  encoding?: null | undefined;
261
277
  flag?: OpenMode | undefined;
262
- } | null
278
+ } | null,
263
279
  ): Promise<Buffer>;
264
280
  /**
265
281
  * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically.
@@ -270,10 +286,10 @@ declare module 'fs/promises' {
270
286
  readFile(
271
287
  options:
272
288
  | {
273
- encoding: BufferEncoding;
274
- flag?: OpenMode | undefined;
275
- }
276
- | BufferEncoding
289
+ encoding: BufferEncoding;
290
+ flag?: OpenMode | undefined;
291
+ }
292
+ | BufferEncoding,
277
293
  ): Promise<string>;
278
294
  /**
279
295
  * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically.
@@ -284,10 +300,10 @@ declare module 'fs/promises' {
284
300
  readFile(
285
301
  options?:
286
302
  | (ObjectEncodingOptions & {
287
- flag?: OpenMode | undefined;
288
- })
303
+ flag?: OpenMode | undefined;
304
+ })
289
305
  | BufferEncoding
290
- | null
306
+ | null,
291
307
  ): Promise<string | Buffer>;
292
308
  /**
293
309
  * Convenience method to create a `readline` interface and stream over the file.
@@ -312,12 +328,12 @@ declare module 'fs/promises' {
312
328
  stat(
313
329
  opts?: StatOptions & {
314
330
  bigint?: false | undefined;
315
- }
331
+ },
316
332
  ): Promise<Stats>;
317
333
  stat(
318
334
  opts: StatOptions & {
319
335
  bigint: true;
320
- }
336
+ },
321
337
  ): Promise<BigIntStats>;
322
338
  stat(opts?: StatOptions): Promise<Stats | BigIntStats>;
323
339
  /**
@@ -372,7 +388,10 @@ declare module 'fs/promises' {
372
388
  * beginning of the file.
373
389
  * @since v10.0.0
374
390
  */
375
- writeFile(data: string | Uint8Array, options?: (ObjectEncodingOptions & FlagAndOpenMode & Abortable) | BufferEncoding | null): Promise<void>;
391
+ writeFile(
392
+ data: string | Uint8Array,
393
+ options?: (ObjectEncodingOptions & FlagAndOpenMode & Abortable) | BufferEncoding | null,
394
+ ): Promise<void>;
376
395
  /**
377
396
  * Write `buffer` to the file.
378
397
  *
@@ -395,7 +414,7 @@ declare module 'fs/promises' {
395
414
  buffer: TBuffer,
396
415
  offset?: number | null,
397
416
  length?: number | null,
398
- position?: number | null
417
+ position?: number | null,
399
418
  ): Promise<{
400
419
  bytesWritten: number;
401
420
  buffer: TBuffer;
@@ -403,7 +422,7 @@ declare module 'fs/promises' {
403
422
  write(
404
423
  data: string,
405
424
  position?: number | null,
406
- encoding?: BufferEncoding | null
425
+ encoding?: BufferEncoding | null,
407
426
  ): Promise<{
408
427
  bytesWritten: number;
409
428
  buffer: string;
@@ -449,6 +468,11 @@ declare module 'fs/promises' {
449
468
  * @return Fulfills with `undefined` upon success.
450
469
  */
451
470
  close(): Promise<void>;
471
+ /**
472
+ * An alias for {@link FileHandle.close()}.
473
+ * @since v20.4.0
474
+ */
475
+ [Symbol.asyncDispose](): Promise<void>;
452
476
  }
453
477
  const constants: typeof fsConstants;
454
478
  /**
@@ -589,7 +613,7 @@ declare module 'fs/promises' {
589
613
  path: PathLike,
590
614
  options: MakeDirectoryOptions & {
591
615
  recursive: true;
592
- }
616
+ },
593
617
  ): Promise<string | undefined>;
594
618
  /**
595
619
  * Asynchronous mkdir(2) - create a directory.
@@ -602,9 +626,9 @@ declare module 'fs/promises' {
602
626
  options?:
603
627
  | Mode
604
628
  | (MakeDirectoryOptions & {
605
- recursive?: false | undefined;
606
- })
607
- | null
629
+ recursive?: false | undefined;
630
+ })
631
+ | null,
608
632
  ): Promise<void>;
609
633
  /**
610
634
  * Asynchronous mkdir(2) - create a directory.
@@ -641,11 +665,11 @@ declare module 'fs/promises' {
641
665
  path: PathLike,
642
666
  options?:
643
667
  | (ObjectEncodingOptions & {
644
- withFileTypes?: false | undefined;
645
- recursive?: boolean | undefined;
646
- })
668
+ withFileTypes?: false | undefined;
669
+ recursive?: boolean | undefined;
670
+ })
647
671
  | BufferEncoding
648
- | null
672
+ | null,
649
673
  ): Promise<string[]>;
650
674
  /**
651
675
  * Asynchronous readdir(3) - read a directory.
@@ -656,11 +680,11 @@ declare module 'fs/promises' {
656
680
  path: PathLike,
657
681
  options:
658
682
  | {
659
- encoding: 'buffer';
660
- withFileTypes?: false | undefined;
661
- recursive?: boolean | undefined;
662
- }
663
- | 'buffer'
683
+ encoding: "buffer";
684
+ withFileTypes?: false | undefined;
685
+ recursive?: boolean | undefined;
686
+ }
687
+ | "buffer",
664
688
  ): Promise<Buffer[]>;
665
689
  /**
666
690
  * Asynchronous readdir(3) - read a directory.
@@ -671,11 +695,11 @@ declare module 'fs/promises' {
671
695
  path: PathLike,
672
696
  options?:
673
697
  | (ObjectEncodingOptions & {
674
- withFileTypes?: false | undefined;
675
- recursive?: boolean | undefined;
676
- })
698
+ withFileTypes?: false | undefined;
699
+ recursive?: boolean | undefined;
700
+ })
677
701
  | BufferEncoding
678
- | null
702
+ | null,
679
703
  ): Promise<string[] | Buffer[]>;
680
704
  /**
681
705
  * Asynchronous readdir(3) - read a directory.
@@ -687,7 +711,7 @@ declare module 'fs/promises' {
687
711
  options: ObjectEncodingOptions & {
688
712
  withFileTypes: true;
689
713
  recursive?: boolean | undefined;
690
- }
714
+ },
691
715
  ): Promise<Dirent[]>;
692
716
  /**
693
717
  * Reads the contents of the symbolic link referred to by `path`. See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more detail. The promise is
@@ -720,7 +744,8 @@ declare module 'fs/promises' {
720
744
  * autodetect `target` type and use `'file'` or `'dir'`. If the `target` does not
721
745
  * exist, `'file'` will be used. Windows junction points require the destination
722
746
  * path to be absolute. When using `'junction'`, the `target` argument will
723
- * automatically be normalized to absolute path.
747
+ * automatically be normalized to absolute path. Junction points on NTFS volumes
748
+ * can only point to directories.
724
749
  * @since v10.0.0
725
750
  * @param [type='null']
726
751
  * @return Fulfills with `undefined` upon success.
@@ -737,13 +762,13 @@ declare module 'fs/promises' {
737
762
  path: PathLike,
738
763
  opts?: StatOptions & {
739
764
  bigint?: false | undefined;
740
- }
765
+ },
741
766
  ): Promise<Stats>;
742
767
  function lstat(
743
768
  path: PathLike,
744
769
  opts: StatOptions & {
745
770
  bigint: true;
746
- }
771
+ },
747
772
  ): Promise<BigIntStats>;
748
773
  function lstat(path: PathLike, opts?: StatOptions): Promise<Stats | BigIntStats>;
749
774
  /**
@@ -754,13 +779,13 @@ declare module 'fs/promises' {
754
779
  path: PathLike,
755
780
  opts?: StatOptions & {
756
781
  bigint?: false | undefined;
757
- }
782
+ },
758
783
  ): Promise<Stats>;
759
784
  function stat(
760
785
  path: PathLike,
761
786
  opts: StatOptions & {
762
787
  bigint: true;
763
- }
788
+ },
764
789
  ): Promise<BigIntStats>;
765
790
  function stat(path: PathLike, opts?: StatOptions): Promise<Stats | BigIntStats>;
766
791
  /**
@@ -771,13 +796,13 @@ declare module 'fs/promises' {
771
796
  path: PathLike,
772
797
  opts?: StatFsOptions & {
773
798
  bigint?: false | undefined;
774
- }
799
+ },
775
800
  ): Promise<StatsFs>;
776
801
  function statfs(
777
802
  path: PathLike,
778
803
  opts: StatFsOptions & {
779
804
  bigint: true;
780
- }
805
+ },
781
806
  ): Promise<BigIntStatsFs>;
782
807
  function statfs(path: PathLike, opts?: StatFsOptions): Promise<StatsFs | BigIntStatsFs>;
783
808
  /**
@@ -868,7 +893,10 @@ declare module 'fs/promises' {
868
893
  * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
869
894
  * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
870
895
  */
871
- function realpath(path: PathLike, options?: ObjectEncodingOptions | BufferEncoding | null): Promise<string | Buffer>;
896
+ function realpath(
897
+ path: PathLike,
898
+ options?: ObjectEncodingOptions | BufferEncoding | null,
899
+ ): Promise<string | Buffer>;
872
900
  /**
873
901
  * Creates a unique temporary directory. A unique directory name is generated by
874
902
  * appending six random characters to the end of the provided `prefix`. Due to
@@ -963,14 +991,19 @@ declare module 'fs/promises' {
963
991
  */
964
992
  function writeFile(
965
993
  file: PathLike | FileHandle,
966
- data: string | NodeJS.ArrayBufferView | Iterable<string | NodeJS.ArrayBufferView> | AsyncIterable<string | NodeJS.ArrayBufferView> | Stream,
994
+ data:
995
+ | string
996
+ | NodeJS.ArrayBufferView
997
+ | Iterable<string | NodeJS.ArrayBufferView>
998
+ | AsyncIterable<string | NodeJS.ArrayBufferView>
999
+ | Stream,
967
1000
  options?:
968
1001
  | (ObjectEncodingOptions & {
969
- mode?: Mode | undefined;
970
- flag?: OpenMode | undefined;
971
- } & Abortable)
1002
+ mode?: Mode | undefined;
1003
+ flag?: OpenMode | undefined;
1004
+ } & Abortable)
972
1005
  | BufferEncoding
973
- | null
1006
+ | null,
974
1007
  ): Promise<void>;
975
1008
  /**
976
1009
  * Asynchronously append data to a file, creating the file if it does not yet
@@ -986,7 +1019,11 @@ declare module 'fs/promises' {
986
1019
  * @param path filename or {FileHandle}
987
1020
  * @return Fulfills with `undefined` upon success.
988
1021
  */
989
- function appendFile(path: PathLike | FileHandle, data: string | Uint8Array, options?: (ObjectEncodingOptions & FlagAndOpenMode) | BufferEncoding | null): Promise<void>;
1022
+ function appendFile(
1023
+ path: PathLike | FileHandle,
1024
+ data: string | Uint8Array,
1025
+ options?: (ObjectEncodingOptions & FlagAndOpenMode) | BufferEncoding | null,
1026
+ ): Promise<void>;
990
1027
  /**
991
1028
  * Asynchronously reads the entire contents of a file.
992
1029
  *
@@ -1047,10 +1084,10 @@ declare module 'fs/promises' {
1047
1084
  path: PathLike | FileHandle,
1048
1085
  options?:
1049
1086
  | ({
1050
- encoding?: null | undefined;
1051
- flag?: OpenMode | undefined;
1052
- } & Abortable)
1053
- | null
1087
+ encoding?: null | undefined;
1088
+ flag?: OpenMode | undefined;
1089
+ } & Abortable)
1090
+ | null,
1054
1091
  ): Promise<Buffer>;
1055
1092
  /**
1056
1093
  * Asynchronously reads the entire contents of a file.
@@ -1063,10 +1100,10 @@ declare module 'fs/promises' {
1063
1100
  path: PathLike | FileHandle,
1064
1101
  options:
1065
1102
  | ({
1066
- encoding: BufferEncoding;
1067
- flag?: OpenMode | undefined;
1068
- } & Abortable)
1069
- | BufferEncoding
1103
+ encoding: BufferEncoding;
1104
+ flag?: OpenMode | undefined;
1105
+ } & Abortable)
1106
+ | BufferEncoding,
1070
1107
  ): Promise<string>;
1071
1108
  /**
1072
1109
  * Asynchronously reads the entire contents of a file.
@@ -1078,12 +1115,15 @@ declare module 'fs/promises' {
1078
1115
  function readFile(
1079
1116
  path: PathLike | FileHandle,
1080
1117
  options?:
1081
- | (ObjectEncodingOptions &
1082
- Abortable & {
1083
- flag?: OpenMode | undefined;
1084
- })
1118
+ | (
1119
+ & ObjectEncodingOptions
1120
+ & Abortable
1121
+ & {
1122
+ flag?: OpenMode | undefined;
1123
+ }
1124
+ )
1085
1125
  | BufferEncoding
1086
- | null
1126
+ | null,
1087
1127
  ): Promise<string | Buffer>;
1088
1128
  /**
1089
1129
  * Asynchronously open a directory for iterative scanning. See the POSIX [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html) documentation for more detail.
@@ -1148,9 +1188,9 @@ declare module 'fs/promises' {
1148
1188
  filename: PathLike,
1149
1189
  options:
1150
1190
  | (WatchOptions & {
1151
- encoding: 'buffer';
1152
- })
1153
- | 'buffer'
1191
+ encoding: "buffer";
1192
+ })
1193
+ | "buffer",
1154
1194
  ): AsyncIterable<FileChangeInfo<Buffer>>;
1155
1195
  /**
1156
1196
  * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
@@ -1169,7 +1209,10 @@ declare module 'fs/promises' {
1169
1209
  * If `persistent` is not supplied, the default of `true` is used.
1170
1210
  * If `recursive` is not supplied, the default of `false` is used.
1171
1211
  */
1172
- function watch(filename: PathLike, options: WatchOptions | string): AsyncIterable<FileChangeInfo<string>> | AsyncIterable<FileChangeInfo<Buffer>>;
1212
+ function watch(
1213
+ filename: PathLike,
1214
+ options: WatchOptions | string,
1215
+ ): AsyncIterable<FileChangeInfo<string>> | AsyncIterable<FileChangeInfo<Buffer>>;
1173
1216
  /**
1174
1217
  * Asynchronously copies the entire directory structure from `src` to `dest`,
1175
1218
  * including subdirectories and files.
@@ -1184,6 +1227,6 @@ declare module 'fs/promises' {
1184
1227
  */
1185
1228
  function cp(source: string | URL, destination: string | URL, opts?: CopyOptions): Promise<void>;
1186
1229
  }
1187
- declare module 'node:fs/promises' {
1188
- export * from 'fs/promises';
1230
+ declare module "node:fs/promises" {
1231
+ export * from "fs/promises";
1189
1232
  }