cdk-ecr-deployment 3.3.0 → 4.0.0

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 (565) hide show
  1. package/.jsii +26 -107
  2. package/.jsii.tabl.json +1 -1
  3. package/API.md +0 -59
  4. package/README.md +7 -17
  5. package/lib/index.d.ts +1 -29
  6. package/lib/index.js +8 -26
  7. package/package.json +1 -13
  8. package/build-lambda.sh +0 -12
  9. package/lambda-src/.dockerignore +0 -9
  10. package/lambda-src/Dockerfile +0 -26
  11. package/lambda-src/Makefile +0 -33
  12. package/lambda-src/go.mod +0 -136
  13. package/lambda-src/go.sum +0 -499
  14. package/lambda-src/internal/iolimits/iolimits.go +0 -68
  15. package/lambda-src/internal/iolimits/iolimits_test.go +0 -39
  16. package/lambda-src/internal/tarfile/reader.go +0 -179
  17. package/lambda-src/internal/tarfile/reader_test.go +0 -31
  18. package/lambda-src/internal/tarfile/s3file.go +0 -363
  19. package/lambda-src/internal/tarfile/s3file_test.go +0 -135
  20. package/lambda-src/internal/tarfile/src.go +0 -328
  21. package/lambda-src/internal/tarfile/types.go +0 -31
  22. package/lambda-src/main.go +0 -176
  23. package/lambda-src/main_test.go +0 -64
  24. package/lambda-src/s3/src.go +0 -40
  25. package/lambda-src/s3/transport.go +0 -149
  26. package/lambda-src/s3/transport_test.go +0 -96
  27. package/lambda-src/utils.go +0 -206
  28. package/lambda-src/utils_test.go +0 -63
  29. package/lib/config.d.ts +0 -1
  30. package/lib/config.js +0 -12
  31. package/node_modules/@sindresorhus/is/dist/index.d.ts +0 -232
  32. package/node_modules/@sindresorhus/is/dist/index.js +0 -434
  33. package/node_modules/@sindresorhus/is/dist/types.d.ts +0 -25
  34. package/node_modules/@sindresorhus/is/dist/types.js +0 -3
  35. package/node_modules/@sindresorhus/is/license +0 -9
  36. package/node_modules/@sindresorhus/is/package.json +0 -96
  37. package/node_modules/@sindresorhus/is/readme.md +0 -669
  38. package/node_modules/@szmarczak/http-timer/LICENSE +0 -21
  39. package/node_modules/@szmarczak/http-timer/README.md +0 -93
  40. package/node_modules/@szmarczak/http-timer/dist/source/index.d.ts +0 -32
  41. package/node_modules/@szmarczak/http-timer/dist/source/index.js +0 -126
  42. package/node_modules/@szmarczak/http-timer/package.json +0 -72
  43. package/node_modules/@types/cacheable-request/LICENSE +0 -21
  44. package/node_modules/@types/cacheable-request/README.md +0 -16
  45. package/node_modules/@types/cacheable-request/index.d.ts +0 -137
  46. package/node_modules/@types/cacheable-request/node_modules/@types/node/LICENSE +0 -21
  47. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +0 -15
  48. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert/strict.d.ts +0 -8
  49. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +0 -1095
  50. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +0 -541
  51. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.buffer.d.ts +0 -460
  52. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +0 -1926
  53. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +0 -1549
  54. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +0 -579
  55. package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  56. package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/index.d.ts +0 -9
  57. package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  58. package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  59. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +0 -452
  60. package/node_modules/@types/cacheable-request/node_modules/@types/node/constants.d.ts +0 -21
  61. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +0 -4510
  62. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +0 -599
  63. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
  64. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +0 -476
  65. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +0 -865
  66. package/node_modules/@types/cacheable-request/node_modules/@types/node/dom-events.d.ts +0 -124
  67. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +0 -170
  68. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +0 -931
  69. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +0 -1275
  70. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +0 -4343
  71. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +0 -511
  72. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  73. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +0 -1959
  74. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +0 -2558
  75. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +0 -543
  76. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +0 -92
  77. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +0 -3966
  78. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +0 -702
  79. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +0 -1029
  80. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +0 -495
  81. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +0 -220
  82. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +0 -200
  83. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +0 -970
  84. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +0 -2013
  85. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +0 -117
  86. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +0 -153
  87. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline/promises.d.ts +0 -162
  88. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +0 -589
  89. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +0 -430
  90. package/node_modules/@types/cacheable-request/node_modules/@types/node/sea.d.ts +0 -153
  91. package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +0 -439
  92. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/consumers.d.ts +0 -12
  93. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/promises.d.ts +0 -90
  94. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +0 -614
  95. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +0 -1662
  96. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +0 -67
  97. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +0 -2150
  98. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +0 -97
  99. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +0 -240
  100. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +0 -1226
  101. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +0 -197
  102. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -457
  103. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  104. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/index.d.ts +0 -92
  105. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +0 -208
  106. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +0 -972
  107. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +0 -2439
  108. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +0 -808
  109. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +0 -976
  110. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +0 -181
  111. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +0 -745
  112. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +0 -539
  113. package/node_modules/@types/cacheable-request/node_modules/undici-types/LICENSE +0 -21
  114. package/node_modules/@types/cacheable-request/node_modules/undici-types/README.md +0 -6
  115. package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +0 -31
  116. package/node_modules/@types/cacheable-request/node_modules/undici-types/api.d.ts +0 -43
  117. package/node_modules/@types/cacheable-request/node_modules/undici-types/balanced-pool.d.ts +0 -29
  118. package/node_modules/@types/cacheable-request/node_modules/undici-types/cache.d.ts +0 -36
  119. package/node_modules/@types/cacheable-request/node_modules/undici-types/client.d.ts +0 -108
  120. package/node_modules/@types/cacheable-request/node_modules/undici-types/connector.d.ts +0 -34
  121. package/node_modules/@types/cacheable-request/node_modules/undici-types/content-type.d.ts +0 -21
  122. package/node_modules/@types/cacheable-request/node_modules/undici-types/cookies.d.ts +0 -28
  123. package/node_modules/@types/cacheable-request/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  124. package/node_modules/@types/cacheable-request/node_modules/undici-types/dispatcher.d.ts +0 -255
  125. package/node_modules/@types/cacheable-request/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  126. package/node_modules/@types/cacheable-request/node_modules/undici-types/errors.d.ts +0 -149
  127. package/node_modules/@types/cacheable-request/node_modules/undici-types/eventsource.d.ts +0 -61
  128. package/node_modules/@types/cacheable-request/node_modules/undici-types/fetch.d.ts +0 -209
  129. package/node_modules/@types/cacheable-request/node_modules/undici-types/file.d.ts +0 -39
  130. package/node_modules/@types/cacheable-request/node_modules/undici-types/filereader.d.ts +0 -54
  131. package/node_modules/@types/cacheable-request/node_modules/undici-types/formdata.d.ts +0 -108
  132. package/node_modules/@types/cacheable-request/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  133. package/node_modules/@types/cacheable-request/node_modules/undici-types/global-origin.d.ts +0 -7
  134. package/node_modules/@types/cacheable-request/node_modules/undici-types/handlers.d.ts +0 -15
  135. package/node_modules/@types/cacheable-request/node_modules/undici-types/header.d.ts +0 -4
  136. package/node_modules/@types/cacheable-request/node_modules/undici-types/index.d.ts +0 -71
  137. package/node_modules/@types/cacheable-request/node_modules/undici-types/interceptors.d.ts +0 -17
  138. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-agent.d.ts +0 -50
  139. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-client.d.ts +0 -25
  140. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-errors.d.ts +0 -12
  141. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  142. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-pool.d.ts +0 -25
  143. package/node_modules/@types/cacheable-request/node_modules/undici-types/package.json +0 -55
  144. package/node_modules/@types/cacheable-request/node_modules/undici-types/patch.d.ts +0 -33
  145. package/node_modules/@types/cacheable-request/node_modules/undici-types/pool-stats.d.ts +0 -19
  146. package/node_modules/@types/cacheable-request/node_modules/undici-types/pool.d.ts +0 -39
  147. package/node_modules/@types/cacheable-request/node_modules/undici-types/proxy-agent.d.ts +0 -28
  148. package/node_modules/@types/cacheable-request/node_modules/undici-types/readable.d.ts +0 -60
  149. package/node_modules/@types/cacheable-request/node_modules/undici-types/retry-agent.d.ts +0 -8
  150. package/node_modules/@types/cacheable-request/node_modules/undici-types/retry-handler.d.ts +0 -116
  151. package/node_modules/@types/cacheable-request/node_modules/undici-types/util.d.ts +0 -18
  152. package/node_modules/@types/cacheable-request/node_modules/undici-types/webidl.d.ts +0 -222
  153. package/node_modules/@types/cacheable-request/node_modules/undici-types/websocket.d.ts +0 -150
  154. package/node_modules/@types/cacheable-request/package.json +0 -35
  155. package/node_modules/@types/http-cache-semantics/LICENSE +0 -21
  156. package/node_modules/@types/http-cache-semantics/README.md +0 -15
  157. package/node_modules/@types/http-cache-semantics/index.d.ts +0 -165
  158. package/node_modules/@types/http-cache-semantics/package.json +0 -25
  159. package/node_modules/@types/keyv/LICENSE +0 -21
  160. package/node_modules/@types/keyv/README.md +0 -16
  161. package/node_modules/@types/keyv/index.d.ts +0 -90
  162. package/node_modules/@types/keyv/node_modules/@types/node/LICENSE +0 -21
  163. package/node_modules/@types/keyv/node_modules/@types/node/README.md +0 -15
  164. package/node_modules/@types/keyv/node_modules/@types/node/assert/strict.d.ts +0 -8
  165. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +0 -1095
  166. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +0 -541
  167. package/node_modules/@types/keyv/node_modules/@types/node/buffer.buffer.d.ts +0 -460
  168. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +0 -1926
  169. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +0 -1549
  170. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +0 -579
  171. package/node_modules/@types/keyv/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  172. package/node_modules/@types/keyv/node_modules/@types/node/compatibility/index.d.ts +0 -9
  173. package/node_modules/@types/keyv/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  174. package/node_modules/@types/keyv/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  175. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +0 -452
  176. package/node_modules/@types/keyv/node_modules/@types/node/constants.d.ts +0 -21
  177. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +0 -4510
  178. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +0 -599
  179. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
  180. package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +0 -476
  181. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +0 -865
  182. package/node_modules/@types/keyv/node_modules/@types/node/dom-events.d.ts +0 -124
  183. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +0 -170
  184. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +0 -931
  185. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +0 -1275
  186. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +0 -4343
  187. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +0 -511
  188. package/node_modules/@types/keyv/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  189. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +0 -1959
  190. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +0 -2558
  191. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +0 -543
  192. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +0 -92
  193. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +0 -3966
  194. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +0 -702
  195. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +0 -1029
  196. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +0 -495
  197. package/node_modules/@types/keyv/node_modules/@types/node/package.json +0 -220
  198. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +0 -200
  199. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +0 -970
  200. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +0 -2013
  201. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +0 -117
  202. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +0 -153
  203. package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +0 -162
  204. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +0 -589
  205. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +0 -430
  206. package/node_modules/@types/keyv/node_modules/@types/node/sea.d.ts +0 -153
  207. package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +0 -439
  208. package/node_modules/@types/keyv/node_modules/@types/node/stream/consumers.d.ts +0 -12
  209. package/node_modules/@types/keyv/node_modules/@types/node/stream/promises.d.ts +0 -90
  210. package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +0 -614
  211. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +0 -1662
  212. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +0 -67
  213. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +0 -2150
  214. package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +0 -97
  215. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +0 -240
  216. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +0 -1226
  217. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +0 -197
  218. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -457
  219. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  220. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/index.d.ts +0 -92
  221. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +0 -208
  222. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +0 -972
  223. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +0 -2439
  224. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +0 -808
  225. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +0 -976
  226. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +0 -181
  227. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +0 -745
  228. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +0 -539
  229. package/node_modules/@types/keyv/node_modules/undici-types/LICENSE +0 -21
  230. package/node_modules/@types/keyv/node_modules/undici-types/README.md +0 -6
  231. package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +0 -31
  232. package/node_modules/@types/keyv/node_modules/undici-types/api.d.ts +0 -43
  233. package/node_modules/@types/keyv/node_modules/undici-types/balanced-pool.d.ts +0 -29
  234. package/node_modules/@types/keyv/node_modules/undici-types/cache.d.ts +0 -36
  235. package/node_modules/@types/keyv/node_modules/undici-types/client.d.ts +0 -108
  236. package/node_modules/@types/keyv/node_modules/undici-types/connector.d.ts +0 -34
  237. package/node_modules/@types/keyv/node_modules/undici-types/content-type.d.ts +0 -21
  238. package/node_modules/@types/keyv/node_modules/undici-types/cookies.d.ts +0 -28
  239. package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  240. package/node_modules/@types/keyv/node_modules/undici-types/dispatcher.d.ts +0 -255
  241. package/node_modules/@types/keyv/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  242. package/node_modules/@types/keyv/node_modules/undici-types/errors.d.ts +0 -149
  243. package/node_modules/@types/keyv/node_modules/undici-types/eventsource.d.ts +0 -61
  244. package/node_modules/@types/keyv/node_modules/undici-types/fetch.d.ts +0 -209
  245. package/node_modules/@types/keyv/node_modules/undici-types/file.d.ts +0 -39
  246. package/node_modules/@types/keyv/node_modules/undici-types/filereader.d.ts +0 -54
  247. package/node_modules/@types/keyv/node_modules/undici-types/formdata.d.ts +0 -108
  248. package/node_modules/@types/keyv/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  249. package/node_modules/@types/keyv/node_modules/undici-types/global-origin.d.ts +0 -7
  250. package/node_modules/@types/keyv/node_modules/undici-types/handlers.d.ts +0 -15
  251. package/node_modules/@types/keyv/node_modules/undici-types/header.d.ts +0 -4
  252. package/node_modules/@types/keyv/node_modules/undici-types/index.d.ts +0 -71
  253. package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +0 -17
  254. package/node_modules/@types/keyv/node_modules/undici-types/mock-agent.d.ts +0 -50
  255. package/node_modules/@types/keyv/node_modules/undici-types/mock-client.d.ts +0 -25
  256. package/node_modules/@types/keyv/node_modules/undici-types/mock-errors.d.ts +0 -12
  257. package/node_modules/@types/keyv/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  258. package/node_modules/@types/keyv/node_modules/undici-types/mock-pool.d.ts +0 -25
  259. package/node_modules/@types/keyv/node_modules/undici-types/package.json +0 -55
  260. package/node_modules/@types/keyv/node_modules/undici-types/patch.d.ts +0 -33
  261. package/node_modules/@types/keyv/node_modules/undici-types/pool-stats.d.ts +0 -19
  262. package/node_modules/@types/keyv/node_modules/undici-types/pool.d.ts +0 -39
  263. package/node_modules/@types/keyv/node_modules/undici-types/proxy-agent.d.ts +0 -28
  264. package/node_modules/@types/keyv/node_modules/undici-types/readable.d.ts +0 -60
  265. package/node_modules/@types/keyv/node_modules/undici-types/retry-agent.d.ts +0 -8
  266. package/node_modules/@types/keyv/node_modules/undici-types/retry-handler.d.ts +0 -116
  267. package/node_modules/@types/keyv/node_modules/undici-types/util.d.ts +0 -18
  268. package/node_modules/@types/keyv/node_modules/undici-types/webidl.d.ts +0 -222
  269. package/node_modules/@types/keyv/node_modules/undici-types/websocket.d.ts +0 -150
  270. package/node_modules/@types/keyv/package.json +0 -32
  271. package/node_modules/@types/responselike/LICENSE +0 -21
  272. package/node_modules/@types/responselike/README.md +0 -48
  273. package/node_modules/@types/responselike/index.d.ts +0 -29
  274. package/node_modules/@types/responselike/node_modules/@types/node/LICENSE +0 -21
  275. package/node_modules/@types/responselike/node_modules/@types/node/README.md +0 -15
  276. package/node_modules/@types/responselike/node_modules/@types/node/assert/strict.d.ts +0 -8
  277. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +0 -1095
  278. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +0 -541
  279. package/node_modules/@types/responselike/node_modules/@types/node/buffer.buffer.d.ts +0 -460
  280. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +0 -1926
  281. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +0 -1549
  282. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +0 -579
  283. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  284. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/index.d.ts +0 -9
  285. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  286. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  287. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +0 -452
  288. package/node_modules/@types/responselike/node_modules/@types/node/constants.d.ts +0 -21
  289. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +0 -4510
  290. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +0 -599
  291. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
  292. package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +0 -476
  293. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +0 -865
  294. package/node_modules/@types/responselike/node_modules/@types/node/dom-events.d.ts +0 -124
  295. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +0 -170
  296. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +0 -931
  297. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +0 -1275
  298. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +0 -4343
  299. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +0 -511
  300. package/node_modules/@types/responselike/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  301. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +0 -1959
  302. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +0 -2558
  303. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +0 -543
  304. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +0 -92
  305. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +0 -3966
  306. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +0 -702
  307. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +0 -1029
  308. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +0 -495
  309. package/node_modules/@types/responselike/node_modules/@types/node/package.json +0 -220
  310. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +0 -200
  311. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +0 -970
  312. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +0 -2013
  313. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +0 -117
  314. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +0 -153
  315. package/node_modules/@types/responselike/node_modules/@types/node/readline/promises.d.ts +0 -162
  316. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +0 -589
  317. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +0 -430
  318. package/node_modules/@types/responselike/node_modules/@types/node/sea.d.ts +0 -153
  319. package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +0 -439
  320. package/node_modules/@types/responselike/node_modules/@types/node/stream/consumers.d.ts +0 -12
  321. package/node_modules/@types/responselike/node_modules/@types/node/stream/promises.d.ts +0 -90
  322. package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +0 -614
  323. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +0 -1662
  324. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +0 -67
  325. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +0 -2150
  326. package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +0 -97
  327. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +0 -240
  328. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +0 -1226
  329. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +0 -197
  330. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -457
  331. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  332. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/index.d.ts +0 -92
  333. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +0 -208
  334. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +0 -972
  335. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +0 -2439
  336. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +0 -808
  337. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +0 -976
  338. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +0 -181
  339. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +0 -745
  340. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +0 -539
  341. package/node_modules/@types/responselike/node_modules/undici-types/LICENSE +0 -21
  342. package/node_modules/@types/responselike/node_modules/undici-types/README.md +0 -6
  343. package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +0 -31
  344. package/node_modules/@types/responselike/node_modules/undici-types/api.d.ts +0 -43
  345. package/node_modules/@types/responselike/node_modules/undici-types/balanced-pool.d.ts +0 -29
  346. package/node_modules/@types/responselike/node_modules/undici-types/cache.d.ts +0 -36
  347. package/node_modules/@types/responselike/node_modules/undici-types/client.d.ts +0 -108
  348. package/node_modules/@types/responselike/node_modules/undici-types/connector.d.ts +0 -34
  349. package/node_modules/@types/responselike/node_modules/undici-types/content-type.d.ts +0 -21
  350. package/node_modules/@types/responselike/node_modules/undici-types/cookies.d.ts +0 -28
  351. package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  352. package/node_modules/@types/responselike/node_modules/undici-types/dispatcher.d.ts +0 -255
  353. package/node_modules/@types/responselike/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  354. package/node_modules/@types/responselike/node_modules/undici-types/errors.d.ts +0 -149
  355. package/node_modules/@types/responselike/node_modules/undici-types/eventsource.d.ts +0 -61
  356. package/node_modules/@types/responselike/node_modules/undici-types/fetch.d.ts +0 -209
  357. package/node_modules/@types/responselike/node_modules/undici-types/file.d.ts +0 -39
  358. package/node_modules/@types/responselike/node_modules/undici-types/filereader.d.ts +0 -54
  359. package/node_modules/@types/responselike/node_modules/undici-types/formdata.d.ts +0 -108
  360. package/node_modules/@types/responselike/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  361. package/node_modules/@types/responselike/node_modules/undici-types/global-origin.d.ts +0 -7
  362. package/node_modules/@types/responselike/node_modules/undici-types/handlers.d.ts +0 -15
  363. package/node_modules/@types/responselike/node_modules/undici-types/header.d.ts +0 -4
  364. package/node_modules/@types/responselike/node_modules/undici-types/index.d.ts +0 -71
  365. package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +0 -17
  366. package/node_modules/@types/responselike/node_modules/undici-types/mock-agent.d.ts +0 -50
  367. package/node_modules/@types/responselike/node_modules/undici-types/mock-client.d.ts +0 -25
  368. package/node_modules/@types/responselike/node_modules/undici-types/mock-errors.d.ts +0 -12
  369. package/node_modules/@types/responselike/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  370. package/node_modules/@types/responselike/node_modules/undici-types/mock-pool.d.ts +0 -25
  371. package/node_modules/@types/responselike/node_modules/undici-types/package.json +0 -55
  372. package/node_modules/@types/responselike/node_modules/undici-types/patch.d.ts +0 -33
  373. package/node_modules/@types/responselike/node_modules/undici-types/pool-stats.d.ts +0 -19
  374. package/node_modules/@types/responselike/node_modules/undici-types/pool.d.ts +0 -39
  375. package/node_modules/@types/responselike/node_modules/undici-types/proxy-agent.d.ts +0 -28
  376. package/node_modules/@types/responselike/node_modules/undici-types/readable.d.ts +0 -60
  377. package/node_modules/@types/responselike/node_modules/undici-types/retry-agent.d.ts +0 -8
  378. package/node_modules/@types/responselike/node_modules/undici-types/retry-handler.d.ts +0 -116
  379. package/node_modules/@types/responselike/node_modules/undici-types/util.d.ts +0 -18
  380. package/node_modules/@types/responselike/node_modules/undici-types/webidl.d.ts +0 -222
  381. package/node_modules/@types/responselike/node_modules/undici-types/websocket.d.ts +0 -150
  382. package/node_modules/@types/responselike/package.json +0 -27
  383. package/node_modules/cacheable-lookup/LICENSE +0 -21
  384. package/node_modules/cacheable-lookup/README.md +0 -240
  385. package/node_modules/cacheable-lookup/index.d.ts +0 -139
  386. package/node_modules/cacheable-lookup/package.json +0 -45
  387. package/node_modules/cacheable-lookup/source/index.js +0 -436
  388. package/node_modules/cacheable-request/LICENSE +0 -21
  389. package/node_modules/cacheable-request/README.md +0 -206
  390. package/node_modules/cacheable-request/package.json +0 -56
  391. package/node_modules/cacheable-request/src/index.js +0 -251
  392. package/node_modules/clone-response/LICENSE +0 -21
  393. package/node_modules/clone-response/README.md +0 -62
  394. package/node_modules/clone-response/node_modules/mimic-response/index.js +0 -32
  395. package/node_modules/clone-response/node_modules/mimic-response/license +0 -9
  396. package/node_modules/clone-response/node_modules/mimic-response/package.json +0 -37
  397. package/node_modules/clone-response/node_modules/mimic-response/readme.md +0 -54
  398. package/node_modules/clone-response/package.json +0 -41
  399. package/node_modules/clone-response/src/index.js +0 -17
  400. package/node_modules/decompress-response/index.d.ts +0 -22
  401. package/node_modules/decompress-response/index.js +0 -58
  402. package/node_modules/decompress-response/license +0 -9
  403. package/node_modules/decompress-response/package.json +0 -56
  404. package/node_modules/decompress-response/readme.md +0 -48
  405. package/node_modules/defer-to-connect/LICENSE +0 -21
  406. package/node_modules/defer-to-connect/README.md +0 -38
  407. package/node_modules/defer-to-connect/dist/source/index.d.ts +0 -10
  408. package/node_modules/defer-to-connect/dist/source/index.js +0 -47
  409. package/node_modules/defer-to-connect/package.json +0 -71
  410. package/node_modules/end-of-stream/LICENSE +0 -21
  411. package/node_modules/end-of-stream/README.md +0 -54
  412. package/node_modules/end-of-stream/index.js +0 -94
  413. package/node_modules/end-of-stream/package.json +0 -37
  414. package/node_modules/get-stream/buffer-stream.js +0 -52
  415. package/node_modules/get-stream/index.d.ts +0 -108
  416. package/node_modules/get-stream/index.js +0 -60
  417. package/node_modules/get-stream/license +0 -9
  418. package/node_modules/get-stream/package.json +0 -50
  419. package/node_modules/get-stream/readme.md +0 -124
  420. package/node_modules/got/dist/source/as-promise/create-rejection.d.ts +0 -2
  421. package/node_modules/got/dist/source/as-promise/create-rejection.js +0 -30
  422. package/node_modules/got/dist/source/as-promise/index.d.ts +0 -3
  423. package/node_modules/got/dist/source/as-promise/index.js +0 -176
  424. package/node_modules/got/dist/source/as-promise/normalize-arguments.d.ts +0 -3
  425. package/node_modules/got/dist/source/as-promise/normalize-arguments.js +0 -78
  426. package/node_modules/got/dist/source/as-promise/parse-body.d.ts +0 -3
  427. package/node_modules/got/dist/source/as-promise/parse-body.js +0 -25
  428. package/node_modules/got/dist/source/as-promise/types.d.ts +0 -256
  429. package/node_modules/got/dist/source/as-promise/types.js +0 -42
  430. package/node_modules/got/dist/source/core/calculate-retry-delay.d.ts +0 -5
  431. package/node_modules/got/dist/source/core/calculate-retry-delay.js +0 -29
  432. package/node_modules/got/dist/source/core/index.d.ts +0 -1124
  433. package/node_modules/got/dist/source/core/index.js +0 -1505
  434. package/node_modules/got/dist/source/core/utils/dns-ip-version.d.ts +0 -5
  435. package/node_modules/got/dist/source/core/utils/dns-ip-version.js +0 -17
  436. package/node_modules/got/dist/source/core/utils/get-body-size.d.ts +0 -3
  437. package/node_modules/got/dist/source/core/utils/get-body-size.js +0 -32
  438. package/node_modules/got/dist/source/core/utils/get-buffer.d.ts +0 -4
  439. package/node_modules/got/dist/source/core/utils/get-buffer.js +0 -16
  440. package/node_modules/got/dist/source/core/utils/is-form-data.d.ts +0 -8
  441. package/node_modules/got/dist/source/core/utils/is-form-data.js +0 -4
  442. package/node_modules/got/dist/source/core/utils/is-response-ok.d.ts +0 -2
  443. package/node_modules/got/dist/source/core/utils/is-response-ok.js +0 -8
  444. package/node_modules/got/dist/source/core/utils/options-to-url.d.ts +0 -14
  445. package/node_modules/got/dist/source/core/utils/options-to-url.js +0 -53
  446. package/node_modules/got/dist/source/core/utils/proxy-events.d.ts +0 -3
  447. package/node_modules/got/dist/source/core/utils/proxy-events.js +0 -17
  448. package/node_modules/got/dist/source/core/utils/timed-out.d.ts +0 -29
  449. package/node_modules/got/dist/source/core/utils/timed-out.js +0 -121
  450. package/node_modules/got/dist/source/core/utils/unhandle.d.ts +0 -11
  451. package/node_modules/got/dist/source/core/utils/unhandle.js +0 -22
  452. package/node_modules/got/dist/source/core/utils/url-to-options.d.ts +0 -15
  453. package/node_modules/got/dist/source/core/utils/url-to-options.js +0 -24
  454. package/node_modules/got/dist/source/core/utils/weakable-map.d.ts +0 -8
  455. package/node_modules/got/dist/source/core/utils/weakable-map.js +0 -29
  456. package/node_modules/got/dist/source/create.d.ts +0 -5
  457. package/node_modules/got/dist/source/create.js +0 -240
  458. package/node_modules/got/dist/source/index.d.ts +0 -4
  459. package/node_modules/got/dist/source/index.js +0 -132
  460. package/node_modules/got/dist/source/types.d.ts +0 -344
  461. package/node_modules/got/dist/source/types.js +0 -2
  462. package/node_modules/got/dist/source/utils/deep-freeze.d.ts +0 -1
  463. package/node_modules/got/dist/source/utils/deep-freeze.js +0 -12
  464. package/node_modules/got/dist/source/utils/deprecation-warning.d.ts +0 -2
  465. package/node_modules/got/dist/source/utils/deprecation-warning.js +0 -13
  466. package/node_modules/got/license +0 -9
  467. package/node_modules/got/package.json +0 -131
  468. package/node_modules/got/readme.md +0 -2477
  469. package/node_modules/hpagent/.github/dependabot.yml +0 -8
  470. package/node_modules/hpagent/.github/workflows/build.yml +0 -29
  471. package/node_modules/hpagent/LICENSE +0 -21
  472. package/node_modules/hpagent/README.md +0 -138
  473. package/node_modules/hpagent/index.d.ts +0 -26
  474. package/node_modules/hpagent/index.js +0 -101
  475. package/node_modules/hpagent/index.mjs +0 -5
  476. package/node_modules/hpagent/package.json +0 -49
  477. package/node_modules/hpagent/test/got.test.js +0 -111
  478. package/node_modules/hpagent/test/http-http.test.js +0 -351
  479. package/node_modules/hpagent/test/http-https.test.js +0 -313
  480. package/node_modules/hpagent/test/https-http.test.js +0 -313
  481. package/node_modules/hpagent/test/https-https.test.js +0 -313
  482. package/node_modules/hpagent/test/index.test-d.ts +0 -45
  483. package/node_modules/hpagent/test/needle.test.js +0 -103
  484. package/node_modules/hpagent/test/node-fetch.test.js +0 -103
  485. package/node_modules/hpagent/test/simple-get.test.js +0 -139
  486. package/node_modules/hpagent/test/ssl.cert +0 -19
  487. package/node_modules/hpagent/test/ssl.key +0 -27
  488. package/node_modules/hpagent/test/utils.js +0 -59
  489. package/node_modules/http-cache-semantics/LICENSE +0 -9
  490. package/node_modules/http-cache-semantics/README.md +0 -203
  491. package/node_modules/http-cache-semantics/index.js +0 -674
  492. package/node_modules/http-cache-semantics/package.json +0 -18
  493. package/node_modules/http2-wrapper/LICENSE +0 -21
  494. package/node_modules/http2-wrapper/README.md +0 -470
  495. package/node_modules/http2-wrapper/package.json +0 -54
  496. package/node_modules/http2-wrapper/source/agent.js +0 -670
  497. package/node_modules/http2-wrapper/source/auto.js +0 -149
  498. package/node_modules/http2-wrapper/source/client-request.js +0 -445
  499. package/node_modules/http2-wrapper/source/incoming-message.js +0 -58
  500. package/node_modules/http2-wrapper/source/index.js +0 -28
  501. package/node_modules/http2-wrapper/source/utils/calculate-server-name.js +0 -27
  502. package/node_modules/http2-wrapper/source/utils/errors.js +0 -45
  503. package/node_modules/http2-wrapper/source/utils/is-request-pseudo-header.js +0 -13
  504. package/node_modules/http2-wrapper/source/utils/proxy-events.js +0 -7
  505. package/node_modules/http2-wrapper/source/utils/url-to-options.js +0 -25
  506. package/node_modules/json-buffer/.travis.yml +0 -3
  507. package/node_modules/json-buffer/LICENSE +0 -22
  508. package/node_modules/json-buffer/README.md +0 -24
  509. package/node_modules/json-buffer/index.js +0 -58
  510. package/node_modules/json-buffer/package.json +0 -34
  511. package/node_modules/json-buffer/test/index.js +0 -63
  512. package/node_modules/keyv/README.md +0 -429
  513. package/node_modules/keyv/package.json +0 -57
  514. package/node_modules/keyv/src/index.d.ts +0 -112
  515. package/node_modules/keyv/src/index.js +0 -259
  516. package/node_modules/lowercase-keys/index.d.ts +0 -16
  517. package/node_modules/lowercase-keys/index.js +0 -10
  518. package/node_modules/lowercase-keys/license +0 -9
  519. package/node_modules/lowercase-keys/package.json +0 -38
  520. package/node_modules/lowercase-keys/readme.md +0 -32
  521. package/node_modules/mimic-response/index.d.ts +0 -17
  522. package/node_modules/mimic-response/index.js +0 -77
  523. package/node_modules/mimic-response/license +0 -9
  524. package/node_modules/mimic-response/package.json +0 -42
  525. package/node_modules/mimic-response/readme.md +0 -78
  526. package/node_modules/normalize-url/index.d.ts +0 -267
  527. package/node_modules/normalize-url/index.js +0 -216
  528. package/node_modules/normalize-url/license +0 -9
  529. package/node_modules/normalize-url/package.json +0 -50
  530. package/node_modules/normalize-url/readme.md +0 -286
  531. package/node_modules/once/LICENSE +0 -15
  532. package/node_modules/once/README.md +0 -79
  533. package/node_modules/once/once.js +0 -42
  534. package/node_modules/once/package.json +0 -33
  535. package/node_modules/p-cancelable/index.d.ts +0 -176
  536. package/node_modules/p-cancelable/index.js +0 -111
  537. package/node_modules/p-cancelable/license +0 -9
  538. package/node_modules/p-cancelable/package.json +0 -49
  539. package/node_modules/p-cancelable/readme.md +0 -153
  540. package/node_modules/pump/.github/FUNDING.yml +0 -2
  541. package/node_modules/pump/.travis.yml +0 -5
  542. package/node_modules/pump/LICENSE +0 -21
  543. package/node_modules/pump/README.md +0 -74
  544. package/node_modules/pump/SECURITY.md +0 -5
  545. package/node_modules/pump/index.js +0 -86
  546. package/node_modules/pump/package.json +0 -24
  547. package/node_modules/pump/test-browser.js +0 -66
  548. package/node_modules/pump/test-node.js +0 -53
  549. package/node_modules/quick-lru/index.d.ts +0 -97
  550. package/node_modules/quick-lru/index.js +0 -123
  551. package/node_modules/quick-lru/license +0 -9
  552. package/node_modules/quick-lru/package.json +0 -43
  553. package/node_modules/quick-lru/readme.md +0 -111
  554. package/node_modules/resolve-alpn/LICENSE +0 -22
  555. package/node_modules/resolve-alpn/README.md +0 -60
  556. package/node_modules/resolve-alpn/index.js +0 -43
  557. package/node_modules/resolve-alpn/package.json +0 -34
  558. package/node_modules/responselike/LICENSE +0 -19
  559. package/node_modules/responselike/README.md +0 -77
  560. package/node_modules/responselike/package.json +0 -39
  561. package/node_modules/responselike/src/index.js +0 -34
  562. package/node_modules/wrappy/LICENSE +0 -15
  563. package/node_modules/wrappy/README.md +0 -36
  564. package/node_modules/wrappy/package.json +0 -29
  565. package/node_modules/wrappy/wrappy.js +0 -33
@@ -1,702 +0,0 @@
1
- /**
2
- * @since v0.3.7
3
- */
4
- declare module "module" {
5
- import { URL } from "node:url";
6
- class Module {
7
- constructor(id: string, parent?: Module);
8
- }
9
- interface Module extends NodeJS.Module {}
10
- namespace Module {
11
- export { Module };
12
- }
13
- namespace Module {
14
- /**
15
- * A list of the names of all modules provided by Node.js. Can be used to verify
16
- * if a module is maintained by a third party or not.
17
- *
18
- * Note: the list doesn't contain prefix-only modules like `node:test`.
19
- * @since v9.3.0, v8.10.0, v6.13.0
20
- */
21
- const builtinModules: readonly string[];
22
- /**
23
- * @since v12.2.0
24
- * @param path Filename to be used to construct the require
25
- * function. Must be a file URL object, file URL string, or absolute path
26
- * string.
27
- */
28
- function createRequire(path: string | URL): NodeJS.Require;
29
- namespace constants {
30
- /**
31
- * The following constants are returned as the `status` field in the object returned by
32
- * {@link enableCompileCache} to indicate the result of the attempt to enable the
33
- * [module compile cache](https://nodejs.org/docs/latest-v22.x/api/module.html#module-compile-cache).
34
- * @since v22.8.0
35
- */
36
- namespace compileCacheStatus {
37
- /**
38
- * Node.js has enabled the compile cache successfully. The directory used to store the
39
- * compile cache will be returned in the `directory` field in the
40
- * returned object.
41
- */
42
- const ENABLED: number;
43
- /**
44
- * The compile cache has already been enabled before, either by a previous call to
45
- * {@link enableCompileCache}, or by the `NODE_COMPILE_CACHE=dir`
46
- * environment variable. The directory used to store the
47
- * compile cache will be returned in the `directory` field in the
48
- * returned object.
49
- */
50
- const ALREADY_ENABLED: number;
51
- /**
52
- * Node.js fails to enable the compile cache. This can be caused by the lack of
53
- * permission to use the specified directory, or various kinds of file system errors.
54
- * The detail of the failure will be returned in the `message` field in the
55
- * returned object.
56
- */
57
- const FAILED: number;
58
- /**
59
- * Node.js cannot enable the compile cache because the environment variable
60
- * `NODE_DISABLE_COMPILE_CACHE=1` has been set.
61
- */
62
- const DISABLED: number;
63
- }
64
- }
65
- interface EnableCompileCacheResult {
66
- /**
67
- * One of the {@link constants.compileCacheStatus}
68
- */
69
- status: number;
70
- /**
71
- * If Node.js cannot enable the compile cache, this contains
72
- * the error message. Only set if `status` is `module.constants.compileCacheStatus.FAILED`.
73
- */
74
- message?: string;
75
- /**
76
- * If the compile cache is enabled, this contains the directory
77
- * where the compile cache is stored. Only set if `status` is
78
- * `module.constants.compileCacheStatus.ENABLED` or
79
- * `module.constants.compileCacheStatus.ALREADY_ENABLED`.
80
- */
81
- directory?: string;
82
- }
83
- /**
84
- * Enable [module compile cache](https://nodejs.org/docs/latest-v22.x/api/module.html#module-compile-cache)
85
- * in the current Node.js instance.
86
- *
87
- * If `cacheDir` is not specified, Node.js will either use the directory specified by the
88
- * `NODE_COMPILE_CACHE=dir` environment variable if it's set, or use
89
- * `path.join(os.tmpdir(), 'node-compile-cache')` otherwise. For general use cases, it's
90
- * recommended to call `module.enableCompileCache()` without specifying the `cacheDir`,
91
- * so that the directory can be overridden by the `NODE_COMPILE_CACHE` environment
92
- * variable when necessary.
93
- *
94
- * Since compile cache is supposed to be a quiet optimization that is not required for the
95
- * application to be functional, this method is designed to not throw any exception when the
96
- * compile cache cannot be enabled. Instead, it will return an object containing an error
97
- * message in the `message` field to aid debugging.
98
- * If compile cache is enabled successfully, the `directory` field in the returned object
99
- * contains the path to the directory where the compile cache is stored. The `status`
100
- * field in the returned object would be one of the `module.constants.compileCacheStatus`
101
- * values to indicate the result of the attempt to enable the
102
- * [module compile cache](https://nodejs.org/docs/latest-v22.x/api/module.html#module-compile-cache).
103
- *
104
- * This method only affects the current Node.js instance. To enable it in child worker threads,
105
- * either call this method in child worker threads too, or set the
106
- * `process.env.NODE_COMPILE_CACHE` value to compile cache directory so the behavior can
107
- * be inherited into the child workers. The directory can be obtained either from the
108
- * `directory` field returned by this method, or with {@link getCompileCacheDir}.
109
- * @since v22.8.0
110
- * @param cacheDir Optional path to specify the directory where the compile cache
111
- * will be stored/retrieved.
112
- */
113
- function enableCompileCache(cacheDir?: string): EnableCompileCacheResult;
114
- /**
115
- * Flush the [module compile cache](https://nodejs.org/docs/latest-v22.x/api/module.html#module-compile-cache)
116
- * accumulated from modules already loaded
117
- * in the current Node.js instance to disk. This returns after all the flushing
118
- * file system operations come to an end, no matter they succeed or not. If there
119
- * are any errors, this will fail silently, since compile cache misses should not
120
- * interfere with the actual operation of the application.
121
- * @since v22.10.0
122
- */
123
- function flushCompileCache(): void;
124
- /**
125
- * @since v22.8.0
126
- * @return Path to the [module compile cache](https://nodejs.org/docs/latest-v22.x/api/module.html#module-compile-cache)
127
- * directory if it is enabled, or `undefined` otherwise.
128
- */
129
- function getCompileCacheDir(): string | undefined;
130
- /**
131
- * @since v23.2.0, v22.14.0
132
- */
133
- function findPackageJSON(
134
- specifier: string | URL,
135
- base?: string | URL,
136
- ): undefined | string;
137
- /**
138
- * @since v18.6.0, v16.17.0
139
- */
140
- function isBuiltin(moduleName: string): boolean;
141
- interface RegisterOptions<Data> {
142
- /**
143
- * If you want to resolve `specifier` relative to a
144
- * base URL, such as `import.meta.url`, you can pass that URL here. This
145
- * property is ignored if the `parentURL` is supplied as the second argument.
146
- * @default 'data:'
147
- */
148
- parentURL?: string | URL | undefined;
149
- /**
150
- * Any arbitrary, cloneable JavaScript value to pass into the
151
- * {@link initialize} hook.
152
- */
153
- data?: Data | undefined;
154
- /**
155
- * [Transferable objects](https://nodejs.org/docs/latest-v22.x/api/worker_threads.html#portpostmessagevalue-transferlist)
156
- * to be passed into the `initialize` hook.
157
- */
158
- transferList?: any[] | undefined;
159
- }
160
- /* eslint-disable @definitelytyped/no-unnecessary-generics */
161
- /**
162
- * Register a module that exports hooks that customize Node.js module
163
- * resolution and loading behavior. See
164
- * [Customization hooks](https://nodejs.org/docs/latest-v22.x/api/module.html#customization-hooks).
165
- * @since v20.6.0, v18.19.0
166
- * @param specifier Customization hooks to be registered; this should be
167
- * the same string that would be passed to `import()`, except that if it is
168
- * relative, it is resolved relative to `parentURL`.
169
- * @param parentURL f you want to resolve `specifier` relative to a base
170
- * URL, such as `import.meta.url`, you can pass that URL here.
171
- */
172
- function register<Data = any>(
173
- specifier: string | URL,
174
- parentURL?: string | URL,
175
- options?: RegisterOptions<Data>,
176
- ): void;
177
- function register<Data = any>(specifier: string | URL, options?: RegisterOptions<Data>): void;
178
- interface StripTypeScriptTypesOptions {
179
- /**
180
- * Possible values are:
181
- * * `'strip'` Only strip type annotations without performing the transformation of TypeScript features.
182
- * * `'transform'` Strip type annotations and transform TypeScript features to JavaScript.
183
- * @default 'strip'
184
- */
185
- mode?: "strip" | "transform" | undefined;
186
- /**
187
- * Only when `mode` is `'transform'`, if `true`, a source map
188
- * will be generated for the transformed code.
189
- * @default false
190
- */
191
- sourceMap?: boolean | undefined;
192
- /**
193
- * Specifies the source url used in the source map.
194
- */
195
- sourceUrl?: string | undefined;
196
- }
197
- /**
198
- * `module.stripTypeScriptTypes()` removes type annotations from TypeScript code. It
199
- * can be used to strip type annotations from TypeScript code before running it
200
- * with `vm.runInContext()` or `vm.compileFunction()`.
201
- * By default, it will throw an error if the code contains TypeScript features
202
- * that require transformation such as `Enums`,
203
- * see [type-stripping](https://nodejs.org/docs/latest-v22.x/api/typescript.md#type-stripping) for more information.
204
- * When mode is `'transform'`, it also transforms TypeScript features to JavaScript,
205
- * see [transform TypeScript features](https://nodejs.org/docs/latest-v22.x/api/typescript.md#typescript-features) for more information.
206
- * When mode is `'strip'`, source maps are not generated, because locations are preserved.
207
- * If `sourceMap` is provided, when mode is `'strip'`, an error will be thrown.
208
- *
209
- * _WARNING_: The output of this function should not be considered stable across Node.js versions,
210
- * due to changes in the TypeScript parser.
211
- *
212
- * ```js
213
- * import { stripTypeScriptTypes } from 'node:module';
214
- * const code = 'const a: number = 1;';
215
- * const strippedCode = stripTypeScriptTypes(code);
216
- * console.log(strippedCode);
217
- * // Prints: const a = 1;
218
- * ```
219
- *
220
- * If `sourceUrl` is provided, it will be used appended as a comment at the end of the output:
221
- *
222
- * ```js
223
- * import { stripTypeScriptTypes } from 'node:module';
224
- * const code = 'const a: number = 1;';
225
- * const strippedCode = stripTypeScriptTypes(code, { mode: 'strip', sourceUrl: 'source.ts' });
226
- * console.log(strippedCode);
227
- * // Prints: const a = 1\n\n//# sourceURL=source.ts;
228
- * ```
229
- *
230
- * When `mode` is `'transform'`, the code is transformed to JavaScript:
231
- *
232
- * ```js
233
- * import { stripTypeScriptTypes } from 'node:module';
234
- * const code = `
235
- * namespace MathUtil {
236
- * export const add = (a: number, b: number) => a + b;
237
- * }`;
238
- * const strippedCode = stripTypeScriptTypes(code, { mode: 'transform', sourceMap: true });
239
- * console.log(strippedCode);
240
- * // Prints:
241
- * // var MathUtil;
242
- * // (function(MathUtil) {
243
- * // MathUtil.add = (a, b)=>a + b;
244
- * // })(MathUtil || (MathUtil = {}));
245
- * // # sourceMappingURL=data:application/json;base64, ...
246
- * ```
247
- * @since v22.13.0
248
- * @param code The code to strip type annotations from.
249
- * @returns The code with type annotations stripped.
250
- */
251
- function stripTypeScriptTypes(code: string, options?: StripTypeScriptTypesOptions): string;
252
- /* eslint-enable @definitelytyped/no-unnecessary-generics */
253
- /**
254
- * The `module.syncBuiltinESMExports()` method updates all the live bindings for
255
- * builtin `ES Modules` to match the properties of the `CommonJS` exports. It
256
- * does not add or remove exported names from the `ES Modules`.
257
- *
258
- * ```js
259
- * import fs from 'node:fs';
260
- * import assert from 'node:assert';
261
- * import { syncBuiltinESMExports } from 'node:module';
262
- *
263
- * fs.readFile = newAPI;
264
- *
265
- * delete fs.readFileSync;
266
- *
267
- * function newAPI() {
268
- * // ...
269
- * }
270
- *
271
- * fs.newAPI = newAPI;
272
- *
273
- * syncBuiltinESMExports();
274
- *
275
- * import('node:fs').then((esmFS) => {
276
- * // It syncs the existing readFile property with the new value
277
- * assert.strictEqual(esmFS.readFile, newAPI);
278
- * // readFileSync has been deleted from the required fs
279
- * assert.strictEqual('readFileSync' in fs, false);
280
- * // syncBuiltinESMExports() does not remove readFileSync from esmFS
281
- * assert.strictEqual('readFileSync' in esmFS, true);
282
- * // syncBuiltinESMExports() does not add names
283
- * assert.strictEqual(esmFS.newAPI, undefined);
284
- * });
285
- * ```
286
- * @since v12.12.0
287
- */
288
- function syncBuiltinESMExports(): void;
289
- interface ImportAttributes extends NodeJS.Dict<string> {
290
- type?: string | undefined;
291
- }
292
- type ModuleFormat =
293
- | "builtin"
294
- | "commonjs"
295
- | "commonjs-typescript"
296
- | "json"
297
- | "module"
298
- | "module-typescript"
299
- | "wasm";
300
- type ModuleSource = string | ArrayBuffer | NodeJS.TypedArray;
301
- /**
302
- * The `initialize` hook provides a way to define a custom function that runs in
303
- * the hooks thread when the hooks module is initialized. Initialization happens
304
- * when the hooks module is registered via {@link register}.
305
- *
306
- * This hook can receive data from a {@link register} invocation, including
307
- * ports and other transferable objects. The return value of `initialize` can be a
308
- * `Promise`, in which case it will be awaited before the main application thread
309
- * execution resumes.
310
- */
311
- type InitializeHook<Data = any> = (data: Data) => void | Promise<void>;
312
- interface ResolveHookContext {
313
- /**
314
- * Export conditions of the relevant `package.json`
315
- */
316
- conditions: string[];
317
- /**
318
- * An object whose key-value pairs represent the assertions for the module to import
319
- */
320
- importAttributes: ImportAttributes;
321
- /**
322
- * The module importing this one, or undefined if this is the Node.js entry point
323
- */
324
- parentURL: string | undefined;
325
- }
326
- interface ResolveFnOutput {
327
- /**
328
- * A hint to the load hook (it might be ignored); can be an intermediary value.
329
- */
330
- format?: string | null | undefined;
331
- /**
332
- * The import attributes to use when caching the module (optional; if excluded the input will be used)
333
- */
334
- importAttributes?: ImportAttributes | undefined;
335
- /**
336
- * A signal that this hook intends to terminate the chain of `resolve` hooks.
337
- * @default false
338
- */
339
- shortCircuit?: boolean | undefined;
340
- /**
341
- * The absolute URL to which this input resolves
342
- */
343
- url: string;
344
- }
345
- /**
346
- * The `resolve` hook chain is responsible for telling Node.js where to find and
347
- * how to cache a given `import` statement or expression, or `require` call. It can
348
- * optionally return a format (such as `'module'`) as a hint to the `load` hook. If
349
- * a format is specified, the `load` hook is ultimately responsible for providing
350
- * the final `format` value (and it is free to ignore the hint provided by
351
- * `resolve`); if `resolve` provides a `format`, a custom `load` hook is required
352
- * even if only to pass the value to the Node.js default `load` hook.
353
- */
354
- type ResolveHook = (
355
- specifier: string,
356
- context: ResolveHookContext,
357
- nextResolve: (
358
- specifier: string,
359
- context?: Partial<ResolveHookContext>,
360
- ) => ResolveFnOutput | Promise<ResolveFnOutput>,
361
- ) => ResolveFnOutput | Promise<ResolveFnOutput>;
362
- interface LoadHookContext {
363
- /**
364
- * Export conditions of the relevant `package.json`
365
- */
366
- conditions: string[];
367
- /**
368
- * The format optionally supplied by the `resolve` hook chain (can be an intermediary value).
369
- */
370
- format: string | null | undefined;
371
- /**
372
- * An object whose key-value pairs represent the assertions for the module to import
373
- */
374
- importAttributes: ImportAttributes;
375
- }
376
- interface LoadFnOutput {
377
- format: ModuleFormat;
378
- /**
379
- * A signal that this hook intends to terminate the chain of `resolve` hooks.
380
- * @default false
381
- */
382
- shortCircuit?: boolean | undefined;
383
- /**
384
- * The source for Node.js to evaluate
385
- */
386
- source?: ModuleSource | undefined;
387
- }
388
- /**
389
- * The `load` hook provides a way to define a custom method of determining how a
390
- * URL should be interpreted, retrieved, and parsed. It is also in charge of
391
- * validating the import attributes.
392
- */
393
- type LoadHook = (
394
- url: string,
395
- context: LoadHookContext,
396
- nextLoad: (
397
- url: string,
398
- context?: Partial<LoadHookContext>,
399
- ) => LoadFnOutput | Promise<LoadFnOutput>,
400
- ) => LoadFnOutput | Promise<LoadFnOutput>;
401
- /**
402
- * `path` is the resolved path for the file for which a corresponding source map
403
- * should be fetched.
404
- * @since v13.7.0, v12.17.0
405
- * @return Returns `module.SourceMap` if a source map is found, `undefined` otherwise.
406
- */
407
- function findSourceMap(path: string): SourceMap | undefined;
408
- interface SourceMapConstructorOptions {
409
- /**
410
- * @since v21.0.0, v20.5.0
411
- */
412
- lineLengths?: readonly number[] | undefined;
413
- }
414
- interface SourceMapPayload {
415
- file: string;
416
- version: number;
417
- sources: string[];
418
- sourcesContent: string[];
419
- names: string[];
420
- mappings: string;
421
- sourceRoot: string;
422
- }
423
- interface SourceMapping {
424
- generatedLine: number;
425
- generatedColumn: number;
426
- originalSource: string;
427
- originalLine: number;
428
- originalColumn: number;
429
- }
430
- interface SourceOrigin {
431
- /**
432
- * The name of the range in the source map, if one was provided
433
- */
434
- name: string | undefined;
435
- /**
436
- * The file name of the original source, as reported in the SourceMap
437
- */
438
- fileName: string;
439
- /**
440
- * The 1-indexed lineNumber of the corresponding call site in the original source
441
- */
442
- lineNumber: number;
443
- /**
444
- * The 1-indexed columnNumber of the corresponding call site in the original source
445
- */
446
- columnNumber: number;
447
- }
448
- /**
449
- * @since v13.7.0, v12.17.0
450
- */
451
- class SourceMap {
452
- constructor(payload: SourceMapPayload, options?: SourceMapConstructorOptions);
453
- /**
454
- * Getter for the payload used to construct the `SourceMap` instance.
455
- */
456
- readonly payload: SourceMapPayload;
457
- /**
458
- * Given a line offset and column offset in the generated source
459
- * file, returns an object representing the SourceMap range in the
460
- * original file if found, or an empty object if not.
461
- *
462
- * The object returned contains the following keys:
463
- *
464
- * The returned value represents the raw range as it appears in the
465
- * SourceMap, based on zero-indexed offsets, _not_ 1-indexed line and
466
- * column numbers as they appear in Error messages and CallSite
467
- * objects.
468
- *
469
- * To get the corresponding 1-indexed line and column numbers from a
470
- * lineNumber and columnNumber as they are reported by Error stacks
471
- * and CallSite objects, use `sourceMap.findOrigin(lineNumber, columnNumber)`
472
- * @param lineOffset The zero-indexed line number offset in the generated source
473
- * @param columnOffset The zero-indexed column number offset in the generated source
474
- */
475
- findEntry(lineOffset: number, columnOffset: number): SourceMapping | {};
476
- /**
477
- * Given a 1-indexed `lineNumber` and `columnNumber` from a call site in the generated source,
478
- * find the corresponding call site location in the original source.
479
- *
480
- * If the `lineNumber` and `columnNumber` provided are not found in any source map,
481
- * then an empty object is returned.
482
- * @param lineNumber The 1-indexed line number of the call site in the generated source
483
- * @param columnNumber The 1-indexed column number of the call site in the generated source
484
- */
485
- findOrigin(lineNumber: number, columnNumber: number): SourceOrigin | {};
486
- }
487
- function runMain(main?: string): void;
488
- function wrap(script: string): string;
489
- }
490
- global {
491
- interface ImportMeta {
492
- /**
493
- * The directory name of the current module. This is the same as the `path.dirname()` of the `import.meta.filename`.
494
- * **Caveat:** only present on `file:` modules.
495
- */
496
- dirname: string;
497
- /**
498
- * The full absolute path and filename of the current module, with symlinks resolved.
499
- * This is the same as the `url.fileURLToPath()` of the `import.meta.url`.
500
- * **Caveat:** only local modules support this property. Modules not using the `file:` protocol will not provide it.
501
- */
502
- filename: string;
503
- /**
504
- * The absolute `file:` URL of the module.
505
- */
506
- url: string;
507
- /**
508
- * Provides a module-relative resolution function scoped to each module, returning
509
- * the URL string.
510
- *
511
- * Second `parent` parameter is only used when the `--experimental-import-meta-resolve`
512
- * command flag enabled.
513
- *
514
- * @since v20.6.0
515
- *
516
- * @param specifier The module specifier to resolve relative to `parent`.
517
- * @param parent The absolute parent module URL to resolve from.
518
- * @returns The absolute (`file:`) URL string for the resolved module.
519
- */
520
- resolve(specifier: string, parent?: string | URL | undefined): string;
521
- }
522
- namespace NodeJS {
523
- interface Module {
524
- /**
525
- * The module objects required for the first time by this one.
526
- * @since v0.1.16
527
- */
528
- children: Module[];
529
- /**
530
- * The `module.exports` object is created by the `Module` system. Sometimes this is
531
- * not acceptable; many want their module to be an instance of some class. To do
532
- * this, assign the desired export object to `module.exports`.
533
- * @since v0.1.16
534
- */
535
- exports: any;
536
- /**
537
- * The fully resolved filename of the module.
538
- * @since v0.1.16
539
- */
540
- filename: string;
541
- /**
542
- * The identifier for the module. Typically this is the fully resolved
543
- * filename.
544
- * @since v0.1.16
545
- */
546
- id: string;
547
- /**
548
- * `true` if the module is running during the Node.js preload
549
- * phase.
550
- * @since v15.4.0, v14.17.0
551
- */
552
- isPreloading: boolean;
553
- /**
554
- * Whether or not the module is done loading, or is in the process of
555
- * loading.
556
- * @since v0.1.16
557
- */
558
- loaded: boolean;
559
- /**
560
- * The module that first required this one, or `null` if the current module is the
561
- * entry point of the current process, or `undefined` if the module was loaded by
562
- * something that is not a CommonJS module (e.g. REPL or `import`).
563
- * @since v0.1.16
564
- * @deprecated Please use `require.main` and `module.children` instead.
565
- */
566
- parent: Module | null | undefined;
567
- /**
568
- * The directory name of the module. This is usually the same as the
569
- * `path.dirname()` of the `module.id`.
570
- * @since v11.14.0
571
- */
572
- path: string;
573
- /**
574
- * The search paths for the module.
575
- * @since v0.4.0
576
- */
577
- paths: string[];
578
- /**
579
- * The `module.require()` method provides a way to load a module as if
580
- * `require()` was called from the original module.
581
- * @since v0.5.1
582
- */
583
- require(id: string): any;
584
- }
585
- interface Require {
586
- /**
587
- * Used to import modules, `JSON`, and local files.
588
- * @since v0.1.13
589
- */
590
- (id: string): any;
591
- /**
592
- * Modules are cached in this object when they are required. By deleting a key
593
- * value from this object, the next `require` will reload the module.
594
- * This does not apply to
595
- * [native addons](https://nodejs.org/docs/latest-v22.x/api/addons.html),
596
- * for which reloading will result in an error.
597
- * @since v0.3.0
598
- */
599
- cache: Dict<Module>;
600
- /**
601
- * Instruct `require` on how to handle certain file extensions.
602
- * @since v0.3.0
603
- * @deprecated
604
- */
605
- extensions: RequireExtensions;
606
- /**
607
- * The `Module` object representing the entry script loaded when the Node.js
608
- * process launched, or `undefined` if the entry point of the program is not a
609
- * CommonJS module.
610
- * @since v0.1.17
611
- */
612
- main: Module | undefined;
613
- /**
614
- * @since v0.3.0
615
- */
616
- resolve: RequireResolve;
617
- }
618
- /** @deprecated */
619
- interface RequireExtensions extends Dict<(module: Module, filename: string) => any> {
620
- ".js": (module: Module, filename: string) => any;
621
- ".json": (module: Module, filename: string) => any;
622
- ".node": (module: Module, filename: string) => any;
623
- }
624
- interface RequireResolveOptions {
625
- /**
626
- * Paths to resolve module location from. If present, these
627
- * paths are used instead of the default resolution paths, with the exception
628
- * of
629
- * [GLOBAL\_FOLDERS](https://nodejs.org/docs/latest-v22.x/api/modules.html#loading-from-the-global-folders)
630
- * like `$HOME/.node_modules`, which are
631
- * always included. Each of these paths is used as a starting point for
632
- * the module resolution algorithm, meaning that the `node_modules` hierarchy
633
- * is checked from this location.
634
- * @since v8.9.0
635
- */
636
- paths?: string[] | undefined;
637
- }
638
- interface RequireResolve {
639
- /**
640
- * Use the internal `require()` machinery to look up the location of a module,
641
- * but rather than loading the module, just return the resolved filename.
642
- *
643
- * If the module can not be found, a `MODULE_NOT_FOUND` error is thrown.
644
- * @since v0.3.0
645
- * @param request The module path to resolve.
646
- */
647
- (request: string, options?: RequireResolveOptions): string;
648
- /**
649
- * Returns an array containing the paths searched during resolution of `request` or
650
- * `null` if the `request` string references a core module, for example `http` or
651
- * `fs`.
652
- * @since v8.9.0
653
- * @param request The module path whose lookup paths are being retrieved.
654
- */
655
- paths(request: string): string[] | null;
656
- }
657
- }
658
- /**
659
- * The directory name of the current module. This is the same as the
660
- * `path.dirname()` of the `__filename`.
661
- * @since v0.1.27
662
- */
663
- var __dirname: string;
664
- /**
665
- * The file name of the current module. This is the current module file's absolute
666
- * path with symlinks resolved.
667
- *
668
- * For a main program this is not necessarily the same as the file name used in the
669
- * command line.
670
- * @since v0.0.1
671
- */
672
- var __filename: string;
673
- /**
674
- * The `exports` variable is available within a module's file-level scope, and is
675
- * assigned the value of `module.exports` before the module is evaluated.
676
- * @since v0.1.16
677
- */
678
- var exports: NodeJS.Module["exports"];
679
- /**
680
- * A reference to the current module.
681
- * @since v0.1.16
682
- */
683
- var module: NodeJS.Module;
684
- /**
685
- * @since v0.1.13
686
- */
687
- var require: NodeJS.Require;
688
- // Global-scope aliases for backwards compatibility with @types/node <13.0.x
689
- // TODO: consider removing in a future major version update
690
- /** @deprecated Use `NodeJS.Module` instead. */
691
- interface NodeModule extends NodeJS.Module {}
692
- /** @deprecated Use `NodeJS.Require` instead. */
693
- interface NodeRequire extends NodeJS.Require {}
694
- /** @deprecated Use `NodeJS.RequireResolve` instead. */
695
- interface RequireResolve extends NodeJS.RequireResolve {}
696
- }
697
- export = Module;
698
- }
699
- declare module "node:module" {
700
- import module = require("module");
701
- export = module;
702
- }