@modern-js/utils 2.12.1-alpha.0 → 2.12.1-alpha.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1066) hide show
  1. package/dist/cjs/compiled/address/index.js +1 -0
  2. package/dist/cjs/compiled/address/lib/address.d.ts +28 -0
  3. package/dist/cjs/compiled/address/package.json +1 -0
  4. package/dist/cjs/compiled/ajv/codegen.js +1 -0
  5. package/dist/cjs/compiled/ajv/index.js +9 -0
  6. package/dist/cjs/compiled/ajv/license +22 -0
  7. package/dist/cjs/compiled/ajv/package.json +1 -0
  8. package/dist/cjs/compiled/ajv/types/ajv.d.ts +16 -0
  9. package/dist/cjs/compiled/ajv/types/compile/codegen/code.d.ts +40 -0
  10. package/dist/cjs/compiled/ajv/types/compile/codegen/index.d.ts +79 -0
  11. package/dist/cjs/compiled/ajv/types/compile/codegen/scope.d.ts +79 -0
  12. package/dist/cjs/compiled/ajv/types/compile/errors.d.ts +13 -0
  13. package/dist/cjs/compiled/ajv/types/compile/index.d.ts +80 -0
  14. package/dist/cjs/compiled/ajv/types/compile/ref_error.d.ts +6 -0
  15. package/dist/cjs/compiled/ajv/types/compile/resolve.d.ts +12 -0
  16. package/dist/cjs/compiled/ajv/types/compile/rules.d.ts +28 -0
  17. package/dist/cjs/compiled/ajv/types/compile/util.d.ts +40 -0
  18. package/dist/cjs/compiled/ajv/types/compile/validate/index.d.ts +42 -0
  19. package/dist/cjs/compiled/ajv/types/compile/validate/subschema.d.ts +47 -0
  20. package/dist/cjs/compiled/ajv/types/core.d.ts +173 -0
  21. package/dist/cjs/compiled/ajv/types/runtime/validation_error.d.ts +7 -0
  22. package/dist/cjs/compiled/ajv/types/types/index.d.ts +183 -0
  23. package/dist/cjs/compiled/ajv/types/types/json-schema.d.ts +124 -0
  24. package/dist/cjs/compiled/ajv/types/types/jtd-schema.d.ts +169 -0
  25. package/dist/cjs/compiled/ajv/types/vocabularies/errors.d.ts +1 -0
  26. package/dist/cjs/compiled/ajv/uri-js.d.ts +59 -0
  27. package/dist/cjs/compiled/ajv-keywords/index.d.ts +1 -0
  28. package/dist/cjs/compiled/ajv-keywords/index.js +1 -0
  29. package/dist/cjs/compiled/ajv-keywords/license +21 -0
  30. package/dist/cjs/compiled/ajv-keywords/package.json +1 -0
  31. package/dist/cjs/compiled/better-ajv-errors/index.d.ts +1 -0
  32. package/dist/cjs/compiled/better-ajv-errors/index.js +1 -0
  33. package/dist/cjs/compiled/better-ajv-errors/license +13 -0
  34. package/dist/cjs/compiled/better-ajv-errors/package.json +1 -0
  35. package/dist/cjs/compiled/browserslist/index.d.ts +178 -0
  36. package/dist/cjs/compiled/browserslist/index.js +1 -0
  37. package/dist/cjs/compiled/browserslist/license +20 -0
  38. package/dist/cjs/compiled/browserslist/package.json +1 -0
  39. package/dist/cjs/compiled/chalk/index.d.ts +415 -0
  40. package/dist/cjs/compiled/chalk/index.js +1 -0
  41. package/dist/cjs/compiled/chalk/license +9 -0
  42. package/dist/cjs/compiled/chalk/package.json +1 -0
  43. package/dist/cjs/compiled/chokidar/anymatch/index.d.ts +19 -0
  44. package/dist/cjs/compiled/chokidar/fsevents.node +0 -0
  45. package/dist/cjs/compiled/chokidar/index.js +40 -0
  46. package/dist/cjs/compiled/chokidar/license +21 -0
  47. package/dist/cjs/compiled/chokidar/package.json +1 -0
  48. package/dist/cjs/compiled/chokidar/types/index.d.ts +188 -0
  49. package/dist/cjs/compiled/commander/index.js +1 -0
  50. package/dist/cjs/compiled/commander/license +22 -0
  51. package/dist/cjs/compiled/commander/package.json +1 -0
  52. package/dist/cjs/compiled/commander/typings/index.d.ts +890 -0
  53. package/dist/cjs/compiled/debug/index.d.ts +54 -0
  54. package/dist/cjs/compiled/debug/index.js +1 -0
  55. package/dist/cjs/compiled/debug/license +20 -0
  56. package/dist/cjs/compiled/debug/ms/index.d.ts +25 -0
  57. package/dist/cjs/compiled/debug/package.json +1 -0
  58. package/dist/cjs/compiled/dotenv/index.js +1 -0
  59. package/dist/cjs/compiled/dotenv/license +23 -0
  60. package/dist/cjs/compiled/dotenv/package.json +1 -0
  61. package/dist/cjs/compiled/dotenv/types/index.d.ts +59 -0
  62. package/dist/cjs/compiled/dotenv-expand/index.d.ts +15 -0
  63. package/dist/cjs/compiled/dotenv-expand/index.js +1 -0
  64. package/dist/cjs/compiled/dotenv-expand/license +24 -0
  65. package/dist/cjs/compiled/dotenv-expand/package.json +1 -0
  66. package/dist/cjs/compiled/execa/index.d.ts +564 -0
  67. package/dist/cjs/compiled/execa/index.js +1 -0
  68. package/dist/cjs/compiled/execa/license +9 -0
  69. package/dist/cjs/compiled/execa/package.json +1 -0
  70. package/dist/cjs/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
  71. package/dist/cjs/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +12 -0
  72. package/dist/cjs/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
  73. package/dist/cjs/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +20 -0
  74. package/dist/cjs/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
  75. package/dist/cjs/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
  76. package/dist/cjs/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +12 -0
  77. package/dist/cjs/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
  78. package/dist/cjs/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +16 -0
  79. package/dist/cjs/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +4 -0
  80. package/dist/cjs/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +14 -0
  81. package/dist/cjs/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
  82. package/dist/cjs/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
  83. package/dist/cjs/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
  84. package/dist/cjs/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +30 -0
  85. package/dist/cjs/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +8 -0
  86. package/dist/cjs/compiled/fast-glob/index.js +37 -0
  87. package/dist/cjs/compiled/fast-glob/license +21 -0
  88. package/dist/cjs/compiled/fast-glob/out/index.d.ts +27 -0
  89. package/dist/cjs/compiled/fast-glob/out/managers/tasks.d.ts +22 -0
  90. package/dist/cjs/compiled/fast-glob/out/settings.d.ts +164 -0
  91. package/dist/cjs/compiled/fast-glob/out/types/index.d.ts +31 -0
  92. package/dist/cjs/compiled/fast-glob/package.json +1 -0
  93. package/dist/cjs/compiled/filesize/filesize.d.ts +131 -0
  94. package/dist/cjs/compiled/filesize/index.js +9 -0
  95. package/dist/cjs/compiled/filesize/license +28 -0
  96. package/dist/cjs/compiled/filesize/package.json +1 -0
  97. package/dist/cjs/compiled/fs-extra/index.d.ts +563 -0
  98. package/dist/cjs/compiled/fs-extra/index.js +1 -0
  99. package/dist/cjs/compiled/fs-extra/license +15 -0
  100. package/dist/cjs/compiled/fs-extra/package.json +1 -0
  101. package/dist/cjs/compiled/glob/index.d.ts +91 -0
  102. package/dist/cjs/compiled/glob/index.js +1 -0
  103. package/dist/cjs/compiled/glob/license +21 -0
  104. package/dist/cjs/compiled/glob/minimatch/index.d.ts +204 -0
  105. package/dist/cjs/compiled/glob/package.json +1 -0
  106. package/dist/cjs/compiled/globby/index.d.ts +186 -0
  107. package/dist/cjs/compiled/globby/index.js +1 -0
  108. package/dist/cjs/compiled/globby/license +9 -0
  109. package/dist/cjs/compiled/globby/package.json +1 -0
  110. package/dist/cjs/compiled/gzip-size/index.d.ts +96 -0
  111. package/dist/cjs/compiled/gzip-size/index.js +1 -0
  112. package/dist/cjs/compiled/gzip-size/license +9 -0
  113. package/dist/cjs/compiled/gzip-size/package.json +1 -0
  114. package/dist/cjs/compiled/import-lazy/index.d.ts +26 -0
  115. package/dist/cjs/compiled/import-lazy/index.js +1 -0
  116. package/dist/cjs/compiled/import-lazy/license +9 -0
  117. package/dist/cjs/compiled/import-lazy/package.json +1 -0
  118. package/dist/cjs/compiled/inquirer/index.d.ts +997 -0
  119. package/dist/cjs/compiled/inquirer/index.js +9 -0
  120. package/dist/cjs/compiled/inquirer/lib/objects/choice.d.ts +65 -0
  121. package/dist/cjs/compiled/inquirer/lib/objects/choices.d.ts +206 -0
  122. package/dist/cjs/compiled/inquirer/lib/objects/separator.d.ts +37 -0
  123. package/dist/cjs/compiled/inquirer/lib/ui/baseUI.d.ts +37 -0
  124. package/dist/cjs/compiled/inquirer/lib/ui/bottom-bar.d.ts +65 -0
  125. package/dist/cjs/compiled/inquirer/lib/ui/prompt.d.ts +104 -0
  126. package/dist/cjs/compiled/inquirer/license +22 -0
  127. package/dist/cjs/compiled/inquirer/package.json +1 -0
  128. package/dist/cjs/compiled/inquirer/through/index.d.ts +25 -0
  129. package/dist/cjs/compiled/js-yaml/index.d.ts +154 -0
  130. package/dist/cjs/compiled/js-yaml/index.js +1 -0
  131. package/dist/cjs/compiled/js-yaml/license +21 -0
  132. package/dist/cjs/compiled/js-yaml/package.json +1 -0
  133. package/dist/cjs/compiled/json5/index.js +1 -0
  134. package/dist/cjs/compiled/json5/lib/index.d.ts +4 -0
  135. package/dist/cjs/compiled/json5/lib/parse.d.ts +15 -0
  136. package/dist/cjs/compiled/json5/lib/stringify.d.ts +89 -0
  137. package/dist/cjs/compiled/json5/package.json +1 -0
  138. package/dist/cjs/compiled/lodash/common/array.d.ts +2126 -0
  139. package/dist/cjs/compiled/lodash/common/collection.d.ts +1930 -0
  140. package/dist/cjs/compiled/lodash/common/common.d.ts +280 -0
  141. package/dist/cjs/compiled/lodash/common/date.d.ts +23 -0
  142. package/dist/cjs/compiled/lodash/common/function.d.ts +1446 -0
  143. package/dist/cjs/compiled/lodash/common/lang.d.ts +1693 -0
  144. package/dist/cjs/compiled/lodash/common/math.d.ts +405 -0
  145. package/dist/cjs/compiled/lodash/common/number.d.ts +131 -0
  146. package/dist/cjs/compiled/lodash/common/object.d.ts +2519 -0
  147. package/dist/cjs/compiled/lodash/common/seq.d.ts +210 -0
  148. package/dist/cjs/compiled/lodash/common/string.d.ts +788 -0
  149. package/dist/cjs/compiled/lodash/common/util.d.ts +1220 -0
  150. package/dist/cjs/compiled/lodash/index.d.ts +46 -0
  151. package/dist/cjs/compiled/lodash/index.js +5 -0
  152. package/dist/cjs/compiled/lodash/license +47 -0
  153. package/dist/cjs/compiled/lodash/package.json +1 -0
  154. package/dist/cjs/compiled/mime-types/index.d.ts +14 -0
  155. package/dist/cjs/compiled/mime-types/index.js +14 -0
  156. package/dist/cjs/compiled/mime-types/license +23 -0
  157. package/dist/cjs/compiled/mime-types/package.json +1 -0
  158. package/dist/cjs/compiled/minimist/index.d.ts +95 -0
  159. package/dist/cjs/compiled/minimist/index.js +1 -0
  160. package/dist/cjs/compiled/minimist/license +18 -0
  161. package/dist/cjs/compiled/minimist/package.json +1 -0
  162. package/dist/cjs/compiled/nanoid/index.d.ts +91 -0
  163. package/dist/cjs/compiled/nanoid/index.js +1 -0
  164. package/dist/cjs/compiled/nanoid/license +20 -0
  165. package/dist/cjs/compiled/nanoid/package.json +1 -0
  166. package/dist/cjs/compiled/ora/cli-spinners/index.d.ts +125 -0
  167. package/dist/cjs/compiled/ora/index.d.ts +277 -0
  168. package/dist/cjs/compiled/ora/index.js +3 -0
  169. package/dist/cjs/compiled/ora/license +9 -0
  170. package/dist/cjs/compiled/ora/package.json +1 -0
  171. package/dist/cjs/compiled/pkg-up/index.d.ts +48 -0
  172. package/dist/cjs/compiled/pkg-up/index.js +1 -0
  173. package/dist/cjs/compiled/pkg-up/license +9 -0
  174. package/dist/cjs/compiled/pkg-up/package.json +1 -0
  175. package/dist/cjs/compiled/recursive-readdir/index.d.ts +21 -0
  176. package/dist/cjs/compiled/recursive-readdir/index.js +1 -0
  177. package/dist/cjs/compiled/recursive-readdir/license +21 -0
  178. package/dist/cjs/compiled/recursive-readdir/package.json +1 -0
  179. package/dist/cjs/compiled/schema-utils3/index.d.ts +1 -0
  180. package/dist/cjs/compiled/schema-utils3/index.js +3 -0
  181. package/dist/cjs/compiled/schema-utils3/license +20 -0
  182. package/dist/cjs/compiled/schema-utils3/package.json +1 -0
  183. package/dist/cjs/compiled/semver/classes/comparator.d.ts +17 -0
  184. package/dist/cjs/compiled/semver/classes/range.d.ts +21 -0
  185. package/dist/cjs/compiled/semver/classes/semver.d.ts +62 -0
  186. package/dist/cjs/compiled/semver/functions/clean.d.ts +8 -0
  187. package/dist/cjs/compiled/semver/functions/cmp.d.ts +16 -0
  188. package/dist/cjs/compiled/semver/functions/coerce.d.ts +12 -0
  189. package/dist/cjs/compiled/semver/functions/compare-build.d.ts +16 -0
  190. package/dist/cjs/compiled/semver/functions/compare-loose.d.ts +5 -0
  191. package/dist/cjs/compiled/semver/functions/compare.d.ts +20 -0
  192. package/dist/cjs/compiled/semver/functions/diff.d.ts +13 -0
  193. package/dist/cjs/compiled/semver/functions/eq.d.ts +9 -0
  194. package/dist/cjs/compiled/semver/functions/gt.d.ts +9 -0
  195. package/dist/cjs/compiled/semver/functions/gte.d.ts +9 -0
  196. package/dist/cjs/compiled/semver/functions/inc.d.ts +15 -0
  197. package/dist/cjs/compiled/semver/functions/lt.d.ts +9 -0
  198. package/dist/cjs/compiled/semver/functions/lte.d.ts +8 -0
  199. package/dist/cjs/compiled/semver/functions/major.d.ts +9 -0
  200. package/dist/cjs/compiled/semver/functions/minor.d.ts +9 -0
  201. package/dist/cjs/compiled/semver/functions/neq.d.ts +9 -0
  202. package/dist/cjs/compiled/semver/functions/parse.d.ts +12 -0
  203. package/dist/cjs/compiled/semver/functions/patch.d.ts +9 -0
  204. package/dist/cjs/compiled/semver/functions/prerelease.d.ts +12 -0
  205. package/dist/cjs/compiled/semver/functions/rcompare.d.ts +15 -0
  206. package/dist/cjs/compiled/semver/functions/rsort.d.ts +9 -0
  207. package/dist/cjs/compiled/semver/functions/satisfies.d.ts +14 -0
  208. package/dist/cjs/compiled/semver/functions/sort.d.ts +9 -0
  209. package/dist/cjs/compiled/semver/functions/valid.d.ts +11 -0
  210. package/dist/cjs/compiled/semver/index.d.ts +133 -0
  211. package/dist/cjs/compiled/semver/index.js +1 -0
  212. package/dist/cjs/compiled/semver/internals/identifiers.d.ts +13 -0
  213. package/dist/cjs/compiled/semver/license +15 -0
  214. package/dist/cjs/compiled/semver/package.json +1 -0
  215. package/dist/cjs/compiled/semver/ranges/gtr.d.ts +14 -0
  216. package/dist/cjs/compiled/semver/ranges/intersects.d.ts +13 -0
  217. package/dist/cjs/compiled/semver/ranges/ltr.d.ts +14 -0
  218. package/dist/cjs/compiled/semver/ranges/max-satisfying.d.ts +14 -0
  219. package/dist/cjs/compiled/semver/ranges/min-satisfying.d.ts +14 -0
  220. package/dist/cjs/compiled/semver/ranges/min-version.d.ts +10 -0
  221. package/dist/cjs/compiled/semver/ranges/outside.d.ts +15 -0
  222. package/dist/cjs/compiled/semver/ranges/simplify.d.ts +14 -0
  223. package/dist/cjs/compiled/semver/ranges/subset.d.ts +13 -0
  224. package/dist/cjs/compiled/semver/ranges/to-comparators.d.ts +9 -0
  225. package/dist/cjs/compiled/semver/ranges/valid.d.ts +12 -0
  226. package/dist/cjs/compiled/signale/index.d.ts +162 -0
  227. package/dist/cjs/compiled/signale/index.js +1 -0
  228. package/dist/cjs/compiled/signale/package.json +1 -0
  229. package/dist/cjs/compiled/slash/index.d.ts +25 -0
  230. package/dist/cjs/compiled/slash/index.js +1 -0
  231. package/dist/cjs/compiled/slash/license +9 -0
  232. package/dist/cjs/compiled/slash/package.json +1 -0
  233. package/dist/cjs/compiled/strip-ansi/index.d.ts +17 -0
  234. package/dist/cjs/compiled/strip-ansi/index.js +1 -0
  235. package/dist/cjs/compiled/strip-ansi/license +9 -0
  236. package/dist/cjs/compiled/strip-ansi/package.json +1 -0
  237. package/dist/cjs/compiled/tsconfig-paths/index.js +1 -0
  238. package/dist/cjs/compiled/tsconfig-paths/lib/config-loader.d.ts +33 -0
  239. package/dist/cjs/compiled/tsconfig-paths/lib/filesystem.d.ts +34 -0
  240. package/dist/cjs/compiled/tsconfig-paths/lib/index.d.ts +5 -0
  241. package/dist/cjs/compiled/tsconfig-paths/lib/mapping-entry.d.ts +18 -0
  242. package/dist/cjs/compiled/tsconfig-paths/lib/match-path-async.d.ts +21 -0
  243. package/dist/cjs/compiled/tsconfig-paths/lib/match-path-sync.d.ts +32 -0
  244. package/dist/cjs/compiled/tsconfig-paths/lib/register.d.ts +12 -0
  245. package/dist/cjs/compiled/tsconfig-paths/lib/try-path.d.ts +15 -0
  246. package/dist/cjs/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +28 -0
  247. package/dist/cjs/compiled/tsconfig-paths/license +21 -0
  248. package/dist/cjs/compiled/tsconfig-paths/package.json +1 -0
  249. package/dist/cjs/compiled/upath/index.js +1 -0
  250. package/dist/cjs/compiled/upath/license +22 -0
  251. package/dist/cjs/compiled/upath/package.json +1 -0
  252. package/dist/cjs/compiled/upath/upath.d.ts +241 -0
  253. package/dist/cjs/compiled/url-join/index.d.ts +17 -0
  254. package/dist/cjs/compiled/url-join/index.js +1 -0
  255. package/dist/cjs/compiled/url-join/license +21 -0
  256. package/dist/cjs/compiled/url-join/package.json +1 -0
  257. package/dist/cjs/compiled/webpack-chain/index.js +1 -0
  258. package/dist/cjs/compiled/webpack-chain/license +373 -0
  259. package/dist/cjs/compiled/webpack-chain/package.json +1 -0
  260. package/dist/cjs/compiled/webpack-chain/types/index.d.ts +388 -0
  261. package/dist/cjs/compiled/webpack-dev-middleware/index.js +7 -0
  262. package/dist/cjs/compiled/webpack-dev-middleware/license +20 -0
  263. package/dist/cjs/compiled/webpack-dev-middleware/package.json +1 -0
  264. package/dist/cjs/compiled/webpack-dev-middleware/types/index.d.ts +262 -0
  265. package/dist/cjs/compiled.js +3 -3
  266. package/dist/cjs/import.js +1 -1
  267. package/dist/esm/compiled/address/index.js +1 -0
  268. package/dist/esm/compiled/address/lib/address.d.ts +28 -0
  269. package/dist/esm/compiled/address/package.json +1 -0
  270. package/dist/esm/compiled/ajv/codegen.js +1 -0
  271. package/dist/esm/compiled/ajv/index.js +9 -0
  272. package/dist/esm/compiled/ajv/license +22 -0
  273. package/dist/esm/compiled/ajv/package.json +1 -0
  274. package/dist/esm/compiled/ajv/types/ajv.d.ts +16 -0
  275. package/dist/esm/compiled/ajv/types/compile/codegen/code.d.ts +40 -0
  276. package/dist/esm/compiled/ajv/types/compile/codegen/index.d.ts +79 -0
  277. package/dist/esm/compiled/ajv/types/compile/codegen/scope.d.ts +79 -0
  278. package/dist/esm/compiled/ajv/types/compile/errors.d.ts +13 -0
  279. package/dist/esm/compiled/ajv/types/compile/index.d.ts +80 -0
  280. package/dist/esm/compiled/ajv/types/compile/ref_error.d.ts +6 -0
  281. package/dist/esm/compiled/ajv/types/compile/resolve.d.ts +12 -0
  282. package/dist/esm/compiled/ajv/types/compile/rules.d.ts +28 -0
  283. package/dist/esm/compiled/ajv/types/compile/util.d.ts +40 -0
  284. package/dist/esm/compiled/ajv/types/compile/validate/index.d.ts +42 -0
  285. package/dist/esm/compiled/ajv/types/compile/validate/subschema.d.ts +47 -0
  286. package/dist/esm/compiled/ajv/types/core.d.ts +173 -0
  287. package/dist/esm/compiled/ajv/types/runtime/validation_error.d.ts +7 -0
  288. package/dist/esm/compiled/ajv/types/types/index.d.ts +183 -0
  289. package/dist/esm/compiled/ajv/types/types/json-schema.d.ts +124 -0
  290. package/dist/esm/compiled/ajv/types/types/jtd-schema.d.ts +169 -0
  291. package/dist/esm/compiled/ajv/types/vocabularies/errors.d.ts +1 -0
  292. package/dist/esm/compiled/ajv/uri-js.d.ts +59 -0
  293. package/dist/esm/compiled/ajv-keywords/index.d.ts +1 -0
  294. package/dist/esm/compiled/ajv-keywords/index.js +1 -0
  295. package/dist/esm/compiled/ajv-keywords/license +21 -0
  296. package/dist/esm/compiled/ajv-keywords/package.json +1 -0
  297. package/dist/esm/compiled/better-ajv-errors/index.d.ts +1 -0
  298. package/dist/esm/compiled/better-ajv-errors/index.js +1 -0
  299. package/dist/esm/compiled/better-ajv-errors/license +13 -0
  300. package/dist/esm/compiled/better-ajv-errors/package.json +1 -0
  301. package/dist/esm/compiled/browserslist/index.d.ts +178 -0
  302. package/dist/esm/compiled/browserslist/index.js +1 -0
  303. package/dist/esm/compiled/browserslist/license +20 -0
  304. package/dist/esm/compiled/browserslist/package.json +1 -0
  305. package/dist/esm/compiled/chalk/index.d.ts +415 -0
  306. package/dist/esm/compiled/chalk/index.js +1 -0
  307. package/dist/esm/compiled/chalk/license +9 -0
  308. package/dist/esm/compiled/chalk/package.json +1 -0
  309. package/dist/esm/compiled/chokidar/anymatch/index.d.ts +19 -0
  310. package/dist/esm/compiled/chokidar/fsevents.node +0 -0
  311. package/dist/esm/compiled/chokidar/index.js +40 -0
  312. package/dist/esm/compiled/chokidar/license +21 -0
  313. package/dist/esm/compiled/chokidar/package.json +1 -0
  314. package/dist/esm/compiled/chokidar/types/index.d.ts +188 -0
  315. package/dist/esm/compiled/commander/index.js +1 -0
  316. package/dist/esm/compiled/commander/license +22 -0
  317. package/dist/esm/compiled/commander/package.json +1 -0
  318. package/dist/esm/compiled/commander/typings/index.d.ts +890 -0
  319. package/dist/esm/compiled/debug/index.d.ts +54 -0
  320. package/dist/esm/compiled/debug/index.js +1 -0
  321. package/dist/esm/compiled/debug/license +20 -0
  322. package/dist/esm/compiled/debug/ms/index.d.ts +25 -0
  323. package/dist/esm/compiled/debug/package.json +1 -0
  324. package/dist/esm/compiled/dotenv/index.js +1 -0
  325. package/dist/esm/compiled/dotenv/license +23 -0
  326. package/dist/esm/compiled/dotenv/package.json +1 -0
  327. package/dist/esm/compiled/dotenv/types/index.d.ts +59 -0
  328. package/dist/esm/compiled/dotenv-expand/index.d.ts +15 -0
  329. package/dist/esm/compiled/dotenv-expand/index.js +1 -0
  330. package/dist/esm/compiled/dotenv-expand/license +24 -0
  331. package/dist/esm/compiled/dotenv-expand/package.json +1 -0
  332. package/dist/esm/compiled/execa/index.d.ts +564 -0
  333. package/dist/esm/compiled/execa/index.js +1 -0
  334. package/dist/esm/compiled/execa/license +9 -0
  335. package/dist/esm/compiled/execa/package.json +1 -0
  336. package/dist/esm/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
  337. package/dist/esm/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +12 -0
  338. package/dist/esm/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
  339. package/dist/esm/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +20 -0
  340. package/dist/esm/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
  341. package/dist/esm/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
  342. package/dist/esm/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +12 -0
  343. package/dist/esm/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
  344. package/dist/esm/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +16 -0
  345. package/dist/esm/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +4 -0
  346. package/dist/esm/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +14 -0
  347. package/dist/esm/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
  348. package/dist/esm/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
  349. package/dist/esm/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
  350. package/dist/esm/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +30 -0
  351. package/dist/esm/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +8 -0
  352. package/dist/esm/compiled/fast-glob/index.js +37 -0
  353. package/dist/esm/compiled/fast-glob/license +21 -0
  354. package/dist/esm/compiled/fast-glob/out/index.d.ts +27 -0
  355. package/dist/esm/compiled/fast-glob/out/managers/tasks.d.ts +22 -0
  356. package/dist/esm/compiled/fast-glob/out/settings.d.ts +164 -0
  357. package/dist/esm/compiled/fast-glob/out/types/index.d.ts +31 -0
  358. package/dist/esm/compiled/fast-glob/package.json +1 -0
  359. package/dist/esm/compiled/filesize/filesize.d.ts +131 -0
  360. package/dist/esm/compiled/filesize/index.js +9 -0
  361. package/dist/esm/compiled/filesize/license +28 -0
  362. package/dist/esm/compiled/filesize/package.json +1 -0
  363. package/dist/esm/compiled/fs-extra/index.d.ts +563 -0
  364. package/dist/esm/compiled/fs-extra/index.js +1 -0
  365. package/dist/esm/compiled/fs-extra/license +15 -0
  366. package/dist/esm/compiled/fs-extra/package.json +1 -0
  367. package/dist/esm/compiled/glob/index.d.ts +91 -0
  368. package/dist/esm/compiled/glob/index.js +1 -0
  369. package/dist/esm/compiled/glob/license +21 -0
  370. package/dist/esm/compiled/glob/minimatch/index.d.ts +204 -0
  371. package/dist/esm/compiled/glob/package.json +1 -0
  372. package/dist/esm/compiled/globby/index.d.ts +186 -0
  373. package/dist/esm/compiled/globby/index.js +1 -0
  374. package/dist/esm/compiled/globby/license +9 -0
  375. package/dist/esm/compiled/globby/package.json +1 -0
  376. package/dist/esm/compiled/gzip-size/index.d.ts +96 -0
  377. package/dist/esm/compiled/gzip-size/index.js +1 -0
  378. package/dist/esm/compiled/gzip-size/license +9 -0
  379. package/dist/esm/compiled/gzip-size/package.json +1 -0
  380. package/dist/esm/compiled/import-lazy/index.d.ts +26 -0
  381. package/dist/esm/compiled/import-lazy/index.js +1 -0
  382. package/dist/esm/compiled/import-lazy/license +9 -0
  383. package/dist/esm/compiled/import-lazy/package.json +1 -0
  384. package/dist/esm/compiled/inquirer/index.d.ts +997 -0
  385. package/dist/esm/compiled/inquirer/index.js +9 -0
  386. package/dist/esm/compiled/inquirer/lib/objects/choice.d.ts +65 -0
  387. package/dist/esm/compiled/inquirer/lib/objects/choices.d.ts +206 -0
  388. package/dist/esm/compiled/inquirer/lib/objects/separator.d.ts +37 -0
  389. package/dist/esm/compiled/inquirer/lib/ui/baseUI.d.ts +37 -0
  390. package/dist/esm/compiled/inquirer/lib/ui/bottom-bar.d.ts +65 -0
  391. package/dist/esm/compiled/inquirer/lib/ui/prompt.d.ts +104 -0
  392. package/dist/esm/compiled/inquirer/license +22 -0
  393. package/dist/esm/compiled/inquirer/package.json +1 -0
  394. package/dist/esm/compiled/inquirer/through/index.d.ts +25 -0
  395. package/dist/esm/compiled/js-yaml/index.d.ts +154 -0
  396. package/dist/esm/compiled/js-yaml/index.js +1 -0
  397. package/dist/esm/compiled/js-yaml/license +21 -0
  398. package/dist/esm/compiled/js-yaml/package.json +1 -0
  399. package/dist/esm/compiled/json5/index.js +1 -0
  400. package/dist/esm/compiled/json5/lib/index.d.ts +4 -0
  401. package/dist/esm/compiled/json5/lib/parse.d.ts +15 -0
  402. package/dist/esm/compiled/json5/lib/stringify.d.ts +89 -0
  403. package/dist/esm/compiled/json5/package.json +1 -0
  404. package/dist/esm/compiled/lodash/common/array.d.ts +2126 -0
  405. package/dist/esm/compiled/lodash/common/collection.d.ts +1930 -0
  406. package/dist/esm/compiled/lodash/common/common.d.ts +280 -0
  407. package/dist/esm/compiled/lodash/common/date.d.ts +23 -0
  408. package/dist/esm/compiled/lodash/common/function.d.ts +1446 -0
  409. package/dist/esm/compiled/lodash/common/lang.d.ts +1693 -0
  410. package/dist/esm/compiled/lodash/common/math.d.ts +405 -0
  411. package/dist/esm/compiled/lodash/common/number.d.ts +131 -0
  412. package/dist/esm/compiled/lodash/common/object.d.ts +2519 -0
  413. package/dist/esm/compiled/lodash/common/seq.d.ts +210 -0
  414. package/dist/esm/compiled/lodash/common/string.d.ts +788 -0
  415. package/dist/esm/compiled/lodash/common/util.d.ts +1220 -0
  416. package/dist/esm/compiled/lodash/index.d.ts +46 -0
  417. package/dist/esm/compiled/lodash/index.js +5 -0
  418. package/dist/esm/compiled/lodash/license +47 -0
  419. package/dist/esm/compiled/lodash/package.json +1 -0
  420. package/dist/esm/compiled/mime-types/index.d.ts +14 -0
  421. package/dist/esm/compiled/mime-types/index.js +14 -0
  422. package/dist/esm/compiled/mime-types/license +23 -0
  423. package/dist/esm/compiled/mime-types/package.json +1 -0
  424. package/dist/esm/compiled/minimist/index.d.ts +95 -0
  425. package/dist/esm/compiled/minimist/index.js +1 -0
  426. package/dist/esm/compiled/minimist/license +18 -0
  427. package/dist/esm/compiled/minimist/package.json +1 -0
  428. package/dist/esm/compiled/nanoid/index.d.ts +91 -0
  429. package/dist/esm/compiled/nanoid/index.js +1 -0
  430. package/dist/esm/compiled/nanoid/license +20 -0
  431. package/dist/esm/compiled/nanoid/package.json +1 -0
  432. package/dist/esm/compiled/ora/cli-spinners/index.d.ts +125 -0
  433. package/dist/esm/compiled/ora/index.d.ts +277 -0
  434. package/dist/esm/compiled/ora/index.js +3 -0
  435. package/dist/esm/compiled/ora/license +9 -0
  436. package/dist/esm/compiled/ora/package.json +1 -0
  437. package/dist/esm/compiled/pkg-up/index.d.ts +48 -0
  438. package/dist/esm/compiled/pkg-up/index.js +1 -0
  439. package/dist/esm/compiled/pkg-up/license +9 -0
  440. package/dist/esm/compiled/pkg-up/package.json +1 -0
  441. package/dist/esm/compiled/recursive-readdir/index.d.ts +21 -0
  442. package/dist/esm/compiled/recursive-readdir/index.js +1 -0
  443. package/dist/esm/compiled/recursive-readdir/license +21 -0
  444. package/dist/esm/compiled/recursive-readdir/package.json +1 -0
  445. package/dist/esm/compiled/schema-utils3/index.d.ts +1 -0
  446. package/dist/esm/compiled/schema-utils3/index.js +3 -0
  447. package/dist/esm/compiled/schema-utils3/license +20 -0
  448. package/dist/esm/compiled/schema-utils3/package.json +1 -0
  449. package/dist/esm/compiled/semver/classes/comparator.d.ts +17 -0
  450. package/dist/esm/compiled/semver/classes/range.d.ts +21 -0
  451. package/dist/esm/compiled/semver/classes/semver.d.ts +62 -0
  452. package/dist/esm/compiled/semver/functions/clean.d.ts +8 -0
  453. package/dist/esm/compiled/semver/functions/cmp.d.ts +16 -0
  454. package/dist/esm/compiled/semver/functions/coerce.d.ts +12 -0
  455. package/dist/esm/compiled/semver/functions/compare-build.d.ts +16 -0
  456. package/dist/esm/compiled/semver/functions/compare-loose.d.ts +5 -0
  457. package/dist/esm/compiled/semver/functions/compare.d.ts +20 -0
  458. package/dist/esm/compiled/semver/functions/diff.d.ts +13 -0
  459. package/dist/esm/compiled/semver/functions/eq.d.ts +9 -0
  460. package/dist/esm/compiled/semver/functions/gt.d.ts +9 -0
  461. package/dist/esm/compiled/semver/functions/gte.d.ts +9 -0
  462. package/dist/esm/compiled/semver/functions/inc.d.ts +15 -0
  463. package/dist/esm/compiled/semver/functions/lt.d.ts +9 -0
  464. package/dist/esm/compiled/semver/functions/lte.d.ts +8 -0
  465. package/dist/esm/compiled/semver/functions/major.d.ts +9 -0
  466. package/dist/esm/compiled/semver/functions/minor.d.ts +9 -0
  467. package/dist/esm/compiled/semver/functions/neq.d.ts +9 -0
  468. package/dist/esm/compiled/semver/functions/parse.d.ts +12 -0
  469. package/dist/esm/compiled/semver/functions/patch.d.ts +9 -0
  470. package/dist/esm/compiled/semver/functions/prerelease.d.ts +12 -0
  471. package/dist/esm/compiled/semver/functions/rcompare.d.ts +15 -0
  472. package/dist/esm/compiled/semver/functions/rsort.d.ts +9 -0
  473. package/dist/esm/compiled/semver/functions/satisfies.d.ts +14 -0
  474. package/dist/esm/compiled/semver/functions/sort.d.ts +9 -0
  475. package/dist/esm/compiled/semver/functions/valid.d.ts +11 -0
  476. package/dist/esm/compiled/semver/index.d.ts +133 -0
  477. package/dist/esm/compiled/semver/index.js +1 -0
  478. package/dist/esm/compiled/semver/internals/identifiers.d.ts +13 -0
  479. package/dist/esm/compiled/semver/license +15 -0
  480. package/dist/esm/compiled/semver/package.json +1 -0
  481. package/dist/esm/compiled/semver/ranges/gtr.d.ts +14 -0
  482. package/dist/esm/compiled/semver/ranges/intersects.d.ts +13 -0
  483. package/dist/esm/compiled/semver/ranges/ltr.d.ts +14 -0
  484. package/dist/esm/compiled/semver/ranges/max-satisfying.d.ts +14 -0
  485. package/dist/esm/compiled/semver/ranges/min-satisfying.d.ts +14 -0
  486. package/dist/esm/compiled/semver/ranges/min-version.d.ts +10 -0
  487. package/dist/esm/compiled/semver/ranges/outside.d.ts +15 -0
  488. package/dist/esm/compiled/semver/ranges/simplify.d.ts +14 -0
  489. package/dist/esm/compiled/semver/ranges/subset.d.ts +13 -0
  490. package/dist/esm/compiled/semver/ranges/to-comparators.d.ts +9 -0
  491. package/dist/esm/compiled/semver/ranges/valid.d.ts +12 -0
  492. package/dist/esm/compiled/signale/index.d.ts +162 -0
  493. package/dist/esm/compiled/signale/index.js +1 -0
  494. package/dist/esm/compiled/signale/package.json +1 -0
  495. package/dist/esm/compiled/slash/index.d.ts +25 -0
  496. package/dist/esm/compiled/slash/index.js +1 -0
  497. package/dist/esm/compiled/slash/license +9 -0
  498. package/dist/esm/compiled/slash/package.json +1 -0
  499. package/dist/esm/compiled/strip-ansi/index.d.ts +17 -0
  500. package/dist/esm/compiled/strip-ansi/index.js +1 -0
  501. package/dist/esm/compiled/strip-ansi/license +9 -0
  502. package/dist/esm/compiled/strip-ansi/package.json +1 -0
  503. package/dist/esm/compiled/tsconfig-paths/index.js +1 -0
  504. package/dist/esm/compiled/tsconfig-paths/lib/config-loader.d.ts +33 -0
  505. package/dist/esm/compiled/tsconfig-paths/lib/filesystem.d.ts +34 -0
  506. package/dist/esm/compiled/tsconfig-paths/lib/index.d.ts +5 -0
  507. package/dist/esm/compiled/tsconfig-paths/lib/mapping-entry.d.ts +18 -0
  508. package/dist/esm/compiled/tsconfig-paths/lib/match-path-async.d.ts +21 -0
  509. package/dist/esm/compiled/tsconfig-paths/lib/match-path-sync.d.ts +32 -0
  510. package/dist/esm/compiled/tsconfig-paths/lib/register.d.ts +12 -0
  511. package/dist/esm/compiled/tsconfig-paths/lib/try-path.d.ts +15 -0
  512. package/dist/esm/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +28 -0
  513. package/dist/esm/compiled/tsconfig-paths/license +21 -0
  514. package/dist/esm/compiled/tsconfig-paths/package.json +1 -0
  515. package/dist/esm/compiled/upath/index.js +1 -0
  516. package/dist/esm/compiled/upath/license +22 -0
  517. package/dist/esm/compiled/upath/package.json +1 -0
  518. package/dist/esm/compiled/upath/upath.d.ts +241 -0
  519. package/dist/esm/compiled/url-join/index.d.ts +17 -0
  520. package/dist/esm/compiled/url-join/index.js +1 -0
  521. package/dist/esm/compiled/url-join/license +21 -0
  522. package/dist/esm/compiled/url-join/package.json +1 -0
  523. package/dist/esm/compiled/webpack-chain/index.js +1 -0
  524. package/dist/esm/compiled/webpack-chain/license +373 -0
  525. package/dist/esm/compiled/webpack-chain/package.json +1 -0
  526. package/dist/esm/compiled/webpack-chain/types/index.d.ts +388 -0
  527. package/dist/esm/compiled/webpack-dev-middleware/index.js +7 -0
  528. package/dist/esm/compiled/webpack-dev-middleware/license +20 -0
  529. package/dist/esm/compiled/webpack-dev-middleware/package.json +1 -0
  530. package/dist/esm/compiled/webpack-dev-middleware/types/index.d.ts +262 -0
  531. package/dist/esm/compiled.js +3 -3
  532. package/dist/esm/import.js +1 -1
  533. package/dist/esm-node/compiled/address/index.js +1 -0
  534. package/dist/esm-node/compiled/address/lib/address.d.ts +28 -0
  535. package/dist/esm-node/compiled/address/package.json +1 -0
  536. package/dist/esm-node/compiled/ajv/codegen.js +1 -0
  537. package/dist/esm-node/compiled/ajv/index.js +9 -0
  538. package/dist/esm-node/compiled/ajv/license +22 -0
  539. package/dist/esm-node/compiled/ajv/package.json +1 -0
  540. package/dist/esm-node/compiled/ajv/types/ajv.d.ts +16 -0
  541. package/dist/esm-node/compiled/ajv/types/compile/codegen/code.d.ts +40 -0
  542. package/dist/esm-node/compiled/ajv/types/compile/codegen/index.d.ts +79 -0
  543. package/dist/esm-node/compiled/ajv/types/compile/codegen/scope.d.ts +79 -0
  544. package/dist/esm-node/compiled/ajv/types/compile/errors.d.ts +13 -0
  545. package/dist/esm-node/compiled/ajv/types/compile/index.d.ts +80 -0
  546. package/dist/esm-node/compiled/ajv/types/compile/ref_error.d.ts +6 -0
  547. package/dist/esm-node/compiled/ajv/types/compile/resolve.d.ts +12 -0
  548. package/dist/esm-node/compiled/ajv/types/compile/rules.d.ts +28 -0
  549. package/dist/esm-node/compiled/ajv/types/compile/util.d.ts +40 -0
  550. package/dist/esm-node/compiled/ajv/types/compile/validate/index.d.ts +42 -0
  551. package/dist/esm-node/compiled/ajv/types/compile/validate/subschema.d.ts +47 -0
  552. package/dist/esm-node/compiled/ajv/types/core.d.ts +173 -0
  553. package/dist/esm-node/compiled/ajv/types/runtime/validation_error.d.ts +7 -0
  554. package/dist/esm-node/compiled/ajv/types/types/index.d.ts +183 -0
  555. package/dist/esm-node/compiled/ajv/types/types/json-schema.d.ts +124 -0
  556. package/dist/esm-node/compiled/ajv/types/types/jtd-schema.d.ts +169 -0
  557. package/dist/esm-node/compiled/ajv/types/vocabularies/errors.d.ts +1 -0
  558. package/dist/esm-node/compiled/ajv/uri-js.d.ts +59 -0
  559. package/dist/esm-node/compiled/ajv-keywords/index.d.ts +1 -0
  560. package/dist/esm-node/compiled/ajv-keywords/index.js +1 -0
  561. package/dist/esm-node/compiled/ajv-keywords/license +21 -0
  562. package/dist/esm-node/compiled/ajv-keywords/package.json +1 -0
  563. package/dist/esm-node/compiled/better-ajv-errors/index.d.ts +1 -0
  564. package/dist/esm-node/compiled/better-ajv-errors/index.js +1 -0
  565. package/dist/esm-node/compiled/better-ajv-errors/license +13 -0
  566. package/dist/esm-node/compiled/better-ajv-errors/package.json +1 -0
  567. package/dist/esm-node/compiled/browserslist/index.d.ts +178 -0
  568. package/dist/esm-node/compiled/browserslist/index.js +1 -0
  569. package/dist/esm-node/compiled/browserslist/license +20 -0
  570. package/dist/esm-node/compiled/browserslist/package.json +1 -0
  571. package/dist/esm-node/compiled/chalk/index.d.ts +415 -0
  572. package/dist/esm-node/compiled/chalk/index.js +1 -0
  573. package/dist/esm-node/compiled/chalk/license +9 -0
  574. package/dist/esm-node/compiled/chalk/package.json +1 -0
  575. package/dist/esm-node/compiled/chokidar/anymatch/index.d.ts +19 -0
  576. package/dist/esm-node/compiled/chokidar/fsevents.node +0 -0
  577. package/dist/esm-node/compiled/chokidar/index.js +40 -0
  578. package/dist/esm-node/compiled/chokidar/license +21 -0
  579. package/dist/esm-node/compiled/chokidar/package.json +1 -0
  580. package/dist/esm-node/compiled/chokidar/types/index.d.ts +188 -0
  581. package/dist/esm-node/compiled/commander/index.js +1 -0
  582. package/dist/esm-node/compiled/commander/license +22 -0
  583. package/dist/esm-node/compiled/commander/package.json +1 -0
  584. package/dist/esm-node/compiled/commander/typings/index.d.ts +890 -0
  585. package/dist/esm-node/compiled/debug/index.d.ts +54 -0
  586. package/dist/esm-node/compiled/debug/index.js +1 -0
  587. package/dist/esm-node/compiled/debug/license +20 -0
  588. package/dist/esm-node/compiled/debug/ms/index.d.ts +25 -0
  589. package/dist/esm-node/compiled/debug/package.json +1 -0
  590. package/dist/esm-node/compiled/dotenv/index.js +1 -0
  591. package/dist/esm-node/compiled/dotenv/license +23 -0
  592. package/dist/esm-node/compiled/dotenv/package.json +1 -0
  593. package/dist/esm-node/compiled/dotenv/types/index.d.ts +59 -0
  594. package/dist/esm-node/compiled/dotenv-expand/index.d.ts +15 -0
  595. package/dist/esm-node/compiled/dotenv-expand/index.js +1 -0
  596. package/dist/esm-node/compiled/dotenv-expand/license +24 -0
  597. package/dist/esm-node/compiled/dotenv-expand/package.json +1 -0
  598. package/dist/esm-node/compiled/execa/index.d.ts +564 -0
  599. package/dist/esm-node/compiled/execa/index.js +1 -0
  600. package/dist/esm-node/compiled/execa/license +9 -0
  601. package/dist/esm-node/compiled/execa/package.json +1 -0
  602. package/dist/esm-node/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
  603. package/dist/esm-node/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +12 -0
  604. package/dist/esm-node/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
  605. package/dist/esm-node/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +20 -0
  606. package/dist/esm-node/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
  607. package/dist/esm-node/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
  608. package/dist/esm-node/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +12 -0
  609. package/dist/esm-node/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
  610. package/dist/esm-node/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +16 -0
  611. package/dist/esm-node/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +4 -0
  612. package/dist/esm-node/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +14 -0
  613. package/dist/esm-node/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
  614. package/dist/esm-node/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
  615. package/dist/esm-node/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
  616. package/dist/esm-node/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +30 -0
  617. package/dist/esm-node/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +8 -0
  618. package/dist/esm-node/compiled/fast-glob/index.js +37 -0
  619. package/dist/esm-node/compiled/fast-glob/license +21 -0
  620. package/dist/esm-node/compiled/fast-glob/out/index.d.ts +27 -0
  621. package/dist/esm-node/compiled/fast-glob/out/managers/tasks.d.ts +22 -0
  622. package/dist/esm-node/compiled/fast-glob/out/settings.d.ts +164 -0
  623. package/dist/esm-node/compiled/fast-glob/out/types/index.d.ts +31 -0
  624. package/dist/esm-node/compiled/fast-glob/package.json +1 -0
  625. package/dist/esm-node/compiled/filesize/filesize.d.ts +131 -0
  626. package/dist/esm-node/compiled/filesize/index.js +9 -0
  627. package/dist/esm-node/compiled/filesize/license +28 -0
  628. package/dist/esm-node/compiled/filesize/package.json +1 -0
  629. package/dist/esm-node/compiled/fs-extra/index.d.ts +563 -0
  630. package/dist/esm-node/compiled/fs-extra/index.js +1 -0
  631. package/dist/esm-node/compiled/fs-extra/license +15 -0
  632. package/dist/esm-node/compiled/fs-extra/package.json +1 -0
  633. package/dist/esm-node/compiled/glob/index.d.ts +91 -0
  634. package/dist/esm-node/compiled/glob/index.js +1 -0
  635. package/dist/esm-node/compiled/glob/license +21 -0
  636. package/dist/esm-node/compiled/glob/minimatch/index.d.ts +204 -0
  637. package/dist/esm-node/compiled/glob/package.json +1 -0
  638. package/dist/esm-node/compiled/globby/index.d.ts +186 -0
  639. package/dist/esm-node/compiled/globby/index.js +1 -0
  640. package/dist/esm-node/compiled/globby/license +9 -0
  641. package/dist/esm-node/compiled/globby/package.json +1 -0
  642. package/dist/esm-node/compiled/gzip-size/index.d.ts +96 -0
  643. package/dist/esm-node/compiled/gzip-size/index.js +1 -0
  644. package/dist/esm-node/compiled/gzip-size/license +9 -0
  645. package/dist/esm-node/compiled/gzip-size/package.json +1 -0
  646. package/dist/esm-node/compiled/import-lazy/index.d.ts +26 -0
  647. package/dist/esm-node/compiled/import-lazy/index.js +1 -0
  648. package/dist/esm-node/compiled/import-lazy/license +9 -0
  649. package/dist/esm-node/compiled/import-lazy/package.json +1 -0
  650. package/dist/esm-node/compiled/inquirer/index.d.ts +997 -0
  651. package/dist/esm-node/compiled/inquirer/index.js +9 -0
  652. package/dist/esm-node/compiled/inquirer/lib/objects/choice.d.ts +65 -0
  653. package/dist/esm-node/compiled/inquirer/lib/objects/choices.d.ts +206 -0
  654. package/dist/esm-node/compiled/inquirer/lib/objects/separator.d.ts +37 -0
  655. package/dist/esm-node/compiled/inquirer/lib/ui/baseUI.d.ts +37 -0
  656. package/dist/esm-node/compiled/inquirer/lib/ui/bottom-bar.d.ts +65 -0
  657. package/dist/esm-node/compiled/inquirer/lib/ui/prompt.d.ts +104 -0
  658. package/dist/esm-node/compiled/inquirer/license +22 -0
  659. package/dist/esm-node/compiled/inquirer/package.json +1 -0
  660. package/dist/esm-node/compiled/inquirer/through/index.d.ts +25 -0
  661. package/dist/esm-node/compiled/js-yaml/index.d.ts +154 -0
  662. package/dist/esm-node/compiled/js-yaml/index.js +1 -0
  663. package/dist/esm-node/compiled/js-yaml/license +21 -0
  664. package/dist/esm-node/compiled/js-yaml/package.json +1 -0
  665. package/dist/esm-node/compiled/json5/index.js +1 -0
  666. package/dist/esm-node/compiled/json5/lib/index.d.ts +4 -0
  667. package/dist/esm-node/compiled/json5/lib/parse.d.ts +15 -0
  668. package/dist/esm-node/compiled/json5/lib/stringify.d.ts +89 -0
  669. package/dist/esm-node/compiled/json5/package.json +1 -0
  670. package/dist/esm-node/compiled/lodash/common/array.d.ts +2126 -0
  671. package/dist/esm-node/compiled/lodash/common/collection.d.ts +1930 -0
  672. package/dist/esm-node/compiled/lodash/common/common.d.ts +280 -0
  673. package/dist/esm-node/compiled/lodash/common/date.d.ts +23 -0
  674. package/dist/esm-node/compiled/lodash/common/function.d.ts +1446 -0
  675. package/dist/esm-node/compiled/lodash/common/lang.d.ts +1693 -0
  676. package/dist/esm-node/compiled/lodash/common/math.d.ts +405 -0
  677. package/dist/esm-node/compiled/lodash/common/number.d.ts +131 -0
  678. package/dist/esm-node/compiled/lodash/common/object.d.ts +2519 -0
  679. package/dist/esm-node/compiled/lodash/common/seq.d.ts +210 -0
  680. package/dist/esm-node/compiled/lodash/common/string.d.ts +788 -0
  681. package/dist/esm-node/compiled/lodash/common/util.d.ts +1220 -0
  682. package/dist/esm-node/compiled/lodash/index.d.ts +46 -0
  683. package/dist/esm-node/compiled/lodash/index.js +5 -0
  684. package/dist/esm-node/compiled/lodash/license +47 -0
  685. package/dist/esm-node/compiled/lodash/package.json +1 -0
  686. package/dist/esm-node/compiled/mime-types/index.d.ts +14 -0
  687. package/dist/esm-node/compiled/mime-types/index.js +14 -0
  688. package/dist/esm-node/compiled/mime-types/license +23 -0
  689. package/dist/esm-node/compiled/mime-types/package.json +1 -0
  690. package/dist/esm-node/compiled/minimist/index.d.ts +95 -0
  691. package/dist/esm-node/compiled/minimist/index.js +1 -0
  692. package/dist/esm-node/compiled/minimist/license +18 -0
  693. package/dist/esm-node/compiled/minimist/package.json +1 -0
  694. package/dist/esm-node/compiled/nanoid/index.d.ts +91 -0
  695. package/dist/esm-node/compiled/nanoid/index.js +1 -0
  696. package/dist/esm-node/compiled/nanoid/license +20 -0
  697. package/dist/esm-node/compiled/nanoid/package.json +1 -0
  698. package/dist/esm-node/compiled/ora/cli-spinners/index.d.ts +125 -0
  699. package/dist/esm-node/compiled/ora/index.d.ts +277 -0
  700. package/dist/esm-node/compiled/ora/index.js +3 -0
  701. package/dist/esm-node/compiled/ora/license +9 -0
  702. package/dist/esm-node/compiled/ora/package.json +1 -0
  703. package/dist/esm-node/compiled/pkg-up/index.d.ts +48 -0
  704. package/dist/esm-node/compiled/pkg-up/index.js +1 -0
  705. package/dist/esm-node/compiled/pkg-up/license +9 -0
  706. package/dist/esm-node/compiled/pkg-up/package.json +1 -0
  707. package/dist/esm-node/compiled/recursive-readdir/index.d.ts +21 -0
  708. package/dist/esm-node/compiled/recursive-readdir/index.js +1 -0
  709. package/dist/esm-node/compiled/recursive-readdir/license +21 -0
  710. package/dist/esm-node/compiled/recursive-readdir/package.json +1 -0
  711. package/dist/esm-node/compiled/schema-utils3/index.d.ts +1 -0
  712. package/dist/esm-node/compiled/schema-utils3/index.js +3 -0
  713. package/dist/esm-node/compiled/schema-utils3/license +20 -0
  714. package/dist/esm-node/compiled/schema-utils3/package.json +1 -0
  715. package/dist/esm-node/compiled/semver/classes/comparator.d.ts +17 -0
  716. package/dist/esm-node/compiled/semver/classes/range.d.ts +21 -0
  717. package/dist/esm-node/compiled/semver/classes/semver.d.ts +62 -0
  718. package/dist/esm-node/compiled/semver/functions/clean.d.ts +8 -0
  719. package/dist/esm-node/compiled/semver/functions/cmp.d.ts +16 -0
  720. package/dist/esm-node/compiled/semver/functions/coerce.d.ts +12 -0
  721. package/dist/esm-node/compiled/semver/functions/compare-build.d.ts +16 -0
  722. package/dist/esm-node/compiled/semver/functions/compare-loose.d.ts +5 -0
  723. package/dist/esm-node/compiled/semver/functions/compare.d.ts +20 -0
  724. package/dist/esm-node/compiled/semver/functions/diff.d.ts +13 -0
  725. package/dist/esm-node/compiled/semver/functions/eq.d.ts +9 -0
  726. package/dist/esm-node/compiled/semver/functions/gt.d.ts +9 -0
  727. package/dist/esm-node/compiled/semver/functions/gte.d.ts +9 -0
  728. package/dist/esm-node/compiled/semver/functions/inc.d.ts +15 -0
  729. package/dist/esm-node/compiled/semver/functions/lt.d.ts +9 -0
  730. package/dist/esm-node/compiled/semver/functions/lte.d.ts +8 -0
  731. package/dist/esm-node/compiled/semver/functions/major.d.ts +9 -0
  732. package/dist/esm-node/compiled/semver/functions/minor.d.ts +9 -0
  733. package/dist/esm-node/compiled/semver/functions/neq.d.ts +9 -0
  734. package/dist/esm-node/compiled/semver/functions/parse.d.ts +12 -0
  735. package/dist/esm-node/compiled/semver/functions/patch.d.ts +9 -0
  736. package/dist/esm-node/compiled/semver/functions/prerelease.d.ts +12 -0
  737. package/dist/esm-node/compiled/semver/functions/rcompare.d.ts +15 -0
  738. package/dist/esm-node/compiled/semver/functions/rsort.d.ts +9 -0
  739. package/dist/esm-node/compiled/semver/functions/satisfies.d.ts +14 -0
  740. package/dist/esm-node/compiled/semver/functions/sort.d.ts +9 -0
  741. package/dist/esm-node/compiled/semver/functions/valid.d.ts +11 -0
  742. package/dist/esm-node/compiled/semver/index.d.ts +133 -0
  743. package/dist/esm-node/compiled/semver/index.js +1 -0
  744. package/dist/esm-node/compiled/semver/internals/identifiers.d.ts +13 -0
  745. package/dist/esm-node/compiled/semver/license +15 -0
  746. package/dist/esm-node/compiled/semver/package.json +1 -0
  747. package/dist/esm-node/compiled/semver/ranges/gtr.d.ts +14 -0
  748. package/dist/esm-node/compiled/semver/ranges/intersects.d.ts +13 -0
  749. package/dist/esm-node/compiled/semver/ranges/ltr.d.ts +14 -0
  750. package/dist/esm-node/compiled/semver/ranges/max-satisfying.d.ts +14 -0
  751. package/dist/esm-node/compiled/semver/ranges/min-satisfying.d.ts +14 -0
  752. package/dist/esm-node/compiled/semver/ranges/min-version.d.ts +10 -0
  753. package/dist/esm-node/compiled/semver/ranges/outside.d.ts +15 -0
  754. package/dist/esm-node/compiled/semver/ranges/simplify.d.ts +14 -0
  755. package/dist/esm-node/compiled/semver/ranges/subset.d.ts +13 -0
  756. package/dist/esm-node/compiled/semver/ranges/to-comparators.d.ts +9 -0
  757. package/dist/esm-node/compiled/semver/ranges/valid.d.ts +12 -0
  758. package/dist/esm-node/compiled/signale/index.d.ts +162 -0
  759. package/dist/esm-node/compiled/signale/index.js +1 -0
  760. package/dist/esm-node/compiled/signale/package.json +1 -0
  761. package/dist/esm-node/compiled/slash/index.d.ts +25 -0
  762. package/dist/esm-node/compiled/slash/index.js +1 -0
  763. package/dist/esm-node/compiled/slash/license +9 -0
  764. package/dist/esm-node/compiled/slash/package.json +1 -0
  765. package/dist/esm-node/compiled/strip-ansi/index.d.ts +17 -0
  766. package/dist/esm-node/compiled/strip-ansi/index.js +1 -0
  767. package/dist/esm-node/compiled/strip-ansi/license +9 -0
  768. package/dist/esm-node/compiled/strip-ansi/package.json +1 -0
  769. package/dist/esm-node/compiled/tsconfig-paths/index.js +1 -0
  770. package/dist/esm-node/compiled/tsconfig-paths/lib/config-loader.d.ts +33 -0
  771. package/dist/esm-node/compiled/tsconfig-paths/lib/filesystem.d.ts +34 -0
  772. package/dist/esm-node/compiled/tsconfig-paths/lib/index.d.ts +5 -0
  773. package/dist/esm-node/compiled/tsconfig-paths/lib/mapping-entry.d.ts +18 -0
  774. package/dist/esm-node/compiled/tsconfig-paths/lib/match-path-async.d.ts +21 -0
  775. package/dist/esm-node/compiled/tsconfig-paths/lib/match-path-sync.d.ts +32 -0
  776. package/dist/esm-node/compiled/tsconfig-paths/lib/register.d.ts +12 -0
  777. package/dist/esm-node/compiled/tsconfig-paths/lib/try-path.d.ts +15 -0
  778. package/dist/esm-node/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +28 -0
  779. package/dist/esm-node/compiled/tsconfig-paths/license +21 -0
  780. package/dist/esm-node/compiled/tsconfig-paths/package.json +1 -0
  781. package/dist/esm-node/compiled/upath/index.js +1 -0
  782. package/dist/esm-node/compiled/upath/license +22 -0
  783. package/dist/esm-node/compiled/upath/package.json +1 -0
  784. package/dist/esm-node/compiled/upath/upath.d.ts +241 -0
  785. package/dist/esm-node/compiled/url-join/index.d.ts +17 -0
  786. package/dist/esm-node/compiled/url-join/index.js +1 -0
  787. package/dist/esm-node/compiled/url-join/license +21 -0
  788. package/dist/esm-node/compiled/url-join/package.json +1 -0
  789. package/dist/esm-node/compiled/webpack-chain/index.js +1 -0
  790. package/dist/esm-node/compiled/webpack-chain/license +373 -0
  791. package/dist/esm-node/compiled/webpack-chain/package.json +1 -0
  792. package/dist/esm-node/compiled/webpack-chain/types/index.d.ts +388 -0
  793. package/dist/esm-node/compiled/webpack-dev-middleware/index.js +7 -0
  794. package/dist/esm-node/compiled/webpack-dev-middleware/license +20 -0
  795. package/dist/esm-node/compiled/webpack-dev-middleware/package.json +1 -0
  796. package/dist/esm-node/compiled/webpack-dev-middleware/types/index.d.ts +262 -0
  797. package/dist/esm-node/compiled.js +3 -3
  798. package/dist/esm-node/import.js +1 -1
  799. package/dist/types/compiled/address/index.js +1 -0
  800. package/dist/types/compiled/address/lib/address.d.ts +28 -0
  801. package/dist/types/compiled/address/package.json +1 -0
  802. package/dist/types/compiled/ajv/codegen.js +1 -0
  803. package/dist/types/compiled/ajv/index.js +9 -0
  804. package/dist/types/compiled/ajv/license +22 -0
  805. package/dist/types/compiled/ajv/package.json +1 -0
  806. package/dist/types/compiled/ajv/types/ajv.d.ts +16 -0
  807. package/dist/types/compiled/ajv/types/compile/codegen/code.d.ts +40 -0
  808. package/dist/types/compiled/ajv/types/compile/codegen/index.d.ts +79 -0
  809. package/dist/types/compiled/ajv/types/compile/codegen/scope.d.ts +79 -0
  810. package/dist/types/compiled/ajv/types/compile/errors.d.ts +13 -0
  811. package/dist/types/compiled/ajv/types/compile/index.d.ts +80 -0
  812. package/dist/types/compiled/ajv/types/compile/ref_error.d.ts +6 -0
  813. package/dist/types/compiled/ajv/types/compile/resolve.d.ts +12 -0
  814. package/dist/types/compiled/ajv/types/compile/rules.d.ts +28 -0
  815. package/dist/types/compiled/ajv/types/compile/util.d.ts +40 -0
  816. package/dist/types/compiled/ajv/types/compile/validate/index.d.ts +42 -0
  817. package/dist/types/compiled/ajv/types/compile/validate/subschema.d.ts +47 -0
  818. package/dist/types/compiled/ajv/types/core.d.ts +173 -0
  819. package/dist/types/compiled/ajv/types/runtime/validation_error.d.ts +7 -0
  820. package/dist/types/compiled/ajv/types/types/index.d.ts +183 -0
  821. package/dist/types/compiled/ajv/types/types/json-schema.d.ts +124 -0
  822. package/dist/types/compiled/ajv/types/types/jtd-schema.d.ts +169 -0
  823. package/dist/types/compiled/ajv/types/vocabularies/errors.d.ts +1 -0
  824. package/dist/types/compiled/ajv/uri-js.d.ts +59 -0
  825. package/dist/types/compiled/ajv-keywords/index.d.ts +1 -0
  826. package/dist/types/compiled/ajv-keywords/index.js +1 -0
  827. package/dist/types/compiled/ajv-keywords/license +21 -0
  828. package/dist/types/compiled/ajv-keywords/package.json +1 -0
  829. package/dist/types/compiled/better-ajv-errors/index.d.ts +1 -0
  830. package/dist/types/compiled/better-ajv-errors/index.js +1 -0
  831. package/dist/types/compiled/better-ajv-errors/license +13 -0
  832. package/dist/types/compiled/better-ajv-errors/package.json +1 -0
  833. package/dist/types/compiled/browserslist/index.d.ts +178 -0
  834. package/dist/types/compiled/browserslist/index.js +1 -0
  835. package/dist/types/compiled/browserslist/license +20 -0
  836. package/dist/types/compiled/browserslist/package.json +1 -0
  837. package/dist/types/compiled/chalk/index.d.ts +415 -0
  838. package/dist/types/compiled/chalk/index.js +1 -0
  839. package/dist/types/compiled/chalk/license +9 -0
  840. package/dist/types/compiled/chalk/package.json +1 -0
  841. package/dist/types/compiled/chokidar/anymatch/index.d.ts +19 -0
  842. package/dist/types/compiled/chokidar/fsevents.node +0 -0
  843. package/dist/types/compiled/chokidar/index.js +40 -0
  844. package/dist/types/compiled/chokidar/license +21 -0
  845. package/dist/types/compiled/chokidar/package.json +1 -0
  846. package/dist/types/compiled/chokidar/types/index.d.ts +188 -0
  847. package/dist/types/compiled/commander/index.js +1 -0
  848. package/dist/types/compiled/commander/license +22 -0
  849. package/dist/types/compiled/commander/package.json +1 -0
  850. package/dist/types/compiled/commander/typings/index.d.ts +890 -0
  851. package/dist/types/compiled/debug/index.d.ts +54 -0
  852. package/dist/types/compiled/debug/index.js +1 -0
  853. package/dist/types/compiled/debug/license +20 -0
  854. package/dist/types/compiled/debug/ms/index.d.ts +25 -0
  855. package/dist/types/compiled/debug/package.json +1 -0
  856. package/dist/types/compiled/dotenv/index.js +1 -0
  857. package/dist/types/compiled/dotenv/license +23 -0
  858. package/dist/types/compiled/dotenv/package.json +1 -0
  859. package/dist/types/compiled/dotenv/types/index.d.ts +59 -0
  860. package/dist/types/compiled/dotenv-expand/index.d.ts +15 -0
  861. package/dist/types/compiled/dotenv-expand/index.js +1 -0
  862. package/dist/types/compiled/dotenv-expand/license +24 -0
  863. package/dist/types/compiled/dotenv-expand/package.json +1 -0
  864. package/dist/types/compiled/execa/index.d.ts +564 -0
  865. package/dist/types/compiled/execa/index.js +1 -0
  866. package/dist/types/compiled/execa/license +9 -0
  867. package/dist/types/compiled/execa/package.json +1 -0
  868. package/dist/types/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
  869. package/dist/types/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +12 -0
  870. package/dist/types/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
  871. package/dist/types/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +20 -0
  872. package/dist/types/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
  873. package/dist/types/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
  874. package/dist/types/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +12 -0
  875. package/dist/types/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
  876. package/dist/types/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +16 -0
  877. package/dist/types/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +4 -0
  878. package/dist/types/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +14 -0
  879. package/dist/types/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
  880. package/dist/types/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
  881. package/dist/types/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
  882. package/dist/types/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +30 -0
  883. package/dist/types/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +8 -0
  884. package/dist/types/compiled/fast-glob/index.js +37 -0
  885. package/dist/types/compiled/fast-glob/license +21 -0
  886. package/dist/types/compiled/fast-glob/out/index.d.ts +27 -0
  887. package/dist/types/compiled/fast-glob/out/managers/tasks.d.ts +22 -0
  888. package/dist/types/compiled/fast-glob/out/settings.d.ts +164 -0
  889. package/dist/types/compiled/fast-glob/out/types/index.d.ts +31 -0
  890. package/dist/types/compiled/fast-glob/package.json +1 -0
  891. package/dist/types/compiled/filesize/filesize.d.ts +131 -0
  892. package/dist/types/compiled/filesize/index.js +9 -0
  893. package/dist/types/compiled/filesize/license +28 -0
  894. package/dist/types/compiled/filesize/package.json +1 -0
  895. package/dist/types/compiled/fs-extra/index.d.ts +563 -0
  896. package/dist/types/compiled/fs-extra/index.js +1 -0
  897. package/dist/types/compiled/fs-extra/license +15 -0
  898. package/dist/types/compiled/fs-extra/package.json +1 -0
  899. package/dist/types/compiled/glob/index.d.ts +91 -0
  900. package/dist/types/compiled/glob/index.js +1 -0
  901. package/dist/types/compiled/glob/license +21 -0
  902. package/dist/types/compiled/glob/minimatch/index.d.ts +204 -0
  903. package/dist/types/compiled/glob/package.json +1 -0
  904. package/dist/types/compiled/globby/index.d.ts +186 -0
  905. package/dist/types/compiled/globby/index.js +1 -0
  906. package/dist/types/compiled/globby/license +9 -0
  907. package/dist/types/compiled/globby/package.json +1 -0
  908. package/dist/types/compiled/gzip-size/index.d.ts +96 -0
  909. package/dist/types/compiled/gzip-size/index.js +1 -0
  910. package/dist/types/compiled/gzip-size/license +9 -0
  911. package/dist/types/compiled/gzip-size/package.json +1 -0
  912. package/dist/types/compiled/import-lazy/index.d.ts +26 -0
  913. package/dist/types/compiled/import-lazy/index.js +1 -0
  914. package/dist/types/compiled/import-lazy/license +9 -0
  915. package/dist/types/compiled/import-lazy/package.json +1 -0
  916. package/dist/types/compiled/inquirer/index.d.ts +997 -0
  917. package/dist/types/compiled/inquirer/index.js +9 -0
  918. package/dist/types/compiled/inquirer/lib/objects/choice.d.ts +65 -0
  919. package/dist/types/compiled/inquirer/lib/objects/choices.d.ts +206 -0
  920. package/dist/types/compiled/inquirer/lib/objects/separator.d.ts +37 -0
  921. package/dist/types/compiled/inquirer/lib/ui/baseUI.d.ts +37 -0
  922. package/dist/types/compiled/inquirer/lib/ui/bottom-bar.d.ts +65 -0
  923. package/dist/types/compiled/inquirer/lib/ui/prompt.d.ts +104 -0
  924. package/dist/types/compiled/inquirer/license +22 -0
  925. package/dist/types/compiled/inquirer/package.json +1 -0
  926. package/dist/types/compiled/inquirer/through/index.d.ts +25 -0
  927. package/dist/types/compiled/js-yaml/index.d.ts +154 -0
  928. package/dist/types/compiled/js-yaml/index.js +1 -0
  929. package/dist/types/compiled/js-yaml/license +21 -0
  930. package/dist/types/compiled/js-yaml/package.json +1 -0
  931. package/dist/types/compiled/json5/index.js +1 -0
  932. package/dist/types/compiled/json5/lib/index.d.ts +4 -0
  933. package/dist/types/compiled/json5/lib/parse.d.ts +15 -0
  934. package/dist/types/compiled/json5/lib/stringify.d.ts +89 -0
  935. package/dist/types/compiled/json5/package.json +1 -0
  936. package/dist/types/compiled/lodash/common/array.d.ts +2126 -0
  937. package/dist/types/compiled/lodash/common/collection.d.ts +1930 -0
  938. package/dist/types/compiled/lodash/common/common.d.ts +280 -0
  939. package/dist/types/compiled/lodash/common/date.d.ts +23 -0
  940. package/dist/types/compiled/lodash/common/function.d.ts +1446 -0
  941. package/dist/types/compiled/lodash/common/lang.d.ts +1693 -0
  942. package/dist/types/compiled/lodash/common/math.d.ts +405 -0
  943. package/dist/types/compiled/lodash/common/number.d.ts +131 -0
  944. package/dist/types/compiled/lodash/common/object.d.ts +2519 -0
  945. package/dist/types/compiled/lodash/common/seq.d.ts +210 -0
  946. package/dist/types/compiled/lodash/common/string.d.ts +788 -0
  947. package/dist/types/compiled/lodash/common/util.d.ts +1220 -0
  948. package/dist/types/compiled/lodash/index.d.ts +46 -0
  949. package/dist/types/compiled/lodash/index.js +5 -0
  950. package/dist/types/compiled/lodash/license +47 -0
  951. package/dist/types/compiled/lodash/package.json +1 -0
  952. package/dist/types/compiled/mime-types/index.d.ts +14 -0
  953. package/dist/types/compiled/mime-types/index.js +14 -0
  954. package/dist/types/compiled/mime-types/license +23 -0
  955. package/dist/types/compiled/mime-types/package.json +1 -0
  956. package/dist/types/compiled/minimist/index.d.ts +95 -0
  957. package/dist/types/compiled/minimist/index.js +1 -0
  958. package/dist/types/compiled/minimist/license +18 -0
  959. package/dist/types/compiled/minimist/package.json +1 -0
  960. package/dist/types/compiled/nanoid/index.d.ts +91 -0
  961. package/dist/types/compiled/nanoid/index.js +1 -0
  962. package/dist/types/compiled/nanoid/license +20 -0
  963. package/dist/types/compiled/nanoid/package.json +1 -0
  964. package/dist/types/compiled/ora/cli-spinners/index.d.ts +125 -0
  965. package/dist/types/compiled/ora/index.d.ts +277 -0
  966. package/dist/types/compiled/ora/index.js +3 -0
  967. package/dist/types/compiled/ora/license +9 -0
  968. package/dist/types/compiled/ora/package.json +1 -0
  969. package/dist/types/compiled/pkg-up/index.d.ts +48 -0
  970. package/dist/types/compiled/pkg-up/index.js +1 -0
  971. package/dist/types/compiled/pkg-up/license +9 -0
  972. package/dist/types/compiled/pkg-up/package.json +1 -0
  973. package/dist/types/compiled/recursive-readdir/index.d.ts +21 -0
  974. package/dist/types/compiled/recursive-readdir/index.js +1 -0
  975. package/dist/types/compiled/recursive-readdir/license +21 -0
  976. package/dist/types/compiled/recursive-readdir/package.json +1 -0
  977. package/dist/types/compiled/schema-utils3/index.d.ts +1 -0
  978. package/dist/types/compiled/schema-utils3/index.js +3 -0
  979. package/dist/types/compiled/schema-utils3/license +20 -0
  980. package/dist/types/compiled/schema-utils3/package.json +1 -0
  981. package/dist/types/compiled/semver/classes/comparator.d.ts +17 -0
  982. package/dist/types/compiled/semver/classes/range.d.ts +21 -0
  983. package/dist/types/compiled/semver/classes/semver.d.ts +62 -0
  984. package/dist/types/compiled/semver/functions/clean.d.ts +8 -0
  985. package/dist/types/compiled/semver/functions/cmp.d.ts +16 -0
  986. package/dist/types/compiled/semver/functions/coerce.d.ts +12 -0
  987. package/dist/types/compiled/semver/functions/compare-build.d.ts +16 -0
  988. package/dist/types/compiled/semver/functions/compare-loose.d.ts +5 -0
  989. package/dist/types/compiled/semver/functions/compare.d.ts +20 -0
  990. package/dist/types/compiled/semver/functions/diff.d.ts +13 -0
  991. package/dist/types/compiled/semver/functions/eq.d.ts +9 -0
  992. package/dist/types/compiled/semver/functions/gt.d.ts +9 -0
  993. package/dist/types/compiled/semver/functions/gte.d.ts +9 -0
  994. package/dist/types/compiled/semver/functions/inc.d.ts +15 -0
  995. package/dist/types/compiled/semver/functions/lt.d.ts +9 -0
  996. package/dist/types/compiled/semver/functions/lte.d.ts +8 -0
  997. package/dist/types/compiled/semver/functions/major.d.ts +9 -0
  998. package/dist/types/compiled/semver/functions/minor.d.ts +9 -0
  999. package/dist/types/compiled/semver/functions/neq.d.ts +9 -0
  1000. package/dist/types/compiled/semver/functions/parse.d.ts +12 -0
  1001. package/dist/types/compiled/semver/functions/patch.d.ts +9 -0
  1002. package/dist/types/compiled/semver/functions/prerelease.d.ts +12 -0
  1003. package/dist/types/compiled/semver/functions/rcompare.d.ts +15 -0
  1004. package/dist/types/compiled/semver/functions/rsort.d.ts +9 -0
  1005. package/dist/types/compiled/semver/functions/satisfies.d.ts +14 -0
  1006. package/dist/types/compiled/semver/functions/sort.d.ts +9 -0
  1007. package/dist/types/compiled/semver/functions/valid.d.ts +11 -0
  1008. package/dist/types/compiled/semver/index.d.ts +133 -0
  1009. package/dist/types/compiled/semver/index.js +1 -0
  1010. package/dist/types/compiled/semver/internals/identifiers.d.ts +13 -0
  1011. package/dist/types/compiled/semver/license +15 -0
  1012. package/dist/types/compiled/semver/package.json +1 -0
  1013. package/dist/types/compiled/semver/ranges/gtr.d.ts +14 -0
  1014. package/dist/types/compiled/semver/ranges/intersects.d.ts +13 -0
  1015. package/dist/types/compiled/semver/ranges/ltr.d.ts +14 -0
  1016. package/dist/types/compiled/semver/ranges/max-satisfying.d.ts +14 -0
  1017. package/dist/types/compiled/semver/ranges/min-satisfying.d.ts +14 -0
  1018. package/dist/types/compiled/semver/ranges/min-version.d.ts +10 -0
  1019. package/dist/types/compiled/semver/ranges/outside.d.ts +15 -0
  1020. package/dist/types/compiled/semver/ranges/simplify.d.ts +14 -0
  1021. package/dist/types/compiled/semver/ranges/subset.d.ts +13 -0
  1022. package/dist/types/compiled/semver/ranges/to-comparators.d.ts +9 -0
  1023. package/dist/types/compiled/semver/ranges/valid.d.ts +12 -0
  1024. package/dist/types/compiled/signale/index.d.ts +162 -0
  1025. package/dist/types/compiled/signale/index.js +1 -0
  1026. package/dist/types/compiled/signale/package.json +1 -0
  1027. package/dist/types/compiled/slash/index.d.ts +25 -0
  1028. package/dist/types/compiled/slash/index.js +1 -0
  1029. package/dist/types/compiled/slash/license +9 -0
  1030. package/dist/types/compiled/slash/package.json +1 -0
  1031. package/dist/types/compiled/strip-ansi/index.d.ts +17 -0
  1032. package/dist/types/compiled/strip-ansi/index.js +1 -0
  1033. package/dist/types/compiled/strip-ansi/license +9 -0
  1034. package/dist/types/compiled/strip-ansi/package.json +1 -0
  1035. package/dist/types/compiled/tsconfig-paths/index.js +1 -0
  1036. package/dist/types/compiled/tsconfig-paths/lib/config-loader.d.ts +33 -0
  1037. package/dist/types/compiled/tsconfig-paths/lib/filesystem.d.ts +34 -0
  1038. package/dist/types/compiled/tsconfig-paths/lib/index.d.ts +5 -0
  1039. package/dist/types/compiled/tsconfig-paths/lib/mapping-entry.d.ts +18 -0
  1040. package/dist/types/compiled/tsconfig-paths/lib/match-path-async.d.ts +21 -0
  1041. package/dist/types/compiled/tsconfig-paths/lib/match-path-sync.d.ts +32 -0
  1042. package/dist/types/compiled/tsconfig-paths/lib/register.d.ts +12 -0
  1043. package/dist/types/compiled/tsconfig-paths/lib/try-path.d.ts +15 -0
  1044. package/dist/types/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +28 -0
  1045. package/dist/types/compiled/tsconfig-paths/license +21 -0
  1046. package/dist/types/compiled/tsconfig-paths/package.json +1 -0
  1047. package/dist/types/compiled/upath/index.js +1 -0
  1048. package/dist/types/compiled/upath/license +22 -0
  1049. package/dist/types/compiled/upath/package.json +1 -0
  1050. package/dist/types/compiled/upath/upath.d.ts +241 -0
  1051. package/dist/types/compiled/url-join/index.d.ts +17 -0
  1052. package/dist/types/compiled/url-join/index.js +1 -0
  1053. package/dist/types/compiled/url-join/license +21 -0
  1054. package/dist/types/compiled/url-join/package.json +1 -0
  1055. package/dist/types/compiled/webpack-chain/index.js +1 -0
  1056. package/dist/types/compiled/webpack-chain/license +373 -0
  1057. package/dist/types/compiled/webpack-chain/package.json +1 -0
  1058. package/dist/types/compiled/webpack-chain/types/index.d.ts +388 -0
  1059. package/dist/types/compiled/webpack-dev-middleware/index.js +7 -0
  1060. package/dist/types/compiled/webpack-dev-middleware/license +20 -0
  1061. package/dist/types/compiled/webpack-dev-middleware/package.json +1 -0
  1062. package/dist/types/compiled/webpack-dev-middleware/types/index.d.ts +262 -0
  1063. package/dist/types/compiled.d.ts +38 -38
  1064. package/dist/types/debug.d.ts +1 -1
  1065. package/dist/types/logger.d.ts +1 -1
  1066. package/package.json +53 -21
@@ -0,0 +1,79 @@
1
+ import { Code, Name } from './code';
2
+ interface NameGroup {
3
+ prefix: string;
4
+ index: number;
5
+ }
6
+ export interface NameValue {
7
+ ref: ValueReference;
8
+ key?: unknown;
9
+ code?: Code;
10
+ }
11
+ export declare type ValueReference = unknown;
12
+ interface ScopeOptions {
13
+ prefixes?: Set<string>;
14
+ parent?: Scope;
15
+ }
16
+ interface ValueScopeOptions extends ScopeOptions {
17
+ scope: ScopeStore;
18
+ es5?: boolean;
19
+ lines?: boolean;
20
+ }
21
+ export declare type ScopeStore = Record<string, ValueReference[] | undefined>;
22
+ declare type ScopeValues = {
23
+ [Prefix in string]?: Map<unknown, ValueScopeName>;
24
+ };
25
+ export declare type ScopeValueSets = {
26
+ [Prefix in string]?: Set<ValueScopeName>;
27
+ };
28
+ export declare enum UsedValueState {
29
+ Started = 0,
30
+ Completed = 1
31
+ }
32
+ export declare type UsedScopeValues = {
33
+ [Prefix in string]?: Map<ValueScopeName, UsedValueState | undefined>;
34
+ };
35
+ export declare const varKinds: {
36
+ const: Name;
37
+ let: Name;
38
+ var: Name;
39
+ };
40
+ export declare class Scope {
41
+ protected readonly _names: {
42
+ [Prefix in string]?: NameGroup;
43
+ };
44
+ protected readonly _prefixes?: Set<string>;
45
+ protected readonly _parent?: Scope;
46
+ constructor({ prefixes, parent }?: ScopeOptions);
47
+ toName(nameOrPrefix: Name | string): Name;
48
+ name(prefix: string): Name;
49
+ protected _newName(prefix: string): string;
50
+ private _nameGroup;
51
+ }
52
+ interface ScopePath {
53
+ property: string;
54
+ itemIndex: number;
55
+ }
56
+ export declare class ValueScopeName extends Name {
57
+ readonly prefix: string;
58
+ value?: NameValue;
59
+ scopePath?: Code;
60
+ constructor(prefix: string, nameStr: string);
61
+ setValue(value: NameValue, { property, itemIndex }: ScopePath): void;
62
+ }
63
+ interface VSOptions extends ValueScopeOptions {
64
+ _n: Code;
65
+ }
66
+ export declare class ValueScope extends Scope {
67
+ protected readonly _values: ScopeValues;
68
+ protected readonly _scope: ScopeStore;
69
+ readonly opts: VSOptions;
70
+ constructor(opts: ValueScopeOptions);
71
+ get(): ScopeStore;
72
+ name(prefix: string): ValueScopeName;
73
+ value(nameOrPrefix: ValueScopeName | string, value: NameValue): ValueScopeName;
74
+ getValue(prefix: string, keyOrRef: unknown): ValueScopeName | undefined;
75
+ scopeRefs(scopeName: Name, values?: ScopeValues | ScopeValueSets): Code;
76
+ scopeCode(values?: ScopeValues | ScopeValueSets, usedValues?: UsedScopeValues, getCode?: (n: ValueScopeName) => Code | undefined): Code;
77
+ private _reduceValues;
78
+ }
79
+ export {};
@@ -0,0 +1,13 @@
1
+ import type { KeywordErrorCxt, KeywordErrorDefinition } from '../types';
2
+ import { CodeGen, Code, Name } from './codegen';
3
+ export declare const keywordError: KeywordErrorDefinition;
4
+ export declare const keyword$DataError: KeywordErrorDefinition;
5
+ export interface ErrorPaths {
6
+ instancePath?: Code;
7
+ schemaPath?: string;
8
+ parentSchema?: boolean;
9
+ }
10
+ export declare function reportError(cxt: KeywordErrorCxt, error?: KeywordErrorDefinition, errorPaths?: ErrorPaths, overrideAllErrors?: boolean): void;
11
+ export declare function reportExtraError(cxt: KeywordErrorCxt, error?: KeywordErrorDefinition, errorPaths?: ErrorPaths): void;
12
+ export declare function resetErrorsCount(gen: CodeGen, errsCount: Name): void;
13
+ export declare function extendErrors({ gen, keyword, schemaValue, data, errsCount, it, }: KeywordErrorCxt): void;
@@ -0,0 +1,80 @@
1
+ import type { AnySchema, AnySchemaObject, AnyValidateFunction, EvaluatedProperties, EvaluatedItems } from '../types';
2
+ import type Ajv from '../core';
3
+ import type { InstanceOptions } from '../core';
4
+ import { CodeGen, Name, Code, ValueScopeName } from './codegen';
5
+ import { LocalRefs } from './resolve';
6
+ import { JSONType } from './rules';
7
+ export declare type SchemaRefs = {
8
+ [Ref in string]?: SchemaEnv | AnySchema;
9
+ };
10
+ export interface SchemaCxt {
11
+ readonly gen: CodeGen;
12
+ readonly allErrors?: boolean;
13
+ readonly data: Name;
14
+ readonly parentData: Name;
15
+ readonly parentDataProperty: Code | number;
16
+ readonly dataNames: Name[];
17
+ readonly dataPathArr: (Code | number)[];
18
+ readonly dataLevel: number;
19
+ dataTypes: JSONType[];
20
+ definedProperties: Set<string>;
21
+ readonly topSchemaRef: Code;
22
+ readonly validateName: Name;
23
+ evaluated?: Name;
24
+ readonly ValidationError?: Name;
25
+ readonly schema: AnySchema;
26
+ readonly schemaEnv: SchemaEnv;
27
+ readonly rootId: string;
28
+ baseId: string;
29
+ readonly schemaPath: Code;
30
+ readonly errSchemaPath: string;
31
+ readonly errorPath: Code;
32
+ readonly propertyName?: Name;
33
+ readonly compositeRule?: boolean;
34
+ props?: EvaluatedProperties | Name;
35
+ items?: EvaluatedItems | Name;
36
+ jtdDiscriminator?: string;
37
+ jtdMetadata?: boolean;
38
+ readonly createErrors?: boolean;
39
+ readonly opts: InstanceOptions;
40
+ readonly self: Ajv;
41
+ }
42
+ export interface SchemaObjCxt extends SchemaCxt {
43
+ readonly schema: AnySchemaObject;
44
+ }
45
+ interface SchemaEnvArgs {
46
+ readonly schema: AnySchema;
47
+ readonly schemaId?: "$id" | "id";
48
+ readonly root?: SchemaEnv;
49
+ readonly baseId?: string;
50
+ readonly schemaPath?: string;
51
+ readonly localRefs?: LocalRefs;
52
+ readonly meta?: boolean;
53
+ }
54
+ export declare class SchemaEnv implements SchemaEnvArgs {
55
+ readonly schema: AnySchema;
56
+ readonly schemaId?: "$id" | "id";
57
+ readonly root: SchemaEnv;
58
+ baseId: string;
59
+ schemaPath?: string;
60
+ localRefs?: LocalRefs;
61
+ readonly meta?: boolean;
62
+ readonly $async?: boolean;
63
+ readonly refs: SchemaRefs;
64
+ readonly dynamicAnchors: {
65
+ [Ref in string]?: true;
66
+ };
67
+ validate?: AnyValidateFunction;
68
+ validateName?: ValueScopeName;
69
+ serialize?: (data: unknown) => string;
70
+ serializeName?: ValueScopeName;
71
+ parse?: (data: string) => unknown;
72
+ parseName?: ValueScopeName;
73
+ constructor(env: SchemaEnvArgs);
74
+ }
75
+ export declare function compileSchema(this: Ajv, sch: SchemaEnv): SchemaEnv;
76
+ export declare function resolveRef(this: Ajv, root: SchemaEnv, baseId: string, ref: string): AnySchema | SchemaEnv | undefined;
77
+ export declare function getCompilingSchema(this: Ajv, schEnv: SchemaEnv): SchemaEnv | void;
78
+ export declare function resolveSchema(this: Ajv, root: SchemaEnv, // root object with properties schema, refs TODO below SchemaEnv is assigned to it
79
+ ref: string): SchemaEnv | undefined;
80
+ export {};
@@ -0,0 +1,6 @@
1
+ import type { UriResolver } from '../types';
2
+ export default class MissingRefError extends Error {
3
+ readonly missingRef: string;
4
+ readonly missingSchema: string;
5
+ constructor(resolver: UriResolver, baseId: string, ref: string, msg?: string);
6
+ }
@@ -0,0 +1,12 @@
1
+ import type { AnySchema, AnySchemaObject, UriResolver } from '../types';
2
+ import type Ajv from '../ajv';
3
+ import type { URIComponents } from '../../uri-js';
4
+ export declare type LocalRefs = {
5
+ [Ref in string]?: AnySchemaObject;
6
+ };
7
+ export declare function inlineRef(schema: AnySchema, limit?: boolean | number): boolean;
8
+ export declare function getFullPath(resolver: UriResolver, id?: string, normalize?: boolean): string;
9
+ export declare function _getFullPath(resolver: UriResolver, p: URIComponents): string;
10
+ export declare function normalizeId(id: string | undefined): string;
11
+ export declare function resolveUrl(resolver: UriResolver, baseId: string, id: string): string;
12
+ export declare function getSchemaRefs(this: Ajv, schema: AnySchema, baseId: string): LocalRefs;
@@ -0,0 +1,28 @@
1
+ import type { AddedKeywordDefinition } from '../types';
2
+ declare const _jsonTypes: readonly ["string", "number", "integer", "boolean", "null", "object", "array"];
3
+ export declare type JSONType = typeof _jsonTypes[number];
4
+ export declare function isJSONType(x: unknown): x is JSONType;
5
+ declare type ValidationTypes = {
6
+ [K in JSONType]: boolean | RuleGroup | undefined;
7
+ };
8
+ export interface ValidationRules {
9
+ rules: RuleGroup[];
10
+ post: RuleGroup;
11
+ all: {
12
+ [Key in string]?: boolean | Rule;
13
+ };
14
+ keywords: {
15
+ [Key in string]?: boolean;
16
+ };
17
+ types: ValidationTypes;
18
+ }
19
+ export interface RuleGroup {
20
+ type?: JSONType;
21
+ rules: Rule[];
22
+ }
23
+ export interface Rule {
24
+ keyword: string;
25
+ definition: AddedKeywordDefinition;
26
+ }
27
+ export declare function getRules(): ValidationRules;
28
+ export {};
@@ -0,0 +1,40 @@
1
+ import type { AnySchema, EvaluatedProperties, EvaluatedItems } from '../types';
2
+ import type { SchemaCxt, SchemaObjCxt } from '.';
3
+ import { Code, Name, CodeGen } from './codegen';
4
+ import type { Rule, ValidationRules } from './rules';
5
+ export declare function toHash<T extends string = string>(arr: T[]): {
6
+ [K in T]?: true;
7
+ };
8
+ export declare function alwaysValidSchema(it: SchemaCxt, schema: AnySchema): boolean | void;
9
+ export declare function checkUnknownRules(it: SchemaCxt, schema?: AnySchema): void;
10
+ export declare function schemaHasRules(schema: AnySchema, rules: {
11
+ [Key in string]?: boolean | Rule;
12
+ }): boolean;
13
+ export declare function schemaHasRulesButRef(schema: AnySchema, RULES: ValidationRules): boolean;
14
+ export declare function schemaRefOrVal({ topSchemaRef, schemaPath }: SchemaObjCxt, schema: unknown, keyword: string, $data?: string | false): Code | number | boolean;
15
+ export declare function unescapeFragment(str: string): string;
16
+ export declare function escapeFragment(str: string | number): string;
17
+ export declare function escapeJsonPointer(str: string | number): string;
18
+ export declare function unescapeJsonPointer(str: string): string;
19
+ export declare function eachItem<T>(xs: T | T[], f: (x: T) => void): void;
20
+ declare type SomeEvaluated = EvaluatedProperties | EvaluatedItems;
21
+ declare type MergeEvaluatedFunc<T extends SomeEvaluated> = (gen: CodeGen, from: Name | T, to: Name | Exclude<T, true> | undefined, toName?: typeof Name) => Name | T;
22
+ interface MergeEvaluated {
23
+ props: MergeEvaluatedFunc<EvaluatedProperties>;
24
+ items: MergeEvaluatedFunc<EvaluatedItems>;
25
+ }
26
+ export declare const mergeEvaluated: MergeEvaluated;
27
+ export declare function evaluatedPropsToName(gen: CodeGen, ps?: EvaluatedProperties): Name;
28
+ export declare function setEvaluated(gen: CodeGen, props: Name, ps: {
29
+ [K in string]?: true;
30
+ }): void;
31
+ export declare function useFunc(gen: CodeGen, f: {
32
+ code: string;
33
+ }): Name;
34
+ export declare enum Type {
35
+ Num = 0,
36
+ Str = 1
37
+ }
38
+ export declare function getErrorPath(dataProp: Name | string | number, dataPropType?: Type, jsPropertySyntax?: boolean): Code | string;
39
+ export declare function checkStrictMode(it: SchemaCxt, msg: string, mode?: boolean | "log"): void;
40
+ export {};
@@ -0,0 +1,42 @@
1
+ import type { AddedKeywordDefinition, AnySchemaObject, KeywordErrorCxt, KeywordCxtParams } from '../../types';
2
+ import type { SchemaCxt, SchemaObjCxt } from '..';
3
+ import { SubschemaArgs } from './subschema';
4
+ import { Code, Name, CodeGen } from '../codegen';
5
+ import type { JSONType } from '../rules';
6
+ import { ErrorPaths } from '../errors';
7
+ export declare function validateFunctionCode(it: SchemaCxt): void;
8
+ export declare class KeywordCxt implements KeywordErrorCxt {
9
+ readonly gen: CodeGen;
10
+ readonly allErrors?: boolean;
11
+ readonly keyword: string;
12
+ readonly data: Name;
13
+ readonly $data?: string | false;
14
+ schema: any;
15
+ readonly schemaValue: Code | number | boolean;
16
+ readonly schemaCode: Code | number | boolean;
17
+ readonly schemaType: JSONType[];
18
+ readonly parentSchema: AnySchemaObject;
19
+ readonly errsCount?: Name;
20
+ params: KeywordCxtParams;
21
+ readonly it: SchemaObjCxt;
22
+ readonly def: AddedKeywordDefinition;
23
+ constructor(it: SchemaObjCxt, def: AddedKeywordDefinition, keyword: string);
24
+ result(condition: Code, successAction?: () => void, failAction?: () => void): void;
25
+ failResult(condition: Code, successAction?: () => void, failAction?: () => void): void;
26
+ pass(condition: Code, failAction?: () => void): void;
27
+ fail(condition?: Code): void;
28
+ fail$data(condition: Code): void;
29
+ error(append?: boolean, errorParams?: KeywordCxtParams, errorPaths?: ErrorPaths): void;
30
+ private _error;
31
+ $dataError(): void;
32
+ reset(): void;
33
+ ok(cond: Code | boolean): void;
34
+ setParams(obj: KeywordCxtParams, assign?: true): void;
35
+ block$data(valid: Name, codeBlock: () => void, $dataValid?: Code): void;
36
+ check$data(valid?: Name, $dataValid?: Code): void;
37
+ invalid$data(): Code;
38
+ subschema(appl: SubschemaArgs, valid: Name): SchemaCxt;
39
+ mergeEvaluated(schemaCxt: SchemaCxt, toName?: typeof Name): void;
40
+ mergeValidEvaluated(schemaCxt: SchemaCxt, valid: Name): boolean | void;
41
+ }
42
+ export declare function getData($data: string, { dataLevel, dataNames, dataPathArr }: SchemaCxt): Code | number;
@@ -0,0 +1,47 @@
1
+ import type { AnySchema } from '../../types';
2
+ import type { SchemaObjCxt } from '..';
3
+ import { Code, Name } from '../codegen';
4
+ import { Type } from '../util';
5
+ import type { JSONType } from '../rules';
6
+ export interface SubschemaContext {
7
+ schema: AnySchema;
8
+ schemaPath: Code;
9
+ errSchemaPath: string;
10
+ topSchemaRef?: Code;
11
+ errorPath?: Code;
12
+ dataLevel?: number;
13
+ dataTypes?: JSONType[];
14
+ data?: Name;
15
+ parentData?: Name;
16
+ parentDataProperty?: Code | number;
17
+ dataNames?: Name[];
18
+ dataPathArr?: (Code | number)[];
19
+ propertyName?: Name;
20
+ jtdDiscriminator?: string;
21
+ jtdMetadata?: boolean;
22
+ compositeRule?: true;
23
+ createErrors?: boolean;
24
+ allErrors?: boolean;
25
+ }
26
+ export declare type SubschemaArgs = Partial<{
27
+ keyword: string;
28
+ schemaProp: string | number;
29
+ schema: AnySchema;
30
+ schemaPath: Code;
31
+ errSchemaPath: string;
32
+ topSchemaRef: Code;
33
+ data: Name | Code;
34
+ dataProp: Code | string | number;
35
+ dataTypes: JSONType[];
36
+ definedProperties: Set<string>;
37
+ propertyName: Name;
38
+ dataPropType: Type;
39
+ jtdDiscriminator: string;
40
+ jtdMetadata: boolean;
41
+ compositeRule: true;
42
+ createErrors: boolean;
43
+ allErrors: boolean;
44
+ }>;
45
+ export declare function getSubschema(it: SchemaObjCxt, { keyword, schemaProp, schema, schemaPath, errSchemaPath, topSchemaRef }: SubschemaArgs): SubschemaContext;
46
+ export declare function extendSubschemaData(subschema: SubschemaContext, it: SchemaObjCxt, { dataProp, dataPropType: dpType, data, dataTypes, propertyName }: SubschemaArgs): void;
47
+ export declare function extendSubschemaMode(subschema: SubschemaContext, { jtdDiscriminator, jtdMetadata, compositeRule, createErrors, allErrors }: SubschemaArgs): void;
@@ -0,0 +1,173 @@
1
+ export { Format, FormatDefinition, AsyncFormatDefinition, KeywordDefinition, KeywordErrorDefinition, CodeKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition, Vocabulary, Schema, SchemaObject, AnySchemaObject, AsyncSchema, AnySchema, ValidateFunction, AsyncValidateFunction, AnyValidateFunction, ErrorObject, ErrorNoParams, } from "./types";
2
+ export { SchemaCxt, SchemaObjCxt } from "./compile";
3
+ export interface Plugin<Opts> {
4
+ (ajv: Ajv, options?: Opts): Ajv;
5
+ [prop: string]: any;
6
+ }
7
+ export { KeywordCxt } from "./compile/validate";
8
+ export { DefinedError } from "./vocabularies/errors";
9
+ export { JSONType } from "./compile/rules";
10
+ export { JSONSchemaType } from "./types/json-schema";
11
+ export { JTDSchemaType, SomeJTDSchemaType, JTDDataType } from "./types/jtd-schema";
12
+ export { _, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions } from "./compile/codegen";
13
+ import type { Schema, AnySchema, AnySchemaObject, SchemaObject, AsyncSchema, Vocabulary, KeywordDefinition, AddedKeywordDefinition, AnyValidateFunction, ValidateFunction, AsyncValidateFunction, ErrorObject, Format, AddedFormat, RegExpEngine, UriResolver } from './types';
14
+ import type { JSONSchemaType } from './types/json-schema';
15
+ import type { JTDSchemaType, SomeJTDSchemaType, JTDDataType } from './types/jtd-schema';
16
+ import ValidationError from './runtime/validation_error';
17
+ import MissingRefError from './compile/ref_error';
18
+ import { ValidationRules } from './compile/rules';
19
+ import { SchemaEnv } from './compile';
20
+ import { Code, ValueScope } from './compile/codegen';
21
+ export declare type Options = CurrentOptions & DeprecatedOptions;
22
+ export interface CurrentOptions {
23
+ strict?: boolean | "log";
24
+ strictSchema?: boolean | "log";
25
+ strictNumbers?: boolean | "log";
26
+ strictTypes?: boolean | "log";
27
+ strictTuples?: boolean | "log";
28
+ strictRequired?: boolean | "log";
29
+ allowMatchingProperties?: boolean;
30
+ allowUnionTypes?: boolean;
31
+ validateFormats?: boolean;
32
+ $data?: boolean;
33
+ allErrors?: boolean;
34
+ verbose?: boolean;
35
+ discriminator?: boolean;
36
+ unicodeRegExp?: boolean;
37
+ timestamp?: "string" | "date";
38
+ parseDate?: boolean;
39
+ allowDate?: boolean;
40
+ $comment?: true | ((comment: string, schemaPath?: string, rootSchema?: AnySchemaObject) => unknown);
41
+ formats?: {
42
+ [Name in string]?: Format;
43
+ };
44
+ keywords?: Vocabulary;
45
+ schemas?: AnySchema[] | {
46
+ [Key in string]?: AnySchema;
47
+ };
48
+ logger?: Logger | false;
49
+ loadSchema?: (uri: string) => Promise<AnySchemaObject>;
50
+ removeAdditional?: boolean | "all" | "failing";
51
+ useDefaults?: boolean | "empty";
52
+ coerceTypes?: boolean | "array";
53
+ next?: boolean;
54
+ unevaluated?: boolean;
55
+ dynamicRef?: boolean;
56
+ schemaId?: "id" | "$id";
57
+ jtd?: boolean;
58
+ meta?: SchemaObject | boolean;
59
+ defaultMeta?: string | AnySchemaObject;
60
+ validateSchema?: boolean | "log";
61
+ addUsedSchema?: boolean;
62
+ inlineRefs?: boolean | number;
63
+ passContext?: boolean;
64
+ loopRequired?: number;
65
+ loopEnum?: number;
66
+ ownProperties?: boolean;
67
+ multipleOfPrecision?: number;
68
+ int32range?: boolean;
69
+ messages?: boolean;
70
+ code?: CodeOptions;
71
+ uriResolver?: UriResolver;
72
+ }
73
+ export interface CodeOptions {
74
+ es5?: boolean;
75
+ esm?: boolean;
76
+ lines?: boolean;
77
+ optimize?: boolean | number;
78
+ formats?: Code;
79
+ source?: boolean;
80
+ process?: (code: string, schema?: SchemaEnv) => string;
81
+ regExp?: RegExpEngine;
82
+ }
83
+ interface InstanceCodeOptions extends CodeOptions {
84
+ regExp: RegExpEngine;
85
+ optimize: number;
86
+ }
87
+ interface DeprecatedOptions {
88
+ /** @deprecated */
89
+ ignoreKeywordsWithRef?: boolean;
90
+ /** @deprecated */
91
+ jsPropertySyntax?: boolean;
92
+ /** @deprecated */
93
+ unicode?: boolean;
94
+ }
95
+ declare type RequiredInstanceOptions = {
96
+ [K in "strictSchema" | "strictNumbers" | "strictTypes" | "strictTuples" | "strictRequired" | "inlineRefs" | "loopRequired" | "loopEnum" | "meta" | "messages" | "schemaId" | "addUsedSchema" | "validateSchema" | "validateFormats" | "int32range" | "unicodeRegExp" | "uriResolver"]: NonNullable<Options[K]>;
97
+ } & {
98
+ code: InstanceCodeOptions;
99
+ };
100
+ export declare type InstanceOptions = Options & RequiredInstanceOptions;
101
+ export interface Logger {
102
+ log(...args: unknown[]): unknown;
103
+ warn(...args: unknown[]): unknown;
104
+ error(...args: unknown[]): unknown;
105
+ }
106
+ export default class Ajv {
107
+ opts: InstanceOptions;
108
+ errors?: ErrorObject[] | null;
109
+ logger: Logger;
110
+ readonly scope: ValueScope;
111
+ readonly schemas: {
112
+ [Key in string]?: SchemaEnv;
113
+ };
114
+ readonly refs: {
115
+ [Ref in string]?: SchemaEnv | string;
116
+ };
117
+ readonly formats: {
118
+ [Name in string]?: AddedFormat;
119
+ };
120
+ readonly RULES: ValidationRules;
121
+ readonly _compilations: Set<SchemaEnv>;
122
+ private readonly _loading;
123
+ private readonly _cache;
124
+ private readonly _metaOpts;
125
+ static ValidationError: typeof ValidationError;
126
+ static MissingRefError: typeof MissingRefError;
127
+ constructor(opts?: Options);
128
+ _addVocabularies(): void;
129
+ _addDefaultMetaSchema(): void;
130
+ defaultMeta(): string | AnySchemaObject | undefined;
131
+ validate(schema: Schema | string, data: unknown): boolean;
132
+ validate(schemaKeyRef: AnySchema | string, data: unknown): boolean | Promise<unknown>;
133
+ validate<T>(schema: Schema | JSONSchemaType<T> | string, data: unknown): data is T;
134
+ validate<T>(schema: JTDSchemaType<T>, data: unknown): data is T;
135
+ validate<N extends never, T extends SomeJTDSchemaType>(schema: T, data: unknown): data is JTDDataType<T>;
136
+ validate<T>(schema: AsyncSchema, data: unknown | T): Promise<T>;
137
+ validate<T>(schemaKeyRef: AnySchema | string, data: unknown): data is T | Promise<T>;
138
+ compile<T = unknown>(schema: Schema | JSONSchemaType<T>, _meta?: boolean): ValidateFunction<T>;
139
+ compile<T = unknown>(schema: JTDSchemaType<T>, _meta?: boolean): ValidateFunction<T>;
140
+ compile<N extends never, T extends SomeJTDSchemaType>(schema: T, _meta?: boolean): ValidateFunction<JTDDataType<T>>;
141
+ compile<T = unknown>(schema: AsyncSchema, _meta?: boolean): AsyncValidateFunction<T>;
142
+ compile<T = unknown>(schema: AnySchema, _meta?: boolean): AnyValidateFunction<T>;
143
+ compileAsync<T = unknown>(schema: SchemaObject | JSONSchemaType<T>, _meta?: boolean): Promise<ValidateFunction<T>>;
144
+ compileAsync<T = unknown>(schema: JTDSchemaType<T>, _meta?: boolean): Promise<ValidateFunction<T>>;
145
+ compileAsync<T = unknown>(schema: AsyncSchema, meta?: boolean): Promise<AsyncValidateFunction<T>>;
146
+ compileAsync<T = unknown>(schema: AnySchemaObject, meta?: boolean): Promise<AnyValidateFunction<T>>;
147
+ addSchema(schema: AnySchema | AnySchema[], // If array is passed, `key` will be ignored
148
+ key?: string, // Optional schema key. Can be passed to `validate` method instead of schema object or id/ref. One schema per instance can have empty `id` and `key`.
149
+ _meta?: boolean, // true if schema is a meta-schema. Used internally, addMetaSchema should be used instead.
150
+ _validateSchema?: boolean | "log"): Ajv;
151
+ addMetaSchema(schema: AnySchemaObject, key?: string, // schema key
152
+ _validateSchema?: boolean | "log"): Ajv;
153
+ validateSchema(schema: AnySchema, throwOrLogError?: boolean): boolean | Promise<unknown>;
154
+ getSchema<T = unknown>(keyRef: string): AnyValidateFunction<T> | undefined;
155
+ removeSchema(schemaKeyRef?: AnySchema | string | RegExp): Ajv;
156
+ addVocabulary(definitions: Vocabulary): Ajv;
157
+ addKeyword(kwdOrDef: string | KeywordDefinition, def?: KeywordDefinition): Ajv;
158
+ getKeyword(keyword: string): AddedKeywordDefinition | boolean;
159
+ removeKeyword(keyword: string): Ajv;
160
+ addFormat(name: string, format: Format): Ajv;
161
+ errorsText(errors?: ErrorObject[] | null | undefined, // optional array of validation errors
162
+ { separator, dataVar }?: ErrorsTextOptions): string;
163
+ $dataMetaSchema(metaSchema: AnySchemaObject, keywordsJsonPointers: string[]): AnySchemaObject;
164
+ private _removeAllSchemas;
165
+ _addSchema(schema: AnySchema, meta?: boolean, baseId?: string, validateSchema?: boolean | "log", addSchema?: boolean): SchemaEnv;
166
+ private _checkUnique;
167
+ private _compileSchemaEnv;
168
+ private _compileMetaSchema;
169
+ }
170
+ export interface ErrorsTextOptions {
171
+ separator?: string;
172
+ dataVar?: string;
173
+ }
@@ -0,0 +1,7 @@
1
+ import type { ErrorObject } from '../types';
2
+ export default class ValidationError extends Error {
3
+ readonly errors: Partial<ErrorObject>[];
4
+ readonly ajv: true;
5
+ readonly validation: true;
6
+ constructor(errors: Partial<ErrorObject>[]);
7
+ }