cloudstructs 0.5.5 → 0.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (310) hide show
  1. package/.jsii +4 -4
  2. package/assets/slack-app/provider.lambda/index.js +107 -105
  3. package/assets/slack-textract/detect.lambda/index.js +113 -110
  4. package/assets/url-shortener/shortener.lambda/index.js +9 -23
  5. package/lib/codecommit-mirror/index.js +2 -2
  6. package/lib/ecs-service-roller/index.js +2 -2
  7. package/lib/email-receiver/receiver.js +1 -1
  8. package/lib/saml-identity-provider/index.js +2 -2
  9. package/lib/slack-app/manifest.js +1 -1
  10. package/lib/slack-app/slack-app.js +2 -2
  11. package/lib/slack-events/index.js +1 -1
  12. package/lib/slack-textract/index.js +1 -1
  13. package/lib/state-machine-cr-provider/index.js +1 -1
  14. package/lib/static-website/index.js +1 -1
  15. package/lib/toolkit-cleaner/index.js +1 -1
  16. package/lib/url-shortener/index.js +1 -1
  17. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  18. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +7 -8
  19. package/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +2 -2
  20. package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +11 -5
  21. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +6 -3
  22. package/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +14 -18
  23. package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +1 -1
  24. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +668 -42
  25. package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +2 -2
  26. package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +2 -1
  27. package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +2 -2
  28. package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +2 -2
  29. package/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +3 -2
  30. package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +17 -27
  31. package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +15 -16
  32. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +24 -42
  33. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +79 -23
  34. package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +7 -2
  35. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +11 -1
  36. package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +2 -1
  37. package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +10 -13
  38. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +27 -7
  39. package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +5 -4
  40. package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
  41. package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +1 -1
  42. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +16 -2
  43. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +2 -2
  44. package/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +1 -1
  45. package/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +1 -1
  46. package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +2 -2
  47. package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +2 -2
  48. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +67 -15
  49. package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +1 -1
  50. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +142 -0
  51. package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +1 -1
  52. package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +17 -9
  53. package/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +11 -1
  54. package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +4 -2
  55. package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +25 -19
  56. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +20 -9
  57. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +19 -1
  58. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +5 -3
  59. package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +1 -1
  60. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +2 -5
  61. package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +1 -1
  62. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  63. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +7 -8
  64. package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +2 -2
  65. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +11 -5
  66. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +6 -3
  67. package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +14 -18
  68. package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +1 -1
  69. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +668 -42
  70. package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +2 -2
  71. package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +2 -1
  72. package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +2 -2
  73. package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +2 -2
  74. package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +3 -2
  75. package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +17 -27
  76. package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +15 -16
  77. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +24 -42
  78. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +79 -23
  79. package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +7 -2
  80. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +11 -1
  81. package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +2 -1
  82. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +10 -13
  83. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +27 -7
  84. package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +5 -4
  85. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  86. package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +1 -1
  87. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +16 -2
  88. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +2 -2
  89. package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +1 -1
  90. package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +1 -1
  91. package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +2 -2
  92. package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +2 -2
  93. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +67 -15
  94. package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +1 -1
  95. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +142 -0
  96. package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +1 -1
  97. package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +17 -9
  98. package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +11 -1
  99. package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +4 -2
  100. package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +25 -19
  101. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +20 -9
  102. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +19 -1
  103. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +5 -3
  104. package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +1 -1
  105. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +2 -5
  106. package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +1 -1
  107. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  108. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +7 -8
  109. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +2 -2
  110. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +11 -5
  111. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +6 -3
  112. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +14 -18
  113. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +1 -1
  114. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +668 -42
  115. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +2 -2
  116. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +2 -1
  117. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +2 -2
  118. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +2 -2
  119. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +3 -2
  120. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +17 -27
  121. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +15 -16
  122. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +24 -42
  123. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +79 -23
  124. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +7 -2
  125. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +11 -1
  126. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +2 -1
  127. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +10 -13
  128. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +27 -7
  129. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +5 -4
  130. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  131. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +1 -1
  132. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +16 -2
  133. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +2 -2
  134. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +1 -1
  135. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +1 -1
  136. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +2 -2
  137. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +2 -2
  138. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +67 -15
  139. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +1 -1
  140. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +142 -0
  141. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +1 -1
  142. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +17 -9
  143. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +11 -1
  144. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +4 -2
  145. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +25 -19
  146. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +20 -9
  147. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +19 -1
  148. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +5 -3
  149. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +1 -1
  150. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +2 -5
  151. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +1 -1
  152. package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
  153. package/node_modules/@types/is-stream/node_modules/@types/node/assert.d.ts +7 -8
  154. package/node_modules/@types/is-stream/node_modules/@types/node/async_hooks.d.ts +2 -2
  155. package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +11 -5
  156. package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +6 -3
  157. package/node_modules/@types/is-stream/node_modules/@types/node/cluster.d.ts +14 -18
  158. package/node_modules/@types/is-stream/node_modules/@types/node/console.d.ts +1 -1
  159. package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +668 -42
  160. package/node_modules/@types/is-stream/node_modules/@types/node/dgram.d.ts +2 -2
  161. package/node_modules/@types/is-stream/node_modules/@types/node/diagnostics_channel.d.ts +2 -1
  162. package/node_modules/@types/is-stream/node_modules/@types/node/dns/promises.d.ts +2 -2
  163. package/node_modules/@types/is-stream/node_modules/@types/node/dns.d.ts +2 -2
  164. package/node_modules/@types/is-stream/node_modules/@types/node/domain.d.ts +3 -2
  165. package/node_modules/@types/is-stream/node_modules/@types/node/events.d.ts +17 -27
  166. package/node_modules/@types/is-stream/node_modules/@types/node/fs/promises.d.ts +15 -16
  167. package/node_modules/@types/is-stream/node_modules/@types/node/fs.d.ts +24 -42
  168. package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +79 -23
  169. package/node_modules/@types/is-stream/node_modules/@types/node/http2.d.ts +7 -2
  170. package/node_modules/@types/is-stream/node_modules/@types/node/https.d.ts +11 -1
  171. package/node_modules/@types/is-stream/node_modules/@types/node/index.d.ts +2 -1
  172. package/node_modules/@types/is-stream/node_modules/@types/node/inspector.d.ts +10 -13
  173. package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +27 -7
  174. package/node_modules/@types/is-stream/node_modules/@types/node/os.d.ts +5 -4
  175. package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
  176. package/node_modules/@types/is-stream/node_modules/@types/node/path.d.ts +1 -1
  177. package/node_modules/@types/is-stream/node_modules/@types/node/perf_hooks.d.ts +16 -2
  178. package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +2 -2
  179. package/node_modules/@types/is-stream/node_modules/@types/node/punycode.d.ts +1 -1
  180. package/node_modules/@types/is-stream/node_modules/@types/node/querystring.d.ts +1 -1
  181. package/node_modules/@types/is-stream/node_modules/@types/node/readline.d.ts +2 -2
  182. package/node_modules/@types/is-stream/node_modules/@types/node/repl.d.ts +2 -2
  183. package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +67 -15
  184. package/node_modules/@types/is-stream/node_modules/@types/node/string_decoder.d.ts +1 -1
  185. package/node_modules/@types/is-stream/node_modules/@types/node/test.d.ts +142 -0
  186. package/node_modules/@types/is-stream/node_modules/@types/node/timers.d.ts +1 -1
  187. package/node_modules/@types/is-stream/node_modules/@types/node/tls.d.ts +17 -9
  188. package/node_modules/@types/is-stream/node_modules/@types/node/trace_events.d.ts +11 -1
  189. package/node_modules/@types/is-stream/node_modules/@types/node/tty.d.ts +4 -2
  190. package/node_modules/@types/is-stream/node_modules/@types/node/url.d.ts +25 -19
  191. package/node_modules/@types/is-stream/node_modules/@types/node/util.d.ts +20 -9
  192. package/node_modules/@types/is-stream/node_modules/@types/node/v8.d.ts +19 -1
  193. package/node_modules/@types/is-stream/node_modules/@types/node/vm.d.ts +5 -3
  194. package/node_modules/@types/is-stream/node_modules/@types/node/wasi.d.ts +1 -1
  195. package/node_modules/@types/is-stream/node_modules/@types/node/worker_threads.d.ts +2 -5
  196. package/node_modules/@types/is-stream/node_modules/@types/node/zlib.d.ts +1 -1
  197. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  198. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +7 -8
  199. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +2 -2
  200. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +11 -5
  201. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +6 -3
  202. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +14 -18
  203. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +1 -1
  204. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +668 -42
  205. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +2 -2
  206. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +2 -1
  207. package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +2 -2
  208. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +2 -2
  209. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +3 -2
  210. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +17 -27
  211. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +15 -16
  212. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +24 -42
  213. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +79 -23
  214. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +7 -2
  215. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +11 -1
  216. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +2 -1
  217. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +10 -13
  218. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +27 -7
  219. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +5 -4
  220. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  221. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +1 -1
  222. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +16 -2
  223. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +2 -2
  224. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +1 -1
  225. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +1 -1
  226. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +2 -2
  227. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +2 -2
  228. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +67 -15
  229. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +1 -1
  230. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +142 -0
  231. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +1 -1
  232. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +17 -9
  233. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +11 -1
  234. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +4 -2
  235. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +25 -19
  236. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +20 -9
  237. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +19 -1
  238. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +5 -3
  239. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +1 -1
  240. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +2 -5
  241. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +1 -1
  242. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  243. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +7 -8
  244. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +2 -2
  245. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +11 -5
  246. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +6 -3
  247. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +14 -18
  248. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +1 -1
  249. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +668 -42
  250. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +2 -2
  251. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +2 -1
  252. package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +2 -2
  253. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +2 -2
  254. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +3 -2
  255. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +17 -27
  256. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +15 -16
  257. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +24 -42
  258. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +79 -23
  259. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +7 -2
  260. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +11 -1
  261. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +2 -1
  262. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +10 -13
  263. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +27 -7
  264. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +5 -4
  265. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  266. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +1 -1
  267. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +16 -2
  268. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +2 -2
  269. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +1 -1
  270. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +1 -1
  271. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +2 -2
  272. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +2 -2
  273. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +67 -15
  274. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +1 -1
  275. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +142 -0
  276. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +1 -1
  277. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +17 -9
  278. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +11 -1
  279. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +4 -2
  280. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +25 -19
  281. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +20 -9
  282. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +19 -1
  283. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +5 -3
  284. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +1 -1
  285. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +2 -5
  286. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +1 -1
  287. package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/buffer-stream.js +0 -0
  288. package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/index.d.ts +0 -0
  289. package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/index.js +0 -0
  290. package/node_modules/{decompress-response/node_modules/mimic-response → cacheable-request/node_modules/get-stream}/license +0 -0
  291. package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/package.json +0 -0
  292. package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/readme.md +0 -0
  293. package/node_modules/clone-response/node_modules/mimic-response/index.js +32 -0
  294. package/node_modules/{get-stream → clone-response/node_modules/mimic-response}/license +1 -1
  295. package/node_modules/clone-response/node_modules/mimic-response/package.json +37 -0
  296. package/node_modules/clone-response/node_modules/mimic-response/readme.md +54 -0
  297. package/node_modules/clone-response/package.json +3 -6
  298. package/node_modules/keyv/README.md +16 -3
  299. package/node_modules/keyv/package.json +6 -8
  300. package/node_modules/keyv/src/index.d.ts +16 -2
  301. package/node_modules/{decompress-response/node_modules/mimic-response → mimic-response}/index.d.ts +0 -0
  302. package/node_modules/mimic-response/index.js +58 -13
  303. package/node_modules/mimic-response/license +1 -1
  304. package/node_modules/mimic-response/package.json +40 -35
  305. package/node_modules/mimic-response/readme.md +33 -9
  306. package/node_modules/responselike/package.json +3 -2
  307. package/package.json +13 -13
  308. package/node_modules/decompress-response/node_modules/mimic-response/index.js +0 -77
  309. package/node_modules/decompress-response/node_modules/mimic-response/package.json +0 -42
  310. package/node_modules/decompress-response/node_modules/mimic-response/readme.md +0 -78
@@ -1,42 +0,0 @@
1
- {
2
- "name": "mimic-response",
3
- "version": "3.1.0",
4
- "description": "Mimic a Node.js HTTP response stream",
5
- "license": "MIT",
6
- "repository": "sindresorhus/mimic-response",
7
- "funding": "https://github.com/sponsors/sindresorhus",
8
- "author": {
9
- "name": "Sindre Sorhus",
10
- "email": "sindresorhus@gmail.com",
11
- "url": "https://sindresorhus.com"
12
- },
13
- "engines": {
14
- "node": ">=10"
15
- },
16
- "scripts": {
17
- "test": "xo && ava && tsd"
18
- },
19
- "files": [
20
- "index.d.ts",
21
- "index.js"
22
- ],
23
- "keywords": [
24
- "mimic",
25
- "response",
26
- "stream",
27
- "http",
28
- "https",
29
- "request",
30
- "get",
31
- "core"
32
- ],
33
- "devDependencies": {
34
- "@types/node": "^14.0.1",
35
- "ava": "^2.4.0",
36
- "create-test-server": "^2.4.0",
37
- "p-event": "^4.1.0",
38
- "pify": "^5.0.0",
39
- "tsd": "^0.11.0",
40
- "xo": "^0.30.0"
41
- }
42
- }
@@ -1,78 +0,0 @@
1
- # mimic-response [![Build Status](https://travis-ci.com/sindresorhus/mimic-response.svg?branch=master)](https://travis-ci.com/sindresorhus/mimic-response)
2
-
3
- > Mimic a [Node.js HTTP response stream](https://nodejs.org/api/http.html#http_class_http_incomingmessage)
4
-
5
- ## Install
6
-
7
- ```
8
- $ npm install mimic-response
9
- ```
10
-
11
- ## Usage
12
-
13
- ```js
14
- const stream = require('stream');
15
- const mimicResponse = require('mimic-response');
16
-
17
- const responseStream = getHttpResponseStream();
18
- const myStream = new stream.PassThrough();
19
-
20
- mimicResponse(responseStream, myStream);
21
-
22
- console.log(myStream.statusCode);
23
- //=> 200
24
- ```
25
-
26
- ## API
27
-
28
- ### mimicResponse(from, to)
29
-
30
- **Note #1:** The `from.destroy(error)` function is not proxied. You have to call it manually:
31
-
32
- ```js
33
- const stream = require('stream');
34
- const mimicResponse = require('mimic-response');
35
-
36
- const responseStream = getHttpResponseStream();
37
-
38
- const myStream = new stream.PassThrough({
39
- destroy(error, callback) {
40
- responseStream.destroy();
41
-
42
- callback(error);
43
- }
44
- });
45
-
46
- myStream.destroy();
47
- ```
48
-
49
- Please note that `myStream` and `responseStream` never throws. The error is passed to the request instead.
50
-
51
- #### from
52
-
53
- Type: `Stream`
54
-
55
- [Node.js HTTP response stream.](https://nodejs.org/api/http.html#http_class_http_incomingmessage)
56
-
57
- #### to
58
-
59
- Type: `Stream`
60
-
61
- Any stream.
62
-
63
- ## Related
64
-
65
- - [mimic-fn](https://github.com/sindresorhus/mimic-fn) - Make a function mimic another one
66
- - [clone-response](https://github.com/lukechilds/clone-response) - Clone a Node.js response stream
67
-
68
- ---
69
-
70
- <div align="center">
71
- <b>
72
- <a href="https://tidelift.com/subscription/pkg/npm-mimic-response?utm_source=npm-mimic-response&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
73
- </b>
74
- <br>
75
- <sub>
76
- Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
77
- </sub>
78
- </div>