@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,1779 @@
1
+ (()=>{
2
+ var e = {
3
+ 844: (e, t, r)=>{
4
+ "use strict";
5
+ const s = r(605);
6
+ const n = Symbol("max");
7
+ const i = Symbol("length");
8
+ const o = Symbol("lengthCalculator");
9
+ const l = Symbol("allowStale");
10
+ const a = Symbol("maxAge");
11
+ const h = Symbol("dispose");
12
+ const c = Symbol("noDisposeOnSet");
13
+ const u = Symbol("lruList");
14
+ const f = Symbol("cache");
15
+ const p = Symbol("updateAgeOnGet");
16
+ const naiveLength = ()=>1;
17
+ class LRUCache {
18
+ constructor(e){
19
+ if ("number" == typeof e) e = {
20
+ max: e
21
+ };
22
+ if (!e) e = {};
23
+ if (e.max && ("number" != typeof e.max || e.max < 0)) throw new TypeError("max must be a non-negative number");
24
+ this[n] = e.max || 1 / 0;
25
+ const r = e.length || naiveLength;
26
+ this[o] = "function" != typeof r ? naiveLength : r;
27
+ this[l] = e.stale || false;
28
+ if (e.maxAge && "number" != typeof e.maxAge) throw new TypeError("maxAge must be a number");
29
+ this[a] = e.maxAge || 0;
30
+ this[h] = e.dispose;
31
+ this[c] = e.noDisposeOnSet || false;
32
+ this[p] = e.updateAgeOnGet || false;
33
+ this.reset();
34
+ }
35
+ set max(e) {
36
+ if ("number" != typeof e || e < 0) throw new TypeError("max must be a non-negative number");
37
+ this[n] = e || 1 / 0;
38
+ trim(this);
39
+ }
40
+ get max() {
41
+ return this[n];
42
+ }
43
+ set allowStale(e) {
44
+ this[l] = !!e;
45
+ }
46
+ get allowStale() {
47
+ return this[l];
48
+ }
49
+ set maxAge(e) {
50
+ if ("number" != typeof e) throw new TypeError("maxAge must be a non-negative number");
51
+ this[a] = e;
52
+ trim(this);
53
+ }
54
+ get maxAge() {
55
+ return this[a];
56
+ }
57
+ set lengthCalculator(e) {
58
+ if ("function" != typeof e) e = naiveLength;
59
+ if (e !== this[o]) {
60
+ this[o] = e;
61
+ this[i] = 0;
62
+ this[u].forEach((e)=>{
63
+ e.length = this[o](e.value, e.key);
64
+ this[i] += e.length;
65
+ });
66
+ }
67
+ trim(this);
68
+ }
69
+ get lengthCalculator() {
70
+ return this[o];
71
+ }
72
+ get length() {
73
+ return this[i];
74
+ }
75
+ get itemCount() {
76
+ return this[u].length;
77
+ }
78
+ rforEach(e, t) {
79
+ t = t || this;
80
+ for(let r = this[u].tail; null !== r;){
81
+ const s = r.prev;
82
+ forEachStep(this, e, r, t);
83
+ r = s;
84
+ }
85
+ }
86
+ forEach(e, t) {
87
+ t = t || this;
88
+ for(let r = this[u].head; null !== r;){
89
+ const s = r.next;
90
+ forEachStep(this, e, r, t);
91
+ r = s;
92
+ }
93
+ }
94
+ keys() {
95
+ return this[u].toArray().map((e)=>e.key);
96
+ }
97
+ values() {
98
+ return this[u].toArray().map((e)=>e.value);
99
+ }
100
+ reset() {
101
+ if (this[h] && this[u] && this[u].length) this[u].forEach((e)=>this[h](e.key, e.value));
102
+ this[f] = new Map;
103
+ this[u] = new s;
104
+ this[i] = 0;
105
+ }
106
+ dump() {
107
+ return this[u].map((e)=>isStale(this, e) ? false : {
108
+ k: e.key,
109
+ v: e.value,
110
+ e: e.now + (e.maxAge || 0)
111
+ }).toArray().filter((e)=>e);
112
+ }
113
+ dumpLru() {
114
+ return this[u];
115
+ }
116
+ set(e, t, r) {
117
+ r = r || this[a];
118
+ if (r && "number" != typeof r) throw new TypeError("maxAge must be a number");
119
+ const s = r ? Date.now() : 0;
120
+ const l = this[o](t, e);
121
+ if (this[f].has(e)) {
122
+ if (l > this[n]) {
123
+ del(this, this[f].get(e));
124
+ return false;
125
+ }
126
+ const o = this[f].get(e);
127
+ const a = o.value;
128
+ if (this[h]) {
129
+ if (!this[c]) this[h](e, a.value);
130
+ }
131
+ a.now = s;
132
+ a.maxAge = r;
133
+ a.value = t;
134
+ this[i] += l - a.length;
135
+ a.length = l;
136
+ this.get(e);
137
+ trim(this);
138
+ return true;
139
+ }
140
+ const p = new Entry(e, t, l, s, r);
141
+ if (p.length > this[n]) {
142
+ if (this[h]) this[h](e, t);
143
+ return false;
144
+ }
145
+ this[i] += p.length;
146
+ this[u].unshift(p);
147
+ this[f].set(e, this[u].head);
148
+ trim(this);
149
+ return true;
150
+ }
151
+ has(e) {
152
+ if (!this[f].has(e)) return false;
153
+ const t = this[f].get(e).value;
154
+ return !isStale(this, t);
155
+ }
156
+ get(e) {
157
+ return get(this, e, true);
158
+ }
159
+ peek(e) {
160
+ return get(this, e, false);
161
+ }
162
+ pop() {
163
+ const e = this[u].tail;
164
+ if (!e) return null;
165
+ del(this, e);
166
+ return e.value;
167
+ }
168
+ del(e) {
169
+ del(this, this[f].get(e));
170
+ }
171
+ load(e) {
172
+ this.reset();
173
+ const t = Date.now();
174
+ for(let r = e.length - 1; r >= 0; r--){
175
+ const s = e[r];
176
+ const n = s.e || 0;
177
+ if (0 === n) this.set(s.k, s.v);
178
+ else {
179
+ const e = n - t;
180
+ if (e > 0) this.set(s.k, s.v, e);
181
+ }
182
+ }
183
+ }
184
+ prune() {
185
+ this[f].forEach((e, t)=>get(this, t, false));
186
+ }
187
+ }
188
+ const get = (e, t, r)=>{
189
+ const s = e[f].get(t);
190
+ if (s) {
191
+ const t = s.value;
192
+ if (isStale(e, t)) {
193
+ del(e, s);
194
+ if (!e[l]) return;
195
+ } else if (r) {
196
+ if (e[p]) s.value.now = Date.now();
197
+ e[u].unshiftNode(s);
198
+ }
199
+ return t.value;
200
+ }
201
+ };
202
+ const isStale = (e, t)=>{
203
+ if (!t || !t.maxAge && !e[a]) return false;
204
+ const r = Date.now() - t.now;
205
+ return t.maxAge ? r > t.maxAge : e[a] && r > e[a];
206
+ };
207
+ const trim = (e)=>{
208
+ if (e[i] > e[n]) for(let t = e[u].tail; e[i] > e[n] && null !== t;){
209
+ const r = t.prev;
210
+ del(e, t);
211
+ t = r;
212
+ }
213
+ };
214
+ const del = (e, t)=>{
215
+ if (t) {
216
+ const r = t.value;
217
+ if (e[h]) e[h](r.key, r.value);
218
+ e[i] -= r.length;
219
+ e[f].delete(r.key);
220
+ e[u].removeNode(t);
221
+ }
222
+ };
223
+ class Entry {
224
+ constructor(e, t, r, s, n){
225
+ this.key = e;
226
+ this.value = t;
227
+ this.length = r;
228
+ this.now = s;
229
+ this.maxAge = n || 0;
230
+ }
231
+ }
232
+ const forEachStep = (e, t, r, s)=>{
233
+ let n = r.value;
234
+ if (isStale(e, n)) {
235
+ del(e, r);
236
+ if (!e[l]) n = void 0;
237
+ }
238
+ if (n) t.call(s, n.value, n.key, e);
239
+ };
240
+ e.exports = LRUCache;
241
+ },
242
+ 584: (e, t, r)=>{
243
+ const s = Symbol("SemVer ANY");
244
+ class Comparator {
245
+ static get ANY() {
246
+ return s;
247
+ }
248
+ constructor(e, t){
249
+ t = n(t);
250
+ if (e instanceof Comparator) if (!!t.loose === e.loose) return e;
251
+ else e = e.value;
252
+ e = e.trim().split(/\s+/).join(" ");
253
+ a("comparator", e, t);
254
+ this.options = t;
255
+ this.loose = !!t.loose;
256
+ this.parse(e);
257
+ if (this.semver === s) this.value = "";
258
+ else this.value = this.operator + this.semver.version;
259
+ a("comp", this);
260
+ }
261
+ parse(e) {
262
+ const t = this.options.loose ? i[o.COMPARATORLOOSE] : i[o.COMPARATOR];
263
+ const r = e.match(t);
264
+ if (!r) throw new TypeError(`Invalid comparator: ${e}`);
265
+ this.operator = void 0 !== r[1] ? r[1] : "";
266
+ if ("=" === this.operator) this.operator = "";
267
+ if (r[2]) this.semver = new h(r[2], this.options.loose);
268
+ else this.semver = s;
269
+ }
270
+ toString() {
271
+ return this.value;
272
+ }
273
+ test(e) {
274
+ a("Comparator.test", e, this.options.loose);
275
+ if (this.semver === s || e === s) return true;
276
+ if ("string" == typeof e) try {
277
+ e = new h(e, this.options);
278
+ } catch (e) {
279
+ return false;
280
+ }
281
+ return l(e, this.operator, this.semver, this.options);
282
+ }
283
+ intersects(e, t) {
284
+ if (!(e instanceof Comparator)) throw new TypeError("a Comparator is required");
285
+ if ("" === this.operator) {
286
+ if ("" === this.value) return true;
287
+ return new c(e.value, t).test(this.value);
288
+ }
289
+ if ("" === e.operator) {
290
+ if ("" === e.value) return true;
291
+ return new c(this.value, t).test(e.semver);
292
+ }
293
+ t = n(t);
294
+ if (t.includePrerelease && ("<0.0.0-0" === this.value || "<0.0.0-0" === e.value)) return false;
295
+ if (!t.includePrerelease && (this.value.startsWith("<0.0.0") || e.value.startsWith("<0.0.0"))) return false;
296
+ if (this.operator.startsWith(">") && e.operator.startsWith(">")) return true;
297
+ if (this.operator.startsWith("<") && e.operator.startsWith("<")) return true;
298
+ if (this.semver.version === e.semver.version && this.operator.includes("=") && e.operator.includes("=")) return true;
299
+ if (l(this.semver, "<", e.semver, t) && this.operator.startsWith(">") && e.operator.startsWith("<")) return true;
300
+ if (l(this.semver, ">", e.semver, t) && this.operator.startsWith("<") && e.operator.startsWith(">")) return true;
301
+ return false;
302
+ }
303
+ }
304
+ e.exports = Comparator;
305
+ const n = r(110);
306
+ const { safeRe: i, t: o } = r(258);
307
+ const l = r(159);
308
+ const a = r(935);
309
+ const h = r(649);
310
+ const c = r(530);
311
+ },
312
+ 530: (e, t, r)=>{
313
+ class Range {
314
+ constructor(e, t){
315
+ t = i(t);
316
+ if (e instanceof Range) if (!!t.loose === e.loose && !!t.includePrerelease === e.includePrerelease) return e;
317
+ else return new Range(e.raw, t);
318
+ if (e instanceof o) {
319
+ this.raw = e.value;
320
+ this.set = [
321
+ [
322
+ e
323
+ ]
324
+ ];
325
+ this.format();
326
+ return this;
327
+ }
328
+ this.options = t;
329
+ this.loose = !!t.loose;
330
+ this.includePrerelease = !!t.includePrerelease;
331
+ this.raw = e.trim().split(/\s+/).join(" ");
332
+ this.set = this.raw.split("||").map((e)=>this.parseRange(e.trim())).filter((e)=>e.length);
333
+ if (!this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
334
+ if (this.set.length > 1) {
335
+ const e = this.set[0];
336
+ this.set = this.set.filter((e)=>!isNullSet(e[0]));
337
+ if (0 === this.set.length) this.set = [
338
+ e
339
+ ];
340
+ else if (this.set.length > 1) {
341
+ for (const e of this.set)if (1 === e.length && isAny(e[0])) {
342
+ this.set = [
343
+ e
344
+ ];
345
+ break;
346
+ }
347
+ }
348
+ }
349
+ this.format();
350
+ }
351
+ format() {
352
+ this.range = this.set.map((e)=>e.join(" ").trim()).join("||").trim();
353
+ return this.range;
354
+ }
355
+ toString() {
356
+ return this.range;
357
+ }
358
+ parseRange(e) {
359
+ const t = (this.options.includePrerelease && E) | (this.options.loose && m);
360
+ const r = t + ":" + e;
361
+ const s = n.get(r);
362
+ if (s) return s;
363
+ const i = this.options.loose;
364
+ const a = i ? h[c.HYPHENRANGELOOSE] : h[c.HYPHENRANGE];
365
+ e = e.replace(a, hyphenReplace(this.options.includePrerelease));
366
+ l("hyphen replace", e);
367
+ e = e.replace(h[c.COMPARATORTRIM], u);
368
+ l("comparator trim", e);
369
+ e = e.replace(h[c.TILDETRIM], f);
370
+ l("tilde trim", e);
371
+ e = e.replace(h[c.CARETTRIM], p);
372
+ l("caret trim", e);
373
+ let v = e.split(" ").map((e)=>parseComparator(e, this.options)).join(" ").split(/\s+/).map((e)=>replaceGTE0(e, this.options));
374
+ if (i) v = v.filter((e)=>{
375
+ l("loose invalid filter", e, this.options);
376
+ return !!e.match(h[c.COMPARATORLOOSE]);
377
+ });
378
+ l("range list", v);
379
+ const $ = new Map;
380
+ const R = v.map((e)=>new o(e, this.options));
381
+ for (const e of R){
382
+ if (isNullSet(e)) return [
383
+ e
384
+ ];
385
+ $.set(e.value, e);
386
+ }
387
+ if ($.size > 1 && $.has("")) $.delete("");
388
+ const d = [
389
+ ...$.values()
390
+ ];
391
+ n.set(r, d);
392
+ return d;
393
+ }
394
+ intersects(e, t) {
395
+ if (!(e instanceof Range)) throw new TypeError("a Range is required");
396
+ return this.set.some((r)=>isSatisfiable(r, t) && e.set.some((e)=>isSatisfiable(e, t) && r.every((r)=>e.every((e)=>r.intersects(e, t)))));
397
+ }
398
+ test(e) {
399
+ if (!e) return false;
400
+ if ("string" == typeof e) try {
401
+ e = new a(e, this.options);
402
+ } catch (e) {
403
+ return false;
404
+ }
405
+ for(let t = 0; t < this.set.length; t++)if (testSet(this.set[t], e, this.options)) return true;
406
+ return false;
407
+ }
408
+ }
409
+ e.exports = Range;
410
+ const s = r(844);
411
+ const n = new s({
412
+ max: 1e3
413
+ });
414
+ const i = r(110);
415
+ const o = r(584);
416
+ const l = r(935);
417
+ const a = r(649);
418
+ const { safeRe: h, t: c, comparatorTrimReplace: u, tildeTrimReplace: f, caretTrimReplace: p } = r(258);
419
+ const { FLAG_INCLUDE_PRERELEASE: E, FLAG_LOOSE: m } = r(745);
420
+ const isNullSet = (e)=>"<0.0.0-0" === e.value;
421
+ const isAny = (e)=>"" === e.value;
422
+ const isSatisfiable = (e, t)=>{
423
+ let r = true;
424
+ const s = e.slice();
425
+ let n = s.pop();
426
+ while(r && s.length){
427
+ r = s.every((e)=>n.intersects(e, t));
428
+ n = s.pop();
429
+ }
430
+ return r;
431
+ };
432
+ const parseComparator = (e, t)=>{
433
+ l("comp", e, t);
434
+ e = replaceCarets(e, t);
435
+ l("caret", e);
436
+ e = replaceTildes(e, t);
437
+ l("tildes", e);
438
+ e = replaceXRanges(e, t);
439
+ l("xrange", e);
440
+ e = replaceStars(e, t);
441
+ l("stars", e);
442
+ return e;
443
+ };
444
+ const isX = (e)=>!e || "x" === e.toLowerCase() || "*" === e;
445
+ const replaceTildes = (e, t)=>e.trim().split(/\s+/).map((e)=>replaceTilde(e, t)).join(" ");
446
+ const replaceTilde = (e, t)=>{
447
+ const r = t.loose ? h[c.TILDELOOSE] : h[c.TILDE];
448
+ return e.replace(r, (t, r, s, n, i)=>{
449
+ l("tilde", e, t, r, s, n, i);
450
+ let o;
451
+ if (isX(r)) o = "";
452
+ else if (isX(s)) o = `>=${r}.0.0 <${+r + 1}.0.0-0`;
453
+ else if (isX(n)) o = `>=${r}.${s}.0 <${r}.${+s + 1}.0-0`;
454
+ else if (i) {
455
+ l("replaceTilde pr", i);
456
+ o = `>=${r}.${s}.${n}-${i} <${r}.${+s + 1}.0-0`;
457
+ } else o = `>=${r}.${s}.${n} <${r}.${+s + 1}.0-0`;
458
+ l("tilde return", o);
459
+ return o;
460
+ });
461
+ };
462
+ const replaceCarets = (e, t)=>e.trim().split(/\s+/).map((e)=>replaceCaret(e, t)).join(" ");
463
+ const replaceCaret = (e, t)=>{
464
+ l("caret", e, t);
465
+ const r = t.loose ? h[c.CARETLOOSE] : h[c.CARET];
466
+ const s = t.includePrerelease ? "-0" : "";
467
+ return e.replace(r, (t, r, n, i, o)=>{
468
+ l("caret", e, t, r, n, i, o);
469
+ let a;
470
+ if (isX(r)) a = "";
471
+ else if (isX(n)) a = `>=${r}.0.0${s} <${+r + 1}.0.0-0`;
472
+ else if (isX(i)) a = "0" === r ? `>=${r}.${n}.0${s} <${r}.${+n + 1}.0-0` : `>=${r}.${n}.0${s} <${+r + 1}.0.0-0`;
473
+ else if (o) {
474
+ l("replaceCaret pr", o);
475
+ a = "0" === r ? "0" === n ? `>=${r}.${n}.${i}-${o} <${r}.${n}.${+i + 1}-0` : `>=${r}.${n}.${i}-${o} <${r}.${+n + 1}.0-0` : `>=${r}.${n}.${i}-${o} <${+r + 1}.0.0-0`;
476
+ } else {
477
+ l("no pr");
478
+ a = "0" === r ? "0" === n ? `>=${r}.${n}.${i}${s} <${r}.${n}.${+i + 1}-0` : `>=${r}.${n}.${i}${s} <${r}.${+n + 1}.0-0` : `>=${r}.${n}.${i} <${+r + 1}.0.0-0`;
479
+ }
480
+ l("caret return", a);
481
+ return a;
482
+ });
483
+ };
484
+ const replaceXRanges = (e, t)=>{
485
+ l("replaceXRanges", e, t);
486
+ return e.split(/\s+/).map((e)=>replaceXRange(e, t)).join(" ");
487
+ };
488
+ const replaceXRange = (e, t)=>{
489
+ e = e.trim();
490
+ const r = t.loose ? h[c.XRANGELOOSE] : h[c.XRANGE];
491
+ return e.replace(r, (r, s, n, i, o, a)=>{
492
+ l("xRange", e, r, s, n, i, o, a);
493
+ const h = isX(n);
494
+ const c = h || isX(i);
495
+ const u = c || isX(o);
496
+ const f = u;
497
+ if ("=" === s && f) s = "";
498
+ a = t.includePrerelease ? "-0" : "";
499
+ if (h) r = ">" === s || "<" === s ? "<0.0.0-0" : "*";
500
+ else if (s && f) {
501
+ if (c) i = 0;
502
+ o = 0;
503
+ if (">" === s) {
504
+ s = ">=";
505
+ if (c) {
506
+ n = +n + 1;
507
+ i = 0;
508
+ o = 0;
509
+ } else {
510
+ i = +i + 1;
511
+ o = 0;
512
+ }
513
+ } else if ("<=" === s) {
514
+ s = "<";
515
+ if (c) n = +n + 1;
516
+ else i = +i + 1;
517
+ }
518
+ if ("<" === s) a = "-0";
519
+ r = `${s + n}.${i}.${o}${a}`;
520
+ } else if (c) r = `>=${n}.0.0${a} <${+n + 1}.0.0-0`;
521
+ else if (u) r = `>=${n}.${i}.0${a} <${n}.${+i + 1}.0-0`;
522
+ l("xRange return", r);
523
+ return r;
524
+ });
525
+ };
526
+ const replaceStars = (e, t)=>{
527
+ l("replaceStars", e, t);
528
+ return e.trim().replace(h[c.STAR], "");
529
+ };
530
+ const replaceGTE0 = (e, t)=>{
531
+ l("replaceGTE0", e, t);
532
+ return e.trim().replace(h[t.includePrerelease ? c.GTE0PRE : c.GTE0], "");
533
+ };
534
+ const hyphenReplace = (e)=>(t, r, s, n, i, o, l, a, h, c, u, f, p)=>{
535
+ r = isX(s) ? "" : isX(n) ? `>=${s}.0.0${e ? "-0" : ""}` : isX(i) ? `>=${s}.${n}.0${e ? "-0" : ""}` : o ? `>=${r}` : `>=${r}${e ? "-0" : ""}`;
536
+ a = isX(h) ? "" : isX(c) ? `<${+h + 1}.0.0-0` : isX(u) ? `<${h}.${+c + 1}.0-0` : f ? `<=${h}.${c}.${u}-${f}` : e ? `<${h}.${c}.${+u + 1}-0` : `<=${a}`;
537
+ return `${r} ${a}`.trim();
538
+ };
539
+ const testSet = (e, t, r)=>{
540
+ for(let r = 0; r < e.length; r++)if (!e[r].test(t)) return false;
541
+ if (t.prerelease.length && !r.includePrerelease) {
542
+ for(let r = 0; r < e.length; r++){
543
+ l(e[r].semver);
544
+ if (e[r].semver !== o.ANY) {
545
+ if (e[r].semver.prerelease.length > 0) {
546
+ const s = e[r].semver;
547
+ if (s.major === t.major && s.minor === t.minor && s.patch === t.patch) return true;
548
+ }
549
+ }
550
+ }
551
+ return false;
552
+ }
553
+ return true;
554
+ };
555
+ },
556
+ 649: (e, t, r)=>{
557
+ const s = r(935);
558
+ const { MAX_LENGTH: n, MAX_SAFE_INTEGER: i } = r(745);
559
+ const { safeRe: o, t: l } = r(258);
560
+ const a = r(110);
561
+ const { compareIdentifiers: h } = r(74);
562
+ class SemVer {
563
+ constructor(e, t){
564
+ t = a(t);
565
+ if (e instanceof SemVer) if (!!t.loose === e.loose && !!t.includePrerelease === e.includePrerelease) return e;
566
+ else e = e.version;
567
+ else if ("string" != typeof e) throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);
568
+ if (e.length > n) throw new TypeError(`version is longer than ${n} characters`);
569
+ s("SemVer", e, t);
570
+ this.options = t;
571
+ this.loose = !!t.loose;
572
+ this.includePrerelease = !!t.includePrerelease;
573
+ const r = e.trim().match(t.loose ? o[l.LOOSE] : o[l.FULL]);
574
+ if (!r) throw new TypeError(`Invalid Version: ${e}`);
575
+ this.raw = e;
576
+ this.major = +r[1];
577
+ this.minor = +r[2];
578
+ this.patch = +r[3];
579
+ if (this.major > i || this.major < 0) throw new TypeError("Invalid major version");
580
+ if (this.minor > i || this.minor < 0) throw new TypeError("Invalid minor version");
581
+ if (this.patch > i || this.patch < 0) throw new TypeError("Invalid patch version");
582
+ if (r[4]) this.prerelease = r[4].split(".").map((e)=>{
583
+ if (/^[0-9]+$/.test(e)) {
584
+ const t = +e;
585
+ if (t >= 0 && t < i) return t;
586
+ }
587
+ return e;
588
+ });
589
+ else this.prerelease = [];
590
+ this.build = r[5] ? r[5].split(".") : [];
591
+ this.format();
592
+ }
593
+ format() {
594
+ this.version = `${this.major}.${this.minor}.${this.patch}`;
595
+ if (this.prerelease.length) this.version += `-${this.prerelease.join(".")}`;
596
+ return this.version;
597
+ }
598
+ toString() {
599
+ return this.version;
600
+ }
601
+ compare(e) {
602
+ s("SemVer.compare", this.version, this.options, e);
603
+ if (!(e instanceof SemVer)) {
604
+ if ("string" == typeof e && e === this.version) return 0;
605
+ e = new SemVer(e, this.options);
606
+ }
607
+ if (e.version === this.version) return 0;
608
+ return this.compareMain(e) || this.comparePre(e);
609
+ }
610
+ compareMain(e) {
611
+ if (!(e instanceof SemVer)) e = new SemVer(e, this.options);
612
+ return h(this.major, e.major) || h(this.minor, e.minor) || h(this.patch, e.patch);
613
+ }
614
+ comparePre(e) {
615
+ if (!(e instanceof SemVer)) e = new SemVer(e, this.options);
616
+ if (this.prerelease.length && !e.prerelease.length) return -1;
617
+ if (!this.prerelease.length && e.prerelease.length) return 1;
618
+ if (!this.prerelease.length && !e.prerelease.length) return 0;
619
+ let t = 0;
620
+ do {
621
+ const r = this.prerelease[t];
622
+ const n = e.prerelease[t];
623
+ s("prerelease compare", t, r, n);
624
+ if (void 0 === r && void 0 === n) return 0;
625
+ if (void 0 === n) return 1;
626
+ if (void 0 === r) return -1;
627
+ else if (r === n) continue;
628
+ else return h(r, n);
629
+ }while (++t);
630
+ }
631
+ compareBuild(e) {
632
+ if (!(e instanceof SemVer)) e = new SemVer(e, this.options);
633
+ let t = 0;
634
+ do {
635
+ const r = this.build[t];
636
+ const n = e.build[t];
637
+ s("prerelease compare", t, r, n);
638
+ if (void 0 === r && void 0 === n) return 0;
639
+ if (void 0 === n) return 1;
640
+ if (void 0 === r) return -1;
641
+ else if (r === n) continue;
642
+ else return h(r, n);
643
+ }while (++t);
644
+ }
645
+ inc(e, t, r) {
646
+ switch(e){
647
+ case "premajor":
648
+ this.prerelease.length = 0;
649
+ this.patch = 0;
650
+ this.minor = 0;
651
+ this.major++;
652
+ this.inc("pre", t, r);
653
+ break;
654
+ case "preminor":
655
+ this.prerelease.length = 0;
656
+ this.patch = 0;
657
+ this.minor++;
658
+ this.inc("pre", t, r);
659
+ break;
660
+ case "prepatch":
661
+ this.prerelease.length = 0;
662
+ this.inc("patch", t, r);
663
+ this.inc("pre", t, r);
664
+ break;
665
+ case "prerelease":
666
+ if (0 === this.prerelease.length) this.inc("patch", t, r);
667
+ this.inc("pre", t, r);
668
+ break;
669
+ case "major":
670
+ if (0 !== this.minor || 0 !== this.patch || 0 === this.prerelease.length) this.major++;
671
+ this.minor = 0;
672
+ this.patch = 0;
673
+ this.prerelease = [];
674
+ break;
675
+ case "minor":
676
+ if (0 !== this.patch || 0 === this.prerelease.length) this.minor++;
677
+ this.patch = 0;
678
+ this.prerelease = [];
679
+ break;
680
+ case "patch":
681
+ if (0 === this.prerelease.length) this.patch++;
682
+ this.prerelease = [];
683
+ break;
684
+ case "pre":
685
+ {
686
+ const e = Number(r) ? 1 : 0;
687
+ if (!t && false === r) throw new Error("invalid increment argument: identifier is empty");
688
+ if (0 === this.prerelease.length) this.prerelease = [
689
+ e
690
+ ];
691
+ else {
692
+ let s = this.prerelease.length;
693
+ while(--s >= 0)if ("number" == typeof this.prerelease[s]) {
694
+ this.prerelease[s]++;
695
+ s = -2;
696
+ }
697
+ if (-1 === s) {
698
+ if (t === this.prerelease.join(".") && false === r) throw new Error("invalid increment argument: identifier already exists");
699
+ this.prerelease.push(e);
700
+ }
701
+ }
702
+ if (t) {
703
+ let s = [
704
+ t,
705
+ e
706
+ ];
707
+ if (false === r) s = [
708
+ t
709
+ ];
710
+ if (0 === h(this.prerelease[0], t)) {
711
+ if (isNaN(this.prerelease[1])) this.prerelease = s;
712
+ } else this.prerelease = s;
713
+ }
714
+ break;
715
+ }
716
+ default:
717
+ throw new Error(`invalid increment argument: ${e}`);
718
+ }
719
+ this.raw = this.format();
720
+ if (this.build.length) this.raw += `+${this.build.join(".")}`;
721
+ return this;
722
+ }
723
+ }
724
+ e.exports = SemVer;
725
+ },
726
+ 640: (e, t, r)=>{
727
+ const s = r(447);
728
+ const clean = (e, t)=>{
729
+ const r = s(e.trim().replace(/^[=v]+/, ""), t);
730
+ return r ? r.version : null;
731
+ };
732
+ e.exports = clean;
733
+ },
734
+ 159: (e, t, r)=>{
735
+ const s = r(164);
736
+ const n = r(196);
737
+ const i = r(478);
738
+ const o = r(528);
739
+ const l = r(654);
740
+ const a = r(355);
741
+ const cmp = (e, t, r, h)=>{
742
+ switch(t){
743
+ case "===":
744
+ if ("object" == typeof e) e = e.version;
745
+ if ("object" == typeof r) r = r.version;
746
+ return e === r;
747
+ case "!==":
748
+ if ("object" == typeof e) e = e.version;
749
+ if ("object" == typeof r) r = r.version;
750
+ return e !== r;
751
+ case "":
752
+ case "=":
753
+ case "==":
754
+ return s(e, r, h);
755
+ case "!=":
756
+ return n(e, r, h);
757
+ case ">":
758
+ return i(e, r, h);
759
+ case ">=":
760
+ return o(e, r, h);
761
+ case "<":
762
+ return l(e, r, h);
763
+ case "<=":
764
+ return a(e, r, h);
765
+ default:
766
+ throw new TypeError(`Invalid operator: ${t}`);
767
+ }
768
+ };
769
+ e.exports = cmp;
770
+ },
771
+ 732: (e, t, r)=>{
772
+ const s = r(649);
773
+ const n = r(447);
774
+ const { safeRe: i, t: o } = r(258);
775
+ const coerce = (e, t)=>{
776
+ if (e instanceof s) return e;
777
+ if ("number" == typeof e) e = String(e);
778
+ if ("string" != typeof e) return null;
779
+ t = t || {};
780
+ let r = null;
781
+ if (t.rtl) {
782
+ const s = t.includePrerelease ? i[o.COERCERTLFULL] : i[o.COERCERTL];
783
+ let n;
784
+ while((n = s.exec(e)) && (!r || r.index + r[0].length !== e.length)){
785
+ if (!r || n.index + n[0].length !== r.index + r[0].length) r = n;
786
+ s.lastIndex = n.index + n[1].length + n[2].length;
787
+ }
788
+ s.lastIndex = -1;
789
+ } else r = e.match(t.includePrerelease ? i[o.COERCEFULL] : i[o.COERCE]);
790
+ if (null === r) return null;
791
+ const l = r[2];
792
+ const a = r[3] || "0";
793
+ const h = r[4] || "0";
794
+ const c = t.includePrerelease && r[5] ? `-${r[5]}` : "";
795
+ const u = t.includePrerelease && r[6] ? `+${r[6]}` : "";
796
+ return n(`${l}.${a}.${h}${c}${u}`, t);
797
+ };
798
+ e.exports = coerce;
799
+ },
800
+ 425: (e, t, r)=>{
801
+ const s = r(649);
802
+ const compareBuild = (e, t, r)=>{
803
+ const n = new s(e, r);
804
+ const i = new s(t, r);
805
+ return n.compare(i) || n.compareBuild(i);
806
+ };
807
+ e.exports = compareBuild;
808
+ },
809
+ 59: (e, t, r)=>{
810
+ const s = r(936);
811
+ const compareLoose = (e, t)=>s(e, t, true);
812
+ e.exports = compareLoose;
813
+ },
814
+ 936: (e, t, r)=>{
815
+ const s = r(649);
816
+ const compare = (e, t, r)=>new s(e, r).compare(new s(t, r));
817
+ e.exports = compare;
818
+ },
819
+ 163: (e, t, r)=>{
820
+ const s = r(447);
821
+ const diff = (e, t)=>{
822
+ const r = s(e, null, true);
823
+ const n = s(t, null, true);
824
+ const i = r.compare(n);
825
+ if (0 === i) return null;
826
+ const o = i > 0;
827
+ const l = o ? r : n;
828
+ const a = o ? n : r;
829
+ const h = !!l.prerelease.length;
830
+ const c = !!a.prerelease.length;
831
+ if (c && !h) {
832
+ if (!a.patch && !a.minor) return "major";
833
+ if (l.patch) return "patch";
834
+ if (l.minor) return "minor";
835
+ return "major";
836
+ }
837
+ const u = h ? "pre" : "";
838
+ if (r.major !== n.major) return u + "major";
839
+ if (r.minor !== n.minor) return u + "minor";
840
+ if (r.patch !== n.patch) return u + "patch";
841
+ return "prerelease";
842
+ };
843
+ e.exports = diff;
844
+ },
845
+ 164: (e, t, r)=>{
846
+ const s = r(936);
847
+ const eq = (e, t, r)=>0 === s(e, t, r);
848
+ e.exports = eq;
849
+ },
850
+ 478: (e, t, r)=>{
851
+ const s = r(936);
852
+ const gt = (e, t, r)=>s(e, t, r) > 0;
853
+ e.exports = gt;
854
+ },
855
+ 528: (e, t, r)=>{
856
+ const s = r(936);
857
+ const gte = (e, t, r)=>s(e, t, r) >= 0;
858
+ e.exports = gte;
859
+ },
860
+ 53: (e, t, r)=>{
861
+ const s = r(649);
862
+ const inc = (e, t, r, n, i)=>{
863
+ if ("string" == typeof r) {
864
+ i = n;
865
+ n = r;
866
+ r = void 0;
867
+ }
868
+ try {
869
+ return new s(e instanceof s ? e.version : e, r).inc(t, n, i).version;
870
+ } catch (e) {
871
+ return null;
872
+ }
873
+ };
874
+ e.exports = inc;
875
+ },
876
+ 654: (e, t, r)=>{
877
+ const s = r(936);
878
+ const lt = (e, t, r)=>s(e, t, r) < 0;
879
+ e.exports = lt;
880
+ },
881
+ 355: (e, t, r)=>{
882
+ const s = r(936);
883
+ const lte = (e, t, r)=>s(e, t, r) <= 0;
884
+ e.exports = lte;
885
+ },
886
+ 86: (e, t, r)=>{
887
+ const s = r(649);
888
+ const major = (e, t)=>new s(e, t).major;
889
+ e.exports = major;
890
+ },
891
+ 753: (e, t, r)=>{
892
+ const s = r(649);
893
+ const minor = (e, t)=>new s(e, t).minor;
894
+ e.exports = minor;
895
+ },
896
+ 196: (e, t, r)=>{
897
+ const s = r(936);
898
+ const neq = (e, t, r)=>0 !== s(e, t, r);
899
+ e.exports = neq;
900
+ },
901
+ 447: (e, t, r)=>{
902
+ const s = r(649);
903
+ const parse = (e, t, r = false)=>{
904
+ if (e instanceof s) return e;
905
+ try {
906
+ return new s(e, t);
907
+ } catch (e) {
908
+ if (!r) return null;
909
+ throw e;
910
+ }
911
+ };
912
+ e.exports = parse;
913
+ },
914
+ 772: (e, t, r)=>{
915
+ const s = r(649);
916
+ const patch = (e, t)=>new s(e, t).patch;
917
+ e.exports = patch;
918
+ },
919
+ 973: (e, t, r)=>{
920
+ const s = r(447);
921
+ const prerelease = (e, t)=>{
922
+ const r = s(e, t);
923
+ return r && r.prerelease.length ? r.prerelease : null;
924
+ };
925
+ e.exports = prerelease;
926
+ },
927
+ 580: (e, t, r)=>{
928
+ const s = r(936);
929
+ const rcompare = (e, t, r)=>s(t, e, r);
930
+ e.exports = rcompare;
931
+ },
932
+ 573: (e, t, r)=>{
933
+ const s = r(425);
934
+ const rsort = (e, t)=>e.sort((e, r)=>s(r, e, t));
935
+ e.exports = rsort;
936
+ },
937
+ 727: (e, t, r)=>{
938
+ const s = r(530);
939
+ const satisfies = (e, t, r)=>{
940
+ try {
941
+ t = new s(t, r);
942
+ } catch (e) {
943
+ return false;
944
+ }
945
+ return t.test(e);
946
+ };
947
+ e.exports = satisfies;
948
+ },
949
+ 318: (e, t, r)=>{
950
+ const s = r(425);
951
+ const sort = (e, t)=>e.sort((e, r)=>s(e, r, t));
952
+ e.exports = sort;
953
+ },
954
+ 458: (e, t, r)=>{
955
+ const s = r(447);
956
+ const valid = (e, t)=>{
957
+ const r = s(e, t);
958
+ return r ? r.version : null;
959
+ };
960
+ e.exports = valid;
961
+ },
962
+ 921: (e, t, r)=>{
963
+ const s = r(258);
964
+ const n = r(745);
965
+ const i = r(649);
966
+ const o = r(74);
967
+ const l = r(447);
968
+ const a = r(458);
969
+ const h = r(640);
970
+ const c = r(53);
971
+ const u = r(163);
972
+ const f = r(86);
973
+ const p = r(753);
974
+ const E = r(772);
975
+ const m = r(973);
976
+ const v = r(936);
977
+ const $ = r(580);
978
+ const R = r(59);
979
+ const d = r(425);
980
+ const g = r(318);
981
+ const I = r(573);
982
+ const N = r(478);
983
+ const L = r(654);
984
+ const A = r(164);
985
+ const w = r(196);
986
+ const O = r(528);
987
+ const S = r(355);
988
+ const T = r(159);
989
+ const y = r(732);
990
+ const x = r(584);
991
+ const P = r(530);
992
+ const C = r(727);
993
+ const b = r(857);
994
+ const D = r(754);
995
+ const _ = r(786);
996
+ const G = r(200);
997
+ const M = r(115);
998
+ const F = r(443);
999
+ const j = r(490);
1000
+ const Y = r(987);
1001
+ const U = r(219);
1002
+ const X = r(333);
1003
+ const k = r(958);
1004
+ e.exports = {
1005
+ parse: l,
1006
+ valid: a,
1007
+ clean: h,
1008
+ inc: c,
1009
+ diff: u,
1010
+ major: f,
1011
+ minor: p,
1012
+ patch: E,
1013
+ prerelease: m,
1014
+ compare: v,
1015
+ rcompare: $,
1016
+ compareLoose: R,
1017
+ compareBuild: d,
1018
+ sort: g,
1019
+ rsort: I,
1020
+ gt: N,
1021
+ lt: L,
1022
+ eq: A,
1023
+ neq: w,
1024
+ gte: O,
1025
+ lte: S,
1026
+ cmp: T,
1027
+ coerce: y,
1028
+ Comparator: x,
1029
+ Range: P,
1030
+ satisfies: C,
1031
+ toComparators: b,
1032
+ maxSatisfying: D,
1033
+ minSatisfying: _,
1034
+ minVersion: G,
1035
+ validRange: M,
1036
+ outside: F,
1037
+ gtr: j,
1038
+ ltr: Y,
1039
+ intersects: U,
1040
+ simplifyRange: X,
1041
+ subset: k,
1042
+ SemVer: i,
1043
+ re: s.re,
1044
+ src: s.src,
1045
+ tokens: s.t,
1046
+ SEMVER_SPEC_VERSION: n.SEMVER_SPEC_VERSION,
1047
+ RELEASE_TYPES: n.RELEASE_TYPES,
1048
+ compareIdentifiers: o.compareIdentifiers,
1049
+ rcompareIdentifiers: o.rcompareIdentifiers
1050
+ };
1051
+ },
1052
+ 745: (e)=>{
1053
+ const t = "2.0.0";
1054
+ const r = 256;
1055
+ const s = Number.MAX_SAFE_INTEGER || 9007199254740991;
1056
+ const n = 16;
1057
+ const i = r - 6;
1058
+ const o = [
1059
+ "major",
1060
+ "premajor",
1061
+ "minor",
1062
+ "preminor",
1063
+ "patch",
1064
+ "prepatch",
1065
+ "prerelease"
1066
+ ];
1067
+ e.exports = {
1068
+ MAX_LENGTH: r,
1069
+ MAX_SAFE_COMPONENT_LENGTH: n,
1070
+ MAX_SAFE_BUILD_LENGTH: i,
1071
+ MAX_SAFE_INTEGER: s,
1072
+ RELEASE_TYPES: o,
1073
+ SEMVER_SPEC_VERSION: t,
1074
+ FLAG_INCLUDE_PRERELEASE: 1,
1075
+ FLAG_LOOSE: 2
1076
+ };
1077
+ },
1078
+ 935: (e)=>{
1079
+ const t = "object" == typeof process && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...e)=>console.error("SEMVER", ...e) : ()=>{};
1080
+ e.exports = t;
1081
+ },
1082
+ 74: (e)=>{
1083
+ const t = /^[0-9]+$/;
1084
+ const compareIdentifiers = (e, r)=>{
1085
+ const s = t.test(e);
1086
+ const n = t.test(r);
1087
+ if (s && n) {
1088
+ e *= 1;
1089
+ r *= 1;
1090
+ }
1091
+ return e === r ? 0 : s && !n ? -1 : n && !s ? 1 : e < r ? -1 : 1;
1092
+ };
1093
+ const rcompareIdentifiers = (e, t)=>compareIdentifiers(t, e);
1094
+ e.exports = {
1095
+ compareIdentifiers: compareIdentifiers,
1096
+ rcompareIdentifiers: rcompareIdentifiers
1097
+ };
1098
+ },
1099
+ 110: (e)=>{
1100
+ const t = Object.freeze({
1101
+ loose: true
1102
+ });
1103
+ const r = Object.freeze({});
1104
+ const parseOptions = (e)=>{
1105
+ if (!e) return r;
1106
+ if ("object" != typeof e) return t;
1107
+ return e;
1108
+ };
1109
+ e.exports = parseOptions;
1110
+ },
1111
+ 258: (e, t, r)=>{
1112
+ const { MAX_SAFE_COMPONENT_LENGTH: s, MAX_SAFE_BUILD_LENGTH: n, MAX_LENGTH: i } = r(745);
1113
+ const o = r(935);
1114
+ t = e.exports = {};
1115
+ const l = t.re = [];
1116
+ const a = t.safeRe = [];
1117
+ const h = t.src = [];
1118
+ const c = t.t = {};
1119
+ let u = 0;
1120
+ const f = "[a-zA-Z0-9-]";
1121
+ const p = [
1122
+ [
1123
+ "\\s",
1124
+ 1
1125
+ ],
1126
+ [
1127
+ "\\d",
1128
+ i
1129
+ ],
1130
+ [
1131
+ f,
1132
+ n
1133
+ ]
1134
+ ];
1135
+ const makeSafeRegex = (e)=>{
1136
+ for (const [t, r] of p)e = e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);
1137
+ return e;
1138
+ };
1139
+ const createToken = (e, t, r)=>{
1140
+ const s = makeSafeRegex(t);
1141
+ const n = u++;
1142
+ o(e, n, t);
1143
+ c[e] = n;
1144
+ h[n] = t;
1145
+ l[n] = new RegExp(t, r ? "g" : void 0);
1146
+ a[n] = new RegExp(s, r ? "g" : void 0);
1147
+ };
1148
+ createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
1149
+ createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
1150
+ createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${f}*`);
1151
+ createToken("MAINVERSION", `(${h[c.NUMERICIDENTIFIER]})\\.(${h[c.NUMERICIDENTIFIER]})\\.(${h[c.NUMERICIDENTIFIER]})`);
1152
+ createToken("MAINVERSIONLOOSE", `(${h[c.NUMERICIDENTIFIERLOOSE]})\\.(${h[c.NUMERICIDENTIFIERLOOSE]})\\.(${h[c.NUMERICIDENTIFIERLOOSE]})`);
1153
+ createToken("PRERELEASEIDENTIFIER", `(?:${h[c.NUMERICIDENTIFIER]}|${h[c.NONNUMERICIDENTIFIER]})`);
1154
+ createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${h[c.NUMERICIDENTIFIERLOOSE]}|${h[c.NONNUMERICIDENTIFIER]})`);
1155
+ createToken("PRERELEASE", `(?:-(${h[c.PRERELEASEIDENTIFIER]}(?:\\.${h[c.PRERELEASEIDENTIFIER]})*))`);
1156
+ createToken("PRERELEASELOOSE", `(?:-?(${h[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${h[c.PRERELEASEIDENTIFIERLOOSE]})*))`);
1157
+ createToken("BUILDIDENTIFIER", `${f}+`);
1158
+ createToken("BUILD", `(?:\\+(${h[c.BUILDIDENTIFIER]}(?:\\.${h[c.BUILDIDENTIFIER]})*))`);
1159
+ createToken("FULLPLAIN", `v?${h[c.MAINVERSION]}${h[c.PRERELEASE]}?${h[c.BUILD]}?`);
1160
+ createToken("FULL", `^${h[c.FULLPLAIN]}$`);
1161
+ createToken("LOOSEPLAIN", `[v=\\s]*${h[c.MAINVERSIONLOOSE]}${h[c.PRERELEASELOOSE]}?${h[c.BUILD]}?`);
1162
+ createToken("LOOSE", `^${h[c.LOOSEPLAIN]}$`);
1163
+ createToken("GTLT", "((?:<|>)?=?)");
1164
+ createToken("XRANGEIDENTIFIERLOOSE", `${h[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
1165
+ createToken("XRANGEIDENTIFIER", `${h[c.NUMERICIDENTIFIER]}|x|X|\\*`);
1166
+ createToken("XRANGEPLAIN", `[v=\\s]*(${h[c.XRANGEIDENTIFIER]})(?:\\.(${h[c.XRANGEIDENTIFIER]})(?:\\.(${h[c.XRANGEIDENTIFIER]})(?:${h[c.PRERELEASE]})?${h[c.BUILD]}?)?)?`);
1167
+ createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${h[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${h[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${h[c.XRANGEIDENTIFIERLOOSE]})(?:${h[c.PRERELEASELOOSE]})?${h[c.BUILD]}?)?)?`);
1168
+ createToken("XRANGE", `^${h[c.GTLT]}\\s*${h[c.XRANGEPLAIN]}$`);
1169
+ createToken("XRANGELOOSE", `^${h[c.GTLT]}\\s*${h[c.XRANGEPLAINLOOSE]}$`);
1170
+ createToken("COERCEPLAIN", `(^|[^\\d])(\\d{1,${s}})(?:\\.(\\d{1,${s}}))?(?:\\.(\\d{1,${s}}))?`);
1171
+ createToken("COERCE", `${h[c.COERCEPLAIN]}(?:$|[^\\d])`);
1172
+ createToken("COERCEFULL", h[c.COERCEPLAIN] + `(?:${h[c.PRERELEASE]})?` + `(?:${h[c.BUILD]})?` + "(?:$|[^\\d])");
1173
+ createToken("COERCERTL", h[c.COERCE], true);
1174
+ createToken("COERCERTLFULL", h[c.COERCEFULL], true);
1175
+ createToken("LONETILDE", "(?:~>?)");
1176
+ createToken("TILDETRIM", `(\\s*)${h[c.LONETILDE]}\\s+`, true);
1177
+ t.tildeTrimReplace = "$1~";
1178
+ createToken("TILDE", `^${h[c.LONETILDE]}${h[c.XRANGEPLAIN]}$`);
1179
+ createToken("TILDELOOSE", `^${h[c.LONETILDE]}${h[c.XRANGEPLAINLOOSE]}$`);
1180
+ createToken("LONECARET", "(?:\\^)");
1181
+ createToken("CARETTRIM", `(\\s*)${h[c.LONECARET]}\\s+`, true);
1182
+ t.caretTrimReplace = "$1^";
1183
+ createToken("CARET", `^${h[c.LONECARET]}${h[c.XRANGEPLAIN]}$`);
1184
+ createToken("CARETLOOSE", `^${h[c.LONECARET]}${h[c.XRANGEPLAINLOOSE]}$`);
1185
+ createToken("COMPARATORLOOSE", `^${h[c.GTLT]}\\s*(${h[c.LOOSEPLAIN]})$|^$`);
1186
+ createToken("COMPARATOR", `^${h[c.GTLT]}\\s*(${h[c.FULLPLAIN]})$|^$`);
1187
+ createToken("COMPARATORTRIM", `(\\s*)${h[c.GTLT]}\\s*(${h[c.LOOSEPLAIN]}|${h[c.XRANGEPLAIN]})`, true);
1188
+ t.comparatorTrimReplace = "$1$2$3";
1189
+ createToken("HYPHENRANGE", `^\\s*(${h[c.XRANGEPLAIN]})\\s+-\\s+(${h[c.XRANGEPLAIN]})\\s*\$`);
1190
+ createToken("HYPHENRANGELOOSE", `^\\s*(${h[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${h[c.XRANGEPLAINLOOSE]})\\s*\$`);
1191
+ createToken("STAR", "(<|>)?=?\\s*\\*");
1192
+ createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
1193
+ createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
1194
+ },
1195
+ 490: (e, t, r)=>{
1196
+ const s = r(443);
1197
+ const gtr = (e, t, r)=>s(e, t, ">", r);
1198
+ e.exports = gtr;
1199
+ },
1200
+ 219: (e, t, r)=>{
1201
+ const s = r(530);
1202
+ const intersects = (e, t, r)=>{
1203
+ e = new s(e, r);
1204
+ t = new s(t, r);
1205
+ return e.intersects(t, r);
1206
+ };
1207
+ e.exports = intersects;
1208
+ },
1209
+ 987: (e, t, r)=>{
1210
+ const s = r(443);
1211
+ const ltr = (e, t, r)=>s(e, t, "<", r);
1212
+ e.exports = ltr;
1213
+ },
1214
+ 754: (e, t, r)=>{
1215
+ const s = r(649);
1216
+ const n = r(530);
1217
+ const maxSatisfying = (e, t, r)=>{
1218
+ let i = null;
1219
+ let o = null;
1220
+ let l = null;
1221
+ try {
1222
+ l = new n(t, r);
1223
+ } catch (e) {
1224
+ return null;
1225
+ }
1226
+ e.forEach((e)=>{
1227
+ if (l.test(e)) {
1228
+ if (!i || -1 === o.compare(e)) {
1229
+ i = e;
1230
+ o = new s(i, r);
1231
+ }
1232
+ }
1233
+ });
1234
+ return i;
1235
+ };
1236
+ e.exports = maxSatisfying;
1237
+ },
1238
+ 786: (e, t, r)=>{
1239
+ const s = r(649);
1240
+ const n = r(530);
1241
+ const minSatisfying = (e, t, r)=>{
1242
+ let i = null;
1243
+ let o = null;
1244
+ let l = null;
1245
+ try {
1246
+ l = new n(t, r);
1247
+ } catch (e) {
1248
+ return null;
1249
+ }
1250
+ e.forEach((e)=>{
1251
+ if (l.test(e)) {
1252
+ if (!i || 1 === o.compare(e)) {
1253
+ i = e;
1254
+ o = new s(i, r);
1255
+ }
1256
+ }
1257
+ });
1258
+ return i;
1259
+ };
1260
+ e.exports = minSatisfying;
1261
+ },
1262
+ 200: (e, t, r)=>{
1263
+ const s = r(649);
1264
+ const n = r(530);
1265
+ const i = r(478);
1266
+ const minVersion = (e, t)=>{
1267
+ e = new n(e, t);
1268
+ let r = new s("0.0.0");
1269
+ if (e.test(r)) return r;
1270
+ r = new s("0.0.0-0");
1271
+ if (e.test(r)) return r;
1272
+ r = null;
1273
+ for(let t = 0; t < e.set.length; ++t){
1274
+ const n = e.set[t];
1275
+ let o = null;
1276
+ n.forEach((e)=>{
1277
+ const t = new s(e.semver.version);
1278
+ switch(e.operator){
1279
+ case ">":
1280
+ if (0 === t.prerelease.length) t.patch++;
1281
+ else t.prerelease.push(0);
1282
+ t.raw = t.format();
1283
+ case "":
1284
+ case ">=":
1285
+ if (!o || i(t, o)) o = t;
1286
+ break;
1287
+ case "<":
1288
+ case "<=":
1289
+ break;
1290
+ default:
1291
+ throw new Error(`Unexpected operation: ${e.operator}`);
1292
+ }
1293
+ });
1294
+ if (o && (!r || i(r, o))) r = o;
1295
+ }
1296
+ if (r && e.test(r)) return r;
1297
+ return null;
1298
+ };
1299
+ e.exports = minVersion;
1300
+ },
1301
+ 443: (e, t, r)=>{
1302
+ const s = r(649);
1303
+ const n = r(584);
1304
+ const { ANY: i } = n;
1305
+ const o = r(530);
1306
+ const l = r(727);
1307
+ const a = r(478);
1308
+ const h = r(654);
1309
+ const c = r(355);
1310
+ const u = r(528);
1311
+ const outside = (e, t, r, f)=>{
1312
+ e = new s(e, f);
1313
+ t = new o(t, f);
1314
+ let p, E, m, v, $;
1315
+ switch(r){
1316
+ case ">":
1317
+ p = a;
1318
+ E = c;
1319
+ m = h;
1320
+ v = ">";
1321
+ $ = ">=";
1322
+ break;
1323
+ case "<":
1324
+ p = h;
1325
+ E = u;
1326
+ m = a;
1327
+ v = "<";
1328
+ $ = "<=";
1329
+ break;
1330
+ default:
1331
+ throw new TypeError('Must provide a hilo val of "<" or ">"');
1332
+ }
1333
+ if (l(e, t, f)) return false;
1334
+ for(let r = 0; r < t.set.length; ++r){
1335
+ const s = t.set[r];
1336
+ let o = null;
1337
+ let l = null;
1338
+ s.forEach((e)=>{
1339
+ if (e.semver === i) e = new n(">=0.0.0");
1340
+ o = o || e;
1341
+ l = l || e;
1342
+ if (p(e.semver, o.semver, f)) o = e;
1343
+ else if (m(e.semver, l.semver, f)) l = e;
1344
+ });
1345
+ if (o.operator === v || o.operator === $) return false;
1346
+ if ((!l.operator || l.operator === v) && E(e, l.semver)) return false;
1347
+ if (l.operator === $ && m(e, l.semver)) return false;
1348
+ }
1349
+ return true;
1350
+ };
1351
+ e.exports = outside;
1352
+ },
1353
+ 333: (e, t, r)=>{
1354
+ const s = r(727);
1355
+ const n = r(936);
1356
+ e.exports = (e, t, r)=>{
1357
+ const i = [];
1358
+ let o = null;
1359
+ let l = null;
1360
+ const a = e.sort((e, t)=>n(e, t, r));
1361
+ for (const e of a){
1362
+ const n = s(e, t, r);
1363
+ if (n) {
1364
+ l = e;
1365
+ if (!o) o = e;
1366
+ } else {
1367
+ if (l) i.push([
1368
+ o,
1369
+ l
1370
+ ]);
1371
+ l = null;
1372
+ o = null;
1373
+ }
1374
+ }
1375
+ if (o) i.push([
1376
+ o,
1377
+ null
1378
+ ]);
1379
+ const h = [];
1380
+ for (const [e, t] of i)if (e === t) h.push(e);
1381
+ else if (t || e !== a[0]) if (t) if (e === a[0]) h.push(`<=${t}`);
1382
+ else h.push(`${e} - ${t}`);
1383
+ else h.push(`>=${e}`);
1384
+ else h.push("*");
1385
+ const c = h.join(" || ");
1386
+ const u = "string" == typeof t.raw ? t.raw : String(t);
1387
+ return c.length < u.length ? c : t;
1388
+ };
1389
+ },
1390
+ 958: (e, t, r)=>{
1391
+ const s = r(530);
1392
+ const n = r(584);
1393
+ const { ANY: i } = n;
1394
+ const o = r(727);
1395
+ const l = r(936);
1396
+ const subset = (e, t, r = {})=>{
1397
+ if (e === t) return true;
1398
+ e = new s(e, r);
1399
+ t = new s(t, r);
1400
+ let n = false;
1401
+ e: for (const s of e.set){
1402
+ for (const e of t.set){
1403
+ const t = simpleSubset(s, e, r);
1404
+ n = n || null !== t;
1405
+ if (t) continue e;
1406
+ }
1407
+ if (n) return false;
1408
+ }
1409
+ return true;
1410
+ };
1411
+ const a = [
1412
+ new n(">=0.0.0-0")
1413
+ ];
1414
+ const h = [
1415
+ new n(">=0.0.0")
1416
+ ];
1417
+ const simpleSubset = (e, t, r)=>{
1418
+ if (e === t) return true;
1419
+ if (1 === e.length && e[0].semver === i) if (1 === t.length && t[0].semver === i) return true;
1420
+ else e = r.includePrerelease ? a : h;
1421
+ if (1 === t.length && t[0].semver === i) if (r.includePrerelease) return true;
1422
+ else t = h;
1423
+ const s = new Set;
1424
+ let n, c;
1425
+ for (const t of e)if (">" === t.operator || ">=" === t.operator) n = higherGT(n, t, r);
1426
+ else if ("<" === t.operator || "<=" === t.operator) c = lowerLT(c, t, r);
1427
+ else s.add(t.semver);
1428
+ if (s.size > 1) return null;
1429
+ let u;
1430
+ if (n && c) {
1431
+ u = l(n.semver, c.semver, r);
1432
+ if (u > 0) return null;
1433
+ if (0 === u && (">=" !== n.operator || "<=" !== c.operator)) return null;
1434
+ }
1435
+ for (const e of s){
1436
+ if (n && !o(e, String(n), r)) return null;
1437
+ if (c && !o(e, String(c), r)) return null;
1438
+ for (const s of t)if (!o(e, String(s), r)) return false;
1439
+ return true;
1440
+ }
1441
+ let f, p;
1442
+ let E, m;
1443
+ let v = c && !r.includePrerelease && c.semver.prerelease.length ? c.semver : false;
1444
+ let $ = n && !r.includePrerelease && n.semver.prerelease.length ? n.semver : false;
1445
+ if (v && 1 === v.prerelease.length && "<" === c.operator && 0 === v.prerelease[0]) v = false;
1446
+ for (const e of t){
1447
+ m = m || ">" === e.operator || ">=" === e.operator;
1448
+ E = E || "<" === e.operator || "<=" === e.operator;
1449
+ if (n) {
1450
+ if ($) {
1451
+ if (e.semver.prerelease && e.semver.prerelease.length && e.semver.major === $.major && e.semver.minor === $.minor && e.semver.patch === $.patch) $ = false;
1452
+ }
1453
+ if (">" === e.operator || ">=" === e.operator) {
1454
+ f = higherGT(n, e, r);
1455
+ if (f === e && f !== n) return false;
1456
+ } else if (">=" === n.operator && !o(n.semver, String(e), r)) return false;
1457
+ }
1458
+ if (c) {
1459
+ if (v) {
1460
+ if (e.semver.prerelease && e.semver.prerelease.length && e.semver.major === v.major && e.semver.minor === v.minor && e.semver.patch === v.patch) v = false;
1461
+ }
1462
+ if ("<" === e.operator || "<=" === e.operator) {
1463
+ p = lowerLT(c, e, r);
1464
+ if (p === e && p !== c) return false;
1465
+ } else if ("<=" === c.operator && !o(c.semver, String(e), r)) return false;
1466
+ }
1467
+ if (!e.operator && (c || n) && 0 !== u) return false;
1468
+ }
1469
+ if (n && E && !c && 0 !== u) return false;
1470
+ if (c && m && !n && 0 !== u) return false;
1471
+ if ($ || v) return false;
1472
+ return true;
1473
+ };
1474
+ const higherGT = (e, t, r)=>{
1475
+ if (!e) return t;
1476
+ const s = l(e.semver, t.semver, r);
1477
+ return s > 0 ? e : s < 0 ? t : ">" === t.operator && ">=" === e.operator ? t : e;
1478
+ };
1479
+ const lowerLT = (e, t, r)=>{
1480
+ if (!e) return t;
1481
+ const s = l(e.semver, t.semver, r);
1482
+ return s < 0 ? e : s > 0 ? t : "<" === t.operator && "<=" === e.operator ? t : e;
1483
+ };
1484
+ e.exports = subset;
1485
+ },
1486
+ 857: (e, t, r)=>{
1487
+ const s = r(530);
1488
+ const toComparators = (e, t)=>new s(e, t).set.map((e)=>e.map((e)=>e.value).join(" ").trim().split(" "));
1489
+ e.exports = toComparators;
1490
+ },
1491
+ 115: (e, t, r)=>{
1492
+ const s = r(530);
1493
+ const validRange = (e, t)=>{
1494
+ try {
1495
+ return new s(e, t).range || "*";
1496
+ } catch (e) {
1497
+ return null;
1498
+ }
1499
+ };
1500
+ e.exports = validRange;
1501
+ },
1502
+ 77: (e)=>{
1503
+ "use strict";
1504
+ e.exports = function(e) {
1505
+ e.prototype[Symbol.iterator] = function*() {
1506
+ for(let e = this.head; e; e = e.next)yield e.value;
1507
+ };
1508
+ };
1509
+ },
1510
+ 605: (e, t, r)=>{
1511
+ "use strict";
1512
+ e.exports = Yallist;
1513
+ Yallist.Node = Node;
1514
+ Yallist.create = Yallist;
1515
+ function Yallist(e) {
1516
+ var t = this;
1517
+ if (!(t instanceof Yallist)) t = new Yallist;
1518
+ t.tail = null;
1519
+ t.head = null;
1520
+ t.length = 0;
1521
+ if (e && "function" == typeof e.forEach) e.forEach(function(e) {
1522
+ t.push(e);
1523
+ });
1524
+ else if (arguments.length > 0) for(var r = 0, s = arguments.length; r < s; r++)t.push(arguments[r]);
1525
+ return t;
1526
+ }
1527
+ Yallist.prototype.removeNode = function(e) {
1528
+ if (e.list !== this) throw new Error("removing node which does not belong to this list");
1529
+ var t = e.next;
1530
+ var r = e.prev;
1531
+ if (t) t.prev = r;
1532
+ if (r) r.next = t;
1533
+ if (e === this.head) this.head = t;
1534
+ if (e === this.tail) this.tail = r;
1535
+ e.list.length--;
1536
+ e.next = null;
1537
+ e.prev = null;
1538
+ e.list = null;
1539
+ return t;
1540
+ };
1541
+ Yallist.prototype.unshiftNode = function(e) {
1542
+ if (e === this.head) return;
1543
+ if (e.list) e.list.removeNode(e);
1544
+ var t = this.head;
1545
+ e.list = this;
1546
+ e.next = t;
1547
+ if (t) t.prev = e;
1548
+ this.head = e;
1549
+ if (!this.tail) this.tail = e;
1550
+ this.length++;
1551
+ };
1552
+ Yallist.prototype.pushNode = function(e) {
1553
+ if (e === this.tail) return;
1554
+ if (e.list) e.list.removeNode(e);
1555
+ var t = this.tail;
1556
+ e.list = this;
1557
+ e.prev = t;
1558
+ if (t) t.next = e;
1559
+ this.tail = e;
1560
+ if (!this.head) this.head = e;
1561
+ this.length++;
1562
+ };
1563
+ Yallist.prototype.push = function() {
1564
+ for(var e = 0, t = arguments.length; e < t; e++)push(this, arguments[e]);
1565
+ return this.length;
1566
+ };
1567
+ Yallist.prototype.unshift = function() {
1568
+ for(var e = 0, t = arguments.length; e < t; e++)unshift(this, arguments[e]);
1569
+ return this.length;
1570
+ };
1571
+ Yallist.prototype.pop = function() {
1572
+ if (!this.tail) return;
1573
+ var e = this.tail.value;
1574
+ this.tail = this.tail.prev;
1575
+ if (this.tail) this.tail.next = null;
1576
+ else this.head = null;
1577
+ this.length--;
1578
+ return e;
1579
+ };
1580
+ Yallist.prototype.shift = function() {
1581
+ if (!this.head) return;
1582
+ var e = this.head.value;
1583
+ this.head = this.head.next;
1584
+ if (this.head) this.head.prev = null;
1585
+ else this.tail = null;
1586
+ this.length--;
1587
+ return e;
1588
+ };
1589
+ Yallist.prototype.forEach = function(e, t) {
1590
+ t = t || this;
1591
+ for(var r = this.head, s = 0; null !== r; s++){
1592
+ e.call(t, r.value, s, this);
1593
+ r = r.next;
1594
+ }
1595
+ };
1596
+ Yallist.prototype.forEachReverse = function(e, t) {
1597
+ t = t || this;
1598
+ for(var r = this.tail, s = this.length - 1; null !== r; s--){
1599
+ e.call(t, r.value, s, this);
1600
+ r = r.prev;
1601
+ }
1602
+ };
1603
+ Yallist.prototype.get = function(e) {
1604
+ for(var t = 0, r = this.head; null !== r && t < e; t++)r = r.next;
1605
+ if (t === e && null !== r) return r.value;
1606
+ };
1607
+ Yallist.prototype.getReverse = function(e) {
1608
+ for(var t = 0, r = this.tail; null !== r && t < e; t++)r = r.prev;
1609
+ if (t === e && null !== r) return r.value;
1610
+ };
1611
+ Yallist.prototype.map = function(e, t) {
1612
+ t = t || this;
1613
+ var r = new Yallist;
1614
+ for(var s = this.head; null !== s;){
1615
+ r.push(e.call(t, s.value, this));
1616
+ s = s.next;
1617
+ }
1618
+ return r;
1619
+ };
1620
+ Yallist.prototype.mapReverse = function(e, t) {
1621
+ t = t || this;
1622
+ var r = new Yallist;
1623
+ for(var s = this.tail; null !== s;){
1624
+ r.push(e.call(t, s.value, this));
1625
+ s = s.prev;
1626
+ }
1627
+ return r;
1628
+ };
1629
+ Yallist.prototype.reduce = function(e, t) {
1630
+ var r;
1631
+ var s = this.head;
1632
+ if (arguments.length > 1) r = t;
1633
+ else if (this.head) {
1634
+ s = this.head.next;
1635
+ r = this.head.value;
1636
+ } else throw new TypeError("Reduce of empty list with no initial value");
1637
+ for(var n = 0; null !== s; n++){
1638
+ r = e(r, s.value, n);
1639
+ s = s.next;
1640
+ }
1641
+ return r;
1642
+ };
1643
+ Yallist.prototype.reduceReverse = function(e, t) {
1644
+ var r;
1645
+ var s = this.tail;
1646
+ if (arguments.length > 1) r = t;
1647
+ else if (this.tail) {
1648
+ s = this.tail.prev;
1649
+ r = this.tail.value;
1650
+ } else throw new TypeError("Reduce of empty list with no initial value");
1651
+ for(var n = this.length - 1; null !== s; n--){
1652
+ r = e(r, s.value, n);
1653
+ s = s.prev;
1654
+ }
1655
+ return r;
1656
+ };
1657
+ Yallist.prototype.toArray = function() {
1658
+ var e = new Array(this.length);
1659
+ for(var t = 0, r = this.head; null !== r; t++){
1660
+ e[t] = r.value;
1661
+ r = r.next;
1662
+ }
1663
+ return e;
1664
+ };
1665
+ Yallist.prototype.toArrayReverse = function() {
1666
+ var e = new Array(this.length);
1667
+ for(var t = 0, r = this.tail; null !== r; t++){
1668
+ e[t] = r.value;
1669
+ r = r.prev;
1670
+ }
1671
+ return e;
1672
+ };
1673
+ Yallist.prototype.slice = function(e, t) {
1674
+ t = t || this.length;
1675
+ if (t < 0) t += this.length;
1676
+ e = e || 0;
1677
+ if (e < 0) e += this.length;
1678
+ var r = new Yallist;
1679
+ if (t < e || t < 0) return r;
1680
+ if (e < 0) e = 0;
1681
+ if (t > this.length) t = this.length;
1682
+ for(var s = 0, n = this.head; null !== n && s < e; s++)n = n.next;
1683
+ for(; null !== n && s < t; s++, n = n.next)r.push(n.value);
1684
+ return r;
1685
+ };
1686
+ Yallist.prototype.sliceReverse = function(e, t) {
1687
+ t = t || this.length;
1688
+ if (t < 0) t += this.length;
1689
+ e = e || 0;
1690
+ if (e < 0) e += this.length;
1691
+ var r = new Yallist;
1692
+ if (t < e || t < 0) return r;
1693
+ if (e < 0) e = 0;
1694
+ if (t > this.length) t = this.length;
1695
+ for(var s = this.length, n = this.tail; null !== n && s > t; s--)n = n.prev;
1696
+ for(; null !== n && s > e; s--, n = n.prev)r.push(n.value);
1697
+ return r;
1698
+ };
1699
+ Yallist.prototype.splice = function(e, t, ...r) {
1700
+ if (e > this.length) e = this.length - 1;
1701
+ if (e < 0) e = this.length + e;
1702
+ for(var s = 0, n = this.head; null !== n && s < e; s++)n = n.next;
1703
+ var i = [];
1704
+ for(var s = 0; n && s < t; s++){
1705
+ i.push(n.value);
1706
+ n = this.removeNode(n);
1707
+ }
1708
+ if (null === n) n = this.tail;
1709
+ if (n !== this.head && n !== this.tail) n = n.prev;
1710
+ for(var s = 0; s < r.length; s++)n = insert(this, n, r[s]);
1711
+ return i;
1712
+ };
1713
+ Yallist.prototype.reverse = function() {
1714
+ var e = this.head;
1715
+ var t = this.tail;
1716
+ for(var r = e; null !== r; r = r.prev){
1717
+ var s = r.prev;
1718
+ r.prev = r.next;
1719
+ r.next = s;
1720
+ }
1721
+ this.head = t;
1722
+ this.tail = e;
1723
+ return this;
1724
+ };
1725
+ function insert(e, t, r) {
1726
+ var s = t === e.head ? new Node(r, null, t, e) : new Node(r, t, t.next, e);
1727
+ if (null === s.next) e.tail = s;
1728
+ if (null === s.prev) e.head = s;
1729
+ e.length++;
1730
+ return s;
1731
+ }
1732
+ function push(e, t) {
1733
+ e.tail = new Node(t, e.tail, null, e);
1734
+ if (!e.head) e.head = e.tail;
1735
+ e.length++;
1736
+ }
1737
+ function unshift(e, t) {
1738
+ e.head = new Node(t, null, e.head, e);
1739
+ if (!e.tail) e.tail = e.head;
1740
+ e.length++;
1741
+ }
1742
+ function Node(e, t, r, s) {
1743
+ if (!(this instanceof Node)) return new Node(e, t, r, s);
1744
+ this.list = s;
1745
+ this.value = e;
1746
+ if (t) {
1747
+ t.next = this;
1748
+ this.prev = t;
1749
+ } else this.prev = null;
1750
+ if (r) {
1751
+ r.prev = this;
1752
+ this.next = r;
1753
+ } else this.next = null;
1754
+ }
1755
+ try {
1756
+ r(77)(Yallist);
1757
+ } catch (e) {}
1758
+ }
1759
+ };
1760
+ var t = {};
1761
+ function __nccwpck_require__(r) {
1762
+ var s = t[r];
1763
+ if (void 0 !== s) return s.exports;
1764
+ var n = t[r] = {
1765
+ exports: {}
1766
+ };
1767
+ var i = true;
1768
+ try {
1769
+ e[r](n, n.exports, __nccwpck_require__);
1770
+ i = false;
1771
+ } finally{
1772
+ if (i) delete t[r];
1773
+ }
1774
+ return n.exports;
1775
+ }
1776
+ if (void 0 !== __nccwpck_require__) __nccwpck_require__.ab = __dirname + "/";
1777
+ var r = __nccwpck_require__(921);
1778
+ module.exports = r;
1779
+ })();