cloudstructs 0.5.5 → 0.5.8

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 (322) 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/email-receiver/s3-function.js +2 -2
  9. package/lib/email-receiver/whitelist-function.js +2 -2
  10. package/lib/saml-identity-provider/index.js +2 -2
  11. package/lib/slack-app/manifest.js +1 -1
  12. package/lib/slack-app/provider-function.js +2 -2
  13. package/lib/slack-app/slack-app.js +2 -2
  14. package/lib/slack-events/events-function.js +2 -2
  15. package/lib/slack-events/index.js +1 -1
  16. package/lib/slack-textract/detect-function.js +2 -2
  17. package/lib/slack-textract/index.js +1 -1
  18. package/lib/state-machine-cr-provider/index.js +1 -1
  19. package/lib/static-website/index.js +1 -1
  20. package/lib/static-website/origin-request-function.js +2 -2
  21. package/lib/toolkit-cleaner/clean-images-function.js +2 -2
  22. package/lib/toolkit-cleaner/clean-objects-function.js +2 -2
  23. package/lib/toolkit-cleaner/extract-template-hashes-function.js +2 -2
  24. package/lib/toolkit-cleaner/get-stack-names-function.js +2 -2
  25. package/lib/toolkit-cleaner/index.js +1 -1
  26. package/lib/url-shortener/index.js +1 -1
  27. package/lib/url-shortener/redirect-function.js +2 -2
  28. package/lib/url-shortener/shortener-function.js +2 -2
  29. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  30. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +7 -8
  31. package/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +2 -2
  32. package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +11 -5
  33. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +6 -3
  34. package/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +14 -18
  35. package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +1 -1
  36. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +668 -42
  37. package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +2 -2
  38. package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +2 -1
  39. package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +2 -2
  40. package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +2 -2
  41. package/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +3 -2
  42. package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +17 -27
  43. package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +15 -16
  44. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +24 -42
  45. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +79 -23
  46. package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +7 -2
  47. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +11 -1
  48. package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +2 -1
  49. package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +10 -13
  50. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +27 -7
  51. package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +5 -4
  52. package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
  53. package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +1 -1
  54. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +16 -2
  55. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +2 -2
  56. package/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +1 -1
  57. package/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +1 -1
  58. package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +2 -2
  59. package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +2 -2
  60. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +67 -15
  61. package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +1 -1
  62. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +142 -0
  63. package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +1 -1
  64. package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +17 -9
  65. package/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +11 -1
  66. package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +4 -2
  67. package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +25 -19
  68. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +20 -9
  69. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +19 -1
  70. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +5 -3
  71. package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +1 -1
  72. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +2 -5
  73. package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +1 -1
  74. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  75. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +7 -8
  76. package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +2 -2
  77. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +11 -5
  78. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +6 -3
  79. package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +14 -18
  80. package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +1 -1
  81. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +668 -42
  82. package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +2 -2
  83. package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +2 -1
  84. package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +2 -2
  85. package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +2 -2
  86. package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +3 -2
  87. package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +17 -27
  88. package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +15 -16
  89. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +24 -42
  90. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +79 -23
  91. package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +7 -2
  92. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +11 -1
  93. package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +2 -1
  94. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +10 -13
  95. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +27 -7
  96. package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +5 -4
  97. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  98. package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +1 -1
  99. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +16 -2
  100. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +2 -2
  101. package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +1 -1
  102. package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +1 -1
  103. package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +2 -2
  104. package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +2 -2
  105. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +67 -15
  106. package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +1 -1
  107. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +142 -0
  108. package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +1 -1
  109. package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +17 -9
  110. package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +11 -1
  111. package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +4 -2
  112. package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +25 -19
  113. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +20 -9
  114. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +19 -1
  115. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +5 -3
  116. package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +1 -1
  117. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +2 -5
  118. package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +1 -1
  119. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  120. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +7 -8
  121. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +2 -2
  122. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +11 -5
  123. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +6 -3
  124. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +14 -18
  125. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +1 -1
  126. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +668 -42
  127. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +2 -2
  128. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +2 -1
  129. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +2 -2
  130. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +2 -2
  131. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +3 -2
  132. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +17 -27
  133. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +15 -16
  134. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +24 -42
  135. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +79 -23
  136. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +7 -2
  137. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +11 -1
  138. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +2 -1
  139. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +10 -13
  140. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +27 -7
  141. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +5 -4
  142. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  143. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +1 -1
  144. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +16 -2
  145. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +2 -2
  146. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +1 -1
  147. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +1 -1
  148. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +2 -2
  149. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +2 -2
  150. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +67 -15
  151. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +1 -1
  152. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +142 -0
  153. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +1 -1
  154. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +17 -9
  155. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +11 -1
  156. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +4 -2
  157. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +25 -19
  158. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +20 -9
  159. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +19 -1
  160. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +5 -3
  161. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +1 -1
  162. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +2 -5
  163. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +1 -1
  164. package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
  165. package/node_modules/@types/is-stream/node_modules/@types/node/assert.d.ts +7 -8
  166. package/node_modules/@types/is-stream/node_modules/@types/node/async_hooks.d.ts +2 -2
  167. package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +11 -5
  168. package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +6 -3
  169. package/node_modules/@types/is-stream/node_modules/@types/node/cluster.d.ts +14 -18
  170. package/node_modules/@types/is-stream/node_modules/@types/node/console.d.ts +1 -1
  171. package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +668 -42
  172. package/node_modules/@types/is-stream/node_modules/@types/node/dgram.d.ts +2 -2
  173. package/node_modules/@types/is-stream/node_modules/@types/node/diagnostics_channel.d.ts +2 -1
  174. package/node_modules/@types/is-stream/node_modules/@types/node/dns/promises.d.ts +2 -2
  175. package/node_modules/@types/is-stream/node_modules/@types/node/dns.d.ts +2 -2
  176. package/node_modules/@types/is-stream/node_modules/@types/node/domain.d.ts +3 -2
  177. package/node_modules/@types/is-stream/node_modules/@types/node/events.d.ts +17 -27
  178. package/node_modules/@types/is-stream/node_modules/@types/node/fs/promises.d.ts +15 -16
  179. package/node_modules/@types/is-stream/node_modules/@types/node/fs.d.ts +24 -42
  180. package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +79 -23
  181. package/node_modules/@types/is-stream/node_modules/@types/node/http2.d.ts +7 -2
  182. package/node_modules/@types/is-stream/node_modules/@types/node/https.d.ts +11 -1
  183. package/node_modules/@types/is-stream/node_modules/@types/node/index.d.ts +2 -1
  184. package/node_modules/@types/is-stream/node_modules/@types/node/inspector.d.ts +10 -13
  185. package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +27 -7
  186. package/node_modules/@types/is-stream/node_modules/@types/node/os.d.ts +5 -4
  187. package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
  188. package/node_modules/@types/is-stream/node_modules/@types/node/path.d.ts +1 -1
  189. package/node_modules/@types/is-stream/node_modules/@types/node/perf_hooks.d.ts +16 -2
  190. package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +2 -2
  191. package/node_modules/@types/is-stream/node_modules/@types/node/punycode.d.ts +1 -1
  192. package/node_modules/@types/is-stream/node_modules/@types/node/querystring.d.ts +1 -1
  193. package/node_modules/@types/is-stream/node_modules/@types/node/readline.d.ts +2 -2
  194. package/node_modules/@types/is-stream/node_modules/@types/node/repl.d.ts +2 -2
  195. package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +67 -15
  196. package/node_modules/@types/is-stream/node_modules/@types/node/string_decoder.d.ts +1 -1
  197. package/node_modules/@types/is-stream/node_modules/@types/node/test.d.ts +142 -0
  198. package/node_modules/@types/is-stream/node_modules/@types/node/timers.d.ts +1 -1
  199. package/node_modules/@types/is-stream/node_modules/@types/node/tls.d.ts +17 -9
  200. package/node_modules/@types/is-stream/node_modules/@types/node/trace_events.d.ts +11 -1
  201. package/node_modules/@types/is-stream/node_modules/@types/node/tty.d.ts +4 -2
  202. package/node_modules/@types/is-stream/node_modules/@types/node/url.d.ts +25 -19
  203. package/node_modules/@types/is-stream/node_modules/@types/node/util.d.ts +20 -9
  204. package/node_modules/@types/is-stream/node_modules/@types/node/v8.d.ts +19 -1
  205. package/node_modules/@types/is-stream/node_modules/@types/node/vm.d.ts +5 -3
  206. package/node_modules/@types/is-stream/node_modules/@types/node/wasi.d.ts +1 -1
  207. package/node_modules/@types/is-stream/node_modules/@types/node/worker_threads.d.ts +2 -5
  208. package/node_modules/@types/is-stream/node_modules/@types/node/zlib.d.ts +1 -1
  209. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  210. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +7 -8
  211. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +2 -2
  212. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +11 -5
  213. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +6 -3
  214. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +14 -18
  215. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +1 -1
  216. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +668 -42
  217. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +2 -2
  218. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +2 -1
  219. package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +2 -2
  220. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +2 -2
  221. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +3 -2
  222. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +17 -27
  223. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +15 -16
  224. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +24 -42
  225. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +79 -23
  226. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +7 -2
  227. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +11 -1
  228. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +2 -1
  229. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +10 -13
  230. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +27 -7
  231. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +5 -4
  232. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  233. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +1 -1
  234. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +16 -2
  235. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +2 -2
  236. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +1 -1
  237. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +1 -1
  238. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +2 -2
  239. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +2 -2
  240. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +67 -15
  241. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +1 -1
  242. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +142 -0
  243. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +1 -1
  244. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +17 -9
  245. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +11 -1
  246. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +4 -2
  247. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +25 -19
  248. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +20 -9
  249. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +19 -1
  250. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +5 -3
  251. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +1 -1
  252. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +2 -5
  253. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +1 -1
  254. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  255. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +7 -8
  256. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +2 -2
  257. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +11 -5
  258. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +6 -3
  259. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +14 -18
  260. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +1 -1
  261. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +668 -42
  262. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +2 -2
  263. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +2 -1
  264. package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +2 -2
  265. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +2 -2
  266. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +3 -2
  267. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +17 -27
  268. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +15 -16
  269. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +24 -42
  270. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +79 -23
  271. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +7 -2
  272. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +11 -1
  273. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +2 -1
  274. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +10 -13
  275. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +27 -7
  276. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +5 -4
  277. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  278. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +1 -1
  279. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +16 -2
  280. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +2 -2
  281. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +1 -1
  282. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +1 -1
  283. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +2 -2
  284. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +2 -2
  285. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +67 -15
  286. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +1 -1
  287. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +142 -0
  288. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +1 -1
  289. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +17 -9
  290. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +11 -1
  291. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +4 -2
  292. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +25 -19
  293. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +20 -9
  294. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +19 -1
  295. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +5 -3
  296. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +1 -1
  297. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +2 -5
  298. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +1 -1
  299. package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/buffer-stream.js +0 -0
  300. package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/index.d.ts +0 -0
  301. package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/index.js +0 -0
  302. package/node_modules/{decompress-response/node_modules/mimic-response → cacheable-request/node_modules/get-stream}/license +0 -0
  303. package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/package.json +0 -0
  304. package/node_modules/{get-stream → cacheable-request/node_modules/get-stream}/readme.md +0 -0
  305. package/node_modules/clone-response/node_modules/mimic-response/index.js +32 -0
  306. package/node_modules/{get-stream → clone-response/node_modules/mimic-response}/license +1 -1
  307. package/node_modules/clone-response/node_modules/mimic-response/package.json +37 -0
  308. package/node_modules/clone-response/node_modules/mimic-response/readme.md +54 -0
  309. package/node_modules/clone-response/package.json +3 -6
  310. package/node_modules/keyv/README.md +16 -3
  311. package/node_modules/keyv/package.json +6 -8
  312. package/node_modules/keyv/src/index.d.ts +16 -2
  313. package/node_modules/{decompress-response/node_modules/mimic-response → mimic-response}/index.d.ts +0 -0
  314. package/node_modules/mimic-response/index.js +58 -13
  315. package/node_modules/mimic-response/license +1 -1
  316. package/node_modules/mimic-response/package.json +40 -35
  317. package/node_modules/mimic-response/readme.md +33 -9
  318. package/node_modules/responselike/package.json +3 -2
  319. package/package.json +13 -13
  320. package/node_modules/decompress-response/node_modules/mimic-response/index.js +0 -77
  321. package/node_modules/decompress-response/node_modules/mimic-response/package.json +0 -42
  322. 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>