@emulsify/cli 1.9.0 → 1.10.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 (524) hide show
  1. package/README.md +20 -13
  2. package/dist/node_modules/.package-lock.json +38 -25
  3. package/dist/node_modules/@types/node/README.md +5 -6
  4. package/dist/node_modules/@types/node/assert/strict.d.ts +8 -0
  5. package/dist/node_modules/@types/node/assert.d.ts +955 -45
  6. package/dist/node_modules/@types/node/async_hooks.d.ts +391 -87
  7. package/dist/node_modules/@types/node/buffer.d.ts +2210 -17
  8. package/dist/node_modules/@types/node/child_process.d.ts +1051 -189
  9. package/dist/node_modules/@types/node/cluster.d.ts +421 -143
  10. package/dist/node_modules/@types/node/console.d.ts +359 -49
  11. package/dist/node_modules/@types/node/constants.d.ts +3 -3
  12. package/dist/node_modules/@types/node/crypto.d.ts +3528 -291
  13. package/dist/node_modules/@types/node/dgram.d.ts +446 -30
  14. package/dist/node_modules/@types/node/diagnostics_channel.d.ts +554 -0
  15. package/dist/node_modules/@types/node/dns/promises.d.ts +476 -0
  16. package/dist/node_modules/@types/node/dns.d.ts +588 -240
  17. package/dist/node_modules/@types/node/dom-events.d.ts +124 -0
  18. package/dist/node_modules/@types/node/domain.d.ts +159 -16
  19. package/dist/node_modules/@types/node/events.d.ts +890 -41
  20. package/dist/node_modules/@types/node/fs/promises.d.ts +980 -369
  21. package/dist/node_modules/@types/node/fs.d.ts +2599 -869
  22. package/dist/node_modules/@types/node/globals.d.ts +374 -727
  23. package/dist/node_modules/@types/node/globals.global.d.ts +1 -1
  24. package/dist/node_modules/@types/node/http.d.ts +1459 -132
  25. package/dist/node_modules/@types/node/http2.d.ts +1333 -123
  26. package/dist/node_modules/@types/node/https.d.ts +289 -13
  27. package/dist/node_modules/@types/node/index.d.ts +37 -46
  28. package/dist/node_modules/@types/node/inspector.d.ts +367 -671
  29. package/dist/node_modules/@types/node/module.d.ts +273 -14
  30. package/dist/node_modules/@types/node/net.d.ts +741 -66
  31. package/dist/node_modules/@types/node/os.d.ts +275 -23
  32. package/dist/node_modules/@types/node/package.json +95 -110
  33. package/dist/node_modules/@types/node/path.d.ts +27 -4
  34. package/dist/node_modules/@types/node/perf_hooks.d.ts +756 -125
  35. package/dist/node_modules/@types/node/process.d.ts +1429 -127
  36. package/dist/node_modules/@types/node/punycode.d.ts +65 -26
  37. package/dist/node_modules/@types/node/querystring.d.ts +121 -9
  38. package/dist/node_modules/@types/node/readline/promises.d.ts +150 -0
  39. package/dist/node_modules/@types/node/readline.d.ts +405 -49
  40. package/dist/node_modules/@types/node/repl.d.ts +99 -73
  41. package/dist/node_modules/@types/node/sea.d.ts +153 -0
  42. package/dist/node_modules/@types/node/stream/consumers.d.ts +12 -0
  43. package/dist/node_modules/@types/node/stream/promises.d.ts +83 -0
  44. package/dist/node_modules/@types/node/stream/web.d.ts +367 -0
  45. package/dist/node_modules/@types/node/stream.d.ts +1462 -273
  46. package/dist/node_modules/@types/node/string_decoder.d.ts +59 -2
  47. package/dist/node_modules/@types/node/test.d.ts +1719 -0
  48. package/dist/node_modules/@types/node/timers/promises.d.ts +97 -0
  49. package/dist/node_modules/@types/node/timers.d.ts +233 -12
  50. package/dist/node_modules/@types/node/tls.d.ts +540 -189
  51. package/dist/node_modules/@types/node/trace_events.d.ts +143 -10
  52. package/dist/node_modules/@types/node/tty.d.ts +156 -17
  53. package/dist/node_modules/@types/node/url.d.ts +812 -47
  54. package/dist/node_modules/@types/node/util.d.ts +2159 -145
  55. package/dist/node_modules/@types/node/v8.d.ts +693 -74
  56. package/dist/node_modules/@types/node/vm.d.ts +813 -44
  57. package/dist/node_modules/@types/node/wasi.d.ts +121 -28
  58. package/dist/node_modules/@types/node/worker_threads.d.ts +514 -61
  59. package/dist/node_modules/@types/node/zlib.d.ts +220 -54
  60. package/dist/node_modules/ajv-formats/node_modules/ajv/README.md +1 -1
  61. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js +1 -0
  62. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js.map +1 -1
  63. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js.map +1 -1
  64. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.d.ts +2 -2
  65. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js.map +1 -1
  66. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.d.ts +1 -1
  67. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js +1 -1
  68. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js.map +1 -1
  69. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.d.ts +3 -3
  70. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.d.ts +10 -10
  71. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js +5 -1
  72. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -1
  73. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/code.ts +1 -0
  74. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/index.ts +2 -2
  75. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/resolve.ts +2 -2
  76. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/uri.ts +1 -1
  77. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/index.ts +3 -3
  78. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/json-schema.ts +10 -10
  79. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/discriminator/index.ts +4 -1
  80. package/dist/node_modules/ajv-formats/node_modules/ajv/package.json +5 -5
  81. package/dist/node_modules/commander/Readme.md +10 -8
  82. package/dist/node_modules/commander/esm.mjs +1 -1
  83. package/dist/node_modules/commander/lib/argument.js +9 -5
  84. package/dist/node_modules/commander/lib/command.js +406 -196
  85. package/dist/node_modules/commander/lib/error.js +0 -4
  86. package/dist/node_modules/commander/lib/help.js +101 -38
  87. package/dist/node_modules/commander/lib/option.js +11 -8
  88. package/dist/node_modules/commander/lib/suggestSimilar.js +5 -4
  89. package/dist/node_modules/commander/package.json +23 -19
  90. package/dist/node_modules/commander/typings/index.d.ts +110 -40
  91. package/dist/node_modules/debug/package.json +4 -3
  92. package/dist/node_modules/debug/src/browser.js +3 -1
  93. package/dist/node_modules/debug/src/node.js +2 -2
  94. package/dist/node_modules/fast-uri/.gitattributes +2 -0
  95. package/dist/node_modules/fast-uri/.github/.stale.yml +21 -0
  96. package/dist/node_modules/fast-uri/.github/dependabot.yml +13 -0
  97. package/dist/node_modules/fast-uri/.github/tests_checker.yml +8 -0
  98. package/dist/node_modules/fast-uri/.github/workflows/ci.yml +23 -0
  99. package/dist/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +20 -0
  100. package/dist/node_modules/fast-uri/.taprc +3 -0
  101. package/dist/node_modules/fast-uri/LICENSE +30 -0
  102. package/dist/node_modules/fast-uri/README.md +125 -0
  103. package/dist/node_modules/fast-uri/benchmark.js +105 -0
  104. package/dist/node_modules/fast-uri/index.js +309 -0
  105. package/dist/node_modules/fast-uri/lib/schemes.js +188 -0
  106. package/dist/node_modules/fast-uri/lib/scopedChars.js +30 -0
  107. package/dist/node_modules/fast-uri/lib/utils.js +242 -0
  108. package/dist/node_modules/fast-uri/package.json +39 -0
  109. package/dist/node_modules/fast-uri/test/.gitkeep +0 -0
  110. package/dist/node_modules/fast-uri/test/ajv.test.js +39 -0
  111. package/dist/node_modules/fast-uri/test/compatibility.test.js +130 -0
  112. package/dist/node_modules/fast-uri/test/equal.test.js +104 -0
  113. package/dist/node_modules/fast-uri/test/parse.test.js +319 -0
  114. package/dist/node_modules/fast-uri/test/resolve.test.js +76 -0
  115. package/dist/node_modules/fast-uri/test/serialize.test.js +144 -0
  116. package/dist/node_modules/fast-uri/test/uri-js.test.js +940 -0
  117. package/dist/node_modules/fast-uri/test/util.test.js +24 -0
  118. package/dist/node_modules/fast-uri/types/index.d.ts +53 -0
  119. package/dist/node_modules/fast-uri/types/index.test-d.ts +17 -0
  120. package/dist/node_modules/fs-extra/README.md +32 -2
  121. package/dist/node_modules/fs-extra/lib/copy/copy-sync.js +3 -11
  122. package/dist/node_modules/fs-extra/lib/copy/copy.js +120 -178
  123. package/dist/node_modules/fs-extra/lib/copy/index.js +1 -1
  124. package/dist/node_modules/fs-extra/lib/ensure/file.js +31 -34
  125. package/dist/node_modules/fs-extra/lib/ensure/link.js +27 -27
  126. package/dist/node_modules/fs-extra/lib/ensure/symlink-paths.js +57 -55
  127. package/dist/node_modules/fs-extra/lib/ensure/symlink-type.js +16 -13
  128. package/dist/node_modules/fs-extra/lib/ensure/symlink.js +29 -44
  129. package/dist/node_modules/fs-extra/lib/esm.mjs +68 -0
  130. package/dist/node_modules/fs-extra/lib/fs/index.js +29 -17
  131. package/dist/node_modules/fs-extra/lib/move/index.js +1 -1
  132. package/dist/node_modules/fs-extra/lib/move/move-sync.js +2 -1
  133. package/dist/node_modules/fs-extra/lib/move/move.js +38 -54
  134. package/dist/node_modules/fs-extra/lib/output-file/index.js +10 -19
  135. package/dist/node_modules/fs-extra/lib/remove/index.js +2 -7
  136. package/dist/node_modules/fs-extra/lib/util/stat.js +46 -42
  137. package/dist/node_modules/fs-extra/lib/util/utimes.js +21 -11
  138. package/dist/node_modules/fs-extra/package.json +11 -7
  139. package/dist/node_modules/simple-git/dist/cjs/index.js +4958 -0
  140. package/dist/node_modules/simple-git/dist/cjs/index.js.map +7 -0
  141. package/dist/node_modules/simple-git/dist/esm/index.js +4813 -0
  142. package/dist/node_modules/simple-git/dist/esm/index.js.map +7 -0
  143. package/dist/node_modules/simple-git/dist/esm/package.json +3 -0
  144. package/dist/node_modules/simple-git/{src → dist/src}/lib/api.d.ts +3 -13
  145. package/dist/node_modules/simple-git/dist/src/lib/args/log-format.d.ts +9 -0
  146. package/dist/node_modules/simple-git/dist/src/lib/args/pathspec.d.ts +3 -0
  147. package/dist/node_modules/simple-git/{src → dist/src}/lib/errors/git-error.d.ts +3 -2
  148. package/dist/node_modules/simple-git/dist/src/lib/errors/git-plugin-error.d.ts +7 -0
  149. package/dist/node_modules/simple-git/dist/src/lib/git-factory.d.ts +15 -0
  150. package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-branch.d.ts +1 -1
  151. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-diff-summary.d.ts +3 -0
  152. package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-list-log-summary.d.ts +2 -1
  153. package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-pull.d.ts +2 -0
  154. package/dist/node_modules/simple-git/dist/src/lib/plugins/abort-plugin.d.ts +3 -0
  155. package/dist/node_modules/simple-git/dist/src/lib/plugins/block-unsafe-operations-plugin.d.ts +3 -0
  156. package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/completion-detection.plugin.d.ts +1 -1
  157. package/dist/node_modules/simple-git/dist/src/lib/plugins/custom-binary.plugin.d.ts +3 -0
  158. package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/index.d.ts +3 -0
  159. package/dist/node_modules/simple-git/dist/src/lib/plugins/plugin-store.d.ts +11 -0
  160. package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/progress-monitor-plugin.d.ts +1 -1
  161. package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/simple-git-plugin.d.ts +10 -0
  162. package/dist/node_modules/simple-git/dist/src/lib/plugins/suffix-paths.plugin.d.ts +2 -0
  163. package/dist/node_modules/simple-git/dist/src/lib/plugins/timout-plugin.d.ts +3 -0
  164. package/dist/node_modules/simple-git/dist/src/lib/responses/BranchSummary.d.ts +14 -0
  165. package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/FileStatusSummary.d.ts +1 -1
  166. package/dist/node_modules/simple-git/dist/src/lib/responses/PullSummary.d.ts +25 -0
  167. package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/StatusSummary.d.ts +2 -1
  168. package/dist/node_modules/simple-git/{src → dist/src}/lib/runners/git-executor-chain.d.ts +1 -1
  169. package/dist/node_modules/simple-git/{src → dist/src}/lib/runners/git-executor.d.ts +3 -4
  170. package/dist/node_modules/simple-git/dist/src/lib/tasks/checkout.d.ts +2 -0
  171. package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/clone.d.ts +3 -2
  172. package/dist/node_modules/simple-git/dist/src/lib/tasks/commit.d.ts +4 -0
  173. package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/config.d.ts +1 -1
  174. package/dist/node_modules/simple-git/dist/src/lib/tasks/count-objects.d.ts +12 -0
  175. package/dist/node_modules/simple-git/dist/src/lib/tasks/diff-name-status.d.ts +12 -0
  176. package/dist/node_modules/simple-git/dist/src/lib/tasks/diff.d.ts +5 -0
  177. package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/fetch.d.ts +2 -1
  178. package/dist/node_modules/simple-git/dist/src/lib/tasks/first-commit.d.ts +2 -0
  179. package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/log.d.ts +3 -3
  180. package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/remote.d.ts +3 -3
  181. package/dist/node_modules/simple-git/dist/src/lib/tasks/show.d.ts +2 -0
  182. package/dist/node_modules/simple-git/dist/src/lib/tasks/stash-list.d.ts +4 -0
  183. package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/task.d.ts +1 -1
  184. package/dist/node_modules/simple-git/dist/src/lib/tasks/version.d.ts +9 -0
  185. package/dist/node_modules/simple-git/{src → dist/src}/lib/types/index.d.ts +64 -5
  186. package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/exit-codes.d.ts +1 -0
  187. package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/line-parser.d.ts +1 -1
  188. package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/task-parser.d.ts +2 -2
  189. package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/util.d.ts +3 -1
  190. package/dist/node_modules/simple-git/{typings → dist/typings}/errors.d.ts +0 -1
  191. package/dist/node_modules/simple-git/{typings → dist/typings}/index.d.ts +2 -1
  192. package/dist/node_modules/simple-git/{typings → dist/typings}/response.d.ts +68 -25
  193. package/dist/node_modules/simple-git/{typings → dist/typings}/simple-git.d.ts +493 -110
  194. package/dist/node_modules/simple-git/dist/typings/types.d.ts +23 -0
  195. package/dist/node_modules/simple-git/package.json +32 -35
  196. package/dist/node_modules/simple-git/promise.js +14 -4
  197. package/dist/node_modules/simple-git/readme.md +372 -389
  198. package/dist/node_modules/undici-types/README.md +6 -0
  199. package/dist/node_modules/undici-types/agent.d.ts +31 -0
  200. package/dist/node_modules/undici-types/api.d.ts +43 -0
  201. package/dist/node_modules/undici-types/balanced-pool.d.ts +18 -0
  202. package/dist/node_modules/undici-types/cache.d.ts +36 -0
  203. package/dist/node_modules/undici-types/client.d.ts +97 -0
  204. package/dist/node_modules/undici-types/connector.d.ts +34 -0
  205. package/dist/node_modules/undici-types/content-type.d.ts +21 -0
  206. package/dist/node_modules/undici-types/cookies.d.ts +28 -0
  207. package/dist/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
  208. package/dist/node_modules/undici-types/dispatcher.d.ts +241 -0
  209. package/dist/node_modules/undici-types/errors.d.ts +128 -0
  210. package/dist/node_modules/undici-types/fetch.d.ts +209 -0
  211. package/dist/node_modules/undici-types/file.d.ts +39 -0
  212. package/dist/node_modules/undici-types/filereader.d.ts +54 -0
  213. package/dist/node_modules/undici-types/formdata.d.ts +108 -0
  214. package/dist/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  215. package/dist/node_modules/undici-types/global-origin.d.ts +7 -0
  216. package/dist/node_modules/undici-types/handlers.d.ts +9 -0
  217. package/dist/node_modules/undici-types/header.d.ts +4 -0
  218. package/dist/node_modules/undici-types/index.d.ts +63 -0
  219. package/dist/node_modules/undici-types/interceptors.d.ts +5 -0
  220. package/dist/node_modules/undici-types/mock-agent.d.ts +50 -0
  221. package/dist/node_modules/undici-types/mock-client.d.ts +25 -0
  222. package/dist/node_modules/undici-types/mock-errors.d.ts +12 -0
  223. package/dist/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  224. package/dist/node_modules/undici-types/mock-pool.d.ts +25 -0
  225. package/dist/node_modules/undici-types/package.json +55 -0
  226. package/dist/node_modules/undici-types/patch.d.ts +71 -0
  227. package/dist/node_modules/undici-types/pool-stats.d.ts +19 -0
  228. package/dist/node_modules/undici-types/pool.d.ts +28 -0
  229. package/dist/node_modules/undici-types/proxy-agent.d.ts +30 -0
  230. package/dist/node_modules/undici-types/readable.d.ts +61 -0
  231. package/dist/node_modules/undici-types/webidl.d.ts +220 -0
  232. package/dist/node_modules/undici-types/websocket.d.ts +131 -0
  233. package/dist/package-lock.json +10146 -0
  234. package/dist/package.json +24 -24
  235. package/dist/schemas/variant.json +5 -21
  236. package/package.json +24 -24
  237. package/dist/node_modules/@types/node/ts4.8/assert.d.ts +0 -130
  238. package/dist/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -237
  239. package/dist/node_modules/@types/node/ts4.8/buffer.d.ts +0 -89
  240. package/dist/node_modules/@types/node/ts4.8/child_process.d.ts +0 -682
  241. package/dist/node_modules/@types/node/ts4.8/cluster.d.ts +0 -300
  242. package/dist/node_modules/@types/node/ts4.8/console.d.ts +0 -142
  243. package/dist/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  244. package/dist/node_modules/@types/node/ts4.8/crypto.d.ts +0 -1287
  245. package/dist/node_modules/@types/node/ts4.8/dgram.d.ts +0 -180
  246. package/dist/node_modules/@types/node/ts4.8/dns.d.ts +0 -516
  247. package/dist/node_modules/@types/node/ts4.8/domain.d.ts +0 -27
  248. package/dist/node_modules/@types/node/ts4.8/events.d.ts +0 -82
  249. package/dist/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -634
  250. package/dist/node_modules/@types/node/ts4.8/fs.d.ts +0 -2587
  251. package/dist/node_modules/@types/node/ts4.8/globals.d.ts +0 -763
  252. package/dist/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  253. package/dist/node_modules/@types/node/ts4.8/http.d.ts +0 -580
  254. package/dist/node_modules/@types/node/ts4.8/http2.d.ts +0 -1208
  255. package/dist/node_modules/@types/node/ts4.8/https.d.ts +0 -274
  256. package/dist/node_modules/@types/node/ts4.8/index.d.ts +0 -53
  257. package/dist/node_modules/@types/node/ts4.8/inspector.d.ts +0 -3050
  258. package/dist/node_modules/@types/node/ts4.8/module.d.ts +0 -56
  259. package/dist/node_modules/@types/node/ts4.8/net.d.ts +0 -324
  260. package/dist/node_modules/@types/node/ts4.8/os.d.ts +0 -243
  261. package/dist/node_modules/@types/node/ts4.8/path.d.ts +0 -168
  262. package/dist/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -274
  263. package/dist/node_modules/@types/node/ts4.8/process.d.ts +0 -452
  264. package/dist/node_modules/@types/node/ts4.8/punycode.d.ts +0 -78
  265. package/dist/node_modules/@types/node/ts4.8/querystring.d.ts +0 -41
  266. package/dist/node_modules/@types/node/ts4.8/readline.d.ts +0 -184
  267. package/dist/node_modules/@types/node/ts4.8/repl.d.ts +0 -404
  268. package/dist/node_modules/@types/node/ts4.8/stream.d.ts +0 -518
  269. package/dist/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -10
  270. package/dist/node_modules/@types/node/ts4.8/timers.d.ts +0 -19
  271. package/dist/node_modules/@types/node/ts4.8/tls.d.ts +0 -866
  272. package/dist/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -64
  273. package/dist/node_modules/@types/node/ts4.8/tty.d.ts +0 -69
  274. package/dist/node_modules/@types/node/ts4.8/url.d.ts +0 -187
  275. package/dist/node_modules/@types/node/ts4.8/util.d.ts +0 -278
  276. package/dist/node_modules/@types/node/ts4.8/v8.d.ts +0 -189
  277. package/dist/node_modules/@types/node/ts4.8/vm.d.ts +0 -155
  278. package/dist/node_modules/@types/node/ts4.8/wasi.d.ts +0 -88
  279. package/dist/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -241
  280. package/dist/node_modules/@types/node/ts4.8/zlib.d.ts +0 -364
  281. package/dist/node_modules/fs-extra/lib/remove/rimraf.js +0 -302
  282. package/dist/node_modules/simple-git/CHANGELOG.md +0 -529
  283. package/dist/node_modules/simple-git/LICENSE +0 -20
  284. package/dist/node_modules/simple-git/promise.d.ts +0 -46
  285. package/dist/node_modules/simple-git/src/git.js +0 -700
  286. package/dist/node_modules/simple-git/src/index.js +0 -7
  287. package/dist/node_modules/simple-git/src/lib/api.js +0 -26
  288. package/dist/node_modules/simple-git/src/lib/api.js.map +0 -1
  289. package/dist/node_modules/simple-git/src/lib/errors/git-construct-error.js +0 -21
  290. package/dist/node_modules/simple-git/src/lib/errors/git-construct-error.js.map +0 -1
  291. package/dist/node_modules/simple-git/src/lib/errors/git-error.js +0 -37
  292. package/dist/node_modules/simple-git/src/lib/errors/git-error.js.map +0 -1
  293. package/dist/node_modules/simple-git/src/lib/errors/git-plugin-error.d.ts +0 -6
  294. package/dist/node_modules/simple-git/src/lib/errors/git-plugin-error.js +0 -14
  295. package/dist/node_modules/simple-git/src/lib/errors/git-plugin-error.js.map +0 -1
  296. package/dist/node_modules/simple-git/src/lib/errors/git-response-error.js +0 -36
  297. package/dist/node_modules/simple-git/src/lib/errors/git-response-error.js.map +0 -1
  298. package/dist/node_modules/simple-git/src/lib/errors/task-configuration-error.js +0 -19
  299. package/dist/node_modules/simple-git/src/lib/errors/task-configuration-error.js.map +0 -1
  300. package/dist/node_modules/simple-git/src/lib/git-factory.d.ts +0 -25
  301. package/dist/node_modules/simple-git/src/lib/git-factory.js +0 -45
  302. package/dist/node_modules/simple-git/src/lib/git-factory.js.map +0 -1
  303. package/dist/node_modules/simple-git/src/lib/git-logger.js +0 -101
  304. package/dist/node_modules/simple-git/src/lib/git-logger.js.map +0 -1
  305. package/dist/node_modules/simple-git/src/lib/parsers/parse-branch-delete.js +0 -29
  306. package/dist/node_modules/simple-git/src/lib/parsers/parse-branch-delete.js.map +0 -1
  307. package/dist/node_modules/simple-git/src/lib/parsers/parse-branch.js +0 -18
  308. package/dist/node_modules/simple-git/src/lib/parsers/parse-branch.js.map +0 -1
  309. package/dist/node_modules/simple-git/src/lib/parsers/parse-commit.js +0 -53
  310. package/dist/node_modules/simple-git/src/lib/parsers/parse-commit.js.map +0 -1
  311. package/dist/node_modules/simple-git/src/lib/parsers/parse-diff-summary.d.ts +0 -2
  312. package/dist/node_modules/simple-git/src/lib/parsers/parse-diff-summary.js +0 -74
  313. package/dist/node_modules/simple-git/src/lib/parsers/parse-diff-summary.js.map +0 -1
  314. package/dist/node_modules/simple-git/src/lib/parsers/parse-fetch.js +0 -32
  315. package/dist/node_modules/simple-git/src/lib/parsers/parse-fetch.js.map +0 -1
  316. package/dist/node_modules/simple-git/src/lib/parsers/parse-list-log-summary.js +0 -35
  317. package/dist/node_modules/simple-git/src/lib/parsers/parse-list-log-summary.js.map +0 -1
  318. package/dist/node_modules/simple-git/src/lib/parsers/parse-merge.js +0 -39
  319. package/dist/node_modules/simple-git/src/lib/parsers/parse-merge.js.map +0 -1
  320. package/dist/node_modules/simple-git/src/lib/parsers/parse-move.js +0 -14
  321. package/dist/node_modules/simple-git/src/lib/parsers/parse-move.js.map +0 -1
  322. package/dist/node_modules/simple-git/src/lib/parsers/parse-pull.js +0 -42
  323. package/dist/node_modules/simple-git/src/lib/parsers/parse-pull.js.map +0 -1
  324. package/dist/node_modules/simple-git/src/lib/parsers/parse-push.js +0 -58
  325. package/dist/node_modules/simple-git/src/lib/parsers/parse-push.js.map +0 -1
  326. package/dist/node_modules/simple-git/src/lib/parsers/parse-remote-messages.js +0 -33
  327. package/dist/node_modules/simple-git/src/lib/parsers/parse-remote-messages.js.map +0 -1
  328. package/dist/node_modules/simple-git/src/lib/parsers/parse-remote-objects.js +0 -41
  329. package/dist/node_modules/simple-git/src/lib/parsers/parse-remote-objects.js.map +0 -1
  330. package/dist/node_modules/simple-git/src/lib/plugins/command-config-prefixing-plugin.js +0 -15
  331. package/dist/node_modules/simple-git/src/lib/plugins/command-config-prefixing-plugin.js.map +0 -1
  332. package/dist/node_modules/simple-git/src/lib/plugins/completion-detection.plugin.js +0 -80
  333. package/dist/node_modules/simple-git/src/lib/plugins/completion-detection.plugin.js.map +0 -1
  334. package/dist/node_modules/simple-git/src/lib/plugins/error-detection.plugin.js +0 -39
  335. package/dist/node_modules/simple-git/src/lib/plugins/error-detection.plugin.js.map +0 -1
  336. package/dist/node_modules/simple-git/src/lib/plugins/index.js +0 -21
  337. package/dist/node_modules/simple-git/src/lib/plugins/index.js.map +0 -1
  338. package/dist/node_modules/simple-git/src/lib/plugins/plugin-store.d.ts +0 -6
  339. package/dist/node_modules/simple-git/src/lib/plugins/plugin-store.js +0 -28
  340. package/dist/node_modules/simple-git/src/lib/plugins/plugin-store.js.map +0 -1
  341. package/dist/node_modules/simple-git/src/lib/plugins/progress-monitor-plugin.js +0 -45
  342. package/dist/node_modules/simple-git/src/lib/plugins/progress-monitor-plugin.js.map +0 -1
  343. package/dist/node_modules/simple-git/src/lib/plugins/simple-git-plugin.js +0 -3
  344. package/dist/node_modules/simple-git/src/lib/plugins/simple-git-plugin.js.map +0 -1
  345. package/dist/node_modules/simple-git/src/lib/plugins/spawn-options-plugin.js +0 -15
  346. package/dist/node_modules/simple-git/src/lib/plugins/spawn-options-plugin.js.map +0 -1
  347. package/dist/node_modules/simple-git/src/lib/plugins/timout-plugin.d.ts +0 -3
  348. package/dist/node_modules/simple-git/src/lib/plugins/timout-plugin.js +0 -37
  349. package/dist/node_modules/simple-git/src/lib/plugins/timout-plugin.js.map +0 -1
  350. package/dist/node_modules/simple-git/src/lib/responses/BranchDeleteSummary.js +0 -31
  351. package/dist/node_modules/simple-git/src/lib/responses/BranchDeleteSummary.js.map +0 -1
  352. package/dist/node_modules/simple-git/src/lib/responses/BranchSummary.d.ts +0 -10
  353. package/dist/node_modules/simple-git/src/lib/responses/BranchSummary.js +0 -26
  354. package/dist/node_modules/simple-git/src/lib/responses/BranchSummary.js.map +0 -1
  355. package/dist/node_modules/simple-git/src/lib/responses/CheckIgnore.js +0 -13
  356. package/dist/node_modules/simple-git/src/lib/responses/CheckIgnore.js.map +0 -1
  357. package/dist/node_modules/simple-git/src/lib/responses/CleanSummary.js +0 -28
  358. package/dist/node_modules/simple-git/src/lib/responses/CleanSummary.js.map +0 -1
  359. package/dist/node_modules/simple-git/src/lib/responses/ConfigList.js +0 -89
  360. package/dist/node_modules/simple-git/src/lib/responses/ConfigList.js.map +0 -1
  361. package/dist/node_modules/simple-git/src/lib/responses/DiffSummary.js +0 -16
  362. package/dist/node_modules/simple-git/src/lib/responses/DiffSummary.js.map +0 -1
  363. package/dist/node_modules/simple-git/src/lib/responses/FileStatusSummary.js +0 -18
  364. package/dist/node_modules/simple-git/src/lib/responses/FileStatusSummary.js.map +0 -1
  365. package/dist/node_modules/simple-git/src/lib/responses/GetRemoteSummary.js +0 -30
  366. package/dist/node_modules/simple-git/src/lib/responses/GetRemoteSummary.js.map +0 -1
  367. package/dist/node_modules/simple-git/src/lib/responses/InitSummary.js +0 -36
  368. package/dist/node_modules/simple-git/src/lib/responses/InitSummary.js.map +0 -1
  369. package/dist/node_modules/simple-git/src/lib/responses/MergeSummary.js +0 -35
  370. package/dist/node_modules/simple-git/src/lib/responses/MergeSummary.js.map +0 -1
  371. package/dist/node_modules/simple-git/src/lib/responses/PullSummary.d.ts +0 -12
  372. package/dist/node_modules/simple-git/src/lib/responses/PullSummary.js +0 -22
  373. package/dist/node_modules/simple-git/src/lib/responses/PullSummary.js.map +0 -1
  374. package/dist/node_modules/simple-git/src/lib/responses/StatusSummary.js +0 -128
  375. package/dist/node_modules/simple-git/src/lib/responses/StatusSummary.js.map +0 -1
  376. package/dist/node_modules/simple-git/src/lib/responses/TagList.js +0 -56
  377. package/dist/node_modules/simple-git/src/lib/responses/TagList.js.map +0 -1
  378. package/dist/node_modules/simple-git/src/lib/runners/git-executor-chain.js +0 -173
  379. package/dist/node_modules/simple-git/src/lib/runners/git-executor-chain.js.map +0 -1
  380. package/dist/node_modules/simple-git/src/lib/runners/git-executor.js +0 -21
  381. package/dist/node_modules/simple-git/src/lib/runners/git-executor.js.map +0 -1
  382. package/dist/node_modules/simple-git/src/lib/runners/promise-wrapped.js +0 -133
  383. package/dist/node_modules/simple-git/src/lib/runners/promise-wrapped.js.map +0 -1
  384. package/dist/node_modules/simple-git/src/lib/runners/scheduler.js +0 -48
  385. package/dist/node_modules/simple-git/src/lib/runners/scheduler.js.map +0 -1
  386. package/dist/node_modules/simple-git/src/lib/runners/tasks-pending-queue.js +0 -64
  387. package/dist/node_modules/simple-git/src/lib/runners/tasks-pending-queue.js.map +0 -1
  388. package/dist/node_modules/simple-git/src/lib/simple-git-api.js +0 -80
  389. package/dist/node_modules/simple-git/src/lib/simple-git-api.js.map +0 -1
  390. package/dist/node_modules/simple-git/src/lib/task-callback.js +0 -39
  391. package/dist/node_modules/simple-git/src/lib/task-callback.js.map +0 -1
  392. package/dist/node_modules/simple-git/src/lib/tasks/apply-patch.js +0 -9
  393. package/dist/node_modules/simple-git/src/lib/tasks/apply-patch.js.map +0 -1
  394. package/dist/node_modules/simple-git/src/lib/tasks/branch.js +0 -76
  395. package/dist/node_modules/simple-git/src/lib/tasks/branch.js.map +0 -1
  396. package/dist/node_modules/simple-git/src/lib/tasks/change-working-directory.js +0 -15
  397. package/dist/node_modules/simple-git/src/lib/tasks/change-working-directory.js.map +0 -1
  398. package/dist/node_modules/simple-git/src/lib/tasks/check-ignore.js +0 -13
  399. package/dist/node_modules/simple-git/src/lib/tasks/check-ignore.js.map +0 -1
  400. package/dist/node_modules/simple-git/src/lib/tasks/check-is-repo.js +0 -61
  401. package/dist/node_modules/simple-git/src/lib/tasks/check-is-repo.js.map +0 -1
  402. package/dist/node_modules/simple-git/src/lib/tasks/clean.js +0 -85
  403. package/dist/node_modules/simple-git/src/lib/tasks/clean.js.map +0 -1
  404. package/dist/node_modules/simple-git/src/lib/tasks/clone.js +0 -22
  405. package/dist/node_modules/simple-git/src/lib/tasks/clone.js.map +0 -1
  406. package/dist/node_modules/simple-git/src/lib/tasks/commit.d.ts +0 -3
  407. package/dist/node_modules/simple-git/src/lib/tasks/commit.js +0 -16
  408. package/dist/node_modules/simple-git/src/lib/tasks/commit.js.map +0 -1
  409. package/dist/node_modules/simple-git/src/lib/tasks/config.js +0 -73
  410. package/dist/node_modules/simple-git/src/lib/tasks/config.js.map +0 -1
  411. package/dist/node_modules/simple-git/src/lib/tasks/diff.d.ts +0 -3
  412. package/dist/node_modules/simple-git/src/lib/tasks/diff.js +0 -15
  413. package/dist/node_modules/simple-git/src/lib/tasks/diff.js.map +0 -1
  414. package/dist/node_modules/simple-git/src/lib/tasks/fetch.js +0 -17
  415. package/dist/node_modules/simple-git/src/lib/tasks/fetch.js.map +0 -1
  416. package/dist/node_modules/simple-git/src/lib/tasks/grep.js +0 -76
  417. package/dist/node_modules/simple-git/src/lib/tasks/grep.js.map +0 -1
  418. package/dist/node_modules/simple-git/src/lib/tasks/hash-object.js +0 -16
  419. package/dist/node_modules/simple-git/src/lib/tasks/hash-object.js.map +0 -1
  420. package/dist/node_modules/simple-git/src/lib/tasks/init.js +0 -23
  421. package/dist/node_modules/simple-git/src/lib/tasks/init.js.map +0 -1
  422. package/dist/node_modules/simple-git/src/lib/tasks/log.js +0 -109
  423. package/dist/node_modules/simple-git/src/lib/tasks/log.js.map +0 -1
  424. package/dist/node_modules/simple-git/src/lib/tasks/merge.js +0 -24
  425. package/dist/node_modules/simple-git/src/lib/tasks/merge.js.map +0 -1
  426. package/dist/node_modules/simple-git/src/lib/tasks/move.js +0 -14
  427. package/dist/node_modules/simple-git/src/lib/tasks/move.js.map +0 -1
  428. package/dist/node_modules/simple-git/src/lib/tasks/pull.js +0 -19
  429. package/dist/node_modules/simple-git/src/lib/tasks/pull.js.map +0 -1
  430. package/dist/node_modules/simple-git/src/lib/tasks/push.js +0 -29
  431. package/dist/node_modules/simple-git/src/lib/tasks/push.js.map +0 -1
  432. package/dist/node_modules/simple-git/src/lib/tasks/remote.js +0 -42
  433. package/dist/node_modules/simple-git/src/lib/tasks/remote.js.map +0 -1
  434. package/dist/node_modules/simple-git/src/lib/tasks/reset.js +0 -38
  435. package/dist/node_modules/simple-git/src/lib/tasks/reset.js.map +0 -1
  436. package/dist/node_modules/simple-git/src/lib/tasks/stash-list.d.ts +0 -3
  437. package/dist/node_modules/simple-git/src/lib/tasks/stash-list.js +0 -16
  438. package/dist/node_modules/simple-git/src/lib/tasks/stash-list.js.map +0 -1
  439. package/dist/node_modules/simple-git/src/lib/tasks/status.js +0 -15
  440. package/dist/node_modules/simple-git/src/lib/tasks/status.js.map +0 -1
  441. package/dist/node_modules/simple-git/src/lib/tasks/sub-module.js +0 -25
  442. package/dist/node_modules/simple-git/src/lib/tasks/sub-module.js.map +0 -1
  443. package/dist/node_modules/simple-git/src/lib/tasks/tag.js +0 -45
  444. package/dist/node_modules/simple-git/src/lib/tasks/tag.js.map +0 -1
  445. package/dist/node_modules/simple-git/src/lib/tasks/task.js +0 -52
  446. package/dist/node_modules/simple-git/src/lib/tasks/task.js.map +0 -1
  447. package/dist/node_modules/simple-git/src/lib/types/handlers.js +0 -3
  448. package/dist/node_modules/simple-git/src/lib/types/handlers.js.map +0 -1
  449. package/dist/node_modules/simple-git/src/lib/types/index.js +0 -15
  450. package/dist/node_modules/simple-git/src/lib/types/index.js.map +0 -1
  451. package/dist/node_modules/simple-git/src/lib/types/tasks.js +0 -3
  452. package/dist/node_modules/simple-git/src/lib/types/tasks.js.map +0 -1
  453. package/dist/node_modules/simple-git/src/lib/utils/argument-filters.js +0 -47
  454. package/dist/node_modules/simple-git/src/lib/utils/argument-filters.js.map +0 -1
  455. package/dist/node_modules/simple-git/src/lib/utils/exit-codes.js +0 -14
  456. package/dist/node_modules/simple-git/src/lib/utils/exit-codes.js.map +0 -1
  457. package/dist/node_modules/simple-git/src/lib/utils/git-output-streams.js +0 -14
  458. package/dist/node_modules/simple-git/src/lib/utils/git-output-streams.js.map +0 -1
  459. package/dist/node_modules/simple-git/src/lib/utils/index.js +0 -21
  460. package/dist/node_modules/simple-git/src/lib/utils/index.js.map +0 -1
  461. package/dist/node_modules/simple-git/src/lib/utils/line-parser.js +0 -52
  462. package/dist/node_modules/simple-git/src/lib/utils/line-parser.js.map +0 -1
  463. package/dist/node_modules/simple-git/src/lib/utils/simple-git-options.js +0 -16
  464. package/dist/node_modules/simple-git/src/lib/utils/simple-git-options.js.map +0 -1
  465. package/dist/node_modules/simple-git/src/lib/utils/task-options.js +0 -58
  466. package/dist/node_modules/simple-git/src/lib/utils/task-options.js.map +0 -1
  467. package/dist/node_modules/simple-git/src/lib/utils/task-parser.js +0 -24
  468. package/dist/node_modules/simple-git/src/lib/utils/task-parser.js.map +0 -1
  469. package/dist/node_modules/simple-git/src/lib/utils/util.js +0 -146
  470. package/dist/node_modules/simple-git/src/lib/utils/util.js.map +0 -1
  471. package/dist/node_modules/simple-git/typings/types.d.ts +0 -14
  472. /package/dist/node_modules/simple-git/{src → dist/src}/lib/errors/git-construct-error.d.ts +0 -0
  473. /package/dist/node_modules/simple-git/{src → dist/src}/lib/errors/git-response-error.d.ts +0 -0
  474. /package/dist/node_modules/simple-git/{src → dist/src}/lib/errors/task-configuration-error.d.ts +0 -0
  475. /package/dist/node_modules/simple-git/{src → dist/src}/lib/git-logger.d.ts +0 -0
  476. /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-branch-delete.d.ts +0 -0
  477. /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-commit.d.ts +0 -0
  478. /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-fetch.d.ts +0 -0
  479. /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-merge.d.ts +0 -0
  480. /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-move.d.ts +0 -0
  481. /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-push.d.ts +0 -0
  482. /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-remote-messages.d.ts +0 -0
  483. /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-remote-objects.d.ts +0 -0
  484. /package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/command-config-prefixing-plugin.d.ts +0 -0
  485. /package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/error-detection.plugin.d.ts +0 -0
  486. /package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/spawn-options-plugin.d.ts +0 -0
  487. /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/BranchDeleteSummary.d.ts +0 -0
  488. /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/CheckIgnore.d.ts +0 -0
  489. /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/CleanSummary.d.ts +0 -0
  490. /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/ConfigList.d.ts +0 -0
  491. /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/DiffSummary.d.ts +0 -0
  492. /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/GetRemoteSummary.d.ts +0 -0
  493. /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/InitSummary.d.ts +0 -0
  494. /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/MergeSummary.d.ts +0 -0
  495. /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/TagList.d.ts +0 -0
  496. /package/dist/node_modules/simple-git/{src → dist/src}/lib/runners/promise-wrapped.d.ts +0 -0
  497. /package/dist/node_modules/simple-git/{src → dist/src}/lib/runners/scheduler.d.ts +0 -0
  498. /package/dist/node_modules/simple-git/{src → dist/src}/lib/runners/tasks-pending-queue.d.ts +0 -0
  499. /package/dist/node_modules/simple-git/{src → dist/src}/lib/simple-git-api.d.ts +0 -0
  500. /package/dist/node_modules/simple-git/{src → dist/src}/lib/task-callback.d.ts +0 -0
  501. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/apply-patch.d.ts +0 -0
  502. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/branch.d.ts +0 -0
  503. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/change-working-directory.d.ts +0 -0
  504. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/check-ignore.d.ts +0 -0
  505. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/check-is-repo.d.ts +0 -0
  506. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/clean.d.ts +0 -0
  507. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/grep.d.ts +0 -0
  508. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/hash-object.d.ts +0 -0
  509. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/init.d.ts +0 -0
  510. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/merge.d.ts +0 -0
  511. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/move.d.ts +0 -0
  512. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/pull.d.ts +0 -0
  513. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/push.d.ts +0 -0
  514. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/reset.d.ts +0 -0
  515. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/status.d.ts +0 -0
  516. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/sub-module.d.ts +0 -0
  517. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/tag.d.ts +0 -0
  518. /package/dist/node_modules/simple-git/{src → dist/src}/lib/types/handlers.d.ts +0 -0
  519. /package/dist/node_modules/simple-git/{src → dist/src}/lib/types/tasks.d.ts +0 -0
  520. /package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/argument-filters.d.ts +0 -0
  521. /package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/git-output-streams.d.ts +0 -0
  522. /package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/index.d.ts +0 -0
  523. /package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/simple-git-options.d.ts +0 -0
  524. /package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/task-options.d.ts +0 -0
@@ -1,109 +1,262 @@
1
+ /**
2
+ * The `node:dns` module enables name resolution. For example, use it to look up IP
3
+ * addresses of host names.
4
+ *
5
+ * Although named for the [Domain Name System (DNS)](https://en.wikipedia.org/wiki/Domain_Name_System), it does not always use the
6
+ * DNS protocol for lookups. {@link lookup} uses the operating system
7
+ * facilities to perform name resolution. It may not need to perform any network
8
+ * communication. To perform name resolution the way other applications on the same
9
+ * system do, use {@link lookup}.
10
+ *
11
+ * ```js
12
+ * const dns = require('node:dns');
13
+ *
14
+ * dns.lookup('example.org', (err, address, family) => {
15
+ * console.log('address: %j family: IPv%s', address, family);
16
+ * });
17
+ * // address: "93.184.216.34" family: IPv4
18
+ * ```
19
+ *
20
+ * All other functions in the `node:dns` module connect to an actual DNS server to
21
+ * perform name resolution. They will always use the network to perform DNS
22
+ * queries. These functions do not use the same set of configuration files used by {@link lookup} (e.g. `/etc/hosts`). Use these functions to always perform
23
+ * DNS queries, bypassing other name-resolution facilities.
24
+ *
25
+ * ```js
26
+ * const dns = require('node:dns');
27
+ *
28
+ * dns.resolve4('archive.org', (err, addresses) => {
29
+ * if (err) throw err;
30
+ *
31
+ * console.log(`addresses: ${JSON.stringify(addresses)}`);
32
+ *
33
+ * addresses.forEach((a) => {
34
+ * dns.reverse(a, (err, hostnames) => {
35
+ * if (err) {
36
+ * throw err;
37
+ * }
38
+ * console.log(`reverse for ${a}: ${JSON.stringify(hostnames)}`);
39
+ * });
40
+ * });
41
+ * });
42
+ * ```
43
+ *
44
+ * See the [Implementation considerations section](https://nodejs.org/docs/latest-v20.x/api/dns.html#implementation-considerations) for more information.
45
+ * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/dns.js)
46
+ */
1
47
  declare module "dns" {
48
+ import * as dnsPromises from "node:dns/promises";
2
49
  // Supported getaddrinfo flags.
3
- const ADDRCONFIG: number;
4
- const V4MAPPED: number;
50
+ /**
51
+ * Limits returned address types to the types of non-loopback addresses configured on the system. For example, IPv4 addresses are
52
+ * only returned if the current system has at least one IPv4 address configured.
53
+ */
54
+ export const ADDRCONFIG: number;
55
+ /**
56
+ * If the IPv6 family was specified, but no IPv6 addresses were found, then return IPv4 mapped IPv6 addresses. It is not supported
57
+ * on some operating systems (e.g. FreeBSD 10.1).
58
+ */
59
+ export const V4MAPPED: number;
5
60
  /**
6
61
  * If `dns.V4MAPPED` is specified, return resolved IPv6 addresses as
7
62
  * well as IPv4 mapped IPv6 addresses.
8
63
  */
9
- const ALL: number;
10
-
11
- interface LookupOptions {
12
- family?: number | undefined;
64
+ export const ALL: number;
65
+ export interface LookupOptions {
66
+ /**
67
+ * The record family. Must be `4`, `6`, or `0`. For backward compatibility reasons, `'IPv4'` and `'IPv6'` are interpreted
68
+ * as `4` and `6` respectively. The value 0 indicates that either an IPv4 or IPv6 address is returned. If the value `0` is used
69
+ * with `{ all: true } (see below)`, both IPv4 and IPv6 addresses are returned.
70
+ * @default 0
71
+ */
72
+ family?: number | "IPv4" | "IPv6" | undefined;
73
+ /**
74
+ * One or more [supported `getaddrinfo`](https://nodejs.org/docs/latest-v20.x/api/dns.html#supported-getaddrinfo-flags) flags. Multiple flags may be
75
+ * passed by bitwise `OR`ing their values.
76
+ */
13
77
  hints?: number | undefined;
78
+ /**
79
+ * When `true`, the callback returns all resolved addresses in an array. Otherwise, returns a single address.
80
+ * @default false
81
+ */
14
82
  all?: boolean | undefined;
83
+ /**
84
+ * When `verbatim`, the resolved addresses are return unsorted. When `ipv4first`, the resolved addresses are sorted
85
+ * by placing IPv4 addresses before IPv6 addresses. When `ipv6first`, the resolved addresses are sorted by placing IPv6
86
+ * addresses before IPv4 addresses. Default value is configurable using
87
+ * {@link setDefaultResultOrder} or [`--dns-result-order`](https://nodejs.org/docs/latest-v20.x/api/cli.html#--dns-result-orderorder).
88
+ * @default `verbatim` (addresses are not reordered)
89
+ */
90
+ order?: "ipv4first" | "ipv6first" | "verbatim" | undefined;
91
+ /**
92
+ * When `true`, the callback receives IPv4 and IPv6 addresses in the order the DNS resolver returned them. When `false`, IPv4
93
+ * addresses are placed before IPv6 addresses. This option will be deprecated in favor of `order`. When both are specified,
94
+ * `order` has higher precedence. New code should only use `order`. Default value is configurable using {@link setDefaultResultOrder}
95
+ * or [`--dns-result-order`](https://nodejs.org/docs/latest-v20.x/api/cli.html#--dns-result-orderorder).
96
+ * @default true (addresses are not reordered)
97
+ */
15
98
  verbatim?: boolean | undefined;
16
99
  }
17
-
18
- interface LookupOneOptions extends LookupOptions {
100
+ export interface LookupOneOptions extends LookupOptions {
19
101
  all?: false | undefined;
20
102
  }
21
-
22
- interface LookupAllOptions extends LookupOptions {
103
+ export interface LookupAllOptions extends LookupOptions {
23
104
  all: true;
24
105
  }
25
-
26
- interface LookupAddress {
106
+ export interface LookupAddress {
107
+ /**
108
+ * A string representation of an IPv4 or IPv6 address.
109
+ */
27
110
  address: string;
111
+ /**
112
+ * `4` or `6`, denoting the family of `address`, or `0` if the address is not an IPv4 or IPv6 address. `0` is a likely indicator of a
113
+ * bug in the name resolution service used by the operating system.
114
+ */
28
115
  family: number;
29
116
  }
30
-
31
- function lookup(
117
+ /**
118
+ * Resolves a host name (e.g. `'nodejs.org'`) into the first found A (IPv4) or
119
+ * AAAA (IPv6) record. All `option` properties are optional. If `options` is an
120
+ * integer, then it must be `4` or `6` – if `options` is `0` or not provided, then
121
+ * IPv4 and IPv6 addresses are both returned if found.
122
+ *
123
+ * With the `all` option set to `true`, the arguments for `callback` change to `(err, addresses)`, with `addresses` being an array of objects with the
124
+ * properties `address` and `family`.
125
+ *
126
+ * On error, `err` is an `Error` object, where `err.code` is the error code.
127
+ * Keep in mind that `err.code` will be set to `'ENOTFOUND'` not only when
128
+ * the host name does not exist but also when the lookup fails in other ways
129
+ * such as no available file descriptors.
130
+ *
131
+ * `dns.lookup()` does not necessarily have anything to do with the DNS protocol.
132
+ * The implementation uses an operating system facility that can associate names
133
+ * with addresses and vice versa. This implementation can have subtle but
134
+ * important consequences on the behavior of any Node.js program. Please take some
135
+ * time to consult the [Implementation considerations section](https://nodejs.org/docs/latest-v20.x/api/dns.html#implementation-considerations)
136
+ * before using `dns.lookup()`.
137
+ *
138
+ * Example usage:
139
+ *
140
+ * ```js
141
+ * const dns = require('node:dns');
142
+ * const options = {
143
+ * family: 6,
144
+ * hints: dns.ADDRCONFIG | dns.V4MAPPED,
145
+ * };
146
+ * dns.lookup('example.com', options, (err, address, family) =>
147
+ * console.log('address: %j family: IPv%s', address, family));
148
+ * // address: "2606:2800:220:1:248:1893:25c8:1946" family: IPv6
149
+ *
150
+ * // When options.all is true, the result will be an Array.
151
+ * options.all = true;
152
+ * dns.lookup('example.com', options, (err, addresses) =>
153
+ * console.log('addresses: %j', addresses));
154
+ * // addresses: [{"address":"2606:2800:220:1:248:1893:25c8:1946","family":6}]
155
+ * ```
156
+ *
157
+ * If this method is invoked as its [util.promisify()](https://nodejs.org/docs/latest-v20.x/api/util.html#utilpromisifyoriginal) ed
158
+ * version, and `all` is not set to `true`, it returns a `Promise` for an `Object` with `address` and `family` properties.
159
+ * @since v0.1.90
160
+ */
161
+ export function lookup(
32
162
  hostname: string,
33
163
  family: number,
34
164
  callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void,
35
165
  ): void;
36
- function lookup(
166
+ export function lookup(
37
167
  hostname: string,
38
168
  options: LookupOneOptions,
39
169
  callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void,
40
170
  ): void;
41
- function lookup(
171
+ export function lookup(
42
172
  hostname: string,
43
173
  options: LookupAllOptions,
44
174
  callback: (err: NodeJS.ErrnoException | null, addresses: LookupAddress[]) => void,
45
175
  ): void;
46
- function lookup(
176
+ export function lookup(
47
177
  hostname: string,
48
178
  options: LookupOptions,
49
179
  callback: (err: NodeJS.ErrnoException | null, address: string | LookupAddress[], family: number) => void,
50
180
  ): void;
51
- function lookup(
181
+ export function lookup(
52
182
  hostname: string,
53
183
  callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void,
54
184
  ): void;
55
-
56
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
57
- namespace lookup {
185
+ export namespace lookup {
58
186
  function __promisify__(hostname: string, options: LookupAllOptions): Promise<LookupAddress[]>;
59
187
  function __promisify__(hostname: string, options?: LookupOneOptions | number): Promise<LookupAddress>;
60
188
  function __promisify__(hostname: string, options: LookupOptions): Promise<LookupAddress | LookupAddress[]>;
61
189
  }
62
-
63
- function lookupService(
190
+ /**
191
+ * Resolves the given `address` and `port` into a host name and service using
192
+ * the operating system's underlying `getnameinfo` implementation.
193
+ *
194
+ * If `address` is not a valid IP address, a `TypeError` will be thrown.
195
+ * The `port` will be coerced to a number. If it is not a legal port, a `TypeError` will be thrown.
196
+ *
197
+ * On an error, `err` is an [`Error`](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-error) object,
198
+ * where `err.code` is the error code.
199
+ *
200
+ * ```js
201
+ * const dns = require('node:dns');
202
+ * dns.lookupService('127.0.0.1', 22, (err, hostname, service) => {
203
+ * console.log(hostname, service);
204
+ * // Prints: localhost ssh
205
+ * });
206
+ * ```
207
+ *
208
+ * If this method is invoked as its [util.promisify()](https://nodejs.org/docs/latest-v20.x/api/util.html#utilpromisifyoriginal) ed
209
+ * version, it returns a `Promise` for an `Object` with `hostname` and `service` properties.
210
+ * @since v0.11.14
211
+ */
212
+ export function lookupService(
64
213
  address: string,
65
214
  port: number,
66
215
  callback: (err: NodeJS.ErrnoException | null, hostname: string, service: string) => void,
67
216
  ): void;
68
-
69
- namespace lookupService {
70
- function __promisify__(address: string, port: number): Promise<{ hostname: string; service: string }>;
71
- }
72
-
73
- interface ResolveOptions {
217
+ export namespace lookupService {
218
+ function __promisify__(
219
+ address: string,
220
+ port: number,
221
+ ): Promise<{
222
+ hostname: string;
223
+ service: string;
224
+ }>;
225
+ }
226
+ export interface ResolveOptions {
74
227
  ttl: boolean;
75
228
  }
76
-
77
- interface ResolveWithTtlOptions extends ResolveOptions {
229
+ export interface ResolveWithTtlOptions extends ResolveOptions {
78
230
  ttl: true;
79
231
  }
80
-
81
- interface RecordWithTtl {
232
+ export interface RecordWithTtl {
82
233
  address: string;
83
234
  ttl: number;
84
235
  }
85
-
86
236
  /** @deprecated Use `AnyARecord` or `AnyAaaaRecord` instead. */
87
- type AnyRecordWithTtl = AnyARecord | AnyAaaaRecord;
88
-
89
- interface AnyARecord extends RecordWithTtl {
237
+ export type AnyRecordWithTtl = AnyARecord | AnyAaaaRecord;
238
+ export interface AnyARecord extends RecordWithTtl {
90
239
  type: "A";
91
240
  }
92
-
93
- interface AnyAaaaRecord extends RecordWithTtl {
241
+ export interface AnyAaaaRecord extends RecordWithTtl {
94
242
  type: "AAAA";
95
243
  }
96
-
97
- interface MxRecord {
244
+ export interface CaaRecord {
245
+ critical: number;
246
+ issue?: string | undefined;
247
+ issuewild?: string | undefined;
248
+ iodef?: string | undefined;
249
+ contactemail?: string | undefined;
250
+ contactphone?: string | undefined;
251
+ }
252
+ export interface MxRecord {
98
253
  priority: number;
99
254
  exchange: string;
100
255
  }
101
-
102
- interface AnyMxRecord extends MxRecord {
256
+ export interface AnyMxRecord extends MxRecord {
103
257
  type: "MX";
104
258
  }
105
-
106
- interface NaptrRecord {
259
+ export interface NaptrRecord {
107
260
  flags: string;
108
261
  service: string;
109
262
  regexp: string;
@@ -111,12 +264,10 @@ declare module "dns" {
111
264
  order: number;
112
265
  preference: number;
113
266
  }
114
-
115
- interface AnyNaptrRecord extends NaptrRecord {
267
+ export interface AnyNaptrRecord extends NaptrRecord {
116
268
  type: "NAPTR";
117
269
  }
118
-
119
- interface SoaRecord {
270
+ export interface SoaRecord {
120
271
  nsname: string;
121
272
  hostmaster: string;
122
273
  serial: number;
@@ -125,43 +276,35 @@ declare module "dns" {
125
276
  expire: number;
126
277
  minttl: number;
127
278
  }
128
-
129
- interface AnySoaRecord extends SoaRecord {
279
+ export interface AnySoaRecord extends SoaRecord {
130
280
  type: "SOA";
131
281
  }
132
-
133
- interface SrvRecord {
282
+ export interface SrvRecord {
134
283
  priority: number;
135
284
  weight: number;
136
285
  port: number;
137
286
  name: string;
138
287
  }
139
-
140
- interface AnySrvRecord extends SrvRecord {
288
+ export interface AnySrvRecord extends SrvRecord {
141
289
  type: "SRV";
142
290
  }
143
-
144
- interface AnyTxtRecord {
291
+ export interface AnyTxtRecord {
145
292
  type: "TXT";
146
293
  entries: string[];
147
294
  }
148
-
149
- interface AnyNsRecord {
295
+ export interface AnyNsRecord {
150
296
  type: "NS";
151
297
  value: string;
152
298
  }
153
-
154
- interface AnyPtrRecord {
299
+ export interface AnyPtrRecord {
155
300
  type: "PTR";
156
301
  value: string;
157
302
  }
158
-
159
- interface AnyCnameRecord {
303
+ export interface AnyCnameRecord {
160
304
  type: "CNAME";
161
305
  value: string;
162
306
  }
163
-
164
- type AnyRecord =
307
+ export type AnyRecord =
165
308
  | AnyARecord
166
309
  | AnyAaaaRecord
167
310
  | AnyCnameRecord
@@ -172,67 +315,79 @@ declare module "dns" {
172
315
  | AnySoaRecord
173
316
  | AnySrvRecord
174
317
  | AnyTxtRecord;
175
-
176
- function resolve(
318
+ /**
319
+ * Uses the DNS protocol to resolve a host name (e.g. `'nodejs.org'`) into an array
320
+ * of the resource records. The `callback` function has arguments `(err, records)`. When successful, `records` will be an array of resource
321
+ * records. The type and structure of individual results varies based on `rrtype`:
322
+ *
323
+ * <omitted>
324
+ *
325
+ * On error, `err` is an [`Error`](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-error) object,
326
+ * where `err.code` is one of the `DNS error codes`.
327
+ * @since v0.1.27
328
+ * @param hostname Host name to resolve.
329
+ * @param [rrtype='A'] Resource record type.
330
+ */
331
+ export function resolve(
177
332
  hostname: string,
178
333
  callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void,
179
334
  ): void;
180
- function resolve(
335
+ export function resolve(
181
336
  hostname: string,
182
337
  rrtype: "A",
183
338
  callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void,
184
339
  ): void;
185
- function resolve(
340
+ export function resolve(
186
341
  hostname: string,
187
342
  rrtype: "AAAA",
188
343
  callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void,
189
344
  ): void;
190
- function resolve(
345
+ export function resolve(
191
346
  hostname: string,
192
347
  rrtype: "ANY",
193
348
  callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void,
194
349
  ): void;
195
- function resolve(
350
+ export function resolve(
196
351
  hostname: string,
197
352
  rrtype: "CNAME",
198
353
  callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void,
199
354
  ): void;
200
- function resolve(
355
+ export function resolve(
201
356
  hostname: string,
202
357
  rrtype: "MX",
203
358
  callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void,
204
359
  ): void;
205
- function resolve(
360
+ export function resolve(
206
361
  hostname: string,
207
362
  rrtype: "NAPTR",
208
363
  callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void,
209
364
  ): void;
210
- function resolve(
365
+ export function resolve(
211
366
  hostname: string,
212
367
  rrtype: "NS",
213
368
  callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void,
214
369
  ): void;
215
- function resolve(
370
+ export function resolve(
216
371
  hostname: string,
217
372
  rrtype: "PTR",
218
373
  callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void,
219
374
  ): void;
220
- function resolve(
375
+ export function resolve(
221
376
  hostname: string,
222
377
  rrtype: "SOA",
223
378
  callback: (err: NodeJS.ErrnoException | null, addresses: SoaRecord) => void,
224
379
  ): void;
225
- function resolve(
380
+ export function resolve(
226
381
  hostname: string,
227
382
  rrtype: "SRV",
228
383
  callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void,
229
384
  ): void;
230
- function resolve(
385
+ export function resolve(
231
386
  hostname: string,
232
387
  rrtype: "TXT",
233
388
  callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void,
234
389
  ): void;
235
- function resolve(
390
+ export function resolve(
236
391
  hostname: string,
237
392
  rrtype: string,
238
393
  callback: (
@@ -240,9 +395,7 @@ declare module "dns" {
240
395
  addresses: string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[],
241
396
  ) => void,
242
397
  ): void;
243
-
244
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
245
- namespace resolve {
398
+ export namespace resolve {
246
399
  function __promisify__(hostname: string, rrtype?: "A" | "AAAA" | "CNAME" | "NS" | "PTR"): Promise<string[]>;
247
400
  function __promisify__(hostname: string, rrtype: "ANY"): Promise<AnyRecord[]>;
248
401
  function __promisify__(hostname: string, rrtype: "MX"): Promise<MxRecord[]>;
@@ -255,167 +408,428 @@ declare module "dns" {
255
408
  rrtype: string,
256
409
  ): Promise<string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[]>;
257
410
  }
258
-
259
- function resolve4(
411
+ /**
412
+ * Uses the DNS protocol to resolve a IPv4 addresses (`A` records) for the `hostname`. The `addresses` argument passed to the `callback` function
413
+ * will contain an array of IPv4 addresses (e.g.`['74.125.79.104', '74.125.79.105', '74.125.79.106']`).
414
+ * @since v0.1.16
415
+ * @param hostname Host name to resolve.
416
+ */
417
+ export function resolve4(
260
418
  hostname: string,
261
419
  callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void,
262
420
  ): void;
263
- function resolve4(
421
+ export function resolve4(
264
422
  hostname: string,
265
423
  options: ResolveWithTtlOptions,
266
424
  callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void,
267
425
  ): void;
268
- function resolve4(
426
+ export function resolve4(
269
427
  hostname: string,
270
428
  options: ResolveOptions,
271
429
  callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void,
272
430
  ): void;
273
-
274
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
275
- namespace resolve4 {
431
+ export namespace resolve4 {
276
432
  function __promisify__(hostname: string): Promise<string[]>;
277
433
  function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>;
278
434
  function __promisify__(hostname: string, options?: ResolveOptions): Promise<string[] | RecordWithTtl[]>;
279
435
  }
280
-
281
- function resolve6(
436
+ /**
437
+ * Uses the DNS protocol to resolve IPv6 addresses (`AAAA` records) for the `hostname`. The `addresses` argument passed to the `callback` function
438
+ * will contain an array of IPv6 addresses.
439
+ * @since v0.1.16
440
+ * @param hostname Host name to resolve.
441
+ */
442
+ export function resolve6(
282
443
  hostname: string,
283
444
  callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void,
284
445
  ): void;
285
- function resolve6(
446
+ export function resolve6(
286
447
  hostname: string,
287
448
  options: ResolveWithTtlOptions,
288
449
  callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void,
289
450
  ): void;
290
- function resolve6(
451
+ export function resolve6(
291
452
  hostname: string,
292
453
  options: ResolveOptions,
293
454
  callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void,
294
455
  ): void;
295
-
296
- // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
297
- namespace resolve6 {
456
+ export namespace resolve6 {
298
457
  function __promisify__(hostname: string): Promise<string[]>;
299
458
  function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>;
300
459
  function __promisify__(hostname: string, options?: ResolveOptions): Promise<string[] | RecordWithTtl[]>;
301
460
  }
302
-
303
- function resolveCname(
461
+ /**
462
+ * Uses the DNS protocol to resolve `CNAME` records for the `hostname`. The `addresses` argument passed to the `callback` function
463
+ * will contain an array of canonical name records available for the `hostname` (e.g. `['bar.example.com']`).
464
+ * @since v0.3.2
465
+ */
466
+ export function resolveCname(
304
467
  hostname: string,
305
468
  callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void,
306
469
  ): void;
307
- namespace resolveCname {
470
+ export namespace resolveCname {
308
471
  function __promisify__(hostname: string): Promise<string[]>;
309
472
  }
310
-
311
- function resolveMx(
473
+ /**
474
+ * Uses the DNS protocol to resolve `CAA` records for the `hostname`. The `addresses` argument passed to the `callback` function
475
+ * will contain an array of certification authority authorization records
476
+ * available for the `hostname` (e.g. `[{critical: 0, iodef: 'mailto:pki@example.com'}, {critical: 128, issue: 'pki.example.com'}]`).
477
+ * @since v15.0.0, v14.17.0
478
+ */
479
+ export function resolveCaa(
480
+ hostname: string,
481
+ callback: (err: NodeJS.ErrnoException | null, records: CaaRecord[]) => void,
482
+ ): void;
483
+ export namespace resolveCaa {
484
+ function __promisify__(hostname: string): Promise<CaaRecord[]>;
485
+ }
486
+ /**
487
+ * Uses the DNS protocol to resolve mail exchange records (`MX` records) for the `hostname`. The `addresses` argument passed to the `callback` function will
488
+ * contain an array of objects containing both a `priority` and `exchange` property (e.g. `[{priority: 10, exchange: 'mx.example.com'}, ...]`).
489
+ * @since v0.1.27
490
+ */
491
+ export function resolveMx(
312
492
  hostname: string,
313
493
  callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void,
314
494
  ): void;
315
- namespace resolveMx {
495
+ export namespace resolveMx {
316
496
  function __promisify__(hostname: string): Promise<MxRecord[]>;
317
497
  }
318
-
319
- function resolveNaptr(
498
+ /**
499
+ * Uses the DNS protocol to resolve regular expression-based records (`NAPTR` records) for the `hostname`. The `addresses` argument passed to the `callback` function will contain an array of
500
+ * objects with the following properties:
501
+ *
502
+ * * `flags`
503
+ * * `service`
504
+ * * `regexp`
505
+ * * `replacement`
506
+ * * `order`
507
+ * * `preference`
508
+ *
509
+ * ```js
510
+ * {
511
+ * flags: 's',
512
+ * service: 'SIP+D2U',
513
+ * regexp: '',
514
+ * replacement: '_sip._udp.example.com',
515
+ * order: 30,
516
+ * preference: 100
517
+ * }
518
+ * ```
519
+ * @since v0.9.12
520
+ */
521
+ export function resolveNaptr(
320
522
  hostname: string,
321
523
  callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void,
322
524
  ): void;
323
- namespace resolveNaptr {
525
+ export namespace resolveNaptr {
324
526
  function __promisify__(hostname: string): Promise<NaptrRecord[]>;
325
527
  }
326
-
327
- function resolveNs(
528
+ /**
529
+ * Uses the DNS protocol to resolve name server records (`NS` records) for the `hostname`. The `addresses` argument passed to the `callback` function will
530
+ * contain an array of name server records available for `hostname` (e.g. `['ns1.example.com', 'ns2.example.com']`).
531
+ * @since v0.1.90
532
+ */
533
+ export function resolveNs(
328
534
  hostname: string,
329
535
  callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void,
330
536
  ): void;
331
- namespace resolveNs {
537
+ export namespace resolveNs {
332
538
  function __promisify__(hostname: string): Promise<string[]>;
333
539
  }
334
-
335
- function resolvePtr(
540
+ /**
541
+ * Uses the DNS protocol to resolve pointer records (`PTR` records) for the `hostname`. The `addresses` argument passed to the `callback` function will
542
+ * be an array of strings containing the reply records.
543
+ * @since v6.0.0
544
+ */
545
+ export function resolvePtr(
336
546
  hostname: string,
337
547
  callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void,
338
548
  ): void;
339
- namespace resolvePtr {
549
+ export namespace resolvePtr {
340
550
  function __promisify__(hostname: string): Promise<string[]>;
341
551
  }
342
-
343
- function resolveSoa(
552
+ /**
553
+ * Uses the DNS protocol to resolve a start of authority record (`SOA` record) for
554
+ * the `hostname`. The `address` argument passed to the `callback` function will
555
+ * be an object with the following properties:
556
+ *
557
+ * * `nsname`
558
+ * * `hostmaster`
559
+ * * `serial`
560
+ * * `refresh`
561
+ * * `retry`
562
+ * * `expire`
563
+ * * `minttl`
564
+ *
565
+ * ```js
566
+ * {
567
+ * nsname: 'ns.example.com',
568
+ * hostmaster: 'root.example.com',
569
+ * serial: 2013101809,
570
+ * refresh: 10000,
571
+ * retry: 2400,
572
+ * expire: 604800,
573
+ * minttl: 3600
574
+ * }
575
+ * ```
576
+ * @since v0.11.10
577
+ */
578
+ export function resolveSoa(
344
579
  hostname: string,
345
580
  callback: (err: NodeJS.ErrnoException | null, address: SoaRecord) => void,
346
581
  ): void;
347
- namespace resolveSoa {
582
+ export namespace resolveSoa {
348
583
  function __promisify__(hostname: string): Promise<SoaRecord>;
349
584
  }
350
-
351
- function resolveSrv(
585
+ /**
586
+ * Uses the DNS protocol to resolve service records (`SRV` records) for the `hostname`. The `addresses` argument passed to the `callback` function will
587
+ * be an array of objects with the following properties:
588
+ *
589
+ * * `priority`
590
+ * * `weight`
591
+ * * `port`
592
+ * * `name`
593
+ *
594
+ * ```js
595
+ * {
596
+ * priority: 10,
597
+ * weight: 5,
598
+ * port: 21223,
599
+ * name: 'service.example.com'
600
+ * }
601
+ * ```
602
+ * @since v0.1.27
603
+ */
604
+ export function resolveSrv(
352
605
  hostname: string,
353
606
  callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void,
354
607
  ): void;
355
- namespace resolveSrv {
608
+ export namespace resolveSrv {
356
609
  function __promisify__(hostname: string): Promise<SrvRecord[]>;
357
610
  }
358
-
359
- function resolveTxt(
611
+ /**
612
+ * Uses the DNS protocol to resolve text queries (`TXT` records) for the `hostname`. The `records` argument passed to the `callback` function is a
613
+ * two-dimensional array of the text records available for `hostname` (e.g.`[ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ]`). Each sub-array contains TXT chunks of
614
+ * one record. Depending on the use case, these could be either joined together or
615
+ * treated separately.
616
+ * @since v0.1.27
617
+ */
618
+ export function resolveTxt(
360
619
  hostname: string,
361
620
  callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void,
362
621
  ): void;
363
- namespace resolveTxt {
622
+ export namespace resolveTxt {
364
623
  function __promisify__(hostname: string): Promise<string[][]>;
365
624
  }
366
-
367
- function resolveAny(
625
+ /**
626
+ * Uses the DNS protocol to resolve all records (also known as `ANY` or `*` query).
627
+ * The `ret` argument passed to the `callback` function will be an array containing
628
+ * various types of records. Each object has a property `type` that indicates the
629
+ * type of the current record. And depending on the `type`, additional properties
630
+ * will be present on the object:
631
+ *
632
+ * <omitted>
633
+ *
634
+ * Here is an example of the `ret` object passed to the callback:
635
+ *
636
+ * ```js
637
+ * [ { type: 'A', address: '127.0.0.1', ttl: 299 },
638
+ * { type: 'CNAME', value: 'example.com' },
639
+ * { type: 'MX', exchange: 'alt4.aspmx.l.example.com', priority: 50 },
640
+ * { type: 'NS', value: 'ns1.example.com' },
641
+ * { type: 'TXT', entries: [ 'v=spf1 include:_spf.example.com ~all' ] },
642
+ * { type: 'SOA',
643
+ * nsname: 'ns1.example.com',
644
+ * hostmaster: 'admin.example.com',
645
+ * serial: 156696742,
646
+ * refresh: 900,
647
+ * retry: 900,
648
+ * expire: 1800,
649
+ * minttl: 60 } ]
650
+ * ```
651
+ *
652
+ * DNS server operators may choose not to respond to `ANY` queries. It may be better to call individual methods like {@link resolve4}, {@link resolveMx}, and so on. For more details, see
653
+ * [RFC 8482](https://tools.ietf.org/html/rfc8482).
654
+ */
655
+ export function resolveAny(
368
656
  hostname: string,
369
657
  callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void,
370
658
  ): void;
371
- namespace resolveAny {
659
+ export namespace resolveAny {
372
660
  function __promisify__(hostname: string): Promise<AnyRecord[]>;
373
661
  }
374
-
375
- function reverse(ip: string, callback: (err: NodeJS.ErrnoException | null, hostnames: string[]) => void): void;
376
- function setServers(servers: ReadonlyArray<string>): void;
377
- function getServers(): string[];
378
-
379
- function setDefaultResultOrder(order: "ipv4first" | "verbatim"): void;
380
-
662
+ /**
663
+ * Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an
664
+ * array of host names.
665
+ *
666
+ * On error, `err` is an [`Error`](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-error) object, where `err.code` is
667
+ * one of the [DNS error codes](https://nodejs.org/docs/latest-v20.x/api/dns.html#error-codes).
668
+ * @since v0.1.16
669
+ */
670
+ export function reverse(
671
+ ip: string,
672
+ callback: (err: NodeJS.ErrnoException | null, hostnames: string[]) => void,
673
+ ): void;
674
+ /**
675
+ * Get the default value for `order` in {@link lookup} and [`dnsPromises.lookup()`](https://nodejs.org/docs/latest-v20.x/api/dns.html#dnspromiseslookuphostname-options).
676
+ * The value could be:
677
+ *
678
+ * * `ipv4first`: for `order` defaulting to `ipv4first`.
679
+ * * `ipv6first`: for `order` defaulting to `ipv6first`.
680
+ * * `verbatim`: for `order` defaulting to `verbatim`.
681
+ * @since v18.17.0
682
+ */
683
+ export function getDefaultResultOrder(): "ipv4first" | "ipv6first" | "verbatim";
684
+ /**
685
+ * Sets the IP address and port of servers to be used when performing DNS
686
+ * resolution. The `servers` argument is an array of [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6) formatted
687
+ * addresses. If the port is the IANA default DNS port (53) it can be omitted.
688
+ *
689
+ * ```js
690
+ * dns.setServers([
691
+ * '4.4.4.4',
692
+ * '[2001:4860:4860::8888]',
693
+ * '4.4.4.4:1053',
694
+ * '[2001:4860:4860::8888]:1053',
695
+ * ]);
696
+ * ```
697
+ *
698
+ * An error will be thrown if an invalid address is provided.
699
+ *
700
+ * The `dns.setServers()` method must not be called while a DNS query is in
701
+ * progress.
702
+ *
703
+ * The {@link setServers} method affects only {@link resolve}, `dns.resolve*()` and {@link reverse} (and specifically _not_ {@link lookup}).
704
+ *
705
+ * This method works much like [resolve.conf](https://man7.org/linux/man-pages/man5/resolv.conf.5.html).
706
+ * That is, if attempting to resolve with the first server provided results in a `NOTFOUND` error, the `resolve()` method will _not_ attempt to resolve with
707
+ * subsequent servers provided. Fallback DNS servers will only be used if the
708
+ * earlier ones time out or result in some other error.
709
+ * @since v0.11.3
710
+ * @param servers array of [RFC 5952](https://datatracker.ietf.org/doc/html/rfc5952#section-6) formatted addresses
711
+ */
712
+ export function setServers(servers: readonly string[]): void;
713
+ /**
714
+ * Returns an array of IP address strings, formatted according to [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6),
715
+ * that are currently configured for DNS resolution. A string will include a port
716
+ * section if a custom port is used.
717
+ *
718
+ * ```js
719
+ * [
720
+ * '4.4.4.4',
721
+ * '2001:4860:4860::8888',
722
+ * '4.4.4.4:1053',
723
+ * '[2001:4860:4860::8888]:1053',
724
+ * ]
725
+ * ```
726
+ * @since v0.11.3
727
+ */
728
+ export function getServers(): string[];
729
+ /**
730
+ * Set the default value of `order` in {@link lookup} and [`dnsPromises.lookup()`](https://nodejs.org/docs/latest-v20.x/api/dns.html#dnspromiseslookuphostname-options).
731
+ * The value could be:
732
+ *
733
+ * * `ipv4first`: sets default `order` to `ipv4first`.
734
+ * * `ipv6first`: sets default `order` to `ipv6first`.
735
+ * * `verbatim`: sets default `order` to `verbatim`.
736
+ *
737
+ * The default is `verbatim` and {@link setDefaultResultOrder} have higher
738
+ * priority than [`--dns-result-order`](https://nodejs.org/docs/latest-v20.x/api/cli.html#--dns-result-orderorder). When using
739
+ * [worker threads](https://nodejs.org/docs/latest-v20.x/api/worker_threads.html), {@link setDefaultResultOrder} from the main
740
+ * thread won't affect the default dns orders in workers.
741
+ * @since v16.4.0, v14.18.0
742
+ * @param order must be `'ipv4first'`, `'ipv6first'` or `'verbatim'`.
743
+ */
744
+ export function setDefaultResultOrder(order: "ipv4first" | "ipv6first" | "verbatim"): void;
381
745
  // Error codes
382
- const NODATA: string;
383
- const FORMERR: string;
384
- const SERVFAIL: string;
385
- const NOTFOUND: string;
386
- const NOTIMP: string;
387
- const REFUSED: string;
388
- const BADQUERY: string;
389
- const BADNAME: string;
390
- const BADFAMILY: string;
391
- const BADRESP: string;
392
- const CONNREFUSED: string;
393
- const TIMEOUT: string;
394
- const EOF: string;
395
- const FILE: string;
396
- const NOMEM: string;
397
- const DESTRUCTION: string;
398
- const BADSTR: string;
399
- const BADFLAGS: string;
400
- const NONAME: string;
401
- const BADHINTS: string;
402
- const NOTINITIALIZED: string;
403
- const LOADIPHLPAPI: string;
404
- const ADDRGETNETWORKPARAMS: string;
405
- const CANCELLED: string;
406
-
407
- interface ResolverOptions {
746
+ export const NODATA: "ENODATA";
747
+ export const FORMERR: "EFORMERR";
748
+ export const SERVFAIL: "ESERVFAIL";
749
+ export const NOTFOUND: "ENOTFOUND";
750
+ export const NOTIMP: "ENOTIMP";
751
+ export const REFUSED: "EREFUSED";
752
+ export const BADQUERY: "EBADQUERY";
753
+ export const BADNAME: "EBADNAME";
754
+ export const BADFAMILY: "EBADFAMILY";
755
+ export const BADRESP: "EBADRESP";
756
+ export const CONNREFUSED: "ECONNREFUSED";
757
+ export const TIMEOUT: "ETIMEOUT";
758
+ export const EOF: "EOF";
759
+ export const FILE: "EFILE";
760
+ export const NOMEM: "ENOMEM";
761
+ export const DESTRUCTION: "EDESTRUCTION";
762
+ export const BADSTR: "EBADSTR";
763
+ export const BADFLAGS: "EBADFLAGS";
764
+ export const NONAME: "ENONAME";
765
+ export const BADHINTS: "EBADHINTS";
766
+ export const NOTINITIALIZED: "ENOTINITIALIZED";
767
+ export const LOADIPHLPAPI: "ELOADIPHLPAPI";
768
+ export const ADDRGETNETWORKPARAMS: "EADDRGETNETWORKPARAMS";
769
+ export const CANCELLED: "ECANCELLED";
770
+ export interface ResolverOptions {
771
+ /**
772
+ * Query timeout in milliseconds, or `-1` to use the default timeout.
773
+ */
408
774
  timeout?: number | undefined;
775
+ /**
776
+ * The number of tries the resolver will try contacting each name server before giving up.
777
+ * @default 4
778
+ */
779
+ tries?: number;
409
780
  }
410
-
411
- class Resolver {
781
+ /**
782
+ * An independent resolver for DNS requests.
783
+ *
784
+ * Creating a new resolver uses the default server settings. Setting
785
+ * the servers used for a resolver using [`resolver.setServers()`](https://nodejs.org/docs/latest-v20.x/api/dns.html#dnssetserversservers) does not affect
786
+ * other resolvers:
787
+ *
788
+ * ```js
789
+ * const { Resolver } = require('node:dns');
790
+ * const resolver = new Resolver();
791
+ * resolver.setServers(['4.4.4.4']);
792
+ *
793
+ * // This request will use the server at 4.4.4.4, independent of global settings.
794
+ * resolver.resolve4('example.org', (err, addresses) => {
795
+ * // ...
796
+ * });
797
+ * ```
798
+ *
799
+ * The following methods from the `node:dns` module are available:
800
+ *
801
+ * * `resolver.getServers()`
802
+ * * `resolver.resolve()`
803
+ * * `resolver.resolve4()`
804
+ * * `resolver.resolve6()`
805
+ * * `resolver.resolveAny()`
806
+ * * `resolver.resolveCaa()`
807
+ * * `resolver.resolveCname()`
808
+ * * `resolver.resolveMx()`
809
+ * * `resolver.resolveNaptr()`
810
+ * * `resolver.resolveNs()`
811
+ * * `resolver.resolvePtr()`
812
+ * * `resolver.resolveSoa()`
813
+ * * `resolver.resolveSrv()`
814
+ * * `resolver.resolveTxt()`
815
+ * * `resolver.reverse()`
816
+ * * `resolver.setServers()`
817
+ * @since v8.3.0
818
+ */
819
+ export class Resolver {
412
820
  constructor(options?: ResolverOptions);
821
+ /**
822
+ * Cancel all outstanding DNS queries made by this resolver. The corresponding
823
+ * callbacks will be called with an error with code `ECANCELLED`.
824
+ * @since v8.3.0
825
+ */
413
826
  cancel(): void;
414
827
  getServers: typeof getServers;
415
828
  resolve: typeof resolve;
416
829
  resolve4: typeof resolve4;
417
830
  resolve6: typeof resolve6;
418
831
  resolveAny: typeof resolveAny;
832
+ resolveCaa: typeof resolveCaa;
419
833
  resolveCname: typeof resolveCname;
420
834
  resolveMx: typeof resolveMx;
421
835
  resolveNaptr: typeof resolveNaptr;
@@ -425,91 +839,25 @@ declare module "dns" {
425
839
  resolveSrv: typeof resolveSrv;
426
840
  resolveTxt: typeof resolveTxt;
427
841
  reverse: typeof reverse;
842
+ /**
843
+ * The resolver instance will send its requests from the specified IP address.
844
+ * This allows programs to specify outbound interfaces when used on multi-homed
845
+ * systems.
846
+ *
847
+ * If a v4 or v6 address is not specified, it is set to the default and the
848
+ * operating system will choose a local address automatically.
849
+ *
850
+ * The resolver will use the v4 local address when making requests to IPv4 DNS
851
+ * servers, and the v6 local address when making requests to IPv6 DNS servers.
852
+ * The `rrtype` of resolution requests has no impact on the local address used.
853
+ * @since v15.1.0, v14.17.0
854
+ * @param [ipv4='0.0.0.0'] A string representation of an IPv4 address.
855
+ * @param [ipv6='::0'] A string representation of an IPv6 address.
856
+ */
428
857
  setLocalAddress(ipv4?: string, ipv6?: string): void;
429
858
  setServers: typeof setServers;
430
859
  }
431
-
432
- namespace promises {
433
- function getServers(): string[];
434
-
435
- function lookup(hostname: string, family: number): Promise<LookupAddress>;
436
- function lookup(hostname: string, options: LookupOneOptions): Promise<LookupAddress>;
437
- function lookup(hostname: string, options: LookupAllOptions): Promise<LookupAddress[]>;
438
- function lookup(hostname: string, options: LookupOptions): Promise<LookupAddress | LookupAddress[]>;
439
- function lookup(hostname: string): Promise<LookupAddress>;
440
-
441
- function lookupService(address: string, port: number): Promise<{ hostname: string; service: string }>;
442
-
443
- function resolve(hostname: string): Promise<string[]>;
444
- function resolve(hostname: string, rrtype: "A"): Promise<string[]>;
445
- function resolve(hostname: string, rrtype: "AAAA"): Promise<string[]>;
446
- function resolve(hostname: string, rrtype: "ANY"): Promise<AnyRecord[]>;
447
- function resolve(hostname: string, rrtype: "CNAME"): Promise<string[]>;
448
- function resolve(hostname: string, rrtype: "MX"): Promise<MxRecord[]>;
449
- function resolve(hostname: string, rrtype: "NAPTR"): Promise<NaptrRecord[]>;
450
- function resolve(hostname: string, rrtype: "NS"): Promise<string[]>;
451
- function resolve(hostname: string, rrtype: "PTR"): Promise<string[]>;
452
- function resolve(hostname: string, rrtype: "SOA"): Promise<SoaRecord>;
453
- function resolve(hostname: string, rrtype: "SRV"): Promise<SrvRecord[]>;
454
- function resolve(hostname: string, rrtype: "TXT"): Promise<string[][]>;
455
- function resolve(
456
- hostname: string,
457
- rrtype: string,
458
- ): Promise<string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[]>;
459
-
460
- function resolve4(hostname: string): Promise<string[]>;
461
- function resolve4(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>;
462
- function resolve4(hostname: string, options: ResolveOptions): Promise<string[] | RecordWithTtl[]>;
463
-
464
- function resolve6(hostname: string): Promise<string[]>;
465
- function resolve6(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>;
466
- function resolve6(hostname: string, options: ResolveOptions): Promise<string[] | RecordWithTtl[]>;
467
-
468
- function resolveAny(hostname: string): Promise<AnyRecord[]>;
469
-
470
- function resolveCname(hostname: string): Promise<string[]>;
471
-
472
- function resolveMx(hostname: string): Promise<MxRecord[]>;
473
-
474
- function resolveNaptr(hostname: string): Promise<NaptrRecord[]>;
475
-
476
- function resolveNs(hostname: string): Promise<string[]>;
477
-
478
- function resolvePtr(hostname: string): Promise<string[]>;
479
-
480
- function resolveSoa(hostname: string): Promise<SoaRecord>;
481
-
482
- function resolveSrv(hostname: string): Promise<SrvRecord[]>;
483
-
484
- function resolveTxt(hostname: string): Promise<string[][]>;
485
-
486
- function reverse(ip: string): Promise<string[]>;
487
-
488
- function setServers(servers: ReadonlyArray<string>): void;
489
-
490
- function setDefaultResultOrder(order: "ipv4first" | "verbatim"): void;
491
-
492
- class Resolver {
493
- constructor(options?: ResolverOptions);
494
- cancel(): void;
495
- getServers: typeof getServers;
496
- resolve: typeof resolve;
497
- resolve4: typeof resolve4;
498
- resolve6: typeof resolve6;
499
- resolveAny: typeof resolveAny;
500
- resolveCname: typeof resolveCname;
501
- resolveMx: typeof resolveMx;
502
- resolveNaptr: typeof resolveNaptr;
503
- resolveNs: typeof resolveNs;
504
- resolvePtr: typeof resolvePtr;
505
- resolveSoa: typeof resolveSoa;
506
- resolveSrv: typeof resolveSrv;
507
- resolveTxt: typeof resolveTxt;
508
- reverse: typeof reverse;
509
- setLocalAddress(ipv4?: string, ipv6?: string): void;
510
- setServers: typeof setServers;
511
- }
512
- }
860
+ export { dnsPromises as promises };
513
861
  }
514
862
  declare module "node:dns" {
515
863
  export * from "dns";