cdk-ecr-deployment 3.2.2 → 3.3.1

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 (562) hide show
  1. package/.jsii +30 -34
  2. package/README.md +2 -2
  3. package/lambda-bin/.gitkeep +0 -0
  4. package/lambda-bin/bootstrap +0 -0
  5. package/{lambda → lambda-src}/Makefile +1 -1
  6. package/lib/index.js +6 -9
  7. package/package.json +1 -13
  8. package/lambda/install.js +0 -82
  9. package/node_modules/@sindresorhus/is/dist/index.d.ts +0 -232
  10. package/node_modules/@sindresorhus/is/dist/index.js +0 -434
  11. package/node_modules/@sindresorhus/is/dist/types.d.ts +0 -25
  12. package/node_modules/@sindresorhus/is/dist/types.js +0 -3
  13. package/node_modules/@sindresorhus/is/license +0 -9
  14. package/node_modules/@sindresorhus/is/package.json +0 -96
  15. package/node_modules/@sindresorhus/is/readme.md +0 -669
  16. package/node_modules/@szmarczak/http-timer/LICENSE +0 -21
  17. package/node_modules/@szmarczak/http-timer/README.md +0 -93
  18. package/node_modules/@szmarczak/http-timer/dist/source/index.d.ts +0 -32
  19. package/node_modules/@szmarczak/http-timer/dist/source/index.js +0 -126
  20. package/node_modules/@szmarczak/http-timer/package.json +0 -72
  21. package/node_modules/@types/cacheable-request/LICENSE +0 -21
  22. package/node_modules/@types/cacheable-request/README.md +0 -16
  23. package/node_modules/@types/cacheable-request/index.d.ts +0 -137
  24. package/node_modules/@types/cacheable-request/node_modules/@types/node/LICENSE +0 -21
  25. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +0 -15
  26. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert/strict.d.ts +0 -8
  27. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +0 -1095
  28. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +0 -541
  29. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.buffer.d.ts +0 -460
  30. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +0 -1926
  31. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +0 -1549
  32. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +0 -579
  33. package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  34. package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/index.d.ts +0 -9
  35. package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  36. package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  37. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +0 -452
  38. package/node_modules/@types/cacheable-request/node_modules/@types/node/constants.d.ts +0 -21
  39. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +0 -4510
  40. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +0 -599
  41. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
  42. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +0 -476
  43. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +0 -865
  44. package/node_modules/@types/cacheable-request/node_modules/@types/node/dom-events.d.ts +0 -124
  45. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +0 -170
  46. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +0 -931
  47. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +0 -1275
  48. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +0 -4343
  49. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +0 -511
  50. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  51. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +0 -1959
  52. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +0 -2558
  53. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +0 -543
  54. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +0 -92
  55. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +0 -3966
  56. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +0 -702
  57. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +0 -1029
  58. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +0 -495
  59. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +0 -220
  60. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +0 -200
  61. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +0 -970
  62. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +0 -2013
  63. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +0 -117
  64. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +0 -153
  65. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline/promises.d.ts +0 -162
  66. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +0 -589
  67. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +0 -430
  68. package/node_modules/@types/cacheable-request/node_modules/@types/node/sea.d.ts +0 -153
  69. package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +0 -439
  70. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/consumers.d.ts +0 -12
  71. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/promises.d.ts +0 -90
  72. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +0 -614
  73. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +0 -1662
  74. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +0 -67
  75. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +0 -2150
  76. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +0 -97
  77. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +0 -240
  78. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +0 -1226
  79. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +0 -197
  80. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -457
  81. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  82. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/index.d.ts +0 -92
  83. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +0 -208
  84. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +0 -972
  85. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +0 -2439
  86. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +0 -808
  87. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +0 -976
  88. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +0 -181
  89. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +0 -745
  90. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +0 -539
  91. package/node_modules/@types/cacheable-request/node_modules/undici-types/LICENSE +0 -21
  92. package/node_modules/@types/cacheable-request/node_modules/undici-types/README.md +0 -6
  93. package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +0 -31
  94. package/node_modules/@types/cacheable-request/node_modules/undici-types/api.d.ts +0 -43
  95. package/node_modules/@types/cacheable-request/node_modules/undici-types/balanced-pool.d.ts +0 -29
  96. package/node_modules/@types/cacheable-request/node_modules/undici-types/cache.d.ts +0 -36
  97. package/node_modules/@types/cacheable-request/node_modules/undici-types/client.d.ts +0 -108
  98. package/node_modules/@types/cacheable-request/node_modules/undici-types/connector.d.ts +0 -34
  99. package/node_modules/@types/cacheable-request/node_modules/undici-types/content-type.d.ts +0 -21
  100. package/node_modules/@types/cacheable-request/node_modules/undici-types/cookies.d.ts +0 -28
  101. package/node_modules/@types/cacheable-request/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  102. package/node_modules/@types/cacheable-request/node_modules/undici-types/dispatcher.d.ts +0 -255
  103. package/node_modules/@types/cacheable-request/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  104. package/node_modules/@types/cacheable-request/node_modules/undici-types/errors.d.ts +0 -149
  105. package/node_modules/@types/cacheable-request/node_modules/undici-types/eventsource.d.ts +0 -61
  106. package/node_modules/@types/cacheable-request/node_modules/undici-types/fetch.d.ts +0 -209
  107. package/node_modules/@types/cacheable-request/node_modules/undici-types/file.d.ts +0 -39
  108. package/node_modules/@types/cacheable-request/node_modules/undici-types/filereader.d.ts +0 -54
  109. package/node_modules/@types/cacheable-request/node_modules/undici-types/formdata.d.ts +0 -108
  110. package/node_modules/@types/cacheable-request/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  111. package/node_modules/@types/cacheable-request/node_modules/undici-types/global-origin.d.ts +0 -7
  112. package/node_modules/@types/cacheable-request/node_modules/undici-types/handlers.d.ts +0 -15
  113. package/node_modules/@types/cacheable-request/node_modules/undici-types/header.d.ts +0 -4
  114. package/node_modules/@types/cacheable-request/node_modules/undici-types/index.d.ts +0 -71
  115. package/node_modules/@types/cacheable-request/node_modules/undici-types/interceptors.d.ts +0 -17
  116. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-agent.d.ts +0 -50
  117. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-client.d.ts +0 -25
  118. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-errors.d.ts +0 -12
  119. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  120. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-pool.d.ts +0 -25
  121. package/node_modules/@types/cacheable-request/node_modules/undici-types/package.json +0 -55
  122. package/node_modules/@types/cacheable-request/node_modules/undici-types/patch.d.ts +0 -33
  123. package/node_modules/@types/cacheable-request/node_modules/undici-types/pool-stats.d.ts +0 -19
  124. package/node_modules/@types/cacheable-request/node_modules/undici-types/pool.d.ts +0 -39
  125. package/node_modules/@types/cacheable-request/node_modules/undici-types/proxy-agent.d.ts +0 -28
  126. package/node_modules/@types/cacheable-request/node_modules/undici-types/readable.d.ts +0 -60
  127. package/node_modules/@types/cacheable-request/node_modules/undici-types/retry-agent.d.ts +0 -8
  128. package/node_modules/@types/cacheable-request/node_modules/undici-types/retry-handler.d.ts +0 -116
  129. package/node_modules/@types/cacheable-request/node_modules/undici-types/util.d.ts +0 -18
  130. package/node_modules/@types/cacheable-request/node_modules/undici-types/webidl.d.ts +0 -222
  131. package/node_modules/@types/cacheable-request/node_modules/undici-types/websocket.d.ts +0 -150
  132. package/node_modules/@types/cacheable-request/package.json +0 -35
  133. package/node_modules/@types/http-cache-semantics/LICENSE +0 -21
  134. package/node_modules/@types/http-cache-semantics/README.md +0 -15
  135. package/node_modules/@types/http-cache-semantics/index.d.ts +0 -165
  136. package/node_modules/@types/http-cache-semantics/package.json +0 -25
  137. package/node_modules/@types/keyv/LICENSE +0 -21
  138. package/node_modules/@types/keyv/README.md +0 -16
  139. package/node_modules/@types/keyv/index.d.ts +0 -90
  140. package/node_modules/@types/keyv/node_modules/@types/node/LICENSE +0 -21
  141. package/node_modules/@types/keyv/node_modules/@types/node/README.md +0 -15
  142. package/node_modules/@types/keyv/node_modules/@types/node/assert/strict.d.ts +0 -8
  143. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +0 -1095
  144. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +0 -541
  145. package/node_modules/@types/keyv/node_modules/@types/node/buffer.buffer.d.ts +0 -460
  146. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +0 -1926
  147. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +0 -1549
  148. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +0 -579
  149. package/node_modules/@types/keyv/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  150. package/node_modules/@types/keyv/node_modules/@types/node/compatibility/index.d.ts +0 -9
  151. package/node_modules/@types/keyv/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  152. package/node_modules/@types/keyv/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  153. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +0 -452
  154. package/node_modules/@types/keyv/node_modules/@types/node/constants.d.ts +0 -21
  155. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +0 -4510
  156. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +0 -599
  157. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
  158. package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +0 -476
  159. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +0 -865
  160. package/node_modules/@types/keyv/node_modules/@types/node/dom-events.d.ts +0 -124
  161. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +0 -170
  162. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +0 -931
  163. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +0 -1275
  164. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +0 -4343
  165. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +0 -511
  166. package/node_modules/@types/keyv/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  167. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +0 -1959
  168. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +0 -2558
  169. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +0 -543
  170. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +0 -92
  171. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +0 -3966
  172. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +0 -702
  173. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +0 -1029
  174. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +0 -495
  175. package/node_modules/@types/keyv/node_modules/@types/node/package.json +0 -220
  176. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +0 -200
  177. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +0 -970
  178. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +0 -2013
  179. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +0 -117
  180. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +0 -153
  181. package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +0 -162
  182. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +0 -589
  183. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +0 -430
  184. package/node_modules/@types/keyv/node_modules/@types/node/sea.d.ts +0 -153
  185. package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +0 -439
  186. package/node_modules/@types/keyv/node_modules/@types/node/stream/consumers.d.ts +0 -12
  187. package/node_modules/@types/keyv/node_modules/@types/node/stream/promises.d.ts +0 -90
  188. package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +0 -614
  189. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +0 -1662
  190. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +0 -67
  191. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +0 -2150
  192. package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +0 -97
  193. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +0 -240
  194. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +0 -1226
  195. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +0 -197
  196. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -457
  197. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  198. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/index.d.ts +0 -92
  199. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +0 -208
  200. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +0 -972
  201. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +0 -2439
  202. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +0 -808
  203. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +0 -976
  204. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +0 -181
  205. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +0 -745
  206. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +0 -539
  207. package/node_modules/@types/keyv/node_modules/undici-types/LICENSE +0 -21
  208. package/node_modules/@types/keyv/node_modules/undici-types/README.md +0 -6
  209. package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +0 -31
  210. package/node_modules/@types/keyv/node_modules/undici-types/api.d.ts +0 -43
  211. package/node_modules/@types/keyv/node_modules/undici-types/balanced-pool.d.ts +0 -29
  212. package/node_modules/@types/keyv/node_modules/undici-types/cache.d.ts +0 -36
  213. package/node_modules/@types/keyv/node_modules/undici-types/client.d.ts +0 -108
  214. package/node_modules/@types/keyv/node_modules/undici-types/connector.d.ts +0 -34
  215. package/node_modules/@types/keyv/node_modules/undici-types/content-type.d.ts +0 -21
  216. package/node_modules/@types/keyv/node_modules/undici-types/cookies.d.ts +0 -28
  217. package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  218. package/node_modules/@types/keyv/node_modules/undici-types/dispatcher.d.ts +0 -255
  219. package/node_modules/@types/keyv/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  220. package/node_modules/@types/keyv/node_modules/undici-types/errors.d.ts +0 -149
  221. package/node_modules/@types/keyv/node_modules/undici-types/eventsource.d.ts +0 -61
  222. package/node_modules/@types/keyv/node_modules/undici-types/fetch.d.ts +0 -209
  223. package/node_modules/@types/keyv/node_modules/undici-types/file.d.ts +0 -39
  224. package/node_modules/@types/keyv/node_modules/undici-types/filereader.d.ts +0 -54
  225. package/node_modules/@types/keyv/node_modules/undici-types/formdata.d.ts +0 -108
  226. package/node_modules/@types/keyv/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  227. package/node_modules/@types/keyv/node_modules/undici-types/global-origin.d.ts +0 -7
  228. package/node_modules/@types/keyv/node_modules/undici-types/handlers.d.ts +0 -15
  229. package/node_modules/@types/keyv/node_modules/undici-types/header.d.ts +0 -4
  230. package/node_modules/@types/keyv/node_modules/undici-types/index.d.ts +0 -71
  231. package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +0 -17
  232. package/node_modules/@types/keyv/node_modules/undici-types/mock-agent.d.ts +0 -50
  233. package/node_modules/@types/keyv/node_modules/undici-types/mock-client.d.ts +0 -25
  234. package/node_modules/@types/keyv/node_modules/undici-types/mock-errors.d.ts +0 -12
  235. package/node_modules/@types/keyv/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  236. package/node_modules/@types/keyv/node_modules/undici-types/mock-pool.d.ts +0 -25
  237. package/node_modules/@types/keyv/node_modules/undici-types/package.json +0 -55
  238. package/node_modules/@types/keyv/node_modules/undici-types/patch.d.ts +0 -33
  239. package/node_modules/@types/keyv/node_modules/undici-types/pool-stats.d.ts +0 -19
  240. package/node_modules/@types/keyv/node_modules/undici-types/pool.d.ts +0 -39
  241. package/node_modules/@types/keyv/node_modules/undici-types/proxy-agent.d.ts +0 -28
  242. package/node_modules/@types/keyv/node_modules/undici-types/readable.d.ts +0 -60
  243. package/node_modules/@types/keyv/node_modules/undici-types/retry-agent.d.ts +0 -8
  244. package/node_modules/@types/keyv/node_modules/undici-types/retry-handler.d.ts +0 -116
  245. package/node_modules/@types/keyv/node_modules/undici-types/util.d.ts +0 -18
  246. package/node_modules/@types/keyv/node_modules/undici-types/webidl.d.ts +0 -222
  247. package/node_modules/@types/keyv/node_modules/undici-types/websocket.d.ts +0 -150
  248. package/node_modules/@types/keyv/package.json +0 -32
  249. package/node_modules/@types/responselike/LICENSE +0 -21
  250. package/node_modules/@types/responselike/README.md +0 -48
  251. package/node_modules/@types/responselike/index.d.ts +0 -29
  252. package/node_modules/@types/responselike/node_modules/@types/node/LICENSE +0 -21
  253. package/node_modules/@types/responselike/node_modules/@types/node/README.md +0 -15
  254. package/node_modules/@types/responselike/node_modules/@types/node/assert/strict.d.ts +0 -8
  255. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +0 -1095
  256. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +0 -541
  257. package/node_modules/@types/responselike/node_modules/@types/node/buffer.buffer.d.ts +0 -460
  258. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +0 -1926
  259. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +0 -1549
  260. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +0 -579
  261. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  262. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/index.d.ts +0 -9
  263. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  264. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  265. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +0 -452
  266. package/node_modules/@types/responselike/node_modules/@types/node/constants.d.ts +0 -21
  267. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +0 -4510
  268. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +0 -599
  269. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
  270. package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +0 -476
  271. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +0 -865
  272. package/node_modules/@types/responselike/node_modules/@types/node/dom-events.d.ts +0 -124
  273. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +0 -170
  274. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +0 -931
  275. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +0 -1275
  276. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +0 -4343
  277. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +0 -511
  278. package/node_modules/@types/responselike/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  279. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +0 -1959
  280. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +0 -2558
  281. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +0 -543
  282. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +0 -92
  283. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +0 -3966
  284. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +0 -702
  285. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +0 -1029
  286. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +0 -495
  287. package/node_modules/@types/responselike/node_modules/@types/node/package.json +0 -220
  288. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +0 -200
  289. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +0 -970
  290. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +0 -2013
  291. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +0 -117
  292. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +0 -153
  293. package/node_modules/@types/responselike/node_modules/@types/node/readline/promises.d.ts +0 -162
  294. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +0 -589
  295. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +0 -430
  296. package/node_modules/@types/responselike/node_modules/@types/node/sea.d.ts +0 -153
  297. package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +0 -439
  298. package/node_modules/@types/responselike/node_modules/@types/node/stream/consumers.d.ts +0 -12
  299. package/node_modules/@types/responselike/node_modules/@types/node/stream/promises.d.ts +0 -90
  300. package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +0 -614
  301. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +0 -1662
  302. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +0 -67
  303. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +0 -2150
  304. package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +0 -97
  305. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +0 -240
  306. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +0 -1226
  307. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +0 -197
  308. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -457
  309. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  310. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/index.d.ts +0 -92
  311. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +0 -208
  312. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +0 -972
  313. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +0 -2439
  314. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +0 -808
  315. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +0 -976
  316. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +0 -181
  317. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +0 -745
  318. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +0 -539
  319. package/node_modules/@types/responselike/node_modules/undici-types/LICENSE +0 -21
  320. package/node_modules/@types/responselike/node_modules/undici-types/README.md +0 -6
  321. package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +0 -31
  322. package/node_modules/@types/responselike/node_modules/undici-types/api.d.ts +0 -43
  323. package/node_modules/@types/responselike/node_modules/undici-types/balanced-pool.d.ts +0 -29
  324. package/node_modules/@types/responselike/node_modules/undici-types/cache.d.ts +0 -36
  325. package/node_modules/@types/responselike/node_modules/undici-types/client.d.ts +0 -108
  326. package/node_modules/@types/responselike/node_modules/undici-types/connector.d.ts +0 -34
  327. package/node_modules/@types/responselike/node_modules/undici-types/content-type.d.ts +0 -21
  328. package/node_modules/@types/responselike/node_modules/undici-types/cookies.d.ts +0 -28
  329. package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  330. package/node_modules/@types/responselike/node_modules/undici-types/dispatcher.d.ts +0 -255
  331. package/node_modules/@types/responselike/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  332. package/node_modules/@types/responselike/node_modules/undici-types/errors.d.ts +0 -149
  333. package/node_modules/@types/responselike/node_modules/undici-types/eventsource.d.ts +0 -61
  334. package/node_modules/@types/responselike/node_modules/undici-types/fetch.d.ts +0 -209
  335. package/node_modules/@types/responselike/node_modules/undici-types/file.d.ts +0 -39
  336. package/node_modules/@types/responselike/node_modules/undici-types/filereader.d.ts +0 -54
  337. package/node_modules/@types/responselike/node_modules/undici-types/formdata.d.ts +0 -108
  338. package/node_modules/@types/responselike/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  339. package/node_modules/@types/responselike/node_modules/undici-types/global-origin.d.ts +0 -7
  340. package/node_modules/@types/responselike/node_modules/undici-types/handlers.d.ts +0 -15
  341. package/node_modules/@types/responselike/node_modules/undici-types/header.d.ts +0 -4
  342. package/node_modules/@types/responselike/node_modules/undici-types/index.d.ts +0 -71
  343. package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +0 -17
  344. package/node_modules/@types/responselike/node_modules/undici-types/mock-agent.d.ts +0 -50
  345. package/node_modules/@types/responselike/node_modules/undici-types/mock-client.d.ts +0 -25
  346. package/node_modules/@types/responselike/node_modules/undici-types/mock-errors.d.ts +0 -12
  347. package/node_modules/@types/responselike/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  348. package/node_modules/@types/responselike/node_modules/undici-types/mock-pool.d.ts +0 -25
  349. package/node_modules/@types/responselike/node_modules/undici-types/package.json +0 -55
  350. package/node_modules/@types/responselike/node_modules/undici-types/patch.d.ts +0 -33
  351. package/node_modules/@types/responselike/node_modules/undici-types/pool-stats.d.ts +0 -19
  352. package/node_modules/@types/responselike/node_modules/undici-types/pool.d.ts +0 -39
  353. package/node_modules/@types/responselike/node_modules/undici-types/proxy-agent.d.ts +0 -28
  354. package/node_modules/@types/responselike/node_modules/undici-types/readable.d.ts +0 -60
  355. package/node_modules/@types/responselike/node_modules/undici-types/retry-agent.d.ts +0 -8
  356. package/node_modules/@types/responselike/node_modules/undici-types/retry-handler.d.ts +0 -116
  357. package/node_modules/@types/responselike/node_modules/undici-types/util.d.ts +0 -18
  358. package/node_modules/@types/responselike/node_modules/undici-types/webidl.d.ts +0 -222
  359. package/node_modules/@types/responselike/node_modules/undici-types/websocket.d.ts +0 -150
  360. package/node_modules/@types/responselike/package.json +0 -27
  361. package/node_modules/cacheable-lookup/LICENSE +0 -21
  362. package/node_modules/cacheable-lookup/README.md +0 -240
  363. package/node_modules/cacheable-lookup/index.d.ts +0 -139
  364. package/node_modules/cacheable-lookup/package.json +0 -45
  365. package/node_modules/cacheable-lookup/source/index.js +0 -436
  366. package/node_modules/cacheable-request/LICENSE +0 -21
  367. package/node_modules/cacheable-request/README.md +0 -206
  368. package/node_modules/cacheable-request/package.json +0 -56
  369. package/node_modules/cacheable-request/src/index.js +0 -251
  370. package/node_modules/clone-response/LICENSE +0 -21
  371. package/node_modules/clone-response/README.md +0 -62
  372. package/node_modules/clone-response/node_modules/mimic-response/index.js +0 -32
  373. package/node_modules/clone-response/node_modules/mimic-response/license +0 -9
  374. package/node_modules/clone-response/node_modules/mimic-response/package.json +0 -37
  375. package/node_modules/clone-response/node_modules/mimic-response/readme.md +0 -54
  376. package/node_modules/clone-response/package.json +0 -41
  377. package/node_modules/clone-response/src/index.js +0 -17
  378. package/node_modules/decompress-response/index.d.ts +0 -22
  379. package/node_modules/decompress-response/index.js +0 -58
  380. package/node_modules/decompress-response/license +0 -9
  381. package/node_modules/decompress-response/package.json +0 -56
  382. package/node_modules/decompress-response/readme.md +0 -48
  383. package/node_modules/defer-to-connect/LICENSE +0 -21
  384. package/node_modules/defer-to-connect/README.md +0 -38
  385. package/node_modules/defer-to-connect/dist/source/index.d.ts +0 -10
  386. package/node_modules/defer-to-connect/dist/source/index.js +0 -47
  387. package/node_modules/defer-to-connect/package.json +0 -71
  388. package/node_modules/end-of-stream/LICENSE +0 -21
  389. package/node_modules/end-of-stream/README.md +0 -54
  390. package/node_modules/end-of-stream/index.js +0 -94
  391. package/node_modules/end-of-stream/package.json +0 -37
  392. package/node_modules/get-stream/buffer-stream.js +0 -52
  393. package/node_modules/get-stream/index.d.ts +0 -108
  394. package/node_modules/get-stream/index.js +0 -60
  395. package/node_modules/get-stream/license +0 -9
  396. package/node_modules/get-stream/package.json +0 -50
  397. package/node_modules/get-stream/readme.md +0 -124
  398. package/node_modules/got/dist/source/as-promise/create-rejection.d.ts +0 -2
  399. package/node_modules/got/dist/source/as-promise/create-rejection.js +0 -30
  400. package/node_modules/got/dist/source/as-promise/index.d.ts +0 -3
  401. package/node_modules/got/dist/source/as-promise/index.js +0 -176
  402. package/node_modules/got/dist/source/as-promise/normalize-arguments.d.ts +0 -3
  403. package/node_modules/got/dist/source/as-promise/normalize-arguments.js +0 -78
  404. package/node_modules/got/dist/source/as-promise/parse-body.d.ts +0 -3
  405. package/node_modules/got/dist/source/as-promise/parse-body.js +0 -25
  406. package/node_modules/got/dist/source/as-promise/types.d.ts +0 -256
  407. package/node_modules/got/dist/source/as-promise/types.js +0 -42
  408. package/node_modules/got/dist/source/core/calculate-retry-delay.d.ts +0 -5
  409. package/node_modules/got/dist/source/core/calculate-retry-delay.js +0 -29
  410. package/node_modules/got/dist/source/core/index.d.ts +0 -1124
  411. package/node_modules/got/dist/source/core/index.js +0 -1505
  412. package/node_modules/got/dist/source/core/utils/dns-ip-version.d.ts +0 -5
  413. package/node_modules/got/dist/source/core/utils/dns-ip-version.js +0 -17
  414. package/node_modules/got/dist/source/core/utils/get-body-size.d.ts +0 -3
  415. package/node_modules/got/dist/source/core/utils/get-body-size.js +0 -32
  416. package/node_modules/got/dist/source/core/utils/get-buffer.d.ts +0 -4
  417. package/node_modules/got/dist/source/core/utils/get-buffer.js +0 -16
  418. package/node_modules/got/dist/source/core/utils/is-form-data.d.ts +0 -8
  419. package/node_modules/got/dist/source/core/utils/is-form-data.js +0 -4
  420. package/node_modules/got/dist/source/core/utils/is-response-ok.d.ts +0 -2
  421. package/node_modules/got/dist/source/core/utils/is-response-ok.js +0 -8
  422. package/node_modules/got/dist/source/core/utils/options-to-url.d.ts +0 -14
  423. package/node_modules/got/dist/source/core/utils/options-to-url.js +0 -53
  424. package/node_modules/got/dist/source/core/utils/proxy-events.d.ts +0 -3
  425. package/node_modules/got/dist/source/core/utils/proxy-events.js +0 -17
  426. package/node_modules/got/dist/source/core/utils/timed-out.d.ts +0 -29
  427. package/node_modules/got/dist/source/core/utils/timed-out.js +0 -121
  428. package/node_modules/got/dist/source/core/utils/unhandle.d.ts +0 -11
  429. package/node_modules/got/dist/source/core/utils/unhandle.js +0 -22
  430. package/node_modules/got/dist/source/core/utils/url-to-options.d.ts +0 -15
  431. package/node_modules/got/dist/source/core/utils/url-to-options.js +0 -24
  432. package/node_modules/got/dist/source/core/utils/weakable-map.d.ts +0 -8
  433. package/node_modules/got/dist/source/core/utils/weakable-map.js +0 -29
  434. package/node_modules/got/dist/source/create.d.ts +0 -5
  435. package/node_modules/got/dist/source/create.js +0 -240
  436. package/node_modules/got/dist/source/index.d.ts +0 -4
  437. package/node_modules/got/dist/source/index.js +0 -132
  438. package/node_modules/got/dist/source/types.d.ts +0 -344
  439. package/node_modules/got/dist/source/types.js +0 -2
  440. package/node_modules/got/dist/source/utils/deep-freeze.d.ts +0 -1
  441. package/node_modules/got/dist/source/utils/deep-freeze.js +0 -12
  442. package/node_modules/got/dist/source/utils/deprecation-warning.d.ts +0 -2
  443. package/node_modules/got/dist/source/utils/deprecation-warning.js +0 -13
  444. package/node_modules/got/license +0 -9
  445. package/node_modules/got/package.json +0 -131
  446. package/node_modules/got/readme.md +0 -2477
  447. package/node_modules/hpagent/.github/dependabot.yml +0 -8
  448. package/node_modules/hpagent/.github/workflows/build.yml +0 -29
  449. package/node_modules/hpagent/LICENSE +0 -21
  450. package/node_modules/hpagent/README.md +0 -138
  451. package/node_modules/hpagent/index.d.ts +0 -26
  452. package/node_modules/hpagent/index.js +0 -101
  453. package/node_modules/hpagent/index.mjs +0 -5
  454. package/node_modules/hpagent/package.json +0 -49
  455. package/node_modules/hpagent/test/got.test.js +0 -111
  456. package/node_modules/hpagent/test/http-http.test.js +0 -351
  457. package/node_modules/hpagent/test/http-https.test.js +0 -313
  458. package/node_modules/hpagent/test/https-http.test.js +0 -313
  459. package/node_modules/hpagent/test/https-https.test.js +0 -313
  460. package/node_modules/hpagent/test/index.test-d.ts +0 -45
  461. package/node_modules/hpagent/test/needle.test.js +0 -103
  462. package/node_modules/hpagent/test/node-fetch.test.js +0 -103
  463. package/node_modules/hpagent/test/simple-get.test.js +0 -139
  464. package/node_modules/hpagent/test/ssl.cert +0 -19
  465. package/node_modules/hpagent/test/ssl.key +0 -27
  466. package/node_modules/hpagent/test/utils.js +0 -59
  467. package/node_modules/http-cache-semantics/LICENSE +0 -9
  468. package/node_modules/http-cache-semantics/README.md +0 -203
  469. package/node_modules/http-cache-semantics/index.js +0 -674
  470. package/node_modules/http-cache-semantics/package.json +0 -18
  471. package/node_modules/http2-wrapper/LICENSE +0 -21
  472. package/node_modules/http2-wrapper/README.md +0 -470
  473. package/node_modules/http2-wrapper/package.json +0 -54
  474. package/node_modules/http2-wrapper/source/agent.js +0 -670
  475. package/node_modules/http2-wrapper/source/auto.js +0 -149
  476. package/node_modules/http2-wrapper/source/client-request.js +0 -445
  477. package/node_modules/http2-wrapper/source/incoming-message.js +0 -58
  478. package/node_modules/http2-wrapper/source/index.js +0 -28
  479. package/node_modules/http2-wrapper/source/utils/calculate-server-name.js +0 -27
  480. package/node_modules/http2-wrapper/source/utils/errors.js +0 -45
  481. package/node_modules/http2-wrapper/source/utils/is-request-pseudo-header.js +0 -13
  482. package/node_modules/http2-wrapper/source/utils/proxy-events.js +0 -7
  483. package/node_modules/http2-wrapper/source/utils/url-to-options.js +0 -25
  484. package/node_modules/json-buffer/.travis.yml +0 -3
  485. package/node_modules/json-buffer/LICENSE +0 -22
  486. package/node_modules/json-buffer/README.md +0 -24
  487. package/node_modules/json-buffer/index.js +0 -58
  488. package/node_modules/json-buffer/package.json +0 -34
  489. package/node_modules/json-buffer/test/index.js +0 -63
  490. package/node_modules/keyv/README.md +0 -429
  491. package/node_modules/keyv/package.json +0 -57
  492. package/node_modules/keyv/src/index.d.ts +0 -112
  493. package/node_modules/keyv/src/index.js +0 -259
  494. package/node_modules/lowercase-keys/index.d.ts +0 -16
  495. package/node_modules/lowercase-keys/index.js +0 -10
  496. package/node_modules/lowercase-keys/license +0 -9
  497. package/node_modules/lowercase-keys/package.json +0 -38
  498. package/node_modules/lowercase-keys/readme.md +0 -32
  499. package/node_modules/mimic-response/index.d.ts +0 -17
  500. package/node_modules/mimic-response/index.js +0 -77
  501. package/node_modules/mimic-response/license +0 -9
  502. package/node_modules/mimic-response/package.json +0 -42
  503. package/node_modules/mimic-response/readme.md +0 -78
  504. package/node_modules/normalize-url/index.d.ts +0 -267
  505. package/node_modules/normalize-url/index.js +0 -216
  506. package/node_modules/normalize-url/license +0 -9
  507. package/node_modules/normalize-url/package.json +0 -50
  508. package/node_modules/normalize-url/readme.md +0 -286
  509. package/node_modules/once/LICENSE +0 -15
  510. package/node_modules/once/README.md +0 -79
  511. package/node_modules/once/once.js +0 -42
  512. package/node_modules/once/package.json +0 -33
  513. package/node_modules/p-cancelable/index.d.ts +0 -176
  514. package/node_modules/p-cancelable/index.js +0 -111
  515. package/node_modules/p-cancelable/license +0 -9
  516. package/node_modules/p-cancelable/package.json +0 -49
  517. package/node_modules/p-cancelable/readme.md +0 -153
  518. package/node_modules/pump/.github/FUNDING.yml +0 -2
  519. package/node_modules/pump/.travis.yml +0 -5
  520. package/node_modules/pump/LICENSE +0 -21
  521. package/node_modules/pump/README.md +0 -74
  522. package/node_modules/pump/SECURITY.md +0 -5
  523. package/node_modules/pump/index.js +0 -86
  524. package/node_modules/pump/package.json +0 -24
  525. package/node_modules/pump/test-browser.js +0 -66
  526. package/node_modules/pump/test-node.js +0 -53
  527. package/node_modules/quick-lru/index.d.ts +0 -97
  528. package/node_modules/quick-lru/index.js +0 -123
  529. package/node_modules/quick-lru/license +0 -9
  530. package/node_modules/quick-lru/package.json +0 -43
  531. package/node_modules/quick-lru/readme.md +0 -111
  532. package/node_modules/resolve-alpn/LICENSE +0 -22
  533. package/node_modules/resolve-alpn/README.md +0 -60
  534. package/node_modules/resolve-alpn/index.js +0 -43
  535. package/node_modules/resolve-alpn/package.json +0 -34
  536. package/node_modules/responselike/LICENSE +0 -19
  537. package/node_modules/responselike/README.md +0 -77
  538. package/node_modules/responselike/package.json +0 -39
  539. package/node_modules/responselike/src/index.js +0 -34
  540. package/node_modules/wrappy/LICENSE +0 -15
  541. package/node_modules/wrappy/README.md +0 -36
  542. package/node_modules/wrappy/package.json +0 -29
  543. package/node_modules/wrappy/wrappy.js +0 -33
  544. /package/{lambda → lambda-src}/.dockerignore +0 -0
  545. /package/{lambda → lambda-src}/Dockerfile +0 -0
  546. /package/{lambda → lambda-src}/go.mod +0 -0
  547. /package/{lambda → lambda-src}/go.sum +0 -0
  548. /package/{lambda → lambda-src}/internal/iolimits/iolimits.go +0 -0
  549. /package/{lambda → lambda-src}/internal/iolimits/iolimits_test.go +0 -0
  550. /package/{lambda → lambda-src}/internal/tarfile/reader.go +0 -0
  551. /package/{lambda → lambda-src}/internal/tarfile/reader_test.go +0 -0
  552. /package/{lambda → lambda-src}/internal/tarfile/s3file.go +0 -0
  553. /package/{lambda → lambda-src}/internal/tarfile/s3file_test.go +0 -0
  554. /package/{lambda → lambda-src}/internal/tarfile/src.go +0 -0
  555. /package/{lambda → lambda-src}/internal/tarfile/types.go +0 -0
  556. /package/{lambda → lambda-src}/main.go +0 -0
  557. /package/{lambda → lambda-src}/main_test.go +0 -0
  558. /package/{lambda → lambda-src}/s3/src.go +0 -0
  559. /package/{lambda → lambda-src}/s3/transport.go +0 -0
  560. /package/{lambda → lambda-src}/s3/transport_test.go +0 -0
  561. /package/{lambda → lambda-src}/utils.go +0 -0
  562. /package/{lambda → lambda-src}/utils_test.go +0 -0
@@ -1,970 +0,0 @@
1
- /**
2
- * This module provides an implementation of a subset of the W3C [Web Performance APIs](https://w3c.github.io/perf-timing-primer/) as well as additional APIs for
3
- * Node.js-specific performance measurements.
4
- *
5
- * Node.js supports the following [Web Performance APIs](https://w3c.github.io/perf-timing-primer/):
6
- *
7
- * * [High Resolution Time](https://www.w3.org/TR/hr-time-2)
8
- * * [Performance Timeline](https://w3c.github.io/performance-timeline/)
9
- * * [User Timing](https://www.w3.org/TR/user-timing/)
10
- * * [Resource Timing](https://www.w3.org/TR/resource-timing-2/)
11
- *
12
- * ```js
13
- * import { PerformanceObserver, performance } from 'node:perf_hooks';
14
- *
15
- * const obs = new PerformanceObserver((items) => {
16
- * console.log(items.getEntries()[0].duration);
17
- * performance.clearMarks();
18
- * });
19
- * obs.observe({ type: 'measure' });
20
- * performance.measure('Start to Now');
21
- *
22
- * performance.mark('A');
23
- * doSomeLongRunningProcess(() => {
24
- * performance.measure('A to Now', 'A');
25
- *
26
- * performance.mark('B');
27
- * performance.measure('A to B', 'A', 'B');
28
- * });
29
- * ```
30
- * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/perf_hooks.js)
31
- */
32
- declare module "perf_hooks" {
33
- import { AsyncResource } from "node:async_hooks";
34
- type EntryType =
35
- | "dns" // Node.js only
36
- | "function" // Node.js only
37
- | "gc" // Node.js only
38
- | "http2" // Node.js only
39
- | "http" // Node.js only
40
- | "mark" // available on the Web
41
- | "measure" // available on the Web
42
- | "net" // Node.js only
43
- | "node" // Node.js only
44
- | "resource"; // available on the Web
45
- interface NodeGCPerformanceDetail {
46
- /**
47
- * When `performanceEntry.entryType` is equal to 'gc', the `performance.kind` property identifies
48
- * the type of garbage collection operation that occurred.
49
- * See perf_hooks.constants for valid values.
50
- */
51
- readonly kind?: number | undefined;
52
- /**
53
- * When `performanceEntry.entryType` is equal to 'gc', the `performance.flags`
54
- * property contains additional information about garbage collection operation.
55
- * See perf_hooks.constants for valid values.
56
- */
57
- readonly flags?: number | undefined;
58
- }
59
- /**
60
- * The constructor of this class is not exposed to users directly.
61
- * @since v8.5.0
62
- */
63
- class PerformanceEntry {
64
- protected constructor();
65
- /**
66
- * The total number of milliseconds elapsed for this entry. This value will not
67
- * be meaningful for all Performance Entry types.
68
- * @since v8.5.0
69
- */
70
- readonly duration: number;
71
- /**
72
- * The name of the performance entry.
73
- * @since v8.5.0
74
- */
75
- readonly name: string;
76
- /**
77
- * The high resolution millisecond timestamp marking the starting time of the
78
- * Performance Entry.
79
- * @since v8.5.0
80
- */
81
- readonly startTime: number;
82
- /**
83
- * The type of the performance entry. It may be one of:
84
- *
85
- * * `'node'` (Node.js only)
86
- * * `'mark'` (available on the Web)
87
- * * `'measure'` (available on the Web)
88
- * * `'gc'` (Node.js only)
89
- * * `'function'` (Node.js only)
90
- * * `'http2'` (Node.js only)
91
- * * `'http'` (Node.js only)
92
- * @since v8.5.0
93
- */
94
- readonly entryType: EntryType;
95
- /**
96
- * Additional detail specific to the `entryType`.
97
- * @since v16.0.0
98
- */
99
- readonly detail?: NodeGCPerformanceDetail | unknown | undefined; // TODO: Narrow this based on entry type.
100
- toJSON(): any;
101
- }
102
- /**
103
- * Exposes marks created via the `Performance.mark()` method.
104
- * @since v18.2.0, v16.17.0
105
- */
106
- class PerformanceMark extends PerformanceEntry {
107
- readonly duration: 0;
108
- readonly entryType: "mark";
109
- }
110
- /**
111
- * Exposes measures created via the `Performance.measure()` method.
112
- *
113
- * The constructor of this class is not exposed to users directly.
114
- * @since v18.2.0, v16.17.0
115
- */
116
- class PerformanceMeasure extends PerformanceEntry {
117
- readonly entryType: "measure";
118
- }
119
- interface UVMetrics {
120
- /**
121
- * Number of event loop iterations.
122
- */
123
- readonly loopCount: number;
124
- /**
125
- * Number of events that have been processed by the event handler.
126
- */
127
- readonly events: number;
128
- /**
129
- * Number of events that were waiting to be processed when the event provider was called.
130
- */
131
- readonly eventsWaiting: number;
132
- }
133
- /**
134
- * _This property is an extension by Node.js. It is not available in Web browsers._
135
- *
136
- * Provides timing details for Node.js itself. The constructor of this class
137
- * is not exposed to users.
138
- * @since v8.5.0
139
- */
140
- class PerformanceNodeTiming extends PerformanceEntry {
141
- readonly entryType: "node";
142
- /**
143
- * The high resolution millisecond timestamp at which the Node.js process
144
- * completed bootstrapping. If bootstrapping has not yet finished, the property
145
- * has the value of -1.
146
- * @since v8.5.0
147
- */
148
- readonly bootstrapComplete: number;
149
- /**
150
- * The high resolution millisecond timestamp at which the Node.js environment was
151
- * initialized.
152
- * @since v8.5.0
153
- */
154
- readonly environment: number;
155
- /**
156
- * The high resolution millisecond timestamp of the amount of time the event loop
157
- * has been idle within the event loop's event provider (e.g. `epoll_wait`). This
158
- * does not take CPU usage into consideration. If the event loop has not yet
159
- * started (e.g., in the first tick of the main script), the property has the
160
- * value of 0.
161
- * @since v14.10.0, v12.19.0
162
- */
163
- readonly idleTime: number;
164
- /**
165
- * The high resolution millisecond timestamp at which the Node.js event loop
166
- * exited. If the event loop has not yet exited, the property has the value of -1\.
167
- * It can only have a value of not -1 in a handler of the `'exit'` event.
168
- * @since v8.5.0
169
- */
170
- readonly loopExit: number;
171
- /**
172
- * The high resolution millisecond timestamp at which the Node.js event loop
173
- * started. If the event loop has not yet started (e.g., in the first tick of the
174
- * main script), the property has the value of -1.
175
- * @since v8.5.0
176
- */
177
- readonly loopStart: number;
178
- /**
179
- * The high resolution millisecond timestamp at which the Node.js process was initialized.
180
- * @since v8.5.0
181
- */
182
- readonly nodeStart: number;
183
- /**
184
- * This is a wrapper to the `uv_metrics_info` function.
185
- * It returns the current set of event loop metrics.
186
- *
187
- * It is recommended to use this property inside a function whose execution was
188
- * scheduled using `setImmediate` to avoid collecting metrics before finishing all
189
- * operations scheduled during the current loop iteration.
190
- * @since v22.8.0, v20.18.0
191
- */
192
- readonly uvMetricsInfo: UVMetrics;
193
- /**
194
- * The high resolution millisecond timestamp at which the V8 platform was
195
- * initialized.
196
- * @since v8.5.0
197
- */
198
- readonly v8Start: number;
199
- }
200
- interface EventLoopUtilization {
201
- idle: number;
202
- active: number;
203
- utilization: number;
204
- }
205
- /**
206
- * @param utilization1 The result of a previous call to `eventLoopUtilization()`.
207
- * @param utilization2 The result of a previous call to `eventLoopUtilization()` prior to `utilization1`.
208
- */
209
- type EventLoopUtilityFunction = (
210
- utilization1?: EventLoopUtilization,
211
- utilization2?: EventLoopUtilization,
212
- ) => EventLoopUtilization;
213
- interface MarkOptions {
214
- /**
215
- * Additional optional detail to include with the mark.
216
- */
217
- detail?: unknown | undefined;
218
- /**
219
- * An optional timestamp to be used as the mark time.
220
- * @default `performance.now()`
221
- */
222
- startTime?: number | undefined;
223
- }
224
- interface MeasureOptions {
225
- /**
226
- * Additional optional detail to include with the mark.
227
- */
228
- detail?: unknown | undefined;
229
- /**
230
- * Duration between start and end times.
231
- */
232
- duration?: number | undefined;
233
- /**
234
- * Timestamp to be used as the end time, or a string identifying a previously recorded mark.
235
- */
236
- end?: number | string | undefined;
237
- /**
238
- * Timestamp to be used as the start time, or a string identifying a previously recorded mark.
239
- */
240
- start?: number | string | undefined;
241
- }
242
- interface TimerifyOptions {
243
- /**
244
- * A histogram object created using `perf_hooks.createHistogram()` that will record runtime
245
- * durations in nanoseconds.
246
- */
247
- histogram?: RecordableHistogram | undefined;
248
- }
249
- interface Performance {
250
- /**
251
- * If `name` is not provided, removes all `PerformanceMark` objects from the Performance Timeline.
252
- * If `name` is provided, removes only the named mark.
253
- * @since v8.5.0
254
- */
255
- clearMarks(name?: string): void;
256
- /**
257
- * If `name` is not provided, removes all `PerformanceMeasure` objects from the Performance Timeline.
258
- * If `name` is provided, removes only the named measure.
259
- * @since v16.7.0
260
- */
261
- clearMeasures(name?: string): void;
262
- /**
263
- * If `name` is not provided, removes all `PerformanceResourceTiming` objects from the Resource Timeline.
264
- * If `name` is provided, removes only the named resource.
265
- * @since v18.2.0, v16.17.0
266
- */
267
- clearResourceTimings(name?: string): void;
268
- /**
269
- * eventLoopUtilization is similar to CPU utilization except that it is calculated using high precision wall-clock time.
270
- * It represents the percentage of time the event loop has spent outside the event loop's event provider (e.g. epoll_wait).
271
- * No other CPU idle time is taken into consideration.
272
- */
273
- eventLoopUtilization: EventLoopUtilityFunction;
274
- /**
275
- * Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime`.
276
- * If you are only interested in performance entries of certain types or that have certain names, see
277
- * `performance.getEntriesByType()` and `performance.getEntriesByName()`.
278
- * @since v16.7.0
279
- */
280
- getEntries(): PerformanceEntry[];
281
- /**
282
- * Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime`
283
- * whose `performanceEntry.name` is equal to `name`, and optionally, whose `performanceEntry.entryType` is equal to `type`.
284
- * @param name
285
- * @param type
286
- * @since v16.7.0
287
- */
288
- getEntriesByName(name: string, type?: EntryType): PerformanceEntry[];
289
- /**
290
- * Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime`
291
- * whose `performanceEntry.entryType` is equal to `type`.
292
- * @param type
293
- * @since v16.7.0
294
- */
295
- getEntriesByType(type: EntryType): PerformanceEntry[];
296
- /**
297
- * Creates a new `PerformanceMark` entry in the Performance Timeline.
298
- * A `PerformanceMark` is a subclass of `PerformanceEntry` whose `performanceEntry.entryType` is always `'mark'`,
299
- * and whose `performanceEntry.duration` is always `0`.
300
- * Performance marks are used to mark specific significant moments in the Performance Timeline.
301
- *
302
- * The created `PerformanceMark` entry is put in the global Performance Timeline and can be queried with
303
- * `performance.getEntries`, `performance.getEntriesByName`, and `performance.getEntriesByType`. When the observation is
304
- * performed, the entries should be cleared from the global Performance Timeline manually with `performance.clearMarks`.
305
- * @param name
306
- */
307
- mark(name: string, options?: MarkOptions): PerformanceMark;
308
- /**
309
- * Creates a new `PerformanceResourceTiming` entry in the Resource Timeline.
310
- * A `PerformanceResourceTiming` is a subclass of `PerformanceEntry` whose `performanceEntry.entryType` is always `'resource'`.
311
- * Performance resources are used to mark moments in the Resource Timeline.
312
- * @param timingInfo [Fetch Timing Info](https://fetch.spec.whatwg.org/#fetch-timing-info)
313
- * @param requestedUrl The resource url
314
- * @param initiatorType The initiator name, e.g: 'fetch'
315
- * @param global
316
- * @param cacheMode The cache mode must be an empty string ('') or 'local'
317
- * @param bodyInfo [Fetch Response Body Info](https://fetch.spec.whatwg.org/#response-body-info)
318
- * @param responseStatus The response's status code
319
- * @param deliveryType The delivery type. Default: ''.
320
- * @since v18.2.0, v16.17.0
321
- */
322
- markResourceTiming(
323
- timingInfo: object,
324
- requestedUrl: string,
325
- initiatorType: string,
326
- global: object,
327
- cacheMode: "" | "local",
328
- bodyInfo: object,
329
- responseStatus: number,
330
- deliveryType?: string,
331
- ): PerformanceResourceTiming;
332
- /**
333
- * Creates a new PerformanceMeasure entry in the Performance Timeline.
334
- * A PerformanceMeasure is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'measure',
335
- * and whose performanceEntry.duration measures the number of milliseconds elapsed since startMark and endMark.
336
- *
337
- * The startMark argument may identify any existing PerformanceMark in the the Performance Timeline, or may identify
338
- * any of the timestamp properties provided by the PerformanceNodeTiming class. If the named startMark does not exist,
339
- * then startMark is set to timeOrigin by default.
340
- *
341
- * The endMark argument must identify any existing PerformanceMark in the the Performance Timeline or any of the timestamp
342
- * properties provided by the PerformanceNodeTiming class. If the named endMark does not exist, an error will be thrown.
343
- * @param name
344
- * @param startMark
345
- * @param endMark
346
- * @return The PerformanceMeasure entry that was created
347
- */
348
- measure(name: string, startMark?: string, endMark?: string): PerformanceMeasure;
349
- measure(name: string, options: MeasureOptions): PerformanceMeasure;
350
- /**
351
- * _This property is an extension by Node.js. It is not available in Web browsers._
352
- *
353
- * An instance of the `PerformanceNodeTiming` class that provides performance metrics for specific Node.js operational milestones.
354
- * @since v8.5.0
355
- */
356
- readonly nodeTiming: PerformanceNodeTiming;
357
- /**
358
- * Returns the current high resolution millisecond timestamp, where 0 represents the start of the current `node` process.
359
- * @since v8.5.0
360
- */
361
- now(): number;
362
- /**
363
- * Sets the global performance resource timing buffer size to the specified number of "resource" type performance entry objects.
364
- *
365
- * By default the max buffer size is set to 250.
366
- * @since v18.8.0
367
- */
368
- setResourceTimingBufferSize(maxSize: number): void;
369
- /**
370
- * The [`timeOrigin`](https://w3c.github.io/hr-time/#dom-performance-timeorigin) specifies the high resolution millisecond timestamp
371
- * at which the current `node` process began, measured in Unix time.
372
- * @since v8.5.0
373
- */
374
- readonly timeOrigin: number;
375
- /**
376
- * _This property is an extension by Node.js. It is not available in Web browsers._
377
- *
378
- * Wraps a function within a new function that measures the running time of the wrapped function.
379
- * A `PerformanceObserver` must be subscribed to the `'function'` event type in order for the timing details to be accessed.
380
- *
381
- * ```js
382
- * import {
383
- * performance,
384
- * PerformanceObserver,
385
- * } from 'node:perf_hooks';
386
- *
387
- * function someFunction() {
388
- * console.log('hello world');
389
- * }
390
- *
391
- * const wrapped = performance.timerify(someFunction);
392
- *
393
- * const obs = new PerformanceObserver((list) => {
394
- * console.log(list.getEntries()[0].duration);
395
- *
396
- * performance.clearMarks();
397
- * performance.clearMeasures();
398
- * obs.disconnect();
399
- * });
400
- * obs.observe({ entryTypes: ['function'] });
401
- *
402
- * // A performance timeline entry will be created
403
- * wrapped();
404
- * ```
405
- *
406
- * If the wrapped function returns a promise, a finally handler will be attached to the promise and the duration will be reported
407
- * once the finally handler is invoked.
408
- * @param fn
409
- */
410
- timerify<T extends (...params: any[]) => any>(fn: T, options?: TimerifyOptions): T;
411
- /**
412
- * An object which is JSON representation of the performance object. It is similar to
413
- * [`window.performance.toJSON`](https://developer.mozilla.org/en-US/docs/Web/API/Performance/toJSON) in browsers.
414
- * @since v16.1.0
415
- */
416
- toJSON(): any;
417
- }
418
- class PerformanceObserverEntryList {
419
- /**
420
- * Returns a list of `PerformanceEntry` objects in chronological order
421
- * with respect to `performanceEntry.startTime`.
422
- *
423
- * ```js
424
- * import {
425
- * performance,
426
- * PerformanceObserver,
427
- * } from 'node:perf_hooks';
428
- *
429
- * const obs = new PerformanceObserver((perfObserverList, observer) => {
430
- * console.log(perfObserverList.getEntries());
431
- *
432
- * * [
433
- * * PerformanceEntry {
434
- * * name: 'test',
435
- * * entryType: 'mark',
436
- * * startTime: 81.465639,
437
- * * duration: 0,
438
- * * detail: null
439
- * * },
440
- * * PerformanceEntry {
441
- * * name: 'meow',
442
- * * entryType: 'mark',
443
- * * startTime: 81.860064,
444
- * * duration: 0,
445
- * * detail: null
446
- * * }
447
- * * ]
448
- *
449
- * performance.clearMarks();
450
- * performance.clearMeasures();
451
- * observer.disconnect();
452
- * });
453
- * obs.observe({ type: 'mark' });
454
- *
455
- * performance.mark('test');
456
- * performance.mark('meow');
457
- * ```
458
- * @since v8.5.0
459
- */
460
- getEntries(): PerformanceEntry[];
461
- /**
462
- * Returns a list of `PerformanceEntry` objects in chronological order
463
- * with respect to `performanceEntry.startTime` whose `performanceEntry.name` is
464
- * equal to `name`, and optionally, whose `performanceEntry.entryType` is equal to`type`.
465
- *
466
- * ```js
467
- * import {
468
- * performance,
469
- * PerformanceObserver,
470
- * } from 'node:perf_hooks';
471
- *
472
- * const obs = new PerformanceObserver((perfObserverList, observer) => {
473
- * console.log(perfObserverList.getEntriesByName('meow'));
474
- *
475
- * * [
476
- * * PerformanceEntry {
477
- * * name: 'meow',
478
- * * entryType: 'mark',
479
- * * startTime: 98.545991,
480
- * * duration: 0,
481
- * * detail: null
482
- * * }
483
- * * ]
484
- *
485
- * console.log(perfObserverList.getEntriesByName('nope')); // []
486
- *
487
- * console.log(perfObserverList.getEntriesByName('test', 'mark'));
488
- *
489
- * * [
490
- * * PerformanceEntry {
491
- * * name: 'test',
492
- * * entryType: 'mark',
493
- * * startTime: 63.518931,
494
- * * duration: 0,
495
- * * detail: null
496
- * * }
497
- * * ]
498
- *
499
- * console.log(perfObserverList.getEntriesByName('test', 'measure')); // []
500
- *
501
- * performance.clearMarks();
502
- * performance.clearMeasures();
503
- * observer.disconnect();
504
- * });
505
- * obs.observe({ entryTypes: ['mark', 'measure'] });
506
- *
507
- * performance.mark('test');
508
- * performance.mark('meow');
509
- * ```
510
- * @since v8.5.0
511
- */
512
- getEntriesByName(name: string, type?: EntryType): PerformanceEntry[];
513
- /**
514
- * Returns a list of `PerformanceEntry` objects in chronological order
515
- * with respect to `performanceEntry.startTime` whose `performanceEntry.entryType` is equal to `type`.
516
- *
517
- * ```js
518
- * import {
519
- * performance,
520
- * PerformanceObserver,
521
- * } from 'node:perf_hooks';
522
- *
523
- * const obs = new PerformanceObserver((perfObserverList, observer) => {
524
- * console.log(perfObserverList.getEntriesByType('mark'));
525
- *
526
- * * [
527
- * * PerformanceEntry {
528
- * * name: 'test',
529
- * * entryType: 'mark',
530
- * * startTime: 55.897834,
531
- * * duration: 0,
532
- * * detail: null
533
- * * },
534
- * * PerformanceEntry {
535
- * * name: 'meow',
536
- * * entryType: 'mark',
537
- * * startTime: 56.350146,
538
- * * duration: 0,
539
- * * detail: null
540
- * * }
541
- * * ]
542
- *
543
- * performance.clearMarks();
544
- * performance.clearMeasures();
545
- * observer.disconnect();
546
- * });
547
- * obs.observe({ type: 'mark' });
548
- *
549
- * performance.mark('test');
550
- * performance.mark('meow');
551
- * ```
552
- * @since v8.5.0
553
- */
554
- getEntriesByType(type: EntryType): PerformanceEntry[];
555
- }
556
- type PerformanceObserverCallback = (list: PerformanceObserverEntryList, observer: PerformanceObserver) => void;
557
- /**
558
- * @since v8.5.0
559
- */
560
- class PerformanceObserver extends AsyncResource {
561
- constructor(callback: PerformanceObserverCallback);
562
- /**
563
- * Disconnects the `PerformanceObserver` instance from all notifications.
564
- * @since v8.5.0
565
- */
566
- disconnect(): void;
567
- /**
568
- * Subscribes the `PerformanceObserver` instance to notifications of new `PerformanceEntry` instances identified either by `options.entryTypes` or `options.type`:
569
- *
570
- * ```js
571
- * import {
572
- * performance,
573
- * PerformanceObserver,
574
- * } from 'node:perf_hooks';
575
- *
576
- * const obs = new PerformanceObserver((list, observer) => {
577
- * // Called once asynchronously. `list` contains three items.
578
- * });
579
- * obs.observe({ type: 'mark' });
580
- *
581
- * for (let n = 0; n < 3; n++)
582
- * performance.mark(`test${n}`);
583
- * ```
584
- * @since v8.5.0
585
- */
586
- observe(
587
- options:
588
- | {
589
- entryTypes: readonly EntryType[];
590
- buffered?: boolean | undefined;
591
- }
592
- | {
593
- type: EntryType;
594
- buffered?: boolean | undefined;
595
- },
596
- ): void;
597
- /**
598
- * @since v16.0.0
599
- * @returns Current list of entries stored in the performance observer, emptying it out.
600
- */
601
- takeRecords(): PerformanceEntry[];
602
- }
603
- /**
604
- * Provides detailed network timing data regarding the loading of an application's resources.
605
- *
606
- * The constructor of this class is not exposed to users directly.
607
- * @since v18.2.0, v16.17.0
608
- */
609
- class PerformanceResourceTiming extends PerformanceEntry {
610
- readonly entryType: "resource";
611
- protected constructor();
612
- /**
613
- * The high resolution millisecond timestamp at immediately before dispatching the `fetch`
614
- * request. If the resource is not intercepted by a worker the property will always return 0.
615
- * @since v18.2.0, v16.17.0
616
- */
617
- readonly workerStart: number;
618
- /**
619
- * The high resolution millisecond timestamp that represents the start time of the fetch which
620
- * initiates the redirect.
621
- * @since v18.2.0, v16.17.0
622
- */
623
- readonly redirectStart: number;
624
- /**
625
- * The high resolution millisecond timestamp that will be created immediately after receiving
626
- * the last byte of the response of the last redirect.
627
- * @since v18.2.0, v16.17.0
628
- */
629
- readonly redirectEnd: number;
630
- /**
631
- * The high resolution millisecond timestamp immediately before the Node.js starts to fetch the resource.
632
- * @since v18.2.0, v16.17.0
633
- */
634
- readonly fetchStart: number;
635
- /**
636
- * The high resolution millisecond timestamp immediately before the Node.js starts the domain name lookup
637
- * for the resource.
638
- * @since v18.2.0, v16.17.0
639
- */
640
- readonly domainLookupStart: number;
641
- /**
642
- * The high resolution millisecond timestamp representing the time immediately after the Node.js finished
643
- * the domain name lookup for the resource.
644
- * @since v18.2.0, v16.17.0
645
- */
646
- readonly domainLookupEnd: number;
647
- /**
648
- * The high resolution millisecond timestamp representing the time immediately before Node.js starts to
649
- * establish the connection to the server to retrieve the resource.
650
- * @since v18.2.0, v16.17.0
651
- */
652
- readonly connectStart: number;
653
- /**
654
- * The high resolution millisecond timestamp representing the time immediately after Node.js finishes
655
- * establishing the connection to the server to retrieve the resource.
656
- * @since v18.2.0, v16.17.0
657
- */
658
- readonly connectEnd: number;
659
- /**
660
- * The high resolution millisecond timestamp representing the time immediately before Node.js starts the
661
- * handshake process to secure the current connection.
662
- * @since v18.2.0, v16.17.0
663
- */
664
- readonly secureConnectionStart: number;
665
- /**
666
- * The high resolution millisecond timestamp representing the time immediately before Node.js receives the
667
- * first byte of the response from the server.
668
- * @since v18.2.0, v16.17.0
669
- */
670
- readonly requestStart: number;
671
- /**
672
- * The high resolution millisecond timestamp representing the time immediately after Node.js receives the
673
- * last byte of the resource or immediately before the transport connection is closed, whichever comes first.
674
- * @since v18.2.0, v16.17.0
675
- */
676
- readonly responseEnd: number;
677
- /**
678
- * A number representing the size (in octets) of the fetched resource. The size includes the response header
679
- * fields plus the response payload body.
680
- * @since v18.2.0, v16.17.0
681
- */
682
- readonly transferSize: number;
683
- /**
684
- * A number representing the size (in octets) received from the fetch (HTTP or cache), of the payload body, before
685
- * removing any applied content-codings.
686
- * @since v18.2.0, v16.17.0
687
- */
688
- readonly encodedBodySize: number;
689
- /**
690
- * A number representing the size (in octets) received from the fetch (HTTP or cache), of the message body, after
691
- * removing any applied content-codings.
692
- * @since v18.2.0, v16.17.0
693
- */
694
- readonly decodedBodySize: number;
695
- /**
696
- * Returns a `object` that is the JSON representation of the `PerformanceResourceTiming` object
697
- * @since v18.2.0, v16.17.0
698
- */
699
- toJSON(): any;
700
- }
701
- namespace constants {
702
- const NODE_PERFORMANCE_GC_MAJOR: number;
703
- const NODE_PERFORMANCE_GC_MINOR: number;
704
- const NODE_PERFORMANCE_GC_INCREMENTAL: number;
705
- const NODE_PERFORMANCE_GC_WEAKCB: number;
706
- const NODE_PERFORMANCE_GC_FLAGS_NO: number;
707
- const NODE_PERFORMANCE_GC_FLAGS_CONSTRUCT_RETAINED: number;
708
- const NODE_PERFORMANCE_GC_FLAGS_FORCED: number;
709
- const NODE_PERFORMANCE_GC_FLAGS_SYNCHRONOUS_PHANTOM_PROCESSING: number;
710
- const NODE_PERFORMANCE_GC_FLAGS_ALL_AVAILABLE_GARBAGE: number;
711
- const NODE_PERFORMANCE_GC_FLAGS_ALL_EXTERNAL_MEMORY: number;
712
- const NODE_PERFORMANCE_GC_FLAGS_SCHEDULE_IDLE: number;
713
- }
714
- const performance: Performance;
715
- interface EventLoopMonitorOptions {
716
- /**
717
- * The sampling rate in milliseconds.
718
- * Must be greater than zero.
719
- * @default 10
720
- */
721
- resolution?: number | undefined;
722
- }
723
- interface Histogram {
724
- /**
725
- * The number of samples recorded by the histogram.
726
- * @since v17.4.0, v16.14.0
727
- */
728
- readonly count: number;
729
- /**
730
- * The number of samples recorded by the histogram.
731
- * v17.4.0, v16.14.0
732
- */
733
- readonly countBigInt: bigint;
734
- /**
735
- * The number of times the event loop delay exceeded the maximum 1 hour event
736
- * loop delay threshold.
737
- * @since v11.10.0
738
- */
739
- readonly exceeds: number;
740
- /**
741
- * The number of times the event loop delay exceeded the maximum 1 hour event loop delay threshold.
742
- * @since v17.4.0, v16.14.0
743
- */
744
- readonly exceedsBigInt: bigint;
745
- /**
746
- * The maximum recorded event loop delay.
747
- * @since v11.10.0
748
- */
749
- readonly max: number;
750
- /**
751
- * The maximum recorded event loop delay.
752
- * v17.4.0, v16.14.0
753
- */
754
- readonly maxBigInt: number;
755
- /**
756
- * The mean of the recorded event loop delays.
757
- * @since v11.10.0
758
- */
759
- readonly mean: number;
760
- /**
761
- * The minimum recorded event loop delay.
762
- * @since v11.10.0
763
- */
764
- readonly min: number;
765
- /**
766
- * The minimum recorded event loop delay.
767
- * v17.4.0, v16.14.0
768
- */
769
- readonly minBigInt: bigint;
770
- /**
771
- * Returns the value at the given percentile.
772
- * @since v11.10.0
773
- * @param percentile A percentile value in the range (0, 100].
774
- */
775
- percentile(percentile: number): number;
776
- /**
777
- * Returns the value at the given percentile.
778
- * @since v17.4.0, v16.14.0
779
- * @param percentile A percentile value in the range (0, 100].
780
- */
781
- percentileBigInt(percentile: number): bigint;
782
- /**
783
- * Returns a `Map` object detailing the accumulated percentile distribution.
784
- * @since v11.10.0
785
- */
786
- readonly percentiles: Map<number, number>;
787
- /**
788
- * Returns a `Map` object detailing the accumulated percentile distribution.
789
- * @since v17.4.0, v16.14.0
790
- */
791
- readonly percentilesBigInt: Map<bigint, bigint>;
792
- /**
793
- * Resets the collected histogram data.
794
- * @since v11.10.0
795
- */
796
- reset(): void;
797
- /**
798
- * The standard deviation of the recorded event loop delays.
799
- * @since v11.10.0
800
- */
801
- readonly stddev: number;
802
- }
803
- interface IntervalHistogram extends Histogram {
804
- /**
805
- * Enables the update interval timer. Returns `true` if the timer was
806
- * started, `false` if it was already started.
807
- * @since v11.10.0
808
- */
809
- enable(): boolean;
810
- /**
811
- * Disables the update interval timer. Returns `true` if the timer was
812
- * stopped, `false` if it was already stopped.
813
- * @since v11.10.0
814
- */
815
- disable(): boolean;
816
- }
817
- interface RecordableHistogram extends Histogram {
818
- /**
819
- * @since v15.9.0, v14.18.0
820
- * @param val The amount to record in the histogram.
821
- */
822
- record(val: number | bigint): void;
823
- /**
824
- * Calculates the amount of time (in nanoseconds) that has passed since the
825
- * previous call to `recordDelta()` and records that amount in the histogram.
826
- * @since v15.9.0, v14.18.0
827
- */
828
- recordDelta(): void;
829
- /**
830
- * Adds the values from `other` to this histogram.
831
- * @since v17.4.0, v16.14.0
832
- */
833
- add(other: RecordableHistogram): void;
834
- }
835
- /**
836
- * _This property is an extension by Node.js. It is not available in Web browsers._
837
- *
838
- * Creates an `IntervalHistogram` object that samples and reports the event loop
839
- * delay over time. The delays will be reported in nanoseconds.
840
- *
841
- * Using a timer to detect approximate event loop delay works because the
842
- * execution of timers is tied specifically to the lifecycle of the libuv
843
- * event loop. That is, a delay in the loop will cause a delay in the execution
844
- * of the timer, and those delays are specifically what this API is intended to
845
- * detect.
846
- *
847
- * ```js
848
- * import { monitorEventLoopDelay } from 'node:perf_hooks';
849
- * const h = monitorEventLoopDelay({ resolution: 20 });
850
- * h.enable();
851
- * // Do something.
852
- * h.disable();
853
- * console.log(h.min);
854
- * console.log(h.max);
855
- * console.log(h.mean);
856
- * console.log(h.stddev);
857
- * console.log(h.percentiles);
858
- * console.log(h.percentile(50));
859
- * console.log(h.percentile(99));
860
- * ```
861
- * @since v11.10.0
862
- */
863
- function monitorEventLoopDelay(options?: EventLoopMonitorOptions): IntervalHistogram;
864
- interface CreateHistogramOptions {
865
- /**
866
- * The minimum recordable value. Must be an integer value greater than 0.
867
- * @default 1
868
- */
869
- min?: number | bigint | undefined;
870
- /**
871
- * The maximum recordable value. Must be an integer value greater than min.
872
- * @default Number.MAX_SAFE_INTEGER
873
- */
874
- max?: number | bigint | undefined;
875
- /**
876
- * The number of accuracy digits. Must be a number between 1 and 5.
877
- * @default 3
878
- */
879
- figures?: number | undefined;
880
- }
881
- /**
882
- * Returns a `RecordableHistogram`.
883
- * @since v15.9.0, v14.18.0
884
- */
885
- function createHistogram(options?: CreateHistogramOptions): RecordableHistogram;
886
- import {
887
- performance as _performance,
888
- PerformanceEntry as _PerformanceEntry,
889
- PerformanceMark as _PerformanceMark,
890
- PerformanceMeasure as _PerformanceMeasure,
891
- PerformanceObserver as _PerformanceObserver,
892
- PerformanceObserverEntryList as _PerformanceObserverEntryList,
893
- PerformanceResourceTiming as _PerformanceResourceTiming,
894
- } from "perf_hooks";
895
- global {
896
- /**
897
- * `PerformanceEntry` is a global reference for `import { PerformanceEntry } from 'node:perf_hooks'`
898
- * @see https://nodejs.org/docs/latest-v22.x/api/globals.html#performanceentry
899
- * @since v19.0.0
900
- */
901
- var PerformanceEntry: typeof globalThis extends {
902
- onmessage: any;
903
- PerformanceEntry: infer T;
904
- } ? T
905
- : typeof _PerformanceEntry;
906
- /**
907
- * `PerformanceMark` is a global reference for `import { PerformanceMark } from 'node:perf_hooks'`
908
- * @see https://nodejs.org/docs/latest-v22.x/api/globals.html#performancemark
909
- * @since v19.0.0
910
- */
911
- var PerformanceMark: typeof globalThis extends {
912
- onmessage: any;
913
- PerformanceMark: infer T;
914
- } ? T
915
- : typeof _PerformanceMark;
916
- /**
917
- * `PerformanceMeasure` is a global reference for `import { PerformanceMeasure } from 'node:perf_hooks'`
918
- * @see https://nodejs.org/docs/latest-v22.x/api/globals.html#performancemeasure
919
- * @since v19.0.0
920
- */
921
- var PerformanceMeasure: typeof globalThis extends {
922
- onmessage: any;
923
- PerformanceMeasure: infer T;
924
- } ? T
925
- : typeof _PerformanceMeasure;
926
- /**
927
- * `PerformanceObserver` is a global reference for `import { PerformanceObserver } from 'node:perf_hooks'`
928
- * @see https://nodejs.org/docs/latest-v22.x/api/globals.html#performanceobserver
929
- * @since v19.0.0
930
- */
931
- var PerformanceObserver: typeof globalThis extends {
932
- onmessage: any;
933
- PerformanceObserver: infer T;
934
- } ? T
935
- : typeof _PerformanceObserver;
936
- /**
937
- * `PerformanceObserverEntryList` is a global reference for `import { PerformanceObserverEntryList } from 'node:perf_hooks'`
938
- * @see https://nodejs.org/docs/latest-v22.x/api/globals.html#performanceobserverentrylist
939
- * @since v19.0.0
940
- */
941
- var PerformanceObserverEntryList: typeof globalThis extends {
942
- onmessage: any;
943
- PerformanceObserverEntryList: infer T;
944
- } ? T
945
- : typeof _PerformanceObserverEntryList;
946
- /**
947
- * `PerformanceResourceTiming` is a global reference for `import { PerformanceResourceTiming } from 'node:perf_hooks'`
948
- * @see https://nodejs.org/docs/latest-v22.x/api/globals.html#performanceresourcetiming
949
- * @since v19.0.0
950
- */
951
- var PerformanceResourceTiming: typeof globalThis extends {
952
- onmessage: any;
953
- PerformanceResourceTiming: infer T;
954
- } ? T
955
- : typeof _PerformanceResourceTiming;
956
- /**
957
- * `performance` is a global reference for `import { performance } from 'node:perf_hooks'`
958
- * @see https://nodejs.org/docs/latest-v22.x/api/globals.html#performance
959
- * @since v16.0.0
960
- */
961
- var performance: typeof globalThis extends {
962
- onmessage: any;
963
- performance: infer T;
964
- } ? T
965
- : typeof _performance;
966
- }
967
- }
968
- declare module "node:perf_hooks" {
969
- export * from "perf_hooks";
970
- }