cloudstructs 0.9.39 → 0.9.40

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 (263) hide show
  1. package/.jsii +4 -4
  2. package/assets/slack-textract/detect.lambda/index.js +232 -5
  3. package/lib/codecommit-mirror/index.js +2 -2
  4. package/lib/dmarc/index.js +1 -1
  5. package/lib/ecs-service-roller/index.js +2 -2
  6. package/lib/email-receiver/receiver.js +1 -1
  7. package/lib/mjml-template/index.js +1 -1
  8. package/lib/saml-identity-provider/index.js +2 -2
  9. package/lib/slack-app/manifest.js +1 -1
  10. package/lib/slack-app/slack-app.js +2 -2
  11. package/lib/slack-events/index.js +1 -1
  12. package/lib/slack-textract/index.js +1 -1
  13. package/lib/ssl-server-test/index.js +1 -1
  14. package/lib/state-machine-cr-provider/index.js +1 -1
  15. package/lib/static-website/index.js +1 -1
  16. package/lib/toolkit-cleaner/index.js +1 -1
  17. package/lib/url-shortener/index.js +1 -1
  18. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  19. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +1 -1
  20. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +15 -9
  21. package/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +4 -5
  22. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +900 -193
  23. package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +0 -2
  24. package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +1 -1
  25. package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +1 -1
  26. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +15 -11
  27. package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +2 -0
  28. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +14 -5
  29. package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +149 -30
  30. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +9 -12
  31. package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +2 -0
  32. package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +24 -0
  33. package/node_modules/@slack/logger/node_modules/@types/node/inspector.generated.d.ts +181 -0
  34. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +5 -5
  35. package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +13 -3
  36. package/node_modules/@slack/logger/node_modules/@types/node/package.json +3 -3
  37. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +6 -8
  38. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +7 -19
  39. package/node_modules/@slack/logger/node_modules/@types/node/readline/promises.d.ts +1 -1
  40. package/node_modules/@slack/logger/node_modules/@types/node/sea.d.ts +9 -0
  41. package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +6 -4
  42. package/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +6 -55
  43. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +38 -23
  44. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +29 -3
  45. package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +2 -2
  46. package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/index.d.ts +2 -0
  47. package/node_modules/@slack/logger/node_modules/@types/node/ts5.7/index.d.ts +2 -0
  48. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +1 -1
  49. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +18 -2
  50. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +146 -86
  51. package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +1 -1
  52. package/node_modules/@slack/logger/node_modules/@types/node/web-globals/crypto.d.ts +32 -0
  53. package/node_modules/@slack/logger/node_modules/@types/node/web-globals/streams.d.ts +22 -0
  54. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +39 -1
  55. package/node_modules/@slack/logger/node_modules/undici-types/eventsource.d.ts +6 -1
  56. package/node_modules/@slack/logger/node_modules/undici-types/index.d.ts +4 -1
  57. package/node_modules/@slack/logger/node_modules/undici-types/package.json +1 -1
  58. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts +79 -3
  59. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts.map +1 -1
  60. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts +19 -2
  61. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +1 -1
  62. package/node_modules/@slack/types/dist/events/message.d.ts +1 -0
  63. package/node_modules/@slack/types/dist/events/message.d.ts.map +1 -1
  64. package/node_modules/@slack/types/package.json +2 -2
  65. package/node_modules/@slack/web-api/README.md +5 -5
  66. package/node_modules/@slack/web-api/dist/WebClient.d.ts +30 -3
  67. package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
  68. package/node_modules/@slack/web-api/dist/WebClient.js +43 -0
  69. package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
  70. package/node_modules/@slack/web-api/dist/chat-stream.d.ts +86 -0
  71. package/node_modules/@slack/web-api/dist/chat-stream.d.ts.map +1 -0
  72. package/node_modules/@slack/web-api/dist/chat-stream.js +149 -0
  73. package/node_modules/@slack/web-api/dist/chat-stream.js.map +1 -0
  74. package/node_modules/@slack/web-api/dist/methods.d.ts +15 -3
  75. package/node_modules/@slack/web-api/dist/methods.d.ts.map +1 -1
  76. package/node_modules/@slack/web-api/dist/methods.js +13 -1
  77. package/node_modules/@slack/web-api/dist/methods.js.map +1 -1
  78. package/node_modules/@slack/web-api/dist/types/request/assistant.d.ts +2 -0
  79. package/node_modules/@slack/web-api/dist/types/request/assistant.d.ts.map +1 -1
  80. package/node_modules/@slack/web-api/dist/types/request/chat.d.ts +28 -6
  81. package/node_modules/@slack/web-api/dist/types/request/chat.d.ts.map +1 -1
  82. package/node_modules/@slack/web-api/dist/types/request/index.d.ts +1 -1
  83. package/node_modules/@slack/web-api/dist/types/request/index.d.ts.map +1 -1
  84. package/node_modules/@slack/web-api/dist/types/response/ChatAppendStreamResponse.d.ts +10 -0
  85. package/node_modules/@slack/web-api/dist/types/response/ChatAppendStreamResponse.d.ts.map +1 -0
  86. package/node_modules/@slack/web-api/dist/types/response/ChatAppendStreamResponse.js +3 -0
  87. package/node_modules/@slack/web-api/dist/types/response/ChatAppendStreamResponse.js.map +1 -0
  88. package/node_modules/@slack/web-api/dist/types/response/ChatStartStreamResponse.d.ts +10 -0
  89. package/node_modules/@slack/web-api/dist/types/response/ChatStartStreamResponse.d.ts.map +1 -0
  90. package/node_modules/@slack/web-api/dist/types/response/ChatStartStreamResponse.js +3 -0
  91. package/node_modules/@slack/web-api/dist/types/response/ChatStartStreamResponse.js.map +1 -0
  92. package/node_modules/@slack/web-api/dist/types/response/ChatStopStreamResponse.d.ts +24 -0
  93. package/node_modules/@slack/web-api/dist/types/response/ChatStopStreamResponse.d.ts.map +1 -0
  94. package/node_modules/@slack/web-api/dist/types/response/ChatStopStreamResponse.js +3 -0
  95. package/node_modules/@slack/web-api/dist/types/response/ChatStopStreamResponse.js.map +1 -0
  96. package/node_modules/@slack/web-api/dist/types/response/index.d.ts +3 -0
  97. package/node_modules/@slack/web-api/dist/types/response/index.d.ts.map +1 -1
  98. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  99. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +1 -1
  100. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +15 -9
  101. package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +4 -5
  102. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +900 -193
  103. package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +0 -2
  104. package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +1 -1
  105. package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +1 -1
  106. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +15 -11
  107. package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +2 -0
  108. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +14 -5
  109. package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +149 -30
  110. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +9 -12
  111. package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +2 -0
  112. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +24 -0
  113. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.generated.d.ts +181 -0
  114. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +5 -5
  115. package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +13 -3
  116. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +3 -3
  117. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +6 -8
  118. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +7 -19
  119. package/node_modules/@slack/web-api/node_modules/@types/node/readline/promises.d.ts +1 -1
  120. package/node_modules/@slack/web-api/node_modules/@types/node/sea.d.ts +9 -0
  121. package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +6 -4
  122. package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +6 -55
  123. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +38 -23
  124. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +29 -3
  125. package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +2 -2
  126. package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/index.d.ts +2 -0
  127. package/node_modules/@slack/web-api/node_modules/@types/node/ts5.7/index.d.ts +2 -0
  128. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +1 -1
  129. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +18 -2
  130. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +146 -86
  131. package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +1 -1
  132. package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/crypto.d.ts +32 -0
  133. package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/streams.d.ts +22 -0
  134. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +39 -1
  135. package/node_modules/@slack/web-api/node_modules/undici-types/eventsource.d.ts +6 -1
  136. package/node_modules/@slack/web-api/node_modules/undici-types/index.d.ts +4 -1
  137. package/node_modules/@slack/web-api/node_modules/undici-types/package.json +1 -1
  138. package/node_modules/@slack/web-api/package.json +4 -4
  139. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  140. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +1 -1
  141. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +15 -9
  142. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +4 -5
  143. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +900 -193
  144. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +0 -2
  145. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +1 -1
  146. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +1 -1
  147. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +15 -11
  148. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +2 -0
  149. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +14 -5
  150. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +149 -30
  151. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +9 -12
  152. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +2 -0
  153. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +24 -0
  154. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.generated.d.ts +181 -0
  155. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +5 -5
  156. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +13 -3
  157. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +3 -3
  158. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +6 -8
  159. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +7 -19
  160. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline/promises.d.ts +1 -1
  161. package/node_modules/@types/cacheable-request/node_modules/@types/node/sea.d.ts +9 -0
  162. package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +6 -4
  163. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +6 -55
  164. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +38 -23
  165. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +29 -3
  166. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +2 -2
  167. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/index.d.ts +2 -0
  168. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.7/index.d.ts +2 -0
  169. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +1 -1
  170. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +18 -2
  171. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +146 -86
  172. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +1 -1
  173. package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/crypto.d.ts +32 -0
  174. package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/streams.d.ts +22 -0
  175. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +39 -1
  176. package/node_modules/@types/cacheable-request/node_modules/undici-types/eventsource.d.ts +6 -1
  177. package/node_modules/@types/cacheable-request/node_modules/undici-types/index.d.ts +4 -1
  178. package/node_modules/@types/cacheable-request/node_modules/undici-types/package.json +1 -1
  179. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  180. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +1 -1
  181. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +15 -9
  182. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +4 -5
  183. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +900 -193
  184. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +0 -2
  185. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +1 -1
  186. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +1 -1
  187. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +15 -11
  188. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +2 -0
  189. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +14 -5
  190. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +149 -30
  191. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +9 -12
  192. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +2 -0
  193. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +24 -0
  194. package/node_modules/@types/keyv/node_modules/@types/node/inspector.generated.d.ts +181 -0
  195. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +5 -5
  196. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +13 -3
  197. package/node_modules/@types/keyv/node_modules/@types/node/package.json +3 -3
  198. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +6 -8
  199. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +7 -19
  200. package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +1 -1
  201. package/node_modules/@types/keyv/node_modules/@types/node/sea.d.ts +9 -0
  202. package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +6 -4
  203. package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +6 -55
  204. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +38 -23
  205. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +29 -3
  206. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +2 -2
  207. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/index.d.ts +2 -0
  208. package/node_modules/@types/keyv/node_modules/@types/node/ts5.7/index.d.ts +2 -0
  209. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +1 -1
  210. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +18 -2
  211. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +146 -86
  212. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +1 -1
  213. package/node_modules/@types/keyv/node_modules/@types/node/web-globals/crypto.d.ts +32 -0
  214. package/node_modules/@types/keyv/node_modules/@types/node/web-globals/streams.d.ts +22 -0
  215. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +39 -1
  216. package/node_modules/@types/keyv/node_modules/undici-types/eventsource.d.ts +6 -1
  217. package/node_modules/@types/keyv/node_modules/undici-types/index.d.ts +4 -1
  218. package/node_modules/@types/keyv/node_modules/undici-types/package.json +1 -1
  219. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  220. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +1 -1
  221. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +15 -9
  222. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +4 -5
  223. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +900 -193
  224. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +0 -2
  225. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +1 -1
  226. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +1 -1
  227. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +15 -11
  228. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +2 -0
  229. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +14 -5
  230. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +149 -30
  231. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +9 -12
  232. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +2 -0
  233. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +24 -0
  234. package/node_modules/@types/responselike/node_modules/@types/node/inspector.generated.d.ts +181 -0
  235. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +5 -5
  236. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +13 -3
  237. package/node_modules/@types/responselike/node_modules/@types/node/package.json +3 -3
  238. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +6 -8
  239. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +7 -19
  240. package/node_modules/@types/responselike/node_modules/@types/node/readline/promises.d.ts +1 -1
  241. package/node_modules/@types/responselike/node_modules/@types/node/sea.d.ts +9 -0
  242. package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +6 -4
  243. package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +6 -55
  244. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +38 -23
  245. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +29 -3
  246. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +2 -2
  247. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/index.d.ts +2 -0
  248. package/node_modules/@types/responselike/node_modules/@types/node/ts5.7/index.d.ts +2 -0
  249. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +1 -1
  250. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +18 -2
  251. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +146 -86
  252. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +1 -1
  253. package/node_modules/@types/responselike/node_modules/@types/node/web-globals/crypto.d.ts +32 -0
  254. package/node_modules/@types/responselike/node_modules/@types/node/web-globals/streams.d.ts +22 -0
  255. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +39 -1
  256. package/node_modules/@types/responselike/node_modules/undici-types/eventsource.d.ts +6 -1
  257. package/node_modules/@types/responselike/node_modules/undici-types/index.d.ts +4 -1
  258. package/node_modules/@types/responselike/node_modules/undici-types/package.json +1 -1
  259. package/node_modules/semver/classes/range.js +1 -0
  260. package/node_modules/semver/classes/semver.js +19 -5
  261. package/node_modules/semver/internal/identifiers.js +4 -0
  262. package/node_modules/semver/package.json +3 -3
  263. package/package.json +18 -18
@@ -1774,6 +1774,23 @@ declare module "inspector" {
1774
1774
  success: boolean;
1775
1775
  stream?: IO.StreamHandle | undefined;
1776
1776
  }
1777
+ /**
1778
+ * WebSocket response data.
1779
+ */
1780
+ interface WebSocketResponse {
1781
+ /**
1782
+ * HTTP response status code.
1783
+ */
1784
+ status: number;
1785
+ /**
1786
+ * HTTP response status text.
1787
+ */
1788
+ statusText: string;
1789
+ /**
1790
+ * HTTP response headers.
1791
+ */
1792
+ headers: Headers;
1793
+ }
1777
1794
  interface GetRequestPostDataParameterType {
1778
1795
  /**
1779
1796
  * Identifier of the network request to get content for.
@@ -1914,6 +1931,44 @@ declare module "inspector" {
1914
1931
  */
1915
1932
  data?: string | undefined;
1916
1933
  }
1934
+ interface WebSocketCreatedEventDataType {
1935
+ /**
1936
+ * Request identifier.
1937
+ */
1938
+ requestId: RequestId;
1939
+ /**
1940
+ * WebSocket request URL.
1941
+ */
1942
+ url: string;
1943
+ /**
1944
+ * Request initiator.
1945
+ */
1946
+ initiator: Initiator;
1947
+ }
1948
+ interface WebSocketClosedEventDataType {
1949
+ /**
1950
+ * Request identifier.
1951
+ */
1952
+ requestId: RequestId;
1953
+ /**
1954
+ * Timestamp.
1955
+ */
1956
+ timestamp: MonotonicTime;
1957
+ }
1958
+ interface WebSocketHandshakeResponseReceivedEventDataType {
1959
+ /**
1960
+ * Request identifier.
1961
+ */
1962
+ requestId: RequestId;
1963
+ /**
1964
+ * Timestamp.
1965
+ */
1966
+ timestamp: MonotonicTime;
1967
+ /**
1968
+ * WebSocket response data.
1969
+ */
1970
+ response: WebSocketResponse;
1971
+ }
1917
1972
  }
1918
1973
  namespace NodeRuntime {
1919
1974
  interface NotifyWhenWaitingForDisconnectParameterType {
@@ -2483,6 +2538,18 @@ declare module "inspector" {
2483
2538
  * Fired when data chunk was received over the network.
2484
2539
  */
2485
2540
  addListener(event: "Network.dataReceived", listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
2541
+ /**
2542
+ * Fired upon WebSocket creation.
2543
+ */
2544
+ addListener(event: "Network.webSocketCreated", listener: (message: InspectorNotification<Network.WebSocketCreatedEventDataType>) => void): this;
2545
+ /**
2546
+ * Fired when WebSocket is closed.
2547
+ */
2548
+ addListener(event: "Network.webSocketClosed", listener: (message: InspectorNotification<Network.WebSocketClosedEventDataType>) => void): this;
2549
+ /**
2550
+ * Fired when WebSocket handshake response becomes available.
2551
+ */
2552
+ addListener(event: "Network.webSocketHandshakeResponseReceived", listener: (message: InspectorNotification<Network.WebSocketHandshakeResponseReceivedEventDataType>) => void): this;
2486
2553
  /**
2487
2554
  * This event is fired instead of `Runtime.executionContextDestroyed` when
2488
2555
  * enabled.
@@ -2529,6 +2596,9 @@ declare module "inspector" {
2529
2596
  emit(event: "Network.loadingFailed", message: InspectorNotification<Network.LoadingFailedEventDataType>): boolean;
2530
2597
  emit(event: "Network.loadingFinished", message: InspectorNotification<Network.LoadingFinishedEventDataType>): boolean;
2531
2598
  emit(event: "Network.dataReceived", message: InspectorNotification<Network.DataReceivedEventDataType>): boolean;
2599
+ emit(event: "Network.webSocketCreated", message: InspectorNotification<Network.WebSocketCreatedEventDataType>): boolean;
2600
+ emit(event: "Network.webSocketClosed", message: InspectorNotification<Network.WebSocketClosedEventDataType>): boolean;
2601
+ emit(event: "Network.webSocketHandshakeResponseReceived", message: InspectorNotification<Network.WebSocketHandshakeResponseReceivedEventDataType>): boolean;
2532
2602
  emit(event: "NodeRuntime.waitingForDisconnect"): boolean;
2533
2603
  emit(event: "NodeRuntime.waitingForDebugger"): boolean;
2534
2604
  emit(event: "Target.targetCreated", message: InspectorNotification<Target.TargetCreatedEventDataType>): boolean;
@@ -2642,6 +2712,18 @@ declare module "inspector" {
2642
2712
  * Fired when data chunk was received over the network.
2643
2713
  */
2644
2714
  on(event: "Network.dataReceived", listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
2715
+ /**
2716
+ * Fired upon WebSocket creation.
2717
+ */
2718
+ on(event: "Network.webSocketCreated", listener: (message: InspectorNotification<Network.WebSocketCreatedEventDataType>) => void): this;
2719
+ /**
2720
+ * Fired when WebSocket is closed.
2721
+ */
2722
+ on(event: "Network.webSocketClosed", listener: (message: InspectorNotification<Network.WebSocketClosedEventDataType>) => void): this;
2723
+ /**
2724
+ * Fired when WebSocket handshake response becomes available.
2725
+ */
2726
+ on(event: "Network.webSocketHandshakeResponseReceived", listener: (message: InspectorNotification<Network.WebSocketHandshakeResponseReceivedEventDataType>) => void): this;
2645
2727
  /**
2646
2728
  * This event is fired instead of `Runtime.executionContextDestroyed` when
2647
2729
  * enabled.
@@ -2765,6 +2847,18 @@ declare module "inspector" {
2765
2847
  * Fired when data chunk was received over the network.
2766
2848
  */
2767
2849
  once(event: "Network.dataReceived", listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
2850
+ /**
2851
+ * Fired upon WebSocket creation.
2852
+ */
2853
+ once(event: "Network.webSocketCreated", listener: (message: InspectorNotification<Network.WebSocketCreatedEventDataType>) => void): this;
2854
+ /**
2855
+ * Fired when WebSocket is closed.
2856
+ */
2857
+ once(event: "Network.webSocketClosed", listener: (message: InspectorNotification<Network.WebSocketClosedEventDataType>) => void): this;
2858
+ /**
2859
+ * Fired when WebSocket handshake response becomes available.
2860
+ */
2861
+ once(event: "Network.webSocketHandshakeResponseReceived", listener: (message: InspectorNotification<Network.WebSocketHandshakeResponseReceivedEventDataType>) => void): this;
2768
2862
  /**
2769
2863
  * This event is fired instead of `Runtime.executionContextDestroyed` when
2770
2864
  * enabled.
@@ -2888,6 +2982,18 @@ declare module "inspector" {
2888
2982
  * Fired when data chunk was received over the network.
2889
2983
  */
2890
2984
  prependListener(event: "Network.dataReceived", listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
2985
+ /**
2986
+ * Fired upon WebSocket creation.
2987
+ */
2988
+ prependListener(event: "Network.webSocketCreated", listener: (message: InspectorNotification<Network.WebSocketCreatedEventDataType>) => void): this;
2989
+ /**
2990
+ * Fired when WebSocket is closed.
2991
+ */
2992
+ prependListener(event: "Network.webSocketClosed", listener: (message: InspectorNotification<Network.WebSocketClosedEventDataType>) => void): this;
2993
+ /**
2994
+ * Fired when WebSocket handshake response becomes available.
2995
+ */
2996
+ prependListener(event: "Network.webSocketHandshakeResponseReceived", listener: (message: InspectorNotification<Network.WebSocketHandshakeResponseReceivedEventDataType>) => void): this;
2891
2997
  /**
2892
2998
  * This event is fired instead of `Runtime.executionContextDestroyed` when
2893
2999
  * enabled.
@@ -3011,6 +3117,18 @@ declare module "inspector" {
3011
3117
  * Fired when data chunk was received over the network.
3012
3118
  */
3013
3119
  prependOnceListener(event: "Network.dataReceived", listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
3120
+ /**
3121
+ * Fired upon WebSocket creation.
3122
+ */
3123
+ prependOnceListener(event: "Network.webSocketCreated", listener: (message: InspectorNotification<Network.WebSocketCreatedEventDataType>) => void): this;
3124
+ /**
3125
+ * Fired when WebSocket is closed.
3126
+ */
3127
+ prependOnceListener(event: "Network.webSocketClosed", listener: (message: InspectorNotification<Network.WebSocketClosedEventDataType>) => void): this;
3128
+ /**
3129
+ * Fired when WebSocket handshake response becomes available.
3130
+ */
3131
+ prependOnceListener(event: "Network.webSocketHandshakeResponseReceived", listener: (message: InspectorNotification<Network.WebSocketHandshakeResponseReceivedEventDataType>) => void): this;
3014
3132
  /**
3015
3133
  * This event is fired instead of `Runtime.executionContextDestroyed` when
3016
3134
  * enabled.
@@ -3506,6 +3624,18 @@ declare module "inspector/promises" {
3506
3624
  * Fired when data chunk was received over the network.
3507
3625
  */
3508
3626
  addListener(event: "Network.dataReceived", listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
3627
+ /**
3628
+ * Fired upon WebSocket creation.
3629
+ */
3630
+ addListener(event: "Network.webSocketCreated", listener: (message: InspectorNotification<Network.WebSocketCreatedEventDataType>) => void): this;
3631
+ /**
3632
+ * Fired when WebSocket is closed.
3633
+ */
3634
+ addListener(event: "Network.webSocketClosed", listener: (message: InspectorNotification<Network.WebSocketClosedEventDataType>) => void): this;
3635
+ /**
3636
+ * Fired when WebSocket handshake response becomes available.
3637
+ */
3638
+ addListener(event: "Network.webSocketHandshakeResponseReceived", listener: (message: InspectorNotification<Network.WebSocketHandshakeResponseReceivedEventDataType>) => void): this;
3509
3639
  /**
3510
3640
  * This event is fired instead of `Runtime.executionContextDestroyed` when
3511
3641
  * enabled.
@@ -3552,6 +3682,9 @@ declare module "inspector/promises" {
3552
3682
  emit(event: "Network.loadingFailed", message: InspectorNotification<Network.LoadingFailedEventDataType>): boolean;
3553
3683
  emit(event: "Network.loadingFinished", message: InspectorNotification<Network.LoadingFinishedEventDataType>): boolean;
3554
3684
  emit(event: "Network.dataReceived", message: InspectorNotification<Network.DataReceivedEventDataType>): boolean;
3685
+ emit(event: "Network.webSocketCreated", message: InspectorNotification<Network.WebSocketCreatedEventDataType>): boolean;
3686
+ emit(event: "Network.webSocketClosed", message: InspectorNotification<Network.WebSocketClosedEventDataType>): boolean;
3687
+ emit(event: "Network.webSocketHandshakeResponseReceived", message: InspectorNotification<Network.WebSocketHandshakeResponseReceivedEventDataType>): boolean;
3555
3688
  emit(event: "NodeRuntime.waitingForDisconnect"): boolean;
3556
3689
  emit(event: "NodeRuntime.waitingForDebugger"): boolean;
3557
3690
  emit(event: "Target.targetCreated", message: InspectorNotification<Target.TargetCreatedEventDataType>): boolean;
@@ -3665,6 +3798,18 @@ declare module "inspector/promises" {
3665
3798
  * Fired when data chunk was received over the network.
3666
3799
  */
3667
3800
  on(event: "Network.dataReceived", listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
3801
+ /**
3802
+ * Fired upon WebSocket creation.
3803
+ */
3804
+ on(event: "Network.webSocketCreated", listener: (message: InspectorNotification<Network.WebSocketCreatedEventDataType>) => void): this;
3805
+ /**
3806
+ * Fired when WebSocket is closed.
3807
+ */
3808
+ on(event: "Network.webSocketClosed", listener: (message: InspectorNotification<Network.WebSocketClosedEventDataType>) => void): this;
3809
+ /**
3810
+ * Fired when WebSocket handshake response becomes available.
3811
+ */
3812
+ on(event: "Network.webSocketHandshakeResponseReceived", listener: (message: InspectorNotification<Network.WebSocketHandshakeResponseReceivedEventDataType>) => void): this;
3668
3813
  /**
3669
3814
  * This event is fired instead of `Runtime.executionContextDestroyed` when
3670
3815
  * enabled.
@@ -3788,6 +3933,18 @@ declare module "inspector/promises" {
3788
3933
  * Fired when data chunk was received over the network.
3789
3934
  */
3790
3935
  once(event: "Network.dataReceived", listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
3936
+ /**
3937
+ * Fired upon WebSocket creation.
3938
+ */
3939
+ once(event: "Network.webSocketCreated", listener: (message: InspectorNotification<Network.WebSocketCreatedEventDataType>) => void): this;
3940
+ /**
3941
+ * Fired when WebSocket is closed.
3942
+ */
3943
+ once(event: "Network.webSocketClosed", listener: (message: InspectorNotification<Network.WebSocketClosedEventDataType>) => void): this;
3944
+ /**
3945
+ * Fired when WebSocket handshake response becomes available.
3946
+ */
3947
+ once(event: "Network.webSocketHandshakeResponseReceived", listener: (message: InspectorNotification<Network.WebSocketHandshakeResponseReceivedEventDataType>) => void): this;
3791
3948
  /**
3792
3949
  * This event is fired instead of `Runtime.executionContextDestroyed` when
3793
3950
  * enabled.
@@ -3911,6 +4068,18 @@ declare module "inspector/promises" {
3911
4068
  * Fired when data chunk was received over the network.
3912
4069
  */
3913
4070
  prependListener(event: "Network.dataReceived", listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
4071
+ /**
4072
+ * Fired upon WebSocket creation.
4073
+ */
4074
+ prependListener(event: "Network.webSocketCreated", listener: (message: InspectorNotification<Network.WebSocketCreatedEventDataType>) => void): this;
4075
+ /**
4076
+ * Fired when WebSocket is closed.
4077
+ */
4078
+ prependListener(event: "Network.webSocketClosed", listener: (message: InspectorNotification<Network.WebSocketClosedEventDataType>) => void): this;
4079
+ /**
4080
+ * Fired when WebSocket handshake response becomes available.
4081
+ */
4082
+ prependListener(event: "Network.webSocketHandshakeResponseReceived", listener: (message: InspectorNotification<Network.WebSocketHandshakeResponseReceivedEventDataType>) => void): this;
3914
4083
  /**
3915
4084
  * This event is fired instead of `Runtime.executionContextDestroyed` when
3916
4085
  * enabled.
@@ -4034,6 +4203,18 @@ declare module "inspector/promises" {
4034
4203
  * Fired when data chunk was received over the network.
4035
4204
  */
4036
4205
  prependOnceListener(event: "Network.dataReceived", listener: (message: InspectorNotification<Network.DataReceivedEventDataType>) => void): this;
4206
+ /**
4207
+ * Fired upon WebSocket creation.
4208
+ */
4209
+ prependOnceListener(event: "Network.webSocketCreated", listener: (message: InspectorNotification<Network.WebSocketCreatedEventDataType>) => void): this;
4210
+ /**
4211
+ * Fired when WebSocket is closed.
4212
+ */
4213
+ prependOnceListener(event: "Network.webSocketClosed", listener: (message: InspectorNotification<Network.WebSocketClosedEventDataType>) => void): this;
4214
+ /**
4215
+ * Fired when WebSocket handshake response becomes available.
4216
+ */
4217
+ prependOnceListener(event: "Network.webSocketHandshakeResponseReceived", listener: (message: InspectorNotification<Network.WebSocketHandshakeResponseReceivedEventDataType>) => void): this;
4037
4218
  /**
4038
4219
  * This event is fired instead of `Runtime.executionContextDestroyed` when
4039
4220
  * enabled.
@@ -32,7 +32,7 @@ declare module "net" {
32
32
  onread?: OnReadOpts | undefined;
33
33
  readable?: boolean | undefined;
34
34
  writable?: boolean | undefined;
35
- signal?: AbortSignal;
35
+ signal?: AbortSignal | undefined;
36
36
  }
37
37
  interface OnReadOpts {
38
38
  buffer: Uint8Array | (() => Uint8Array);
@@ -321,25 +321,25 @@ declare module "net" {
321
321
  * the socket is destroyed (for example, if the client disconnected).
322
322
  * @since v0.5.10
323
323
  */
324
- readonly remoteAddress?: string | undefined;
324
+ readonly remoteAddress: string | undefined;
325
325
  /**
326
326
  * The string representation of the remote IP family. `'IPv4'` or `'IPv6'`. Value may be `undefined` if
327
327
  * the socket is destroyed (for example, if the client disconnected).
328
328
  * @since v0.11.14
329
329
  */
330
- readonly remoteFamily?: string | undefined;
330
+ readonly remoteFamily: string | undefined;
331
331
  /**
332
332
  * The numeric representation of the remote port. For example, `80` or `21`. Value may be `undefined` if
333
333
  * the socket is destroyed (for example, if the client disconnected).
334
334
  * @since v0.5.10
335
335
  */
336
- readonly remotePort?: number | undefined;
336
+ readonly remotePort: number | undefined;
337
337
  /**
338
338
  * The socket timeout in milliseconds as set by `socket.setTimeout()`.
339
339
  * It is `undefined` if a timeout has not been set.
340
340
  * @since v10.7.0
341
341
  */
342
- readonly timeout?: number | undefined;
342
+ readonly timeout?: number;
343
343
  /**
344
344
  * Half-closes the socket. i.e., it sends a FIN packet. It is possible the
345
345
  * server will still send some data.
@@ -30,10 +30,10 @@ declare module "os" {
30
30
  mac: string;
31
31
  internal: boolean;
32
32
  cidr: string | null;
33
+ scopeid?: number;
33
34
  }
34
35
  interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase {
35
36
  family: "IPv4";
36
- scopeid?: undefined;
37
37
  }
38
38
  interface NetworkInterfaceInfoIPv6 extends NetworkInterfaceBase {
39
39
  family: "IPv6";
@@ -231,6 +231,15 @@ declare module "os" {
231
231
  * @since v2.3.0
232
232
  */
233
233
  function homedir(): string;
234
+ interface UserInfoOptions {
235
+ encoding?: BufferEncoding | "buffer" | undefined;
236
+ }
237
+ interface UserInfoOptionsWithBufferEncoding extends UserInfoOptions {
238
+ encoding: "buffer";
239
+ }
240
+ interface UserInfoOptionsWithStringEncoding extends UserInfoOptions {
241
+ encoding?: BufferEncoding | undefined;
242
+ }
234
243
  /**
235
244
  * Returns information about the currently effective user. On POSIX platforms,
236
245
  * this is typically a subset of the password file. The returned object includes
@@ -244,8 +253,9 @@ declare module "os" {
244
253
  * Throws a [`SystemError`](https://nodejs.org/docs/latest-v24.x/api/errors.html#class-systemerror) if a user has no `username` or `homedir`.
245
254
  * @since v6.0.0
246
255
  */
247
- function userInfo(options: { encoding: "buffer" }): UserInfo<Buffer>;
248
- function userInfo(options?: { encoding: BufferEncoding }): UserInfo<string>;
256
+ function userInfo(options: UserInfoOptionsWithBufferEncoding): UserInfo<Buffer>;
257
+ function userInfo(options?: UserInfoOptionsWithStringEncoding): UserInfo<string>;
258
+ function userInfo(options: UserInfoOptions): UserInfo<string | Buffer>;
249
259
  type SignalConstants = {
250
260
  [key in NodeJS.Signals]: number;
251
261
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "24.6.2",
3
+ "version": "24.8.1",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -147,9 +147,9 @@
147
147
  },
148
148
  "scripts": {},
149
149
  "dependencies": {
150
- "undici-types": "~7.13.0"
150
+ "undici-types": "~7.14.0"
151
151
  },
152
152
  "peerDependencies": {},
153
- "typesPublisherContentHash": "e7bb75f8d0111245a28651af05ef0fef9a30a5eeafcb3bbe9f3bd4c13ad7adde",
153
+ "typesPublisherContentHash": "dc4c0d2b71db4a3589daf5702dfa963392e8264ae7251f580c7d3a5efcb4f478",
154
154
  "typeScriptVersion": "5.2"
155
155
  }
@@ -48,13 +48,13 @@ declare module "perf_hooks" {
48
48
  * the type of garbage collection operation that occurred.
49
49
  * See perf_hooks.constants for valid values.
50
50
  */
51
- readonly kind?: number | undefined;
51
+ readonly kind: number;
52
52
  /**
53
53
  * When `performanceEntry.entryType` is equal to 'gc', the `performance.flags`
54
54
  * property contains additional information about garbage collection operation.
55
55
  * See perf_hooks.constants for valid values.
56
56
  */
57
- readonly flags?: number | undefined;
57
+ readonly flags: number;
58
58
  }
59
59
  /**
60
60
  * The constructor of this class is not exposed to users directly.
@@ -92,11 +92,6 @@ declare module "perf_hooks" {
92
92
  * @since v8.5.0
93
93
  */
94
94
  readonly entryType: EntryType;
95
- /**
96
- * Additional detail specific to the `entryType`.
97
- * @since v16.0.0
98
- */
99
- readonly detail?: NodeGCPerformanceDetail | unknown | undefined; // TODO: Narrow this based on entry type.
100
95
  toJSON(): any;
101
96
  }
102
97
  /**
@@ -104,6 +99,7 @@ declare module "perf_hooks" {
104
99
  * @since v18.2.0, v16.17.0
105
100
  */
106
101
  class PerformanceMark extends PerformanceEntry {
102
+ readonly detail: any;
107
103
  readonly duration: 0;
108
104
  readonly entryType: "mark";
109
105
  }
@@ -114,6 +110,7 @@ declare module "perf_hooks" {
114
110
  * @since v18.2.0, v16.17.0
115
111
  */
116
112
  class PerformanceMeasure extends PerformanceEntry {
113
+ readonly detail: any;
117
114
  readonly entryType: "measure";
118
115
  }
119
116
  interface UVMetrics {
@@ -130,6 +127,7 @@ declare module "perf_hooks" {
130
127
  */
131
128
  readonly eventsWaiting: number;
132
129
  }
130
+ // TODO: PerformanceNodeEntry is missing
133
131
  /**
134
132
  * _This property is an extension by Node.js. It is not available in Web browsers._
135
133
  *
@@ -225,7 +223,7 @@ declare module "perf_hooks" {
225
223
  /**
226
224
  * Additional optional detail to include with the mark.
227
225
  */
228
- detail?: unknown | undefined;
226
+ detail?: unknown;
229
227
  /**
230
228
  * Duration between start and end times.
231
229
  */
@@ -1,4 +1,5 @@
1
1
  declare module "process" {
2
+ import { Control, MessageOptions } from "node:child_process";
2
3
  import * as tty from "node:tty";
3
4
  import { Worker } from "node:worker_threads";
4
5
 
@@ -346,7 +347,7 @@ declare module "process" {
346
347
  /**
347
348
  * Can be used to change the default timezone at runtime
348
349
  */
349
- TZ?: string;
350
+ TZ?: string | undefined;
350
351
  }
351
352
  interface HRTime {
352
353
  /**
@@ -990,7 +991,7 @@ declare module "process" {
990
991
  * @since v0.1.13
991
992
  * @param [code=0] The exit code. For string type, only integer strings (e.g.,'1') are allowed.
992
993
  */
993
- exit(code?: number | string | null | undefined): never;
994
+ exit(code?: number | string | null): never;
994
995
  /**
995
996
  * A number which will be the process exit code, when the process either
996
997
  * exits gracefully, or is exited via {@link exit} without specifying
@@ -1001,7 +1002,7 @@ declare module "process" {
1001
1002
  * @default undefined
1002
1003
  * @since v0.11.8
1003
1004
  */
1004
- exitCode?: number | string | number | undefined;
1005
+ exitCode: number | string | null | undefined;
1005
1006
  finalization: {
1006
1007
  /**
1007
1008
  * This function registers a callback to be called when the process emits the `exit` event if the `ref` object was not garbage collected.
@@ -1568,7 +1569,7 @@ declare module "process" {
1568
1569
  * @since v0.1.17
1569
1570
  * @deprecated Since v14.0.0 - Use `main` instead.
1570
1571
  */
1571
- mainModule?: Module | undefined;
1572
+ mainModule?: Module;
1572
1573
  memoryUsage: MemoryUsageFn;
1573
1574
  /**
1574
1575
  * Gets the amount of memory available to the process (in bytes) based on
@@ -1760,18 +1761,7 @@ declare module "process" {
1760
1761
  * If no IPC channel exists, this property is undefined.
1761
1762
  * @since v7.1.0
1762
1763
  */
1763
- channel?: {
1764
- /**
1765
- * This method makes the IPC channel keep the event loop of the process running if .unref() has been called before.
1766
- * @since v7.1.0
1767
- */
1768
- ref(): void;
1769
- /**
1770
- * This method makes the IPC channel not keep the event loop of the process running, and lets it finish even while the channel is open.
1771
- * @since v7.1.0
1772
- */
1773
- unref(): void;
1774
- };
1764
+ channel?: Control;
1775
1765
  /**
1776
1766
  * If Node.js is spawned with an IPC channel, the `process.send()` method can be
1777
1767
  * used to send messages to the parent process. Messages will be received as a `'message'` event on the parent's `ChildProcess` object.
@@ -1786,9 +1776,7 @@ declare module "process" {
1786
1776
  send?(
1787
1777
  message: any,
1788
1778
  sendHandle?: any,
1789
- options?: {
1790
- keepOpen?: boolean | undefined;
1791
- },
1779
+ options?: MessageOptions,
1792
1780
  callback?: (error: Error | null) => void,
1793
1781
  ): boolean;
1794
1782
  /**
@@ -64,7 +64,7 @@ declare module "readline/promises" {
64
64
  constructor(
65
65
  stream: NodeJS.WritableStream,
66
66
  options?: {
67
- autoCommit?: boolean;
67
+ autoCommit?: boolean | undefined;
68
68
  },
69
69
  );
70
70
  /**
@@ -150,4 +150,13 @@ declare module "node:sea" {
150
150
  * @since v20.12.0
151
151
  */
152
152
  function getRawAsset(key: AssetKey): ArrayBuffer;
153
+ /**
154
+ * This method can be used to retrieve an array of all the keys of assets
155
+ * embedded into the single-executable application.
156
+ * An error is thrown when not running inside a single-executable application.
157
+ * @since v24.8.0
158
+ * @returns An array containing all the keys of the assets
159
+ * embedded in the executable. If no assets are embedded, returns an empty array.
160
+ */
161
+ function getAssetKeys(): string[];
153
162
  }
@@ -637,8 +637,9 @@ declare module "node:sqlite" {
637
637
  */
638
638
  rate?: number | undefined;
639
639
  /**
640
- * Callback function that will be called with the number of pages copied and the total number of
641
- * pages.
640
+ * An optional callback function that will be called after each backup step. The argument passed
641
+ * to this callback is an `Object` with `remainingPages` and `totalPages` properties, describing the current progress
642
+ * of the backup operation.
642
643
  */
643
644
  progress?: ((progressInfo: BackupProgressInfo) => void) | undefined;
644
645
  }
@@ -675,9 +676,10 @@ declare module "node:sqlite" {
675
676
  * the contents will be overwritten.
676
677
  * @param options Optional configuration for the backup. The
677
678
  * following properties are supported:
678
- * @returns A promise that resolves when the backup is completed and rejects if an error occurs.
679
+ * @returns A promise that fulfills with the total number of backed-up pages upon completion, or rejects if an
680
+ * error occurs.
679
681
  */
680
- function backup(sourceDb: DatabaseSync, path: string | Buffer | URL, options?: BackupOptions): Promise<void>;
682
+ function backup(sourceDb: DatabaseSync, path: string | Buffer | URL, options?: BackupOptions): Promise<number>;
681
683
  /**
682
684
  * @since v22.13.0
683
685
  */
@@ -1,11 +1,7 @@
1
1
  type _ByteLengthQueuingStrategy = typeof globalThis extends { onmessage: any } ? {}
2
2
  : import("stream/web").ByteLengthQueuingStrategy;
3
- type _CompressionStream = typeof globalThis extends { onmessage: any; ReportingObserver: any } ? {}
4
- : import("stream/web").CompressionStream;
5
3
  type _CountQueuingStrategy = typeof globalThis extends { onmessage: any } ? {}
6
4
  : import("stream/web").CountQueuingStrategy;
7
- type _DecompressionStream = typeof globalThis extends { onmessage: any; ReportingObserver: any } ? {}
8
- : import("stream/web").DecompressionStream;
9
5
  type _QueuingStrategy<T = any> = typeof globalThis extends { onmessage: any } ? {}
10
6
  : import("stream/web").QueuingStrategy<T>;
11
7
  type _ReadableByteStreamController = typeof globalThis extends { onmessage: any } ? {}
@@ -412,22 +408,17 @@ declare module "stream/web" {
412
408
  prototype: TextDecoderStream;
413
409
  new(encoding?: string, options?: TextDecoderOptions): TextDecoderStream;
414
410
  };
415
- interface CompressionStream {
411
+ type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
412
+ class CompressionStream {
413
+ constructor(format: CompressionFormat);
416
414
  readonly readable: ReadableStream;
417
415
  readonly writable: WritableStream;
418
416
  }
419
- const CompressionStream: {
420
- prototype: CompressionStream;
421
- new(format: "deflate" | "deflate-raw" | "gzip"): CompressionStream;
422
- };
423
- interface DecompressionStream {
424
- readonly writable: WritableStream;
417
+ class DecompressionStream {
418
+ constructor(format: CompressionFormat);
425
419
  readonly readable: ReadableStream;
420
+ readonly writable: WritableStream;
426
421
  }
427
- const DecompressionStream: {
428
- prototype: DecompressionStream;
429
- new(format: "deflate" | "deflate-raw" | "gzip"): DecompressionStream;
430
- };
431
422
 
432
423
  global {
433
424
  interface ByteLengthQueuingStrategy extends _ByteLengthQueuingStrategy {}
@@ -440,26 +431,6 @@ declare module "stream/web" {
440
431
  ? T
441
432
  : typeof import("stream/web").ByteLengthQueuingStrategy;
442
433
 
443
- interface CompressionStream extends _CompressionStream {}
444
- /**
445
- * `CompressionStream` class is a global reference for `import { CompressionStream } from 'node:stream/web'`.
446
- * https://nodejs.org/api/globals.html#class-compressionstream
447
- * @since v18.0.0
448
- */
449
- var CompressionStream: typeof globalThis extends {
450
- onmessage: any;
451
- // CompressionStream, DecompressionStream and ReportingObserver was introduced in the same commit.
452
- // If ReportingObserver check is removed, the type here will form a circular reference in TS5.0+lib.dom.d.ts
453
- ReportingObserver: any;
454
- CompressionStream: infer T;
455
- } ? T
456
- // TS 4.8, 4.9, 5.0
457
- : typeof globalThis extends { onmessage: any; TransformStream: { prototype: infer T } } ? {
458
- prototype: T;
459
- new(format: "deflate" | "deflate-raw" | "gzip"): T;
460
- }
461
- : typeof import("stream/web").CompressionStream;
462
-
463
434
  interface CountQueuingStrategy extends _CountQueuingStrategy {}
464
435
  /**
465
436
  * `CountQueuingStrategy` class is a global reference for `import { CountQueuingStrategy } from 'node:stream/web'`.
@@ -469,26 +440,6 @@ declare module "stream/web" {
469
440
  var CountQueuingStrategy: typeof globalThis extends { onmessage: any; CountQueuingStrategy: infer T } ? T
470
441
  : typeof import("stream/web").CountQueuingStrategy;
471
442
 
472
- interface DecompressionStream extends _DecompressionStream {}
473
- /**
474
- * `DecompressionStream` class is a global reference for `import { DecompressionStream } from 'node:stream/web'`.
475
- * https://nodejs.org/api/globals.html#class-decompressionstream
476
- * @since v18.0.0
477
- */
478
- var DecompressionStream: typeof globalThis extends {
479
- onmessage: any;
480
- // CompressionStream, DecompressionStream and ReportingObserver was introduced in the same commit.
481
- // If ReportingObserver check is removed, the type here will form a circular reference in TS5.0+lib.dom.d.ts
482
- ReportingObserver: any;
483
- DecompressionStream: infer T extends object;
484
- } ? T
485
- // TS 4.8, 4.9, 5.0
486
- : typeof globalThis extends { onmessage: any; TransformStream: { prototype: infer T } } ? {
487
- prototype: T;
488
- new(format: "deflate" | "deflate-raw" | "gzip"): T;
489
- }
490
- : typeof import("stream/web").DecompressionStream;
491
-
492
443
  interface QueuingStrategy<T = any> extends _QueuingStrategy<T> {}
493
444
 
494
445
  interface ReadableByteStreamController extends _ReadableByteStreamController {}