cloudstructs 0.9.4 → 0.9.6

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 (310) hide show
  1. package/.jsii +3 -3
  2. package/assets/slack-app/provider.lambda/index.js +46 -96
  3. package/assets/slack-events/events.lambda/index.js +4 -8
  4. package/assets/slack-textract/detect.lambda/index.js +140 -281
  5. package/assets/ssl-server-test/analyze.lambda/index.js +46 -96
  6. package/assets/static-website/origin-request.edge-lambda/index.js +1 -2
  7. package/assets/url-shortener/shortener.lambda/index.js +1 -2
  8. package/lib/codecommit-mirror/index.js +2 -2
  9. package/lib/dmarc/index.js +1 -1
  10. package/lib/ecs-service-roller/index.js +2 -2
  11. package/lib/email-receiver/receiver.js +1 -1
  12. package/lib/saml-identity-provider/index.js +2 -2
  13. package/lib/slack-app/manifest.js +1 -1
  14. package/lib/slack-app/slack-app.js +2 -2
  15. package/lib/slack-events/index.js +1 -1
  16. package/lib/slack-textract/index.js +1 -1
  17. package/lib/ssl-server-test/index.js +1 -1
  18. package/lib/state-machine-cr-provider/index.js +1 -1
  19. package/lib/static-website/index.js +1 -1
  20. package/lib/toolkit-cleaner/index.js +1 -1
  21. package/lib/url-shortener/index.js +1 -1
  22. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  23. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +88 -44
  24. package/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +17 -15
  25. package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +7 -7
  26. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +1 -1
  27. package/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +1 -1
  28. package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +64 -27
  29. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +38 -3
  30. package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +13 -13
  31. package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
  32. package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +1 -1
  33. package/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +4 -4
  34. package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +29 -37
  35. package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +12 -12
  36. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +37 -37
  37. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +4 -4
  38. package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +83 -47
  39. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +1 -1
  40. package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +1 -0
  41. package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +4 -4
  42. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +50 -8
  43. package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +28 -11
  44. package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
  45. package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +1 -1
  46. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +3 -3
  47. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +214 -43
  48. package/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +4 -4
  49. package/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +18 -6
  50. package/node_modules/@slack/logger/node_modules/@types/node/readline/promises.d.ts +9 -9
  51. package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +21 -20
  52. package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +7 -7
  53. package/node_modules/@slack/logger/node_modules/@types/node/sea.d.ts +153 -0
  54. package/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +2 -2
  55. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +8 -6
  56. package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +3 -3
  57. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +28 -23
  58. package/node_modules/@slack/logger/node_modules/@types/node/timers/promises.d.ts +10 -6
  59. package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +5 -5
  60. package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +39 -32
  61. package/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +40 -25
  62. package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +8 -8
  63. package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +5 -5
  64. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +115 -22
  65. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +6 -6
  66. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +35 -17
  67. package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +1 -1
  68. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +16 -16
  69. package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +16 -3
  70. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  71. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +88 -44
  72. package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +17 -15
  73. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +7 -7
  74. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +1 -1
  75. package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +1 -1
  76. package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +64 -27
  77. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +38 -3
  78. package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +13 -13
  79. package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
  80. package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +1 -1
  81. package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +4 -4
  82. package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +29 -37
  83. package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +12 -12
  84. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +37 -37
  85. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +4 -4
  86. package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +83 -47
  87. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +1 -1
  88. package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +1 -0
  89. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +4 -4
  90. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +50 -8
  91. package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +28 -11
  92. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  93. package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +1 -1
  94. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +3 -3
  95. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +214 -43
  96. package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +4 -4
  97. package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +18 -6
  98. package/node_modules/@slack/web-api/node_modules/@types/node/readline/promises.d.ts +9 -9
  99. package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +21 -20
  100. package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +7 -7
  101. package/node_modules/@slack/web-api/node_modules/@types/node/sea.d.ts +153 -0
  102. package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +2 -2
  103. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +8 -6
  104. package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +3 -3
  105. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +28 -23
  106. package/node_modules/@slack/web-api/node_modules/@types/node/timers/promises.d.ts +10 -6
  107. package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +5 -5
  108. package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +39 -32
  109. package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +40 -25
  110. package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +8 -8
  111. package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +5 -5
  112. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +115 -22
  113. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +6 -6
  114. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +35 -17
  115. package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +1 -1
  116. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +16 -16
  117. package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +16 -3
  118. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  119. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +88 -44
  120. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +17 -15
  121. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +7 -7
  122. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +1 -1
  123. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +1 -1
  124. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +64 -27
  125. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +38 -3
  126. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +13 -13
  127. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
  128. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +1 -1
  129. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +4 -4
  130. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +29 -37
  131. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +12 -12
  132. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +37 -37
  133. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +4 -4
  134. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +83 -47
  135. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +1 -1
  136. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +1 -0
  137. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +4 -4
  138. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +50 -8
  139. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +28 -11
  140. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  141. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +1 -1
  142. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +3 -3
  143. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +214 -43
  144. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +4 -4
  145. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +18 -6
  146. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline/promises.d.ts +9 -9
  147. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +21 -20
  148. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +7 -7
  149. package/node_modules/@types/cacheable-request/node_modules/@types/node/sea.d.ts +153 -0
  150. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +2 -2
  151. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +8 -6
  152. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +3 -3
  153. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +28 -23
  154. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +10 -6
  155. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +5 -5
  156. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +39 -32
  157. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +40 -25
  158. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +8 -8
  159. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +5 -5
  160. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +115 -22
  161. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +6 -6
  162. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +35 -17
  163. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +1 -1
  164. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +16 -16
  165. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +16 -3
  166. package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
  167. package/node_modules/@types/is-stream/node_modules/@types/node/assert.d.ts +88 -44
  168. package/node_modules/@types/is-stream/node_modules/@types/node/async_hooks.d.ts +17 -15
  169. package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +7 -7
  170. package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +1 -1
  171. package/node_modules/@types/is-stream/node_modules/@types/node/cluster.d.ts +1 -1
  172. package/node_modules/@types/is-stream/node_modules/@types/node/console.d.ts +64 -27
  173. package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +38 -3
  174. package/node_modules/@types/is-stream/node_modules/@types/node/dgram.d.ts +13 -13
  175. package/node_modules/@types/is-stream/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
  176. package/node_modules/@types/is-stream/node_modules/@types/node/dns.d.ts +1 -1
  177. package/node_modules/@types/is-stream/node_modules/@types/node/domain.d.ts +4 -4
  178. package/node_modules/@types/is-stream/node_modules/@types/node/events.d.ts +29 -37
  179. package/node_modules/@types/is-stream/node_modules/@types/node/fs/promises.d.ts +12 -12
  180. package/node_modules/@types/is-stream/node_modules/@types/node/fs.d.ts +37 -37
  181. package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +4 -4
  182. package/node_modules/@types/is-stream/node_modules/@types/node/http2.d.ts +83 -47
  183. package/node_modules/@types/is-stream/node_modules/@types/node/https.d.ts +1 -1
  184. package/node_modules/@types/is-stream/node_modules/@types/node/index.d.ts +1 -0
  185. package/node_modules/@types/is-stream/node_modules/@types/node/inspector.d.ts +4 -4
  186. package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +50 -8
  187. package/node_modules/@types/is-stream/node_modules/@types/node/os.d.ts +28 -11
  188. package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
  189. package/node_modules/@types/is-stream/node_modules/@types/node/path.d.ts +1 -1
  190. package/node_modules/@types/is-stream/node_modules/@types/node/perf_hooks.d.ts +3 -3
  191. package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +214 -43
  192. package/node_modules/@types/is-stream/node_modules/@types/node/punycode.d.ts +4 -4
  193. package/node_modules/@types/is-stream/node_modules/@types/node/querystring.d.ts +18 -6
  194. package/node_modules/@types/is-stream/node_modules/@types/node/readline/promises.d.ts +9 -9
  195. package/node_modules/@types/is-stream/node_modules/@types/node/readline.d.ts +21 -20
  196. package/node_modules/@types/is-stream/node_modules/@types/node/repl.d.ts +7 -7
  197. package/node_modules/@types/is-stream/node_modules/@types/node/sea.d.ts +153 -0
  198. package/node_modules/@types/is-stream/node_modules/@types/node/stream/web.d.ts +2 -2
  199. package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +8 -6
  200. package/node_modules/@types/is-stream/node_modules/@types/node/string_decoder.d.ts +3 -3
  201. package/node_modules/@types/is-stream/node_modules/@types/node/test.d.ts +28 -23
  202. package/node_modules/@types/is-stream/node_modules/@types/node/timers/promises.d.ts +10 -6
  203. package/node_modules/@types/is-stream/node_modules/@types/node/timers.d.ts +5 -5
  204. package/node_modules/@types/is-stream/node_modules/@types/node/tls.d.ts +39 -32
  205. package/node_modules/@types/is-stream/node_modules/@types/node/trace_events.d.ts +40 -25
  206. package/node_modules/@types/is-stream/node_modules/@types/node/tty.d.ts +8 -8
  207. package/node_modules/@types/is-stream/node_modules/@types/node/url.d.ts +5 -5
  208. package/node_modules/@types/is-stream/node_modules/@types/node/util.d.ts +115 -22
  209. package/node_modules/@types/is-stream/node_modules/@types/node/v8.d.ts +6 -6
  210. package/node_modules/@types/is-stream/node_modules/@types/node/vm.d.ts +35 -17
  211. package/node_modules/@types/is-stream/node_modules/@types/node/wasi.d.ts +1 -1
  212. package/node_modules/@types/is-stream/node_modules/@types/node/worker_threads.d.ts +16 -16
  213. package/node_modules/@types/is-stream/node_modules/@types/node/zlib.d.ts +16 -3
  214. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  215. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +88 -44
  216. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +17 -15
  217. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +7 -7
  218. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +1 -1
  219. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +1 -1
  220. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +64 -27
  221. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +38 -3
  222. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +13 -13
  223. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
  224. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +1 -1
  225. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +4 -4
  226. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +29 -37
  227. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +12 -12
  228. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +37 -37
  229. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +4 -4
  230. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +83 -47
  231. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +1 -1
  232. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +1 -0
  233. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +4 -4
  234. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +50 -8
  235. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +28 -11
  236. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  237. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +1 -1
  238. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +3 -3
  239. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +214 -43
  240. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +4 -4
  241. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +18 -6
  242. package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +9 -9
  243. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +21 -20
  244. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +7 -7
  245. package/node_modules/@types/keyv/node_modules/@types/node/sea.d.ts +153 -0
  246. package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +2 -2
  247. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +8 -6
  248. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +3 -3
  249. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +28 -23
  250. package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +10 -6
  251. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +5 -5
  252. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +39 -32
  253. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +40 -25
  254. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +8 -8
  255. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +5 -5
  256. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +115 -22
  257. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +6 -6
  258. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +35 -17
  259. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +1 -1
  260. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +16 -16
  261. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +16 -3
  262. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  263. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +88 -44
  264. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +17 -15
  265. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +7 -7
  266. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +1 -1
  267. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +1 -1
  268. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +64 -27
  269. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +38 -3
  270. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +13 -13
  271. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +3 -3
  272. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +1 -1
  273. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +4 -4
  274. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +29 -37
  275. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +12 -12
  276. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +37 -37
  277. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +4 -4
  278. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +83 -47
  279. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +1 -1
  280. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +1 -0
  281. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +4 -4
  282. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +50 -8
  283. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +28 -11
  284. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  285. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +1 -1
  286. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +3 -3
  287. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +214 -43
  288. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +4 -4
  289. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +18 -6
  290. package/node_modules/@types/responselike/node_modules/@types/node/readline/promises.d.ts +9 -9
  291. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +21 -20
  292. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +7 -7
  293. package/node_modules/@types/responselike/node_modules/@types/node/sea.d.ts +153 -0
  294. package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +2 -2
  295. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +8 -6
  296. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +3 -3
  297. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +28 -23
  298. package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +10 -6
  299. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +5 -5
  300. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +39 -32
  301. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +40 -25
  302. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +8 -8
  303. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +5 -5
  304. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +115 -22
  305. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +6 -6
  306. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +35 -17
  307. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +1 -1
  308. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +16 -16
  309. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +16 -3
  310. package/package.json +18 -18
@@ -18,14 +18,14 @@
18
18
  *
19
19
  * 1. A synchronous function that is considered failing if it throws an exception,
20
20
  * and is considered passing otherwise.
21
- * 2. A function that returns a `Promise` that is considered failing if the`Promise` rejects, and is considered passing if the `Promise` fulfills.
21
+ * 2. A function that returns a `Promise` that is considered failing if the `Promise` rejects, and is considered passing if the `Promise` fulfills.
22
22
  * 3. A function that receives a callback function. If the callback receives any
23
23
  * truthy value as its first argument, the test is considered failing. If a
24
24
  * falsy value is passed as the first argument to the callback, the test is
25
25
  * considered passing. If the test function receives a callback function and
26
26
  * also returns a `Promise`, the test will fail.
27
27
  *
28
- * The following example illustrates how tests are written using the`test` module.
28
+ * The following example illustrates how tests are written using the `test` module.
29
29
  *
30
30
  * ```js
31
31
  * test('synchronous passing test', (t) => {
@@ -76,13 +76,13 @@
76
76
  *
77
77
  * If any tests fail, the process exit code is set to `1`.
78
78
  * @since v18.0.0, v16.17.0
79
- * @see [source](https://github.com/nodejs/node/blob/v20.4.0/lib/test.js)
79
+ * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/test.js)
80
80
  */
81
81
  declare module "node:test" {
82
82
  import { Readable } from "node:stream";
83
83
  import { AsyncResource } from "node:async_hooks";
84
84
  /**
85
- * **Note:**`shard` is used to horizontally parallelize test running across
85
+ * **Note:** `shard` is used to horizontally parallelize test running across
86
86
  * machines or processes, ideal for large-scale executions across varied
87
87
  * environments. It's incompatible with `watch` mode, tailored for rapid
88
88
  * code iteration by automatically rerunning tests on file changes.
@@ -129,14 +129,14 @@ declare module "node:test" {
129
129
  * });
130
130
  * ```
131
131
  *
132
- * The `timeout` option can be used to fail the test if it takes longer than`timeout` milliseconds to complete. However, it is not a reliable mechanism for
132
+ * The `timeout` option can be used to fail the test if it takes longer than `timeout` milliseconds to complete. However, it is not a reliable mechanism for
133
133
  * canceling tests because a running test might block the application thread and
134
134
  * thus prevent the scheduled cancellation.
135
135
  * @since v18.0.0, v16.17.0
136
136
  * @param [name='The name'] The name of the test, which is displayed when reporting test results.
137
137
  * @param options Configuration options for the test. The following properties are supported:
138
- * @param [fn='A no-op function'] The function under test. The first argument to this function is a {@link TestContext} object. If the test uses callbacks, the callback function is passed as the
139
- * second argument.
138
+ * @param [fn='A no-op function'] The function under test. The first argument to this function is a {@link TestContext} object. If the test uses callbacks, the
139
+ * callback function is passed as the second argument.
140
140
  * @return Fulfilled with `undefined` once the test completes, or immediately if the test runs within {@link describe}.
141
141
  */
142
142
  function test(name?: string, fn?: TestFn): Promise<void>;
@@ -328,7 +328,7 @@ declare module "node:test" {
328
328
  timeout: number | null;
329
329
  }
330
330
  /**
331
- * A successful call to `run()` method will return a new `TestsStream` object, streaming a series of events representing the execution of the tests.`TestsStream` will emit events, in the
331
+ * A successful call to `run()` method will return a new `TestsStream` object, streaming a series of events representing the execution of the tests. `TestsStream` will emit events, in the
332
332
  * order of the tests definition
333
333
  * @since v18.9.0, v16.19.0
334
334
  */
@@ -392,7 +392,7 @@ declare module "node:test" {
392
392
  /**
393
393
  * This function is used to create a hook running before subtest of the current test.
394
394
  * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
395
- * the second argument. Default: A no-op function.
395
+ * the second argument. **Default:** A no-op function.
396
396
  * @param options Configuration options for the hook.
397
397
  * @since v20.1.0
398
398
  */
@@ -400,14 +400,14 @@ declare module "node:test" {
400
400
  /**
401
401
  * This function is used to create a hook running before each subtest of the current test.
402
402
  * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
403
- * the second argument. Default: A no-op function.
403
+ * the second argument. **Default:** A no-op function.
404
404
  * @param options Configuration options for the hook.
405
405
  * @since v18.8.0
406
406
  */
407
407
  beforeEach: typeof beforeEach;
408
408
  /**
409
409
  * This function is used to create a hook that runs after the current test finishes.
410
- * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
410
+ * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as
411
411
  * the second argument. Default: A no-op function.
412
412
  * @param options Configuration options for the hook.
413
413
  * @since v18.13.0
@@ -416,7 +416,7 @@ declare module "node:test" {
416
416
  /**
417
417
  * This function is used to create a hook running after each subtest of the current test.
418
418
  * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
419
- * the second argument. Default: A no-op function.
419
+ * the second argument. **Default:** A no-op function.
420
420
  * @param options Configuration options for the hook.
421
421
  * @since v18.8.0
422
422
  */
@@ -470,7 +470,7 @@ declare module "node:test" {
470
470
  */
471
471
  readonly signal: AbortSignal;
472
472
  /**
473
- * This function causes the test's output to indicate the test as skipped. If`message` is provided, it is included in the output. Calling `skip()` does
473
+ * This function causes the test's output to indicate the test as skipped. If `message` is provided, it is included in the output. Calling `skip()` does
474
474
  * not terminate execution of the test function. This function does not return a
475
475
  * value.
476
476
  *
@@ -508,7 +508,7 @@ declare module "node:test" {
508
508
  * @param options Configuration options for the test
509
509
  * @param fn The function under test. This first argument to this function is a
510
510
  * {@link TestContext} object. If the test uses callbacks, the callback function is
511
- * passed as the second argument. Default: A no-op function.
511
+ * passed as the second argument. **Default:** A no-op function.
512
512
  * @returns A {@link Promise} resolved with `undefined` once the test completes.
513
513
  */
514
514
  test: typeof test;
@@ -517,6 +517,7 @@ declare module "node:test" {
517
517
  */
518
518
  readonly mock: MockTracker;
519
519
  }
520
+
520
521
  /**
521
522
  * An instance of `SuiteContext` is passed to each suite function in order to
522
523
  * interact with the test runner. However, the `SuiteContext` constructor is not
@@ -695,7 +696,7 @@ declare module "node:test" {
695
696
  /**
696
697
  * The `MockTracker` class is used to manage mocking functionality. The test runner
697
698
  * module provides a top level `mock` export which is a `MockTracker` instance.
698
- * Each test also provides its own `MockTracker` instance via the test context's`mock` property.
699
+ * Each test also provides its own `MockTracker` instance via the test context's `mock` property.
699
700
  * @since v19.1.0, v18.13.0
700
701
  */
701
702
  class MockTracker {
@@ -811,7 +812,7 @@ declare module "node:test" {
811
812
  ): Mock<Function>;
812
813
 
813
814
  /**
814
- * This function is syntax sugar for `MockTracker.method` with `options.getter`set to `true`.
815
+ * This function is syntax sugar for `MockTracker.method` with `options.getter` set to `true`.
815
816
  * @since v19.3.0, v18.13.0
816
817
  */
817
818
  getter<
@@ -833,7 +834,7 @@ declare module "node:test" {
833
834
  options?: MockFunctionOptions,
834
835
  ): Mock<(() => MockedObject[MethodName]) | Implementation>;
835
836
  /**
836
- * This function is syntax sugar for `MockTracker.method` with `options.setter`set to `true`.
837
+ * This function is syntax sugar for `MockTracker.method` with `options.setter` set to `true`.
837
838
  * @since v19.3.0, v18.13.0
838
839
  */
839
840
  setter<
@@ -856,11 +857,11 @@ declare module "node:test" {
856
857
  ): Mock<((value: MockedObject[MethodName]) => void) | Implementation>;
857
858
  /**
858
859
  * This function restores the default behavior of all mocks that were previously
859
- * created by this `MockTracker` and disassociates the mocks from the`MockTracker` instance. Once disassociated, the mocks can still be used, but the`MockTracker` instance can no longer be
860
+ * created by this `MockTracker` and disassociates the mocks from the `MockTracker` instance. Once disassociated, the mocks can still be used, but the `MockTracker` instance can no longer be
860
861
  * used to reset their behavior or
861
862
  * otherwise interact with them.
862
863
  *
863
- * After each test completes, this function is called on the test context's`MockTracker`. If the global `MockTracker` is used extensively, calling this
864
+ * After each test completes, this function is called on the test context's `MockTracker`. If the global `MockTracker` is used extensively, calling this
864
865
  * function manually is recommended.
865
866
  * @since v19.1.0, v18.13.0
866
867
  */
@@ -926,7 +927,7 @@ declare module "node:test" {
926
927
  readonly calls: Array<MockFunctionCall<F>>;
927
928
  /**
928
929
  * This function returns the number of times that this mock has been invoked. This
929
- * function is more efficient than checking `ctx.calls.length` because `ctx.calls`is a getter that creates a copy of the internal call tracking array.
930
+ * function is more efficient than checking `ctx.calls.length` because `ctx.calls` is a getter that creates a copy of the internal call tracking array.
930
931
  * @since v19.1.0, v18.13.0
931
932
  * @return The number of times that this mock has been invoked.
932
933
  */
@@ -1050,7 +1051,7 @@ declare module "node:test" {
1050
1051
  *
1051
1052
  * The above example enables mocking for the `Date` constructor, `setInterval` timer and
1052
1053
  * implicitly mocks the `clearInterval` function. Only the `Date` constructor from `globalThis`,
1053
- * `setInterval` and `clearInterval` functions from `node:timers`,`node:timers/promises`, and `globalThis` will be mocked.
1054
+ * `setInterval` and `clearInterval` functions from `node:timers`, `node:timers/promises`, and `globalThis` will be mocked.
1054
1055
  *
1055
1056
  * Example usage with initial time set
1056
1057
  *
@@ -1075,7 +1076,9 @@ declare module "node:test" {
1075
1076
  * and `globalThis` will be mocked.
1076
1077
  * The `Date` constructor from `globalThis` will be mocked.
1077
1078
  *
1078
- * If there is no initial epoch set, the initial date will be based on 0 in the Unix epoch. This is `January 1st, 1970, 00:00:00 UTC`. You can set an initial date by passing a now property to the `.enable()` method. This value will be used as the initial date for the mocked Date object. It can either be a positive integer, or another Date object.
1079
+ * If there is no initial epoch set, the initial date will be based on 0 in the Unix epoch. This is `January 1st, 1970, 00:00:00 UTC`. You can
1080
+ * set an initial date by passing a now property to the `.enable()` method. This value will be used as the initial date for the mocked Date
1081
+ * object. It can either be a positive integer, or another Date object.
1079
1082
  * @since v20.4.0
1080
1083
  */
1081
1084
  enable(options?: MockTimersOptions): void;
@@ -1244,8 +1247,10 @@ declare module "node:test" {
1244
1247
  only,
1245
1248
  run,
1246
1249
  skip,
1250
+ SuiteContext,
1247
1251
  test,
1248
1252
  test as default,
1253
+ TestContext,
1249
1254
  todo,
1250
1255
  };
1251
1256
  }
@@ -1420,7 +1425,7 @@ interface TestDequeue extends TestLocationInfo {
1420
1425
  * import test from 'test/reporters';
1421
1426
  * ```
1422
1427
  * @since v19.9.0
1423
- * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/test/reporters.js)
1428
+ * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/test/reporters.js)
1424
1429
  */
1425
1430
  declare module "node:test/reporters" {
1426
1431
  import { Transform, TransformOptions } from "node:stream";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The `timers/promises` API provides an alternative set of timer functions
3
- * that return `Promise` objects. The API is accessible via`require('node:timers/promises')`.
3
+ * that return `Promise` objects. The API is accessible via `require('node:timers/promises')`.
4
4
  *
5
5
  * ```js
6
6
  * import {
@@ -66,21 +66,25 @@ declare module "timers/promises" {
66
66
  function setInterval<T = void>(delay?: number, value?: T, options?: TimerOptions): AsyncIterable<T>;
67
67
  interface Scheduler {
68
68
  /**
69
+ * An experimental API defined by the [Scheduling APIs](https://github.com/WICG/scheduling-apis) draft specification being developed as a standard Web Platform API.
70
+ *
71
+ * Calling `timersPromises.scheduler.wait(delay, options)` is roughly equivalent to calling `timersPromises.setTimeout(delay, undefined, options)` except that the `ref`
72
+ * option is not supported.
73
+ *
69
74
  * ```js
70
75
  * import { scheduler } from 'node:timers/promises';
71
76
  *
72
77
  * await scheduler.wait(1000); // Wait one second before continuing
73
78
  * ```
74
- * An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API.
75
- * Calling timersPromises.scheduler.wait(delay, options) is roughly equivalent to calling timersPromises.setTimeout(delay, undefined, options) except that the ref option is not supported.
76
79
  * @since v16.14.0
77
80
  * @experimental
78
81
  * @param [delay=1] The number of milliseconds to wait before fulfilling the promise.
79
82
  */
80
- wait: (delay?: number, options?: TimerOptions) => Promise<void>;
83
+ wait: (delay?: number, options?: Pick<TimerOptions, "signal">) => Promise<void>;
81
84
  /**
82
- * An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API.
83
- * Calling timersPromises.scheduler.yield() is equivalent to calling timersPromises.setImmediate() with no arguments.
85
+ * An experimental API defined by the [Scheduling APIs](https://nodejs.org/docs/latest-v20.x/api/async_hooks.html#promise-execution-tracking) draft specification
86
+ * being developed as a standard Web Platform API.
87
+ * Calling `timersPromises.scheduler.yield()` is equivalent to calling `timersPromises.setImmediate()` with no arguments.
84
88
  * @since v16.14.0
85
89
  * @experimental
86
90
  */
@@ -6,7 +6,7 @@
6
6
  * The timer functions within Node.js implement a similar API as the timers API
7
7
  * provided by Web Browsers but use a different internal implementation that is
8
8
  * built around the Node.js [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout).
9
- * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/timers.js)
9
+ * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/timers.js)
10
10
  */
11
11
  declare module "timers" {
12
12
  import { Abortable } from "node:events";
@@ -43,12 +43,12 @@ declare module "timers" {
43
43
  * actions.
44
44
  *
45
45
  * By default, when an immediate is scheduled, the Node.js event loop will continue
46
- * running as long as the immediate is active. The `Immediate` object returned by `setImmediate()` exports both `immediate.ref()` and `immediate.unref()`functions that can be used to
46
+ * running as long as the immediate is active. The `Immediate` object returned by `setImmediate()` exports both `immediate.ref()` and `immediate.unref()` functions that can be used to
47
47
  * control this default behavior.
48
48
  */
49
49
  class Immediate implements RefCounted {
50
50
  /**
51
- * When called, requests that the Node.js event loop _not_ exit so long as the`Immediate` is active. Calling `immediate.ref()` multiple times will have no
51
+ * When called, requests that the Node.js event loop _not_ exit so long as the `Immediate` is active. Calling `immediate.ref()` multiple times will have no
52
52
  * effect.
53
53
  *
54
54
  * By default, all `Immediate` objects are "ref'ed", making it normally unnecessary
@@ -100,7 +100,7 @@ declare module "timers" {
100
100
  /**
101
101
  * When called, the active `Timeout` object will not require the Node.js event loop
102
102
  * to remain active. If there is no other activity keeping the event loop running,
103
- * the process may exit before the `Timeout` object's callback is invoked. Calling`timeout.unref()` multiple times will have no effect.
103
+ * the process may exit before the `Timeout` object's callback is invoked. Calling `timeout.unref()` multiple times will have no effect.
104
104
  * @since v0.9.1
105
105
  * @return a reference to `timeout`
106
106
  */
@@ -138,7 +138,7 @@ declare module "timers" {
138
138
  * nor of their ordering. The callback will be called as close as possible to the
139
139
  * time specified.
140
140
  *
141
- * When `delay` is larger than `2147483647` or less than `1`, the `delay`will be set to `1`. Non-integer delays are truncated to an integer.
141
+ * When `delay` is larger than `2147483647` or less than `1`, the `delay` will be set to `1`. Non-integer delays are truncated to an integer.
142
142
  *
143
143
  * If `callback` is not a function, a `TypeError` will be thrown.
144
144
  *
@@ -6,7 +6,7 @@
6
6
  * ```js
7
7
  * const tls = require('node:tls');
8
8
  * ```
9
- * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/tls.js)
9
+ * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/tls.js)
10
10
  */
11
11
  declare module "tls" {
12
12
  import { X509Certificate } from "node:crypto";
@@ -125,7 +125,7 @@ declare module "tls" {
125
125
  */
126
126
  asn1Curve?: string;
127
127
  /**
128
- * The NIST name for the elliptic curve,if it has one
128
+ * The NIST name for the elliptic curve, if it has one
129
129
  * (not all well-known curves have been assigned names by NIST).
130
130
  */
131
131
  nistCurve?: string;
@@ -278,7 +278,7 @@ declare module "tls" {
278
278
  * an ephemeral key exchange in `perfect forward secrecy` on a client
279
279
  * connection. It returns an empty object when the key exchange is not
280
280
  * ephemeral. As this is only supported on a client socket; `null` is returned
281
- * if called on a server socket. The supported types are `'DH'` and `'ECDH'`. The`name` property is available only when type is `'ECDH'`.
281
+ * if called on a server socket. The supported types are `'DH'` and `'ECDH'`. The `name` property is available only when type is `'ECDH'`.
282
282
  *
283
283
  * For example: `{ type: 'ECDH', name: 'prime256v1', size: 256 }`.
284
284
  * @since v5.0.0
@@ -382,7 +382,7 @@ declare module "tls" {
382
382
  * This method can be used to request a peer's certificate after the secure
383
383
  * connection has been established.
384
384
  *
385
- * When running as the server, the socket will be destroyed with an error after`handshakeTimeout` timeout.
385
+ * When running as the server, the socket will be destroyed with an error after `handshakeTimeout` timeout.
386
386
  *
387
387
  * For TLSv1.3, renegotiation cannot be initiated, it is not supported by the
388
388
  * protocol.
@@ -975,7 +975,7 @@ declare module "tls" {
975
975
  * This function is intended to be used in combination with the`checkServerIdentity` option that can be passed to {@link connect} and as
976
976
  * such operates on a `certificate object`. For other purposes, consider using `x509.checkHost()` instead.
977
977
  *
978
- * This function can be overwritten by providing an alternative function as the`options.checkServerIdentity` option that is passed to `tls.connect()`. The
978
+ * This function can be overwritten by providing an alternative function as the `options.checkServerIdentity` option that is passed to `tls.connect()`. The
979
979
  * overwriting function can call `tls.checkServerIdentity()` of course, to augment
980
980
  * the checks done with additional verification.
981
981
  *
@@ -984,7 +984,7 @@ declare module "tls" {
984
984
  *
985
985
  * Earlier versions of Node.js incorrectly accepted certificates for a given`hostname` if a matching `uniformResourceIdentifier` subject alternative name
986
986
  * was present (see [CVE-2021-44531](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44531)). Applications that wish to accept`uniformResourceIdentifier` subject alternative names can use
987
- * a custom`options.checkServerIdentity` function that implements the desired behavior.
987
+ * a custom `options.checkServerIdentity` function that implements the desired behavior.
988
988
  * @since v0.8.4
989
989
  * @param hostname The host name or IP address to verify the certificate against.
990
990
  * @param cert A `certificate object` representing the peer's certificate.
@@ -1092,7 +1092,7 @@ declare module "tls" {
1092
1092
  * stream and the cleartext one is used as a replacement for the initial encrypted
1093
1093
  * stream.
1094
1094
  *
1095
- * `tls.createSecurePair()` returns a `tls.SecurePair` object with `cleartext` and`encrypted` stream properties.
1095
+ * `tls.createSecurePair()` returns a `tls.SecurePair` object with `cleartext` and `encrypted` stream properties.
1096
1096
  *
1097
1097
  * Using `cleartext` has the same API as {@link TLSSocket}.
1098
1098
  *
@@ -1125,10 +1125,10 @@ declare module "tls" {
1125
1125
  rejectUnauthorized?: boolean,
1126
1126
  ): SecurePair;
1127
1127
  /**
1128
- * {@link createServer} sets the default value of the `honorCipherOrder` option
1128
+ * `{@link createServer}` sets the default value of the `honorCipherOrder` option
1129
1129
  * to `true`, other APIs that create secure contexts leave it unset.
1130
1130
  *
1131
- * {@link createServer} uses a 128 bit truncated SHA1 hash value generated
1131
+ * `{@link createServer}` uses a 128 bit truncated SHA1 hash value generated
1132
1132
  * from `process.argv` as the default value of the `sessionIdContext` option, other
1133
1133
  * APIs that create secure contexts have no default value.
1134
1134
  *
@@ -1136,12 +1136,12 @@ declare module "tls" {
1136
1136
  * usable as an argument to several `tls` APIs, such as `server.addContext()`,
1137
1137
  * but has no public methods. The {@link Server} constructor and the {@link createServer} method do not support the `secureContext` option.
1138
1138
  *
1139
- * A key is _required_ for ciphers that use certificates. Either `key` or`pfx` can be used to provide it.
1139
+ * A key is _required_ for ciphers that use certificates. Either `key` or `pfx` can be used to provide it.
1140
1140
  *
1141
1141
  * If the `ca` option is not given, then Node.js will default to using [Mozilla's publicly trusted list of
1142
1142
  * CAs](https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt).
1143
1143
  *
1144
- * Custom DHE parameters are discouraged in favor of the new `dhparam: 'auto'`option. When set to `'auto'`, well-known DHE parameters of sufficient strength
1144
+ * Custom DHE parameters are discouraged in favor of the new `dhparam: 'auto' `option. When set to `'auto'`, well-known DHE parameters of sufficient strength
1145
1145
  * will be selected automatically. Otherwise, if necessary, `openssl dhparam` can
1146
1146
  * be used to create custom parameters. The key length must be greater than or
1147
1147
  * equal to 1024 bits or else an error will be thrown. Although 1024 bits is
@@ -1152,9 +1152,10 @@ declare module "tls" {
1152
1152
  /**
1153
1153
  * Returns an array with the names of the supported TLS ciphers. The names are
1154
1154
  * lower-case for historical reasons, but must be uppercased to be used in
1155
- * the `ciphers` option of {@link createSecureContext}.
1155
+ * the `ciphers` option of `{@link createSecureContext}`.
1156
1156
  *
1157
- * Not all supported ciphers are enabled by default. See `Modifying the default TLS cipher suite`.
1157
+ * Not all supported ciphers are enabled by default. See
1158
+ * [Modifying the default TLS cipher suite](https://nodejs.org/docs/latest-v20.x/api/tls.html#modifying-the-default-tls-cipher-suite).
1158
1159
  *
1159
1160
  * Cipher names that start with `'tls_'` are for TLSv1.3, all the others are for
1160
1161
  * TLSv1.2 and below.
@@ -1167,41 +1168,47 @@ declare module "tls" {
1167
1168
  function getCiphers(): string[];
1168
1169
  /**
1169
1170
  * The default curve name to use for ECDH key agreement in a tls server.
1170
- * The default value is 'auto'. See tls.createSecureContext() for further
1171
+ * The default value is `'auto'`. See `{@link createSecureContext()}` for further
1171
1172
  * information.
1173
+ * @since v0.11.13
1172
1174
  */
1173
1175
  let DEFAULT_ECDH_CURVE: string;
1174
1176
  /**
1175
- * The default value of the maxVersion option of
1176
- * tls.createSecureContext(). It can be assigned any of the supported TLS
1177
- * protocol versions, 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Default:
1178
- * 'TLSv1.3', unless changed using CLI options. Using --tls-max-v1.2 sets
1179
- * the default to 'TLSv1.2'. Using --tls-max-v1.3 sets the default to
1180
- * 'TLSv1.3'. If multiple of the options are provided, the highest maximum
1181
- * is used.
1177
+ * The default value of the `maxVersion` option of `{@link createSecureContext()}`.
1178
+ * It can be assigned any of the supported TLS protocol versions,
1179
+ * `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. **Default:** `'TLSv1.3'`, unless
1180
+ * changed using CLI options. Using `--tls-max-v1.2` sets the default to `'TLSv1.2'`. Using
1181
+ * `--tls-max-v1.3` sets the default to `'TLSv1.3'`. If multiple of the options
1182
+ * are provided, the highest maximum is used.
1183
+ * @since v11.4.0
1182
1184
  */
1183
1185
  let DEFAULT_MAX_VERSION: SecureVersion;
1184
1186
  /**
1185
- * The default value of the minVersion option of tls.createSecureContext().
1187
+ * The default value of the `minVersion` option of `{@link createSecureContext()}`.
1186
1188
  * It can be assigned any of the supported TLS protocol versions,
1187
- * 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Default: 'TLSv1.2', unless
1188
- * changed using CLI options. Using --tls-min-v1.0 sets the default to
1189
- * 'TLSv1'. Using --tls-min-v1.1 sets the default to 'TLSv1.1'. Using
1190
- * --tls-min-v1.3 sets the default to 'TLSv1.3'. If multiple of the options
1189
+ * `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. **Default:** `'TLSv1.2'`, unless
1190
+ * changed using CLI options. Using `--tls-min-v1.0` sets the default to
1191
+ * `'TLSv1'`. Using `--tls-min-v1.1` sets the default to `'TLSv1.1'`. Using
1192
+ * `--tls-min-v1.3` sets the default to `'TLSv1.3'`. If multiple of the options
1191
1193
  * are provided, the lowest minimum is used.
1194
+ * @since v11.4.0
1192
1195
  */
1193
1196
  let DEFAULT_MIN_VERSION: SecureVersion;
1194
1197
  /**
1195
- * The default value of the ciphers option of tls.createSecureContext().
1198
+ * The default value of the `ciphers` option of `{@link createSecureContext()}`.
1196
1199
  * It can be assigned any of the supported OpenSSL ciphers.
1197
- * Defaults to the content of crypto.constants.defaultCoreCipherList, unless
1198
- * changed using CLI options using --tls-default-ciphers.
1200
+ * Defaults to the content of `crypto.constants.defaultCoreCipherList`, unless
1201
+ * changed using CLI options using `--tls-default-ciphers`.
1202
+ * @since v19.8.0
1199
1203
  */
1200
1204
  let DEFAULT_CIPHERS: string;
1201
1205
  /**
1202
- * An immutable array of strings representing the root certificates (in PEM
1203
- * format) used for verifying peer certificates. This is the default value
1204
- * of the ca option to tls.createSecureContext().
1206
+ * An immutable array of strings representing the root certificates (in PEM format)
1207
+ * from the bundled Mozilla CA store as supplied by the current Node.js version.
1208
+ *
1209
+ * The bundled CA store, as supplied by Node.js, is a snapshot of Mozilla CA store
1210
+ * that is fixed at release time. It is identical on all supported platforms.
1211
+ * @since v12.3.0
1205
1212
  */
1206
1213
  const rootCertificates: readonly string[];
1207
1214
  }
@@ -1,40 +1,36 @@
1
1
  /**
2
- * The `node:trace_events` module provides a mechanism to centralize tracing
3
- * information generated by V8, Node.js core, and userspace code.
2
+ * The `node:trace_events` module provides a mechanism to centralize tracing information
3
+ * generated by V8, Node.js core, and userspace code.
4
4
  *
5
5
  * Tracing can be enabled with the `--trace-event-categories` command-line flag
6
- * or by using the `node:trace_events` module. The `--trace-event-categories` flag
6
+ * or by using the `trace_events` module. The `--trace-event-categories` flag
7
7
  * accepts a list of comma-separated category names.
8
8
  *
9
9
  * The available categories are:
10
10
  *
11
11
  * * `node`: An empty placeholder.
12
- * * `node.async_hooks`: Enables capture of detailed `async_hooks` trace data.
13
- * The `async_hooks` events have a unique `asyncId` and a special `triggerId` `triggerAsyncId` property.
12
+ * * `node.async_hooks`: Enables capture of detailed [`async_hooks`](https://nodejs.org/docs/latest-v20.x/api/async_hooks.html) trace data.
13
+ * The [`async_hooks`](https://nodejs.org/docs/latest-v20.x/api/async_hooks.html) events have a unique `asyncId` and a special `triggerId` `triggerAsyncId` property.
14
14
  * * `node.bootstrap`: Enables capture of Node.js bootstrap milestones.
15
- * * `node.console`: Enables capture of `console.time()` and `console.count()`output.
16
- * * `node.threadpoolwork.sync`: Enables capture of trace data for threadpool
17
- * synchronous operations, such as `blob`, `zlib`, `crypto` and `node_api`.
18
- * * `node.threadpoolwork.async`: Enables capture of trace data for threadpool
19
- * asynchronous operations, such as `blob`, `zlib`, `crypto` and `node_api`.
15
+ * * `node.console`: Enables capture of `console.time()` and `console.count()` output.
16
+ * * `node.threadpoolwork.sync`: Enables capture of trace data for threadpool synchronous operations, such as `blob`, `zlib`, `crypto` and `node_api`.
17
+ * * `node.threadpoolwork.async`: Enables capture of trace data for threadpool asynchronous operations, such as `blob`, `zlib`, `crypto` and `node_api`.
20
18
  * * `node.dns.native`: Enables capture of trace data for DNS queries.
21
19
  * * `node.net.native`: Enables capture of trace data for network.
22
20
  * * `node.environment`: Enables capture of Node.js Environment milestones.
23
21
  * * `node.fs.sync`: Enables capture of trace data for file system sync methods.
24
- * * `node.fs_dir.sync`: Enables capture of trace data for file system sync
25
- * directory methods.
22
+ * * `node.fs_dir.sync`: Enables capture of trace data for file system sync directory methods.
26
23
  * * `node.fs.async`: Enables capture of trace data for file system async methods.
27
- * * `node.fs_dir.async`: Enables capture of trace data for file system async
28
- * directory methods.
29
- * * `node.perf`: Enables capture of `Performance API` measurements.
24
+ * * `node.fs_dir.async`: Enables capture of trace data for file system async directory methods.
25
+ * * `node.perf`: Enables capture of [Performance API](https://nodejs.org/docs/latest-v20.x/api/perf_hooks.html) measurements.
30
26
  * * `node.perf.usertiming`: Enables capture of only Performance API User Timing
31
27
  * measures and marks.
32
28
  * * `node.perf.timerify`: Enables capture of only Performance API timerify
33
29
  * measurements.
34
30
  * * `node.promises.rejections`: Enables capture of trace data tracking the number
35
31
  * of unhandled Promise rejections and handled-after-rejections.
36
- * * `node.vm.script`: Enables capture of trace data for the `node:vm` module's`runInNewContext()`, `runInContext()`, and `runInThisContext()` methods.
37
- * * `v8`: The `V8` events are GC, compiling, and execution related.
32
+ * * `node.vm.script`: Enables capture of trace data for the `node:vm` module's `runInNewContext()`, `runInContext()`, and `runInThisContext()` methods.
33
+ * * `v8`: The [V8](https://nodejs.org/docs/latest-v20.x/api/v8.html) events are GC, compiling, and execution related.
38
34
  * * `node.http`: Enables capture of trace data for http request / response.
39
35
  *
40
36
  * By default the `node`, `node.async_hooks`, and `v8` categories are enabled.
@@ -43,8 +39,8 @@
43
39
  * node --trace-event-categories v8,node,node.async_hooks server.js
44
40
  * ```
45
41
  *
46
- * Prior versions of Node.js required the use of the `--trace-events-enabled`flag to enable trace events. This requirement has been removed. However, the`--trace-events-enabled` flag _may_ still be
47
- * used and will enable the`node`, `node.async_hooks`, and `v8` trace event categories by default.
42
+ * Prior versions of Node.js required the use of the `--trace-events-enabled` flag to enable trace events. This requirement has been removed. However, the `--trace-events-enabled` flag _may_ still be
43
+ * used and will enable the `node`, `node.async_hooks`, and `v8` trace event categories by default.
48
44
  *
49
45
  * ```bash
50
46
  * node --trace-events-enabled
@@ -69,7 +65,7 @@
69
65
  * Running Node.js with tracing enabled will produce log files that can be opened
70
66
  * in the [`chrome://tracing`](https://www.chromium.org/developers/how-tos/trace-event-profiling-tool) tab of Chrome.
71
67
  *
72
- * The logging file is by default called `node_trace.${rotation}.log`, where`${rotation}` is an incrementing log-rotation id. The filepath pattern can
68
+ * The logging file is by default called `node_trace.${rotation}.log`, where `${rotation}` is an incrementing log-rotation id. The filepath pattern can
73
69
  * be specified with `--trace-event-file-pattern` that accepts a template
74
70
  * string that supports `${rotation}` and `${pid}`:
75
71
  *
@@ -77,7 +73,7 @@
77
73
  * node --trace-event-categories v8 --trace-event-file-pattern '${pid}-${rotation}.log' server.js
78
74
  * ```
79
75
  *
80
- * To guarantee that the log file is properly generated after signal events like`SIGINT`, `SIGTERM`, or `SIGBREAK`, make sure to have the appropriate handlers
76
+ * To guarantee that the log file is properly generated after signal events like `SIGINT`, `SIGTERM`, or `SIGBREAK`, make sure to have the appropriate handlers
81
77
  * in your code, such as:
82
78
  *
83
79
  * ```js
@@ -92,9 +88,9 @@
92
88
  * However the trace-event timestamps are expressed in microseconds,
93
89
  * unlike `process.hrtime()` which returns nanoseconds.
94
90
  *
95
- * The features from this module are not available in `Worker` threads.
91
+ * The features from this module are not available in [`Worker`](https://nodejs.org/docs/latest-v20.x/api/worker_threads.html#class-worker) threads.
96
92
  * @experimental
97
- * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/trace_events.js)
93
+ * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/trace_events.js)
98
94
  */
99
95
  declare module "trace_events" {
100
96
  /**
@@ -111,6 +107,7 @@ declare module "trace_events" {
111
107
  /**
112
108
  * A comma-separated list of the trace event categories covered by this
113
109
  * `Tracing` object.
110
+ * @since v10.0.0
114
111
  */
115
112
  readonly categories: string;
116
113
  /**
@@ -119,15 +116,34 @@ declare module "trace_events" {
119
116
  * Only trace event categories _not_ covered by other enabled `Tracing`
120
117
  * objects and _not_ specified by the `--trace-event-categories` flag
121
118
  * will be disabled.
119
+ *
120
+ * ```js
121
+ * const trace_events = require('node:trace_events');
122
+ * const t1 = trace_events.createTracing({ categories: ['node', 'v8'] });
123
+ * const t2 = trace_events.createTracing({ categories: ['node.perf', 'node'] });
124
+ * t1.enable();
125
+ * t2.enable();
126
+ *
127
+ * // Prints 'node,node.perf,v8'
128
+ * console.log(trace_events.getEnabledCategories());
129
+ *
130
+ * t2.disable(); // Will only disable emission of the 'node.perf' category
131
+ *
132
+ * // Prints 'node,v8'
133
+ * console.log(trace_events.getEnabledCategories());
134
+ * ```
135
+ * @since v10.0.0
122
136
  */
123
137
  disable(): void;
124
138
  /**
125
139
  * Enables this `Tracing` object for the set of categories covered by
126
140
  * the `Tracing` object.
141
+ * @since v10.0.0
127
142
  */
128
143
  enable(): void;
129
144
  /**
130
145
  * `true` only if the `Tracing` object has been enabled.
146
+ * @since v10.0.0
131
147
  */
132
148
  readonly enabled: boolean;
133
149
  }
@@ -151,7 +167,6 @@ declare module "trace_events" {
151
167
  * tracing.disable();
152
168
  * ```
153
169
  * @since v10.0.0
154
- * @return .
155
170
  */
156
171
  function createTracing(options: CreateTracingOptions): Tracing;
157
172
  /**
@@ -160,7 +175,7 @@ declare module "trace_events" {
160
175
  * by the _union_ of all currently-enabled `Tracing` objects and any categories
161
176
  * enabled using the `--trace-event-categories` flag.
162
177
  *
163
- * Given the file `test.js` below, the command`node --trace-event-categories node.perf test.js` will print`'node.async_hooks,node.perf'` to the console.
178
+ * Given the file `test.js` below, the command `node --trace-event-categories node.perf test.js` will print `'node.async_hooks,node.perf'` to the console.
164
179
  *
165
180
  * ```js
166
181
  * const trace_events = require('node:trace_events');