cdk-ecr-deployment 3.3.0 → 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 (539) hide show
  1. package/.jsii +2 -6
  2. package/lib/index.js +3 -3
  3. package/package.json +1 -13
  4. package/build-lambda.sh +0 -12
  5. package/node_modules/@sindresorhus/is/dist/index.d.ts +0 -232
  6. package/node_modules/@sindresorhus/is/dist/index.js +0 -434
  7. package/node_modules/@sindresorhus/is/dist/types.d.ts +0 -25
  8. package/node_modules/@sindresorhus/is/dist/types.js +0 -3
  9. package/node_modules/@sindresorhus/is/license +0 -9
  10. package/node_modules/@sindresorhus/is/package.json +0 -96
  11. package/node_modules/@sindresorhus/is/readme.md +0 -669
  12. package/node_modules/@szmarczak/http-timer/LICENSE +0 -21
  13. package/node_modules/@szmarczak/http-timer/README.md +0 -93
  14. package/node_modules/@szmarczak/http-timer/dist/source/index.d.ts +0 -32
  15. package/node_modules/@szmarczak/http-timer/dist/source/index.js +0 -126
  16. package/node_modules/@szmarczak/http-timer/package.json +0 -72
  17. package/node_modules/@types/cacheable-request/LICENSE +0 -21
  18. package/node_modules/@types/cacheable-request/README.md +0 -16
  19. package/node_modules/@types/cacheable-request/index.d.ts +0 -137
  20. package/node_modules/@types/cacheable-request/node_modules/@types/node/LICENSE +0 -21
  21. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +0 -15
  22. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert/strict.d.ts +0 -8
  23. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +0 -1095
  24. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +0 -541
  25. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.buffer.d.ts +0 -460
  26. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +0 -1926
  27. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +0 -1549
  28. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +0 -579
  29. package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  30. package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/index.d.ts +0 -9
  31. package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  32. package/node_modules/@types/cacheable-request/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  33. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +0 -452
  34. package/node_modules/@types/cacheable-request/node_modules/@types/node/constants.d.ts +0 -21
  35. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +0 -4510
  36. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +0 -599
  37. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
  38. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +0 -476
  39. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +0 -865
  40. package/node_modules/@types/cacheable-request/node_modules/@types/node/dom-events.d.ts +0 -124
  41. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +0 -170
  42. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +0 -931
  43. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +0 -1275
  44. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +0 -4343
  45. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +0 -511
  46. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  47. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +0 -1959
  48. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +0 -2558
  49. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +0 -543
  50. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +0 -92
  51. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +0 -3966
  52. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +0 -702
  53. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +0 -1029
  54. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +0 -495
  55. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +0 -220
  56. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +0 -200
  57. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +0 -970
  58. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +0 -2013
  59. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +0 -117
  60. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +0 -153
  61. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline/promises.d.ts +0 -162
  62. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +0 -589
  63. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +0 -430
  64. package/node_modules/@types/cacheable-request/node_modules/@types/node/sea.d.ts +0 -153
  65. package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +0 -439
  66. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/consumers.d.ts +0 -12
  67. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/promises.d.ts +0 -90
  68. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +0 -614
  69. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +0 -1662
  70. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +0 -67
  71. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +0 -2150
  72. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +0 -97
  73. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +0 -240
  74. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +0 -1226
  75. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +0 -197
  76. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -457
  77. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  78. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/index.d.ts +0 -92
  79. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +0 -208
  80. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +0 -972
  81. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +0 -2439
  82. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +0 -808
  83. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +0 -976
  84. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +0 -181
  85. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +0 -745
  86. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +0 -539
  87. package/node_modules/@types/cacheable-request/node_modules/undici-types/LICENSE +0 -21
  88. package/node_modules/@types/cacheable-request/node_modules/undici-types/README.md +0 -6
  89. package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +0 -31
  90. package/node_modules/@types/cacheable-request/node_modules/undici-types/api.d.ts +0 -43
  91. package/node_modules/@types/cacheable-request/node_modules/undici-types/balanced-pool.d.ts +0 -29
  92. package/node_modules/@types/cacheable-request/node_modules/undici-types/cache.d.ts +0 -36
  93. package/node_modules/@types/cacheable-request/node_modules/undici-types/client.d.ts +0 -108
  94. package/node_modules/@types/cacheable-request/node_modules/undici-types/connector.d.ts +0 -34
  95. package/node_modules/@types/cacheable-request/node_modules/undici-types/content-type.d.ts +0 -21
  96. package/node_modules/@types/cacheable-request/node_modules/undici-types/cookies.d.ts +0 -28
  97. package/node_modules/@types/cacheable-request/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  98. package/node_modules/@types/cacheable-request/node_modules/undici-types/dispatcher.d.ts +0 -255
  99. package/node_modules/@types/cacheable-request/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  100. package/node_modules/@types/cacheable-request/node_modules/undici-types/errors.d.ts +0 -149
  101. package/node_modules/@types/cacheable-request/node_modules/undici-types/eventsource.d.ts +0 -61
  102. package/node_modules/@types/cacheable-request/node_modules/undici-types/fetch.d.ts +0 -209
  103. package/node_modules/@types/cacheable-request/node_modules/undici-types/file.d.ts +0 -39
  104. package/node_modules/@types/cacheable-request/node_modules/undici-types/filereader.d.ts +0 -54
  105. package/node_modules/@types/cacheable-request/node_modules/undici-types/formdata.d.ts +0 -108
  106. package/node_modules/@types/cacheable-request/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  107. package/node_modules/@types/cacheable-request/node_modules/undici-types/global-origin.d.ts +0 -7
  108. package/node_modules/@types/cacheable-request/node_modules/undici-types/handlers.d.ts +0 -15
  109. package/node_modules/@types/cacheable-request/node_modules/undici-types/header.d.ts +0 -4
  110. package/node_modules/@types/cacheable-request/node_modules/undici-types/index.d.ts +0 -71
  111. package/node_modules/@types/cacheable-request/node_modules/undici-types/interceptors.d.ts +0 -17
  112. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-agent.d.ts +0 -50
  113. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-client.d.ts +0 -25
  114. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-errors.d.ts +0 -12
  115. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  116. package/node_modules/@types/cacheable-request/node_modules/undici-types/mock-pool.d.ts +0 -25
  117. package/node_modules/@types/cacheable-request/node_modules/undici-types/package.json +0 -55
  118. package/node_modules/@types/cacheable-request/node_modules/undici-types/patch.d.ts +0 -33
  119. package/node_modules/@types/cacheable-request/node_modules/undici-types/pool-stats.d.ts +0 -19
  120. package/node_modules/@types/cacheable-request/node_modules/undici-types/pool.d.ts +0 -39
  121. package/node_modules/@types/cacheable-request/node_modules/undici-types/proxy-agent.d.ts +0 -28
  122. package/node_modules/@types/cacheable-request/node_modules/undici-types/readable.d.ts +0 -60
  123. package/node_modules/@types/cacheable-request/node_modules/undici-types/retry-agent.d.ts +0 -8
  124. package/node_modules/@types/cacheable-request/node_modules/undici-types/retry-handler.d.ts +0 -116
  125. package/node_modules/@types/cacheable-request/node_modules/undici-types/util.d.ts +0 -18
  126. package/node_modules/@types/cacheable-request/node_modules/undici-types/webidl.d.ts +0 -222
  127. package/node_modules/@types/cacheable-request/node_modules/undici-types/websocket.d.ts +0 -150
  128. package/node_modules/@types/cacheable-request/package.json +0 -35
  129. package/node_modules/@types/http-cache-semantics/LICENSE +0 -21
  130. package/node_modules/@types/http-cache-semantics/README.md +0 -15
  131. package/node_modules/@types/http-cache-semantics/index.d.ts +0 -165
  132. package/node_modules/@types/http-cache-semantics/package.json +0 -25
  133. package/node_modules/@types/keyv/LICENSE +0 -21
  134. package/node_modules/@types/keyv/README.md +0 -16
  135. package/node_modules/@types/keyv/index.d.ts +0 -90
  136. package/node_modules/@types/keyv/node_modules/@types/node/LICENSE +0 -21
  137. package/node_modules/@types/keyv/node_modules/@types/node/README.md +0 -15
  138. package/node_modules/@types/keyv/node_modules/@types/node/assert/strict.d.ts +0 -8
  139. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +0 -1095
  140. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +0 -541
  141. package/node_modules/@types/keyv/node_modules/@types/node/buffer.buffer.d.ts +0 -460
  142. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +0 -1926
  143. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +0 -1549
  144. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +0 -579
  145. package/node_modules/@types/keyv/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  146. package/node_modules/@types/keyv/node_modules/@types/node/compatibility/index.d.ts +0 -9
  147. package/node_modules/@types/keyv/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  148. package/node_modules/@types/keyv/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  149. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +0 -452
  150. package/node_modules/@types/keyv/node_modules/@types/node/constants.d.ts +0 -21
  151. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +0 -4510
  152. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +0 -599
  153. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
  154. package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +0 -476
  155. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +0 -865
  156. package/node_modules/@types/keyv/node_modules/@types/node/dom-events.d.ts +0 -124
  157. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +0 -170
  158. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +0 -931
  159. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +0 -1275
  160. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +0 -4343
  161. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +0 -511
  162. package/node_modules/@types/keyv/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  163. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +0 -1959
  164. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +0 -2558
  165. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +0 -543
  166. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +0 -92
  167. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +0 -3966
  168. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +0 -702
  169. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +0 -1029
  170. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +0 -495
  171. package/node_modules/@types/keyv/node_modules/@types/node/package.json +0 -220
  172. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +0 -200
  173. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +0 -970
  174. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +0 -2013
  175. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +0 -117
  176. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +0 -153
  177. package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +0 -162
  178. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +0 -589
  179. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +0 -430
  180. package/node_modules/@types/keyv/node_modules/@types/node/sea.d.ts +0 -153
  181. package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +0 -439
  182. package/node_modules/@types/keyv/node_modules/@types/node/stream/consumers.d.ts +0 -12
  183. package/node_modules/@types/keyv/node_modules/@types/node/stream/promises.d.ts +0 -90
  184. package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +0 -614
  185. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +0 -1662
  186. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +0 -67
  187. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +0 -2150
  188. package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +0 -97
  189. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +0 -240
  190. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +0 -1226
  191. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +0 -197
  192. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -457
  193. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  194. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/index.d.ts +0 -92
  195. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +0 -208
  196. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +0 -972
  197. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +0 -2439
  198. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +0 -808
  199. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +0 -976
  200. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +0 -181
  201. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +0 -745
  202. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +0 -539
  203. package/node_modules/@types/keyv/node_modules/undici-types/LICENSE +0 -21
  204. package/node_modules/@types/keyv/node_modules/undici-types/README.md +0 -6
  205. package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +0 -31
  206. package/node_modules/@types/keyv/node_modules/undici-types/api.d.ts +0 -43
  207. package/node_modules/@types/keyv/node_modules/undici-types/balanced-pool.d.ts +0 -29
  208. package/node_modules/@types/keyv/node_modules/undici-types/cache.d.ts +0 -36
  209. package/node_modules/@types/keyv/node_modules/undici-types/client.d.ts +0 -108
  210. package/node_modules/@types/keyv/node_modules/undici-types/connector.d.ts +0 -34
  211. package/node_modules/@types/keyv/node_modules/undici-types/content-type.d.ts +0 -21
  212. package/node_modules/@types/keyv/node_modules/undici-types/cookies.d.ts +0 -28
  213. package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  214. package/node_modules/@types/keyv/node_modules/undici-types/dispatcher.d.ts +0 -255
  215. package/node_modules/@types/keyv/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  216. package/node_modules/@types/keyv/node_modules/undici-types/errors.d.ts +0 -149
  217. package/node_modules/@types/keyv/node_modules/undici-types/eventsource.d.ts +0 -61
  218. package/node_modules/@types/keyv/node_modules/undici-types/fetch.d.ts +0 -209
  219. package/node_modules/@types/keyv/node_modules/undici-types/file.d.ts +0 -39
  220. package/node_modules/@types/keyv/node_modules/undici-types/filereader.d.ts +0 -54
  221. package/node_modules/@types/keyv/node_modules/undici-types/formdata.d.ts +0 -108
  222. package/node_modules/@types/keyv/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  223. package/node_modules/@types/keyv/node_modules/undici-types/global-origin.d.ts +0 -7
  224. package/node_modules/@types/keyv/node_modules/undici-types/handlers.d.ts +0 -15
  225. package/node_modules/@types/keyv/node_modules/undici-types/header.d.ts +0 -4
  226. package/node_modules/@types/keyv/node_modules/undici-types/index.d.ts +0 -71
  227. package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +0 -17
  228. package/node_modules/@types/keyv/node_modules/undici-types/mock-agent.d.ts +0 -50
  229. package/node_modules/@types/keyv/node_modules/undici-types/mock-client.d.ts +0 -25
  230. package/node_modules/@types/keyv/node_modules/undici-types/mock-errors.d.ts +0 -12
  231. package/node_modules/@types/keyv/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  232. package/node_modules/@types/keyv/node_modules/undici-types/mock-pool.d.ts +0 -25
  233. package/node_modules/@types/keyv/node_modules/undici-types/package.json +0 -55
  234. package/node_modules/@types/keyv/node_modules/undici-types/patch.d.ts +0 -33
  235. package/node_modules/@types/keyv/node_modules/undici-types/pool-stats.d.ts +0 -19
  236. package/node_modules/@types/keyv/node_modules/undici-types/pool.d.ts +0 -39
  237. package/node_modules/@types/keyv/node_modules/undici-types/proxy-agent.d.ts +0 -28
  238. package/node_modules/@types/keyv/node_modules/undici-types/readable.d.ts +0 -60
  239. package/node_modules/@types/keyv/node_modules/undici-types/retry-agent.d.ts +0 -8
  240. package/node_modules/@types/keyv/node_modules/undici-types/retry-handler.d.ts +0 -116
  241. package/node_modules/@types/keyv/node_modules/undici-types/util.d.ts +0 -18
  242. package/node_modules/@types/keyv/node_modules/undici-types/webidl.d.ts +0 -222
  243. package/node_modules/@types/keyv/node_modules/undici-types/websocket.d.ts +0 -150
  244. package/node_modules/@types/keyv/package.json +0 -32
  245. package/node_modules/@types/responselike/LICENSE +0 -21
  246. package/node_modules/@types/responselike/README.md +0 -48
  247. package/node_modules/@types/responselike/index.d.ts +0 -29
  248. package/node_modules/@types/responselike/node_modules/@types/node/LICENSE +0 -21
  249. package/node_modules/@types/responselike/node_modules/@types/node/README.md +0 -15
  250. package/node_modules/@types/responselike/node_modules/@types/node/assert/strict.d.ts +0 -8
  251. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +0 -1095
  252. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +0 -541
  253. package/node_modules/@types/responselike/node_modules/@types/node/buffer.buffer.d.ts +0 -460
  254. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +0 -1926
  255. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +0 -1549
  256. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +0 -579
  257. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  258. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/index.d.ts +0 -9
  259. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  260. package/node_modules/@types/responselike/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  261. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +0 -452
  262. package/node_modules/@types/responselike/node_modules/@types/node/constants.d.ts +0 -21
  263. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +0 -4510
  264. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +0 -599
  265. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
  266. package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +0 -476
  267. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +0 -865
  268. package/node_modules/@types/responselike/node_modules/@types/node/dom-events.d.ts +0 -124
  269. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +0 -170
  270. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +0 -931
  271. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +0 -1275
  272. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +0 -4343
  273. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +0 -511
  274. package/node_modules/@types/responselike/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  275. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +0 -1959
  276. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +0 -2558
  277. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +0 -543
  278. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +0 -92
  279. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +0 -3966
  280. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +0 -702
  281. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +0 -1029
  282. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +0 -495
  283. package/node_modules/@types/responselike/node_modules/@types/node/package.json +0 -220
  284. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +0 -200
  285. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +0 -970
  286. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +0 -2013
  287. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +0 -117
  288. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +0 -153
  289. package/node_modules/@types/responselike/node_modules/@types/node/readline/promises.d.ts +0 -162
  290. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +0 -589
  291. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +0 -430
  292. package/node_modules/@types/responselike/node_modules/@types/node/sea.d.ts +0 -153
  293. package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +0 -439
  294. package/node_modules/@types/responselike/node_modules/@types/node/stream/consumers.d.ts +0 -12
  295. package/node_modules/@types/responselike/node_modules/@types/node/stream/promises.d.ts +0 -90
  296. package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +0 -614
  297. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +0 -1662
  298. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +0 -67
  299. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +0 -2150
  300. package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +0 -97
  301. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +0 -240
  302. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +0 -1226
  303. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +0 -197
  304. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -457
  305. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  306. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/index.d.ts +0 -92
  307. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +0 -208
  308. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +0 -972
  309. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +0 -2439
  310. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +0 -808
  311. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +0 -976
  312. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +0 -181
  313. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +0 -745
  314. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +0 -539
  315. package/node_modules/@types/responselike/node_modules/undici-types/LICENSE +0 -21
  316. package/node_modules/@types/responselike/node_modules/undici-types/README.md +0 -6
  317. package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +0 -31
  318. package/node_modules/@types/responselike/node_modules/undici-types/api.d.ts +0 -43
  319. package/node_modules/@types/responselike/node_modules/undici-types/balanced-pool.d.ts +0 -29
  320. package/node_modules/@types/responselike/node_modules/undici-types/cache.d.ts +0 -36
  321. package/node_modules/@types/responselike/node_modules/undici-types/client.d.ts +0 -108
  322. package/node_modules/@types/responselike/node_modules/undici-types/connector.d.ts +0 -34
  323. package/node_modules/@types/responselike/node_modules/undici-types/content-type.d.ts +0 -21
  324. package/node_modules/@types/responselike/node_modules/undici-types/cookies.d.ts +0 -28
  325. package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  326. package/node_modules/@types/responselike/node_modules/undici-types/dispatcher.d.ts +0 -255
  327. package/node_modules/@types/responselike/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  328. package/node_modules/@types/responselike/node_modules/undici-types/errors.d.ts +0 -149
  329. package/node_modules/@types/responselike/node_modules/undici-types/eventsource.d.ts +0 -61
  330. package/node_modules/@types/responselike/node_modules/undici-types/fetch.d.ts +0 -209
  331. package/node_modules/@types/responselike/node_modules/undici-types/file.d.ts +0 -39
  332. package/node_modules/@types/responselike/node_modules/undici-types/filereader.d.ts +0 -54
  333. package/node_modules/@types/responselike/node_modules/undici-types/formdata.d.ts +0 -108
  334. package/node_modules/@types/responselike/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  335. package/node_modules/@types/responselike/node_modules/undici-types/global-origin.d.ts +0 -7
  336. package/node_modules/@types/responselike/node_modules/undici-types/handlers.d.ts +0 -15
  337. package/node_modules/@types/responselike/node_modules/undici-types/header.d.ts +0 -4
  338. package/node_modules/@types/responselike/node_modules/undici-types/index.d.ts +0 -71
  339. package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +0 -17
  340. package/node_modules/@types/responselike/node_modules/undici-types/mock-agent.d.ts +0 -50
  341. package/node_modules/@types/responselike/node_modules/undici-types/mock-client.d.ts +0 -25
  342. package/node_modules/@types/responselike/node_modules/undici-types/mock-errors.d.ts +0 -12
  343. package/node_modules/@types/responselike/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  344. package/node_modules/@types/responselike/node_modules/undici-types/mock-pool.d.ts +0 -25
  345. package/node_modules/@types/responselike/node_modules/undici-types/package.json +0 -55
  346. package/node_modules/@types/responselike/node_modules/undici-types/patch.d.ts +0 -33
  347. package/node_modules/@types/responselike/node_modules/undici-types/pool-stats.d.ts +0 -19
  348. package/node_modules/@types/responselike/node_modules/undici-types/pool.d.ts +0 -39
  349. package/node_modules/@types/responselike/node_modules/undici-types/proxy-agent.d.ts +0 -28
  350. package/node_modules/@types/responselike/node_modules/undici-types/readable.d.ts +0 -60
  351. package/node_modules/@types/responselike/node_modules/undici-types/retry-agent.d.ts +0 -8
  352. package/node_modules/@types/responselike/node_modules/undici-types/retry-handler.d.ts +0 -116
  353. package/node_modules/@types/responselike/node_modules/undici-types/util.d.ts +0 -18
  354. package/node_modules/@types/responselike/node_modules/undici-types/webidl.d.ts +0 -222
  355. package/node_modules/@types/responselike/node_modules/undici-types/websocket.d.ts +0 -150
  356. package/node_modules/@types/responselike/package.json +0 -27
  357. package/node_modules/cacheable-lookup/LICENSE +0 -21
  358. package/node_modules/cacheable-lookup/README.md +0 -240
  359. package/node_modules/cacheable-lookup/index.d.ts +0 -139
  360. package/node_modules/cacheable-lookup/package.json +0 -45
  361. package/node_modules/cacheable-lookup/source/index.js +0 -436
  362. package/node_modules/cacheable-request/LICENSE +0 -21
  363. package/node_modules/cacheable-request/README.md +0 -206
  364. package/node_modules/cacheable-request/package.json +0 -56
  365. package/node_modules/cacheable-request/src/index.js +0 -251
  366. package/node_modules/clone-response/LICENSE +0 -21
  367. package/node_modules/clone-response/README.md +0 -62
  368. package/node_modules/clone-response/node_modules/mimic-response/index.js +0 -32
  369. package/node_modules/clone-response/node_modules/mimic-response/license +0 -9
  370. package/node_modules/clone-response/node_modules/mimic-response/package.json +0 -37
  371. package/node_modules/clone-response/node_modules/mimic-response/readme.md +0 -54
  372. package/node_modules/clone-response/package.json +0 -41
  373. package/node_modules/clone-response/src/index.js +0 -17
  374. package/node_modules/decompress-response/index.d.ts +0 -22
  375. package/node_modules/decompress-response/index.js +0 -58
  376. package/node_modules/decompress-response/license +0 -9
  377. package/node_modules/decompress-response/package.json +0 -56
  378. package/node_modules/decompress-response/readme.md +0 -48
  379. package/node_modules/defer-to-connect/LICENSE +0 -21
  380. package/node_modules/defer-to-connect/README.md +0 -38
  381. package/node_modules/defer-to-connect/dist/source/index.d.ts +0 -10
  382. package/node_modules/defer-to-connect/dist/source/index.js +0 -47
  383. package/node_modules/defer-to-connect/package.json +0 -71
  384. package/node_modules/end-of-stream/LICENSE +0 -21
  385. package/node_modules/end-of-stream/README.md +0 -54
  386. package/node_modules/end-of-stream/index.js +0 -94
  387. package/node_modules/end-of-stream/package.json +0 -37
  388. package/node_modules/get-stream/buffer-stream.js +0 -52
  389. package/node_modules/get-stream/index.d.ts +0 -108
  390. package/node_modules/get-stream/index.js +0 -60
  391. package/node_modules/get-stream/license +0 -9
  392. package/node_modules/get-stream/package.json +0 -50
  393. package/node_modules/get-stream/readme.md +0 -124
  394. package/node_modules/got/dist/source/as-promise/create-rejection.d.ts +0 -2
  395. package/node_modules/got/dist/source/as-promise/create-rejection.js +0 -30
  396. package/node_modules/got/dist/source/as-promise/index.d.ts +0 -3
  397. package/node_modules/got/dist/source/as-promise/index.js +0 -176
  398. package/node_modules/got/dist/source/as-promise/normalize-arguments.d.ts +0 -3
  399. package/node_modules/got/dist/source/as-promise/normalize-arguments.js +0 -78
  400. package/node_modules/got/dist/source/as-promise/parse-body.d.ts +0 -3
  401. package/node_modules/got/dist/source/as-promise/parse-body.js +0 -25
  402. package/node_modules/got/dist/source/as-promise/types.d.ts +0 -256
  403. package/node_modules/got/dist/source/as-promise/types.js +0 -42
  404. package/node_modules/got/dist/source/core/calculate-retry-delay.d.ts +0 -5
  405. package/node_modules/got/dist/source/core/calculate-retry-delay.js +0 -29
  406. package/node_modules/got/dist/source/core/index.d.ts +0 -1124
  407. package/node_modules/got/dist/source/core/index.js +0 -1505
  408. package/node_modules/got/dist/source/core/utils/dns-ip-version.d.ts +0 -5
  409. package/node_modules/got/dist/source/core/utils/dns-ip-version.js +0 -17
  410. package/node_modules/got/dist/source/core/utils/get-body-size.d.ts +0 -3
  411. package/node_modules/got/dist/source/core/utils/get-body-size.js +0 -32
  412. package/node_modules/got/dist/source/core/utils/get-buffer.d.ts +0 -4
  413. package/node_modules/got/dist/source/core/utils/get-buffer.js +0 -16
  414. package/node_modules/got/dist/source/core/utils/is-form-data.d.ts +0 -8
  415. package/node_modules/got/dist/source/core/utils/is-form-data.js +0 -4
  416. package/node_modules/got/dist/source/core/utils/is-response-ok.d.ts +0 -2
  417. package/node_modules/got/dist/source/core/utils/is-response-ok.js +0 -8
  418. package/node_modules/got/dist/source/core/utils/options-to-url.d.ts +0 -14
  419. package/node_modules/got/dist/source/core/utils/options-to-url.js +0 -53
  420. package/node_modules/got/dist/source/core/utils/proxy-events.d.ts +0 -3
  421. package/node_modules/got/dist/source/core/utils/proxy-events.js +0 -17
  422. package/node_modules/got/dist/source/core/utils/timed-out.d.ts +0 -29
  423. package/node_modules/got/dist/source/core/utils/timed-out.js +0 -121
  424. package/node_modules/got/dist/source/core/utils/unhandle.d.ts +0 -11
  425. package/node_modules/got/dist/source/core/utils/unhandle.js +0 -22
  426. package/node_modules/got/dist/source/core/utils/url-to-options.d.ts +0 -15
  427. package/node_modules/got/dist/source/core/utils/url-to-options.js +0 -24
  428. package/node_modules/got/dist/source/core/utils/weakable-map.d.ts +0 -8
  429. package/node_modules/got/dist/source/core/utils/weakable-map.js +0 -29
  430. package/node_modules/got/dist/source/create.d.ts +0 -5
  431. package/node_modules/got/dist/source/create.js +0 -240
  432. package/node_modules/got/dist/source/index.d.ts +0 -4
  433. package/node_modules/got/dist/source/index.js +0 -132
  434. package/node_modules/got/dist/source/types.d.ts +0 -344
  435. package/node_modules/got/dist/source/types.js +0 -2
  436. package/node_modules/got/dist/source/utils/deep-freeze.d.ts +0 -1
  437. package/node_modules/got/dist/source/utils/deep-freeze.js +0 -12
  438. package/node_modules/got/dist/source/utils/deprecation-warning.d.ts +0 -2
  439. package/node_modules/got/dist/source/utils/deprecation-warning.js +0 -13
  440. package/node_modules/got/license +0 -9
  441. package/node_modules/got/package.json +0 -131
  442. package/node_modules/got/readme.md +0 -2477
  443. package/node_modules/hpagent/.github/dependabot.yml +0 -8
  444. package/node_modules/hpagent/.github/workflows/build.yml +0 -29
  445. package/node_modules/hpagent/LICENSE +0 -21
  446. package/node_modules/hpagent/README.md +0 -138
  447. package/node_modules/hpagent/index.d.ts +0 -26
  448. package/node_modules/hpagent/index.js +0 -101
  449. package/node_modules/hpagent/index.mjs +0 -5
  450. package/node_modules/hpagent/package.json +0 -49
  451. package/node_modules/hpagent/test/got.test.js +0 -111
  452. package/node_modules/hpagent/test/http-http.test.js +0 -351
  453. package/node_modules/hpagent/test/http-https.test.js +0 -313
  454. package/node_modules/hpagent/test/https-http.test.js +0 -313
  455. package/node_modules/hpagent/test/https-https.test.js +0 -313
  456. package/node_modules/hpagent/test/index.test-d.ts +0 -45
  457. package/node_modules/hpagent/test/needle.test.js +0 -103
  458. package/node_modules/hpagent/test/node-fetch.test.js +0 -103
  459. package/node_modules/hpagent/test/simple-get.test.js +0 -139
  460. package/node_modules/hpagent/test/ssl.cert +0 -19
  461. package/node_modules/hpagent/test/ssl.key +0 -27
  462. package/node_modules/hpagent/test/utils.js +0 -59
  463. package/node_modules/http-cache-semantics/LICENSE +0 -9
  464. package/node_modules/http-cache-semantics/README.md +0 -203
  465. package/node_modules/http-cache-semantics/index.js +0 -674
  466. package/node_modules/http-cache-semantics/package.json +0 -18
  467. package/node_modules/http2-wrapper/LICENSE +0 -21
  468. package/node_modules/http2-wrapper/README.md +0 -470
  469. package/node_modules/http2-wrapper/package.json +0 -54
  470. package/node_modules/http2-wrapper/source/agent.js +0 -670
  471. package/node_modules/http2-wrapper/source/auto.js +0 -149
  472. package/node_modules/http2-wrapper/source/client-request.js +0 -445
  473. package/node_modules/http2-wrapper/source/incoming-message.js +0 -58
  474. package/node_modules/http2-wrapper/source/index.js +0 -28
  475. package/node_modules/http2-wrapper/source/utils/calculate-server-name.js +0 -27
  476. package/node_modules/http2-wrapper/source/utils/errors.js +0 -45
  477. package/node_modules/http2-wrapper/source/utils/is-request-pseudo-header.js +0 -13
  478. package/node_modules/http2-wrapper/source/utils/proxy-events.js +0 -7
  479. package/node_modules/http2-wrapper/source/utils/url-to-options.js +0 -25
  480. package/node_modules/json-buffer/.travis.yml +0 -3
  481. package/node_modules/json-buffer/LICENSE +0 -22
  482. package/node_modules/json-buffer/README.md +0 -24
  483. package/node_modules/json-buffer/index.js +0 -58
  484. package/node_modules/json-buffer/package.json +0 -34
  485. package/node_modules/json-buffer/test/index.js +0 -63
  486. package/node_modules/keyv/README.md +0 -429
  487. package/node_modules/keyv/package.json +0 -57
  488. package/node_modules/keyv/src/index.d.ts +0 -112
  489. package/node_modules/keyv/src/index.js +0 -259
  490. package/node_modules/lowercase-keys/index.d.ts +0 -16
  491. package/node_modules/lowercase-keys/index.js +0 -10
  492. package/node_modules/lowercase-keys/license +0 -9
  493. package/node_modules/lowercase-keys/package.json +0 -38
  494. package/node_modules/lowercase-keys/readme.md +0 -32
  495. package/node_modules/mimic-response/index.d.ts +0 -17
  496. package/node_modules/mimic-response/index.js +0 -77
  497. package/node_modules/mimic-response/license +0 -9
  498. package/node_modules/mimic-response/package.json +0 -42
  499. package/node_modules/mimic-response/readme.md +0 -78
  500. package/node_modules/normalize-url/index.d.ts +0 -267
  501. package/node_modules/normalize-url/index.js +0 -216
  502. package/node_modules/normalize-url/license +0 -9
  503. package/node_modules/normalize-url/package.json +0 -50
  504. package/node_modules/normalize-url/readme.md +0 -286
  505. package/node_modules/once/LICENSE +0 -15
  506. package/node_modules/once/README.md +0 -79
  507. package/node_modules/once/once.js +0 -42
  508. package/node_modules/once/package.json +0 -33
  509. package/node_modules/p-cancelable/index.d.ts +0 -176
  510. package/node_modules/p-cancelable/index.js +0 -111
  511. package/node_modules/p-cancelable/license +0 -9
  512. package/node_modules/p-cancelable/package.json +0 -49
  513. package/node_modules/p-cancelable/readme.md +0 -153
  514. package/node_modules/pump/.github/FUNDING.yml +0 -2
  515. package/node_modules/pump/.travis.yml +0 -5
  516. package/node_modules/pump/LICENSE +0 -21
  517. package/node_modules/pump/README.md +0 -74
  518. package/node_modules/pump/SECURITY.md +0 -5
  519. package/node_modules/pump/index.js +0 -86
  520. package/node_modules/pump/package.json +0 -24
  521. package/node_modules/pump/test-browser.js +0 -66
  522. package/node_modules/pump/test-node.js +0 -53
  523. package/node_modules/quick-lru/index.d.ts +0 -97
  524. package/node_modules/quick-lru/index.js +0 -123
  525. package/node_modules/quick-lru/license +0 -9
  526. package/node_modules/quick-lru/package.json +0 -43
  527. package/node_modules/quick-lru/readme.md +0 -111
  528. package/node_modules/resolve-alpn/LICENSE +0 -22
  529. package/node_modules/resolve-alpn/README.md +0 -60
  530. package/node_modules/resolve-alpn/index.js +0 -43
  531. package/node_modules/resolve-alpn/package.json +0 -34
  532. package/node_modules/responselike/LICENSE +0 -19
  533. package/node_modules/responselike/README.md +0 -77
  534. package/node_modules/responselike/package.json +0 -39
  535. package/node_modules/responselike/src/index.js +0 -34
  536. package/node_modules/wrappy/LICENSE +0 -15
  537. package/node_modules/wrappy/README.md +0 -36
  538. package/node_modules/wrappy/package.json +0 -29
  539. 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
- }