cdk-ecr-deployment 3.0.75 → 3.0.77

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 (259) hide show
  1. package/.jsii +2 -2
  2. package/lib/index.js +3 -3
  3. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  4. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +5 -5
  5. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +5 -5
  6. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +1 -82
  7. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +2 -2
  8. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +15 -15
  9. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +17 -17
  10. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +10 -82
  11. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +1 -1
  12. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
  13. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +17 -17
  14. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +1 -1
  15. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +1 -1
  16. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +16 -0
  17. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +60 -2
  18. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +2 -2
  19. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +2 -2
  20. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +1 -1
  21. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +1 -1
  22. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +0 -14
  23. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +1 -1
  24. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +3 -3
  25. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +3 -3
  26. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +1 -1
  27. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +8 -8
  28. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +2 -2
  29. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +1 -1
  30. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +1 -1
  31. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +10 -10
  32. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +12 -12
  33. package/node_modules/@types/cacheable-request/node_modules/@types/node/sea.d.ts +1 -1
  34. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +9 -9
  35. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +1 -1
  36. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +12 -11
  37. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +1 -1
  38. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +2 -2
  39. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +6 -6
  40. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +1 -1
  41. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +1 -1
  42. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +2 -2
  43. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +2 -2
  44. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +5 -7
  45. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +1 -1
  46. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +1 -1
  47. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +3 -3
  48. package/node_modules/@types/cacheable-request/node_modules/undici-types/LICENSE +21 -0
  49. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/balanced-pool.d.ts +11 -0
  50. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/client.d.ts +12 -1
  51. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/diagnostics-channel.d.ts +1 -2
  52. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/dispatcher.d.ts +17 -3
  53. package/node_modules/@types/cacheable-request/node_modules/undici-types/eventsource.d.ts +61 -0
  54. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/fetch.d.ts +22 -23
  55. package/node_modules/@types/cacheable-request/node_modules/undici-types/handlers.d.ts +15 -0
  56. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/index.d.ts +6 -1
  57. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/package.json +1 -1
  58. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/pool.d.ts +11 -0
  59. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/proxy-agent.d.ts +0 -2
  60. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/readable.d.ts +2 -3
  61. package/node_modules/@types/cacheable-request/node_modules/undici-types/retry-agent.d.ts +11 -0
  62. package/node_modules/@types/cacheable-request/node_modules/undici-types/retry-handler.d.ts +116 -0
  63. package/node_modules/@types/cacheable-request/node_modules/undici-types/util.d.ts +31 -0
  64. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/webidl.d.ts +6 -1
  65. package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/websocket.d.ts +22 -1
  66. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  67. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +5 -5
  68. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +5 -5
  69. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +1 -82
  70. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +2 -2
  71. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +15 -15
  72. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +17 -17
  73. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +10 -82
  74. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +1 -1
  75. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
  76. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +17 -17
  77. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +1 -1
  78. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +1 -1
  79. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +16 -0
  80. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +60 -2
  81. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +2 -2
  82. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +2 -2
  83. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +1 -1
  84. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +1 -1
  85. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +0 -14
  86. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +1 -1
  87. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +3 -3
  88. package/node_modules/@types/keyv/node_modules/@types/node/package.json +3 -3
  89. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +1 -1
  90. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +8 -8
  91. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +2 -2
  92. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +1 -1
  93. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +1 -1
  94. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +10 -10
  95. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +12 -12
  96. package/node_modules/@types/keyv/node_modules/@types/node/sea.d.ts +1 -1
  97. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +9 -9
  98. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +1 -1
  99. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +12 -11
  100. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +1 -1
  101. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +2 -2
  102. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +6 -6
  103. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +1 -1
  104. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +1 -1
  105. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +2 -2
  106. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +2 -2
  107. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +5 -7
  108. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +1 -1
  109. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +1 -1
  110. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +3 -3
  111. package/node_modules/@types/keyv/node_modules/undici-types/LICENSE +21 -0
  112. package/node_modules/@types/keyv/node_modules/undici-types/README.md +6 -0
  113. package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +31 -0
  114. package/node_modules/@types/keyv/node_modules/undici-types/api.d.ts +43 -0
  115. package/node_modules/@types/keyv/node_modules/undici-types/balanced-pool.d.ts +29 -0
  116. package/node_modules/@types/keyv/node_modules/undici-types/cache.d.ts +36 -0
  117. package/node_modules/@types/keyv/node_modules/undici-types/client.d.ts +108 -0
  118. package/node_modules/@types/keyv/node_modules/undici-types/connector.d.ts +34 -0
  119. package/node_modules/@types/keyv/node_modules/undici-types/content-type.d.ts +21 -0
  120. package/node_modules/@types/keyv/node_modules/undici-types/cookies.d.ts +28 -0
  121. package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
  122. package/node_modules/@types/keyv/node_modules/undici-types/dispatcher.d.ts +255 -0
  123. package/node_modules/@types/keyv/node_modules/undici-types/errors.d.ts +128 -0
  124. package/node_modules/@types/keyv/node_modules/undici-types/eventsource.d.ts +61 -0
  125. package/node_modules/@types/keyv/node_modules/undici-types/fetch.d.ts +208 -0
  126. package/node_modules/@types/keyv/node_modules/undici-types/file.d.ts +39 -0
  127. package/node_modules/@types/keyv/node_modules/undici-types/filereader.d.ts +54 -0
  128. package/node_modules/@types/keyv/node_modules/undici-types/formdata.d.ts +108 -0
  129. package/node_modules/@types/keyv/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  130. package/node_modules/@types/keyv/node_modules/undici-types/global-origin.d.ts +7 -0
  131. package/node_modules/@types/keyv/node_modules/undici-types/handlers.d.ts +15 -0
  132. package/node_modules/@types/keyv/node_modules/undici-types/header.d.ts +4 -0
  133. package/node_modules/@types/keyv/node_modules/undici-types/index.d.ts +68 -0
  134. package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +5 -0
  135. package/node_modules/@types/keyv/node_modules/undici-types/mock-agent.d.ts +50 -0
  136. package/node_modules/@types/keyv/node_modules/undici-types/mock-client.d.ts +25 -0
  137. package/node_modules/@types/keyv/node_modules/undici-types/mock-errors.d.ts +12 -0
  138. package/node_modules/@types/keyv/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  139. package/node_modules/@types/keyv/node_modules/undici-types/mock-pool.d.ts +25 -0
  140. package/node_modules/@types/keyv/node_modules/undici-types/package.json +55 -0
  141. package/node_modules/@types/keyv/node_modules/undici-types/patch.d.ts +71 -0
  142. package/node_modules/@types/keyv/node_modules/undici-types/pool-stats.d.ts +19 -0
  143. package/node_modules/@types/keyv/node_modules/undici-types/pool.d.ts +39 -0
  144. package/node_modules/@types/keyv/node_modules/undici-types/proxy-agent.d.ts +28 -0
  145. package/node_modules/@types/keyv/node_modules/undici-types/readable.d.ts +60 -0
  146. package/node_modules/@types/keyv/node_modules/undici-types/retry-agent.d.ts +11 -0
  147. package/node_modules/@types/keyv/node_modules/undici-types/retry-handler.d.ts +116 -0
  148. package/node_modules/@types/keyv/node_modules/undici-types/util.d.ts +31 -0
  149. package/node_modules/@types/keyv/node_modules/undici-types/webidl.d.ts +225 -0
  150. package/node_modules/@types/keyv/node_modules/undici-types/websocket.d.ts +152 -0
  151. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  152. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +5 -5
  153. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +5 -5
  154. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +1 -82
  155. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +2 -2
  156. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +15 -15
  157. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +17 -17
  158. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +10 -82
  159. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +1 -1
  160. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
  161. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +17 -17
  162. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +1 -1
  163. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +1 -1
  164. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +16 -0
  165. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +60 -2
  166. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +2 -2
  167. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +2 -2
  168. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +1 -1
  169. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +1 -1
  170. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +0 -14
  171. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +1 -1
  172. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +3 -3
  173. package/node_modules/@types/responselike/node_modules/@types/node/package.json +3 -3
  174. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +1 -1
  175. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +8 -8
  176. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +2 -2
  177. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +1 -1
  178. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +1 -1
  179. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +10 -10
  180. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +12 -12
  181. package/node_modules/@types/responselike/node_modules/@types/node/sea.d.ts +1 -1
  182. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +9 -9
  183. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +1 -1
  184. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +12 -11
  185. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +1 -1
  186. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +2 -2
  187. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +6 -6
  188. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +1 -1
  189. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +1 -1
  190. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +2 -2
  191. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +2 -2
  192. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +5 -7
  193. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +1 -1
  194. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +1 -1
  195. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +3 -3
  196. package/node_modules/@types/responselike/node_modules/undici-types/LICENSE +21 -0
  197. package/node_modules/@types/responselike/node_modules/undici-types/README.md +6 -0
  198. package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +31 -0
  199. package/node_modules/@types/responselike/node_modules/undici-types/api.d.ts +43 -0
  200. package/node_modules/@types/responselike/node_modules/undici-types/balanced-pool.d.ts +29 -0
  201. package/node_modules/@types/responselike/node_modules/undici-types/cache.d.ts +36 -0
  202. package/node_modules/@types/responselike/node_modules/undici-types/client.d.ts +108 -0
  203. package/node_modules/@types/responselike/node_modules/undici-types/connector.d.ts +34 -0
  204. package/node_modules/@types/responselike/node_modules/undici-types/content-type.d.ts +21 -0
  205. package/node_modules/@types/responselike/node_modules/undici-types/cookies.d.ts +28 -0
  206. package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
  207. package/node_modules/@types/responselike/node_modules/undici-types/dispatcher.d.ts +255 -0
  208. package/node_modules/@types/responselike/node_modules/undici-types/errors.d.ts +128 -0
  209. package/node_modules/@types/responselike/node_modules/undici-types/eventsource.d.ts +61 -0
  210. package/node_modules/@types/responselike/node_modules/undici-types/fetch.d.ts +208 -0
  211. package/node_modules/@types/responselike/node_modules/undici-types/file.d.ts +39 -0
  212. package/node_modules/@types/responselike/node_modules/undici-types/filereader.d.ts +54 -0
  213. package/node_modules/@types/responselike/node_modules/undici-types/formdata.d.ts +108 -0
  214. package/node_modules/@types/responselike/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  215. package/node_modules/@types/responselike/node_modules/undici-types/global-origin.d.ts +7 -0
  216. package/node_modules/@types/responselike/node_modules/undici-types/handlers.d.ts +15 -0
  217. package/node_modules/@types/responselike/node_modules/undici-types/header.d.ts +4 -0
  218. package/node_modules/@types/responselike/node_modules/undici-types/index.d.ts +68 -0
  219. package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +5 -0
  220. package/node_modules/@types/responselike/node_modules/undici-types/mock-agent.d.ts +50 -0
  221. package/node_modules/@types/responselike/node_modules/undici-types/mock-client.d.ts +25 -0
  222. package/node_modules/@types/responselike/node_modules/undici-types/mock-errors.d.ts +12 -0
  223. package/node_modules/@types/responselike/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  224. package/node_modules/@types/responselike/node_modules/undici-types/mock-pool.d.ts +25 -0
  225. package/node_modules/@types/responselike/node_modules/undici-types/package.json +55 -0
  226. package/node_modules/@types/responselike/node_modules/undici-types/patch.d.ts +71 -0
  227. package/node_modules/@types/responselike/node_modules/undici-types/pool-stats.d.ts +19 -0
  228. package/node_modules/@types/responselike/node_modules/undici-types/pool.d.ts +39 -0
  229. package/node_modules/@types/responselike/node_modules/undici-types/proxy-agent.d.ts +28 -0
  230. package/node_modules/@types/responselike/node_modules/undici-types/readable.d.ts +60 -0
  231. package/node_modules/@types/responselike/node_modules/undici-types/retry-agent.d.ts +11 -0
  232. package/node_modules/@types/responselike/node_modules/undici-types/retry-handler.d.ts +116 -0
  233. package/node_modules/@types/responselike/node_modules/undici-types/util.d.ts +31 -0
  234. package/node_modules/@types/responselike/node_modules/undici-types/webidl.d.ts +225 -0
  235. package/node_modules/@types/responselike/node_modules/undici-types/websocket.d.ts +152 -0
  236. package/package.json +5 -5
  237. package/node_modules/undici-types/handlers.d.ts +0 -9
  238. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/README.md +0 -0
  239. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/agent.d.ts +0 -0
  240. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/api.d.ts +0 -0
  241. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/cache.d.ts +0 -0
  242. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/connector.d.ts +0 -0
  243. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/content-type.d.ts +0 -0
  244. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/cookies.d.ts +0 -0
  245. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/errors.d.ts +0 -0
  246. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/file.d.ts +0 -0
  247. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/filereader.d.ts +0 -0
  248. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/formdata.d.ts +0 -0
  249. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/global-dispatcher.d.ts +0 -0
  250. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/global-origin.d.ts +0 -0
  251. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/header.d.ts +0 -0
  252. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/interceptors.d.ts +0 -0
  253. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/mock-agent.d.ts +0 -0
  254. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/mock-client.d.ts +0 -0
  255. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/mock-errors.d.ts +0 -0
  256. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/mock-interceptor.d.ts +0 -0
  257. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/mock-pool.d.ts +0 -0
  258. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/patch.d.ts +0 -0
  259. /package/node_modules/{undici-types → @types/cacheable-request/node_modules/undici-types}/pool-stats.d.ts +0 -0
@@ -0,0 +1,39 @@
1
+ import Client from './client'
2
+ import TPoolStats from './pool-stats'
3
+ import { URL } from 'url'
4
+ import Dispatcher from "./dispatcher";
5
+
6
+ export default Pool
7
+
8
+ type PoolConnectOptions = Omit<Dispatcher.ConnectOptions, "origin">;
9
+
10
+ declare class Pool extends Dispatcher {
11
+ constructor(url: string | URL, options?: Pool.Options)
12
+ /** `true` after `pool.close()` has been called. */
13
+ closed: boolean;
14
+ /** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */
15
+ destroyed: boolean;
16
+ /** Aggregate stats for a Pool. */
17
+ readonly stats: TPoolStats;
18
+
19
+ // Override dispatcher APIs.
20
+ override connect(
21
+ options: PoolConnectOptions
22
+ ): Promise<Dispatcher.ConnectData>;
23
+ override connect(
24
+ options: PoolConnectOptions,
25
+ callback: (err: Error | null, data: Dispatcher.ConnectData) => void
26
+ ): void;
27
+ }
28
+
29
+ declare namespace Pool {
30
+ export type PoolStats = TPoolStats;
31
+ export interface Options extends Client.Options {
32
+ /** Default: `(origin, opts) => new Client(origin, opts)`. */
33
+ factory?(origin: URL, opts: object): Dispatcher;
34
+ /** The max number of clients to create. `null` if no limit. Default `null`. */
35
+ connections?: number | null;
36
+
37
+ interceptors?: { Pool?: readonly Dispatcher.DispatchInterceptor[] } & Client.Options["interceptors"]
38
+ }
39
+ }
@@ -0,0 +1,28 @@
1
+ import Agent from './agent'
2
+ import buildConnector from './connector';
3
+ import Dispatcher from './dispatcher'
4
+ import { IncomingHttpHeaders } from './header'
5
+
6
+ export default ProxyAgent
7
+
8
+ declare class ProxyAgent extends Dispatcher {
9
+ constructor(options: ProxyAgent.Options | string)
10
+
11
+ dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean;
12
+ close(): Promise<void>;
13
+ }
14
+
15
+ declare namespace ProxyAgent {
16
+ export interface Options extends Agent.Options {
17
+ uri: string;
18
+ /**
19
+ * @deprecated use opts.token
20
+ */
21
+ auth?: string;
22
+ token?: string;
23
+ headers?: IncomingHttpHeaders;
24
+ requestTls?: buildConnector.BuildOptions;
25
+ proxyTls?: buildConnector.BuildOptions;
26
+ clientFactory?(origin: URL, opts: object): Dispatcher;
27
+ }
28
+ }
@@ -0,0 +1,60 @@
1
+ import { Readable } from "stream";
2
+ import { Blob } from 'buffer'
3
+
4
+ export default BodyReadable
5
+
6
+ declare class BodyReadable extends Readable {
7
+ constructor(
8
+ resume?: (this: Readable, size: number) => void | null,
9
+ abort?: () => void | null,
10
+ contentType?: string
11
+ )
12
+
13
+ /** Consumes and returns the body as a string
14
+ * https://fetch.spec.whatwg.org/#dom-body-text
15
+ */
16
+ text(): Promise<string>
17
+
18
+ /** Consumes and returns the body as a JavaScript Object
19
+ * https://fetch.spec.whatwg.org/#dom-body-json
20
+ */
21
+ json(): Promise<unknown>
22
+
23
+ /** Consumes and returns the body as a Blob
24
+ * https://fetch.spec.whatwg.org/#dom-body-blob
25
+ */
26
+ blob(): Promise<Blob>
27
+
28
+ /** Consumes and returns the body as an ArrayBuffer
29
+ * https://fetch.spec.whatwg.org/#dom-body-arraybuffer
30
+ */
31
+ arrayBuffer(): Promise<ArrayBuffer>
32
+
33
+ /** Not implemented
34
+ *
35
+ * https://fetch.spec.whatwg.org/#dom-body-formdata
36
+ */
37
+ formData(): Promise<never>
38
+
39
+ /** Returns true if the body is not null and the body has been consumed
40
+ *
41
+ * Otherwise, returns false
42
+ *
43
+ * https://fetch.spec.whatwg.org/#dom-body-bodyused
44
+ */
45
+ readonly bodyUsed: boolean
46
+
47
+ /**
48
+ * If body is null, it should return null as the body
49
+ *
50
+ * If body is not null, should return the body as a ReadableStream
51
+ *
52
+ * https://fetch.spec.whatwg.org/#dom-body-body
53
+ */
54
+ readonly body: never | undefined
55
+
56
+ /** Dumps the response body by reading `limit` number of bytes.
57
+ * @param opts.limit Number of bytes to read (optional) - Default: 262144
58
+ */
59
+ dump(opts?: { limit: number }): Promise<void>
60
+ }
@@ -0,0 +1,11 @@
1
+ import Agent from './agent'
2
+ import buildConnector from './connector';
3
+ import Dispatcher from './dispatcher'
4
+ import { IncomingHttpHeaders } from './header'
5
+ import RetryHandler from './retry-handler'
6
+
7
+ export default RetryAgent
8
+
9
+ declare class RetryAgent extends Dispatcher {
10
+ constructor(dispatcher: Dispatcher, options?: RetryHandler.RetryOptions)
11
+ }
@@ -0,0 +1,116 @@
1
+ import Dispatcher from "./dispatcher";
2
+
3
+ export default RetryHandler;
4
+
5
+ declare class RetryHandler implements Dispatcher.DispatchHandlers {
6
+ constructor(
7
+ options: Dispatcher.DispatchOptions & {
8
+ retryOptions?: RetryHandler.RetryOptions;
9
+ },
10
+ retryHandlers: RetryHandler.RetryHandlers
11
+ );
12
+ }
13
+
14
+ declare namespace RetryHandler {
15
+ export type RetryState = { counter: number; };
16
+
17
+ export type RetryContext = {
18
+ state: RetryState;
19
+ opts: Dispatcher.DispatchOptions & {
20
+ retryOptions?: RetryHandler.RetryOptions;
21
+ };
22
+ }
23
+
24
+ export type OnRetryCallback = (result?: Error | null) => void;
25
+
26
+ export type RetryCallback = (
27
+ err: Error,
28
+ context: {
29
+ state: RetryState;
30
+ opts: Dispatcher.DispatchOptions & {
31
+ retryOptions?: RetryHandler.RetryOptions;
32
+ };
33
+ },
34
+ callback: OnRetryCallback
35
+ ) => number | null;
36
+
37
+ export interface RetryOptions {
38
+ /**
39
+ * Callback to be invoked on every retry iteration.
40
+ * It receives the error, current state of the retry object and the options object
41
+ * passed when instantiating the retry handler.
42
+ *
43
+ * @type {RetryCallback}
44
+ * @memberof RetryOptions
45
+ */
46
+ retry?: RetryCallback;
47
+ /**
48
+ * Maximum number of retries to allow.
49
+ *
50
+ * @type {number}
51
+ * @memberof RetryOptions
52
+ * @default 5
53
+ */
54
+ maxRetries?: number;
55
+ /**
56
+ * Max number of milliseconds allow between retries
57
+ *
58
+ * @type {number}
59
+ * @memberof RetryOptions
60
+ * @default 30000
61
+ */
62
+ maxTimeout?: number;
63
+ /**
64
+ * Initial number of milliseconds to wait before retrying for the first time.
65
+ *
66
+ * @type {number}
67
+ * @memberof RetryOptions
68
+ * @default 500
69
+ */
70
+ minTimeout?: number;
71
+ /**
72
+ * Factior to multiply the timeout factor between retries.
73
+ *
74
+ * @type {number}
75
+ * @memberof RetryOptions
76
+ * @default 2
77
+ */
78
+ timeoutFactor?: number;
79
+ /**
80
+ * It enables to automatically infer timeout between retries based on the `Retry-After` header.
81
+ *
82
+ * @type {boolean}
83
+ * @memberof RetryOptions
84
+ * @default true
85
+ */
86
+ retryAfter?: boolean;
87
+ /**
88
+ * HTTP methods to retry.
89
+ *
90
+ * @type {Dispatcher.HttpMethod[]}
91
+ * @memberof RetryOptions
92
+ * @default ['GET', 'HEAD', 'OPTIONS', 'PUT', 'DELETE', 'TRACE'],
93
+ */
94
+ methods?: Dispatcher.HttpMethod[];
95
+ /**
96
+ * Error codes to be retried. e.g. `ECONNRESET`, `ENOTFOUND`, `ETIMEDOUT`, `ECONNREFUSED`, etc.
97
+ *
98
+ * @type {string[]}
99
+ * @default ['ECONNRESET','ECONNREFUSED','ENOTFOUND','ENETDOWN','ENETUNREACH','EHOSTDOWN','EHOSTUNREACH','EPIPE']
100
+ */
101
+ errorCodes?: string[];
102
+ /**
103
+ * HTTP status codes to be retried.
104
+ *
105
+ * @type {number[]}
106
+ * @memberof RetryOptions
107
+ * @default [500, 502, 503, 504, 429],
108
+ */
109
+ statusCodes?: number[];
110
+ }
111
+
112
+ export interface RetryHandlers {
113
+ dispatch: Dispatcher["dispatch"];
114
+ handler: Dispatcher.DispatchHandlers;
115
+ }
116
+ }
@@ -0,0 +1,31 @@
1
+ export namespace util {
2
+ /**
3
+ * Retrieves a header name and returns its lowercase value.
4
+ * @param value Header name
5
+ */
6
+ export function headerNameToString(value: string | Buffer): string;
7
+
8
+ /**
9
+ * Receives a header object and returns the parsed value.
10
+ * @param headers Header object
11
+ */
12
+ export function parseHeaders(
13
+ headers:
14
+ | Record<string, string | string[]>
15
+ | (Buffer | string | (Buffer | string)[])[]
16
+ ): Record<string, string | string[]>;
17
+ /**
18
+ * Receives a header object and returns the parsed value.
19
+ * @param headers Header object
20
+ * @param obj Object to specify a proxy object. Used to assign parsed values. But, if `headers` is an object, it is not used.
21
+ * @returns If `headers` is an object, it is `headers`. Otherwise, if `obj` is specified, it is equivalent to `obj`.
22
+ */
23
+ export function parseHeaders<
24
+ H extends
25
+ | Record<string, string | string[]>
26
+ | (Buffer | string | (Buffer | string)[])[]
27
+ >(
28
+ headers: H,
29
+ obj?: H extends any[] ? Record<string, string | string[]> : never
30
+ ): Record<string, string | string[]>;
31
+ }
@@ -0,0 +1,225 @@
1
+ // These types are not exported, and are only used internally
2
+
3
+ /**
4
+ * Take in an unknown value and return one that is of type T
5
+ */
6
+ type Converter<T> = (object: unknown) => T
7
+
8
+ type SequenceConverter<T> = (object: unknown, iterable?: IterableIterator<T>) => T[]
9
+
10
+ type RecordConverter<K extends string, V> = (object: unknown) => Record<K, V>
11
+
12
+ interface ConvertToIntOpts {
13
+ clamp?: boolean
14
+ enforceRange?: boolean
15
+ }
16
+
17
+ interface WebidlErrors {
18
+ exception (opts: { header: string, message: string }): TypeError
19
+ /**
20
+ * @description Throw an error when conversion from one type to another has failed
21
+ */
22
+ conversionFailed (opts: {
23
+ prefix: string
24
+ argument: string
25
+ types: string[]
26
+ }): TypeError
27
+ /**
28
+ * @description Throw an error when an invalid argument is provided
29
+ */
30
+ invalidArgument (opts: {
31
+ prefix: string
32
+ value: string
33
+ type: string
34
+ }): TypeError
35
+ }
36
+
37
+ interface WebidlUtil {
38
+ /**
39
+ * @see https://tc39.es/ecma262/#sec-ecmascript-data-types-and-values
40
+ */
41
+ Type (object: unknown):
42
+ | 'Undefined'
43
+ | 'Boolean'
44
+ | 'String'
45
+ | 'Symbol'
46
+ | 'Number'
47
+ | 'BigInt'
48
+ | 'Null'
49
+ | 'Object'
50
+
51
+ /**
52
+ * @see https://webidl.spec.whatwg.org/#abstract-opdef-converttoint
53
+ */
54
+ ConvertToInt (
55
+ V: unknown,
56
+ bitLength: number,
57
+ signedness: 'signed' | 'unsigned',
58
+ opts?: ConvertToIntOpts
59
+ ): number
60
+
61
+ /**
62
+ * @see https://webidl.spec.whatwg.org/#abstract-opdef-converttoint
63
+ */
64
+ IntegerPart (N: number): number
65
+
66
+ /**
67
+ * Stringifies {@param V}
68
+ */
69
+ Stringify (V: any): string
70
+ }
71
+
72
+ interface WebidlConverters {
73
+ /**
74
+ * @see https://webidl.spec.whatwg.org/#es-DOMString
75
+ */
76
+ DOMString (V: unknown, opts?: {
77
+ legacyNullToEmptyString: boolean
78
+ }): string
79
+
80
+ /**
81
+ * @see https://webidl.spec.whatwg.org/#es-ByteString
82
+ */
83
+ ByteString (V: unknown): string
84
+
85
+ /**
86
+ * @see https://webidl.spec.whatwg.org/#es-USVString
87
+ */
88
+ USVString (V: unknown): string
89
+
90
+ /**
91
+ * @see https://webidl.spec.whatwg.org/#es-boolean
92
+ */
93
+ boolean (V: unknown): boolean
94
+
95
+ /**
96
+ * @see https://webidl.spec.whatwg.org/#es-any
97
+ */
98
+ any <Value>(V: Value): Value
99
+
100
+ /**
101
+ * @see https://webidl.spec.whatwg.org/#es-long-long
102
+ */
103
+ ['long long'] (V: unknown): number
104
+
105
+ /**
106
+ * @see https://webidl.spec.whatwg.org/#es-unsigned-long-long
107
+ */
108
+ ['unsigned long long'] (V: unknown): number
109
+
110
+ /**
111
+ * @see https://webidl.spec.whatwg.org/#es-unsigned-long
112
+ */
113
+ ['unsigned long'] (V: unknown): number
114
+
115
+ /**
116
+ * @see https://webidl.spec.whatwg.org/#es-unsigned-short
117
+ */
118
+ ['unsigned short'] (V: unknown, opts?: ConvertToIntOpts): number
119
+
120
+ /**
121
+ * @see https://webidl.spec.whatwg.org/#idl-ArrayBuffer
122
+ */
123
+ ArrayBuffer (V: unknown): ArrayBufferLike
124
+ ArrayBuffer (V: unknown, opts: { allowShared: false }): ArrayBuffer
125
+
126
+ /**
127
+ * @see https://webidl.spec.whatwg.org/#es-buffer-source-types
128
+ */
129
+ TypedArray (
130
+ V: unknown,
131
+ TypedArray: NodeJS.TypedArray | ArrayBufferLike
132
+ ): NodeJS.TypedArray | ArrayBufferLike
133
+ TypedArray (
134
+ V: unknown,
135
+ TypedArray: NodeJS.TypedArray | ArrayBufferLike,
136
+ opts?: { allowShared: false }
137
+ ): NodeJS.TypedArray | ArrayBuffer
138
+
139
+ /**
140
+ * @see https://webidl.spec.whatwg.org/#es-buffer-source-types
141
+ */
142
+ DataView (V: unknown, opts?: { allowShared: boolean }): DataView
143
+
144
+ /**
145
+ * @see https://webidl.spec.whatwg.org/#BufferSource
146
+ */
147
+ BufferSource (
148
+ V: unknown,
149
+ opts?: { allowShared: boolean }
150
+ ): NodeJS.TypedArray | ArrayBufferLike | DataView
151
+
152
+ ['sequence<ByteString>']: SequenceConverter<string>
153
+
154
+ ['sequence<sequence<ByteString>>']: SequenceConverter<string[]>
155
+
156
+ ['record<ByteString, ByteString>']: RecordConverter<string, string>
157
+
158
+ [Key: string]: (...args: any[]) => unknown
159
+ }
160
+
161
+ export interface Webidl {
162
+ errors: WebidlErrors
163
+ util: WebidlUtil
164
+ converters: WebidlConverters
165
+
166
+ /**
167
+ * @description Performs a brand-check on {@param V} to ensure it is a
168
+ * {@param cls} object.
169
+ */
170
+ brandCheck <Interface>(V: unknown, cls: Interface, opts?: { strict?: boolean }): asserts V is Interface
171
+
172
+ /**
173
+ * @see https://webidl.spec.whatwg.org/#es-sequence
174
+ * @description Convert a value, V, to a WebIDL sequence type.
175
+ */
176
+ sequenceConverter <Type>(C: Converter<Type>): SequenceConverter<Type>
177
+
178
+ illegalConstructor (): never
179
+
180
+ /**
181
+ * @see https://webidl.spec.whatwg.org/#es-to-record
182
+ * @description Convert a value, V, to a WebIDL record type.
183
+ */
184
+ recordConverter <K extends string, V>(
185
+ keyConverter: Converter<K>,
186
+ valueConverter: Converter<V>
187
+ ): RecordConverter<K, V>
188
+
189
+ /**
190
+ * Similar to {@link Webidl.brandCheck} but allows skipping the check if third party
191
+ * interfaces are allowed.
192
+ */
193
+ interfaceConverter <Interface>(cls: Interface): (
194
+ V: unknown,
195
+ opts?: { strict: boolean }
196
+ ) => asserts V is typeof cls
197
+
198
+ // TODO(@KhafraDev): a type could likely be implemented that can infer the return type
199
+ // from the converters given?
200
+ /**
201
+ * Converts a value, V, to a WebIDL dictionary types. Allows limiting which keys are
202
+ * allowed, values allowed, optional and required keys. Auto converts the value to
203
+ * a type given a converter.
204
+ */
205
+ dictionaryConverter (converters: {
206
+ key: string,
207
+ defaultValue?: unknown,
208
+ required?: boolean,
209
+ converter: (...args: unknown[]) => unknown,
210
+ allowedValues?: unknown[]
211
+ }[]): (V: unknown) => Record<string, unknown>
212
+
213
+ /**
214
+ * @see https://webidl.spec.whatwg.org/#idl-nullable-type
215
+ * @description allows a type, V, to be null
216
+ */
217
+ nullableConverter <T>(
218
+ converter: Converter<T>
219
+ ): (V: unknown) => ReturnType<typeof converter> | null
220
+
221
+ argumentLengthCheck (args: { length: number }, min: number, context: {
222
+ header: string
223
+ message?: string
224
+ }): void
225
+ }
@@ -0,0 +1,152 @@
1
+ /// <reference types="node" />
2
+
3
+ import type { Blob } from 'buffer'
4
+ import type { MessagePort } from 'worker_threads'
5
+ import {
6
+ EventTarget,
7
+ Event,
8
+ EventInit,
9
+ EventListenerOptions,
10
+ AddEventListenerOptions,
11
+ EventListenerOrEventListenerObject
12
+ } from './patch'
13
+ import Dispatcher from './dispatcher'
14
+ import { HeadersInit } from './fetch'
15
+
16
+ export type BinaryType = 'blob' | 'arraybuffer'
17
+
18
+ interface WebSocketEventMap {
19
+ close: CloseEvent
20
+ error: ErrorEvent
21
+ message: MessageEvent
22
+ open: Event
23
+ }
24
+
25
+ interface WebSocket extends EventTarget {
26
+ binaryType: BinaryType
27
+
28
+ readonly bufferedAmount: number
29
+ readonly extensions: string
30
+
31
+ onclose: ((this: WebSocket, ev: WebSocketEventMap['close']) => any) | null
32
+ onerror: ((this: WebSocket, ev: WebSocketEventMap['error']) => any) | null
33
+ onmessage: ((this: WebSocket, ev: WebSocketEventMap['message']) => any) | null
34
+ onopen: ((this: WebSocket, ev: WebSocketEventMap['open']) => any) | null
35
+
36
+ readonly protocol: string
37
+ readonly readyState: number
38
+ readonly url: string
39
+
40
+ close(code?: number, reason?: string): void
41
+ send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void
42
+
43
+ readonly CLOSED: number
44
+ readonly CLOSING: number
45
+ readonly CONNECTING: number
46
+ readonly OPEN: number
47
+
48
+ addEventListener<K extends keyof WebSocketEventMap>(
49
+ type: K,
50
+ listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any,
51
+ options?: boolean | AddEventListenerOptions
52
+ ): void
53
+ addEventListener(
54
+ type: string,
55
+ listener: EventListenerOrEventListenerObject,
56
+ options?: boolean | AddEventListenerOptions
57
+ ): void
58
+ removeEventListener<K extends keyof WebSocketEventMap>(
59
+ type: K,
60
+ listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any,
61
+ options?: boolean | EventListenerOptions
62
+ ): void
63
+ removeEventListener(
64
+ type: string,
65
+ listener: EventListenerOrEventListenerObject,
66
+ options?: boolean | EventListenerOptions
67
+ ): void
68
+ }
69
+
70
+ export declare const WebSocket: {
71
+ prototype: WebSocket
72
+ new (url: string | URL, protocols?: string | string[] | WebSocketInit): WebSocket
73
+ readonly CLOSED: number
74
+ readonly CLOSING: number
75
+ readonly CONNECTING: number
76
+ readonly OPEN: number
77
+ }
78
+
79
+ interface CloseEventInit extends EventInit {
80
+ code?: number
81
+ reason?: string
82
+ wasClean?: boolean
83
+ }
84
+
85
+ interface CloseEvent extends Event {
86
+ readonly code: number
87
+ readonly reason: string
88
+ readonly wasClean: boolean
89
+ }
90
+
91
+ export declare const CloseEvent: {
92
+ prototype: CloseEvent
93
+ new (type: string, eventInitDict?: CloseEventInit): CloseEvent
94
+ }
95
+
96
+ interface MessageEventInit<T = any> extends EventInit {
97
+ data?: T
98
+ lastEventId?: string
99
+ origin?: string
100
+ ports?: (typeof MessagePort)[]
101
+ source?: typeof MessagePort | null
102
+ }
103
+
104
+ interface MessageEvent<T = any> extends Event {
105
+ readonly data: T
106
+ readonly lastEventId: string
107
+ readonly origin: string
108
+ readonly ports: ReadonlyArray<typeof MessagePort>
109
+ readonly source: typeof MessagePort | null
110
+ initMessageEvent(
111
+ type: string,
112
+ bubbles?: boolean,
113
+ cancelable?: boolean,
114
+ data?: any,
115
+ origin?: string,
116
+ lastEventId?: string,
117
+ source?: typeof MessagePort | null,
118
+ ports?: (typeof MessagePort)[]
119
+ ): void;
120
+ }
121
+
122
+ export declare const MessageEvent: {
123
+ prototype: MessageEvent
124
+ new<T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>
125
+ }
126
+
127
+ interface ErrorEventInit extends EventInit {
128
+ message?: string
129
+ filename?: string
130
+ lineno?: number
131
+ colno?: number
132
+ error?: any
133
+ }
134
+
135
+ interface ErrorEvent extends Event {
136
+ readonly message: string
137
+ readonly filename: string
138
+ readonly lineno: number
139
+ readonly colno: number
140
+ readonly error: any
141
+ }
142
+
143
+ export declare const ErrorEvent: {
144
+ prototype: ErrorEvent
145
+ new (type: string, eventInitDict?: ErrorEventInit): ErrorEvent
146
+ }
147
+
148
+ interface WebSocketInit {
149
+ protocols?: string | string[],
150
+ dispatcher?: Dispatcher,
151
+ headers?: HeadersInit
152
+ }
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 05 Jul 2024 19:07:00 GMT
11
+ * Last updated: Sun, 28 Jul 2024 10:07:16 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits