@emulsify/cli 1.8.0 → 1.10.0

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