cloudstructs 0.9.13 → 0.9.14

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 (367) hide show
  1. package/.jsii +3 -3
  2. package/assets/slack-textract/detect.lambda/index.js +14 -9
  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/email-receiver/whitelist.lambda.js +2 -3
  8. package/lib/mjml-template/index.js +1 -1
  9. package/lib/saml-identity-provider/index.js +2 -2
  10. package/lib/slack-app/manifest.js +1 -1
  11. package/lib/slack-app/provider.lambda.js +2 -3
  12. package/lib/slack-app/slack-app.js +2 -2
  13. package/lib/slack-events/events.lambda.js +2 -3
  14. package/lib/slack-events/index.js +1 -1
  15. package/lib/slack-events/signature.js +2 -3
  16. package/lib/slack-textract/detect.lambda.js +2 -3
  17. package/lib/slack-textract/index.js +1 -1
  18. package/lib/ssl-server-test/analyze.lambda.js +2 -3
  19. package/lib/ssl-server-test/extract-grade.lambda.js +2 -3
  20. package/lib/ssl-server-test/index.js +1 -1
  21. package/lib/state-machine-cr-provider/index.js +1 -1
  22. package/lib/state-machine-cr-provider/runtime/http.js +3 -3
  23. package/lib/state-machine-cr-provider/runtime/index.js +5 -5
  24. package/lib/static-website/index.js +1 -1
  25. package/lib/static-website/origin-request.edge-lambda.js +2 -3
  26. package/lib/toolkit-cleaner/clean-images.lambda.js +2 -3
  27. package/lib/toolkit-cleaner/clean-objects.lambda.js +2 -3
  28. package/lib/toolkit-cleaner/extract-template-hashes.lambda.js +2 -3
  29. package/lib/toolkit-cleaner/get-stack-names.lambda.js +2 -3
  30. package/lib/toolkit-cleaner/index.js +1 -1
  31. package/lib/url-shortener/index.js +1 -1
  32. package/lib/url-shortener/redirect.edge-lambda.js +2 -3
  33. package/lib/url-shortener/shortener.lambda.js +2 -3
  34. package/node_modules/@babel/runtime/helpers/extends.js +2 -2
  35. package/node_modules/@babel/runtime/helpers/get.js +2 -2
  36. package/node_modules/@babel/runtime/helpers/getPrototypeOf.js +2 -2
  37. package/node_modules/@babel/runtime/helpers/setPrototypeOf.js +2 -2
  38. package/node_modules/@babel/runtime/helpers/typeof.js +2 -2
  39. package/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +2 -2
  40. package/node_modules/@babel/runtime/package.json +1 -1
  41. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  42. package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +47 -48
  43. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +13 -0
  44. package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +1 -0
  45. package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
  46. package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +9 -0
  47. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +35 -0
  48. package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +213 -0
  49. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +18 -0
  50. package/node_modules/@slack/logger/node_modules/undici-types/package.json +1 -1
  51. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  52. package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +47 -48
  53. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +13 -0
  54. package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +1 -0
  55. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  56. package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +9 -0
  57. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +35 -0
  58. package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +213 -0
  59. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +18 -0
  60. package/node_modules/@slack/web-api/node_modules/undici-types/package.json +1 -1
  61. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  62. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +5 -5
  63. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +5 -5
  64. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +12 -1
  65. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +2 -2
  66. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +15 -15
  67. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +17 -17
  68. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +5 -78
  69. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +1 -1
  70. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
  71. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +18 -17
  72. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +1 -1
  73. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +1 -1
  74. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +19 -0
  75. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +75 -2
  76. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +99 -1
  77. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +15 -2
  78. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +2 -2
  79. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +1 -1
  80. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +1 -0
  81. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +1 -1
  82. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +0 -14
  83. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +1 -1
  84. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +3 -3
  85. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +3 -3
  86. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +10 -1
  87. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +45 -9
  88. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +178 -19
  89. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +1 -1
  90. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +1 -1
  91. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +10 -10
  92. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +12 -12
  93. package/node_modules/@types/cacheable-request/node_modules/@types/node/sea.d.ts +1 -1
  94. package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +213 -0
  95. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +9 -9
  96. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +1 -1
  97. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +378 -101
  98. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +1 -1
  99. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +5 -2
  100. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +6 -6
  101. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +1 -1
  102. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +19 -2
  103. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +8 -2
  104. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +2 -2
  105. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +5 -7
  106. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +1 -1
  107. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +19 -1
  108. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +12 -3
  109. package/node_modules/@types/cacheable-request/node_modules/undici-types/LICENSE +21 -0
  110. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/balanced-pool.d.ts +11 -0
  111. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/client.d.ts +12 -1
  112. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/diagnostics-channel.d.ts +1 -2
  113. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/dispatcher.d.ts +18 -4
  114. package/node_modules/@types/cacheable-request/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
  115. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/errors.d.ts +21 -0
  116. package/node_modules/@types/cacheable-request/node_modules/undici-types/eventsource.d.ts +63 -0
  117. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/fetch.d.ts +25 -25
  118. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/formdata.d.ts +1 -1
  119. package/node_modules/@types/cacheable-request/node_modules/undici-types/handlers.d.ts +15 -0
  120. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/index.d.ts +10 -2
  121. package/node_modules/@types/cacheable-request/node_modules/undici-types/interceptors.d.ts +15 -0
  122. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/mock-interceptor.d.ts +4 -4
  123. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/package.json +1 -1
  124. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/pool.d.ts +11 -0
  125. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/proxy-agent.d.ts +0 -2
  126. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/readable.d.ts +2 -3
  127. package/node_modules/@types/cacheable-request/node_modules/undici-types/retry-agent.d.ts +8 -0
  128. package/node_modules/@types/cacheable-request/node_modules/undici-types/retry-handler.d.ts +116 -0
  129. package/node_modules/@types/cacheable-request/node_modules/undici-types/util.d.ts +18 -0
  130. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/webidl.d.ts +10 -8
  131. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/websocket.d.ts +22 -1
  132. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  133. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +5 -5
  134. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +5 -5
  135. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +12 -1
  136. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +2 -2
  137. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +15 -15
  138. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +17 -17
  139. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +5 -78
  140. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +1 -1
  141. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
  142. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +18 -17
  143. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +1 -1
  144. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +1 -1
  145. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +19 -0
  146. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +75 -2
  147. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +99 -1
  148. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +15 -2
  149. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +2 -2
  150. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +1 -1
  151. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +1 -0
  152. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +1 -1
  153. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +0 -14
  154. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +1 -1
  155. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +3 -3
  156. package/node_modules/@types/keyv/node_modules/@types/node/package.json +3 -3
  157. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +10 -1
  158. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +45 -9
  159. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +178 -19
  160. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +1 -1
  161. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +1 -1
  162. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +10 -10
  163. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +12 -12
  164. package/node_modules/@types/keyv/node_modules/@types/node/sea.d.ts +1 -1
  165. package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +213 -0
  166. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +9 -9
  167. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +1 -1
  168. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +378 -101
  169. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +1 -1
  170. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +5 -2
  171. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +6 -6
  172. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +1 -1
  173. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +19 -2
  174. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +8 -2
  175. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +2 -2
  176. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +5 -7
  177. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +1 -1
  178. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +19 -1
  179. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +12 -3
  180. package/node_modules/@types/keyv/node_modules/undici-types/LICENSE +21 -0
  181. package/node_modules/@types/keyv/node_modules/undici-types/README.md +6 -0
  182. package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +31 -0
  183. package/node_modules/@types/keyv/node_modules/undici-types/api.d.ts +43 -0
  184. package/node_modules/@types/keyv/node_modules/undici-types/balanced-pool.d.ts +29 -0
  185. package/node_modules/@types/keyv/node_modules/undici-types/cache.d.ts +36 -0
  186. package/node_modules/@types/keyv/node_modules/undici-types/client.d.ts +108 -0
  187. package/node_modules/@types/keyv/node_modules/undici-types/connector.d.ts +34 -0
  188. package/node_modules/@types/keyv/node_modules/undici-types/content-type.d.ts +21 -0
  189. package/node_modules/@types/keyv/node_modules/undici-types/cookies.d.ts +28 -0
  190. package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
  191. package/node_modules/@types/keyv/node_modules/undici-types/dispatcher.d.ts +255 -0
  192. package/node_modules/@types/keyv/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
  193. package/node_modules/@types/keyv/node_modules/undici-types/errors.d.ts +149 -0
  194. package/node_modules/@types/keyv/node_modules/undici-types/eventsource.d.ts +63 -0
  195. package/node_modules/@types/keyv/node_modules/undici-types/fetch.d.ts +209 -0
  196. package/node_modules/@types/keyv/node_modules/undici-types/file.d.ts +39 -0
  197. package/node_modules/@types/keyv/node_modules/undici-types/filereader.d.ts +54 -0
  198. package/node_modules/@types/keyv/node_modules/undici-types/formdata.d.ts +108 -0
  199. package/node_modules/@types/keyv/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  200. package/node_modules/@types/keyv/node_modules/undici-types/global-origin.d.ts +7 -0
  201. package/node_modules/@types/keyv/node_modules/undici-types/handlers.d.ts +15 -0
  202. package/node_modules/@types/keyv/node_modules/undici-types/header.d.ts +4 -0
  203. package/node_modules/@types/keyv/node_modules/undici-types/index.d.ts +71 -0
  204. package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +15 -0
  205. package/node_modules/@types/keyv/node_modules/undici-types/mock-agent.d.ts +50 -0
  206. package/node_modules/@types/keyv/node_modules/undici-types/mock-client.d.ts +25 -0
  207. package/node_modules/@types/keyv/node_modules/undici-types/mock-errors.d.ts +12 -0
  208. package/node_modules/@types/keyv/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  209. package/node_modules/@types/keyv/node_modules/undici-types/mock-pool.d.ts +25 -0
  210. package/node_modules/@types/keyv/node_modules/undici-types/package.json +55 -0
  211. package/node_modules/@types/keyv/node_modules/undici-types/patch.d.ts +71 -0
  212. package/node_modules/@types/keyv/node_modules/undici-types/pool-stats.d.ts +19 -0
  213. package/node_modules/@types/keyv/node_modules/undici-types/pool.d.ts +39 -0
  214. package/node_modules/@types/keyv/node_modules/undici-types/proxy-agent.d.ts +28 -0
  215. package/node_modules/@types/keyv/node_modules/undici-types/readable.d.ts +60 -0
  216. package/node_modules/@types/keyv/node_modules/undici-types/retry-agent.d.ts +8 -0
  217. package/node_modules/@types/keyv/node_modules/undici-types/retry-handler.d.ts +116 -0
  218. package/node_modules/@types/keyv/node_modules/undici-types/util.d.ts +18 -0
  219. package/node_modules/@types/keyv/node_modules/undici-types/webidl.d.ts +222 -0
  220. package/node_modules/@types/keyv/node_modules/undici-types/websocket.d.ts +152 -0
  221. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  222. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +5 -5
  223. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +5 -5
  224. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +12 -1
  225. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +2 -2
  226. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +15 -15
  227. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +17 -17
  228. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +5 -78
  229. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +1 -1
  230. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
  231. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +18 -17
  232. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +1 -1
  233. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +1 -1
  234. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +19 -0
  235. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +75 -2
  236. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +99 -1
  237. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +15 -2
  238. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +2 -2
  239. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +1 -1
  240. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +1 -0
  241. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +1 -1
  242. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +0 -14
  243. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +1 -1
  244. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +3 -3
  245. package/node_modules/@types/responselike/node_modules/@types/node/package.json +3 -3
  246. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +10 -1
  247. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +45 -9
  248. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +178 -19
  249. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +1 -1
  250. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +1 -1
  251. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +10 -10
  252. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +12 -12
  253. package/node_modules/@types/responselike/node_modules/@types/node/sea.d.ts +1 -1
  254. package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +213 -0
  255. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +9 -9
  256. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +1 -1
  257. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +378 -101
  258. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +1 -1
  259. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +5 -2
  260. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +6 -6
  261. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +1 -1
  262. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +19 -2
  263. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +8 -2
  264. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +2 -2
  265. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +5 -7
  266. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +1 -1
  267. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +19 -1
  268. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +12 -3
  269. package/node_modules/@types/responselike/node_modules/undici-types/LICENSE +21 -0
  270. package/node_modules/@types/responselike/node_modules/undici-types/README.md +6 -0
  271. package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +31 -0
  272. package/node_modules/@types/responselike/node_modules/undici-types/api.d.ts +43 -0
  273. package/node_modules/@types/responselike/node_modules/undici-types/balanced-pool.d.ts +29 -0
  274. package/node_modules/@types/responselike/node_modules/undici-types/cache.d.ts +36 -0
  275. package/node_modules/@types/responselike/node_modules/undici-types/client.d.ts +108 -0
  276. package/node_modules/@types/responselike/node_modules/undici-types/connector.d.ts +34 -0
  277. package/node_modules/@types/responselike/node_modules/undici-types/content-type.d.ts +21 -0
  278. package/node_modules/@types/responselike/node_modules/undici-types/cookies.d.ts +28 -0
  279. package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
  280. package/node_modules/@types/responselike/node_modules/undici-types/dispatcher.d.ts +255 -0
  281. package/node_modules/@types/responselike/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
  282. package/node_modules/@types/responselike/node_modules/undici-types/errors.d.ts +149 -0
  283. package/node_modules/@types/responselike/node_modules/undici-types/eventsource.d.ts +63 -0
  284. package/node_modules/@types/responselike/node_modules/undici-types/fetch.d.ts +209 -0
  285. package/node_modules/@types/responselike/node_modules/undici-types/file.d.ts +39 -0
  286. package/node_modules/@types/responselike/node_modules/undici-types/filereader.d.ts +54 -0
  287. package/node_modules/@types/responselike/node_modules/undici-types/formdata.d.ts +108 -0
  288. package/node_modules/@types/responselike/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  289. package/node_modules/@types/responselike/node_modules/undici-types/global-origin.d.ts +7 -0
  290. package/node_modules/@types/responselike/node_modules/undici-types/handlers.d.ts +15 -0
  291. package/node_modules/@types/responselike/node_modules/undici-types/header.d.ts +4 -0
  292. package/node_modules/@types/responselike/node_modules/undici-types/index.d.ts +71 -0
  293. package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +15 -0
  294. package/node_modules/@types/responselike/node_modules/undici-types/mock-agent.d.ts +50 -0
  295. package/node_modules/@types/responselike/node_modules/undici-types/mock-client.d.ts +25 -0
  296. package/node_modules/@types/responselike/node_modules/undici-types/mock-errors.d.ts +12 -0
  297. package/node_modules/@types/responselike/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  298. package/node_modules/@types/responselike/node_modules/undici-types/mock-pool.d.ts +25 -0
  299. package/node_modules/@types/responselike/node_modules/undici-types/package.json +55 -0
  300. package/node_modules/@types/responselike/node_modules/undici-types/patch.d.ts +71 -0
  301. package/node_modules/@types/responselike/node_modules/undici-types/pool-stats.d.ts +19 -0
  302. package/node_modules/@types/responselike/node_modules/undici-types/pool.d.ts +39 -0
  303. package/node_modules/@types/responselike/node_modules/undici-types/proxy-agent.d.ts +28 -0
  304. package/node_modules/@types/responselike/node_modules/undici-types/readable.d.ts +60 -0
  305. package/node_modules/@types/responselike/node_modules/undici-types/retry-agent.d.ts +8 -0
  306. package/node_modules/@types/responselike/node_modules/undici-types/retry-handler.d.ts +116 -0
  307. package/node_modules/@types/responselike/node_modules/undici-types/util.d.ts +18 -0
  308. package/node_modules/@types/responselike/node_modules/undici-types/webidl.d.ts +222 -0
  309. package/node_modules/@types/responselike/node_modules/undici-types/websocket.d.ts +152 -0
  310. package/node_modules/axios/CHANGELOG.md +16 -0
  311. package/node_modules/axios/README.md +6 -57
  312. package/node_modules/axios/dist/axios.js +29 -22
  313. package/node_modules/axios/dist/axios.js.map +1 -1
  314. package/node_modules/axios/dist/axios.min.js +1 -1
  315. package/node_modules/axios/dist/axios.min.js.map +1 -1
  316. package/node_modules/axios/dist/browser/axios.cjs +17 -10
  317. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  318. package/node_modules/axios/dist/esm/axios.js +17 -10
  319. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  320. package/node_modules/axios/dist/esm/axios.min.js +1 -1
  321. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  322. package/node_modules/axios/dist/node/axios.cjs +18 -11
  323. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  324. package/node_modules/axios/lib/adapters/fetch.js +4 -1
  325. package/node_modules/axios/lib/adapters/http.js +1 -1
  326. package/node_modules/axios/lib/core/AxiosError.js +5 -2
  327. package/node_modules/axios/lib/env/data.js +1 -1
  328. package/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -1
  329. package/node_modules/axios/lib/platform/common/utils.js +5 -4
  330. package/node_modules/axios/package.json +1 -1
  331. package/node_modules/foreground-child/dist/commonjs/index.d.ts +4 -2
  332. package/node_modules/foreground-child/dist/commonjs/index.d.ts.map +1 -1
  333. package/node_modules/foreground-child/dist/commonjs/index.js +4 -2
  334. package/node_modules/foreground-child/dist/commonjs/index.js.map +1 -1
  335. package/node_modules/foreground-child/dist/esm/index.d.ts +4 -2
  336. package/node_modules/foreground-child/dist/esm/index.d.ts.map +1 -1
  337. package/node_modules/foreground-child/dist/esm/index.js +4 -2
  338. package/node_modules/foreground-child/dist/esm/index.js.map +1 -1
  339. package/node_modules/foreground-child/package.json +1 -1
  340. package/node_modules/juice/package.json +3 -3
  341. package/node_modules/uglify-js/bin/uglifyjs +6 -3
  342. package/node_modules/uglify-js/lib/compress.js +117 -75
  343. package/node_modules/uglify-js/lib/minify.js +4 -3
  344. package/node_modules/uglify-js/lib/output.js +16 -5
  345. package/node_modules/uglify-js/package.json +1 -1
  346. package/node_modules/uglify-js/tools/node.js +6 -1
  347. package/package.json +18 -18
  348. package/node_modules/undici-types/handlers.d.ts +0 -9
  349. package/node_modules/undici-types/interceptors.d.ts +0 -5
  350. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/README.md +0 -0
  351. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/agent.d.ts +0 -0
  352. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/api.d.ts +0 -0
  353. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/cache.d.ts +0 -0
  354. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/connector.d.ts +0 -0
  355. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/content-type.d.ts +0 -0
  356. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/cookies.d.ts +0 -0
  357. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/file.d.ts +0 -0
  358. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/filereader.d.ts +0 -0
  359. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/global-dispatcher.d.ts +0 -0
  360. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/global-origin.d.ts +0 -0
  361. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/header.d.ts +0 -0
  362. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/mock-agent.d.ts +0 -0
  363. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/mock-client.d.ts +0 -0
  364. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/mock-errors.d.ts +0 -0
  365. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/mock-pool.d.ts +0 -0
  366. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/patch.d.ts +0 -0
  367. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/pool-stats.d.ts +0 -0
@@ -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.13.1/lib/timers.js)
9
+ * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/timers.js)
10
10
  */
11
11
  declare module "timers" {
12
12
  import { Abortable } from "node:events";
@@ -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.13.1/lib/tls.js)
9
+ * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/tls.js)
10
10
  */
11
11
  declare module "tls" {
12
12
  import { X509Certificate } from "node:crypto";
@@ -843,6 +843,7 @@ declare module "tls" {
843
843
  ciphers?: string | undefined;
844
844
  /**
845
845
  * Name of an OpenSSL engine which can provide the client certificate.
846
+ * @deprecated
846
847
  */
847
848
  clientCertEngine?: string | undefined;
848
849
  /**
@@ -885,12 +886,14 @@ declare module "tls" {
885
886
  /**
886
887
  * Name of an OpenSSL engine to get private key from. Should be used
887
888
  * together with privateKeyIdentifier.
889
+ * @deprecated
888
890
  */
889
891
  privateKeyEngine?: string | undefined;
890
892
  /**
891
893
  * Identifier of a private key managed by an OpenSSL engine. Should be
892
894
  * used together with privateKeyEngine. Should not be set together with
893
895
  * key, because both options define a private key in different ways.
896
+ * @deprecated
894
897
  */
895
898
  privateKeyIdentifier?: string | undefined;
896
899
  /**
@@ -1155,7 +1158,7 @@ declare module "tls" {
1155
1158
  * the `ciphers` option of `{@link createSecureContext}`.
1156
1159
  *
1157
1160
  * 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).
1161
+ * [Modifying the default TLS cipher suite](https://nodejs.org/docs/latest-v22.x/api/tls.html#modifying-the-default-tls-cipher-suite).
1159
1162
  *
1160
1163
  * Cipher names that start with `'tls_'` are for TLSv1.3, all the others are for
1161
1164
  * TLSv1.2 and below.
@@ -9,8 +9,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`](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.
12
+ * * `node.async_hooks`: Enables capture of detailed [`async_hooks`](https://nodejs.org/docs/latest-v22.x/api/async_hooks.html) trace data.
13
+ * The [`async_hooks`](https://nodejs.org/docs/latest-v22.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
15
  * * `node.console`: Enables capture of `console.time()` and `console.count()` output.
16
16
  * * `node.threadpoolwork.sync`: Enables capture of trace data for threadpool synchronous operations, such as `blob`, `zlib`, `crypto` and `node_api`.
@@ -22,7 +22,7 @@
22
22
  * * `node.fs_dir.sync`: Enables capture of trace data for file system sync directory methods.
23
23
  * * `node.fs.async`: Enables capture of trace data for file system async methods.
24
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.
25
+ * * `node.perf`: Enables capture of [Performance API](https://nodejs.org/docs/latest-v22.x/api/perf_hooks.html) measurements.
26
26
  * * `node.perf.usertiming`: Enables capture of only Performance API User Timing
27
27
  * measures and marks.
28
28
  * * `node.perf.timerify`: Enables capture of only Performance API timerify
@@ -30,7 +30,7 @@
30
30
  * * `node.promises.rejections`: Enables capture of trace data tracking the number
31
31
  * of unhandled Promise rejections and handled-after-rejections.
32
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.
33
+ * * `v8`: The [V8](https://nodejs.org/docs/latest-v22.x/api/v8.html) events are GC, compiling, and execution related.
34
34
  * * `node.http`: Enables capture of trace data for http request / response.
35
35
  *
36
36
  * By default the `node`, `node.async_hooks`, and `v8` categories are enabled.
@@ -88,9 +88,9 @@
88
88
  * However the trace-event timestamps are expressed in microseconds,
89
89
  * unlike `process.hrtime()` which returns nanoseconds.
90
90
  *
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.
91
+ * The features from this module are not available in [`Worker`](https://nodejs.org/docs/latest-v22.x/api/worker_threads.html#class-worker) threads.
92
92
  * @experimental
93
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/trace_events.js)
93
+ * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/trace_events.js)
94
94
  */
95
95
  declare module "trace_events" {
96
96
  /**
@@ -21,7 +21,7 @@
21
21
  *
22
22
  * In most cases, there should be little to no reason for an application to
23
23
  * manually create instances of the `tty.ReadStream` and `tty.WriteStream` classes.
24
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/tty.js)
24
+ * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/tty.js)
25
25
  */
26
26
  declare module "tty" {
27
27
  import * as net from "node:net";
@@ -5,7 +5,7 @@
5
5
  * ```js
6
6
  * import url from 'node:url';
7
7
  * ```
8
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/url.js)
8
+ * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/url.js)
9
9
  */
10
10
  declare module "url" {
11
11
  import { Blob as NodeBlob } from "node:buffer";
@@ -50,10 +50,18 @@ declare module "url" {
50
50
  /**
51
51
  * `true` if the `path` should be return as a windows filepath, `false` for posix, and `undefined` for the system default.
52
52
  * @default undefined
53
+ * @since v22.1.0
54
+ */
55
+ windows?: boolean | undefined;
56
+ }
57
+ interface PathToFileUrlOptions {
58
+ /**
59
+ * `true` if the `path` should be return as a windows filepath, `false` for posix, and `undefined` for the system default.
60
+ * @default undefined
61
+ * @since v22.1.0
53
62
  */
54
63
  windows?: boolean | undefined;
55
64
  }
56
- interface PathToFileUrlOptions extends FileUrlToPathOptions {}
57
65
  /**
58
66
  * The `url.parse()` method takes a URL string, parses it, and returns a URL
59
67
  * object.
@@ -437,6 +445,15 @@ declare module "url" {
437
445
  * @param base The base URL to resolve against if the `input` is not absolute. If `base` is not a string, it is `converted to a string` first.
438
446
  */
439
447
  static canParse(input: string, base?: string): boolean;
448
+ /**
449
+ * Parses a string as a URL. If `base` is provided, it will be used as the base URL for the purpose of resolving non-absolute `input` URLs.
450
+ * Returns `null` if `input` is not a valid.
451
+ * @param input The absolute or relative input URL to parse. If `input` is relative, then `base` is required. If `input` is absolute, the `base` is ignored. If `input` is not a string, it is
452
+ * `converted to a string` first.
453
+ * @param base The base URL to resolve against if the `input` is not absolute. If `base` is not a string, it is `converted to a string` first.
454
+ * @since v22.1.0
455
+ */
456
+ static parse(input: string, base?: string): URL | null;
440
457
  constructor(input: string | { toString: () => string }, base?: string | URL);
441
458
  /**
442
459
  * Gets and sets the fragment portion of the URL.
@@ -6,7 +6,7 @@
6
6
  * ```js
7
7
  * const util = require('node:util');
8
8
  * ```
9
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/util.js)
9
+ * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/util.js)
10
10
  */
11
11
  declare module "util" {
12
12
  import * as types from "node:util/types";
@@ -1269,7 +1269,7 @@ declare module "util" {
1269
1269
  * );
1270
1270
  * ```
1271
1271
  *
1272
- * The full list of formats can be found in [modifiers](https://nodejs.org/docs/latest-v20.x/api/util.html#modifiers).
1272
+ * The full list of formats can be found in [modifiers](https://nodejs.org/docs/latest-v22.x/api/util.html#modifiers).
1273
1273
  * @param format A text format or an Array of text formats defined in `util.inspect.colors`.
1274
1274
  * @param text The text to to be formatted.
1275
1275
  * @since v20.12.0
@@ -1480,6 +1480,12 @@ declare module "util" {
1480
1480
  * Whether this command accepts positional arguments.
1481
1481
  */
1482
1482
  allowPositionals?: boolean | undefined;
1483
+ /**
1484
+ * If `true`, allows explicitly setting boolean options to `false` by prefixing the option name with `--no-`.
1485
+ * @default false
1486
+ * @since v22.4.0
1487
+ */
1488
+ allowNegative?: boolean | undefined;
1483
1489
  /**
1484
1490
  * Return the parsed tokens. This is useful for extending the built-in behavior,
1485
1491
  * from adding additional checks through to reprocessing the tokens in different ways.
@@ -4,7 +4,7 @@
4
4
  * ```js
5
5
  * const v8 = require('node:v8');
6
6
  * ```
7
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/v8.js)
7
+ * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/v8.js)
8
8
  */
9
9
  declare module "v8" {
10
10
  import { Readable } from "node:stream";
@@ -466,7 +466,7 @@ declare module "v8" {
466
466
  function stopCoverage(): void;
467
467
  /**
468
468
  * The API is a no-op if `--heapsnapshot-near-heap-limit` is already set from the command line or the API is called more than once.
469
- * `limit` must be a positive integer. See [`--heapsnapshot-near-heap-limit`](https://nodejs.org/docs/latest-v20.x/api/cli.html#--heapsnapshot-near-heap-limitmax_count) for more information.
469
+ * `limit` must be a positive integer. See [`--heapsnapshot-near-heap-limit`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--heapsnapshot-near-heap-limitmax_count) for more information.
470
470
  * @experimental
471
471
  * @since v18.10.0, v16.18.0
472
472
  */
@@ -34,7 +34,7 @@
34
34
  *
35
35
  * console.log(x); // 1; y is not defined.
36
36
  * ```
37
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/vm.js)
37
+ * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/vm.js)
38
38
  */
39
39
  declare module "vm" {
40
40
  import { ImportAttributes } from "node:module";
@@ -66,7 +66,7 @@ declare module "vm" {
66
66
  /**
67
67
  * Used to specify how the modules should be loaded during the evaluation of this script when `import()` is called. This option is
68
68
  * part of the experimental modules API. We do not recommend using it in a production environment. For detailed information, see
69
- * [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v20.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
69
+ * [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
70
70
  */
71
71
  importModuleDynamically?:
72
72
  | ((specifier: string, script: Script, importAttributes: ImportAttributes) => Module)
@@ -348,9 +348,9 @@ declare module "vm" {
348
348
  }
349
349
  /**
350
350
  * If given a `contextObject`, the `vm.createContext()` method will
351
- * [prepare that object](https://nodejs.org/docs/latest-v20.x/api/vm.html#what-does-it-mean-to-contextify-an-object)
351
+ * [prepare that object](https://nodejs.org/docs/latest-v22.x/api/vm.html#what-does-it-mean-to-contextify-an-object)
352
352
  * and return a reference to it so that it can be used in `{@link runInContext}` or
353
- * [`script.runInContext()`](https://nodejs.org/docs/latest-v20.x/api/vm.html#scriptrunincontextcontextifiedobject-options). Inside such
353
+ * [`script.runInContext()`](https://nodejs.org/docs/latest-v22.x/api/vm.html#scriptrunincontextcontextifiedobject-options). Inside such
354
354
  * scripts, the `contextObject` will be the global object, retaining all of its
355
355
  * existing properties but also having the built-in objects and functions any
356
356
  * standard [global object](https://es5.github.io/#x15.1) has. Outside of scripts run by the vm module, global
@@ -598,8 +598,6 @@ declare module "vm" {
598
598
  specifier: string,
599
599
  referencingModule: Module,
600
600
  extra: {
601
- /** @deprecated Use `attributes` instead */
602
- assert: ImportAttributes;
603
601
  attributes: ImportAttributes;
604
602
  },
605
603
  ) => Module | Promise<Module>;
@@ -914,7 +912,7 @@ declare module "vm" {
914
912
  * and `vm.compileFunction()` so that Node.js uses the default ESM loader from the main
915
913
  * context to load the requested module.
916
914
  *
917
- * For detailed information, see [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v20.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
915
+ * For detailed information, see [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
918
916
  */
919
917
  const USE_MAIN_CONTEXT_DEFAULT_LOADER: number;
920
918
  }
@@ -67,7 +67,7 @@
67
67
  * wat2wasm demo.wat
68
68
  * ```
69
69
  * @experimental
70
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/wasi.js)
70
+ * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/wasi.js)
71
71
  */
72
72
  declare module "wasi" {
73
73
  interface WASIOptions {
@@ -49,7 +49,7 @@
49
49
  *
50
50
  * Worker threads inherit non-process-specific options by default. Refer to `Worker constructor options` to know how to customize worker thread options,
51
51
  * specifically `argv` and `execArgv` options.
52
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/worker_threads.js)
52
+ * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/worker_threads.js)
53
53
  */
54
54
  declare module "worker_threads" {
55
55
  import { Blob } from "node:buffer";
@@ -409,6 +409,24 @@ declare module "worker_threads" {
409
409
  * @since v10.5.0
410
410
  */
411
411
  postMessage(value: any, transferList?: readonly TransferListItem[]): void;
412
+ /**
413
+ * Sends a value to another worker, identified by its thread ID.
414
+ * @param threadId The target thread ID. If the thread ID is invalid, a `ERR_WORKER_MESSAGING_FAILED` error will be thrown.
415
+ * If the target thread ID is the current thread ID, a `ERR_WORKER_MESSAGING_SAME_THREAD` error will be thrown.
416
+ * @param value The value to send.
417
+ * @param transferList If one or more `MessagePort`-like objects are passed in value, a `transferList` is required for those items
418
+ * or `ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST` is thrown. See `port.postMessage()` for more information.
419
+ * @param timeout Time to wait for the message to be delivered in milliseconds. By default it's `undefined`, which means wait forever.
420
+ * If the operation times out, a `ERR_WORKER_MESSAGING_TIMEOUT` error is thrown.
421
+ * @since v22.5.0
422
+ */
423
+ postMessageToThread(threadId: number, value: any, timeout?: number): Promise<void>;
424
+ postMessageToThread(
425
+ threadId: number,
426
+ value: any,
427
+ transferList: readonly TransferListItem[],
428
+ timeout?: number,
429
+ ): Promise<void>;
412
430
  /**
413
431
  * Opposite of `unref()`, calling `ref()` on a previously `unref()`ed worker does _not_ let the program exit if it's the only active handle left (the default
414
432
  * behavior). If the worker is `ref()`ed, calling `ref()` again has
@@ -9,7 +9,7 @@
9
9
  * ```
10
10
  *
11
11
  * Compression and decompression are built around the Node.js
12
- * [Streams API](https://nodejs.org/docs/latest-v20.x/api/stream.html).
12
+ * [Streams API](https://nodejs.org/docs/latest-v22.x/api/stream.html).
13
13
  *
14
14
  * Compressing or decompressing a stream (such as a file) can be accomplished by
15
15
  * piping the source stream through a `zlib` `Transform` stream into a destination
@@ -89,7 +89,7 @@
89
89
  * });
90
90
  * ```
91
91
  * @since v0.5.8
92
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/zlib.js)
92
+ * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/zlib.js)
93
93
  */
94
94
  declare module "zlib" {
95
95
  import * as stream from "node:stream";
@@ -143,7 +143,7 @@ declare module "zlib" {
143
143
  }
144
144
  | undefined;
145
145
  /**
146
- * Limits output size when using [convenience methods](https://nodejs.org/docs/latest-v20.x/api/zlib.html#convenience-methods).
146
+ * Limits output size when using [convenience methods](https://nodejs.org/docs/latest-v22.x/api/zlib.html#convenience-methods).
147
147
  * @default buffer.kMaxLength
148
148
  */
149
149
  maxOutputLength?: number | undefined;
@@ -172,6 +172,15 @@ declare module "zlib" {
172
172
  interface DeflateRaw extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
173
173
  interface InflateRaw extends stream.Transform, Zlib, ZlibReset {}
174
174
  interface Unzip extends stream.Transform, Zlib {}
175
+ /**
176
+ * Computes a 32-bit [Cyclic Redundancy Check](https://en.wikipedia.org/wiki/Cyclic_redundancy_check) checksum of `data`.
177
+ * If `value` is specified, it is used as the starting value of the checksum, otherwise, 0 is used as the starting value.
178
+ * @param data When `data` is a string, it will be encoded as UTF-8 before being used for computation.
179
+ * @param value An optional starting value. It must be a 32-bit unsigned integer. @default 0
180
+ * @returns A 32-bit unsigned integer containing the checksum.
181
+ * @since v22.2.0
182
+ */
183
+ function crc32(data: string | Buffer | NodeJS.ArrayBufferView, value?: number): number;
175
184
  /**
176
185
  * Creates and returns a new `BrotliCompress` object.
177
186
  * @since v11.7.0, v10.16.0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Matteo Collina and Undici contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,6 @@
1
+ # undici-types
2
+
3
+ This package is a dual-publish of the [undici](https://www.npmjs.com/package/undici) library types. The `undici` package **still contains types**. This package is for users who _only_ need undici types (such as for `@types/node`). It is published alongside every release of `undici`, so you can always use the same version.
4
+
5
+ - [GitHub nodejs/undici](https://github.com/nodejs/undici)
6
+ - [Undici Documentation](https://undici.nodejs.org/#/)
@@ -0,0 +1,31 @@
1
+ import { URL } from 'url'
2
+ import Pool from './pool'
3
+ import Dispatcher from "./dispatcher";
4
+
5
+ export default Agent
6
+
7
+ declare class Agent extends Dispatcher{
8
+ constructor(opts?: Agent.Options)
9
+ /** `true` after `dispatcher.close()` has been called. */
10
+ closed: boolean;
11
+ /** `true` after `dispatcher.destroyed()` has been called or `dispatcher.close()` has been called and the dispatcher shutdown has completed. */
12
+ destroyed: boolean;
13
+ /** Dispatches a request. */
14
+ dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean;
15
+ }
16
+
17
+ declare namespace Agent {
18
+ export interface Options extends Pool.Options {
19
+ /** Default: `(origin, opts) => new Pool(origin, opts)`. */
20
+ factory?(origin: string | URL, opts: Object): Dispatcher;
21
+ /** Integer. Default: `0` */
22
+ maxRedirections?: number;
23
+
24
+ interceptors?: { Agent?: readonly Dispatcher.DispatchInterceptor[] } & Pool.Options["interceptors"]
25
+ }
26
+
27
+ export interface DispatchOptions extends Dispatcher.DispatchOptions {
28
+ /** Integer. */
29
+ maxRedirections?: number;
30
+ }
31
+ }
@@ -0,0 +1,43 @@
1
+ import { URL, UrlObject } from 'url'
2
+ import { Duplex } from 'stream'
3
+ import Dispatcher from './dispatcher'
4
+
5
+ export {
6
+ request,
7
+ stream,
8
+ pipeline,
9
+ connect,
10
+ upgrade,
11
+ }
12
+
13
+ /** Performs an HTTP request. */
14
+ declare function request(
15
+ url: string | URL | UrlObject,
16
+ options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.RequestOptions, 'origin' | 'path' | 'method'> & Partial<Pick<Dispatcher.RequestOptions, 'method'>>,
17
+ ): Promise<Dispatcher.ResponseData>;
18
+
19
+ /** A faster version of `request`. */
20
+ declare function stream(
21
+ url: string | URL | UrlObject,
22
+ options: { dispatcher?: Dispatcher } & Omit<Dispatcher.RequestOptions, 'origin' | 'path'>,
23
+ factory: Dispatcher.StreamFactory
24
+ ): Promise<Dispatcher.StreamData>;
25
+
26
+ /** For easy use with `stream.pipeline`. */
27
+ declare function pipeline(
28
+ url: string | URL | UrlObject,
29
+ options: { dispatcher?: Dispatcher } & Omit<Dispatcher.PipelineOptions, 'origin' | 'path'>,
30
+ handler: Dispatcher.PipelineHandler
31
+ ): Duplex;
32
+
33
+ /** Starts two-way communications with the requested resource. */
34
+ declare function connect(
35
+ url: string | URL | UrlObject,
36
+ options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.ConnectOptions, 'origin' | 'path'>
37
+ ): Promise<Dispatcher.ConnectData>;
38
+
39
+ /** Upgrade to a different protocol. */
40
+ declare function upgrade(
41
+ url: string | URL | UrlObject,
42
+ options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.UpgradeOptions, 'origin' | 'path'>
43
+ ): Promise<Dispatcher.UpgradeData>;
@@ -0,0 +1,29 @@
1
+ import Pool from './pool'
2
+ import Dispatcher from './dispatcher'
3
+ import { URL } from 'url'
4
+
5
+ export default BalancedPool
6
+
7
+ type BalancedPoolConnectOptions = Omit<Dispatcher.ConnectOptions, "origin">;
8
+
9
+ declare class BalancedPool extends Dispatcher {
10
+ constructor(url: string | string[] | URL | URL[], options?: Pool.Options);
11
+
12
+ addUpstream(upstream: string | URL): BalancedPool;
13
+ removeUpstream(upstream: string | URL): BalancedPool;
14
+ upstreams: Array<string>;
15
+
16
+ /** `true` after `pool.close()` has been called. */
17
+ closed: boolean;
18
+ /** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */
19
+ destroyed: boolean;
20
+
21
+ // Override dispatcher APIs.
22
+ override connect(
23
+ options: BalancedPoolConnectOptions
24
+ ): Promise<Dispatcher.ConnectData>;
25
+ override connect(
26
+ options: BalancedPoolConnectOptions,
27
+ callback: (err: Error | null, data: Dispatcher.ConnectData) => void
28
+ ): void;
29
+ }
@@ -0,0 +1,36 @@
1
+ import type { RequestInfo, Response, Request } from './fetch'
2
+
3
+ export interface CacheStorage {
4
+ match (request: RequestInfo, options?: MultiCacheQueryOptions): Promise<Response | undefined>,
5
+ has (cacheName: string): Promise<boolean>,
6
+ open (cacheName: string): Promise<Cache>,
7
+ delete (cacheName: string): Promise<boolean>,
8
+ keys (): Promise<string[]>
9
+ }
10
+
11
+ declare const CacheStorage: {
12
+ prototype: CacheStorage
13
+ new(): CacheStorage
14
+ }
15
+
16
+ export interface Cache {
17
+ match (request: RequestInfo, options?: CacheQueryOptions): Promise<Response | undefined>,
18
+ matchAll (request?: RequestInfo, options?: CacheQueryOptions): Promise<readonly Response[]>,
19
+ add (request: RequestInfo): Promise<undefined>,
20
+ addAll (requests: RequestInfo[]): Promise<undefined>,
21
+ put (request: RequestInfo, response: Response): Promise<undefined>,
22
+ delete (request: RequestInfo, options?: CacheQueryOptions): Promise<boolean>,
23
+ keys (request?: RequestInfo, options?: CacheQueryOptions): Promise<readonly Request[]>
24
+ }
25
+
26
+ export interface CacheQueryOptions {
27
+ ignoreSearch?: boolean,
28
+ ignoreMethod?: boolean,
29
+ ignoreVary?: boolean
30
+ }
31
+
32
+ export interface MultiCacheQueryOptions extends CacheQueryOptions {
33
+ cacheName?: string
34
+ }
35
+
36
+ export declare const caches: CacheStorage
@@ -0,0 +1,108 @@
1
+ import { URL } from 'url'
2
+ import { TlsOptions } from 'tls'
3
+ import Dispatcher from './dispatcher'
4
+ import buildConnector from "./connector";
5
+
6
+ type ClientConnectOptions = Omit<Dispatcher.ConnectOptions, "origin">;
7
+
8
+ /**
9
+ * A basic HTTP/1.1 client, mapped on top a single TCP/TLS connection. Pipelining is disabled by default.
10
+ */
11
+ export class Client extends Dispatcher {
12
+ constructor(url: string | URL, options?: Client.Options);
13
+ /** Property to get and set the pipelining factor. */
14
+ pipelining: number;
15
+ /** `true` after `client.close()` has been called. */
16
+ closed: boolean;
17
+ /** `true` after `client.destroyed()` has been called or `client.close()` has been called and the client shutdown has completed. */
18
+ destroyed: boolean;
19
+
20
+ // Override dispatcher APIs.
21
+ override connect(
22
+ options: ClientConnectOptions
23
+ ): Promise<Dispatcher.ConnectData>;
24
+ override connect(
25
+ options: ClientConnectOptions,
26
+ callback: (err: Error | null, data: Dispatcher.ConnectData) => void
27
+ ): void;
28
+ }
29
+
30
+ export declare namespace Client {
31
+ export interface OptionsInterceptors {
32
+ Client: readonly Dispatcher.DispatchInterceptor[];
33
+ }
34
+ export interface Options {
35
+ /** TODO */
36
+ interceptors?: OptionsInterceptors;
37
+ /** The maximum length of request headers in bytes. Default: Node.js' `--max-http-header-size` or `16384` (16KiB). */
38
+ maxHeaderSize?: number;
39
+ /** The amount of time, in milliseconds, the parser will wait to receive the complete HTTP headers (Node 14 and above only). Default: `300e3` milliseconds (300s). */
40
+ headersTimeout?: number;
41
+ /** @deprecated unsupported socketTimeout, use headersTimeout & bodyTimeout instead */
42
+ socketTimeout?: never;
43
+ /** @deprecated unsupported requestTimeout, use headersTimeout & bodyTimeout instead */
44
+ requestTimeout?: never;
45
+ /** TODO */
46
+ connectTimeout?: number;
47
+ /** The timeout after which a request will time out, in milliseconds. Monitors time between receiving body data. Use `0` to disable it entirely. Default: `300e3` milliseconds (300s). */
48
+ bodyTimeout?: number;
49
+ /** @deprecated unsupported idleTimeout, use keepAliveTimeout instead */
50
+ idleTimeout?: never;
51
+ /** @deprecated unsupported keepAlive, use pipelining=0 instead */
52
+ keepAlive?: never;
53
+ /** the timeout, in milliseconds, after which a socket without active requests will time out. Monitors time between activity on a connected socket. This value may be overridden by *keep-alive* hints from the server. Default: `4e3` milliseconds (4s). */
54
+ keepAliveTimeout?: number;
55
+ /** @deprecated unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead */
56
+ maxKeepAliveTimeout?: never;
57
+ /** the maximum allowed `idleTimeout`, in milliseconds, when overridden by *keep-alive* hints from the server. Default: `600e3` milliseconds (10min). */
58
+ keepAliveMaxTimeout?: number;
59
+ /** A number of milliseconds subtracted from server *keep-alive* hints when overriding `idleTimeout` to account for timing inaccuracies caused by e.g. transport latency. Default: `1e3` milliseconds (1s). */
60
+ keepAliveTimeoutThreshold?: number;
61
+ /** TODO */
62
+ socketPath?: string;
63
+ /** The amount of concurrent requests to be sent over the single TCP/TLS connection according to [RFC7230](https://tools.ietf.org/html/rfc7230#section-6.3.2). Default: `1`. */
64
+ pipelining?: number;
65
+ /** @deprecated use the connect option instead */
66
+ tls?: never;
67
+ /** If `true`, an error is thrown when the request content-length header doesn't match the length of the request body. Default: `true`. */
68
+ strictContentLength?: boolean;
69
+ /** TODO */
70
+ maxCachedSessions?: number;
71
+ /** TODO */
72
+ maxRedirections?: number;
73
+ /** TODO */
74
+ connect?: buildConnector.BuildOptions | buildConnector.connector;
75
+ /** TODO */
76
+ maxRequestsPerClient?: number;
77
+ /** TODO */
78
+ localAddress?: string;
79
+ /** Max response body size in bytes, -1 is disabled */
80
+ maxResponseSize?: number;
81
+ /** Enables a family autodetection algorithm that loosely implements section 5 of RFC 8305. */
82
+ autoSelectFamily?: boolean;
83
+ /** The amount of time in milliseconds to wait for a connection attempt to finish before trying the next address when using the `autoSelectFamily` option. */
84
+ autoSelectFamilyAttemptTimeout?: number;
85
+ /**
86
+ * @description Enables support for H2 if the server has assigned bigger priority to it through ALPN negotiation.
87
+ * @default false
88
+ */
89
+ allowH2?: boolean;
90
+ /**
91
+ * @description Dictates the maximum number of concurrent streams for a single H2 session. It can be overridden by a SETTINGS remote frame.
92
+ * @default 100
93
+ */
94
+ maxConcurrentStreams?: number
95
+ }
96
+ export interface SocketInfo {
97
+ localAddress?: string
98
+ localPort?: number
99
+ remoteAddress?: string
100
+ remotePort?: number
101
+ remoteFamily?: string
102
+ timeout?: number
103
+ bytesWritten?: number
104
+ bytesRead?: number
105
+ }
106
+ }
107
+
108
+ export default Client;
@@ -0,0 +1,34 @@
1
+ import { TLSSocket, ConnectionOptions } from 'tls'
2
+ import { IpcNetConnectOpts, Socket, TcpNetConnectOpts } from 'net'
3
+
4
+ export default buildConnector
5
+ declare function buildConnector (options?: buildConnector.BuildOptions): buildConnector.connector
6
+
7
+ declare namespace buildConnector {
8
+ export type BuildOptions = (ConnectionOptions | TcpNetConnectOpts | IpcNetConnectOpts) & {
9
+ allowH2?: boolean;
10
+ maxCachedSessions?: number | null;
11
+ socketPath?: string | null;
12
+ timeout?: number | null;
13
+ port?: number;
14
+ keepAlive?: boolean | null;
15
+ keepAliveInitialDelay?: number | null;
16
+ }
17
+
18
+ export interface Options {
19
+ hostname: string
20
+ host?: string
21
+ protocol: string
22
+ port: string
23
+ servername?: string
24
+ localAddress?: string | null
25
+ httpSocket?: Socket
26
+ }
27
+
28
+ export type Callback = (...args: CallbackArgs) => void
29
+ type CallbackArgs = [null, Socket | TLSSocket] | [Error, null]
30
+
31
+ export interface connector {
32
+ (options: buildConnector.Options, callback: buildConnector.Callback): void
33
+ }
34
+ }