cdk-ecr-deployment 2.5.30 → 2.5.32

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 +187 -16
  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 +187 -16
  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 +9 -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 +9 -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 +187 -16
  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 +187 -16
  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 +9 -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 +9 -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 +187 -16
  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 +187 -16
  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 +9 -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 +9 -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
@@ -65,12 +65,12 @@
65
65
  * stalling the event loop while spawned processes complete.
66
66
  * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/child_process.js)
67
67
  */
68
- declare module 'child_process' {
69
- import { ObjectEncodingOptions } from 'node:fs';
70
- import { EventEmitter, Abortable } from 'node:events';
71
- import * as net from 'node:net';
72
- import { Writable, Readable, Stream, Pipe } from 'node:stream';
73
- import { URL } from 'node:url';
68
+ declare module "child_process" {
69
+ import { ObjectEncodingOptions } from "node:fs";
70
+ import { Abortable, EventEmitter } from "node:events";
71
+ import * as net from "node:net";
72
+ import { Pipe, Readable, Stream, Writable } from "node:stream";
73
+ import { URL } from "node:url";
74
74
  type Serializable = string | object | number | boolean | bigint;
75
75
  type SendHandle = net.Socket | net.Server;
76
76
  /**
@@ -186,7 +186,7 @@ declare module 'child_process' {
186
186
  // stderr
187
187
  Readable | Writable | null | undefined,
188
188
  // extra
189
- Readable | Writable | null | undefined // extra
189
+ Readable | Writable | null | undefined, // extra
190
190
  ];
191
191
  /**
192
192
  * The `subprocess.killed` property indicates whether the child process
@@ -302,6 +302,11 @@ declare module 'child_process' {
302
302
  * @since v0.1.90
303
303
  */
304
304
  kill(signal?: NodeJS.Signals | number): boolean;
305
+ /**
306
+ * Calls {@link ChildProcess.kill} with `'SIGTERM'`.
307
+ * @since v20.5.0
308
+ */
309
+ [Symbol.dispose](): void;
305
310
  /**
306
311
  * When an IPC channel has been established between the parent and child (
307
312
  * i.e. when using {@link fork}), the `subprocess.send()` method can
@@ -453,7 +458,12 @@ declare module 'child_process' {
453
458
  */
454
459
  send(message: Serializable, callback?: (error: Error | null) => void): boolean;
455
460
  send(message: Serializable, sendHandle?: SendHandle, callback?: (error: Error | null) => void): boolean;
456
- send(message: Serializable, sendHandle?: SendHandle, options?: MessageOptions, callback?: (error: Error | null) => void): boolean;
461
+ send(
462
+ message: Serializable,
463
+ sendHandle?: SendHandle,
464
+ options?: MessageOptions,
465
+ callback?: (error: Error | null) => void,
466
+ ): boolean;
457
467
  /**
458
468
  * Closes the IPC channel between parent and child, allowing the child to exit
459
469
  * gracefully once there are no other connections keeping it alive. After calling
@@ -519,47 +529,53 @@ declare module 'child_process' {
519
529
  * 6. spawn
520
530
  */
521
531
  addListener(event: string, listener: (...args: any[]) => void): this;
522
- addListener(event: 'close', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
523
- addListener(event: 'disconnect', listener: () => void): this;
524
- addListener(event: 'error', listener: (err: Error) => void): this;
525
- addListener(event: 'exit', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
526
- addListener(event: 'message', listener: (message: Serializable, sendHandle: SendHandle) => void): this;
527
- addListener(event: 'spawn', listener: () => void): this;
532
+ addListener(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
533
+ addListener(event: "disconnect", listener: () => void): this;
534
+ addListener(event: "error", listener: (err: Error) => void): this;
535
+ addListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
536
+ addListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
537
+ addListener(event: "spawn", listener: () => void): this;
528
538
  emit(event: string | symbol, ...args: any[]): boolean;
529
- emit(event: 'close', code: number | null, signal: NodeJS.Signals | null): boolean;
530
- emit(event: 'disconnect'): boolean;
531
- emit(event: 'error', err: Error): boolean;
532
- emit(event: 'exit', code: number | null, signal: NodeJS.Signals | null): boolean;
533
- emit(event: 'message', message: Serializable, sendHandle: SendHandle): boolean;
534
- emit(event: 'spawn', listener: () => void): boolean;
539
+ emit(event: "close", code: number | null, signal: NodeJS.Signals | null): boolean;
540
+ emit(event: "disconnect"): boolean;
541
+ emit(event: "error", err: Error): boolean;
542
+ emit(event: "exit", code: number | null, signal: NodeJS.Signals | null): boolean;
543
+ emit(event: "message", message: Serializable, sendHandle: SendHandle): boolean;
544
+ emit(event: "spawn", listener: () => void): boolean;
535
545
  on(event: string, listener: (...args: any[]) => void): this;
536
- on(event: 'close', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
537
- on(event: 'disconnect', listener: () => void): this;
538
- on(event: 'error', listener: (err: Error) => void): this;
539
- on(event: 'exit', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
540
- on(event: 'message', listener: (message: Serializable, sendHandle: SendHandle) => void): this;
541
- on(event: 'spawn', listener: () => void): this;
546
+ on(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
547
+ on(event: "disconnect", listener: () => void): this;
548
+ on(event: "error", listener: (err: Error) => void): this;
549
+ on(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
550
+ on(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
551
+ on(event: "spawn", listener: () => void): this;
542
552
  once(event: string, listener: (...args: any[]) => void): this;
543
- once(event: 'close', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
544
- once(event: 'disconnect', listener: () => void): this;
545
- once(event: 'error', listener: (err: Error) => void): this;
546
- once(event: 'exit', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
547
- once(event: 'message', listener: (message: Serializable, sendHandle: SendHandle) => void): this;
548
- once(event: 'spawn', listener: () => void): this;
553
+ once(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
554
+ once(event: "disconnect", listener: () => void): this;
555
+ once(event: "error", listener: (err: Error) => void): this;
556
+ once(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
557
+ once(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
558
+ once(event: "spawn", listener: () => void): this;
549
559
  prependListener(event: string, listener: (...args: any[]) => void): this;
550
- prependListener(event: 'close', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
551
- prependListener(event: 'disconnect', listener: () => void): this;
552
- prependListener(event: 'error', listener: (err: Error) => void): this;
553
- prependListener(event: 'exit', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
554
- prependListener(event: 'message', listener: (message: Serializable, sendHandle: SendHandle) => void): this;
555
- prependListener(event: 'spawn', listener: () => void): this;
560
+ prependListener(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
561
+ prependListener(event: "disconnect", listener: () => void): this;
562
+ prependListener(event: "error", listener: (err: Error) => void): this;
563
+ prependListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
564
+ prependListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
565
+ prependListener(event: "spawn", listener: () => void): this;
556
566
  prependOnceListener(event: string, listener: (...args: any[]) => void): this;
557
- prependOnceListener(event: 'close', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
558
- prependOnceListener(event: 'disconnect', listener: () => void): this;
559
- prependOnceListener(event: 'error', listener: (err: Error) => void): this;
560
- prependOnceListener(event: 'exit', listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
561
- prependOnceListener(event: 'message', listener: (message: Serializable, sendHandle: SendHandle) => void): this;
562
- prependOnceListener(event: 'spawn', listener: () => void): this;
567
+ prependOnceListener(
568
+ event: "close",
569
+ listener: (code: number | null, signal: NodeJS.Signals | null) => void,
570
+ ): this;
571
+ prependOnceListener(event: "disconnect", listener: () => void): this;
572
+ prependOnceListener(event: "error", listener: (err: Error) => void): this;
573
+ prependOnceListener(
574
+ event: "exit",
575
+ listener: (code: number | null, signal: NodeJS.Signals | null) => void,
576
+ ): this;
577
+ prependOnceListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
578
+ prependOnceListener(event: "spawn", listener: () => void): this;
563
579
  }
564
580
  // return this object when stdio option is undefined or not specified
565
581
  interface ChildProcessWithoutNullStreams extends ChildProcess {
@@ -573,11 +589,13 @@ declare module 'child_process' {
573
589
  // stderr
574
590
  Readable | Writable | null | undefined,
575
591
  // extra, no modification
576
- Readable | Writable | null | undefined // extra, no modification
592
+ Readable | Writable | null | undefined, // extra, no modification
577
593
  ];
578
594
  }
579
595
  // return this object when stdio option is a tuple of 3
580
- interface ChildProcessByStdio<I extends null | Writable, O extends null | Readable, E extends null | Readable> extends ChildProcess {
596
+ interface ChildProcessByStdio<I extends null | Writable, O extends null | Readable, E extends null | Readable>
597
+ extends ChildProcess
598
+ {
581
599
  stdin: I;
582
600
  stdout: O;
583
601
  stderr: E;
@@ -587,15 +605,15 @@ declare module 'child_process' {
587
605
  E,
588
606
  Readable | Writable | null | undefined,
589
607
  // extra, no modification
590
- Readable | Writable | null | undefined // extra, no modification
608
+ Readable | Writable | null | undefined, // extra, no modification
591
609
  ];
592
610
  }
593
611
  interface MessageOptions {
594
612
  keepOpen?: boolean | undefined;
595
613
  }
596
- type IOType = 'overlapped' | 'pipe' | 'ignore' | 'inherit';
597
- type StdioOptions = IOType | Array<IOType | 'ipc' | Stream | number | null | undefined>;
598
- type SerializationType = 'json' | 'advanced';
614
+ type IOType = "overlapped" | "pipe" | "ignore" | "inherit";
615
+ type StdioOptions = IOType | Array<IOType | "ipc" | Stream | number | null | undefined>;
616
+ type SerializationType = "json" | "advanced";
599
617
  interface MessagingOptions extends Abortable {
600
618
  /**
601
619
  * Specify the kind of serialization used for sending messages between processes.
@@ -649,10 +667,14 @@ declare module 'child_process' {
649
667
  interface SpawnOptionsWithoutStdio extends SpawnOptions {
650
668
  stdio?: StdioPipeNamed | StdioPipe[] | undefined;
651
669
  }
652
- type StdioNull = 'inherit' | 'ignore' | Stream;
653
- type StdioPipeNamed = 'pipe' | 'overlapped';
670
+ type StdioNull = "inherit" | "ignore" | Stream;
671
+ type StdioPipeNamed = "pipe" | "overlapped";
654
672
  type StdioPipe = undefined | null | StdioPipeNamed;
655
- interface SpawnOptionsWithStdioTuple<Stdin extends StdioNull | StdioPipe, Stdout extends StdioNull | StdioPipe, Stderr extends StdioNull | StdioPipe> extends SpawnOptions {
673
+ interface SpawnOptionsWithStdioTuple<
674
+ Stdin extends StdioNull | StdioPipe,
675
+ Stdout extends StdioNull | StdioPipe,
676
+ Stderr extends StdioNull | StdioPipe,
677
+ > extends SpawnOptions {
656
678
  stdio: [Stdin, Stdout, Stderr];
657
679
  }
658
680
  /**
@@ -775,25 +797,85 @@ declare module 'child_process' {
775
797
  * @param args List of string arguments.
776
798
  */
777
799
  function spawn(command: string, options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams;
778
- function spawn(command: string, options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>): ChildProcessByStdio<Writable, Readable, Readable>;
779
- function spawn(command: string, options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>): ChildProcessByStdio<Writable, Readable, null>;
780
- function spawn(command: string, options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>): ChildProcessByStdio<Writable, null, Readable>;
781
- function spawn(command: string, options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioPipe>): ChildProcessByStdio<null, Readable, Readable>;
782
- function spawn(command: string, options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioNull>): ChildProcessByStdio<Writable, null, null>;
783
- function spawn(command: string, options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioNull>): ChildProcessByStdio<null, Readable, null>;
784
- function spawn(command: string, options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioPipe>): ChildProcessByStdio<null, null, Readable>;
785
- function spawn(command: string, options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioNull>): ChildProcessByStdio<null, null, null>;
800
+ function spawn(
801
+ command: string,
802
+ options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>,
803
+ ): ChildProcessByStdio<Writable, Readable, Readable>;
804
+ function spawn(
805
+ command: string,
806
+ options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>,
807
+ ): ChildProcessByStdio<Writable, Readable, null>;
808
+ function spawn(
809
+ command: string,
810
+ options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>,
811
+ ): ChildProcessByStdio<Writable, null, Readable>;
812
+ function spawn(
813
+ command: string,
814
+ options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioPipe>,
815
+ ): ChildProcessByStdio<null, Readable, Readable>;
816
+ function spawn(
817
+ command: string,
818
+ options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioNull>,
819
+ ): ChildProcessByStdio<Writable, null, null>;
820
+ function spawn(
821
+ command: string,
822
+ options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioNull>,
823
+ ): ChildProcessByStdio<null, Readable, null>;
824
+ function spawn(
825
+ command: string,
826
+ options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioPipe>,
827
+ ): ChildProcessByStdio<null, null, Readable>;
828
+ function spawn(
829
+ command: string,
830
+ options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioNull>,
831
+ ): ChildProcessByStdio<null, null, null>;
786
832
  function spawn(command: string, options: SpawnOptions): ChildProcess;
787
833
  // overloads of spawn with 'args'
788
- function spawn(command: string, args?: ReadonlyArray<string>, options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams;
789
- function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>): ChildProcessByStdio<Writable, Readable, Readable>;
790
- function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>): ChildProcessByStdio<Writable, Readable, null>;
791
- function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>): ChildProcessByStdio<Writable, null, Readable>;
792
- function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioPipe>): ChildProcessByStdio<null, Readable, Readable>;
793
- function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioNull>): ChildProcessByStdio<Writable, null, null>;
794
- function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioNull>): ChildProcessByStdio<null, Readable, null>;
795
- function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioPipe>): ChildProcessByStdio<null, null, Readable>;
796
- function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioNull>): ChildProcessByStdio<null, null, null>;
834
+ function spawn(
835
+ command: string,
836
+ args?: ReadonlyArray<string>,
837
+ options?: SpawnOptionsWithoutStdio,
838
+ ): ChildProcessWithoutNullStreams;
839
+ function spawn(
840
+ command: string,
841
+ args: ReadonlyArray<string>,
842
+ options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>,
843
+ ): ChildProcessByStdio<Writable, Readable, Readable>;
844
+ function spawn(
845
+ command: string,
846
+ args: ReadonlyArray<string>,
847
+ options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>,
848
+ ): ChildProcessByStdio<Writable, Readable, null>;
849
+ function spawn(
850
+ command: string,
851
+ args: ReadonlyArray<string>,
852
+ options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>,
853
+ ): ChildProcessByStdio<Writable, null, Readable>;
854
+ function spawn(
855
+ command: string,
856
+ args: ReadonlyArray<string>,
857
+ options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioPipe>,
858
+ ): ChildProcessByStdio<null, Readable, Readable>;
859
+ function spawn(
860
+ command: string,
861
+ args: ReadonlyArray<string>,
862
+ options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioNull>,
863
+ ): ChildProcessByStdio<Writable, null, null>;
864
+ function spawn(
865
+ command: string,
866
+ args: ReadonlyArray<string>,
867
+ options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioNull>,
868
+ ): ChildProcessByStdio<null, Readable, null>;
869
+ function spawn(
870
+ command: string,
871
+ args: ReadonlyArray<string>,
872
+ options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioPipe>,
873
+ ): ChildProcessByStdio<null, null, Readable>;
874
+ function spawn(
875
+ command: string,
876
+ args: ReadonlyArray<string>,
877
+ options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioNull>,
878
+ ): ChildProcessByStdio<null, null, null>;
797
879
  function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptions): ChildProcess;
798
880
  interface ExecOptions extends CommonOptions {
799
881
  shell?: string | undefined;
@@ -898,14 +980,17 @@ declare module 'child_process' {
898
980
  * @param command The command to run, with space-separated arguments.
899
981
  * @param callback called with the output when process terminates.
900
982
  */
901
- function exec(command: string, callback?: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess;
983
+ function exec(
984
+ command: string,
985
+ callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
986
+ ): ChildProcess;
902
987
  // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
903
988
  function exec(
904
989
  command: string,
905
990
  options: {
906
- encoding: 'buffer' | null;
991
+ encoding: "buffer" | null;
907
992
  } & ExecOptions,
908
- callback?: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void
993
+ callback?: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void,
909
994
  ): ChildProcess;
910
995
  // `options` with well known `encoding` means stdout/stderr are definitely `string`.
911
996
  function exec(
@@ -913,7 +998,7 @@ declare module 'child_process' {
913
998
  options: {
914
999
  encoding: BufferEncoding;
915
1000
  } & ExecOptions,
916
- callback?: (error: ExecException | null, stdout: string, stderr: string) => void
1001
+ callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
917
1002
  ): ChildProcess;
918
1003
  // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`.
919
1004
  // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`.
@@ -922,15 +1007,19 @@ declare module 'child_process' {
922
1007
  options: {
923
1008
  encoding: BufferEncoding;
924
1009
  } & ExecOptions,
925
- callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void
1010
+ callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
926
1011
  ): ChildProcess;
927
1012
  // `options` without an `encoding` means stdout/stderr are definitely `string`.
928
- function exec(command: string, options: ExecOptions, callback?: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess;
1013
+ function exec(
1014
+ command: string,
1015
+ options: ExecOptions,
1016
+ callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
1017
+ ): ChildProcess;
929
1018
  // fallback if nothing else matches. Worst case is always `string | Buffer`.
930
1019
  function exec(
931
1020
  command: string,
932
1021
  options: (ObjectEncodingOptions & ExecOptions) | undefined | null,
933
- callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void
1022
+ callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
934
1023
  ): ChildProcess;
935
1024
  interface PromiseWithChild<T> extends Promise<T> {
936
1025
  child: ChildProcess;
@@ -943,8 +1032,8 @@ declare module 'child_process' {
943
1032
  function __promisify__(
944
1033
  command: string,
945
1034
  options: {
946
- encoding: 'buffer' | null;
947
- } & ExecOptions
1035
+ encoding: "buffer" | null;
1036
+ } & ExecOptions,
948
1037
  ): PromiseWithChild<{
949
1038
  stdout: Buffer;
950
1039
  stderr: Buffer;
@@ -953,21 +1042,21 @@ declare module 'child_process' {
953
1042
  command: string,
954
1043
  options: {
955
1044
  encoding: BufferEncoding;
956
- } & ExecOptions
1045
+ } & ExecOptions,
957
1046
  ): PromiseWithChild<{
958
1047
  stdout: string;
959
1048
  stderr: string;
960
1049
  }>;
961
1050
  function __promisify__(
962
1051
  command: string,
963
- options: ExecOptions
1052
+ options: ExecOptions,
964
1053
  ): PromiseWithChild<{
965
1054
  stdout: string;
966
1055
  stderr: string;
967
1056
  }>;
968
1057
  function __promisify__(
969
1058
  command: string,
970
- options?: (ObjectEncodingOptions & ExecOptions) | null
1059
+ options?: (ObjectEncodingOptions & ExecOptions) | null,
971
1060
  ): PromiseWithChild<{
972
1061
  stdout: string | Buffer;
973
1062
  stderr: string | Buffer;
@@ -984,14 +1073,14 @@ declare module 'child_process' {
984
1073
  encoding: BufferEncoding;
985
1074
  }
986
1075
  interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions {
987
- encoding: 'buffer' | null;
1076
+ encoding: "buffer" | null;
988
1077
  }
989
1078
  interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions {
990
1079
  encoding: BufferEncoding;
991
1080
  }
992
1081
  type ExecFileException =
993
- & Omit<ExecException, 'code'>
994
- & Omit<NodeJS.ErrnoException, 'code'>
1082
+ & Omit<ExecException, "code">
1083
+ & Omit<NodeJS.ErrnoException, "code">
995
1084
  & { code?: string | number | undefined | null };
996
1085
  /**
997
1086
  * The `child_process.execFile()` function is similar to {@link exec} except that it does not spawn a shell by default. Rather, the specified
@@ -1057,56 +1146,92 @@ declare module 'child_process' {
1057
1146
  * @param callback Called with the output when process terminates.
1058
1147
  */
1059
1148
  function execFile(file: string): ChildProcess;
1060
- function execFile(file: string, options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null): ChildProcess;
1149
+ function execFile(
1150
+ file: string,
1151
+ options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
1152
+ ): ChildProcess;
1061
1153
  function execFile(file: string, args?: ReadonlyArray<string> | null): ChildProcess;
1062
- function execFile(file: string, args: ReadonlyArray<string> | undefined | null, options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null): ChildProcess;
1154
+ function execFile(
1155
+ file: string,
1156
+ args: ReadonlyArray<string> | undefined | null,
1157
+ options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
1158
+ ): ChildProcess;
1063
1159
  // no `options` definitely means stdout/stderr are `string`.
1064
- function execFile(file: string, callback: (error: ExecFileException | null, stdout: string, stderr: string) => void): ChildProcess;
1065
- function execFile(file: string, args: ReadonlyArray<string> | undefined | null, callback: (error: ExecFileException | null, stdout: string, stderr: string) => void): ChildProcess;
1160
+ function execFile(
1161
+ file: string,
1162
+ callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
1163
+ ): ChildProcess;
1164
+ function execFile(
1165
+ file: string,
1166
+ args: ReadonlyArray<string> | undefined | null,
1167
+ callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
1168
+ ): ChildProcess;
1066
1169
  // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
1067
- function execFile(file: string, options: ExecFileOptionsWithBufferEncoding, callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void): ChildProcess;
1170
+ function execFile(
1171
+ file: string,
1172
+ options: ExecFileOptionsWithBufferEncoding,
1173
+ callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void,
1174
+ ): ChildProcess;
1068
1175
  function execFile(
1069
1176
  file: string,
1070
1177
  args: ReadonlyArray<string> | undefined | null,
1071
1178
  options: ExecFileOptionsWithBufferEncoding,
1072
- callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void
1179
+ callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void,
1073
1180
  ): ChildProcess;
1074
1181
  // `options` with well known `encoding` means stdout/stderr are definitely `string`.
1075
- function execFile(file: string, options: ExecFileOptionsWithStringEncoding, callback: (error: ExecFileException | null, stdout: string, stderr: string) => void): ChildProcess;
1182
+ function execFile(
1183
+ file: string,
1184
+ options: ExecFileOptionsWithStringEncoding,
1185
+ callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
1186
+ ): ChildProcess;
1076
1187
  function execFile(
1077
1188
  file: string,
1078
1189
  args: ReadonlyArray<string> | undefined | null,
1079
1190
  options: ExecFileOptionsWithStringEncoding,
1080
- callback: (error: ExecFileException | null, stdout: string, stderr: string) => void
1191
+ callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
1081
1192
  ): ChildProcess;
1082
1193
  // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`.
1083
1194
  // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`.
1084
- function execFile(file: string, options: ExecFileOptionsWithOtherEncoding, callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void): ChildProcess;
1195
+ function execFile(
1196
+ file: string,
1197
+ options: ExecFileOptionsWithOtherEncoding,
1198
+ callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
1199
+ ): ChildProcess;
1085
1200
  function execFile(
1086
1201
  file: string,
1087
1202
  args: ReadonlyArray<string> | undefined | null,
1088
1203
  options: ExecFileOptionsWithOtherEncoding,
1089
- callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void
1204
+ callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
1090
1205
  ): ChildProcess;
1091
1206
  // `options` without an `encoding` means stdout/stderr are definitely `string`.
1092
- function execFile(file: string, options: ExecFileOptions, callback: (error: ExecFileException | null, stdout: string, stderr: string) => void): ChildProcess;
1207
+ function execFile(
1208
+ file: string,
1209
+ options: ExecFileOptions,
1210
+ callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
1211
+ ): ChildProcess;
1093
1212
  function execFile(
1094
1213
  file: string,
1095
1214
  args: ReadonlyArray<string> | undefined | null,
1096
1215
  options: ExecFileOptions,
1097
- callback: (error: ExecFileException | null, stdout: string, stderr: string) => void
1216
+ callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
1098
1217
  ): ChildProcess;
1099
1218
  // fallback if nothing else matches. Worst case is always `string | Buffer`.
1100
1219
  function execFile(
1101
1220
  file: string,
1102
1221
  options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
1103
- callback: ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void) | undefined | null
1222
+ callback:
1223
+ | ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void)
1224
+ | undefined
1225
+ | null,
1104
1226
  ): ChildProcess;
1105
1227
  function execFile(
1106
1228
  file: string,
1107
1229
  args: ReadonlyArray<string> | undefined | null,
1108
1230
  options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
1109
- callback: ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void) | undefined | null
1231
+ callback:
1232
+ | ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void)
1233
+ | undefined
1234
+ | null,
1110
1235
  ): ChildProcess;
1111
1236
  namespace execFile {
1112
1237
  function __promisify__(file: string): PromiseWithChild<{
@@ -1115,14 +1240,14 @@ declare module 'child_process' {
1115
1240
  }>;
1116
1241
  function __promisify__(
1117
1242
  file: string,
1118
- args: ReadonlyArray<string> | undefined | null
1243
+ args: ReadonlyArray<string> | undefined | null,
1119
1244
  ): PromiseWithChild<{
1120
1245
  stdout: string;
1121
1246
  stderr: string;
1122
1247
  }>;
1123
1248
  function __promisify__(
1124
1249
  file: string,
1125
- options: ExecFileOptionsWithBufferEncoding
1250
+ options: ExecFileOptionsWithBufferEncoding,
1126
1251
  ): PromiseWithChild<{
1127
1252
  stdout: Buffer;
1128
1253
  stderr: Buffer;
@@ -1130,14 +1255,14 @@ declare module 'child_process' {
1130
1255
  function __promisify__(
1131
1256
  file: string,
1132
1257
  args: ReadonlyArray<string> | undefined | null,
1133
- options: ExecFileOptionsWithBufferEncoding
1258
+ options: ExecFileOptionsWithBufferEncoding,
1134
1259
  ): PromiseWithChild<{
1135
1260
  stdout: Buffer;
1136
1261
  stderr: Buffer;
1137
1262
  }>;
1138
1263
  function __promisify__(
1139
1264
  file: string,
1140
- options: ExecFileOptionsWithStringEncoding
1265
+ options: ExecFileOptionsWithStringEncoding,
1141
1266
  ): PromiseWithChild<{
1142
1267
  stdout: string;
1143
1268
  stderr: string;
@@ -1145,14 +1270,14 @@ declare module 'child_process' {
1145
1270
  function __promisify__(
1146
1271
  file: string,
1147
1272
  args: ReadonlyArray<string> | undefined | null,
1148
- options: ExecFileOptionsWithStringEncoding
1273
+ options: ExecFileOptionsWithStringEncoding,
1149
1274
  ): PromiseWithChild<{
1150
1275
  stdout: string;
1151
1276
  stderr: string;
1152
1277
  }>;
1153
1278
  function __promisify__(
1154
1279
  file: string,
1155
- options: ExecFileOptionsWithOtherEncoding
1280
+ options: ExecFileOptionsWithOtherEncoding,
1156
1281
  ): PromiseWithChild<{
1157
1282
  stdout: string | Buffer;
1158
1283
  stderr: string | Buffer;
@@ -1160,14 +1285,14 @@ declare module 'child_process' {
1160
1285
  function __promisify__(
1161
1286
  file: string,
1162
1287
  args: ReadonlyArray<string> | undefined | null,
1163
- options: ExecFileOptionsWithOtherEncoding
1288
+ options: ExecFileOptionsWithOtherEncoding,
1164
1289
  ): PromiseWithChild<{
1165
1290
  stdout: string | Buffer;
1166
1291
  stderr: string | Buffer;
1167
1292
  }>;
1168
1293
  function __promisify__(
1169
1294
  file: string,
1170
- options: ExecFileOptions
1295
+ options: ExecFileOptions,
1171
1296
  ): PromiseWithChild<{
1172
1297
  stdout: string;
1173
1298
  stderr: string;
@@ -1175,14 +1300,14 @@ declare module 'child_process' {
1175
1300
  function __promisify__(
1176
1301
  file: string,
1177
1302
  args: ReadonlyArray<string> | undefined | null,
1178
- options: ExecFileOptions
1303
+ options: ExecFileOptions,
1179
1304
  ): PromiseWithChild<{
1180
1305
  stdout: string;
1181
1306
  stderr: string;
1182
1307
  }>;
1183
1308
  function __promisify__(
1184
1309
  file: string,
1185
- options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null
1310
+ options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
1186
1311
  ): PromiseWithChild<{
1187
1312
  stdout: string | Buffer;
1188
1313
  stderr: string | Buffer;
@@ -1190,7 +1315,7 @@ declare module 'child_process' {
1190
1315
  function __promisify__(
1191
1316
  file: string,
1192
1317
  args: ReadonlyArray<string> | undefined | null,
1193
- options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null
1318
+ options: (ObjectEncodingOptions & ExecFileOptions) | undefined | null,
1194
1319
  ): PromiseWithChild<{
1195
1320
  stdout: string | Buffer;
1196
1321
  stderr: string | Buffer;
@@ -1267,13 +1392,13 @@ declare module 'child_process' {
1267
1392
  interface SpawnSyncOptions extends CommonSpawnOptions {
1268
1393
  input?: string | NodeJS.ArrayBufferView | undefined;
1269
1394
  maxBuffer?: number | undefined;
1270
- encoding?: BufferEncoding | 'buffer' | null | undefined;
1395
+ encoding?: BufferEncoding | "buffer" | null | undefined;
1271
1396
  }
1272
1397
  interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions {
1273
1398
  encoding: BufferEncoding;
1274
1399
  }
1275
1400
  interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions {
1276
- encoding?: 'buffer' | null | undefined;
1401
+ encoding?: "buffer" | null | undefined;
1277
1402
  }
1278
1403
  interface SpawnSyncReturns<T> {
1279
1404
  pid: number;
@@ -1304,9 +1429,21 @@ declare module 'child_process' {
1304
1429
  function spawnSync(command: string, options: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
1305
1430
  function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns<string | Buffer>;
1306
1431
  function spawnSync(command: string, args: ReadonlyArray<string>): SpawnSyncReturns<Buffer>;
1307
- function spawnSync(command: string, args: ReadonlyArray<string>, options: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
1308
- function spawnSync(command: string, args: ReadonlyArray<string>, options: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
1309
- function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptions): SpawnSyncReturns<string | Buffer>;
1432
+ function spawnSync(
1433
+ command: string,
1434
+ args: ReadonlyArray<string>,
1435
+ options: SpawnSyncOptionsWithStringEncoding,
1436
+ ): SpawnSyncReturns<string>;
1437
+ function spawnSync(
1438
+ command: string,
1439
+ args: ReadonlyArray<string>,
1440
+ options: SpawnSyncOptionsWithBufferEncoding,
1441
+ ): SpawnSyncReturns<Buffer>;
1442
+ function spawnSync(
1443
+ command: string,
1444
+ args?: ReadonlyArray<string>,
1445
+ options?: SpawnSyncOptions,
1446
+ ): SpawnSyncReturns<string | Buffer>;
1310
1447
  interface CommonExecOptions extends CommonOptions {
1311
1448
  input?: string | NodeJS.ArrayBufferView | undefined;
1312
1449
  /**
@@ -1321,7 +1458,7 @@ declare module 'child_process' {
1321
1458
  stdio?: StdioOptions | undefined;
1322
1459
  killSignal?: NodeJS.Signals | number | undefined;
1323
1460
  maxBuffer?: number | undefined;
1324
- encoding?: BufferEncoding | 'buffer' | null | undefined;
1461
+ encoding?: BufferEncoding | "buffer" | null | undefined;
1325
1462
  }
1326
1463
  interface ExecSyncOptions extends CommonExecOptions {
1327
1464
  shell?: string | undefined;
@@ -1330,7 +1467,7 @@ declare module 'child_process' {
1330
1467
  encoding: BufferEncoding;
1331
1468
  }
1332
1469
  interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions {
1333
- encoding?: 'buffer' | null | undefined;
1470
+ encoding?: "buffer" | null | undefined;
1334
1471
  }
1335
1472
  /**
1336
1473
  * The `child_process.execSync()` method is generally identical to {@link exec} with the exception that the method will not return
@@ -1359,7 +1496,7 @@ declare module 'child_process' {
1359
1496
  encoding: BufferEncoding;
1360
1497
  }
1361
1498
  interface ExecFileSyncOptionsWithBufferEncoding extends ExecFileSyncOptions {
1362
- encoding?: 'buffer' | null; // specify `null`.
1499
+ encoding?: "buffer" | null; // specify `null`.
1363
1500
  }
1364
1501
  /**
1365
1502
  * The `child_process.execFileSync()` method is generally identical to {@link execFile} with the exception that the method will not
@@ -1386,10 +1523,18 @@ declare module 'child_process' {
1386
1523
  function execFileSync(file: string, options: ExecFileSyncOptionsWithBufferEncoding): Buffer;
1387
1524
  function execFileSync(file: string, options?: ExecFileSyncOptions): string | Buffer;
1388
1525
  function execFileSync(file: string, args: ReadonlyArray<string>): Buffer;
1389
- function execFileSync(file: string, args: ReadonlyArray<string>, options: ExecFileSyncOptionsWithStringEncoding): string;
1390
- function execFileSync(file: string, args: ReadonlyArray<string>, options: ExecFileSyncOptionsWithBufferEncoding): Buffer;
1526
+ function execFileSync(
1527
+ file: string,
1528
+ args: ReadonlyArray<string>,
1529
+ options: ExecFileSyncOptionsWithStringEncoding,
1530
+ ): string;
1531
+ function execFileSync(
1532
+ file: string,
1533
+ args: ReadonlyArray<string>,
1534
+ options: ExecFileSyncOptionsWithBufferEncoding,
1535
+ ): Buffer;
1391
1536
  function execFileSync(file: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptions): string | Buffer;
1392
1537
  }
1393
- declare module 'node:child_process' {
1394
- export * from 'child_process';
1538
+ declare module "node:child_process" {
1539
+ export * from "child_process";
1395
1540
  }