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,128 @@
1
+ import { IncomingHttpHeaders } from "./header";
2
+ import Client from './client'
3
+
4
+ export default Errors
5
+
6
+ declare namespace Errors {
7
+ export class UndiciError extends Error {
8
+ name: string;
9
+ code: string;
10
+ }
11
+
12
+ /** Connect timeout error. */
13
+ export class ConnectTimeoutError extends UndiciError {
14
+ name: 'ConnectTimeoutError';
15
+ code: 'UND_ERR_CONNECT_TIMEOUT';
16
+ }
17
+
18
+ /** A header exceeds the `headersTimeout` option. */
19
+ export class HeadersTimeoutError extends UndiciError {
20
+ name: 'HeadersTimeoutError';
21
+ code: 'UND_ERR_HEADERS_TIMEOUT';
22
+ }
23
+
24
+ /** Headers overflow error. */
25
+ export class HeadersOverflowError extends UndiciError {
26
+ name: 'HeadersOverflowError'
27
+ code: 'UND_ERR_HEADERS_OVERFLOW'
28
+ }
29
+
30
+ /** A body exceeds the `bodyTimeout` option. */
31
+ export class BodyTimeoutError extends UndiciError {
32
+ name: 'BodyTimeoutError';
33
+ code: 'UND_ERR_BODY_TIMEOUT';
34
+ }
35
+
36
+ export class ResponseStatusCodeError extends UndiciError {
37
+ constructor (
38
+ message?: string,
39
+ statusCode?: number,
40
+ headers?: IncomingHttpHeaders | string[] | null,
41
+ body?: null | Record<string, any> | string
42
+ );
43
+ name: 'ResponseStatusCodeError';
44
+ code: 'UND_ERR_RESPONSE_STATUS_CODE';
45
+ body: null | Record<string, any> | string
46
+ status: number
47
+ statusCode: number
48
+ headers: IncomingHttpHeaders | string[] | null;
49
+ }
50
+
51
+ /** Passed an invalid argument. */
52
+ export class InvalidArgumentError extends UndiciError {
53
+ name: 'InvalidArgumentError';
54
+ code: 'UND_ERR_INVALID_ARG';
55
+ }
56
+
57
+ /** Returned an invalid value. */
58
+ export class InvalidReturnValueError extends UndiciError {
59
+ name: 'InvalidReturnValueError';
60
+ code: 'UND_ERR_INVALID_RETURN_VALUE';
61
+ }
62
+
63
+ /** The request has been aborted by the user. */
64
+ export class RequestAbortedError extends UndiciError {
65
+ name: 'AbortError';
66
+ code: 'UND_ERR_ABORTED';
67
+ }
68
+
69
+ /** Expected error with reason. */
70
+ export class InformationalError extends UndiciError {
71
+ name: 'InformationalError';
72
+ code: 'UND_ERR_INFO';
73
+ }
74
+
75
+ /** Request body length does not match content-length header. */
76
+ export class RequestContentLengthMismatchError extends UndiciError {
77
+ name: 'RequestContentLengthMismatchError';
78
+ code: 'UND_ERR_REQ_CONTENT_LENGTH_MISMATCH';
79
+ }
80
+
81
+ /** Response body length does not match content-length header. */
82
+ export class ResponseContentLengthMismatchError extends UndiciError {
83
+ name: 'ResponseContentLengthMismatchError';
84
+ code: 'UND_ERR_RES_CONTENT_LENGTH_MISMATCH';
85
+ }
86
+
87
+ /** Trying to use a destroyed client. */
88
+ export class ClientDestroyedError extends UndiciError {
89
+ name: 'ClientDestroyedError';
90
+ code: 'UND_ERR_DESTROYED';
91
+ }
92
+
93
+ /** Trying to use a closed client. */
94
+ export class ClientClosedError extends UndiciError {
95
+ name: 'ClientClosedError';
96
+ code: 'UND_ERR_CLOSED';
97
+ }
98
+
99
+ /** There is an error with the socket. */
100
+ export class SocketError extends UndiciError {
101
+ name: 'SocketError';
102
+ code: 'UND_ERR_SOCKET';
103
+ socket: Client.SocketInfo | null
104
+ }
105
+
106
+ /** Encountered unsupported functionality. */
107
+ export class NotSupportedError extends UndiciError {
108
+ name: 'NotSupportedError';
109
+ code: 'UND_ERR_NOT_SUPPORTED';
110
+ }
111
+
112
+ /** No upstream has been added to the BalancedPool. */
113
+ export class BalancedPoolMissingUpstreamError extends UndiciError {
114
+ name: 'MissingUpstreamError';
115
+ code: 'UND_ERR_BPL_MISSING_UPSTREAM';
116
+ }
117
+
118
+ export class HTTPParserError extends UndiciError {
119
+ name: 'HTTPParserError';
120
+ code: string;
121
+ }
122
+
123
+ /** The response exceed the length allowed. */
124
+ export class ResponseExceededMaxSizeError extends UndiciError {
125
+ name: 'ResponseExceededMaxSizeError';
126
+ code: 'UND_ERR_RES_EXCEEDED_MAX_SIZE';
127
+ }
128
+ }
@@ -0,0 +1,61 @@
1
+ import { MessageEvent, ErrorEvent } from './websocket'
2
+
3
+ import {
4
+ EventTarget,
5
+ Event,
6
+ EventListenerOptions,
7
+ AddEventListenerOptions,
8
+ EventListenerOrEventListenerObject
9
+ } from './patch'
10
+
11
+ interface EventSourceEventMap {
12
+ error: ErrorEvent
13
+ message: MessageEvent
14
+ open: Event
15
+ }
16
+
17
+ interface EventSource extends EventTarget {
18
+ close(): void
19
+ readonly CLOSED: 2
20
+ readonly CONNECTING: 0
21
+ readonly OPEN: 1
22
+ onerror: (this: EventSource, ev: ErrorEvent) => any
23
+ onmessage: (this: EventSource, ev: MessageEvent) => any
24
+ onopen: (this: EventSource, ev: Event) => any
25
+ readonly readyState: 0 | 1 | 2
26
+ readonly url: string
27
+ readonly withCredentials: boolean
28
+
29
+ addEventListener<K extends keyof EventSourceEventMap>(
30
+ type: K,
31
+ listener: (this: EventSource, ev: EventSourceEventMap[K]) => any,
32
+ options?: boolean | AddEventListenerOptions
33
+ ): void
34
+ addEventListener(
35
+ type: string,
36
+ listener: EventListenerOrEventListenerObject,
37
+ options?: boolean | AddEventListenerOptions
38
+ ): void
39
+ removeEventListener<K extends keyof EventSourceEventMap>(
40
+ type: K,
41
+ listener: (this: EventSource, ev: EventSourceEventMap[K]) => any,
42
+ options?: boolean | EventListenerOptions
43
+ ): void
44
+ removeEventListener(
45
+ type: string,
46
+ listener: EventListenerOrEventListenerObject,
47
+ options?: boolean | EventListenerOptions
48
+ ): void
49
+ }
50
+
51
+ export declare const EventSource: {
52
+ prototype: EventSource
53
+ new (url: string | URL, init: EventSourceInit): EventSource
54
+ readonly CLOSED: 2
55
+ readonly CONNECTING: 0
56
+ readonly OPEN: 1
57
+ }
58
+
59
+ interface EventSourceInit {
60
+ withCredentials?: boolean
61
+ }
@@ -0,0 +1,208 @@
1
+ // based on https://github.com/Ethan-Arrowood/undici-fetch/blob/249269714db874351589d2d364a0645d5160ae71/index.d.ts (MIT license)
2
+ // and https://github.com/node-fetch/node-fetch/blob/914ce6be5ec67a8bab63d68510aabf07cb818b6d/index.d.ts (MIT license)
3
+ /// <reference types="node" />
4
+
5
+ import { Blob } from 'buffer'
6
+ import { URL, URLSearchParams } from 'url'
7
+ import { ReadableStream } from 'stream/web'
8
+ import { FormData } from './formdata'
9
+
10
+ import Dispatcher from './dispatcher'
11
+
12
+ export type RequestInfo = string | URL | Request
13
+
14
+ export declare function fetch (
15
+ input: RequestInfo,
16
+ init?: RequestInit
17
+ ): Promise<Response>
18
+
19
+ export type BodyInit =
20
+ | ArrayBuffer
21
+ | AsyncIterable<Uint8Array>
22
+ | Blob
23
+ | FormData
24
+ | Iterable<Uint8Array>
25
+ | NodeJS.ArrayBufferView
26
+ | URLSearchParams
27
+ | null
28
+ | string
29
+
30
+ export class BodyMixin {
31
+ readonly body: ReadableStream | null
32
+ readonly bodyUsed: boolean
33
+
34
+ readonly arrayBuffer: () => Promise<ArrayBuffer>
35
+ readonly blob: () => Promise<Blob>
36
+ /**
37
+ * @deprecated This method is not recommended for parsing multipart/form-data bodies in server environments.
38
+ * It is recommended to use a library such as [@fastify/busboy](https://www.npmjs.com/package/@fastify/busboy) as follows:
39
+ *
40
+ * @example
41
+ * ```js
42
+ * import { Busboy } from '@fastify/busboy'
43
+ * import { Readable } from 'node:stream'
44
+ *
45
+ * const response = await fetch('...')
46
+ * const busboy = new Busboy({ headers: { 'content-type': response.headers.get('content-type') } })
47
+ *
48
+ * // handle events emitted from `busboy`
49
+ *
50
+ * Readable.fromWeb(response.body).pipe(busboy)
51
+ * ```
52
+ */
53
+ readonly formData: () => Promise<FormData>
54
+ readonly json: () => Promise<unknown>
55
+ readonly text: () => Promise<string>
56
+ }
57
+
58
+ export interface SpecIterator<T, TReturn = any, TNext = undefined> {
59
+ next(...args: [] | [TNext]): IteratorResult<T, TReturn>;
60
+ }
61
+
62
+ export interface SpecIterableIterator<T> extends SpecIterator<T> {
63
+ [Symbol.iterator](): SpecIterableIterator<T>;
64
+ }
65
+
66
+ export interface SpecIterable<T> {
67
+ [Symbol.iterator](): SpecIterator<T>;
68
+ }
69
+
70
+ export type HeadersInit = string[][] | Record<string, string | ReadonlyArray<string>> | Headers
71
+
72
+ export declare class Headers implements SpecIterable<[string, string]> {
73
+ constructor (init?: HeadersInit)
74
+ readonly append: (name: string, value: string) => void
75
+ readonly delete: (name: string) => void
76
+ readonly get: (name: string) => string | null
77
+ readonly has: (name: string) => boolean
78
+ readonly set: (name: string, value: string) => void
79
+ readonly getSetCookie: () => string[]
80
+ readonly forEach: (
81
+ callbackfn: (value: string, key: string, iterable: Headers) => void,
82
+ thisArg?: unknown
83
+ ) => void
84
+
85
+ readonly keys: () => SpecIterableIterator<string>
86
+ readonly values: () => SpecIterableIterator<string>
87
+ readonly entries: () => SpecIterableIterator<[string, string]>
88
+ readonly [Symbol.iterator]: () => SpecIterator<[string, string]>
89
+ }
90
+
91
+ export type RequestCache =
92
+ | 'default'
93
+ | 'force-cache'
94
+ | 'no-cache'
95
+ | 'no-store'
96
+ | 'only-if-cached'
97
+ | 'reload'
98
+
99
+ export type RequestCredentials = 'omit' | 'include' | 'same-origin'
100
+
101
+ type RequestDestination =
102
+ | ''
103
+ | 'audio'
104
+ | 'audioworklet'
105
+ | 'document'
106
+ | 'embed'
107
+ | 'font'
108
+ | 'image'
109
+ | 'manifest'
110
+ | 'object'
111
+ | 'paintworklet'
112
+ | 'report'
113
+ | 'script'
114
+ | 'sharedworker'
115
+ | 'style'
116
+ | 'track'
117
+ | 'video'
118
+ | 'worker'
119
+ | 'xslt'
120
+
121
+ export interface RequestInit {
122
+ method?: string
123
+ keepalive?: boolean
124
+ headers?: HeadersInit
125
+ body?: BodyInit | null
126
+ redirect?: RequestRedirect
127
+ integrity?: string
128
+ signal?: AbortSignal | null
129
+ credentials?: RequestCredentials
130
+ mode?: RequestMode
131
+ referrer?: string
132
+ referrerPolicy?: ReferrerPolicy
133
+ window?: null
134
+ dispatcher?: Dispatcher
135
+ duplex?: RequestDuplex
136
+ }
137
+
138
+ export type ReferrerPolicy =
139
+ | ''
140
+ | 'no-referrer'
141
+ | 'no-referrer-when-downgrade'
142
+ | 'origin'
143
+ | 'origin-when-cross-origin'
144
+ | 'same-origin'
145
+ | 'strict-origin'
146
+ | 'strict-origin-when-cross-origin'
147
+ | 'unsafe-url';
148
+
149
+ export type RequestMode = 'cors' | 'navigate' | 'no-cors' | 'same-origin'
150
+
151
+ export type RequestRedirect = 'error' | 'follow' | 'manual'
152
+
153
+ export type RequestDuplex = 'half'
154
+
155
+ export declare class Request extends BodyMixin {
156
+ constructor (input: RequestInfo, init?: RequestInit)
157
+
158
+ readonly cache: RequestCache
159
+ readonly credentials: RequestCredentials
160
+ readonly destination: RequestDestination
161
+ readonly headers: Headers
162
+ readonly integrity: string
163
+ readonly method: string
164
+ readonly mode: RequestMode
165
+ readonly redirect: RequestRedirect
166
+ readonly referrerPolicy: string
167
+ readonly url: string
168
+
169
+ readonly keepalive: boolean
170
+ readonly signal: AbortSignal
171
+ readonly duplex: RequestDuplex
172
+
173
+ readonly clone: () => Request
174
+ }
175
+
176
+ export interface ResponseInit {
177
+ readonly status?: number
178
+ readonly statusText?: string
179
+ readonly headers?: HeadersInit
180
+ }
181
+
182
+ export type ResponseType =
183
+ | 'basic'
184
+ | 'cors'
185
+ | 'default'
186
+ | 'error'
187
+ | 'opaque'
188
+ | 'opaqueredirect'
189
+
190
+ export type ResponseRedirectStatus = 301 | 302 | 303 | 307 | 308
191
+
192
+ export declare class Response extends BodyMixin {
193
+ constructor (body?: BodyInit, init?: ResponseInit)
194
+
195
+ readonly headers: Headers
196
+ readonly ok: boolean
197
+ readonly status: number
198
+ readonly statusText: string
199
+ readonly type: ResponseType
200
+ readonly url: string
201
+ readonly redirected: boolean
202
+
203
+ readonly clone: () => Response
204
+
205
+ static error (): Response
206
+ static json(data: any, init?: ResponseInit): Response
207
+ static redirect (url: string | URL, status: ResponseRedirectStatus): Response
208
+ }
@@ -0,0 +1,39 @@
1
+ // Based on https://github.com/octet-stream/form-data/blob/2d0f0dc371517444ce1f22cdde13f51995d0953a/lib/File.ts (MIT)
2
+ /// <reference types="node" />
3
+
4
+ import { Blob } from 'buffer'
5
+
6
+ export interface BlobPropertyBag {
7
+ type?: string
8
+ endings?: 'native' | 'transparent'
9
+ }
10
+
11
+ export interface FilePropertyBag extends BlobPropertyBag {
12
+ /**
13
+ * The last modified date of the file as the number of milliseconds since the Unix epoch (January 1, 1970 at midnight). Files without a known last modified date return the current date.
14
+ */
15
+ lastModified?: number
16
+ }
17
+
18
+ export declare class File extends Blob {
19
+ /**
20
+ * Creates a new File instance.
21
+ *
22
+ * @param fileBits An `Array` strings, or [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer), [`ArrayBufferView`](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView), [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob) objects, or a mix of any of such objects, that will be put inside the [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File).
23
+ * @param fileName The name of the file.
24
+ * @param options An options object containing optional attributes for the file.
25
+ */
26
+ constructor(fileBits: ReadonlyArray<string | NodeJS.ArrayBufferView | Blob>, fileName: string, options?: FilePropertyBag)
27
+
28
+ /**
29
+ * Name of the file referenced by the File object.
30
+ */
31
+ readonly name: string
32
+
33
+ /**
34
+ * The last modified date of the file as the number of milliseconds since the Unix epoch (January 1, 1970 at midnight). Files without a known last modified date return the current date.
35
+ */
36
+ readonly lastModified: number
37
+
38
+ readonly [Symbol.toStringTag]: string
39
+ }
@@ -0,0 +1,54 @@
1
+ /// <reference types="node" />
2
+
3
+ import { Blob } from 'buffer'
4
+ import { DOMException, Event, EventInit, EventTarget } from './patch'
5
+
6
+ export declare class FileReader {
7
+ __proto__: EventTarget & FileReader
8
+
9
+ constructor ()
10
+
11
+ readAsArrayBuffer (blob: Blob): void
12
+ readAsBinaryString (blob: Blob): void
13
+ readAsText (blob: Blob, encoding?: string): void
14
+ readAsDataURL (blob: Blob): void
15
+
16
+ abort (): void
17
+
18
+ static readonly EMPTY = 0
19
+ static readonly LOADING = 1
20
+ static readonly DONE = 2
21
+
22
+ readonly EMPTY = 0
23
+ readonly LOADING = 1
24
+ readonly DONE = 2
25
+
26
+ readonly readyState: number
27
+
28
+ readonly result: string | ArrayBuffer | null
29
+
30
+ readonly error: DOMException | null
31
+
32
+ onloadstart: null | ((this: FileReader, event: ProgressEvent) => void)
33
+ onprogress: null | ((this: FileReader, event: ProgressEvent) => void)
34
+ onload: null | ((this: FileReader, event: ProgressEvent) => void)
35
+ onabort: null | ((this: FileReader, event: ProgressEvent) => void)
36
+ onerror: null | ((this: FileReader, event: ProgressEvent) => void)
37
+ onloadend: null | ((this: FileReader, event: ProgressEvent) => void)
38
+ }
39
+
40
+ export interface ProgressEventInit extends EventInit {
41
+ lengthComputable?: boolean
42
+ loaded?: number
43
+ total?: number
44
+ }
45
+
46
+ export declare class ProgressEvent {
47
+ __proto__: Event & ProgressEvent
48
+
49
+ constructor (type: string, eventInitDict?: ProgressEventInit)
50
+
51
+ readonly lengthComputable: boolean
52
+ readonly loaded: number
53
+ readonly total: number
54
+ }
@@ -0,0 +1,108 @@
1
+ // Based on https://github.com/octet-stream/form-data/blob/2d0f0dc371517444ce1f22cdde13f51995d0953a/lib/FormData.ts (MIT)
2
+ /// <reference types="node" />
3
+
4
+ import { File } from './file'
5
+ import { SpecIterator, SpecIterableIterator } from './fetch'
6
+
7
+ /**
8
+ * A `string` or `File` that represents a single value from a set of `FormData` key-value pairs.
9
+ */
10
+ declare type FormDataEntryValue = string | File
11
+
12
+ /**
13
+ * Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using fetch().
14
+ */
15
+ export declare class FormData {
16
+ /**
17
+ * Appends a new value onto an existing key inside a FormData object,
18
+ * or adds the key if it does not already exist.
19
+ *
20
+ * The difference between `set()` and `append()` is that if the specified key already exists, `set()` will overwrite all existing values with the new one, whereas `append()` will append the new value onto the end of the existing set of values.
21
+ *
22
+ * @param name The name of the field whose data is contained in `value`.
23
+ * @param value The field's value. This can be [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob)
24
+ or [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File). If none of these are specified the value is converted to a string.
25
+ * @param fileName The filename reported to the server, when a Blob or File is passed as the second parameter. The default filename for Blob objects is "blob". The default filename for File objects is the file's filename.
26
+ */
27
+ append(name: string, value: unknown, fileName?: string): void
28
+
29
+ /**
30
+ * Set a new value for an existing key inside FormData,
31
+ * or add the new field if it does not already exist.
32
+ *
33
+ * @param name The name of the field whose data is contained in `value`.
34
+ * @param value The field's value. This can be [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob)
35
+ or [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File). If none of these are specified the value is converted to a string.
36
+ * @param fileName The filename reported to the server, when a Blob or File is passed as the second parameter. The default filename for Blob objects is "blob". The default filename for File objects is the file's filename.
37
+ *
38
+ */
39
+ set(name: string, value: unknown, fileName?: string): void
40
+
41
+ /**
42
+ * Returns the first value associated with a given key from within a `FormData` object.
43
+ * If you expect multiple values and want all of them, use the `getAll()` method instead.
44
+ *
45
+ * @param {string} name A name of the value you want to retrieve.
46
+ *
47
+ * @returns A `FormDataEntryValue` containing the value. If the key doesn't exist, the method returns null.
48
+ */
49
+ get(name: string): FormDataEntryValue | null
50
+
51
+ /**
52
+ * Returns all the values associated with a given key from within a `FormData` object.
53
+ *
54
+ * @param {string} name A name of the value you want to retrieve.
55
+ *
56
+ * @returns An array of `FormDataEntryValue` whose key matches the value passed in the `name` parameter. If the key doesn't exist, the method returns an empty list.
57
+ */
58
+ getAll(name: string): FormDataEntryValue[]
59
+
60
+ /**
61
+ * Returns a boolean stating whether a `FormData` object contains a certain key.
62
+ *
63
+ * @param name A string representing the name of the key you want to test for.
64
+ *
65
+ * @return A boolean value.
66
+ */
67
+ has(name: string): boolean
68
+
69
+ /**
70
+ * Deletes a key and its value(s) from a `FormData` object.
71
+ *
72
+ * @param name The name of the key you want to delete.
73
+ */
74
+ delete(name: string): void
75
+
76
+ /**
77
+ * Executes given callback function for each field of the FormData instance
78
+ */
79
+ forEach: (
80
+ callbackfn: (value: FormDataEntryValue, key: string, iterable: FormData) => void,
81
+ thisArg?: unknown
82
+ ) => void
83
+
84
+ /**
85
+ * Returns an [`iterator`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) allowing to go through all keys contained in this `FormData` object.
86
+ * Each key is a `string`.
87
+ */
88
+ keys: () => SpecIterableIterator<string>
89
+
90
+ /**
91
+ * Returns an [`iterator`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) allowing to go through all values contained in this object `FormData` object.
92
+ * Each value is a [`FormDataValue`](https://developer.mozilla.org/en-US/docs/Web/API/FormDataEntryValue).
93
+ */
94
+ values: () => SpecIterableIterator<FormDataEntryValue>
95
+
96
+ /**
97
+ * Returns an [`iterator`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) allowing to go through the `FormData` key/value pairs.
98
+ * The key of each pair is a string; the value is a [`FormDataValue`](https://developer.mozilla.org/en-US/docs/Web/API/FormDataEntryValue).
99
+ */
100
+ entries: () => SpecIterableIterator<[string, FormDataEntryValue]>
101
+
102
+ /**
103
+ * An alias for FormData#entries()
104
+ */
105
+ [Symbol.iterator]: () => SpecIterableIterator<[string, FormDataEntryValue]>
106
+
107
+ readonly [Symbol.toStringTag]: string
108
+ }
@@ -0,0 +1,9 @@
1
+ import Dispatcher from "./dispatcher";
2
+
3
+ export {
4
+ getGlobalDispatcher,
5
+ setGlobalDispatcher
6
+ }
7
+
8
+ declare function setGlobalDispatcher<DispatcherImplementation extends Dispatcher>(dispatcher: DispatcherImplementation): void;
9
+ declare function getGlobalDispatcher(): Dispatcher;
@@ -0,0 +1,7 @@
1
+ export {
2
+ setGlobalOrigin,
3
+ getGlobalOrigin
4
+ }
5
+
6
+ declare function setGlobalOrigin(origin: string | URL | undefined): void;
7
+ declare function getGlobalOrigin(): URL | undefined;
@@ -0,0 +1,15 @@
1
+ import Dispatcher from "./dispatcher";
2
+
3
+ export declare class RedirectHandler implements Dispatcher.DispatchHandlers {
4
+ constructor(
5
+ dispatch: Dispatcher,
6
+ maxRedirections: number,
7
+ opts: Dispatcher.DispatchOptions,
8
+ handler: Dispatcher.DispatchHandlers,
9
+ redirectionLimitReached: boolean
10
+ );
11
+ }
12
+
13
+ export declare class DecoratorHandler implements Dispatcher.DispatchHandlers {
14
+ constructor(handler: Dispatcher.DispatchHandlers);
15
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The header type declaration of `undici`.
3
+ */
4
+ export type IncomingHttpHeaders = Record<string, string | string[] | undefined>;