@bleedingdev/modern-js-utils 3.2.0-ultramodern.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 (387) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +26 -0
  3. package/dist/cjs/cli/alias.js +82 -0
  4. package/dist/cjs/cli/applyOptionsChain.js +50 -0
  5. package/dist/cjs/cli/commands.js +69 -0
  6. package/dist/cjs/cli/common.js +59 -0
  7. package/dist/cjs/cli/config.js +39 -0
  8. package/dist/cjs/cli/constants.js +136 -0
  9. package/dist/cjs/cli/ensure.js +56 -0
  10. package/dist/cjs/cli/fs.js +46 -0
  11. package/dist/cjs/cli/get/config.js +48 -0
  12. package/dist/cjs/cli/get/data.js +106 -0
  13. package/dist/cjs/cli/get/index.js +112 -0
  14. package/dist/cjs/cli/index.js +212 -0
  15. package/dist/cjs/cli/is/config.js +86 -0
  16. package/dist/cjs/cli/is/env.js +52 -0
  17. package/dist/cjs/cli/is/index.js +79 -0
  18. package/dist/cjs/cli/is/project.js +147 -0
  19. package/dist/cjs/cli/is/type.js +84 -0
  20. package/dist/cjs/cli/logger.js +39 -0
  21. package/dist/cjs/cli/modulePath.js +87 -0
  22. package/dist/cjs/cli/monorepo.js +110 -0
  23. package/dist/cjs/cli/package.js +97 -0
  24. package/dist/cjs/cli/path.js +111 -0
  25. package/dist/cjs/cli/port.js +79 -0
  26. package/dist/cjs/cli/prettyInstructions.js +117 -0
  27. package/dist/cjs/cli/require.js +127 -0
  28. package/dist/cjs/cli/route.js +76 -0
  29. package/dist/cjs/cli/runtimeExports.js +86 -0
  30. package/dist/cjs/cli/tsconfig.js +51 -0
  31. package/dist/cjs/cli/version.js +67 -0
  32. package/dist/cjs/cli/watch.js +87 -0
  33. package/dist/cjs/compiled.js +209 -0
  34. package/dist/cjs/import.js +56 -0
  35. package/dist/cjs/index.js +72 -0
  36. package/dist/cjs/universal/constants.js +84 -0
  37. package/dist/cjs/universal/index.js +36 -0
  38. package/dist/cjs/universal/path.js +36 -0
  39. package/dist/cjs/universal/pluginDagSort.js +75 -0
  40. package/dist/compiled/address/index.js +171 -0
  41. package/dist/compiled/address/lib/address.d.ts +28 -0
  42. package/dist/compiled/address/package.json +1 -0
  43. package/dist/compiled/browserslist/index.d.ts +178 -0
  44. package/dist/compiled/browserslist/index.js +1329 -0
  45. package/dist/compiled/browserslist/license +20 -0
  46. package/dist/compiled/browserslist/package.json +1 -0
  47. package/dist/compiled/chalk/index.d.ts +415 -0
  48. package/dist/compiled/chalk/index.js +2368 -0
  49. package/dist/compiled/chalk/license +9 -0
  50. package/dist/compiled/chalk/package.json +1 -0
  51. package/dist/compiled/chokidar/anymatch/index.d.ts +19 -0
  52. package/dist/compiled/chokidar/fsevents.node +0 -0
  53. package/dist/compiled/chokidar/index.js +4162 -0
  54. package/dist/compiled/chokidar/index.js.LICENSE.txt +41 -0
  55. package/dist/compiled/chokidar/license +21 -0
  56. package/dist/compiled/chokidar/package.json +1 -0
  57. package/dist/compiled/chokidar/types/index.d.ts +188 -0
  58. package/dist/compiled/commander/index.js +1540 -0
  59. package/dist/compiled/commander/index.mjs +2 -0
  60. package/dist/compiled/commander/license +22 -0
  61. package/dist/compiled/commander/package.json +1 -0
  62. package/dist/compiled/commander/typings/index.d.ts +890 -0
  63. package/dist/compiled/debug/index.d.ts +54 -0
  64. package/dist/compiled/debug/index.js +621 -0
  65. package/dist/compiled/debug/license +20 -0
  66. package/dist/compiled/debug/ms/index.d.ts +25 -0
  67. package/dist/compiled/debug/package.json +1 -0
  68. package/dist/compiled/dotenv/index.js +101 -0
  69. package/dist/compiled/dotenv/license +23 -0
  70. package/dist/compiled/dotenv/package.json +1 -0
  71. package/dist/compiled/dotenv/types/index.d.ts +59 -0
  72. package/dist/compiled/dotenv-expand/index.d.ts +15 -0
  73. package/dist/compiled/dotenv-expand/index.js +54 -0
  74. package/dist/compiled/dotenv-expand/license +24 -0
  75. package/dist/compiled/dotenv-expand/package.json +1 -0
  76. package/dist/compiled/execa/index.d.ts +564 -0
  77. package/dist/compiled/execa/index.js +1738 -0
  78. package/dist/compiled/execa/license +9 -0
  79. package/dist/compiled/execa/package.json +1 -0
  80. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
  81. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +12 -0
  82. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
  83. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +20 -0
  84. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
  85. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
  86. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +12 -0
  87. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
  88. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +16 -0
  89. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +4 -0
  90. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +14 -0
  91. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
  92. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
  93. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
  94. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +30 -0
  95. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +8 -0
  96. package/dist/compiled/fast-glob/index.js +4665 -0
  97. package/dist/compiled/fast-glob/index.js.LICENSE.txt +38 -0
  98. package/dist/compiled/fast-glob/license +21 -0
  99. package/dist/compiled/fast-glob/out/index.d.ts +27 -0
  100. package/dist/compiled/fast-glob/out/managers/tasks.d.ts +22 -0
  101. package/dist/compiled/fast-glob/out/settings.d.ts +164 -0
  102. package/dist/compiled/fast-glob/out/types/index.d.ts +31 -0
  103. package/dist/compiled/fast-glob/package.json +1 -0
  104. package/dist/compiled/filesize/filesize.d.ts +131 -0
  105. package/dist/compiled/filesize/index.js +198 -0
  106. package/dist/compiled/filesize/index.js.LICENSE.txt +7 -0
  107. package/dist/compiled/filesize/license +28 -0
  108. package/dist/compiled/filesize/package.json +1 -0
  109. package/dist/compiled/fs-extra/index.d.ts +563 -0
  110. package/dist/compiled/fs-extra/index.js +2222 -0
  111. package/dist/compiled/fs-extra/license +15 -0
  112. package/dist/compiled/fs-extra/package.json +1 -0
  113. package/dist/compiled/glob/index.d.ts +91 -0
  114. package/dist/compiled/glob/index.js +2011 -0
  115. package/dist/compiled/glob/license +21 -0
  116. package/dist/compiled/glob/minimatch/index.d.ts +204 -0
  117. package/dist/compiled/glob/package.json +1 -0
  118. package/dist/compiled/globby/index.d.ts +186 -0
  119. package/dist/compiled/globby/index.js +690 -0
  120. package/dist/compiled/globby/license +9 -0
  121. package/dist/compiled/globby/package.json +1 -0
  122. package/dist/compiled/gzip-size/index.d.ts +96 -0
  123. package/dist/compiled/gzip-size/index.js +157 -0
  124. package/dist/compiled/gzip-size/license +9 -0
  125. package/dist/compiled/gzip-size/package.json +1 -0
  126. package/dist/compiled/import-lazy/index.d.ts +26 -0
  127. package/dist/compiled/import-lazy/index.js +45 -0
  128. package/dist/compiled/import-lazy/license +9 -0
  129. package/dist/compiled/import-lazy/package.json +1 -0
  130. package/dist/compiled/inquirer/index.d.ts +997 -0
  131. package/dist/compiled/inquirer/index.js +20167 -0
  132. package/dist/compiled/inquirer/index.js.LICENSE.txt +7 -0
  133. package/dist/compiled/inquirer/lib/objects/choice.d.ts +65 -0
  134. package/dist/compiled/inquirer/lib/objects/choices.d.ts +206 -0
  135. package/dist/compiled/inquirer/lib/objects/separator.d.ts +37 -0
  136. package/dist/compiled/inquirer/lib/ui/baseUI.d.ts +37 -0
  137. package/dist/compiled/inquirer/lib/ui/bottom-bar.d.ts +65 -0
  138. package/dist/compiled/inquirer/lib/ui/prompt.d.ts +104 -0
  139. package/dist/compiled/inquirer/license +22 -0
  140. package/dist/compiled/inquirer/package.json +1 -0
  141. package/dist/compiled/inquirer/through/index.d.ts +25 -0
  142. package/dist/compiled/js-yaml/index.d.ts +154 -0
  143. package/dist/compiled/js-yaml/index.js +2191 -0
  144. package/dist/compiled/js-yaml/index.mjs +2167 -0
  145. package/dist/compiled/js-yaml/index.mjs.LICENSE.txt +1 -0
  146. package/dist/compiled/js-yaml/license +21 -0
  147. package/dist/compiled/js-yaml/package.json +1 -0
  148. package/dist/compiled/json5/index.js +983 -0
  149. package/dist/compiled/json5/lib/index.d.ts +4 -0
  150. package/dist/compiled/json5/lib/parse.d.ts +15 -0
  151. package/dist/compiled/json5/lib/stringify.d.ts +89 -0
  152. package/dist/compiled/json5/package.json +1 -0
  153. package/dist/compiled/lodash/common/array.d.ts +2126 -0
  154. package/dist/compiled/lodash/common/collection.d.ts +1930 -0
  155. package/dist/compiled/lodash/common/common.d.ts +280 -0
  156. package/dist/compiled/lodash/common/date.d.ts +23 -0
  157. package/dist/compiled/lodash/common/function.d.ts +1446 -0
  158. package/dist/compiled/lodash/common/lang.d.ts +1693 -0
  159. package/dist/compiled/lodash/common/math.d.ts +405 -0
  160. package/dist/compiled/lodash/common/number.d.ts +131 -0
  161. package/dist/compiled/lodash/common/object.d.ts +2519 -0
  162. package/dist/compiled/lodash/common/seq.d.ts +210 -0
  163. package/dist/compiled/lodash/common/string.d.ts +788 -0
  164. package/dist/compiled/lodash/common/util.d.ts +1220 -0
  165. package/dist/compiled/lodash/index.d.ts +46 -0
  166. package/dist/compiled/lodash/index.js +1 -0
  167. package/dist/compiled/lodash/index.mjs +1 -0
  168. package/dist/compiled/lodash/license +47 -0
  169. package/dist/compiled/lodash/package.json +1 -0
  170. package/dist/compiled/mime-types/index.d.ts +14 -0
  171. package/dist/compiled/mime-types/index.js +116 -0
  172. package/dist/compiled/mime-types/index.js.LICENSE.txt +13 -0
  173. package/dist/compiled/mime-types/license +23 -0
  174. package/dist/compiled/mime-types/package.json +1 -0
  175. package/dist/compiled/minimist/index.d.ts +95 -0
  176. package/dist/compiled/minimist/index.js +202 -0
  177. package/dist/compiled/minimist/license +18 -0
  178. package/dist/compiled/minimist/package.json +1 -0
  179. package/dist/compiled/nanoid/index.d.ts +91 -0
  180. package/dist/compiled/nanoid/index.js +83 -0
  181. package/dist/compiled/nanoid/index.mjs +69 -0
  182. package/dist/compiled/nanoid/license +20 -0
  183. package/dist/compiled/nanoid/package.json +1 -0
  184. package/dist/compiled/ora/cli-spinners/index.d.ts +125 -0
  185. package/dist/compiled/ora/index.d.ts +277 -0
  186. package/dist/compiled/ora/index.js +3936 -0
  187. package/dist/compiled/ora/index.js.LICENSE.txt +1 -0
  188. package/dist/compiled/ora/license +9 -0
  189. package/dist/compiled/ora/package.json +1 -0
  190. package/dist/compiled/pkg-up/index.d.ts +48 -0
  191. package/dist/compiled/pkg-up/index.js +15 -0
  192. package/dist/compiled/pkg-up/license +9 -0
  193. package/dist/compiled/pkg-up/package.json +1 -0
  194. package/dist/compiled/semver/classes/comparator.d.ts +17 -0
  195. package/dist/compiled/semver/classes/range.d.ts +21 -0
  196. package/dist/compiled/semver/classes/semver.d.ts +62 -0
  197. package/dist/compiled/semver/functions/clean.d.ts +8 -0
  198. package/dist/compiled/semver/functions/cmp.d.ts +16 -0
  199. package/dist/compiled/semver/functions/coerce.d.ts +12 -0
  200. package/dist/compiled/semver/functions/compare-build.d.ts +16 -0
  201. package/dist/compiled/semver/functions/compare-loose.d.ts +5 -0
  202. package/dist/compiled/semver/functions/compare.d.ts +20 -0
  203. package/dist/compiled/semver/functions/diff.d.ts +13 -0
  204. package/dist/compiled/semver/functions/eq.d.ts +9 -0
  205. package/dist/compiled/semver/functions/gt.d.ts +9 -0
  206. package/dist/compiled/semver/functions/gte.d.ts +9 -0
  207. package/dist/compiled/semver/functions/inc.d.ts +15 -0
  208. package/dist/compiled/semver/functions/lt.d.ts +9 -0
  209. package/dist/compiled/semver/functions/lte.d.ts +8 -0
  210. package/dist/compiled/semver/functions/major.d.ts +9 -0
  211. package/dist/compiled/semver/functions/minor.d.ts +9 -0
  212. package/dist/compiled/semver/functions/neq.d.ts +9 -0
  213. package/dist/compiled/semver/functions/parse.d.ts +12 -0
  214. package/dist/compiled/semver/functions/patch.d.ts +9 -0
  215. package/dist/compiled/semver/functions/prerelease.d.ts +12 -0
  216. package/dist/compiled/semver/functions/rcompare.d.ts +15 -0
  217. package/dist/compiled/semver/functions/rsort.d.ts +9 -0
  218. package/dist/compiled/semver/functions/satisfies.d.ts +14 -0
  219. package/dist/compiled/semver/functions/sort.d.ts +9 -0
  220. package/dist/compiled/semver/functions/valid.d.ts +11 -0
  221. package/dist/compiled/semver/index.d.ts +133 -0
  222. package/dist/compiled/semver/index.js +1779 -0
  223. package/dist/compiled/semver/internals/identifiers.d.ts +13 -0
  224. package/dist/compiled/semver/license +15 -0
  225. package/dist/compiled/semver/package.json +1 -0
  226. package/dist/compiled/semver/ranges/gtr.d.ts +14 -0
  227. package/dist/compiled/semver/ranges/intersects.d.ts +13 -0
  228. package/dist/compiled/semver/ranges/ltr.d.ts +14 -0
  229. package/dist/compiled/semver/ranges/max-satisfying.d.ts +14 -0
  230. package/dist/compiled/semver/ranges/min-satisfying.d.ts +14 -0
  231. package/dist/compiled/semver/ranges/min-version.d.ts +10 -0
  232. package/dist/compiled/semver/ranges/outside.d.ts +15 -0
  233. package/dist/compiled/semver/ranges/simplify.d.ts +14 -0
  234. package/dist/compiled/semver/ranges/subset.d.ts +13 -0
  235. package/dist/compiled/semver/ranges/to-comparators.d.ts +9 -0
  236. package/dist/compiled/semver/ranges/valid.d.ts +12 -0
  237. package/dist/compiled/signale/index.d.ts +162 -0
  238. package/dist/compiled/signale/index.js +1704 -0
  239. package/dist/compiled/signale/package.json +1 -0
  240. package/dist/compiled/slash/index.d.ts +25 -0
  241. package/dist/compiled/slash/index.js +32 -0
  242. package/dist/compiled/slash/license +9 -0
  243. package/dist/compiled/slash/package.json +1 -0
  244. package/dist/compiled/strip-ansi/index.d.ts +17 -0
  245. package/dist/compiled/strip-ansi/index.js +34 -0
  246. package/dist/compiled/strip-ansi/license +9 -0
  247. package/dist/compiled/strip-ansi/package.json +1 -0
  248. package/dist/compiled/tsconfig-paths/index.js +629 -0
  249. package/dist/compiled/tsconfig-paths/index.mjs +2 -0
  250. package/dist/compiled/tsconfig-paths/lib/config-loader.d.ts +33 -0
  251. package/dist/compiled/tsconfig-paths/lib/filesystem.d.ts +34 -0
  252. package/dist/compiled/tsconfig-paths/lib/index.d.ts +5 -0
  253. package/dist/compiled/tsconfig-paths/lib/mapping-entry.d.ts +18 -0
  254. package/dist/compiled/tsconfig-paths/lib/match-path-async.d.ts +21 -0
  255. package/dist/compiled/tsconfig-paths/lib/match-path-sync.d.ts +32 -0
  256. package/dist/compiled/tsconfig-paths/lib/register.d.ts +12 -0
  257. package/dist/compiled/tsconfig-paths/lib/try-path.d.ts +15 -0
  258. package/dist/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +28 -0
  259. package/dist/compiled/tsconfig-paths/license +21 -0
  260. package/dist/compiled/tsconfig-paths/package.json +1 -0
  261. package/dist/compiled/upath/index.js +135 -0
  262. package/dist/compiled/upath/license +22 -0
  263. package/dist/compiled/upath/package.json +1 -0
  264. package/dist/compiled/upath/upath.d.ts +241 -0
  265. package/dist/compiled/url-join/index.d.ts +17 -0
  266. package/dist/compiled/url-join/index.js +61 -0
  267. package/dist/compiled/url-join/license +21 -0
  268. package/dist/compiled/url-join/package.json +1 -0
  269. package/dist/compiled/webpack-chain/index.js +1475 -0
  270. package/dist/compiled/webpack-chain/license +373 -0
  271. package/dist/compiled/webpack-chain/package.json +1 -0
  272. package/dist/compiled/webpack-chain/types/index.d.ts +599 -0
  273. package/dist/esm/cli/alias.mjs +31 -0
  274. package/dist/esm/cli/applyOptionsChain.mjs +16 -0
  275. package/dist/esm/cli/commands.mjs +23 -0
  276. package/dist/esm/cli/common.mjs +9 -0
  277. package/dist/esm/cli/config.mjs +5 -0
  278. package/dist/esm/cli/constants.mjs +30 -0
  279. package/dist/esm/cli/ensure.mjs +9 -0
  280. package/dist/esm/cli/fs.mjs +9 -0
  281. package/dist/esm/cli/get/config.mjs +14 -0
  282. package/dist/esm/cli/get/data.mjs +49 -0
  283. package/dist/esm/cli/get/index.mjs +18 -0
  284. package/dist/esm/cli/index.mjs +23 -0
  285. package/dist/esm/cli/is/config.mjs +37 -0
  286. package/dist/esm/cli/is/env.mjs +6 -0
  287. package/dist/esm/cli/is/index.mjs +4 -0
  288. package/dist/esm/cli/is/project.mjs +75 -0
  289. package/dist/esm/cli/is/type.mjs +26 -0
  290. package/dist/esm/cli/logger.mjs +1 -0
  291. package/dist/esm/cli/modulePath.mjs +33 -0
  292. package/dist/esm/cli/monorepo.mjs +50 -0
  293. package/dist/esm/cli/package.mjs +51 -0
  294. package/dist/esm/cli/path.mjs +35 -0
  295. package/dist/esm/cli/port.mjs +35 -0
  296. package/dist/esm/cli/prettyInstructions.mjs +70 -0
  297. package/dist/esm/cli/require.mjs +79 -0
  298. package/dist/esm/cli/route.mjs +36 -0
  299. package/dist/esm/cli/runtimeExports.mjs +42 -0
  300. package/dist/esm/cli/tsconfig.mjs +7 -0
  301. package/dist/esm/cli/version.mjs +24 -0
  302. package/dist/esm/cli/watch.mjs +40 -0
  303. package/dist/esm/compiled.mjs +45 -0
  304. package/dist/esm/import.mjs +9 -0
  305. package/dist/esm/index.mjs +3 -0
  306. package/dist/esm/rslib-runtime.mjs +12 -0
  307. package/dist/esm/universal/constants.mjs +14 -0
  308. package/dist/esm/universal/index.mjs +1 -0
  309. package/dist/esm/universal/path.mjs +2 -0
  310. package/dist/esm/universal/pluginDagSort.mjs +41 -0
  311. package/dist/esm-node/cli/alias.mjs +32 -0
  312. package/dist/esm-node/cli/applyOptionsChain.mjs +17 -0
  313. package/dist/esm-node/cli/commands.mjs +24 -0
  314. package/dist/esm-node/cli/common.mjs +10 -0
  315. package/dist/esm-node/cli/config.mjs +6 -0
  316. package/dist/esm-node/cli/constants.mjs +31 -0
  317. package/dist/esm-node/cli/ensure.mjs +10 -0
  318. package/dist/esm-node/cli/fs.mjs +10 -0
  319. package/dist/esm-node/cli/get/config.mjs +15 -0
  320. package/dist/esm-node/cli/get/data.mjs +50 -0
  321. package/dist/esm-node/cli/get/index.mjs +19 -0
  322. package/dist/esm-node/cli/index.mjs +24 -0
  323. package/dist/esm-node/cli/is/config.mjs +38 -0
  324. package/dist/esm-node/cli/is/env.mjs +7 -0
  325. package/dist/esm-node/cli/is/index.mjs +5 -0
  326. package/dist/esm-node/cli/is/project.mjs +76 -0
  327. package/dist/esm-node/cli/is/type.mjs +27 -0
  328. package/dist/esm-node/cli/logger.mjs +2 -0
  329. package/dist/esm-node/cli/modulePath.mjs +34 -0
  330. package/dist/esm-node/cli/monorepo.mjs +51 -0
  331. package/dist/esm-node/cli/package.mjs +52 -0
  332. package/dist/esm-node/cli/path.mjs +36 -0
  333. package/dist/esm-node/cli/port.mjs +36 -0
  334. package/dist/esm-node/cli/prettyInstructions.mjs +71 -0
  335. package/dist/esm-node/cli/require.mjs +80 -0
  336. package/dist/esm-node/cli/route.mjs +37 -0
  337. package/dist/esm-node/cli/runtimeExports.mjs +43 -0
  338. package/dist/esm-node/cli/tsconfig.mjs +8 -0
  339. package/dist/esm-node/cli/version.mjs +25 -0
  340. package/dist/esm-node/cli/watch.mjs +41 -0
  341. package/dist/esm-node/compiled.mjs +45 -0
  342. package/dist/esm-node/import.mjs +10 -0
  343. package/dist/esm-node/index.mjs +4 -0
  344. package/dist/esm-node/universal/constants.mjs +15 -0
  345. package/dist/esm-node/universal/index.mjs +2 -0
  346. package/dist/esm-node/universal/path.mjs +3 -0
  347. package/dist/esm-node/universal/pluginDagSort.mjs +42 -0
  348. package/dist/types/cli/alias.d.ts +20 -0
  349. package/dist/types/cli/applyOptionsChain.d.ts +3 -0
  350. package/dist/types/cli/commands.d.ts +8 -0
  351. package/dist/types/cli/common.d.ts +9 -0
  352. package/dist/types/cli/config.d.ts +4 -0
  353. package/dist/types/cli/constants.d.ts +55 -0
  354. package/dist/types/cli/ensure.d.ts +8 -0
  355. package/dist/types/cli/fs.d.ts +7 -0
  356. package/dist/types/cli/get/config.d.ts +1 -0
  357. package/dist/types/cli/get/data.d.ts +6 -0
  358. package/dist/types/cli/get/index.d.ts +11 -0
  359. package/dist/types/cli/index.d.ts +23 -0
  360. package/dist/types/cli/is/config.d.ts +22 -0
  361. package/dist/types/cli/is/env.d.ts +8 -0
  362. package/dist/types/cli/is/index.d.ts +4 -0
  363. package/dist/types/cli/is/project.d.ts +39 -0
  364. package/dist/types/cli/is/type.d.ts +15 -0
  365. package/dist/types/cli/logger.d.ts +1 -0
  366. package/dist/types/cli/modulePath.d.ts +5 -0
  367. package/dist/types/cli/monorepo.d.ts +9 -0
  368. package/dist/types/cli/package.d.ts +5 -0
  369. package/dist/types/cli/path.d.ts +11 -0
  370. package/dist/types/cli/port.d.ts +12 -0
  371. package/dist/types/cli/prettyInstructions.d.ts +9 -0
  372. package/dist/types/cli/require.d.ts +9 -0
  373. package/dist/types/cli/route.d.ts +4 -0
  374. package/dist/types/cli/runtimeExports.d.ts +5 -0
  375. package/dist/types/cli/tsconfig.d.ts +1 -0
  376. package/dist/types/cli/version.d.ts +4 -0
  377. package/dist/types/cli/watch.d.ts +8 -0
  378. package/dist/types/compiled.d.ts +37 -0
  379. package/dist/types/import.d.ts +5 -0
  380. package/dist/types/index.d.ts +3 -0
  381. package/dist/types/universal/constants.d.ts +47 -0
  382. package/dist/types/universal/index.d.ts +1 -0
  383. package/dist/types/universal/path.d.ts +1 -0
  384. package/dist/types/universal/pluginDagSort.d.ts +1 -0
  385. package/package.json +174 -0
  386. package/rslib.config.mts +162 -0
  387. package/rstest.config.mts +8 -0
@@ -0,0 +1,54 @@
1
+ // Type definitions for debug 4.1
2
+ // Project: https://github.com/visionmedia/debug
3
+ // Definitions by: Seon-Wook Park <https://github.com/swook>
4
+ // Gal Talmor <https://github.com/galtalmor>
5
+ // John McLaughlin <https://github.com/zamb3zi>
6
+ // Brasten Sager <https://github.com/brasten>
7
+ // Nicolas Penin <https://github.com/npenin>
8
+ // Kristian Brünn <https://github.com/kristianmitk>
9
+ // Caleb Gregory <https://github.com/calebgregory>
10
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
11
+
12
+ declare var debug: debug.Debug & { debug: debug.Debug; default: debug.Debug };
13
+
14
+ export = debug;
15
+ export as namespace debug;
16
+
17
+ declare namespace debug {
18
+ interface Debug {
19
+ (namespace: string): Debugger;
20
+ coerce: (val: any) => any;
21
+ disable: () => string;
22
+ enable: (namespaces: string) => void;
23
+ enabled: (namespaces: string) => boolean;
24
+ formatArgs: (this: Debugger, args: any[]) => void;
25
+ log: (...args: any[]) => any;
26
+ selectColor: (namespace: string) => string | number;
27
+ humanize: typeof import('./ms');
28
+
29
+ names: RegExp[];
30
+ skips: RegExp[];
31
+
32
+ formatters: Formatters;
33
+ }
34
+
35
+ type IDebug = Debug;
36
+
37
+ interface Formatters {
38
+ [formatter: string]: (v: any) => string;
39
+ }
40
+
41
+ type IDebugger = Debugger;
42
+
43
+ interface Debugger {
44
+ (formatter: any, ...args: any[]): void;
45
+
46
+ color: string;
47
+ diff: number;
48
+ enabled: boolean;
49
+ log: (...args: any[]) => any;
50
+ namespace: string;
51
+ destroy: () => boolean;
52
+ extend: (namespace: string, delimiter?: string) => Debugger;
53
+ }
54
+ }
@@ -0,0 +1,621 @@
1
+ (()=>{
2
+ var e = {
3
+ 434: (e, t, r)=>{
4
+ t.formatArgs = formatArgs;
5
+ t.save = save;
6
+ t.load = load;
7
+ t.useColors = useColors;
8
+ t.storage = localstorage();
9
+ t.destroy = (()=>{
10
+ let e = false;
11
+ return ()=>{
12
+ if (!e) {
13
+ e = true;
14
+ console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
15
+ }
16
+ };
17
+ })();
18
+ t.colors = [
19
+ "#0000CC",
20
+ "#0000FF",
21
+ "#0033CC",
22
+ "#0033FF",
23
+ "#0066CC",
24
+ "#0066FF",
25
+ "#0099CC",
26
+ "#0099FF",
27
+ "#00CC00",
28
+ "#00CC33",
29
+ "#00CC66",
30
+ "#00CC99",
31
+ "#00CCCC",
32
+ "#00CCFF",
33
+ "#3300CC",
34
+ "#3300FF",
35
+ "#3333CC",
36
+ "#3333FF",
37
+ "#3366CC",
38
+ "#3366FF",
39
+ "#3399CC",
40
+ "#3399FF",
41
+ "#33CC00",
42
+ "#33CC33",
43
+ "#33CC66",
44
+ "#33CC99",
45
+ "#33CCCC",
46
+ "#33CCFF",
47
+ "#6600CC",
48
+ "#6600FF",
49
+ "#6633CC",
50
+ "#6633FF",
51
+ "#66CC00",
52
+ "#66CC33",
53
+ "#9900CC",
54
+ "#9900FF",
55
+ "#9933CC",
56
+ "#9933FF",
57
+ "#99CC00",
58
+ "#99CC33",
59
+ "#CC0000",
60
+ "#CC0033",
61
+ "#CC0066",
62
+ "#CC0099",
63
+ "#CC00CC",
64
+ "#CC00FF",
65
+ "#CC3300",
66
+ "#CC3333",
67
+ "#CC3366",
68
+ "#CC3399",
69
+ "#CC33CC",
70
+ "#CC33FF",
71
+ "#CC6600",
72
+ "#CC6633",
73
+ "#CC9900",
74
+ "#CC9933",
75
+ "#CCCC00",
76
+ "#CCCC33",
77
+ "#FF0000",
78
+ "#FF0033",
79
+ "#FF0066",
80
+ "#FF0099",
81
+ "#FF00CC",
82
+ "#FF00FF",
83
+ "#FF3300",
84
+ "#FF3333",
85
+ "#FF3366",
86
+ "#FF3399",
87
+ "#FF33CC",
88
+ "#FF33FF",
89
+ "#FF6600",
90
+ "#FF6633",
91
+ "#FF9900",
92
+ "#FF9933",
93
+ "#FFCC00",
94
+ "#FFCC33"
95
+ ];
96
+ function useColors() {
97
+ if ("u" > typeof window && window.process && ("renderer" === window.process.type || window.process.__nwjs)) return true;
98
+ if ("u" > typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) return false;
99
+ return "u" > typeof document && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || "u" > typeof window && window.console && (window.console.firebug || window.console.exception && window.console.table) || "u" > typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || "u" > typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
100
+ }
101
+ function formatArgs(t) {
102
+ t[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + t[0] + (this.useColors ? "%c " : " ") + "+" + e.exports.humanize(this.diff);
103
+ if (!this.useColors) return;
104
+ const r = "color: " + this.color;
105
+ t.splice(1, 0, r, "color: inherit");
106
+ let s = 0;
107
+ let n = 0;
108
+ t[0].replace(/%[a-zA-Z%]/g, (e)=>{
109
+ if ("%%" === e) return;
110
+ s++;
111
+ if ("%c" === e) n = s;
112
+ });
113
+ t.splice(n, 0, r);
114
+ }
115
+ t.log = console.debug || console.log || (()=>{});
116
+ function save(e) {
117
+ try {
118
+ if (e) t.storage.setItem("debug", e);
119
+ else t.storage.removeItem("debug");
120
+ } catch (e) {}
121
+ }
122
+ function load() {
123
+ let e;
124
+ try {
125
+ e = t.storage.getItem("debug");
126
+ } catch (e) {}
127
+ if (!e && "u" > typeof process && "env" in process) e = process.env.DEBUG;
128
+ return e;
129
+ }
130
+ function localstorage() {
131
+ try {
132
+ return localStorage;
133
+ } catch (e) {}
134
+ }
135
+ e.exports = r(290)(t);
136
+ const { formatters: s } = e.exports;
137
+ s.j = function(e) {
138
+ try {
139
+ return JSON.stringify(e);
140
+ } catch (e) {
141
+ return "[UnexpectedJSONParseError]: " + e.message;
142
+ }
143
+ };
144
+ },
145
+ 290: (e, t, r)=>{
146
+ function setup(e) {
147
+ createDebug.debug = createDebug;
148
+ createDebug.default = createDebug;
149
+ createDebug.coerce = coerce;
150
+ createDebug.disable = disable;
151
+ createDebug.enable = enable;
152
+ createDebug.enabled = enabled;
153
+ createDebug.humanize = r(367);
154
+ createDebug.destroy = destroy;
155
+ Object.keys(e).forEach((t)=>{
156
+ createDebug[t] = e[t];
157
+ });
158
+ createDebug.names = [];
159
+ createDebug.skips = [];
160
+ createDebug.formatters = {};
161
+ function selectColor(e) {
162
+ let t = 0;
163
+ for(let r = 0; r < e.length; r++){
164
+ t = (t << 5) - t + e.charCodeAt(r);
165
+ t |= 0;
166
+ }
167
+ return createDebug.colors[Math.abs(t) % createDebug.colors.length];
168
+ }
169
+ createDebug.selectColor = selectColor;
170
+ function createDebug(e) {
171
+ let t;
172
+ let r = null;
173
+ let s;
174
+ let n;
175
+ function debug(...e) {
176
+ if (!debug.enabled) return;
177
+ const r = debug;
178
+ const s = Number(new Date);
179
+ const n = s - (t || s);
180
+ r.diff = n;
181
+ r.prev = t;
182
+ r.curr = s;
183
+ t = s;
184
+ e[0] = createDebug.coerce(e[0]);
185
+ if ("string" != typeof e[0]) e.unshift("%O");
186
+ let o = 0;
187
+ e[0] = e[0].replace(/%([a-zA-Z%])/g, (t, s)=>{
188
+ if ("%%" === t) return "%";
189
+ o++;
190
+ const n = createDebug.formatters[s];
191
+ if ("function" == typeof n) {
192
+ const s = e[o];
193
+ t = n.call(r, s);
194
+ e.splice(o, 1);
195
+ o--;
196
+ }
197
+ return t;
198
+ });
199
+ createDebug.formatArgs.call(r, e);
200
+ const a = r.log || createDebug.log;
201
+ a.apply(r, e);
202
+ }
203
+ debug.namespace = e;
204
+ debug.useColors = createDebug.useColors();
205
+ debug.color = createDebug.selectColor(e);
206
+ debug.extend = extend;
207
+ debug.destroy = createDebug.destroy;
208
+ Object.defineProperty(debug, "enabled", {
209
+ enumerable: true,
210
+ configurable: false,
211
+ get: ()=>{
212
+ if (null !== r) return r;
213
+ if (s !== createDebug.namespaces) {
214
+ s = createDebug.namespaces;
215
+ n = createDebug.enabled(e);
216
+ }
217
+ return n;
218
+ },
219
+ set: (e)=>{
220
+ r = e;
221
+ }
222
+ });
223
+ if ("function" == typeof createDebug.init) createDebug.init(debug);
224
+ return debug;
225
+ }
226
+ function extend(e, t) {
227
+ const r = createDebug(this.namespace + (void 0 === t ? ":" : t) + e);
228
+ r.log = this.log;
229
+ return r;
230
+ }
231
+ function enable(e) {
232
+ createDebug.save(e);
233
+ createDebug.namespaces = e;
234
+ createDebug.names = [];
235
+ createDebug.skips = [];
236
+ let t;
237
+ const r = ("string" == typeof e ? e : "").split(/[\s,]+/);
238
+ const s = r.length;
239
+ for(t = 0; t < s; t++)if (r[t]) {
240
+ e = r[t].replace(/\*/g, ".*?");
241
+ if ("-" === e[0]) createDebug.skips.push(new RegExp("^" + e.slice(1) + "$"));
242
+ else createDebug.names.push(new RegExp("^" + e + "$"));
243
+ }
244
+ }
245
+ function disable() {
246
+ const e = [
247
+ ...createDebug.names.map(toNamespace),
248
+ ...createDebug.skips.map(toNamespace).map((e)=>"-" + e)
249
+ ].join(",");
250
+ createDebug.enable("");
251
+ return e;
252
+ }
253
+ function enabled(e) {
254
+ if ("*" === e[e.length - 1]) return true;
255
+ let t;
256
+ let r;
257
+ for(t = 0, r = createDebug.skips.length; t < r; t++)if (createDebug.skips[t].test(e)) return false;
258
+ for(t = 0, r = createDebug.names.length; t < r; t++)if (createDebug.names[t].test(e)) return true;
259
+ return false;
260
+ }
261
+ function toNamespace(e) {
262
+ return e.toString().substring(2, e.toString().length - 2).replace(/\.\*\?$/, "*");
263
+ }
264
+ function coerce(e) {
265
+ if (e instanceof Error) return e.stack || e.message;
266
+ return e;
267
+ }
268
+ function destroy() {
269
+ console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
270
+ }
271
+ createDebug.enable(createDebug.load());
272
+ return createDebug;
273
+ }
274
+ e.exports = setup;
275
+ },
276
+ 372: (e, t, r)=>{
277
+ if ("u" < typeof process || "renderer" === process.type || true === process.browser || process.__nwjs) e.exports = r(434);
278
+ else e.exports = r(970);
279
+ },
280
+ 970: (e, t, r)=>{
281
+ const s = r(224);
282
+ const n = r(837);
283
+ t.init = init;
284
+ t.log = log;
285
+ t.formatArgs = formatArgs;
286
+ t.save = save;
287
+ t.load = load;
288
+ t.useColors = useColors;
289
+ t.destroy = n.deprecate(()=>{}, "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
290
+ t.colors = [
291
+ 6,
292
+ 2,
293
+ 3,
294
+ 4,
295
+ 5,
296
+ 1
297
+ ];
298
+ try {
299
+ const e = r(332);
300
+ if (e && (e.stderr || e).level >= 2) t.colors = [
301
+ 20,
302
+ 21,
303
+ 26,
304
+ 27,
305
+ 32,
306
+ 33,
307
+ 38,
308
+ 39,
309
+ 40,
310
+ 41,
311
+ 42,
312
+ 43,
313
+ 44,
314
+ 45,
315
+ 56,
316
+ 57,
317
+ 62,
318
+ 63,
319
+ 68,
320
+ 69,
321
+ 74,
322
+ 75,
323
+ 76,
324
+ 77,
325
+ 78,
326
+ 79,
327
+ 80,
328
+ 81,
329
+ 92,
330
+ 93,
331
+ 98,
332
+ 99,
333
+ 112,
334
+ 113,
335
+ 128,
336
+ 129,
337
+ 134,
338
+ 135,
339
+ 148,
340
+ 149,
341
+ 160,
342
+ 161,
343
+ 162,
344
+ 163,
345
+ 164,
346
+ 165,
347
+ 166,
348
+ 167,
349
+ 168,
350
+ 169,
351
+ 170,
352
+ 171,
353
+ 172,
354
+ 173,
355
+ 178,
356
+ 179,
357
+ 184,
358
+ 185,
359
+ 196,
360
+ 197,
361
+ 198,
362
+ 199,
363
+ 200,
364
+ 201,
365
+ 202,
366
+ 203,
367
+ 204,
368
+ 205,
369
+ 206,
370
+ 207,
371
+ 208,
372
+ 209,
373
+ 214,
374
+ 215,
375
+ 220,
376
+ 221
377
+ ];
378
+ } catch (e) {}
379
+ t.inspectOpts = Object.keys(process.env).filter((e)=>/^debug_/i.test(e)).reduce((e, t)=>{
380
+ const r = t.substring(6).toLowerCase().replace(/_([a-z])/g, (e, t)=>t.toUpperCase());
381
+ let s = process.env[t];
382
+ s = /^(yes|on|true|enabled)$/i.test(s) ? true : /^(no|off|false|disabled)$/i.test(s) ? false : "null" === s ? null : Number(s);
383
+ e[r] = s;
384
+ return e;
385
+ }, {});
386
+ function useColors() {
387
+ return "colors" in t.inspectOpts ? Boolean(t.inspectOpts.colors) : s.isatty(process.stderr.fd);
388
+ }
389
+ function formatArgs(t) {
390
+ const { namespace: r, useColors: s } = this;
391
+ if (s) {
392
+ const s = this.color;
393
+ const n = "[3" + (s < 8 ? s : "8;5;" + s);
394
+ const o = ` ${n};1m${r} `;
395
+ t[0] = o + t[0].split("\n").join("\n" + o);
396
+ t.push(n + "m+" + e.exports.humanize(this.diff) + "");
397
+ } else t[0] = getDate() + r + " " + t[0];
398
+ }
399
+ function getDate() {
400
+ if (t.inspectOpts.hideDate) return "";
401
+ return (new Date).toISOString() + " ";
402
+ }
403
+ function log(...e) {
404
+ return process.stderr.write(n.format(...e) + "\n");
405
+ }
406
+ function save(e) {
407
+ if (e) process.env.DEBUG = e;
408
+ else delete process.env.DEBUG;
409
+ }
410
+ function load() {
411
+ return process.env.DEBUG;
412
+ }
413
+ function init(e) {
414
+ e.inspectOpts = {};
415
+ const r = Object.keys(t.inspectOpts);
416
+ for(let s = 0; s < r.length; s++)e.inspectOpts[r[s]] = t.inspectOpts[r[s]];
417
+ }
418
+ e.exports = r(290)(t);
419
+ const { formatters: o } = e.exports;
420
+ o.o = function(e) {
421
+ this.inspectOpts.colors = this.useColors;
422
+ return n.inspect(e, this.inspectOpts).split("\n").map((e)=>e.trim()).join(" ");
423
+ };
424
+ o.O = function(e) {
425
+ this.inspectOpts.colors = this.useColors;
426
+ return n.inspect(e, this.inspectOpts);
427
+ };
428
+ },
429
+ 419: (e)=>{
430
+ "use strict";
431
+ e.exports = (e, t)=>{
432
+ t = t || process.argv;
433
+ const r = e.startsWith("-") ? "" : 1 === e.length ? "-" : "--";
434
+ const s = t.indexOf(r + e);
435
+ const n = t.indexOf("--");
436
+ return -1 !== s && (-1 === n ? true : s < n);
437
+ };
438
+ },
439
+ 367: (e)=>{
440
+ var t = 1e3;
441
+ var r = 60 * t;
442
+ var s = 60 * r;
443
+ var n = 24 * s;
444
+ var o = 7 * n;
445
+ var a = 365.25 * n;
446
+ e.exports = function(e, t) {
447
+ t = t || {};
448
+ var r = typeof e;
449
+ if ("string" === r && e.length > 0) return parse(e);
450
+ if ("number" === r && isFinite(e)) return t.long ? fmtLong(e) : fmtShort(e);
451
+ throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(e));
452
+ };
453
+ function parse(e) {
454
+ e = String(e);
455
+ if (e.length > 100) return;
456
+ var c = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);
457
+ if (!c) return;
458
+ var u = parseFloat(c[1]);
459
+ var i = (c[2] || "ms").toLowerCase();
460
+ switch(i){
461
+ case "years":
462
+ case "year":
463
+ case "yrs":
464
+ case "yr":
465
+ case "y":
466
+ return u * a;
467
+ case "weeks":
468
+ case "week":
469
+ case "w":
470
+ return u * o;
471
+ case "days":
472
+ case "day":
473
+ case "d":
474
+ return u * n;
475
+ case "hours":
476
+ case "hour":
477
+ case "hrs":
478
+ case "hr":
479
+ case "h":
480
+ return u * s;
481
+ case "minutes":
482
+ case "minute":
483
+ case "mins":
484
+ case "min":
485
+ case "m":
486
+ return u * r;
487
+ case "seconds":
488
+ case "second":
489
+ case "secs":
490
+ case "sec":
491
+ case "s":
492
+ return u * t;
493
+ case "milliseconds":
494
+ case "millisecond":
495
+ case "msecs":
496
+ case "msec":
497
+ case "ms":
498
+ return u;
499
+ default:
500
+ return;
501
+ }
502
+ }
503
+ function fmtShort(e) {
504
+ var o = Math.abs(e);
505
+ if (o >= n) return Math.round(e / n) + "d";
506
+ if (o >= s) return Math.round(e / s) + "h";
507
+ if (o >= r) return Math.round(e / r) + "m";
508
+ if (o >= t) return Math.round(e / t) + "s";
509
+ return e + "ms";
510
+ }
511
+ function fmtLong(e) {
512
+ var o = Math.abs(e);
513
+ if (o >= n) return plural(e, o, n, "day");
514
+ if (o >= s) return plural(e, o, s, "hour");
515
+ if (o >= r) return plural(e, o, r, "minute");
516
+ if (o >= t) return plural(e, o, t, "second");
517
+ return e + " ms";
518
+ }
519
+ function plural(e, t, r, s) {
520
+ var n = t >= 1.5 * r;
521
+ return Math.round(e / r) + " " + s + (n ? "s" : "");
522
+ }
523
+ },
524
+ 332: (e, t, r)=>{
525
+ "use strict";
526
+ const s = r(37);
527
+ const n = r(419);
528
+ const o = process.env;
529
+ let a;
530
+ if (n("no-color") || n("no-colors") || n("color=false")) a = false;
531
+ else if (n("color") || n("colors") || n("color=true") || n("color=always")) a = true;
532
+ if ("FORCE_COLOR" in o) a = 0 === o.FORCE_COLOR.length || 0 !== parseInt(o.FORCE_COLOR, 10);
533
+ function translateLevel(e) {
534
+ if (0 === e) return false;
535
+ return {
536
+ level: e,
537
+ hasBasic: true,
538
+ has256: e >= 2,
539
+ has16m: e >= 3
540
+ };
541
+ }
542
+ function supportsColor(e) {
543
+ if (false === a) return 0;
544
+ if (n("color=16m") || n("color=full") || n("color=truecolor")) return 3;
545
+ if (n("color=256")) return 2;
546
+ if (e && !e.isTTY && true !== a) return 0;
547
+ const t = a ? 1 : 0;
548
+ if ("win32" === process.platform) {
549
+ const e = s.release().split(".");
550
+ if (Number(process.versions.node.split(".")[0]) >= 8 && Number(e[0]) >= 10 && Number(e[2]) >= 10586) return Number(e[2]) >= 14931 ? 3 : 2;
551
+ return 1;
552
+ }
553
+ if ("CI" in o) {
554
+ if ([
555
+ "TRAVIS",
556
+ "CIRCLECI",
557
+ "APPVEYOR",
558
+ "GITLAB_CI"
559
+ ].some((e)=>e in o) || "codeship" === o.CI_NAME) return 1;
560
+ return t;
561
+ }
562
+ if ("TEAMCITY_VERSION" in o) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION) ? 1 : 0;
563
+ if ("truecolor" === o.COLORTERM) return 3;
564
+ if ("TERM_PROGRAM" in o) {
565
+ const e = parseInt((o.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
566
+ switch(o.TERM_PROGRAM){
567
+ case "iTerm.app":
568
+ return e >= 3 ? 3 : 2;
569
+ case "Apple_Terminal":
570
+ return 2;
571
+ }
572
+ }
573
+ if (/-256(color)?$/i.test(o.TERM)) return 2;
574
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)) return 1;
575
+ if ("COLORTERM" in o) return 1;
576
+ o.TERM;
577
+ return t;
578
+ }
579
+ function getSupportLevel(e) {
580
+ const t = supportsColor(e);
581
+ return translateLevel(t);
582
+ }
583
+ e.exports = {
584
+ supportsColor: getSupportLevel,
585
+ stdout: getSupportLevel(process.stdout),
586
+ stderr: getSupportLevel(process.stderr)
587
+ };
588
+ },
589
+ 37: (e)=>{
590
+ "use strict";
591
+ e.exports = require("os");
592
+ },
593
+ 224: (e)=>{
594
+ "use strict";
595
+ e.exports = require("tty");
596
+ },
597
+ 837: (e)=>{
598
+ "use strict";
599
+ e.exports = require("util");
600
+ }
601
+ };
602
+ var t = {};
603
+ function __nccwpck_require__(r) {
604
+ var s = t[r];
605
+ if (void 0 !== s) return s.exports;
606
+ var n = t[r] = {
607
+ exports: {}
608
+ };
609
+ var o = true;
610
+ try {
611
+ e[r](n, n.exports, __nccwpck_require__);
612
+ o = false;
613
+ } finally{
614
+ if (o) delete t[r];
615
+ }
616
+ return n.exports;
617
+ }
618
+ if (void 0 !== __nccwpck_require__) __nccwpck_require__.ab = __dirname + "/";
619
+ var r = __nccwpck_require__(372);
620
+ module.exports = r;
621
+ })();
@@ -0,0 +1,20 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2014-2017 TJ Holowaychuk <tj@vision-media.ca>
4
+ Copyright (c) 2018-2021 Josh Junon
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software
7
+ and associated documentation files (the 'Software'), to deal in the Software without restriction,
8
+ including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
9
+ and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all copies or substantial
13
+ portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
16
+ LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
18
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
19
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+