@emulsify/cli 2.1.1 → 2.3.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 (1532) hide show
  1. package/README.md +53 -258
  2. package/dist/handlers/audit.js +103 -0
  3. package/dist/handlers/cacheClear.js +62 -0
  4. package/dist/handlers/componentCreate.js +3 -1
  5. package/dist/handlers/componentInstall.js +8 -6
  6. package/dist/handlers/componentList.js +4 -2
  7. package/dist/handlers/hofs/withEmulsifySystem.js +69 -6
  8. package/dist/handlers/init.js +22 -6
  9. package/dist/handlers/systemInstall.js +151 -32
  10. package/dist/index.js +137 -24
  11. package/dist/lib/constants.js +1 -0
  12. package/dist/schemas/emulsifyProjectConfig.json +2 -2
  13. package/dist/schemas/system.json +1 -1
  14. package/dist/schemas/variant.json +28 -3
  15. package/dist/util/cache/cloneIntoCache.js +212 -11
  16. package/dist/util/cache/copyItemFromCache.js +8 -7
  17. package/dist/util/cache/getCachedItemCheckout.js +2 -2
  18. package/dist/util/cache/getCachedItemPath.js +10 -7
  19. package/dist/util/cache/getJsonFromCachedFile.js +6 -2
  20. package/dist/util/cache/normalizeRepositoryUrl.js +16 -0
  21. package/dist/util/fs/findFileInCurrentPath.js +13 -4
  22. package/dist/util/getAvailableStarters.js +6 -0
  23. package/dist/util/platform/getInitSuccessMessageForPlatform.js +30 -25
  24. package/dist/util/platform/getPlatformInfo.js +9 -3
  25. package/dist/util/platform/getWordPressInfo.js +40 -0
  26. package/dist/util/platform/platformCompatibility.js +104 -0
  27. package/dist/util/system/getAvailableSystems.js +2 -2
  28. package/dist/util/system/validateSystemConfig.js +28 -0
  29. package/package.json +28 -19
  30. package/dist/node_modules/.package-lock.json +0 -884
  31. package/dist/node_modules/@inquirer/ansi/LICENSE +0 -22
  32. package/dist/node_modules/@inquirer/ansi/README.md +0 -89
  33. package/dist/node_modules/@inquirer/ansi/dist/index.d.ts +0 -14
  34. package/dist/node_modules/@inquirer/ansi/dist/index.js +0 -21
  35. package/dist/node_modules/@inquirer/ansi/package.json +0 -78
  36. package/dist/node_modules/@inquirer/checkbox/LICENSE +0 -22
  37. package/dist/node_modules/@inquirer/checkbox/README.md +0 -195
  38. package/dist/node_modules/@inquirer/checkbox/dist/index.d.ts +0 -56
  39. package/dist/node_modules/@inquirer/checkbox/dist/index.js +0 -210
  40. package/dist/node_modules/@inquirer/checkbox/package.json +0 -92
  41. package/dist/node_modules/@inquirer/confirm/LICENSE +0 -22
  42. package/dist/node_modules/@inquirer/confirm/README.md +0 -92
  43. package/dist/node_modules/@inquirer/confirm/dist/index.d.ts +0 -10
  44. package/dist/node_modules/@inquirer/confirm/dist/index.js +0 -48
  45. package/dist/node_modules/@inquirer/confirm/package.json +0 -90
  46. package/dist/node_modules/@inquirer/core/LICENSE +0 -22
  47. package/dist/node_modules/@inquirer/core/README.md +0 -386
  48. package/dist/node_modules/@inquirer/core/dist/index.d.ts +0 -13
  49. package/dist/node_modules/@inquirer/core/dist/index.js +0 -12
  50. package/dist/node_modules/@inquirer/core/dist/lib/Separator.d.ts +0 -10
  51. package/dist/node_modules/@inquirer/core/dist/lib/Separator.js +0 -21
  52. package/dist/node_modules/@inquirer/core/dist/lib/create-prompt.d.ts +0 -4
  53. package/dist/node_modules/@inquirer/core/dist/lib/create-prompt.js +0 -165
  54. package/dist/node_modules/@inquirer/core/dist/lib/errors.d.ts +0 -20
  55. package/dist/node_modules/@inquirer/core/dist/lib/errors.js +0 -21
  56. package/dist/node_modules/@inquirer/core/dist/lib/hook-engine.d.ts +0 -23
  57. package/dist/node_modules/@inquirer/core/dist/lib/hook-engine.js +0 -111
  58. package/dist/node_modules/@inquirer/core/dist/lib/key.d.ts +0 -15
  59. package/dist/node_modules/@inquirer/core/dist/lib/key.js +0 -34
  60. package/dist/node_modules/@inquirer/core/dist/lib/make-theme.d.ts +0 -3
  61. package/dist/node_modules/@inquirer/core/dist/lib/make-theme.js +0 -32
  62. package/dist/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.d.ts +0 -16
  63. package/dist/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.js +0 -121
  64. package/dist/node_modules/@inquirer/core/dist/lib/promise-polyfill.d.ts +0 -7
  65. package/dist/node_modules/@inquirer/core/dist/lib/promise-polyfill.js +0 -14
  66. package/dist/node_modules/@inquirer/core/dist/lib/screen-manager.d.ts +0 -14
  67. package/dist/node_modules/@inquirer/core/dist/lib/screen-manager.js +0 -84
  68. package/dist/node_modules/@inquirer/core/dist/lib/theme.d.ts +0 -166
  69. package/dist/node_modules/@inquirer/core/dist/lib/theme.js +0 -29
  70. package/dist/node_modules/@inquirer/core/dist/lib/use-effect.d.ts +0 -2
  71. package/dist/node_modules/@inquirer/core/dist/lib/use-effect.js +0 -11
  72. package/dist/node_modules/@inquirer/core/dist/lib/use-keypress.d.ts +0 -3
  73. package/dist/node_modules/@inquirer/core/dist/lib/use-keypress.js +0 -20
  74. package/dist/node_modules/@inquirer/core/dist/lib/use-memo.d.ts +0 -1
  75. package/dist/node_modules/@inquirer/core/dist/lib/use-memo.js +0 -14
  76. package/dist/node_modules/@inquirer/core/dist/lib/use-prefix.d.ts +0 -5
  77. package/dist/node_modules/@inquirer/core/dist/lib/use-prefix.js +0 -35
  78. package/dist/node_modules/@inquirer/core/dist/lib/use-ref.d.ts +0 -6
  79. package/dist/node_modules/@inquirer/core/dist/lib/use-ref.js +0 -4
  80. package/dist/node_modules/@inquirer/core/dist/lib/use-state.d.ts +0 -4
  81. package/dist/node_modules/@inquirer/core/dist/lib/use-state.js +0 -23
  82. package/dist/node_modules/@inquirer/core/dist/lib/utils.d.ts +0 -13
  83. package/dist/node_modules/@inquirer/core/dist/lib/utils.js +0 -25
  84. package/dist/node_modules/@inquirer/core/package.json +0 -97
  85. package/dist/node_modules/@inquirer/editor/LICENSE +0 -22
  86. package/dist/node_modules/@inquirer/editor/README.md +0 -101
  87. package/dist/node_modules/@inquirer/editor/dist/index.d.ts +0 -21
  88. package/dist/node_modules/@inquirer/editor/dist/index.js +0 -73
  89. package/dist/node_modules/@inquirer/editor/package.json +0 -91
  90. package/dist/node_modules/@inquirer/expand/LICENSE +0 -22
  91. package/dist/node_modules/@inquirer/expand/README.md +0 -141
  92. package/dist/node_modules/@inquirer/expand/dist/index.d.ts +0 -24
  93. package/dist/node_modules/@inquirer/expand/dist/index.js +0 -110
  94. package/dist/node_modules/@inquirer/expand/package.json +0 -90
  95. package/dist/node_modules/@inquirer/external-editor/LICENSE +0 -22
  96. package/dist/node_modules/@inquirer/external-editor/README.md +0 -154
  97. package/dist/node_modules/@inquirer/external-editor/dist/errors/CreateFileError.d.ts +0 -10
  98. package/dist/node_modules/@inquirer/external-editor/dist/errors/CreateFileError.js +0 -13
  99. package/dist/node_modules/@inquirer/external-editor/dist/errors/LaunchEditorError.d.ts +0 -10
  100. package/dist/node_modules/@inquirer/external-editor/dist/errors/LaunchEditorError.js +0 -13
  101. package/dist/node_modules/@inquirer/external-editor/dist/errors/ReadFileError.d.ts +0 -10
  102. package/dist/node_modules/@inquirer/external-editor/dist/errors/ReadFileError.js +0 -13
  103. package/dist/node_modules/@inquirer/external-editor/dist/errors/RemoveFileError.d.ts +0 -10
  104. package/dist/node_modules/@inquirer/external-editor/dist/errors/RemoveFileError.js +0 -13
  105. package/dist/node_modules/@inquirer/external-editor/dist/errors.d.ts +0 -20
  106. package/dist/node_modules/@inquirer/external-editor/dist/errors.js +0 -32
  107. package/dist/node_modules/@inquirer/external-editor/dist/index.d.ts +0 -35
  108. package/dist/node_modules/@inquirer/external-editor/dist/index.js +0 -146
  109. package/dist/node_modules/@inquirer/external-editor/dist/parse-editor-command.d.ts +0 -5
  110. package/dist/node_modules/@inquirer/external-editor/dist/parse-editor-command.js +0 -28
  111. package/dist/node_modules/@inquirer/external-editor/package.json +0 -97
  112. package/dist/node_modules/@inquirer/figures/LICENSE +0 -22
  113. package/dist/node_modules/@inquirer/figures/dist/index.d.ts +0 -275
  114. package/dist/node_modules/@inquirer/figures/dist/index.js +0 -315
  115. package/dist/node_modules/@inquirer/figures/package.json +0 -80
  116. package/dist/node_modules/@inquirer/input/LICENSE +0 -22
  117. package/dist/node_modules/@inquirer/input/README.md +0 -101
  118. package/dist/node_modules/@inquirer/input/dist/index.d.ts +0 -20
  119. package/dist/node_modules/@inquirer/input/dist/index.js +0 -99
  120. package/dist/node_modules/@inquirer/input/package.json +0 -90
  121. package/dist/node_modules/@inquirer/number/LICENSE +0 -22
  122. package/dist/node_modules/@inquirer/number/README.md +0 -95
  123. package/dist/node_modules/@inquirer/number/dist/index.d.ts +0 -13
  124. package/dist/node_modules/@inquirer/number/dist/index.js +0 -95
  125. package/dist/node_modules/@inquirer/number/package.json +0 -90
  126. package/dist/node_modules/@inquirer/password/LICENSE +0 -22
  127. package/dist/node_modules/@inquirer/password/README.md +0 -93
  128. package/dist/node_modules/@inquirer/password/dist/index.d.ts +0 -15
  129. package/dist/node_modules/@inquirer/password/dist/index.js +0 -60
  130. package/dist/node_modules/@inquirer/password/package.json +0 -91
  131. package/dist/node_modules/@inquirer/prompts/LICENSE +0 -22
  132. package/dist/node_modules/@inquirer/prompts/README.md +0 -543
  133. package/dist/node_modules/@inquirer/prompts/dist/index.d.ts +0 -10
  134. package/dist/node_modules/@inquirer/prompts/dist/index.js +0 -10
  135. package/dist/node_modules/@inquirer/prompts/package.json +0 -101
  136. package/dist/node_modules/@inquirer/rawlist/LICENSE +0 -22
  137. package/dist/node_modules/@inquirer/rawlist/README.md +0 -135
  138. package/dist/node_modules/@inquirer/rawlist/dist/index.d.ts +0 -23
  139. package/dist/node_modules/@inquirer/rawlist/dist/index.js +0 -145
  140. package/dist/node_modules/@inquirer/rawlist/package.json +0 -90
  141. package/dist/node_modules/@inquirer/search/LICENSE +0 -22
  142. package/dist/node_modules/@inquirer/search/README.md +0 -213
  143. package/dist/node_modules/@inquirer/search/dist/index.d.ts +0 -33
  144. package/dist/node_modules/@inquirer/search/dist/index.js +0 -195
  145. package/dist/node_modules/@inquirer/search/package.json +0 -91
  146. package/dist/node_modules/@inquirer/select/LICENSE +0 -22
  147. package/dist/node_modules/@inquirer/select/README.md +0 -188
  148. package/dist/node_modules/@inquirer/select/dist/index.d.ts +0 -34
  149. package/dist/node_modules/@inquirer/select/dist/index.js +0 -191
  150. package/dist/node_modules/@inquirer/select/package.json +0 -92
  151. package/dist/node_modules/@inquirer/type/LICENSE +0 -22
  152. package/dist/node_modules/@inquirer/type/dist/index.d.ts +0 -2
  153. package/dist/node_modules/@inquirer/type/dist/index.js +0 -2
  154. package/dist/node_modules/@inquirer/type/dist/inquirer.d.ts +0 -35
  155. package/dist/node_modules/@inquirer/type/dist/inquirer.js +0 -1
  156. package/dist/node_modules/@inquirer/type/dist/utils.d.ts +0 -29
  157. package/dist/node_modules/@inquirer/type/dist/utils.js +0 -2
  158. package/dist/node_modules/@inquirer/type/package.json +0 -87
  159. package/dist/node_modules/@kwsites/file-exists/CHANGELOG.md +0 -12
  160. package/dist/node_modules/@kwsites/file-exists/LICENSE +0 -20
  161. package/dist/node_modules/@kwsites/file-exists/dist/index.d.ts +0 -1
  162. package/dist/node_modules/@kwsites/file-exists/dist/index.js +0 -7
  163. package/dist/node_modules/@kwsites/file-exists/dist/index.js.map +0 -1
  164. package/dist/node_modules/@kwsites/file-exists/dist/src/index.d.ts +0 -19
  165. package/dist/node_modules/@kwsites/file-exists/dist/src/index.js +0 -55
  166. package/dist/node_modules/@kwsites/file-exists/dist/src/index.js.map +0 -1
  167. package/dist/node_modules/@kwsites/file-exists/dist/test/__mocks__/fs.d.ts +0 -7
  168. package/dist/node_modules/@kwsites/file-exists/dist/test/__mocks__/fs.js +0 -26
  169. package/dist/node_modules/@kwsites/file-exists/dist/test/__mocks__/fs.js.map +0 -1
  170. package/dist/node_modules/@kwsites/file-exists/dist/test/exists.spec.d.ts +0 -1
  171. package/dist/node_modules/@kwsites/file-exists/dist/test/exists.spec.js +0 -77
  172. package/dist/node_modules/@kwsites/file-exists/dist/test/exists.spec.js.map +0 -1
  173. package/dist/node_modules/@kwsites/file-exists/package.json +0 -42
  174. package/dist/node_modules/@kwsites/file-exists/readme.md +0 -41
  175. package/dist/node_modules/@kwsites/promise-deferred/LICENSE +0 -21
  176. package/dist/node_modules/@kwsites/promise-deferred/dist/index.d.ts +0 -49
  177. package/dist/node_modules/@kwsites/promise-deferred/dist/index.js +0 -59
  178. package/dist/node_modules/@kwsites/promise-deferred/dist/index.js.map +0 -1
  179. package/dist/node_modules/@kwsites/promise-deferred/package.json +0 -43
  180. package/dist/node_modules/@simple-git/args-pathspec/dist/index.cjs +0 -2
  181. package/dist/node_modules/@simple-git/args-pathspec/dist/index.cjs.map +0 -1
  182. package/dist/node_modules/@simple-git/args-pathspec/dist/index.d.ts +0 -1
  183. package/dist/node_modules/@simple-git/args-pathspec/dist/index.mjs +0 -17
  184. package/dist/node_modules/@simple-git/args-pathspec/dist/index.mjs.map +0 -1
  185. package/dist/node_modules/@simple-git/args-pathspec/dist/src/pathspec.d.ts +0 -8
  186. package/dist/node_modules/@simple-git/args-pathspec/package.json +0 -32
  187. package/dist/node_modules/@simple-git/argv-parser/dist/index.cjs +0 -2
  188. package/dist/node_modules/@simple-git/argv-parser/dist/index.cjs.map +0 -1
  189. package/dist/node_modules/@simple-git/argv-parser/dist/index.d.ts +0 -5
  190. package/dist/node_modules/@simple-git/argv-parser/dist/index.mjs +0 -463
  191. package/dist/node_modules/@simple-git/argv-parser/dist/index.mjs.map +0 -1
  192. package/dist/node_modules/@simple-git/argv-parser/dist/src/args/parse-argv.d.ts +0 -6
  193. package/dist/node_modules/@simple-git/argv-parser/dist/src/args/parse-argv.types.d.ts +0 -59
  194. package/dist/node_modules/@simple-git/argv-parser/dist/src/config/analyse-config.d.ts +0 -3
  195. package/dist/node_modules/@simple-git/argv-parser/dist/src/config/config-operands.d.ts +0 -4
  196. package/dist/node_modules/@simple-git/argv-parser/dist/src/config/config.types.d.ts +0 -6
  197. package/dist/node_modules/@simple-git/argv-parser/dist/src/config/detect-config-action.d.ts +0 -13
  198. package/dist/node_modules/@simple-git/argv-parser/dist/src/env/parse-env.d.ts +0 -6
  199. package/dist/node_modules/@simple-git/argv-parser/dist/src/flags/flags.helpers.d.ts +0 -9
  200. package/dist/node_modules/@simple-git/argv-parser/dist/src/flags/parse-global-flags.d.ts +0 -6
  201. package/dist/node_modules/@simple-git/argv-parser/dist/src/flags/parse-task-flags.d.ts +0 -8
  202. package/dist/node_modules/@simple-git/argv-parser/dist/src/tokens/flag-specs.d.ts +0 -9
  203. package/dist/node_modules/@simple-git/argv-parser/dist/src/tokens/token-expander.d.ts +0 -7
  204. package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/detect-vulnerable-config-writes.d.ts +0 -3
  205. package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/detect-vulnerable-flags.d.ts +0 -3
  206. package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/vulnerability-analysis.d.ts +0 -4
  207. package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/vulnerability-check.d.ts +0 -5
  208. package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/vulnerability.types.d.ts +0 -104
  209. package/dist/node_modules/@simple-git/argv-parser/package.json +0 -36
  210. package/dist/node_modules/@types/node/LICENSE +0 -21
  211. package/dist/node_modules/@types/node/README.md +0 -15
  212. package/dist/node_modules/@types/node/assert/strict.d.ts +0 -59
  213. package/dist/node_modules/@types/node/assert.d.ts +0 -950
  214. package/dist/node_modules/@types/node/async_hooks.d.ts +0 -711
  215. package/dist/node_modules/@types/node/buffer.buffer.d.ts +0 -466
  216. package/dist/node_modules/@types/node/buffer.d.ts +0 -1765
  217. package/dist/node_modules/@types/node/child_process.d.ts +0 -1366
  218. package/dist/node_modules/@types/node/cluster.d.ts +0 -432
  219. package/dist/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  220. package/dist/node_modules/@types/node/console.d.ts +0 -93
  221. package/dist/node_modules/@types/node/constants.d.ts +0 -14
  222. package/dist/node_modules/@types/node/crypto.d.ts +0 -4058
  223. package/dist/node_modules/@types/node/dgram.d.ts +0 -537
  224. package/dist/node_modules/@types/node/diagnostics_channel.d.ts +0 -552
  225. package/dist/node_modules/@types/node/dns/promises.d.ts +0 -497
  226. package/dist/node_modules/@types/node/dns.d.ts +0 -876
  227. package/dist/node_modules/@types/node/domain.d.ts +0 -150
  228. package/dist/node_modules/@types/node/events.d.ts +0 -1008
  229. package/dist/node_modules/@types/node/fs/promises.d.ts +0 -1468
  230. package/dist/node_modules/@types/node/fs.d.ts +0 -4780
  231. package/dist/node_modules/@types/node/globals.d.ts +0 -150
  232. package/dist/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  233. package/dist/node_modules/@types/node/http.d.ts +0 -2147
  234. package/dist/node_modules/@types/node/http2.d.ts +0 -2489
  235. package/dist/node_modules/@types/node/https.d.ts +0 -400
  236. package/dist/node_modules/@types/node/index.d.ts +0 -117
  237. package/dist/node_modules/@types/node/inspector/promises.d.ts +0 -35
  238. package/dist/node_modules/@types/node/inspector.d.ts +0 -264
  239. package/dist/node_modules/@types/node/inspector.generated.d.ts +0 -4406
  240. package/dist/node_modules/@types/node/module.d.ts +0 -755
  241. package/dist/node_modules/@types/node/net.d.ts +0 -970
  242. package/dist/node_modules/@types/node/os.d.ts +0 -498
  243. package/dist/node_modules/@types/node/package.json +0 -155
  244. package/dist/node_modules/@types/node/path/posix.d.ts +0 -8
  245. package/dist/node_modules/@types/node/path/win32.d.ts +0 -8
  246. package/dist/node_modules/@types/node/path.d.ts +0 -178
  247. package/dist/node_modules/@types/node/perf_hooks.d.ts +0 -612
  248. package/dist/node_modules/@types/node/process.d.ts +0 -2204
  249. package/dist/node_modules/@types/node/punycode.d.ts +0 -89
  250. package/dist/node_modules/@types/node/querystring.d.ts +0 -139
  251. package/dist/node_modules/@types/node/quic.d.ts +0 -897
  252. package/dist/node_modules/@types/node/readline/promises.d.ts +0 -158
  253. package/dist/node_modules/@types/node/readline.d.ts +0 -507
  254. package/dist/node_modules/@types/node/repl.d.ts +0 -420
  255. package/dist/node_modules/@types/node/sea.d.ts +0 -47
  256. package/dist/node_modules/@types/node/sqlite.d.ts +0 -1068
  257. package/dist/node_modules/@types/node/stream/consumers.d.ts +0 -114
  258. package/dist/node_modules/@types/node/stream/iter.d.ts +0 -301
  259. package/dist/node_modules/@types/node/stream/promises.d.ts +0 -211
  260. package/dist/node_modules/@types/node/stream/web.d.ts +0 -300
  261. package/dist/node_modules/@types/node/stream.d.ts +0 -1774
  262. package/dist/node_modules/@types/node/string_decoder.d.ts +0 -27
  263. package/dist/node_modules/@types/node/test/reporters.d.ts +0 -59
  264. package/dist/node_modules/@types/node/test.d.ts +0 -2279
  265. package/dist/node_modules/@types/node/timers/promises.d.ts +0 -93
  266. package/dist/node_modules/@types/node/timers.d.ts +0 -149
  267. package/dist/node_modules/@types/node/tls.d.ts +0 -1193
  268. package/dist/node_modules/@types/node/trace_events.d.ts +0 -103
  269. package/dist/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
  270. package/dist/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  271. package/dist/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  272. package/dist/node_modules/@types/node/ts5.6/index.d.ts +0 -119
  273. package/dist/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  274. package/dist/node_modules/@types/node/ts5.7/index.d.ts +0 -119
  275. package/dist/node_modules/@types/node/tty.d.ts +0 -225
  276. package/dist/node_modules/@types/node/url.d.ts +0 -556
  277. package/dist/node_modules/@types/node/util/types.d.ts +0 -558
  278. package/dist/node_modules/@types/node/util.d.ts +0 -1677
  279. package/dist/node_modules/@types/node/v8.d.ts +0 -980
  280. package/dist/node_modules/@types/node/vm.d.ts +0 -1136
  281. package/dist/node_modules/@types/node/wasi.d.ts +0 -131
  282. package/dist/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  283. package/dist/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  284. package/dist/node_modules/@types/node/web-globals/console.d.ts +0 -9
  285. package/dist/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  286. package/dist/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  287. package/dist/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  288. package/dist/node_modules/@types/node/web-globals/events.d.ts +0 -106
  289. package/dist/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
  290. package/dist/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  291. package/dist/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  292. package/dist/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  293. package/dist/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  294. package/dist/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  295. package/dist/node_modules/@types/node/web-globals/streams.d.ts +0 -115
  296. package/dist/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  297. package/dist/node_modules/@types/node/web-globals/url.d.ts +0 -24
  298. package/dist/node_modules/@types/node/worker_threads.d.ts +0 -671
  299. package/dist/node_modules/@types/node/zlib/iter.d.ts +0 -131
  300. package/dist/node_modules/@types/node/zlib.d.ts +0 -589
  301. package/dist/node_modules/ajv/.runkit_example.js +0 -23
  302. package/dist/node_modules/ajv/LICENSE +0 -22
  303. package/dist/node_modules/ajv/README.md +0 -207
  304. package/dist/node_modules/ajv/dist/2019.d.ts +0 -19
  305. package/dist/node_modules/ajv/dist/2019.js +0 -61
  306. package/dist/node_modules/ajv/dist/2019.js.map +0 -1
  307. package/dist/node_modules/ajv/dist/2020.d.ts +0 -19
  308. package/dist/node_modules/ajv/dist/2020.js +0 -55
  309. package/dist/node_modules/ajv/dist/2020.js.map +0 -1
  310. package/dist/node_modules/ajv/dist/ajv.d.ts +0 -18
  311. package/dist/node_modules/ajv/dist/ajv.js +0 -50
  312. package/dist/node_modules/ajv/dist/ajv.js.map +0 -1
  313. package/dist/node_modules/ajv/dist/compile/codegen/code.d.ts +0 -40
  314. package/dist/node_modules/ajv/dist/compile/codegen/code.js +0 -156
  315. package/dist/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
  316. package/dist/node_modules/ajv/dist/compile/codegen/index.d.ts +0 -79
  317. package/dist/node_modules/ajv/dist/compile/codegen/index.js +0 -697
  318. package/dist/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
  319. package/dist/node_modules/ajv/dist/compile/codegen/scope.d.ts +0 -79
  320. package/dist/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
  321. package/dist/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
  322. package/dist/node_modules/ajv/dist/compile/errors.d.ts +0 -13
  323. package/dist/node_modules/ajv/dist/compile/errors.js +0 -123
  324. package/dist/node_modules/ajv/dist/compile/errors.js.map +0 -1
  325. package/dist/node_modules/ajv/dist/compile/index.d.ts +0 -80
  326. package/dist/node_modules/ajv/dist/compile/index.js +0 -242
  327. package/dist/node_modules/ajv/dist/compile/index.js.map +0 -1
  328. package/dist/node_modules/ajv/dist/compile/jtd/parse.d.ts +0 -4
  329. package/dist/node_modules/ajv/dist/compile/jtd/parse.js +0 -350
  330. package/dist/node_modules/ajv/dist/compile/jtd/parse.js.map +0 -1
  331. package/dist/node_modules/ajv/dist/compile/jtd/serialize.d.ts +0 -4
  332. package/dist/node_modules/ajv/dist/compile/jtd/serialize.js +0 -236
  333. package/dist/node_modules/ajv/dist/compile/jtd/serialize.js.map +0 -1
  334. package/dist/node_modules/ajv/dist/compile/jtd/types.d.ts +0 -6
  335. package/dist/node_modules/ajv/dist/compile/jtd/types.js +0 -14
  336. package/dist/node_modules/ajv/dist/compile/jtd/types.js.map +0 -1
  337. package/dist/node_modules/ajv/dist/compile/names.d.ts +0 -20
  338. package/dist/node_modules/ajv/dist/compile/names.js +0 -28
  339. package/dist/node_modules/ajv/dist/compile/names.js.map +0 -1
  340. package/dist/node_modules/ajv/dist/compile/ref_error.d.ts +0 -6
  341. package/dist/node_modules/ajv/dist/compile/ref_error.js +0 -12
  342. package/dist/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
  343. package/dist/node_modules/ajv/dist/compile/resolve.d.ts +0 -12
  344. package/dist/node_modules/ajv/dist/compile/resolve.js +0 -155
  345. package/dist/node_modules/ajv/dist/compile/resolve.js.map +0 -1
  346. package/dist/node_modules/ajv/dist/compile/rules.d.ts +0 -28
  347. package/dist/node_modules/ajv/dist/compile/rules.js +0 -26
  348. package/dist/node_modules/ajv/dist/compile/rules.js.map +0 -1
  349. package/dist/node_modules/ajv/dist/compile/util.d.ts +0 -40
  350. package/dist/node_modules/ajv/dist/compile/util.js +0 -178
  351. package/dist/node_modules/ajv/dist/compile/util.js.map +0 -1
  352. package/dist/node_modules/ajv/dist/compile/validate/applicability.d.ts +0 -6
  353. package/dist/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
  354. package/dist/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
  355. package/dist/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +0 -4
  356. package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
  357. package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
  358. package/dist/node_modules/ajv/dist/compile/validate/dataType.d.ts +0 -17
  359. package/dist/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
  360. package/dist/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
  361. package/dist/node_modules/ajv/dist/compile/validate/defaults.d.ts +0 -2
  362. package/dist/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
  363. package/dist/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
  364. package/dist/node_modules/ajv/dist/compile/validate/index.d.ts +0 -42
  365. package/dist/node_modules/ajv/dist/compile/validate/index.js +0 -520
  366. package/dist/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
  367. package/dist/node_modules/ajv/dist/compile/validate/keyword.d.ts +0 -8
  368. package/dist/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
  369. package/dist/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
  370. package/dist/node_modules/ajv/dist/compile/validate/subschema.d.ts +0 -47
  371. package/dist/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
  372. package/dist/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
  373. package/dist/node_modules/ajv/dist/core.d.ts +0 -174
  374. package/dist/node_modules/ajv/dist/core.js +0 -618
  375. package/dist/node_modules/ajv/dist/core.js.map +0 -1
  376. package/dist/node_modules/ajv/dist/jtd.d.ts +0 -47
  377. package/dist/node_modules/ajv/dist/jtd.js +0 -72
  378. package/dist/node_modules/ajv/dist/jtd.js.map +0 -1
  379. package/dist/node_modules/ajv/dist/refs/data.json +0 -13
  380. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +0 -2
  381. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +0 -28
  382. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +0 -1
  383. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +0 -53
  384. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +0 -17
  385. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +0 -57
  386. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +0 -14
  387. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +0 -37
  388. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +0 -90
  389. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +0 -39
  390. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +0 -2
  391. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +0 -30
  392. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +0 -1
  393. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
  394. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +0 -17
  395. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +0 -51
  396. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
  397. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
  398. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
  399. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
  400. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +0 -55
  401. package/dist/node_modules/ajv/dist/refs/json-schema-draft-06.json +0 -137
  402. package/dist/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
  403. package/dist/node_modules/ajv/dist/refs/json-schema-secure.json +0 -88
  404. package/dist/node_modules/ajv/dist/refs/jtd-schema.d.ts +0 -3
  405. package/dist/node_modules/ajv/dist/refs/jtd-schema.js +0 -118
  406. package/dist/node_modules/ajv/dist/refs/jtd-schema.js.map +0 -1
  407. package/dist/node_modules/ajv/dist/runtime/equal.d.ts +0 -6
  408. package/dist/node_modules/ajv/dist/runtime/equal.js +0 -7
  409. package/dist/node_modules/ajv/dist/runtime/equal.js.map +0 -1
  410. package/dist/node_modules/ajv/dist/runtime/parseJson.d.ts +0 -18
  411. package/dist/node_modules/ajv/dist/runtime/parseJson.js +0 -185
  412. package/dist/node_modules/ajv/dist/runtime/parseJson.js.map +0 -1
  413. package/dist/node_modules/ajv/dist/runtime/quote.d.ts +0 -5
  414. package/dist/node_modules/ajv/dist/runtime/quote.js +0 -30
  415. package/dist/node_modules/ajv/dist/runtime/quote.js.map +0 -1
  416. package/dist/node_modules/ajv/dist/runtime/re2.d.ts +0 -6
  417. package/dist/node_modules/ajv/dist/runtime/re2.js +0 -6
  418. package/dist/node_modules/ajv/dist/runtime/re2.js.map +0 -1
  419. package/dist/node_modules/ajv/dist/runtime/timestamp.d.ts +0 -5
  420. package/dist/node_modules/ajv/dist/runtime/timestamp.js +0 -42
  421. package/dist/node_modules/ajv/dist/runtime/timestamp.js.map +0 -1
  422. package/dist/node_modules/ajv/dist/runtime/ucs2length.d.ts +0 -5
  423. package/dist/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
  424. package/dist/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
  425. package/dist/node_modules/ajv/dist/runtime/uri.d.ts +0 -6
  426. package/dist/node_modules/ajv/dist/runtime/uri.js +0 -6
  427. package/dist/node_modules/ajv/dist/runtime/uri.js.map +0 -1
  428. package/dist/node_modules/ajv/dist/runtime/validation_error.d.ts +0 -7
  429. package/dist/node_modules/ajv/dist/runtime/validation_error.js +0 -11
  430. package/dist/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
  431. package/dist/node_modules/ajv/dist/standalone/index.d.ts +0 -6
  432. package/dist/node_modules/ajv/dist/standalone/index.js +0 -90
  433. package/dist/node_modules/ajv/dist/standalone/index.js.map +0 -1
  434. package/dist/node_modules/ajv/dist/standalone/instance.d.ts +0 -12
  435. package/dist/node_modules/ajv/dist/standalone/instance.js +0 -35
  436. package/dist/node_modules/ajv/dist/standalone/instance.js.map +0 -1
  437. package/dist/node_modules/ajv/dist/types/index.d.ts +0 -183
  438. package/dist/node_modules/ajv/dist/types/index.js +0 -3
  439. package/dist/node_modules/ajv/dist/types/index.js.map +0 -1
  440. package/dist/node_modules/ajv/dist/types/json-schema.d.ts +0 -125
  441. package/dist/node_modules/ajv/dist/types/json-schema.js +0 -3
  442. package/dist/node_modules/ajv/dist/types/json-schema.js.map +0 -1
  443. package/dist/node_modules/ajv/dist/types/jtd-schema.d.ts +0 -174
  444. package/dist/node_modules/ajv/dist/types/jtd-schema.js +0 -3
  445. package/dist/node_modules/ajv/dist/types/jtd-schema.js.map +0 -1
  446. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +0 -8
  447. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
  448. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
  449. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +0 -6
  450. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
  451. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
  452. package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +0 -3
  453. package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
  454. package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
  455. package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +0 -4
  456. package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
  457. package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
  458. package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +0 -7
  459. package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
  460. package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
  461. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +0 -21
  462. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
  463. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
  464. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +0 -3
  465. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +0 -11
  466. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +0 -1
  467. package/dist/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +0 -6
  468. package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
  469. package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
  470. package/dist/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +0 -13
  471. package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
  472. package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
  473. package/dist/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +0 -5
  474. package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
  475. package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
  476. package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +0 -6
  477. package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
  478. package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
  479. package/dist/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +0 -4
  480. package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
  481. package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
  482. package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +0 -6
  483. package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
  484. package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
  485. package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +0 -3
  486. package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
  487. package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
  488. package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +0 -3
  489. package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
  490. package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
  491. package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +0 -3
  492. package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
  493. package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
  494. package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +0 -6
  495. package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
  496. package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
  497. package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +0 -3
  498. package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
  499. package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
  500. package/dist/node_modules/ajv/dist/vocabularies/code.d.ts +0 -17
  501. package/dist/node_modules/ajv/dist/vocabularies/code.js +0 -131
  502. package/dist/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
  503. package/dist/node_modules/ajv/dist/vocabularies/core/id.d.ts +0 -3
  504. package/dist/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
  505. package/dist/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
  506. package/dist/node_modules/ajv/dist/vocabularies/core/index.d.ts +0 -3
  507. package/dist/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
  508. package/dist/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
  509. package/dist/node_modules/ajv/dist/vocabularies/core/ref.d.ts +0 -8
  510. package/dist/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
  511. package/dist/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
  512. package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +0 -5
  513. package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
  514. package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
  515. package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +0 -10
  516. package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
  517. package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
  518. package/dist/node_modules/ajv/dist/vocabularies/draft2020.d.ts +0 -3
  519. package/dist/node_modules/ajv/dist/vocabularies/draft2020.js +0 -23
  520. package/dist/node_modules/ajv/dist/vocabularies/draft2020.js.map +0 -1
  521. package/dist/node_modules/ajv/dist/vocabularies/draft7.d.ts +0 -3
  522. package/dist/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
  523. package/dist/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
  524. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +0 -5
  525. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
  526. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +0 -1
  527. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +0 -5
  528. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +0 -51
  529. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +0 -1
  530. package/dist/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +0 -3
  531. package/dist/node_modules/ajv/dist/vocabularies/dynamic/index.js +0 -9
  532. package/dist/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +0 -1
  533. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +0 -3
  534. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
  535. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +0 -1
  536. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +0 -3
  537. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +0 -10
  538. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +0 -1
  539. package/dist/node_modules/ajv/dist/vocabularies/errors.d.ts +0 -9
  540. package/dist/node_modules/ajv/dist/vocabularies/errors.js +0 -3
  541. package/dist/node_modules/ajv/dist/vocabularies/errors.js.map +0 -1
  542. package/dist/node_modules/ajv/dist/vocabularies/format/format.d.ts +0 -8
  543. package/dist/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
  544. package/dist/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
  545. package/dist/node_modules/ajv/dist/vocabularies/format/index.d.ts +0 -3
  546. package/dist/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
  547. package/dist/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
  548. package/dist/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +0 -6
  549. package/dist/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +0 -71
  550. package/dist/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +0 -1
  551. package/dist/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +0 -5
  552. package/dist/node_modules/ajv/dist/vocabularies/jtd/elements.js +0 -24
  553. package/dist/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +0 -1
  554. package/dist/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +0 -6
  555. package/dist/node_modules/ajv/dist/vocabularies/jtd/enum.js +0 -43
  556. package/dist/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +0 -1
  557. package/dist/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +0 -9
  558. package/dist/node_modules/ajv/dist/vocabularies/jtd/error.js +0 -20
  559. package/dist/node_modules/ajv/dist/vocabularies/jtd/error.js.map +0 -1
  560. package/dist/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +0 -10
  561. package/dist/node_modules/ajv/dist/vocabularies/jtd/index.js +0 -29
  562. package/dist/node_modules/ajv/dist/vocabularies/jtd/index.js.map +0 -1
  563. package/dist/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +0 -5
  564. package/dist/node_modules/ajv/dist/vocabularies/jtd/metadata.js +0 -25
  565. package/dist/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +0 -1
  566. package/dist/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +0 -4
  567. package/dist/node_modules/ajv/dist/vocabularies/jtd/nullable.js +0 -22
  568. package/dist/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +0 -1
  569. package/dist/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +0 -3
  570. package/dist/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +0 -15
  571. package/dist/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +0 -1
  572. package/dist/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +0 -22
  573. package/dist/node_modules/ajv/dist/vocabularies/jtd/properties.js +0 -149
  574. package/dist/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +0 -1
  575. package/dist/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +0 -4
  576. package/dist/node_modules/ajv/dist/vocabularies/jtd/ref.js +0 -67
  577. package/dist/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +0 -1
  578. package/dist/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +0 -10
  579. package/dist/node_modules/ajv/dist/vocabularies/jtd/type.js +0 -69
  580. package/dist/node_modules/ajv/dist/vocabularies/jtd/type.js.map +0 -1
  581. package/dist/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +0 -3
  582. package/dist/node_modules/ajv/dist/vocabularies/jtd/union.js +0 -12
  583. package/dist/node_modules/ajv/dist/vocabularies/jtd/union.js.map +0 -1
  584. package/dist/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +0 -5
  585. package/dist/node_modules/ajv/dist/vocabularies/jtd/values.js +0 -51
  586. package/dist/node_modules/ajv/dist/vocabularies/jtd/values.js.map +0 -1
  587. package/dist/node_modules/ajv/dist/vocabularies/metadata.d.ts +0 -3
  588. package/dist/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
  589. package/dist/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
  590. package/dist/node_modules/ajv/dist/vocabularies/next.d.ts +0 -3
  591. package/dist/node_modules/ajv/dist/vocabularies/next.js +0 -8
  592. package/dist/node_modules/ajv/dist/vocabularies/next.js.map +0 -1
  593. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +0 -3
  594. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/index.js +0 -7
  595. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +0 -1
  596. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +0 -6
  597. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
  598. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +0 -1
  599. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +0 -6
  600. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -65
  601. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +0 -1
  602. package/dist/node_modules/ajv/dist/vocabularies/validation/const.d.ts +0 -6
  603. package/dist/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
  604. package/dist/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
  605. package/dist/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +0 -5
  606. package/dist/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +0 -12
  607. package/dist/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +0 -1
  608. package/dist/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +0 -8
  609. package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
  610. package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
  611. package/dist/node_modules/ajv/dist/vocabularies/validation/index.d.ts +0 -16
  612. package/dist/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
  613. package/dist/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
  614. package/dist/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +0 -3
  615. package/dist/node_modules/ajv/dist/vocabularies/validation/limitContains.js +0 -15
  616. package/dist/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +0 -1
  617. package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +0 -3
  618. package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
  619. package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
  620. package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +0 -3
  621. package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
  622. package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
  623. package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +0 -11
  624. package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
  625. package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
  626. package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +0 -3
  627. package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
  628. package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
  629. package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +0 -8
  630. package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
  631. package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
  632. package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +0 -8
  633. package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -33
  634. package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
  635. package/dist/node_modules/ajv/dist/vocabularies/validation/required.d.ts +0 -8
  636. package/dist/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
  637. package/dist/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
  638. package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +0 -9
  639. package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
  640. package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
  641. package/dist/node_modules/ajv/lib/2019.ts +0 -81
  642. package/dist/node_modules/ajv/lib/2020.ts +0 -75
  643. package/dist/node_modules/ajv/lib/ajv.ts +0 -70
  644. package/dist/node_modules/ajv/lib/compile/codegen/code.ts +0 -169
  645. package/dist/node_modules/ajv/lib/compile/codegen/index.ts +0 -852
  646. package/dist/node_modules/ajv/lib/compile/codegen/scope.ts +0 -215
  647. package/dist/node_modules/ajv/lib/compile/errors.ts +0 -184
  648. package/dist/node_modules/ajv/lib/compile/index.ts +0 -324
  649. package/dist/node_modules/ajv/lib/compile/jtd/parse.ts +0 -411
  650. package/dist/node_modules/ajv/lib/compile/jtd/serialize.ts +0 -277
  651. package/dist/node_modules/ajv/lib/compile/jtd/types.ts +0 -16
  652. package/dist/node_modules/ajv/lib/compile/names.ts +0 -27
  653. package/dist/node_modules/ajv/lib/compile/ref_error.ts +0 -13
  654. package/dist/node_modules/ajv/lib/compile/resolve.ts +0 -149
  655. package/dist/node_modules/ajv/lib/compile/rules.ts +0 -50
  656. package/dist/node_modules/ajv/lib/compile/util.ts +0 -213
  657. package/dist/node_modules/ajv/lib/compile/validate/applicability.ts +0 -22
  658. package/dist/node_modules/ajv/lib/compile/validate/boolSchema.ts +0 -47
  659. package/dist/node_modules/ajv/lib/compile/validate/dataType.ts +0 -230
  660. package/dist/node_modules/ajv/lib/compile/validate/defaults.ts +0 -32
  661. package/dist/node_modules/ajv/lib/compile/validate/index.ts +0 -582
  662. package/dist/node_modules/ajv/lib/compile/validate/keyword.ts +0 -171
  663. package/dist/node_modules/ajv/lib/compile/validate/subschema.ts +0 -135
  664. package/dist/node_modules/ajv/lib/core.ts +0 -892
  665. package/dist/node_modules/ajv/lib/jtd.ts +0 -132
  666. package/dist/node_modules/ajv/lib/refs/data.json +0 -13
  667. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +0 -28
  668. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +0 -53
  669. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +0 -17
  670. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +0 -57
  671. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +0 -14
  672. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +0 -37
  673. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +0 -90
  674. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +0 -39
  675. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +0 -30
  676. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +0 -48
  677. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +0 -17
  678. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +0 -51
  679. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
  680. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +0 -37
  681. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
  682. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +0 -90
  683. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +0 -55
  684. package/dist/node_modules/ajv/lib/refs/json-schema-draft-06.json +0 -137
  685. package/dist/node_modules/ajv/lib/refs/json-schema-draft-07.json +0 -151
  686. package/dist/node_modules/ajv/lib/refs/json-schema-secure.json +0 -88
  687. package/dist/node_modules/ajv/lib/refs/jtd-schema.ts +0 -130
  688. package/dist/node_modules/ajv/lib/runtime/equal.ts +0 -7
  689. package/dist/node_modules/ajv/lib/runtime/parseJson.ts +0 -177
  690. package/dist/node_modules/ajv/lib/runtime/quote.ts +0 -31
  691. package/dist/node_modules/ajv/lib/runtime/re2.ts +0 -6
  692. package/dist/node_modules/ajv/lib/runtime/timestamp.ts +0 -46
  693. package/dist/node_modules/ajv/lib/runtime/ucs2length.ts +0 -20
  694. package/dist/node_modules/ajv/lib/runtime/uri.ts +0 -6
  695. package/dist/node_modules/ajv/lib/runtime/validation_error.ts +0 -13
  696. package/dist/node_modules/ajv/lib/standalone/index.ts +0 -100
  697. package/dist/node_modules/ajv/lib/standalone/instance.ts +0 -36
  698. package/dist/node_modules/ajv/lib/types/index.ts +0 -244
  699. package/dist/node_modules/ajv/lib/types/json-schema.ts +0 -187
  700. package/dist/node_modules/ajv/lib/types/jtd-schema.ts +0 -273
  701. package/dist/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +0 -56
  702. package/dist/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +0 -118
  703. package/dist/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +0 -22
  704. package/dist/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +0 -14
  705. package/dist/node_modules/ajv/lib/vocabularies/applicator/contains.ts +0 -109
  706. package/dist/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +0 -112
  707. package/dist/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +0 -11
  708. package/dist/node_modules/ajv/lib/vocabularies/applicator/if.ts +0 -80
  709. package/dist/node_modules/ajv/lib/vocabularies/applicator/index.ts +0 -53
  710. package/dist/node_modules/ajv/lib/vocabularies/applicator/items.ts +0 -59
  711. package/dist/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +0 -36
  712. package/dist/node_modules/ajv/lib/vocabularies/applicator/not.ts +0 -38
  713. package/dist/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +0 -82
  714. package/dist/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +0 -91
  715. package/dist/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +0 -12
  716. package/dist/node_modules/ajv/lib/vocabularies/applicator/properties.ts +0 -57
  717. package/dist/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +0 -50
  718. package/dist/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +0 -13
  719. package/dist/node_modules/ajv/lib/vocabularies/code.ts +0 -168
  720. package/dist/node_modules/ajv/lib/vocabularies/core/id.ts +0 -10
  721. package/dist/node_modules/ajv/lib/vocabularies/core/index.ts +0 -16
  722. package/dist/node_modules/ajv/lib/vocabularies/core/ref.ts +0 -129
  723. package/dist/node_modules/ajv/lib/vocabularies/discriminator/index.ts +0 -113
  724. package/dist/node_modules/ajv/lib/vocabularies/discriminator/types.ts +0 -12
  725. package/dist/node_modules/ajv/lib/vocabularies/draft2020.ts +0 -23
  726. package/dist/node_modules/ajv/lib/vocabularies/draft7.ts +0 -17
  727. package/dist/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +0 -31
  728. package/dist/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +0 -51
  729. package/dist/node_modules/ajv/lib/vocabularies/dynamic/index.ts +0 -9
  730. package/dist/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +0 -14
  731. package/dist/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +0 -10
  732. package/dist/node_modules/ajv/lib/vocabularies/errors.ts +0 -18
  733. package/dist/node_modules/ajv/lib/vocabularies/format/format.ts +0 -120
  734. package/dist/node_modules/ajv/lib/vocabularies/format/index.ts +0 -6
  735. package/dist/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +0 -89
  736. package/dist/node_modules/ajv/lib/vocabularies/jtd/elements.ts +0 -32
  737. package/dist/node_modules/ajv/lib/vocabularies/jtd/enum.ts +0 -45
  738. package/dist/node_modules/ajv/lib/vocabularies/jtd/error.ts +0 -23
  739. package/dist/node_modules/ajv/lib/vocabularies/jtd/index.ts +0 -37
  740. package/dist/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +0 -24
  741. package/dist/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +0 -21
  742. package/dist/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +0 -15
  743. package/dist/node_modules/ajv/lib/vocabularies/jtd/properties.ts +0 -184
  744. package/dist/node_modules/ajv/lib/vocabularies/jtd/ref.ts +0 -76
  745. package/dist/node_modules/ajv/lib/vocabularies/jtd/type.ts +0 -75
  746. package/dist/node_modules/ajv/lib/vocabularies/jtd/union.ts +0 -12
  747. package/dist/node_modules/ajv/lib/vocabularies/jtd/values.ts +0 -58
  748. package/dist/node_modules/ajv/lib/vocabularies/metadata.ts +0 -17
  749. package/dist/node_modules/ajv/lib/vocabularies/next.ts +0 -8
  750. package/dist/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +0 -7
  751. package/dist/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +0 -47
  752. package/dist/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +0 -85
  753. package/dist/node_modules/ajv/lib/vocabularies/validation/const.ts +0 -28
  754. package/dist/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +0 -23
  755. package/dist/node_modules/ajv/lib/vocabularies/validation/enum.ts +0 -54
  756. package/dist/node_modules/ajv/lib/vocabularies/validation/index.ts +0 -49
  757. package/dist/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +0 -16
  758. package/dist/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +0 -26
  759. package/dist/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +0 -30
  760. package/dist/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +0 -42
  761. package/dist/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +0 -26
  762. package/dist/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +0 -34
  763. package/dist/node_modules/ajv/lib/vocabularies/validation/pattern.ts +0 -39
  764. package/dist/node_modules/ajv/lib/vocabularies/validation/required.ts +0 -98
  765. package/dist/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +0 -79
  766. package/dist/node_modules/ajv/package.json +0 -126
  767. package/dist/node_modules/ajv-formats/LICENSE +0 -21
  768. package/dist/node_modules/ajv-formats/README.md +0 -125
  769. package/dist/node_modules/ajv-formats/dist/formats.d.ts +0 -9
  770. package/dist/node_modules/ajv-formats/dist/formats.js +0 -208
  771. package/dist/node_modules/ajv-formats/dist/formats.js.map +0 -1
  772. package/dist/node_modules/ajv-formats/dist/index.d.ts +0 -15
  773. package/dist/node_modules/ajv-formats/dist/index.js +0 -37
  774. package/dist/node_modules/ajv-formats/dist/index.js.map +0 -1
  775. package/dist/node_modules/ajv-formats/dist/limit.d.ts +0 -10
  776. package/dist/node_modules/ajv-formats/dist/limit.js +0 -69
  777. package/dist/node_modules/ajv-formats/dist/limit.js.map +0 -1
  778. package/dist/node_modules/ajv-formats/package.json +0 -74
  779. package/dist/node_modules/ajv-formats/src/formats.ts +0 -269
  780. package/dist/node_modules/ajv-formats/src/index.ts +0 -62
  781. package/dist/node_modules/ajv-formats/src/limit.ts +0 -99
  782. package/dist/node_modules/ansi-align/CHANGELOG.md +0 -58
  783. package/dist/node_modules/ansi-align/LICENSE +0 -13
  784. package/dist/node_modules/ansi-align/README.md +0 -80
  785. package/dist/node_modules/ansi-align/index.js +0 -61
  786. package/dist/node_modules/ansi-align/node_modules/ansi-regex/index.d.ts +0 -37
  787. package/dist/node_modules/ansi-align/node_modules/ansi-regex/index.js +0 -10
  788. package/dist/node_modules/ansi-align/node_modules/ansi-regex/license +0 -9
  789. package/dist/node_modules/ansi-align/node_modules/ansi-regex/package.json +0 -55
  790. package/dist/node_modules/ansi-align/node_modules/ansi-regex/readme.md +0 -78
  791. package/dist/node_modules/ansi-align/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  792. package/dist/node_modules/ansi-align/node_modules/emoji-regex/README.md +0 -73
  793. package/dist/node_modules/ansi-align/node_modules/emoji-regex/es2015/index.js +0 -6
  794. package/dist/node_modules/ansi-align/node_modules/emoji-regex/es2015/text.js +0 -6
  795. package/dist/node_modules/ansi-align/node_modules/emoji-regex/index.d.ts +0 -23
  796. package/dist/node_modules/ansi-align/node_modules/emoji-regex/index.js +0 -6
  797. package/dist/node_modules/ansi-align/node_modules/emoji-regex/package.json +0 -50
  798. package/dist/node_modules/ansi-align/node_modules/emoji-regex/text.js +0 -6
  799. package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  800. package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/index.js +0 -50
  801. package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/license +0 -9
  802. package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/package.json +0 -42
  803. package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/readme.md +0 -39
  804. package/dist/node_modules/ansi-align/node_modules/string-width/index.d.ts +0 -29
  805. package/dist/node_modules/ansi-align/node_modules/string-width/index.js +0 -47
  806. package/dist/node_modules/ansi-align/node_modules/string-width/license +0 -9
  807. package/dist/node_modules/ansi-align/node_modules/string-width/package.json +0 -56
  808. package/dist/node_modules/ansi-align/node_modules/string-width/readme.md +0 -50
  809. package/dist/node_modules/ansi-align/node_modules/strip-ansi/index.d.ts +0 -17
  810. package/dist/node_modules/ansi-align/node_modules/strip-ansi/index.js +0 -4
  811. package/dist/node_modules/ansi-align/node_modules/strip-ansi/license +0 -9
  812. package/dist/node_modules/ansi-align/node_modules/strip-ansi/package.json +0 -54
  813. package/dist/node_modules/ansi-align/node_modules/strip-ansi/readme.md +0 -46
  814. package/dist/node_modules/ansi-align/package.json +0 -43
  815. package/dist/node_modules/ansi-regex/index.d.ts +0 -33
  816. package/dist/node_modules/ansi-regex/index.js +0 -14
  817. package/dist/node_modules/ansi-regex/license +0 -9
  818. package/dist/node_modules/ansi-regex/package.json +0 -61
  819. package/dist/node_modules/ansi-regex/readme.md +0 -66
  820. package/dist/node_modules/boxen/index.d.ts +0 -267
  821. package/dist/node_modules/boxen/index.js +0 -376
  822. package/dist/node_modules/boxen/license +0 -9
  823. package/dist/node_modules/boxen/package.json +0 -69
  824. package/dist/node_modules/boxen/readme.md +0 -300
  825. package/dist/node_modules/camelcase/index.d.ts +0 -102
  826. package/dist/node_modules/camelcase/index.js +0 -110
  827. package/dist/node_modules/camelcase/license +0 -9
  828. package/dist/node_modules/camelcase/package.json +0 -47
  829. package/dist/node_modules/camelcase/readme.md +0 -135
  830. package/dist/node_modules/chalk/license +0 -9
  831. package/dist/node_modules/chalk/package.json +0 -83
  832. package/dist/node_modules/chalk/readme.md +0 -297
  833. package/dist/node_modules/chalk/source/index.d.ts +0 -325
  834. package/dist/node_modules/chalk/source/index.js +0 -225
  835. package/dist/node_modules/chalk/source/utilities.js +0 -33
  836. package/dist/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  837. package/dist/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  838. package/dist/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  839. package/dist/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
  840. package/dist/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  841. package/dist/node_modules/chalk/source/vendor/supports-color/index.js +0 -190
  842. package/dist/node_modules/chardet/LICENSE +0 -19
  843. package/dist/node_modules/chardet/README.md +0 -121
  844. package/dist/node_modules/chardet/lib/encoding/ascii.d.ts +0 -6
  845. package/dist/node_modules/chardet/lib/encoding/ascii.js +0 -23
  846. package/dist/node_modules/chardet/lib/encoding/ascii.js.map +0 -1
  847. package/dist/node_modules/chardet/lib/encoding/index.d.ts +0 -14
  848. package/dist/node_modules/chardet/lib/encoding/index.js +0 -3
  849. package/dist/node_modules/chardet/lib/encoding/index.js.map +0 -1
  850. package/dist/node_modules/chardet/lib/encoding/iso2022.d.ts +0 -23
  851. package/dist/node_modules/chardet/lib/encoding/iso2022.js +0 -114
  852. package/dist/node_modules/chardet/lib/encoding/iso2022.js.map +0 -1
  853. package/dist/node_modules/chardet/lib/encoding/mbcs.d.ts +0 -50
  854. package/dist/node_modules/chardet/lib/encoding/mbcs.js +0 -347
  855. package/dist/node_modules/chardet/lib/encoding/mbcs.js.map +0 -1
  856. package/dist/node_modules/chardet/lib/encoding/sbcs.d.ts +0 -75
  857. package/dist/node_modules/chardet/lib/encoding/sbcs.js +0 -764
  858. package/dist/node_modules/chardet/lib/encoding/sbcs.js.map +0 -1
  859. package/dist/node_modules/chardet/lib/encoding/unicode.d.ts +0 -27
  860. package/dist/node_modules/chardet/lib/encoding/unicode.js +0 -109
  861. package/dist/node_modules/chardet/lib/encoding/unicode.js.map +0 -1
  862. package/dist/node_modules/chardet/lib/encoding/utf8.d.ts +0 -6
  863. package/dist/node_modules/chardet/lib/encoding/utf8.js +0 -72
  864. package/dist/node_modules/chardet/lib/encoding/utf8.js.map +0 -1
  865. package/dist/node_modules/chardet/lib/fs/browser.d.ts +0 -2
  866. package/dist/node_modules/chardet/lib/fs/browser.js +0 -6
  867. package/dist/node_modules/chardet/lib/fs/browser.js.map +0 -1
  868. package/dist/node_modules/chardet/lib/fs/node.d.ts +0 -2
  869. package/dist/node_modules/chardet/lib/fs/node.js +0 -11
  870. package/dist/node_modules/chardet/lib/fs/node.js.map +0 -1
  871. package/dist/node_modules/chardet/lib/index.d.ts +0 -20
  872. package/dist/node_modules/chardet/lib/index.js +0 -174
  873. package/dist/node_modules/chardet/lib/index.js.map +0 -1
  874. package/dist/node_modules/chardet/lib/match.d.ts +0 -9
  875. package/dist/node_modules/chardet/lib/match.js +0 -8
  876. package/dist/node_modules/chardet/lib/match.js.map +0 -1
  877. package/dist/node_modules/chardet/lib/utils.d.ts +0 -1
  878. package/dist/node_modules/chardet/lib/utils.js +0 -10
  879. package/dist/node_modules/chardet/lib/utils.js.map +0 -1
  880. package/dist/node_modules/chardet/package.json +0 -96
  881. package/dist/node_modules/cli-boxes/boxes.json +0 -82
  882. package/dist/node_modules/cli-boxes/index.d.ts +0 -127
  883. package/dist/node_modules/cli-boxes/index.js +0 -6
  884. package/dist/node_modules/cli-boxes/license +0 -9
  885. package/dist/node_modules/cli-boxes/package.json +0 -42
  886. package/dist/node_modules/cli-boxes/readme.md +0 -115
  887. package/dist/node_modules/cli-width/LICENSE +0 -13
  888. package/dist/node_modules/cli-width/README.md +0 -71
  889. package/dist/node_modules/cli-width/index.d.ts +0 -13
  890. package/dist/node_modules/cli-width/index.js +0 -49
  891. package/dist/node_modules/cli-width/package.json +0 -40
  892. package/dist/node_modules/colorette/LICENSE.md +0 -7
  893. package/dist/node_modules/colorette/README.md +0 -134
  894. package/dist/node_modules/colorette/index.cjs +0 -218
  895. package/dist/node_modules/colorette/index.d.ts +0 -93
  896. package/dist/node_modules/colorette/index.js +0 -150
  897. package/dist/node_modules/colorette/package.json +0 -40
  898. package/dist/node_modules/commander/LICENSE +0 -22
  899. package/dist/node_modules/commander/Readme.md +0 -1172
  900. package/dist/node_modules/commander/index.js +0 -21
  901. package/dist/node_modules/commander/lib/argument.js +0 -147
  902. package/dist/node_modules/commander/lib/command.js +0 -2790
  903. package/dist/node_modules/commander/lib/error.js +0 -36
  904. package/dist/node_modules/commander/lib/help.js +0 -731
  905. package/dist/node_modules/commander/lib/option.js +0 -377
  906. package/dist/node_modules/commander/lib/suggestSimilar.js +0 -99
  907. package/dist/node_modules/commander/package-support.json +0 -19
  908. package/dist/node_modules/commander/package.json +0 -64
  909. package/dist/node_modules/commander/typings/index.d.ts +0 -1113
  910. package/dist/node_modules/consola/LICENSE +0 -47
  911. package/dist/node_modules/consola/README.md +0 -352
  912. package/dist/node_modules/consola/basic.d.ts +0 -1
  913. package/dist/node_modules/consola/browser.d.ts +0 -1
  914. package/dist/node_modules/consola/core.d.ts +0 -1
  915. package/dist/node_modules/consola/dist/basic.cjs +0 -32
  916. package/dist/node_modules/consola/dist/basic.d.cts +0 -23
  917. package/dist/node_modules/consola/dist/basic.d.mts +0 -21
  918. package/dist/node_modules/consola/dist/basic.d.ts +0 -23
  919. package/dist/node_modules/consola/dist/basic.mjs +0 -24
  920. package/dist/node_modules/consola/dist/browser.cjs +0 -84
  921. package/dist/node_modules/consola/dist/browser.d.cts +0 -23
  922. package/dist/node_modules/consola/dist/browser.d.mts +0 -21
  923. package/dist/node_modules/consola/dist/browser.d.ts +0 -23
  924. package/dist/node_modules/consola/dist/browser.mjs +0 -76
  925. package/dist/node_modules/consola/dist/chunks/prompt.cjs +0 -288
  926. package/dist/node_modules/consola/dist/chunks/prompt.mjs +0 -280
  927. package/dist/node_modules/consola/dist/core.cjs +0 -517
  928. package/dist/node_modules/consola/dist/core.d.cts +0 -459
  929. package/dist/node_modules/consola/dist/core.d.mts +0 -459
  930. package/dist/node_modules/consola/dist/core.d.ts +0 -459
  931. package/dist/node_modules/consola/dist/core.mjs +0 -512
  932. package/dist/node_modules/consola/dist/index.cjs +0 -663
  933. package/dist/node_modules/consola/dist/index.d.cts +0 -24
  934. package/dist/node_modules/consola/dist/index.d.mts +0 -22
  935. package/dist/node_modules/consola/dist/index.d.ts +0 -24
  936. package/dist/node_modules/consola/dist/index.mjs +0 -651
  937. package/dist/node_modules/consola/dist/shared/consola.DCGIlDNP.cjs +0 -75
  938. package/dist/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +0 -72
  939. package/dist/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +0 -288
  940. package/dist/node_modules/consola/dist/shared/consola.DwRq1yyg.cjs +0 -312
  941. package/dist/node_modules/consola/dist/utils.cjs +0 -64
  942. package/dist/node_modules/consola/dist/utils.d.cts +0 -286
  943. package/dist/node_modules/consola/dist/utils.d.mts +0 -286
  944. package/dist/node_modules/consola/dist/utils.d.ts +0 -286
  945. package/dist/node_modules/consola/dist/utils.mjs +0 -54
  946. package/dist/node_modules/consola/lib/index.cjs +0 -10
  947. package/dist/node_modules/consola/package.json +0 -136
  948. package/dist/node_modules/consola/utils.d.ts +0 -1
  949. package/dist/node_modules/debug/LICENSE +0 -20
  950. package/dist/node_modules/debug/README.md +0 -481
  951. package/dist/node_modules/debug/package.json +0 -64
  952. package/dist/node_modules/debug/src/browser.js +0 -272
  953. package/dist/node_modules/debug/src/common.js +0 -292
  954. package/dist/node_modules/debug/src/index.js +0 -10
  955. package/dist/node_modules/debug/src/node.js +0 -263
  956. package/dist/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  957. package/dist/node_modules/emoji-regex/README.md +0 -107
  958. package/dist/node_modules/emoji-regex/index.d.ts +0 -3
  959. package/dist/node_modules/emoji-regex/index.js +0 -4
  960. package/dist/node_modules/emoji-regex/index.mjs +0 -4
  961. package/dist/node_modules/emoji-regex/package.json +0 -45
  962. package/dist/node_modules/fast-deep-equal/LICENSE +0 -21
  963. package/dist/node_modules/fast-deep-equal/README.md +0 -96
  964. package/dist/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
  965. package/dist/node_modules/fast-deep-equal/es6/index.js +0 -72
  966. package/dist/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
  967. package/dist/node_modules/fast-deep-equal/es6/react.js +0 -79
  968. package/dist/node_modules/fast-deep-equal/index.d.ts +0 -4
  969. package/dist/node_modules/fast-deep-equal/index.js +0 -46
  970. package/dist/node_modules/fast-deep-equal/package.json +0 -61
  971. package/dist/node_modules/fast-deep-equal/react.d.ts +0 -2
  972. package/dist/node_modules/fast-deep-equal/react.js +0 -53
  973. package/dist/node_modules/fast-string-truncated-width/dist/index.d.ts +0 -4
  974. package/dist/node_modules/fast-string-truncated-width/dist/index.js +0 -111
  975. package/dist/node_modules/fast-string-truncated-width/dist/types.d.ts +0 -19
  976. package/dist/node_modules/fast-string-truncated-width/dist/types.js +0 -2
  977. package/dist/node_modules/fast-string-truncated-width/dist/utils.d.ts +0 -4
  978. package/dist/node_modules/fast-string-truncated-width/dist/utils.js +0 -20
  979. package/dist/node_modules/fast-string-truncated-width/license +0 -21
  980. package/dist/node_modules/fast-string-truncated-width/package.json +0 -35
  981. package/dist/node_modules/fast-string-truncated-width/readme.md +0 -59
  982. package/dist/node_modules/fast-string-width/dist/index.d.ts +0 -4
  983. package/dist/node_modules/fast-string-width/dist/index.js +0 -14
  984. package/dist/node_modules/fast-string-width/license +0 -21
  985. package/dist/node_modules/fast-string-width/package.json +0 -34
  986. package/dist/node_modules/fast-string-width/readme.md +0 -42
  987. package/dist/node_modules/fast-uri/.gitattributes +0 -2
  988. package/dist/node_modules/fast-uri/.github/dependabot.yml +0 -13
  989. package/dist/node_modules/fast-uri/.github/workflows/ci.yml +0 -106
  990. package/dist/node_modules/fast-uri/.github/workflows/lock-threads.yml +0 -19
  991. package/dist/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +0 -24
  992. package/dist/node_modules/fast-uri/LICENSE +0 -30
  993. package/dist/node_modules/fast-uri/README.md +0 -152
  994. package/dist/node_modules/fast-uri/benchmark/benchmark.mjs +0 -159
  995. package/dist/node_modules/fast-uri/benchmark/equal.mjs +0 -51
  996. package/dist/node_modules/fast-uri/benchmark/non-simple-domain.mjs +0 -22
  997. package/dist/node_modules/fast-uri/benchmark/package.json +0 -17
  998. package/dist/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +0 -24
  999. package/dist/node_modules/fast-uri/benchmark/ws-is-secure.mjs +0 -65
  1000. package/dist/node_modules/fast-uri/eslint.config.js +0 -6
  1001. package/dist/node_modules/fast-uri/index.js +0 -406
  1002. package/dist/node_modules/fast-uri/lib/schemes.js +0 -267
  1003. package/dist/node_modules/fast-uri/lib/utils.js +0 -443
  1004. package/dist/node_modules/fast-uri/package.json +0 -68
  1005. package/dist/node_modules/fast-uri/test/ajv.test.js +0 -43
  1006. package/dist/node_modules/fast-uri/test/equal.test.js +0 -117
  1007. package/dist/node_modules/fast-uri/test/fixtures/uri-js-parse.json +0 -501
  1008. package/dist/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +0 -120
  1009. package/dist/node_modules/fast-uri/test/parse.test.js +0 -323
  1010. package/dist/node_modules/fast-uri/test/resolve.test.js +0 -87
  1011. package/dist/node_modules/fast-uri/test/rfc-3986.test.js +0 -90
  1012. package/dist/node_modules/fast-uri/test/security-normalization.test.js +0 -39
  1013. package/dist/node_modules/fast-uri/test/security.test.js +0 -133
  1014. package/dist/node_modules/fast-uri/test/serialize.test.js +0 -151
  1015. package/dist/node_modules/fast-uri/test/uri-js-compatibility.test.js +0 -33
  1016. package/dist/node_modules/fast-uri/test/uri-js.test.js +0 -912
  1017. package/dist/node_modules/fast-uri/test/util.test.js +0 -38
  1018. package/dist/node_modules/fast-uri/tsconfig.json +0 -9
  1019. package/dist/node_modules/fast-uri/types/index.d.ts +0 -60
  1020. package/dist/node_modules/fast-uri/types/index.test-d.ts +0 -17
  1021. package/dist/node_modules/fast-wrap-ansi/LICENSE +0 -23
  1022. package/dist/node_modules/fast-wrap-ansi/README.md +0 -26
  1023. package/dist/node_modules/fast-wrap-ansi/lib/main.d.ts +0 -6
  1024. package/dist/node_modules/fast-wrap-ansi/lib/main.js +0 -218
  1025. package/dist/node_modules/fast-wrap-ansi/package.json +0 -51
  1026. package/dist/node_modules/fs-extra/LICENSE +0 -15
  1027. package/dist/node_modules/fs-extra/README.md +0 -294
  1028. package/dist/node_modules/fs-extra/lib/copy/copy-sync.js +0 -176
  1029. package/dist/node_modules/fs-extra/lib/copy/copy.js +0 -180
  1030. package/dist/node_modules/fs-extra/lib/copy/index.js +0 -7
  1031. package/dist/node_modules/fs-extra/lib/empty/index.js +0 -39
  1032. package/dist/node_modules/fs-extra/lib/ensure/file.js +0 -66
  1033. package/dist/node_modules/fs-extra/lib/ensure/index.js +0 -23
  1034. package/dist/node_modules/fs-extra/lib/ensure/link.js +0 -64
  1035. package/dist/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -101
  1036. package/dist/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -34
  1037. package/dist/node_modules/fs-extra/lib/ensure/symlink.js +0 -92
  1038. package/dist/node_modules/fs-extra/lib/esm.mjs +0 -68
  1039. package/dist/node_modules/fs-extra/lib/fs/index.js +0 -146
  1040. package/dist/node_modules/fs-extra/lib/index.js +0 -16
  1041. package/dist/node_modules/fs-extra/lib/json/index.js +0 -16
  1042. package/dist/node_modules/fs-extra/lib/json/jsonfile.js +0 -11
  1043. package/dist/node_modules/fs-extra/lib/json/output-json-sync.js +0 -12
  1044. package/dist/node_modules/fs-extra/lib/json/output-json.js +0 -12
  1045. package/dist/node_modules/fs-extra/lib/mkdirs/index.js +0 -14
  1046. package/dist/node_modules/fs-extra/lib/mkdirs/make-dir.js +0 -27
  1047. package/dist/node_modules/fs-extra/lib/mkdirs/utils.js +0 -21
  1048. package/dist/node_modules/fs-extra/lib/move/index.js +0 -7
  1049. package/dist/node_modules/fs-extra/lib/move/move-sync.js +0 -55
  1050. package/dist/node_modules/fs-extra/lib/move/move.js +0 -59
  1051. package/dist/node_modules/fs-extra/lib/output-file/index.js +0 -31
  1052. package/dist/node_modules/fs-extra/lib/path-exists/index.js +0 -12
  1053. package/dist/node_modules/fs-extra/lib/remove/index.js +0 -17
  1054. package/dist/node_modules/fs-extra/lib/util/async.js +0 -29
  1055. package/dist/node_modules/fs-extra/lib/util/stat.js +0 -159
  1056. package/dist/node_modules/fs-extra/lib/util/utimes.js +0 -53
  1057. package/dist/node_modules/fs-extra/package.json +0 -71
  1058. package/dist/node_modules/get-east-asian-width/index.d.ts +0 -60
  1059. package/dist/node_modules/get-east-asian-width/index.js +0 -30
  1060. package/dist/node_modules/get-east-asian-width/license +0 -9
  1061. package/dist/node_modules/get-east-asian-width/lookup-data.js +0 -21
  1062. package/dist/node_modules/get-east-asian-width/lookup.js +0 -138
  1063. package/dist/node_modules/get-east-asian-width/package.json +0 -71
  1064. package/dist/node_modules/get-east-asian-width/readme.md +0 -65
  1065. package/dist/node_modules/get-east-asian-width/utilities.js +0 -24
  1066. package/dist/node_modules/graceful-fs/LICENSE +0 -15
  1067. package/dist/node_modules/graceful-fs/README.md +0 -143
  1068. package/dist/node_modules/graceful-fs/clone.js +0 -23
  1069. package/dist/node_modules/graceful-fs/graceful-fs.js +0 -448
  1070. package/dist/node_modules/graceful-fs/legacy-streams.js +0 -118
  1071. package/dist/node_modules/graceful-fs/package.json +0 -53
  1072. package/dist/node_modules/graceful-fs/polyfills.js +0 -355
  1073. package/dist/node_modules/iconv-lite/LICENSE +0 -21
  1074. package/dist/node_modules/iconv-lite/README.md +0 -138
  1075. package/dist/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -532
  1076. package/dist/node_modules/iconv-lite/encodings/dbcs-data.js +0 -185
  1077. package/dist/node_modules/iconv-lite/encodings/index.js +0 -23
  1078. package/dist/node_modules/iconv-lite/encodings/internal.js +0 -218
  1079. package/dist/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -75
  1080. package/dist/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  1081. package/dist/node_modules/iconv-lite/encodings/sbcs-data.js +0 -178
  1082. package/dist/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  1083. package/dist/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  1084. package/dist/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  1085. package/dist/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  1086. package/dist/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  1087. package/dist/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  1088. package/dist/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
  1089. package/dist/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  1090. package/dist/node_modules/iconv-lite/encodings/utf16.js +0 -187
  1091. package/dist/node_modules/iconv-lite/encodings/utf32.js +0 -307
  1092. package/dist/node_modules/iconv-lite/encodings/utf7.js +0 -283
  1093. package/dist/node_modules/iconv-lite/lib/bom-handling.js +0 -48
  1094. package/dist/node_modules/iconv-lite/lib/helpers/merge-exports.js +0 -13
  1095. package/dist/node_modules/iconv-lite/lib/index.d.ts +0 -129
  1096. package/dist/node_modules/iconv-lite/lib/index.js +0 -182
  1097. package/dist/node_modules/iconv-lite/lib/streams.js +0 -105
  1098. package/dist/node_modules/iconv-lite/package.json +0 -70
  1099. package/dist/node_modules/iconv-lite/types/encodings.d.ts +0 -423
  1100. package/dist/node_modules/json-schema-traverse/.eslintrc.yml +0 -27
  1101. package/dist/node_modules/json-schema-traverse/.github/FUNDING.yml +0 -2
  1102. package/dist/node_modules/json-schema-traverse/.github/workflows/build.yml +0 -28
  1103. package/dist/node_modules/json-schema-traverse/.github/workflows/publish.yml +0 -27
  1104. package/dist/node_modules/json-schema-traverse/LICENSE +0 -21
  1105. package/dist/node_modules/json-schema-traverse/README.md +0 -95
  1106. package/dist/node_modules/json-schema-traverse/index.d.ts +0 -40
  1107. package/dist/node_modules/json-schema-traverse/index.js +0 -93
  1108. package/dist/node_modules/json-schema-traverse/package.json +0 -43
  1109. package/dist/node_modules/json-schema-traverse/spec/.eslintrc.yml +0 -6
  1110. package/dist/node_modules/json-schema-traverse/spec/fixtures/schema.js +0 -125
  1111. package/dist/node_modules/json-schema-traverse/spec/index.spec.js +0 -171
  1112. package/dist/node_modules/jsonfile/LICENSE +0 -15
  1113. package/dist/node_modules/jsonfile/README.md +0 -230
  1114. package/dist/node_modules/jsonfile/index.js +0 -88
  1115. package/dist/node_modules/jsonfile/package.json +0 -40
  1116. package/dist/node_modules/jsonfile/utils.js +0 -18
  1117. package/dist/node_modules/ms/index.js +0 -162
  1118. package/dist/node_modules/ms/license.md +0 -21
  1119. package/dist/node_modules/ms/package.json +0 -38
  1120. package/dist/node_modules/ms/readme.md +0 -59
  1121. package/dist/node_modules/mute-stream/LICENSE +0 -15
  1122. package/dist/node_modules/mute-stream/README.md +0 -68
  1123. package/dist/node_modules/mute-stream/lib/index.js +0 -142
  1124. package/dist/node_modules/mute-stream/package.json +0 -54
  1125. package/dist/node_modules/progress/CHANGELOG.md +0 -115
  1126. package/dist/node_modules/progress/LICENSE +0 -22
  1127. package/dist/node_modules/progress/Makefile +0 -8
  1128. package/dist/node_modules/progress/Readme.md +0 -146
  1129. package/dist/node_modules/progress/index.js +0 -1
  1130. package/dist/node_modules/progress/lib/node-progress.js +0 -236
  1131. package/dist/node_modules/progress/package.json +0 -26
  1132. package/dist/node_modules/require-from-string/index.js +0 -34
  1133. package/dist/node_modules/require-from-string/license +0 -21
  1134. package/dist/node_modules/require-from-string/package.json +0 -28
  1135. package/dist/node_modules/require-from-string/readme.md +0 -56
  1136. package/dist/node_modules/safer-buffer/LICENSE +0 -21
  1137. package/dist/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  1138. package/dist/node_modules/safer-buffer/Readme.md +0 -156
  1139. package/dist/node_modules/safer-buffer/dangerous.js +0 -58
  1140. package/dist/node_modules/safer-buffer/package.json +0 -34
  1141. package/dist/node_modules/safer-buffer/safer.js +0 -77
  1142. package/dist/node_modules/safer-buffer/tests.js +0 -406
  1143. package/dist/node_modules/signal-exit/LICENSE.txt +0 -16
  1144. package/dist/node_modules/signal-exit/README.md +0 -74
  1145. package/dist/node_modules/signal-exit/dist/cjs/browser.d.ts +0 -12
  1146. package/dist/node_modules/signal-exit/dist/cjs/browser.d.ts.map +0 -1
  1147. package/dist/node_modules/signal-exit/dist/cjs/browser.js +0 -10
  1148. package/dist/node_modules/signal-exit/dist/cjs/browser.js.map +0 -1
  1149. package/dist/node_modules/signal-exit/dist/cjs/index.d.ts +0 -48
  1150. package/dist/node_modules/signal-exit/dist/cjs/index.d.ts.map +0 -1
  1151. package/dist/node_modules/signal-exit/dist/cjs/index.js +0 -279
  1152. package/dist/node_modules/signal-exit/dist/cjs/index.js.map +0 -1
  1153. package/dist/node_modules/signal-exit/dist/cjs/package.json +0 -3
  1154. package/dist/node_modules/signal-exit/dist/cjs/signals.d.ts +0 -29
  1155. package/dist/node_modules/signal-exit/dist/cjs/signals.d.ts.map +0 -1
  1156. package/dist/node_modules/signal-exit/dist/cjs/signals.js +0 -42
  1157. package/dist/node_modules/signal-exit/dist/cjs/signals.js.map +0 -1
  1158. package/dist/node_modules/signal-exit/dist/mjs/browser.d.ts +0 -12
  1159. package/dist/node_modules/signal-exit/dist/mjs/browser.d.ts.map +0 -1
  1160. package/dist/node_modules/signal-exit/dist/mjs/browser.js +0 -4
  1161. package/dist/node_modules/signal-exit/dist/mjs/browser.js.map +0 -1
  1162. package/dist/node_modules/signal-exit/dist/mjs/index.d.ts +0 -48
  1163. package/dist/node_modules/signal-exit/dist/mjs/index.d.ts.map +0 -1
  1164. package/dist/node_modules/signal-exit/dist/mjs/index.js +0 -275
  1165. package/dist/node_modules/signal-exit/dist/mjs/index.js.map +0 -1
  1166. package/dist/node_modules/signal-exit/dist/mjs/package.json +0 -3
  1167. package/dist/node_modules/signal-exit/dist/mjs/signals.d.ts +0 -29
  1168. package/dist/node_modules/signal-exit/dist/mjs/signals.d.ts.map +0 -1
  1169. package/dist/node_modules/signal-exit/dist/mjs/signals.js +0 -39
  1170. package/dist/node_modules/signal-exit/dist/mjs/signals.js.map +0 -1
  1171. package/dist/node_modules/signal-exit/package.json +0 -106
  1172. package/dist/node_modules/simple-git/dist/cjs/index.js +0 -4898
  1173. package/dist/node_modules/simple-git/dist/cjs/index.js.map +0 -7
  1174. package/dist/node_modules/simple-git/dist/esm/index.js +0 -4745
  1175. package/dist/node_modules/simple-git/dist/esm/index.js.map +0 -7
  1176. package/dist/node_modules/simple-git/dist/esm/package.json +0 -3
  1177. package/dist/node_modules/simple-git/dist/src/lib/api.d.ts +0 -13
  1178. package/dist/node_modules/simple-git/dist/src/lib/args/log-format.d.ts +0 -9
  1179. package/dist/node_modules/simple-git/dist/src/lib/errors/git-construct-error.d.ts +0 -15
  1180. package/dist/node_modules/simple-git/dist/src/lib/errors/git-error.d.ts +0 -30
  1181. package/dist/node_modules/simple-git/dist/src/lib/errors/git-plugin-error.d.ts +0 -7
  1182. package/dist/node_modules/simple-git/dist/src/lib/errors/git-response-error.d.ts +0 -32
  1183. package/dist/node_modules/simple-git/dist/src/lib/errors/task-configuration-error.d.ts +0 -12
  1184. package/dist/node_modules/simple-git/dist/src/lib/git-factory.d.ts +0 -15
  1185. package/dist/node_modules/simple-git/dist/src/lib/git-logger.d.ts +0 -21
  1186. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-branch-delete.d.ts +0 -5
  1187. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-branch.d.ts +0 -2
  1188. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-commit.d.ts +0 -2
  1189. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-diff-summary.d.ts +0 -3
  1190. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-fetch.d.ts +0 -2
  1191. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-list-log-summary.d.ts +0 -6
  1192. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-merge.d.ts +0 -11
  1193. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-move.d.ts +0 -2
  1194. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-pull.d.ts +0 -6
  1195. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-push.d.ts +0 -4
  1196. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-remote-messages.d.ts +0 -5
  1197. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-remote-objects.d.ts +0 -3
  1198. package/dist/node_modules/simple-git/dist/src/lib/plugins/abort-plugin.d.ts +0 -3
  1199. package/dist/node_modules/simple-git/dist/src/lib/plugins/block-unsafe-operations-plugin.d.ts +0 -3
  1200. package/dist/node_modules/simple-git/dist/src/lib/plugins/command-config-prefixing-plugin.d.ts +0 -2
  1201. package/dist/node_modules/simple-git/dist/src/lib/plugins/completion-detection.plugin.d.ts +0 -3
  1202. package/dist/node_modules/simple-git/dist/src/lib/plugins/custom-binary.plugin.d.ts +0 -3
  1203. package/dist/node_modules/simple-git/dist/src/lib/plugins/error-detection.plugin.d.ts +0 -7
  1204. package/dist/node_modules/simple-git/dist/src/lib/plugins/index.d.ts +0 -11
  1205. package/dist/node_modules/simple-git/dist/src/lib/plugins/plugin-store.d.ts +0 -11
  1206. package/dist/node_modules/simple-git/dist/src/lib/plugins/progress-monitor-plugin.d.ts +0 -3
  1207. package/dist/node_modules/simple-git/dist/src/lib/plugins/simple-git-plugin.d.ts +0 -48
  1208. package/dist/node_modules/simple-git/dist/src/lib/plugins/spawn-options-plugin.d.ts +0 -3
  1209. package/dist/node_modules/simple-git/dist/src/lib/plugins/suffix-paths.plugin.d.ts +0 -2
  1210. package/dist/node_modules/simple-git/dist/src/lib/plugins/timout-plugin.d.ts +0 -3
  1211. package/dist/node_modules/simple-git/dist/src/lib/responses/BranchDeleteSummary.d.ts +0 -12
  1212. package/dist/node_modules/simple-git/dist/src/lib/responses/BranchSummary.d.ts +0 -14
  1213. package/dist/node_modules/simple-git/dist/src/lib/responses/CheckIgnore.d.ts +0 -4
  1214. package/dist/node_modules/simple-git/dist/src/lib/responses/CleanSummary.d.ts +0 -9
  1215. package/dist/node_modules/simple-git/dist/src/lib/responses/ConfigList.d.ts +0 -13
  1216. package/dist/node_modules/simple-git/dist/src/lib/responses/DiffSummary.d.ts +0 -10
  1217. package/dist/node_modules/simple-git/dist/src/lib/responses/FileStatusSummary.d.ts +0 -9
  1218. package/dist/node_modules/simple-git/dist/src/lib/responses/GetRemoteSummary.d.ts +0 -11
  1219. package/dist/node_modules/simple-git/dist/src/lib/responses/InitSummary.d.ts +0 -9
  1220. package/dist/node_modules/simple-git/dist/src/lib/responses/MergeSummary.d.ts +0 -16
  1221. package/dist/node_modules/simple-git/dist/src/lib/responses/PullSummary.d.ts +0 -25
  1222. package/dist/node_modules/simple-git/dist/src/lib/responses/StatusSummary.d.ts +0 -19
  1223. package/dist/node_modules/simple-git/dist/src/lib/responses/TagList.d.ts +0 -7
  1224. package/dist/node_modules/simple-git/dist/src/lib/runners/git-executor-chain.d.ts +0 -25
  1225. package/dist/node_modules/simple-git/dist/src/lib/runners/git-executor.d.ts +0 -14
  1226. package/dist/node_modules/simple-git/dist/src/lib/runners/promise-wrapped.d.ts +0 -2
  1227. package/dist/node_modules/simple-git/dist/src/lib/runners/scheduler.d.ts +0 -11
  1228. package/dist/node_modules/simple-git/dist/src/lib/runners/tasks-pending-queue.d.ts +0 -23
  1229. package/dist/node_modules/simple-git/dist/src/lib/simple-git-api.d.ts +0 -20
  1230. package/dist/node_modules/simple-git/dist/src/lib/task-callback.d.ts +0 -2
  1231. package/dist/node_modules/simple-git/dist/src/lib/tasks/apply-patch.d.ts +0 -3
  1232. package/dist/node_modules/simple-git/dist/src/lib/tasks/branch.d.ts +0 -7
  1233. package/dist/node_modules/simple-git/dist/src/lib/tasks/change-working-directory.d.ts +0 -2
  1234. package/dist/node_modules/simple-git/dist/src/lib/tasks/check-ignore.d.ts +0 -2
  1235. package/dist/node_modules/simple-git/dist/src/lib/tasks/check-is-repo.d.ts +0 -9
  1236. package/dist/node_modules/simple-git/dist/src/lib/tasks/checkout.d.ts +0 -2
  1237. package/dist/node_modules/simple-git/dist/src/lib/tasks/clean.d.ts +0 -25
  1238. package/dist/node_modules/simple-git/dist/src/lib/tasks/clone.d.ts +0 -9
  1239. package/dist/node_modules/simple-git/dist/src/lib/tasks/commit.d.ts +0 -4
  1240. package/dist/node_modules/simple-git/dist/src/lib/tasks/config.d.ts +0 -8
  1241. package/dist/node_modules/simple-git/dist/src/lib/tasks/count-objects.d.ts +0 -12
  1242. package/dist/node_modules/simple-git/dist/src/lib/tasks/diff-name-status.d.ts +0 -12
  1243. package/dist/node_modules/simple-git/dist/src/lib/tasks/diff.d.ts +0 -5
  1244. package/dist/node_modules/simple-git/dist/src/lib/tasks/fetch.d.ts +0 -4
  1245. package/dist/node_modules/simple-git/dist/src/lib/tasks/first-commit.d.ts +0 -2
  1246. package/dist/node_modules/simple-git/dist/src/lib/tasks/grep.d.ts +0 -12
  1247. package/dist/node_modules/simple-git/dist/src/lib/tasks/hash-object.d.ts +0 -5
  1248. package/dist/node_modules/simple-git/dist/src/lib/tasks/init.d.ts +0 -3
  1249. package/dist/node_modules/simple-git/dist/src/lib/tasks/log.d.ts +0 -32
  1250. package/dist/node_modules/simple-git/dist/src/lib/tasks/merge.d.ts +0 -4
  1251. package/dist/node_modules/simple-git/dist/src/lib/tasks/move.d.ts +0 -3
  1252. package/dist/node_modules/simple-git/dist/src/lib/tasks/pull.d.ts +0 -3
  1253. package/dist/node_modules/simple-git/dist/src/lib/tasks/push.d.ts +0 -9
  1254. package/dist/node_modules/simple-git/dist/src/lib/tasks/remote.d.ts +0 -8
  1255. package/dist/node_modules/simple-git/dist/src/lib/tasks/reset.d.ts +0 -11
  1256. package/dist/node_modules/simple-git/dist/src/lib/tasks/show.d.ts +0 -2
  1257. package/dist/node_modules/simple-git/dist/src/lib/tasks/stash-list.d.ts +0 -4
  1258. package/dist/node_modules/simple-git/dist/src/lib/tasks/status.d.ts +0 -3
  1259. package/dist/node_modules/simple-git/dist/src/lib/tasks/sub-module.d.ts +0 -5
  1260. package/dist/node_modules/simple-git/dist/src/lib/tasks/tag.d.ts +0 -18
  1261. package/dist/node_modules/simple-git/dist/src/lib/tasks/task.d.ts +0 -14
  1262. package/dist/node_modules/simple-git/dist/src/lib/tasks/version.d.ts +0 -9
  1263. package/dist/node_modules/simple-git/dist/src/lib/types/handlers.d.ts +0 -21
  1264. package/dist/node_modules/simple-git/dist/src/lib/types/index.d.ts +0 -136
  1265. package/dist/node_modules/simple-git/dist/src/lib/types/tasks.d.ts +0 -19
  1266. package/dist/node_modules/simple-git/dist/src/lib/utils/argument-filters.d.ts +0 -14
  1267. package/dist/node_modules/simple-git/dist/src/lib/utils/exit-codes.d.ts +0 -10
  1268. package/dist/node_modules/simple-git/dist/src/lib/utils/git-output-streams.d.ts +0 -7
  1269. package/dist/node_modules/simple-git/dist/src/lib/utils/index.d.ts +0 -8
  1270. package/dist/node_modules/simple-git/dist/src/lib/utils/line-parser.d.ts +0 -15
  1271. package/dist/node_modules/simple-git/dist/src/lib/utils/simple-git-options.d.ts +0 -2
  1272. package/dist/node_modules/simple-git/dist/src/lib/utils/task-options.d.ts +0 -13
  1273. package/dist/node_modules/simple-git/dist/src/lib/utils/task-parser.d.ts +0 -5
  1274. package/dist/node_modules/simple-git/dist/src/lib/utils/util.d.ts +0 -47
  1275. package/dist/node_modules/simple-git/dist/typings/errors.d.ts +0 -5
  1276. package/dist/node_modules/simple-git/dist/typings/index.d.ts +0 -14
  1277. package/dist/node_modules/simple-git/dist/typings/response.d.ts +0 -556
  1278. package/dist/node_modules/simple-git/dist/typings/simple-git.d.ts +0 -1033
  1279. package/dist/node_modules/simple-git/dist/typings/types.d.ts +0 -22
  1280. package/dist/node_modules/simple-git/package.json +0 -51
  1281. package/dist/node_modules/simple-git/promise.js +0 -17
  1282. package/dist/node_modules/simple-git/readme.md +0 -851
  1283. package/dist/node_modules/string-width/index.d.ts +0 -39
  1284. package/dist/node_modules/string-width/index.js +0 -82
  1285. package/dist/node_modules/string-width/license +0 -9
  1286. package/dist/node_modules/string-width/package.json +0 -64
  1287. package/dist/node_modules/string-width/readme.md +0 -66
  1288. package/dist/node_modules/strip-ansi/index.d.ts +0 -15
  1289. package/dist/node_modules/strip-ansi/index.js +0 -19
  1290. package/dist/node_modules/strip-ansi/license +0 -9
  1291. package/dist/node_modules/strip-ansi/package.json +0 -59
  1292. package/dist/node_modules/strip-ansi/readme.md +0 -37
  1293. package/dist/node_modules/type-fest/index.d.ts +0 -178
  1294. package/dist/node_modules/type-fest/license-cc0 +0 -121
  1295. package/dist/node_modules/type-fest/license-mit +0 -9
  1296. package/dist/node_modules/type-fest/package.json +0 -91
  1297. package/dist/node_modules/type-fest/readme.md +0 -1060
  1298. package/dist/node_modules/type-fest/source/all-union-fields.d.ts +0 -88
  1299. package/dist/node_modules/type-fest/source/and.d.ts +0 -25
  1300. package/dist/node_modules/type-fest/source/array-indices.d.ts +0 -23
  1301. package/dist/node_modules/type-fest/source/array-slice.d.ts +0 -109
  1302. package/dist/node_modules/type-fest/source/array-splice.d.ts +0 -99
  1303. package/dist/node_modules/type-fest/source/array-tail.d.ts +0 -76
  1304. package/dist/node_modules/type-fest/source/array-values.d.ts +0 -22
  1305. package/dist/node_modules/type-fest/source/arrayable.d.ts +0 -29
  1306. package/dist/node_modules/type-fest/source/async-return-type.d.ts +0 -23
  1307. package/dist/node_modules/type-fest/source/asyncify.d.ts +0 -32
  1308. package/dist/node_modules/type-fest/source/basic.d.ts +0 -68
  1309. package/dist/node_modules/type-fest/source/camel-case.d.ts +0 -89
  1310. package/dist/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +0 -97
  1311. package/dist/node_modules/type-fest/source/camel-cased-properties.d.ts +0 -43
  1312. package/dist/node_modules/type-fest/source/conditional-except.d.ts +0 -45
  1313. package/dist/node_modules/type-fest/source/conditional-keys.d.ts +0 -47
  1314. package/dist/node_modules/type-fest/source/conditional-pick-deep.d.ts +0 -118
  1315. package/dist/node_modules/type-fest/source/conditional-pick.d.ts +0 -44
  1316. package/dist/node_modules/type-fest/source/conditional-simplify.d.ts +0 -32
  1317. package/dist/node_modules/type-fest/source/delimiter-case.d.ts +0 -78
  1318. package/dist/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +0 -106
  1319. package/dist/node_modules/type-fest/source/delimiter-cased-properties.d.ts +0 -46
  1320. package/dist/node_modules/type-fest/source/distributed-omit.d.ts +0 -89
  1321. package/dist/node_modules/type-fest/source/distributed-pick.d.ts +0 -85
  1322. package/dist/node_modules/type-fest/source/empty-object.d.ts +0 -46
  1323. package/dist/node_modules/type-fest/source/enforce-optional.d.ts +0 -47
  1324. package/dist/node_modules/type-fest/source/entries.d.ts +0 -62
  1325. package/dist/node_modules/type-fest/source/entry.d.ts +0 -65
  1326. package/dist/node_modules/type-fest/source/exact.d.ts +0 -68
  1327. package/dist/node_modules/type-fest/source/except.d.ts +0 -108
  1328. package/dist/node_modules/type-fest/source/find-global-type.d.ts +0 -64
  1329. package/dist/node_modules/type-fest/source/fixed-length-array.d.ts +0 -43
  1330. package/dist/node_modules/type-fest/source/get.d.ts +0 -219
  1331. package/dist/node_modules/type-fest/source/global-this.d.ts +0 -21
  1332. package/dist/node_modules/type-fest/source/greater-than-or-equal.d.ts +0 -22
  1333. package/dist/node_modules/type-fest/source/greater-than.d.ts +0 -56
  1334. package/dist/node_modules/type-fest/source/has-optional-keys.d.ts +0 -21
  1335. package/dist/node_modules/type-fest/source/has-readonly-keys.d.ts +0 -21
  1336. package/dist/node_modules/type-fest/source/has-required-keys.d.ts +0 -59
  1337. package/dist/node_modules/type-fest/source/has-writable-keys.d.ts +0 -21
  1338. package/dist/node_modules/type-fest/source/if-any.d.ts +0 -24
  1339. package/dist/node_modules/type-fest/source/if-empty-object.d.ts +0 -26
  1340. package/dist/node_modules/type-fest/source/if-never.d.ts +0 -24
  1341. package/dist/node_modules/type-fest/source/if-null.d.ts +0 -24
  1342. package/dist/node_modules/type-fest/source/if-unknown.d.ts +0 -24
  1343. package/dist/node_modules/type-fest/source/includes.d.ts +0 -22
  1344. package/dist/node_modules/type-fest/source/int-closed-range.d.ts +0 -35
  1345. package/dist/node_modules/type-fest/source/int-range.d.ts +0 -55
  1346. package/dist/node_modules/type-fest/source/internal/array.d.ts +0 -126
  1347. package/dist/node_modules/type-fest/source/internal/characters.d.ts +0 -67
  1348. package/dist/node_modules/type-fest/source/internal/index.d.ts +0 -8
  1349. package/dist/node_modules/type-fest/source/internal/keys.d.ts +0 -97
  1350. package/dist/node_modules/type-fest/source/internal/numeric.d.ts +0 -118
  1351. package/dist/node_modules/type-fest/source/internal/object.d.ts +0 -236
  1352. package/dist/node_modules/type-fest/source/internal/string.d.ts +0 -210
  1353. package/dist/node_modules/type-fest/source/internal/tuple.d.ts +0 -90
  1354. package/dist/node_modules/type-fest/source/internal/type.d.ts +0 -139
  1355. package/dist/node_modules/type-fest/source/invariant-of.d.ts +0 -76
  1356. package/dist/node_modules/type-fest/source/is-any.d.ts +0 -33
  1357. package/dist/node_modules/type-fest/source/is-equal.d.ts +0 -31
  1358. package/dist/node_modules/type-fest/source/is-float.d.ts +0 -41
  1359. package/dist/node_modules/type-fest/source/is-integer.d.ts +0 -58
  1360. package/dist/node_modules/type-fest/source/is-literal.d.ts +0 -296
  1361. package/dist/node_modules/type-fest/source/is-never.d.ts +0 -42
  1362. package/dist/node_modules/type-fest/source/is-null.d.ts +0 -20
  1363. package/dist/node_modules/type-fest/source/is-tuple.d.ts +0 -89
  1364. package/dist/node_modules/type-fest/source/is-unknown.d.ts +0 -52
  1365. package/dist/node_modules/type-fest/source/iterable-element.d.ts +0 -64
  1366. package/dist/node_modules/type-fest/source/join.d.ts +0 -68
  1367. package/dist/node_modules/type-fest/source/jsonifiable.d.ts +0 -37
  1368. package/dist/node_modules/type-fest/source/jsonify.d.ts +0 -122
  1369. package/dist/node_modules/type-fest/source/kebab-case.d.ts +0 -44
  1370. package/dist/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +0 -63
  1371. package/dist/node_modules/type-fest/source/kebab-cased-properties.d.ts +0 -40
  1372. package/dist/node_modules/type-fest/source/keys-of-union.d.ts +0 -42
  1373. package/dist/node_modules/type-fest/source/last-array-element.d.ts +0 -38
  1374. package/dist/node_modules/type-fest/source/less-than-or-equal.d.ts +0 -22
  1375. package/dist/node_modules/type-fest/source/less-than.d.ts +0 -26
  1376. package/dist/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +0 -36
  1377. package/dist/node_modules/type-fest/source/literal-to-primitive.d.ts +0 -36
  1378. package/dist/node_modules/type-fest/source/literal-union.d.ts +0 -37
  1379. package/dist/node_modules/type-fest/source/merge-deep.d.ts +0 -486
  1380. package/dist/node_modules/type-fest/source/merge-exclusive.d.ts +0 -41
  1381. package/dist/node_modules/type-fest/source/merge.d.ts +0 -48
  1382. package/dist/node_modules/type-fest/source/multidimensional-array.d.ts +0 -44
  1383. package/dist/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +0 -48
  1384. package/dist/node_modules/type-fest/source/non-empty-object.d.ts +0 -35
  1385. package/dist/node_modules/type-fest/source/non-empty-string.d.ts +0 -28
  1386. package/dist/node_modules/type-fest/source/non-empty-tuple.d.ts +0 -21
  1387. package/dist/node_modules/type-fest/source/numeric.d.ts +0 -222
  1388. package/dist/node_modules/type-fest/source/observable-like.d.ts +0 -63
  1389. package/dist/node_modules/type-fest/source/omit-deep.d.ts +0 -167
  1390. package/dist/node_modules/type-fest/source/omit-index-signature.d.ts +0 -95
  1391. package/dist/node_modules/type-fest/source/opaque.d.ts +0 -1
  1392. package/dist/node_modules/type-fest/source/optional-keys-of.d.ts +0 -39
  1393. package/dist/node_modules/type-fest/source/or.d.ts +0 -25
  1394. package/dist/node_modules/type-fest/source/override-properties.d.ts +0 -36
  1395. package/dist/node_modules/type-fest/source/package-json.d.ts +0 -676
  1396. package/dist/node_modules/type-fest/source/partial-deep.d.ts +0 -151
  1397. package/dist/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +0 -78
  1398. package/dist/node_modules/type-fest/source/pascal-case.d.ts +0 -42
  1399. package/dist/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +0 -62
  1400. package/dist/node_modules/type-fest/source/pascal-cased-properties.d.ts +0 -36
  1401. package/dist/node_modules/type-fest/source/paths.d.ts +0 -262
  1402. package/dist/node_modules/type-fest/source/pick-deep.d.ts +0 -149
  1403. package/dist/node_modules/type-fest/source/pick-index-signature.d.ts +0 -50
  1404. package/dist/node_modules/type-fest/source/primitive.d.ts +0 -13
  1405. package/dist/node_modules/type-fest/source/promisable.d.ts +0 -25
  1406. package/dist/node_modules/type-fest/source/readonly-deep.d.ts +0 -81
  1407. package/dist/node_modules/type-fest/source/readonly-keys-of.d.ts +0 -30
  1408. package/dist/node_modules/type-fest/source/readonly-tuple.d.ts +0 -41
  1409. package/dist/node_modules/type-fest/source/replace.d.ts +0 -85
  1410. package/dist/node_modules/type-fest/source/require-all-or-none.d.ts +0 -51
  1411. package/dist/node_modules/type-fest/source/require-at-least-one.d.ts +0 -47
  1412. package/dist/node_modules/type-fest/source/require-exactly-one.d.ts +0 -45
  1413. package/dist/node_modules/type-fest/source/require-one-or-none.d.ts +0 -46
  1414. package/dist/node_modules/type-fest/source/required-deep.d.ts +0 -78
  1415. package/dist/node_modules/type-fest/source/required-keys-of.d.ts +0 -30
  1416. package/dist/node_modules/type-fest/source/schema.d.ts +0 -114
  1417. package/dist/node_modules/type-fest/source/screaming-snake-case.d.ts +0 -28
  1418. package/dist/node_modules/type-fest/source/set-field-type.d.ts +0 -65
  1419. package/dist/node_modules/type-fest/source/set-non-nullable-deep.d.ts +0 -83
  1420. package/dist/node_modules/type-fest/source/set-non-nullable.d.ts +0 -39
  1421. package/dist/node_modules/type-fest/source/set-optional.d.ts +0 -38
  1422. package/dist/node_modules/type-fest/source/set-parameter-type.d.ts +0 -117
  1423. package/dist/node_modules/type-fest/source/set-readonly.d.ts +0 -39
  1424. package/dist/node_modules/type-fest/source/set-required-deep.d.ts +0 -68
  1425. package/dist/node_modules/type-fest/source/set-required.d.ts +0 -70
  1426. package/dist/node_modules/type-fest/source/set-return-type.d.ts +0 -29
  1427. package/dist/node_modules/type-fest/source/shared-union-fields-deep.d.ts +0 -178
  1428. package/dist/node_modules/type-fest/source/shared-union-fields.d.ts +0 -76
  1429. package/dist/node_modules/type-fest/source/simplify-deep.d.ts +0 -115
  1430. package/dist/node_modules/type-fest/source/simplify.d.ts +0 -58
  1431. package/dist/node_modules/type-fest/source/single-key-object.d.ts +0 -29
  1432. package/dist/node_modules/type-fest/source/snake-case.d.ts +0 -45
  1433. package/dist/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +0 -63
  1434. package/dist/node_modules/type-fest/source/snake-cased-properties.d.ts +0 -40
  1435. package/dist/node_modules/type-fest/source/split.d.ts +0 -88
  1436. package/dist/node_modules/type-fest/source/spread.d.ts +0 -84
  1437. package/dist/node_modules/type-fest/source/string-key-of.d.ts +0 -25
  1438. package/dist/node_modules/type-fest/source/string-repeat.d.ts +0 -47
  1439. package/dist/node_modules/type-fest/source/string-slice.d.ts +0 -37
  1440. package/dist/node_modules/type-fest/source/stringified.d.ts +0 -23
  1441. package/dist/node_modules/type-fest/source/structured-cloneable.d.ts +0 -92
  1442. package/dist/node_modules/type-fest/source/subtract.d.ts +0 -83
  1443. package/dist/node_modules/type-fest/source/sum.d.ts +0 -78
  1444. package/dist/node_modules/type-fest/source/tagged-union.d.ts +0 -51
  1445. package/dist/node_modules/type-fest/source/tagged.d.ts +0 -256
  1446. package/dist/node_modules/type-fest/source/trim.d.ts +0 -27
  1447. package/dist/node_modules/type-fest/source/tsconfig-json.d.ts +0 -1294
  1448. package/dist/node_modules/type-fest/source/tuple-to-object.d.ts +0 -42
  1449. package/dist/node_modules/type-fest/source/tuple-to-union.d.ts +0 -51
  1450. package/dist/node_modules/type-fest/source/typed-array.d.ts +0 -17
  1451. package/dist/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +0 -80
  1452. package/dist/node_modules/type-fest/source/union-to-intersection.d.ts +0 -61
  1453. package/dist/node_modules/type-fest/source/union-to-tuple.d.ts +0 -56
  1454. package/dist/node_modules/type-fest/source/unknown-array.d.ts +0 -25
  1455. package/dist/node_modules/type-fest/source/unknown-map.d.ts +0 -24
  1456. package/dist/node_modules/type-fest/source/unknown-record.d.ts +0 -31
  1457. package/dist/node_modules/type-fest/source/unknown-set.d.ts +0 -24
  1458. package/dist/node_modules/type-fest/source/value-of.d.ts +0 -42
  1459. package/dist/node_modules/type-fest/source/words.d.ts +0 -118
  1460. package/dist/node_modules/type-fest/source/writable-deep.d.ts +0 -83
  1461. package/dist/node_modules/type-fest/source/writable-keys-of.d.ts +0 -33
  1462. package/dist/node_modules/type-fest/source/writable.d.ts +0 -68
  1463. package/dist/node_modules/undici-types/LICENSE +0 -21
  1464. package/dist/node_modules/undici-types/README.md +0 -6
  1465. package/dist/node_modules/undici-types/agent.d.ts +0 -32
  1466. package/dist/node_modules/undici-types/api.d.ts +0 -43
  1467. package/dist/node_modules/undici-types/balanced-pool.d.ts +0 -30
  1468. package/dist/node_modules/undici-types/cache-interceptor.d.ts +0 -179
  1469. package/dist/node_modules/undici-types/cache.d.ts +0 -36
  1470. package/dist/node_modules/undici-types/client-stats.d.ts +0 -15
  1471. package/dist/node_modules/undici-types/client.d.ts +0 -123
  1472. package/dist/node_modules/undici-types/connector.d.ts +0 -36
  1473. package/dist/node_modules/undici-types/content-type.d.ts +0 -21
  1474. package/dist/node_modules/undici-types/cookies.d.ts +0 -30
  1475. package/dist/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
  1476. package/dist/node_modules/undici-types/dispatcher.d.ts +0 -279
  1477. package/dist/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
  1478. package/dist/node_modules/undici-types/errors.d.ts +0 -177
  1479. package/dist/node_modules/undici-types/eventsource.d.ts +0 -66
  1480. package/dist/node_modules/undici-types/fetch.d.ts +0 -211
  1481. package/dist/node_modules/undici-types/formdata.d.ts +0 -108
  1482. package/dist/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  1483. package/dist/node_modules/undici-types/global-origin.d.ts +0 -7
  1484. package/dist/node_modules/undici-types/h2c-client.d.ts +0 -73
  1485. package/dist/node_modules/undici-types/handlers.d.ts +0 -15
  1486. package/dist/node_modules/undici-types/header.d.ts +0 -160
  1487. package/dist/node_modules/undici-types/index.d.ts +0 -91
  1488. package/dist/node_modules/undici-types/interceptors.d.ts +0 -80
  1489. package/dist/node_modules/undici-types/mock-agent.d.ts +0 -68
  1490. package/dist/node_modules/undici-types/mock-call-history.d.ts +0 -111
  1491. package/dist/node_modules/undici-types/mock-client.d.ts +0 -27
  1492. package/dist/node_modules/undici-types/mock-errors.d.ts +0 -12
  1493. package/dist/node_modules/undici-types/mock-interceptor.d.ts +0 -94
  1494. package/dist/node_modules/undici-types/mock-pool.d.ts +0 -27
  1495. package/dist/node_modules/undici-types/package.json +0 -55
  1496. package/dist/node_modules/undici-types/patch.d.ts +0 -29
  1497. package/dist/node_modules/undici-types/pool-stats.d.ts +0 -19
  1498. package/dist/node_modules/undici-types/pool.d.ts +0 -41
  1499. package/dist/node_modules/undici-types/proxy-agent.d.ts +0 -29
  1500. package/dist/node_modules/undici-types/readable.d.ts +0 -68
  1501. package/dist/node_modules/undici-types/retry-agent.d.ts +0 -8
  1502. package/dist/node_modules/undici-types/retry-handler.d.ts +0 -125
  1503. package/dist/node_modules/undici-types/round-robin-pool.d.ts +0 -41
  1504. package/dist/node_modules/undici-types/snapshot-agent.d.ts +0 -109
  1505. package/dist/node_modules/undici-types/socks5-proxy-agent.d.ts +0 -25
  1506. package/dist/node_modules/undici-types/util.d.ts +0 -18
  1507. package/dist/node_modules/undici-types/utility.d.ts +0 -7
  1508. package/dist/node_modules/undici-types/webidl.d.ts +0 -347
  1509. package/dist/node_modules/undici-types/websocket.d.ts +0 -188
  1510. package/dist/node_modules/universalify/LICENSE +0 -20
  1511. package/dist/node_modules/universalify/README.md +0 -76
  1512. package/dist/node_modules/universalify/index.js +0 -24
  1513. package/dist/node_modules/universalify/package.json +0 -34
  1514. package/dist/node_modules/widest-line/index.d.ts +0 -12
  1515. package/dist/node_modules/widest-line/index.js +0 -11
  1516. package/dist/node_modules/widest-line/license +0 -9
  1517. package/dist/node_modules/widest-line/package.json +0 -60
  1518. package/dist/node_modules/widest-line/readme.md +0 -26
  1519. package/dist/node_modules/wrap-ansi/index.d.ts +0 -41
  1520. package/dist/node_modules/wrap-ansi/index.js +0 -222
  1521. package/dist/node_modules/wrap-ansi/license +0 -9
  1522. package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/index.d.ts +0 -236
  1523. package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/index.js +0 -223
  1524. package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/license +0 -9
  1525. package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/package.json +0 -54
  1526. package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/readme.md +0 -173
  1527. package/dist/node_modules/wrap-ansi/package.json +0 -69
  1528. package/dist/node_modules/wrap-ansi/readme.md +0 -75
  1529. package/dist/package-lock.json +0 -10655
  1530. package/dist/package.json +0 -76
  1531. package/dist/scripts/jsonSchemaToTs.js +0 -16
  1532. package/dist/scripts/versionDevelop.js +0 -116
@@ -1,1677 +0,0 @@
1
- declare module "node:util" {
2
- export * as types from "node:util/types";
3
- export type InspectStyle =
4
- | "special"
5
- | "number"
6
- | "bigint"
7
- | "boolean"
8
- | "undefined"
9
- | "null"
10
- | "string"
11
- | "symbol"
12
- | "date"
13
- | "name"
14
- | "regexp"
15
- | "module";
16
- export interface InspectStyles extends Record<InspectStyle, InspectColor | ((value: string) => string)> {
17
- regexp: {
18
- (value: string): string;
19
- colors: InspectColor[];
20
- };
21
- }
22
- export type InspectColorModifier =
23
- | "reset"
24
- | "bold"
25
- | "dim"
26
- | "italic"
27
- | "underline"
28
- | "blink"
29
- | "inverse"
30
- | "hidden"
31
- | "strikethrough"
32
- | "doubleunderline";
33
- export type InspectColorForeground =
34
- | "black"
35
- | "red"
36
- | "green"
37
- | "yellow"
38
- | "blue"
39
- | "magenta"
40
- | "cyan"
41
- | "white"
42
- | "gray"
43
- | "redBright"
44
- | "greenBright"
45
- | "yellowBright"
46
- | "blueBright"
47
- | "magentaBright"
48
- | "cyanBright"
49
- | "whiteBright";
50
- export type InspectColorBackground = `bg${Capitalize<InspectColorForeground>}`;
51
- export type InspectColor = InspectColorModifier | InspectColorForeground | InspectColorBackground;
52
- export interface InspectColors extends Record<InspectColor, [number, number]> {}
53
- export interface InspectOptions {
54
- /**
55
- * If `true`, object's non-enumerable symbols and properties are included in the formatted result.
56
- * `WeakMap` and `WeakSet` entries are also included as well as user defined prototype properties (excluding method properties).
57
- * @default false
58
- */
59
- showHidden?: boolean | undefined;
60
- /**
61
- * Specifies the number of times to recurse while formatting object.
62
- * This is useful for inspecting large objects.
63
- * To recurse up to the maximum call stack size pass `Infinity` or `null`.
64
- * @default 2
65
- */
66
- depth?: number | null | undefined;
67
- /**
68
- * If `true`, the output is styled with ANSI color codes. Colors are customizable.
69
- */
70
- colors?: boolean | undefined;
71
- /**
72
- * If `false`, `[util.inspect.custom](depth, opts, inspect)` functions are not invoked.
73
- * @default true
74
- */
75
- customInspect?: boolean | undefined;
76
- /**
77
- * If `true`, `Proxy` inspection includes the target and handler objects.
78
- * @default false
79
- */
80
- showProxy?: boolean | undefined;
81
- /**
82
- * Specifies the maximum number of `Array`, `TypedArray`, `WeakMap`, and `WeakSet` elements
83
- * to include when formatting. Set to `null` or `Infinity` to show all elements.
84
- * Set to `0` or negative to show no elements.
85
- * @default 100
86
- */
87
- maxArrayLength?: number | null | undefined;
88
- /**
89
- * Specifies the maximum number of characters to
90
- * include when formatting. Set to `null` or `Infinity` to show all elements.
91
- * Set to `0` or negative to show no characters.
92
- * @default 10000
93
- */
94
- maxStringLength?: number | null | undefined;
95
- /**
96
- * The length at which input values are split across multiple lines.
97
- * Set to `Infinity` to format the input as a single line
98
- * (in combination with `compact` set to `true` or any number >= `1`).
99
- * @default 80
100
- */
101
- breakLength?: number | undefined;
102
- /**
103
- * Setting this to `false` causes each object key
104
- * to be displayed on a new line. It will also add new lines to text that is
105
- * longer than `breakLength`. If set to a number, the most `n` inner elements
106
- * are united on a single line as long as all properties fit into
107
- * `breakLength`. Short array elements are also grouped together. Note that no
108
- * text will be reduced below 16 characters, no matter the `breakLength` size.
109
- * For more information, see the example below.
110
- * @default true
111
- */
112
- compact?: boolean | number | undefined;
113
- /**
114
- * If set to `true` or a function, all properties of an object, and `Set` and `Map`
115
- * entries are sorted in the resulting string.
116
- * If set to `true` the default sort is used.
117
- * If set to a function, it is used as a compare function.
118
- */
119
- sorted?: boolean | ((a: string, b: string) => number) | undefined;
120
- /**
121
- * If set to `true`, getters are going to be
122
- * inspected as well. If set to `'get'` only getters without setter are going
123
- * to be inspected. If set to `'set'` only getters having a corresponding
124
- * setter are going to be inspected. This might cause side effects depending on
125
- * the getter function.
126
- * @default false
127
- */
128
- getters?: "get" | "set" | boolean | undefined;
129
- /**
130
- * If set to `true`, an underscore is used to separate every three digits in all bigints and numbers.
131
- * @default false
132
- */
133
- numericSeparator?: boolean | undefined;
134
- }
135
- export interface InspectContext extends Required<InspectOptions> {
136
- stylize(text: string, styleType: InspectStyle): string;
137
- }
138
- import _inspect = inspect;
139
- export interface Inspectable {
140
- [inspect.custom](depth: number, options: InspectContext, inspect: typeof _inspect): any;
141
- }
142
- // TODO: Remove these in a future major
143
- /** @deprecated Use `InspectStyle` instead. */
144
- export type Style = Exclude<InspectStyle, "name">;
145
- /** @deprecated Use the `Inspectable` interface instead. */
146
- export type CustomInspectFunction = (depth: number, options: InspectContext) => any;
147
- /** @deprecated Use `InspectContext` instead. */
148
- export interface InspectOptionsStylized extends InspectContext {}
149
- /** @deprecated Use `InspectColorModifier` instead. */
150
- export type Modifiers = InspectColorModifier;
151
- /** @deprecated Use `InspectColorForeground` instead. */
152
- export type ForegroundColors = InspectColorForeground;
153
- /** @deprecated Use `InspectColorBackground` instead. */
154
- export type BackgroundColors = InspectColorBackground;
155
- export interface CallSiteObject {
156
- /**
157
- * Returns the name of the function associated with this call site.
158
- */
159
- functionName: string;
160
- /**
161
- * Returns the name of the resource that contains the script for the
162
- * function for this call site.
163
- */
164
- scriptName: string;
165
- /**
166
- * Returns the unique id of the script, as in Chrome DevTools protocol
167
- * [`Runtime.ScriptId`](https://chromedevtools.github.io/devtools-protocol/1-3/Runtime/#type-ScriptId).
168
- * @since v22.14.0
169
- */
170
- scriptId: string;
171
- /**
172
- * Returns the number, 1-based, of the line for the associate function call.
173
- */
174
- lineNumber: number;
175
- /**
176
- * Returns the 1-based column offset on the line for the associated function call.
177
- */
178
- columnNumber: number;
179
- }
180
- export type DiffEntry = [operation: -1 | 0 | 1, value: string];
181
- /**
182
- * `util.diff()` compares two string or array values and returns an array of difference entries.
183
- * It uses the Myers diff algorithm to compute minimal differences, which is the same algorithm
184
- * used internally by assertion error messages.
185
- *
186
- * If the values are equal, an empty array is returned.
187
- *
188
- * ```js
189
- * const { diff } = require('node:util');
190
- *
191
- * // Comparing strings
192
- * const actualString = '12345678';
193
- * const expectedString = '12!!5!7!';
194
- * console.log(diff(actualString, expectedString));
195
- * // [
196
- * // [0, '1'],
197
- * // [0, '2'],
198
- * // [1, '3'],
199
- * // [1, '4'],
200
- * // [-1, '!'],
201
- * // [-1, '!'],
202
- * // [0, '5'],
203
- * // [1, '6'],
204
- * // [-1, '!'],
205
- * // [0, '7'],
206
- * // [1, '8'],
207
- * // [-1, '!'],
208
- * // ]
209
- * // Comparing arrays
210
- * const actualArray = ['1', '2', '3'];
211
- * const expectedArray = ['1', '3', '4'];
212
- * console.log(diff(actualArray, expectedArray));
213
- * // [
214
- * // [0, '1'],
215
- * // [1, '2'],
216
- * // [0, '3'],
217
- * // [-1, '4'],
218
- * // ]
219
- * // Equal values return empty array
220
- * console.log(diff('same', 'same'));
221
- * // []
222
- * ```
223
- * @since v22.15.0
224
- * @experimental
225
- * @param actual The first value to compare
226
- * @param expected The second value to compare
227
- * @returns An array of difference entries. Each entry is an array with two elements:
228
- * * Index 0: `number` Operation code: `-1` for delete, `0` for no-op/unchanged, `1` for insert
229
- * * Index 1: `string` The value associated with the operation
230
- */
231
- export function diff(actual: string | readonly string[], expected: string | readonly string[]): DiffEntry[];
232
- /**
233
- * The `util.format()` method returns a formatted string using the first argument
234
- * as a `printf`-like format string which can contain zero or more format
235
- * specifiers. Each specifier is replaced with the converted value from the
236
- * corresponding argument. Supported specifiers are:
237
- *
238
- * If a specifier does not have a corresponding argument, it is not replaced:
239
- *
240
- * ```js
241
- * util.format('%s:%s', 'foo');
242
- * // Returns: 'foo:%s'
243
- * ```
244
- *
245
- * Values that are not part of the format string are formatted using `util.inspect()` if their type is not `string`.
246
- *
247
- * If there are more arguments passed to the `util.format()` method than the
248
- * number of specifiers, the extra arguments are concatenated to the returned
249
- * string, separated by spaces:
250
- *
251
- * ```js
252
- * util.format('%s:%s', 'foo', 'bar', 'baz');
253
- * // Returns: 'foo:bar baz'
254
- * ```
255
- *
256
- * If the first argument does not contain a valid format specifier, `util.format()` returns a string that is the concatenation of all arguments separated by spaces:
257
- *
258
- * ```js
259
- * util.format(1, 2, 3);
260
- * // Returns: '1 2 3'
261
- * ```
262
- *
263
- * If only one argument is passed to `util.format()`, it is returned as it is
264
- * without any formatting:
265
- *
266
- * ```js
267
- * util.format('%% %s');
268
- * // Returns: '%% %s'
269
- * ```
270
- *
271
- * `util.format()` is a synchronous method that is intended as a debugging tool.
272
- * Some input values can have a significant performance overhead that can block the
273
- * event loop. Use this function with care and never in a hot code path.
274
- * @since v0.5.3
275
- * @param format A `printf`-like format string.
276
- */
277
- export function format(format?: any, ...param: any[]): string;
278
- /**
279
- * This function is identical to {@link format}, except in that it takes
280
- * an `inspectOptions` argument which specifies options that are passed along to {@link inspect}.
281
- *
282
- * ```js
283
- * util.formatWithOptions({ colors: true }, 'See object %O', { foo: 42 });
284
- * // Returns 'See object { foo: 42 }', where `42` is colored as a number
285
- * // when printed to a terminal.
286
- * ```
287
- * @since v10.0.0
288
- */
289
- export function formatWithOptions(inspectOptions: InspectOptions, format?: any, ...param: any[]): string;
290
- export interface GetCallSitesOptions {
291
- /**
292
- * Reconstruct the original location in the stacktrace from the source-map.
293
- * Enabled by default with the flag `--enable-source-maps`.
294
- */
295
- sourceMap?: boolean | undefined;
296
- }
297
- /**
298
- * Returns an array of call site objects containing the stack of
299
- * the caller function.
300
- *
301
- * Unlike accessing an `error.stack`, the result returned from this API is not
302
- * interfered with `Error.prepareStackTrace`.
303
- *
304
- * ```js
305
- * import { getCallSites } from 'node:util';
306
- *
307
- * function exampleFunction() {
308
- * const callSites = getCallSites();
309
- *
310
- * console.log('Call Sites:');
311
- * callSites.forEach((callSite, index) => {
312
- * console.log(`CallSite ${index + 1}:`);
313
- * console.log(`Function Name: ${callSite.functionName}`);
314
- * console.log(`Script Name: ${callSite.scriptName}`);
315
- * console.log(`Line Number: ${callSite.lineNumber}`);
316
- * console.log(`Column Number: ${callSite.columnNumber}`);
317
- * });
318
- * // CallSite 1:
319
- * // Function Name: exampleFunction
320
- * // Script Name: /home/example.js
321
- * // Line Number: 5
322
- * // Column Number: 26
323
- *
324
- * // CallSite 2:
325
- * // Function Name: anotherFunction
326
- * // Script Name: /home/example.js
327
- * // Line Number: 22
328
- * // Column Number: 3
329
- *
330
- * // ...
331
- * }
332
- *
333
- * // A function to simulate another stack layer
334
- * function anotherFunction() {
335
- * exampleFunction();
336
- * }
337
- *
338
- * anotherFunction();
339
- * ```
340
- *
341
- * It is possible to reconstruct the original locations by setting the option `sourceMap` to `true`.
342
- * If the source map is not available, the original location will be the same as the current location.
343
- * When the `--enable-source-maps` flag is enabled, for example when using `--experimental-transform-types`,
344
- * `sourceMap` will be true by default.
345
- *
346
- * ```ts
347
- * import { getCallSites } from 'node:util';
348
- *
349
- * interface Foo {
350
- * foo: string;
351
- * }
352
- *
353
- * const callSites = getCallSites({ sourceMap: true });
354
- *
355
- * // With sourceMap:
356
- * // Function Name: ''
357
- * // Script Name: example.js
358
- * // Line Number: 7
359
- * // Column Number: 26
360
- *
361
- * // Without sourceMap:
362
- * // Function Name: ''
363
- * // Script Name: example.js
364
- * // Line Number: 2
365
- * // Column Number: 26
366
- * ```
367
- * @param frameCount Number of frames to capture as call site objects.
368
- * **Default:** `10`. Allowable range is between 1 and 200.
369
- * @return An array of call site objects
370
- * @since v22.9.0
371
- */
372
- export function getCallSites(frameCount?: number, options?: GetCallSitesOptions): CallSiteObject[];
373
- export function getCallSites(options: GetCallSitesOptions): CallSiteObject[];
374
- /**
375
- * Returns the string name for a numeric error code that comes from a Node.js API.
376
- * The mapping between error codes and error names is platform-dependent.
377
- * See `Common System Errors` for the names of common errors.
378
- *
379
- * ```js
380
- * fs.access('file/that/does/not/exist', (err) => {
381
- * const name = util.getSystemErrorName(err.errno);
382
- * console.error(name); // ENOENT
383
- * });
384
- * ```
385
- * @since v9.7.0
386
- */
387
- export function getSystemErrorName(err: number): string;
388
- /**
389
- * Enable or disable printing a stack trace on `SIGINT`. The API is only available on the main thread.
390
- * @since 24.6.0
391
- */
392
- export function setTraceSigInt(enable: boolean): void;
393
- /**
394
- * Returns a Map of all system error codes available from the Node.js API.
395
- * The mapping between error codes and error names is platform-dependent.
396
- * See `Common System Errors` for the names of common errors.
397
- *
398
- * ```js
399
- * fs.access('file/that/does/not/exist', (err) => {
400
- * const errorMap = util.getSystemErrorMap();
401
- * const name = errorMap.get(err.errno);
402
- * console.error(name); // ENOENT
403
- * });
404
- * ```
405
- * @since v16.0.0, v14.17.0
406
- */
407
- export function getSystemErrorMap(): Map<number, [string, string]>;
408
- /**
409
- * Returns the string message for a numeric error code that comes from a Node.js
410
- * API.
411
- * The mapping between error codes and string messages is platform-dependent.
412
- *
413
- * ```js
414
- * fs.access('file/that/does/not/exist', (err) => {
415
- * const message = util.getSystemErrorMessage(err.errno);
416
- * console.error(message); // no such file or directory
417
- * });
418
- * ```
419
- * @since v22.12.0
420
- */
421
- export function getSystemErrorMessage(err: number): string;
422
- /**
423
- * Returns the `string` after replacing any surrogate code points
424
- * (or equivalently, any unpaired surrogate code units) with the
425
- * Unicode "replacement character" U+FFFD.
426
- * @since v16.8.0, v14.18.0
427
- */
428
- export function toUSVString(string: string): string;
429
- /**
430
- * Creates and returns an `AbortController` instance whose `AbortSignal` is marked
431
- * as transferable and can be used with `structuredClone()` or `postMessage()`.
432
- * @since v18.11.0
433
- * @returns A transferable AbortController
434
- */
435
- export function transferableAbortController(): AbortController;
436
- /**
437
- * Marks the given `AbortSignal` as transferable so that it can be used with`structuredClone()` and `postMessage()`.
438
- *
439
- * ```js
440
- * const signal = transferableAbortSignal(AbortSignal.timeout(100));
441
- * const channel = new MessageChannel();
442
- * channel.port2.postMessage(signal, [signal]);
443
- * ```
444
- * @since v18.11.0
445
- * @param signal The AbortSignal
446
- * @returns The same AbortSignal
447
- */
448
- export function transferableAbortSignal(signal: AbortSignal): AbortSignal;
449
- /**
450
- * Listens to abort event on the provided `signal` and returns a promise that resolves when the `signal` is aborted.
451
- * If `resource` is provided, it weakly references the operation's associated object,
452
- * so if `resource` is garbage collected before the `signal` aborts,
453
- * then returned promise shall remain pending.
454
- * This prevents memory leaks in long-running or non-cancelable operations.
455
- *
456
- * ```js
457
- * import { aborted } from 'node:util';
458
- *
459
- * // Obtain an object with an abortable signal, like a custom resource or operation.
460
- * const dependent = obtainSomethingAbortable();
461
- *
462
- * // Pass `dependent` as the resource, indicating the promise should only resolve
463
- * // if `dependent` is still in memory when the signal is aborted.
464
- * aborted(dependent.signal, dependent).then(() => {
465
- * // This code runs when `dependent` is aborted.
466
- * console.log('Dependent resource was aborted.');
467
- * });
468
- *
469
- * // Simulate an event that triggers the abort.
470
- * dependent.on('event', () => {
471
- * dependent.abort(); // This will cause the `aborted` promise to resolve.
472
- * });
473
- * ```
474
- * @since v19.7.0
475
- * @param resource Any non-null object tied to the abortable operation and held weakly.
476
- * If `resource` is garbage collected before the `signal` aborts, the promise remains pending,
477
- * allowing Node.js to stop tracking it.
478
- * This helps prevent memory leaks in long-running or non-cancelable operations.
479
- */
480
- export function aborted(signal: AbortSignal, resource: any): Promise<void>;
481
- /**
482
- * The `util.inspect()` method returns a string representation of `object` that is
483
- * intended for debugging. The output of `util.inspect` may change at any time
484
- * and should not be depended upon programmatically. Additional `options` may be
485
- * passed that alter the result.
486
- * `util.inspect()` will use the constructor's name and/or `Symbol.toStringTag`
487
- * property to make an identifiable tag for an inspected value.
488
- *
489
- * ```js
490
- * class Foo {
491
- * get [Symbol.toStringTag]() {
492
- * return 'bar';
493
- * }
494
- * }
495
- *
496
- * class Bar {}
497
- *
498
- * const baz = Object.create(null, { [Symbol.toStringTag]: { value: 'foo' } });
499
- *
500
- * util.inspect(new Foo()); // 'Foo [bar] {}'
501
- * util.inspect(new Bar()); // 'Bar {}'
502
- * util.inspect(baz); // '[foo] {}'
503
- * ```
504
- *
505
- * Circular references point to their anchor by using a reference index:
506
- *
507
- * ```js
508
- * import { inspect } from 'node:util';
509
- *
510
- * const obj = {};
511
- * obj.a = [obj];
512
- * obj.b = {};
513
- * obj.b.inner = obj.b;
514
- * obj.b.obj = obj;
515
- *
516
- * console.log(inspect(obj));
517
- * // <ref *1> {
518
- * // a: [ [Circular *1] ],
519
- * // b: <ref *2> { inner: [Circular *2], obj: [Circular *1] }
520
- * // }
521
- * ```
522
- *
523
- * The following example inspects all properties of the `util` object:
524
- *
525
- * ```js
526
- * import util from 'node:util';
527
- *
528
- * console.log(util.inspect(util, { showHidden: true, depth: null }));
529
- * ```
530
- *
531
- * The following example highlights the effect of the `compact` option:
532
- *
533
- * ```js
534
- * import { inspect } from 'node:util';
535
- *
536
- * const o = {
537
- * a: [1, 2, [[
538
- * 'Lorem ipsum dolor sit amet,\nconsectetur adipiscing elit, sed do ' +
539
- * 'eiusmod \ntempor incididunt ut labore et dolore magna aliqua.',
540
- * 'test',
541
- * 'foo']], 4],
542
- * b: new Map([['za', 1], ['zb', 'test']]),
543
- * };
544
- * console.log(inspect(o, { compact: true, depth: 5, breakLength: 80 }));
545
- *
546
- * // { a:
547
- * // [ 1,
548
- * // 2,
549
- * // [ [ 'Lorem ipsum dolor sit amet,\nconsectetur [...]', // A long line
550
- * // 'test',
551
- * // 'foo' ] ],
552
- * // 4 ],
553
- * // b: Map(2) { 'za' => 1, 'zb' => 'test' } }
554
- *
555
- * // Setting `compact` to false or an integer creates more reader friendly output.
556
- * console.log(inspect(o, { compact: false, depth: 5, breakLength: 80 }));
557
- *
558
- * // {
559
- * // a: [
560
- * // 1,
561
- * // 2,
562
- * // [
563
- * // [
564
- * // 'Lorem ipsum dolor sit amet,\n' +
565
- * // 'consectetur adipiscing elit, sed do eiusmod \n' +
566
- * // 'tempor incididunt ut labore et dolore magna aliqua.',
567
- * // 'test',
568
- * // 'foo'
569
- * // ]
570
- * // ],
571
- * // 4
572
- * // ],
573
- * // b: Map(2) {
574
- * // 'za' => 1,
575
- * // 'zb' => 'test'
576
- * // }
577
- * // }
578
- *
579
- * // Setting `breakLength` to e.g. 150 will print the "Lorem ipsum" text in a
580
- * // single line.
581
- * ```
582
- *
583
- * The `showHidden` option allows `WeakMap` and `WeakSet` entries to be
584
- * inspected. If there are more entries than `maxArrayLength`, there is no
585
- * guarantee which entries are displayed. That means retrieving the same
586
- * `WeakSet` entries twice may result in different output. Furthermore, entries
587
- * with no remaining strong references may be garbage collected at any time.
588
- *
589
- * ```js
590
- * import { inspect } from 'node:util';
591
- *
592
- * const obj = { a: 1 };
593
- * const obj2 = { b: 2 };
594
- * const weakSet = new WeakSet([obj, obj2]);
595
- *
596
- * console.log(inspect(weakSet, { showHidden: true }));
597
- * // WeakSet { { a: 1 }, { b: 2 } }
598
- * ```
599
- *
600
- * The `sorted` option ensures that an object's property insertion order does not
601
- * impact the result of `util.inspect()`.
602
- *
603
- * ```js
604
- * import { inspect } from 'node:util';
605
- * import assert from 'node:assert';
606
- *
607
- * const o1 = {
608
- * b: [2, 3, 1],
609
- * a: '`a` comes before `b`',
610
- * c: new Set([2, 3, 1]),
611
- * };
612
- * console.log(inspect(o1, { sorted: true }));
613
- * // { a: '`a` comes before `b`', b: [ 2, 3, 1 ], c: Set(3) { 1, 2, 3 } }
614
- * console.log(inspect(o1, { sorted: (a, b) => b.localeCompare(a) }));
615
- * // { c: Set(3) { 3, 2, 1 }, b: [ 2, 3, 1 ], a: '`a` comes before `b`' }
616
- *
617
- * const o2 = {
618
- * c: new Set([2, 1, 3]),
619
- * a: '`a` comes before `b`',
620
- * b: [2, 3, 1],
621
- * };
622
- * assert.strict.equal(
623
- * inspect(o1, { sorted: true }),
624
- * inspect(o2, { sorted: true }),
625
- * );
626
- * ```
627
- *
628
- * The `numericSeparator` option adds an underscore every three digits to all
629
- * numbers.
630
- *
631
- * ```js
632
- * import { inspect } from 'node:util';
633
- *
634
- * const thousand = 1000;
635
- * const million = 1000000;
636
- * const bigNumber = 123456789n;
637
- * const bigDecimal = 1234.12345;
638
- *
639
- * console.log(inspect(thousand, { numericSeparator: true }));
640
- * // 1_000
641
- * console.log(inspect(million, { numericSeparator: true }));
642
- * // 1_000_000
643
- * console.log(inspect(bigNumber, { numericSeparator: true }));
644
- * // 123_456_789n
645
- * console.log(inspect(bigDecimal, { numericSeparator: true }));
646
- * // 1_234.123_45
647
- * ```
648
- *
649
- * `util.inspect()` is a synchronous method intended for debugging. Its maximum
650
- * output length is approximately 128 MiB. Inputs that result in longer output will
651
- * be truncated.
652
- * @since v0.3.0
653
- * @param object Any JavaScript primitive or `Object`.
654
- * @return The representation of `object`.
655
- */
656
- export function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string;
657
- export function inspect(object: any, options?: InspectOptions): string;
658
- export namespace inspect {
659
- const custom: unique symbol;
660
- let colors: InspectColors;
661
- let styles: InspectStyles;
662
- let defaultOptions: InspectOptions;
663
- let replDefaults: InspectOptions;
664
- }
665
- /**
666
- * Alias for [`Array.isArray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray).
667
- *
668
- * Returns `true` if the given `object` is an `Array`. Otherwise, returns `false`.
669
- *
670
- * ```js
671
- * import util from 'node:util';
672
- *
673
- * util.isArray([]);
674
- * // Returns: true
675
- * util.isArray(new Array());
676
- * // Returns: true
677
- * util.isArray({});
678
- * // Returns: false
679
- * ```
680
- * @since v0.6.0
681
- * @deprecated Since v4.0.0 - Use `isArray` instead.
682
- */
683
- export function isArray(object: unknown): object is unknown[];
684
- /**
685
- * Usage of `util.inherits()` is discouraged. Please use the ES6 `class` and
686
- * `extends` keywords to get language level inheritance support. Also note
687
- * that the two styles are [semantically incompatible](https://github.com/nodejs/node/issues/4179).
688
- *
689
- * Inherit the prototype methods from one
690
- * [constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/constructor) into another. The
691
- * prototype of `constructor` will be set to a new object created from
692
- * `superConstructor`.
693
- *
694
- * This mainly adds some input validation on top of
695
- * `Object.setPrototypeOf(constructor.prototype, superConstructor.prototype)`.
696
- * As an additional convenience, `superConstructor` will be accessible
697
- * through the `constructor.super_` property.
698
- *
699
- * ```js
700
- * const util = require('node:util');
701
- * const EventEmitter = require('node:events');
702
- *
703
- * function MyStream() {
704
- * EventEmitter.call(this);
705
- * }
706
- *
707
- * util.inherits(MyStream, EventEmitter);
708
- *
709
- * MyStream.prototype.write = function(data) {
710
- * this.emit('data', data);
711
- * };
712
- *
713
- * const stream = new MyStream();
714
- *
715
- * console.log(stream instanceof EventEmitter); // true
716
- * console.log(MyStream.super_ === EventEmitter); // true
717
- *
718
- * stream.on('data', (data) => {
719
- * console.log(`Received data: "${data}"`);
720
- * });
721
- * stream.write('It works!'); // Received data: "It works!"
722
- * ```
723
- *
724
- * ES6 example using `class` and `extends`:
725
- *
726
- * ```js
727
- * import EventEmitter from 'node:events';
728
- *
729
- * class MyStream extends EventEmitter {
730
- * write(data) {
731
- * this.emit('data', data);
732
- * }
733
- * }
734
- *
735
- * const stream = new MyStream();
736
- *
737
- * stream.on('data', (data) => {
738
- * console.log(`Received data: "${data}"`);
739
- * });
740
- * stream.write('With ES6');
741
- * ```
742
- * @since v0.3.0
743
- * @legacy Use ES2015 class syntax and `extends` keyword instead.
744
- */
745
- export function inherits(constructor: unknown, superConstructor: unknown): void;
746
- /**
747
- * The `util.convertProcessSignalToExitCode()` method converts a signal name to its
748
- * corresponding POSIX exit code. Following the POSIX standard, the exit code
749
- * for a process terminated by a signal is calculated as `128 + signal number`.
750
- *
751
- * If `signal` is not a valid signal name, then an error will be thrown. See
752
- * [`signal(7)`](https://man7.org/linux/man-pages/man7/signal.7.html) for a list of valid signals.
753
- *
754
- * ```js
755
- * import { convertProcessSignalToExitCode } from 'node:util';
756
- *
757
- * console.log(convertProcessSignalToExitCode('SIGTERM')); // 143 (128 + 15)
758
- * console.log(convertProcessSignalToExitCode('SIGKILL')); // 137 (128 + 9)
759
- * ```
760
- *
761
- * This is particularly useful when working with processes to determine
762
- * the exit code based on the signal that terminated the process.
763
- * @since v25.4.0
764
- * @param signal A signal name (e.g. `'SIGTERM'`)
765
- * @returns The exit code corresponding to `signal`
766
- */
767
- export function convertProcessSignalToExitCode(signal: NodeJS.Signals): number;
768
- export type DebugLoggerFunction = (msg: string, ...param: unknown[]) => void;
769
- export interface DebugLogger extends DebugLoggerFunction {
770
- /**
771
- * The `util.debuglog().enabled` getter is used to create a test that can be used
772
- * in conditionals based on the existence of the `NODE_DEBUG` environment variable.
773
- * If the `section` name appears within the value of that environment variable,
774
- * then the returned value will be `true`. If not, then the returned value will be
775
- * `false`.
776
- *
777
- * ```js
778
- * import { debuglog } from 'node:util';
779
- * const enabled = debuglog('foo').enabled;
780
- * if (enabled) {
781
- * console.log('hello from foo [%d]', 123);
782
- * }
783
- * ```
784
- *
785
- * If this program is run with `NODE_DEBUG=foo` in the environment, then it will
786
- * output something like:
787
- *
788
- * ```console
789
- * hello from foo [123]
790
- * ```
791
- */
792
- enabled: boolean;
793
- }
794
- /**
795
- * The `util.debuglog()` method is used to create a function that conditionally
796
- * writes debug messages to `stderr` based on the existence of the `NODE_DEBUG`
797
- * environment variable. If the `section` name appears within the value of that
798
- * environment variable, then the returned function operates similar to
799
- * `console.error()`. If not, then the returned function is a no-op.
800
- *
801
- * ```js
802
- * import { debuglog } from 'node:util';
803
- * const log = debuglog('foo');
804
- *
805
- * log('hello from foo [%d]', 123);
806
- * ```
807
- *
808
- * If this program is run with `NODE_DEBUG=foo` in the environment, then
809
- * it will output something like:
810
- *
811
- * ```console
812
- * FOO 3245: hello from foo [123]
813
- * ```
814
- *
815
- * where `3245` is the process id. If it is not run with that
816
- * environment variable set, then it will not print anything.
817
- *
818
- * The `section` supports wildcard also:
819
- *
820
- * ```js
821
- * import { debuglog } from 'node:util';
822
- * const log = debuglog('foo-bar');
823
- *
824
- * log('hi there, it\'s foo-bar [%d]', 2333);
825
- * ```
826
- *
827
- * if it is run with `NODE_DEBUG=foo*` in the environment, then it will output
828
- * something like:
829
- *
830
- * ```console
831
- * FOO-BAR 3257: hi there, it's foo-bar [2333]
832
- * ```
833
- *
834
- * Multiple comma-separated `section` names may be specified in the `NODE_DEBUG`
835
- * environment variable: `NODE_DEBUG=fs,net,tls`.
836
- *
837
- * The optional `callback` argument can be used to replace the logging function
838
- * with a different function that doesn't have any initialization or
839
- * unnecessary wrapping.
840
- *
841
- * ```js
842
- * import { debuglog } from 'node:util';
843
- * let log = debuglog('internals', (debug) => {
844
- * // Replace with a logging function that optimizes out
845
- * // testing if the section is enabled
846
- * log = debug;
847
- * });
848
- * ```
849
- * @since v0.11.3
850
- * @param section A string identifying the portion of the application for which the `debuglog` function is being created.
851
- * @param callback A callback invoked the first time the logging function is called with a function argument that is a more optimized logging function.
852
- * @return The logging function
853
- */
854
- export function debuglog(section: string, callback?: (fn: DebugLoggerFunction) => void): DebugLogger;
855
- export { debuglog as debug };
856
- export interface DeprecateOptions {
857
- /**
858
- * When false do not change the prototype of object
859
- * while emitting the deprecation warning.
860
- * @since v25.2.0
861
- * @default true
862
- */
863
- modifyPrototype?: boolean | undefined;
864
- }
865
- /**
866
- * The `util.deprecate()` method wraps `fn` (which may be a function or class) in
867
- * such a way that it is marked as deprecated.
868
- *
869
- * ```js
870
- * import { deprecate } from 'node:util';
871
- *
872
- * export const obsoleteFunction = deprecate(() => {
873
- * // Do something here.
874
- * }, 'obsoleteFunction() is deprecated. Use newShinyFunction() instead.');
875
- * ```
876
- *
877
- * When called, `util.deprecate()` will return a function that will emit a
878
- * `DeprecationWarning` using the `'warning'` event. The warning will
879
- * be emitted and printed to `stderr` the first time the returned function is
880
- * called. After the warning is emitted, the wrapped function is called without
881
- * emitting a warning.
882
- *
883
- * If the same optional `code` is supplied in multiple calls to `util.deprecate()`,
884
- * the warning will be emitted only once for that `code`.
885
- *
886
- * ```js
887
- * import { deprecate } from 'node:util';
888
- *
889
- * const fn1 = deprecate(
890
- * () => 'a value',
891
- * 'deprecation message',
892
- * 'DEP0001',
893
- * );
894
- * const fn2 = deprecate(
895
- * () => 'a different value',
896
- * 'other dep message',
897
- * 'DEP0001',
898
- * );
899
- * fn1(); // Emits a deprecation warning with code DEP0001
900
- * fn2(); // Does not emit a deprecation warning because it has the same code
901
- * ```
902
- *
903
- * If either the `--no-deprecation` or `--no-warnings` command-line flags are
904
- * used, or if the `process.noDeprecation` property is set to `true` _prior_ to
905
- * the first deprecation warning, the `util.deprecate()` method does nothing.
906
- *
907
- * If the `--trace-deprecation` or `--trace-warnings` command-line flags are set,
908
- * or the `process.traceDeprecation` property is set to `true`, a warning and a
909
- * stack trace are printed to `stderr` the first time the deprecated function is
910
- * called.
911
- *
912
- * If the `--throw-deprecation` command-line flag is set, or the
913
- * `process.throwDeprecation` property is set to `true`, then an exception will be
914
- * thrown when the deprecated function is called.
915
- *
916
- * The `--throw-deprecation` command-line flag and `process.throwDeprecation`
917
- * property take precedence over `--trace-deprecation` and
918
- * `process.traceDeprecation`.
919
- * @since v0.8.0
920
- * @param fn The function that is being deprecated.
921
- * @param msg A warning message to display when the deprecated function is invoked.
922
- * @param code A deprecation code. See the `list of deprecated APIs` for a list of codes.
923
- * @return The deprecated function wrapped to emit a warning.
924
- */
925
- export function deprecate<T extends Function>(fn: T, msg: string, code?: string, options?: DeprecateOptions): T;
926
- export interface IsDeepStrictEqualOptions {
927
- /**
928
- * If `true`, prototype and constructor
929
- * comparison is skipped during deep strict equality check.
930
- * @since v24.9.0
931
- * @default false
932
- */
933
- skipPrototype?: boolean | undefined;
934
- }
935
- /**
936
- * Returns `true` if there is deep strict equality between `val1` and `val2`.
937
- * Otherwise, returns `false`.
938
- *
939
- * See `assert.deepStrictEqual()` for more information about deep strict
940
- * equality.
941
- * @since v9.0.0
942
- */
943
- export function isDeepStrictEqual(val1: unknown, val2: unknown, options?: IsDeepStrictEqualOptions): boolean;
944
- /**
945
- * Returns `str` with any ANSI escape codes removed.
946
- *
947
- * ```js
948
- * console.log(util.stripVTControlCharacters('\u001B[4mvalue\u001B[0m'));
949
- * // Prints "value"
950
- * ```
951
- * @since v16.11.0
952
- */
953
- export function stripVTControlCharacters(str: string): string;
954
- /**
955
- * Takes an `async` function (or a function that returns a `Promise`) and returns a
956
- * function following the error-first callback style, i.e. taking
957
- * an `(err, value) => ...` callback as the last argument. In the callback, the
958
- * first argument will be the rejection reason (or `null` if the `Promise`
959
- * resolved), and the second argument will be the resolved value.
960
- *
961
- * ```js
962
- * import { callbackify } from 'node:util';
963
- *
964
- * async function fn() {
965
- * return 'hello world';
966
- * }
967
- * const callbackFunction = callbackify(fn);
968
- *
969
- * callbackFunction((err, ret) => {
970
- * if (err) throw err;
971
- * console.log(ret);
972
- * });
973
- * ```
974
- *
975
- * Will print:
976
- *
977
- * ```text
978
- * hello world
979
- * ```
980
- *
981
- * The callback is executed asynchronously, and will have a limited stack trace.
982
- * If the callback throws, the process will emit an `'uncaughtException'`
983
- * event, and if not handled will exit.
984
- *
985
- * Since `null` has a special meaning as the first argument to a callback, if a
986
- * wrapped function rejects a `Promise` with a falsy value as a reason, the value
987
- * is wrapped in an `Error` with the original value stored in a field named
988
- * `reason`.
989
- *
990
- * ```js
991
- * function fn() {
992
- * return Promise.reject(null);
993
- * }
994
- * const callbackFunction = util.callbackify(fn);
995
- *
996
- * callbackFunction((err, ret) => {
997
- * // When the Promise was rejected with `null` it is wrapped with an Error and
998
- * // the original value is stored in `reason`.
999
- * err && Object.hasOwn(err, 'reason') && err.reason === null; // true
1000
- * });
1001
- * ```
1002
- * @since v8.2.0
1003
- * @param fn An `async` function
1004
- * @return a callback style function
1005
- */
1006
- export function callbackify(fn: () => Promise<void>): (callback: (err: NodeJS.ErrnoException) => void) => void;
1007
- export function callbackify<TResult>(
1008
- fn: () => Promise<TResult>,
1009
- ): (callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void;
1010
- export function callbackify<T1>(
1011
- fn: (arg1: T1) => Promise<void>,
1012
- ): (arg1: T1, callback: (err: NodeJS.ErrnoException) => void) => void;
1013
- export function callbackify<T1, TResult>(
1014
- fn: (arg1: T1) => Promise<TResult>,
1015
- ): (arg1: T1, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void;
1016
- export function callbackify<T1, T2>(
1017
- fn: (arg1: T1, arg2: T2) => Promise<void>,
1018
- ): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException) => void) => void;
1019
- export function callbackify<T1, T2, TResult>(
1020
- fn: (arg1: T1, arg2: T2) => Promise<TResult>,
1021
- ): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
1022
- export function callbackify<T1, T2, T3>(
1023
- fn: (arg1: T1, arg2: T2, arg3: T3) => Promise<void>,
1024
- ): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException) => void) => void;
1025
- export function callbackify<T1, T2, T3, TResult>(
1026
- fn: (arg1: T1, arg2: T2, arg3: T3) => Promise<TResult>,
1027
- ): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
1028
- export function callbackify<T1, T2, T3, T4>(
1029
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<void>,
1030
- ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException) => void) => void;
1031
- export function callbackify<T1, T2, T3, T4, TResult>(
1032
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<TResult>,
1033
- ): (
1034
- arg1: T1,
1035
- arg2: T2,
1036
- arg3: T3,
1037
- arg4: T4,
1038
- callback: (err: NodeJS.ErrnoException | null, result: TResult) => void,
1039
- ) => void;
1040
- export function callbackify<T1, T2, T3, T4, T5>(
1041
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<void>,
1042
- ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException) => void) => void;
1043
- export function callbackify<T1, T2, T3, T4, T5, TResult>(
1044
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<TResult>,
1045
- ): (
1046
- arg1: T1,
1047
- arg2: T2,
1048
- arg3: T3,
1049
- arg4: T4,
1050
- arg5: T5,
1051
- callback: (err: NodeJS.ErrnoException | null, result: TResult) => void,
1052
- ) => void;
1053
- export function callbackify<T1, T2, T3, T4, T5, T6>(
1054
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise<void>,
1055
- ): (
1056
- arg1: T1,
1057
- arg2: T2,
1058
- arg3: T3,
1059
- arg4: T4,
1060
- arg5: T5,
1061
- arg6: T6,
1062
- callback: (err: NodeJS.ErrnoException) => void,
1063
- ) => void;
1064
- export function callbackify<T1, T2, T3, T4, T5, T6, TResult>(
1065
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise<TResult>,
1066
- ): (
1067
- arg1: T1,
1068
- arg2: T2,
1069
- arg3: T3,
1070
- arg4: T4,
1071
- arg5: T5,
1072
- arg6: T6,
1073
- callback: (err: NodeJS.ErrnoException | null, result: TResult) => void,
1074
- ) => void;
1075
- export interface CustomPromisifyLegacy<TCustom extends Function> extends Function {
1076
- __promisify__: TCustom;
1077
- }
1078
- export interface CustomPromisifySymbol<TCustom extends Function> extends Function {
1079
- [promisify.custom]: TCustom;
1080
- }
1081
- export type CustomPromisify<TCustom extends Function> =
1082
- | CustomPromisifySymbol<TCustom>
1083
- | CustomPromisifyLegacy<TCustom>;
1084
- /**
1085
- * Takes a function following the common error-first callback style, i.e. taking
1086
- * an `(err, value) => ...` callback as the last argument, and returns a version
1087
- * that returns promises.
1088
- *
1089
- * ```js
1090
- * import { promisify } from 'node:util';
1091
- * import { stat } from 'node:fs';
1092
- *
1093
- * const promisifiedStat = promisify(stat);
1094
- * promisifiedStat('.').then((stats) => {
1095
- * // Do something with `stats`
1096
- * }).catch((error) => {
1097
- * // Handle the error.
1098
- * });
1099
- * ```
1100
- *
1101
- * Or, equivalently using `async function`s:
1102
- *
1103
- * ```js
1104
- * import { promisify } from 'node:util';
1105
- * import { stat } from 'node:fs';
1106
- *
1107
- * const promisifiedStat = promisify(stat);
1108
- *
1109
- * async function callStat() {
1110
- * const stats = await promisifiedStat('.');
1111
- * console.log(`This directory is owned by ${stats.uid}`);
1112
- * }
1113
- *
1114
- * callStat();
1115
- * ```
1116
- *
1117
- * If there is an `original[util.promisify.custom]` property present, `promisify`
1118
- * will return its value, see [Custom promisified functions](https://nodejs.org/docs/latest-v25.x/api/util.html#custom-promisified-functions).
1119
- *
1120
- * `promisify()` assumes that `original` is a function taking a callback as its
1121
- * final argument in all cases. If `original` is not a function, `promisify()`
1122
- * will throw an error. If `original` is a function but its last argument is not
1123
- * an error-first callback, it will still be passed an error-first
1124
- * callback as its last argument.
1125
- *
1126
- * Using `promisify()` on class methods or other methods that use `this` may not
1127
- * work as expected unless handled specially:
1128
- *
1129
- * ```js
1130
- * import { promisify } from 'node:util';
1131
- *
1132
- * class Foo {
1133
- * constructor() {
1134
- * this.a = 42;
1135
- * }
1136
- *
1137
- * bar(callback) {
1138
- * callback(null, this.a);
1139
- * }
1140
- * }
1141
- *
1142
- * const foo = new Foo();
1143
- *
1144
- * const naiveBar = promisify(foo.bar);
1145
- * // TypeError: Cannot read properties of undefined (reading 'a')
1146
- * // naiveBar().then(a => console.log(a));
1147
- *
1148
- * naiveBar.call(foo).then((a) => console.log(a)); // '42'
1149
- *
1150
- * const bindBar = naiveBar.bind(foo);
1151
- * bindBar().then((a) => console.log(a)); // '42'
1152
- * ```
1153
- * @since v8.0.0
1154
- */
1155
- export function promisify<TCustom extends Function>(fn: CustomPromisify<TCustom>): TCustom;
1156
- export function promisify<TResult>(
1157
- fn: (callback: (err: any, result: TResult) => void) => void,
1158
- ): () => Promise<TResult>;
1159
- export function promisify(fn: (callback: (err?: any) => void) => void): () => Promise<void>;
1160
- export function promisify<T1, TResult>(
1161
- fn: (arg1: T1, callback: (err: any, result: TResult) => void) => void,
1162
- ): (arg1: T1) => Promise<TResult>;
1163
- export function promisify<T1>(fn: (arg1: T1, callback: (err?: any) => void) => void): (arg1: T1) => Promise<void>;
1164
- export function promisify<T1, T2, TResult>(
1165
- fn: (arg1: T1, arg2: T2, callback: (err: any, result: TResult) => void) => void,
1166
- ): (arg1: T1, arg2: T2) => Promise<TResult>;
1167
- export function promisify<T1, T2>(
1168
- fn: (arg1: T1, arg2: T2, callback: (err?: any) => void) => void,
1169
- ): (arg1: T1, arg2: T2) => Promise<void>;
1170
- export function promisify<T1, T2, T3, TResult>(
1171
- fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err: any, result: TResult) => void) => void,
1172
- ): (arg1: T1, arg2: T2, arg3: T3) => Promise<TResult>;
1173
- export function promisify<T1, T2, T3>(
1174
- fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err?: any) => void) => void,
1175
- ): (arg1: T1, arg2: T2, arg3: T3) => Promise<void>;
1176
- export function promisify<T1, T2, T3, T4, TResult>(
1177
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: any, result: TResult) => void) => void,
1178
- ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<TResult>;
1179
- export function promisify<T1, T2, T3, T4>(
1180
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err?: any) => void) => void,
1181
- ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<void>;
1182
- export function promisify<T1, T2, T3, T4, T5, TResult>(
1183
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: any, result: TResult) => void) => void,
1184
- ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<TResult>;
1185
- export function promisify<T1, T2, T3, T4, T5>(
1186
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err?: any) => void) => void,
1187
- ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<void>;
1188
- export function promisify(fn: Function): Function;
1189
- export namespace promisify {
1190
- /**
1191
- * That can be used to declare custom promisified variants of functions.
1192
- */
1193
- const custom: unique symbol;
1194
- }
1195
- /**
1196
- * Stability: 1.1 - Active development
1197
- * Given an example `.env` file:
1198
- *
1199
- * ```js
1200
- * import { parseEnv } from 'node:util';
1201
- *
1202
- * parseEnv('HELLO=world\nHELLO=oh my\n');
1203
- * // Returns: { HELLO: 'oh my' }
1204
- * ```
1205
- * @param content The raw contents of a `.env` file.
1206
- * @since v20.12.0
1207
- */
1208
- export function parseEnv(content: string): NodeJS.Dict<string>;
1209
- export interface StyleTextOptions {
1210
- /**
1211
- * When true, `stream` is checked to see if it can handle colors.
1212
- * @default true
1213
- */
1214
- validateStream?: boolean | undefined;
1215
- /**
1216
- * A stream that will be validated if it can be colored.
1217
- * @default process.stdout
1218
- */
1219
- stream?: NodeJS.WritableStream | undefined;
1220
- }
1221
- /**
1222
- * This function returns a formatted text considering the `format` passed
1223
- * for printing in a terminal. It is aware of the terminal's capabilities
1224
- * and acts according to the configuration set via `NO_COLOR`,
1225
- * `NODE_DISABLE_COLORS` and `FORCE_COLOR` environment variables.
1226
- *
1227
- * ```js
1228
- * import { styleText } from 'node:util';
1229
- * import { stderr } from 'node:process';
1230
- *
1231
- * const successMessage = styleText('green', 'Success!');
1232
- * console.log(successMessage);
1233
- *
1234
- * const errorMessage = styleText(
1235
- * 'red',
1236
- * 'Error! Error!',
1237
- * // Validate if process.stderr has TTY
1238
- * { stream: stderr },
1239
- * );
1240
- * console.error(errorMessage);
1241
- * ```
1242
- *
1243
- * `util.inspect.colors` also provides text formats such as `italic`, and
1244
- * `underline` and you can combine both:
1245
- *
1246
- * ```js
1247
- * console.log(
1248
- * util.styleText(['underline', 'italic'], 'My italic underlined message'),
1249
- * );
1250
- * ```
1251
- *
1252
- * When passing an array of formats, the order of the format applied
1253
- * is left to right so the following style might overwrite the previous one.
1254
- *
1255
- * ```js
1256
- * console.log(
1257
- * util.styleText(['red', 'green'], 'text'), // green
1258
- * );
1259
- * ```
1260
- *
1261
- * The special format value `none` applies no additional styling to the text.
1262
- *
1263
- * The full list of formats can be found in [modifiers](https://nodejs.org/docs/latest-v25.x/api/util.html#modifiers).
1264
- * @param format A text format or an Array of text formats defined in `util.inspect.colors`.
1265
- * @param text The text to to be formatted.
1266
- * @since v20.12.0
1267
- */
1268
- export function styleText(
1269
- format: InspectColor | readonly InspectColor[],
1270
- text: string,
1271
- options?: StyleTextOptions,
1272
- ): string;
1273
- /** @deprecated This alias will be removed in a future version. Use the canonical `TextEncoderEncodeIntoResult` instead. */
1274
- // TODO: remove in future major
1275
- export interface EncodeIntoResult extends TextEncoderEncodeIntoResult {}
1276
- //// parseArgs
1277
- /**
1278
- * Provides a higher level API for command-line argument parsing than interacting
1279
- * with `process.argv` directly. Takes a specification for the expected arguments
1280
- * and returns a structured object with the parsed options and positionals.
1281
- *
1282
- * ```js
1283
- * import { parseArgs } from 'node:util';
1284
- * const args = ['-f', '--bar', 'b'];
1285
- * const options = {
1286
- * foo: {
1287
- * type: 'boolean',
1288
- * short: 'f',
1289
- * },
1290
- * bar: {
1291
- * type: 'string',
1292
- * },
1293
- * };
1294
- * const {
1295
- * values,
1296
- * positionals,
1297
- * } = parseArgs({ args, options });
1298
- * console.log(values, positionals);
1299
- * // Prints: [Object: null prototype] { foo: true, bar: 'b' } []
1300
- * ```
1301
- * @since v18.3.0, v16.17.0
1302
- * @param config Used to provide arguments for parsing and to configure the parser. `config` supports the following properties:
1303
- * @return The parsed command line arguments:
1304
- */
1305
- export function parseArgs<T extends ParseArgsConfig>(config?: T): ParsedResults<T>;
1306
- /**
1307
- * Type of argument used in {@link parseArgs}.
1308
- */
1309
- export type ParseArgsOptionsType = "boolean" | "string";
1310
- export interface ParseArgsOptionDescriptor {
1311
- /**
1312
- * Type of argument.
1313
- */
1314
- type: ParseArgsOptionsType;
1315
- /**
1316
- * Whether this option can be provided multiple times.
1317
- * If `true`, all values will be collected in an array.
1318
- * If `false`, values for the option are last-wins.
1319
- * @default false.
1320
- */
1321
- multiple?: boolean | undefined;
1322
- /**
1323
- * A single character alias for the option.
1324
- */
1325
- short?: string | undefined;
1326
- /**
1327
- * The value to assign to
1328
- * the option if it does not appear in the arguments to be parsed. The value
1329
- * must match the type specified by the `type` property. If `multiple` is
1330
- * `true`, it must be an array. No default value is applied when the option
1331
- * does appear in the arguments to be parsed, even if the provided value
1332
- * is falsy.
1333
- * @since v18.11.0
1334
- */
1335
- default?: string | boolean | string[] | boolean[] | undefined;
1336
- }
1337
- export interface ParseArgsOptionsConfig {
1338
- [longOption: string]: ParseArgsOptionDescriptor;
1339
- }
1340
- export interface ParseArgsConfig {
1341
- /**
1342
- * Array of argument strings.
1343
- */
1344
- args?: readonly string[] | undefined;
1345
- /**
1346
- * Used to describe arguments known to the parser.
1347
- */
1348
- options?: ParseArgsOptionsConfig | undefined;
1349
- /**
1350
- * Should an error be thrown when unknown arguments are encountered,
1351
- * or when arguments are passed that do not match the `type` configured in `options`.
1352
- * @default true
1353
- */
1354
- strict?: boolean | undefined;
1355
- /**
1356
- * Whether this command accepts positional arguments.
1357
- */
1358
- allowPositionals?: boolean | undefined;
1359
- /**
1360
- * If `true`, allows explicitly setting boolean options to `false` by prefixing the option name with `--no-`.
1361
- * @default false
1362
- * @since v22.4.0
1363
- */
1364
- allowNegative?: boolean | undefined;
1365
- /**
1366
- * Return the parsed tokens. This is useful for extending the built-in behavior,
1367
- * from adding additional checks through to reprocessing the tokens in different ways.
1368
- * @default false
1369
- */
1370
- tokens?: boolean | undefined;
1371
- }
1372
- /*
1373
- IfDefaultsTrue and IfDefaultsFalse are helpers to handle default values for missing boolean properties.
1374
- TypeScript does not have exact types for objects: https://github.com/microsoft/TypeScript/issues/12936
1375
- This means it is impossible to distinguish between "field X is definitely not present" and "field X may or may not be present".
1376
- But we expect users to generally provide their config inline or `as const`, which means TS will always know whether a given field is present.
1377
- So this helper treats "not definitely present" (i.e., not `extends boolean`) as being "definitely not present", i.e. it should have its default value.
1378
- This is technically incorrect but is a much nicer UX for the common case.
1379
- The IfDefaultsTrue version is for things which default to true; the IfDefaultsFalse version is for things which default to false.
1380
- */
1381
- type IfDefaultsTrue<T, IfTrue, IfFalse> = T extends true ? IfTrue
1382
- : T extends false ? IfFalse
1383
- : IfTrue;
1384
- // we put the `extends false` condition first here because `undefined` compares like `any` when `strictNullChecks: false`
1385
- type IfDefaultsFalse<T, IfTrue, IfFalse> = T extends false ? IfFalse
1386
- : T extends true ? IfTrue
1387
- : IfFalse;
1388
- type ExtractOptionValue<T extends ParseArgsConfig, O extends ParseArgsOptionDescriptor> = IfDefaultsTrue<
1389
- T["strict"],
1390
- O["type"] extends "string" ? string : O["type"] extends "boolean" ? boolean : string | boolean,
1391
- string | boolean
1392
- >;
1393
- type ApplyOptionalModifiers<O extends ParseArgsOptionsConfig, V extends Record<keyof O, unknown>> = (
1394
- & { -readonly [LongOption in keyof O]?: V[LongOption] }
1395
- & { [LongOption in keyof O as O[LongOption]["default"] extends {} ? LongOption : never]: V[LongOption] }
1396
- ) extends infer P ? { [K in keyof P]: P[K] } : never; // resolve intersection to object
1397
- type ParsedValues<T extends ParseArgsConfig> =
1398
- & IfDefaultsTrue<T["strict"], unknown, { [longOption: string]: undefined | string | boolean }>
1399
- & (T["options"] extends ParseArgsOptionsConfig ? ApplyOptionalModifiers<
1400
- T["options"],
1401
- {
1402
- [LongOption in keyof T["options"]]: IfDefaultsFalse<
1403
- T["options"][LongOption]["multiple"],
1404
- Array<ExtractOptionValue<T, T["options"][LongOption]>>,
1405
- ExtractOptionValue<T, T["options"][LongOption]>
1406
- >;
1407
- }
1408
- >
1409
- : {});
1410
- type ParsedPositionals<T extends ParseArgsConfig> = IfDefaultsTrue<
1411
- T["strict"],
1412
- IfDefaultsFalse<T["allowPositionals"], string[], []>,
1413
- IfDefaultsTrue<T["allowPositionals"], string[], []>
1414
- >;
1415
- type PreciseTokenForOptions<
1416
- K extends string,
1417
- O extends ParseArgsOptionDescriptor,
1418
- > = O["type"] extends "string" ? {
1419
- kind: "option";
1420
- index: number;
1421
- name: K;
1422
- rawName: string;
1423
- value: string;
1424
- inlineValue: boolean;
1425
- }
1426
- : O["type"] extends "boolean" ? {
1427
- kind: "option";
1428
- index: number;
1429
- name: K;
1430
- rawName: string;
1431
- value: undefined;
1432
- inlineValue: undefined;
1433
- }
1434
- : OptionToken & { name: K };
1435
- type TokenForOptions<
1436
- T extends ParseArgsConfig,
1437
- K extends keyof T["options"] = keyof T["options"],
1438
- > = K extends unknown
1439
- ? T["options"] extends ParseArgsOptionsConfig ? PreciseTokenForOptions<K & string, T["options"][K]>
1440
- : OptionToken
1441
- : never;
1442
- type ParsedOptionToken<T extends ParseArgsConfig> = IfDefaultsTrue<T["strict"], TokenForOptions<T>, OptionToken>;
1443
- type ParsedPositionalToken<T extends ParseArgsConfig> = IfDefaultsTrue<
1444
- T["strict"],
1445
- IfDefaultsFalse<T["allowPositionals"], { kind: "positional"; index: number; value: string }, never>,
1446
- IfDefaultsTrue<T["allowPositionals"], { kind: "positional"; index: number; value: string }, never>
1447
- >;
1448
- type ParsedTokens<T extends ParseArgsConfig> = Array<
1449
- ParsedOptionToken<T> | ParsedPositionalToken<T> | { kind: "option-terminator"; index: number }
1450
- >;
1451
- type PreciseParsedResults<T extends ParseArgsConfig> = IfDefaultsFalse<
1452
- T["tokens"],
1453
- {
1454
- values: ParsedValues<T>;
1455
- positionals: ParsedPositionals<T>;
1456
- tokens: ParsedTokens<T>;
1457
- },
1458
- {
1459
- values: ParsedValues<T>;
1460
- positionals: ParsedPositionals<T>;
1461
- }
1462
- >;
1463
- type OptionToken =
1464
- | { kind: "option"; index: number; name: string; rawName: string; value: string; inlineValue: boolean }
1465
- | {
1466
- kind: "option";
1467
- index: number;
1468
- name: string;
1469
- rawName: string;
1470
- value: undefined;
1471
- inlineValue: undefined;
1472
- };
1473
- type Token =
1474
- | OptionToken
1475
- | { kind: "positional"; index: number; value: string }
1476
- | { kind: "option-terminator"; index: number };
1477
- // If ParseArgsConfig extends T, then the user passed config constructed elsewhere.
1478
- // So we can't rely on the `"not definitely present" implies "definitely not present"` assumption mentioned above.
1479
- type ParsedResults<T extends ParseArgsConfig> = ParseArgsConfig extends T ? {
1480
- values: {
1481
- [longOption: string]: undefined | string | boolean | Array<string | boolean>;
1482
- };
1483
- positionals: string[];
1484
- tokens?: Token[];
1485
- }
1486
- : PreciseParsedResults<T>;
1487
- /**
1488
- * An implementation of [the MIMEType class](https://bmeck.github.io/node-proposal-mime-api/).
1489
- *
1490
- * In accordance with browser conventions, all properties of `MIMEType` objects
1491
- * are implemented as getters and setters on the class prototype, rather than as
1492
- * data properties on the object itself.
1493
- *
1494
- * A MIME string is a structured string containing multiple meaningful
1495
- * components. When parsed, a `MIMEType` object is returned containing
1496
- * properties for each of these components.
1497
- * @since v19.1.0, v18.13.0
1498
- */
1499
- export class MIMEType {
1500
- /**
1501
- * Creates a new MIMEType object by parsing the input.
1502
- *
1503
- * A `TypeError` will be thrown if the `input` is not a valid MIME.
1504
- * Note that an effort will be made to coerce the given values into strings.
1505
- * @param input The input MIME to parse.
1506
- */
1507
- constructor(input: string | { toString: () => string });
1508
- /**
1509
- * Gets and sets the type portion of the MIME.
1510
- *
1511
- * ```js
1512
- * import { MIMEType } from 'node:util';
1513
- *
1514
- * const myMIME = new MIMEType('text/javascript');
1515
- * console.log(myMIME.type);
1516
- * // Prints: text
1517
- * myMIME.type = 'application';
1518
- * console.log(myMIME.type);
1519
- * // Prints: application
1520
- * console.log(String(myMIME));
1521
- * // Prints: application/javascript
1522
- * ```
1523
- */
1524
- type: string;
1525
- /**
1526
- * Gets and sets the subtype portion of the MIME.
1527
- *
1528
- * ```js
1529
- * import { MIMEType } from 'node:util';
1530
- *
1531
- * const myMIME = new MIMEType('text/ecmascript');
1532
- * console.log(myMIME.subtype);
1533
- * // Prints: ecmascript
1534
- * myMIME.subtype = 'javascript';
1535
- * console.log(myMIME.subtype);
1536
- * // Prints: javascript
1537
- * console.log(String(myMIME));
1538
- * // Prints: text/javascript
1539
- * ```
1540
- */
1541
- subtype: string;
1542
- /**
1543
- * Gets the essence of the MIME. This property is read only.
1544
- * Use `mime.type` or `mime.subtype` to alter the MIME.
1545
- *
1546
- * ```js
1547
- * import { MIMEType } from 'node:util';
1548
- *
1549
- * const myMIME = new MIMEType('text/javascript;key=value');
1550
- * console.log(myMIME.essence);
1551
- * // Prints: text/javascript
1552
- * myMIME.type = 'application';
1553
- * console.log(myMIME.essence);
1554
- * // Prints: application/javascript
1555
- * console.log(String(myMIME));
1556
- * // Prints: application/javascript;key=value
1557
- * ```
1558
- */
1559
- readonly essence: string;
1560
- /**
1561
- * Gets the `MIMEParams` object representing the
1562
- * parameters of the MIME. This property is read-only. See `MIMEParams` documentation for details.
1563
- */
1564
- readonly params: MIMEParams;
1565
- /**
1566
- * The `toString()` method on the `MIMEType` object returns the serialized MIME.
1567
- *
1568
- * Because of the need for standard compliance, this method does not allow users
1569
- * to customize the serialization process of the MIME.
1570
- */
1571
- toString(): string;
1572
- }
1573
- /**
1574
- * The `MIMEParams` API provides read and write access to the parameters of a `MIMEType`.
1575
- * @since v19.1.0, v18.13.0
1576
- */
1577
- export class MIMEParams {
1578
- /**
1579
- * Remove all name-value pairs whose name is `name`.
1580
- */
1581
- delete(name: string): void;
1582
- /**
1583
- * Returns an iterator over each of the name-value pairs in the parameters.
1584
- * Each item of the iterator is a JavaScript `Array`. The first item of the array
1585
- * is the `name`, the second item of the array is the `value`.
1586
- */
1587
- entries(): NodeJS.Iterator<[name: string, value: string]>;
1588
- /**
1589
- * Returns the value of the first name-value pair whose name is `name`. If there
1590
- * are no such pairs, `null` is returned.
1591
- * @return or `null` if there is no name-value pair with the given `name`.
1592
- */
1593
- get(name: string): string | null;
1594
- /**
1595
- * Returns `true` if there is at least one name-value pair whose name is `name`.
1596
- */
1597
- has(name: string): boolean;
1598
- /**
1599
- * Returns an iterator over the names of each name-value pair.
1600
- *
1601
- * ```js
1602
- * import { MIMEType } from 'node:util';
1603
- *
1604
- * const { params } = new MIMEType('text/plain;foo=0;bar=1');
1605
- * for (const name of params.keys()) {
1606
- * console.log(name);
1607
- * }
1608
- * // Prints:
1609
- * // foo
1610
- * // bar
1611
- * ```
1612
- */
1613
- keys(): NodeJS.Iterator<string>;
1614
- /**
1615
- * Sets the value in the `MIMEParams` object associated with `name` to `value`. If there are any pre-existing name-value pairs whose names are `name`,
1616
- * set the first such pair's value to `value`.
1617
- *
1618
- * ```js
1619
- * import { MIMEType } from 'node:util';
1620
- *
1621
- * const { params } = new MIMEType('text/plain;foo=0;bar=1');
1622
- * params.set('foo', 'def');
1623
- * params.set('baz', 'xyz');
1624
- * console.log(params.toString());
1625
- * // Prints: foo=def;bar=1;baz=xyz
1626
- * ```
1627
- */
1628
- set(name: string, value: string): void;
1629
- /**
1630
- * Returns an iterator over the values of each name-value pair.
1631
- */
1632
- values(): NodeJS.Iterator<string>;
1633
- /**
1634
- * Returns an iterator over each of the name-value pairs in the parameters.
1635
- */
1636
- [Symbol.iterator](): NodeJS.Iterator<[name: string, value: string]>;
1637
- }
1638
- // #region web types
1639
- export interface TextDecodeOptions {
1640
- stream?: boolean;
1641
- }
1642
- export interface TextDecoderCommon {
1643
- readonly encoding: string;
1644
- readonly fatal: boolean;
1645
- readonly ignoreBOM: boolean;
1646
- }
1647
- export interface TextDecoderOptions {
1648
- fatal?: boolean;
1649
- ignoreBOM?: boolean;
1650
- }
1651
- export interface TextEncoderCommon {
1652
- readonly encoding: string;
1653
- }
1654
- export interface TextEncoderEncodeIntoResult {
1655
- read: number;
1656
- written: number;
1657
- }
1658
- export interface TextDecoder extends TextDecoderCommon {
1659
- decode(input?: NodeJS.AllowSharedBufferSource, options?: TextDecodeOptions): string;
1660
- }
1661
- export var TextDecoder: {
1662
- prototype: TextDecoder;
1663
- new(label?: string, options?: TextDecoderOptions): TextDecoder;
1664
- };
1665
- export interface TextEncoder extends TextEncoderCommon {
1666
- encode(input?: string): NodeJS.NonSharedUint8Array;
1667
- encodeInto(source: string, destination: Uint8Array): TextEncoderEncodeIntoResult;
1668
- }
1669
- export var TextEncoder: {
1670
- prototype: TextEncoder;
1671
- new(): TextEncoder;
1672
- };
1673
- // #endregion
1674
- }
1675
- declare module "util" {
1676
- export * from "node:util";
1677
- }