@bleedingdev/modern-js-utils 3.9.0-ultramodern.9 → 3.9.3-ultramodern.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1396) hide show
  1. package/dist/cjs/cli/applyOptionsChain.js +1 -1
  2. package/dist/cjs/cli/get/config.js +1 -1
  3. package/dist/cjs/cli/is/config.js +1 -1
  4. package/dist/cjs/cli/require.js +3 -7
  5. package/dist/cjs/compiled.js +28 -34
  6. package/dist/cjs/fast-glob.js +50 -0
  7. package/dist/cjs/watch-options.js +18 -0
  8. package/dist/compiled/address/LICENSE.txt +22 -0
  9. package/dist/compiled/address/declaration-licenses/address/LICENSE.txt +22 -0
  10. package/dist/compiled/address/index.d.mts +50 -0
  11. package/dist/compiled/address/index.d.ts +50 -0
  12. package/dist/compiled/address/index.js +189 -136
  13. package/dist/compiled/address/index.mjs +187 -0
  14. package/dist/compiled/address/licenses-cjs.txt +24 -0
  15. package/dist/compiled/address/licenses-esm.txt +24 -0
  16. package/dist/compiled/address/package.json +1 -1
  17. package/dist/compiled/address/provenance.json +22 -0
  18. package/dist/compiled/browserslist/LICENSE +20 -0
  19. package/dist/compiled/browserslist/declaration-licenses/browserslist/LICENSE +20 -0
  20. package/dist/compiled/browserslist/index.d.ts +51 -5
  21. package/dist/compiled/browserslist/index.js +1763 -820
  22. package/dist/compiled/browserslist/licenses-cjs.txt +286 -0
  23. package/dist/compiled/browserslist/package.json +1 -1
  24. package/dist/compiled/browserslist/provenance.json +19 -0
  25. package/dist/compiled/chalk/declaration-licenses/chalk/license +9 -0
  26. package/dist/compiled/chalk/index.d.mts +677 -0
  27. package/dist/compiled/chalk/index.d.ts +619 -357
  28. package/dist/compiled/chalk/index.js +734 -2343
  29. package/dist/compiled/chalk/index.mjs +761 -0
  30. package/dist/compiled/chalk/license +1 -1
  31. package/dist/compiled/chalk/licenses-cjs.txt +11 -0
  32. package/dist/compiled/chalk/licenses-esm.txt +11 -0
  33. package/dist/compiled/chalk/package.json +1 -1
  34. package/dist/compiled/chalk/provenance.json +19 -0
  35. package/dist/compiled/chokidar/LICENSE +21 -0
  36. package/dist/compiled/chokidar/declaration-licenses/chokidar/LICENSE +21 -0
  37. package/dist/compiled/chokidar/declaration-licenses/readdirp/LICENSE +21 -0
  38. package/dist/compiled/chokidar/index.d.mts +385 -0
  39. package/dist/compiled/chokidar/index.d.ts +385 -0
  40. package/dist/compiled/chokidar/index.js +1437 -4099
  41. package/dist/compiled/chokidar/index.js.LICENSE.txt +1 -41
  42. package/dist/compiled/chokidar/index.mjs +1492 -0
  43. package/dist/compiled/chokidar/index.mjs.LICENSE.txt +1 -0
  44. package/dist/compiled/chokidar/licenses-cjs.txt +48 -0
  45. package/dist/compiled/chokidar/licenses-esm.txt +48 -0
  46. package/dist/compiled/chokidar/package.json +1 -1
  47. package/dist/compiled/chokidar/provenance.json +27 -0
  48. package/dist/compiled/commander/declaration-licenses/commander/LICENSE +22 -0
  49. package/dist/compiled/commander/index.d.mts +1116 -0
  50. package/dist/compiled/commander/index.d.ts +1116 -0
  51. package/dist/compiled/commander/index.js +1738 -1499
  52. package/dist/compiled/commander/index.mjs +1778 -2
  53. package/dist/compiled/commander/licenses-cjs.txt +24 -0
  54. package/dist/compiled/commander/licenses-esm.txt +24 -0
  55. package/dist/compiled/commander/package.json +1 -1
  56. package/dist/compiled/commander/provenance.json +22 -0
  57. package/dist/compiled/debug/declaration-licenses/@types_ms/LICENSE +21 -0
  58. package/dist/compiled/debug/index.d.ts +79 -16
  59. package/dist/compiled/debug/index.js +172 -106
  60. package/dist/compiled/debug/licenses-cjs.txt +60 -0
  61. package/dist/compiled/debug/package.json +1 -1
  62. package/dist/compiled/debug/provenance.json +27 -0
  63. package/dist/compiled/dotenv-expand/declaration-licenses/dotenv-expand/LICENSE +24 -0
  64. package/dist/compiled/dotenv-expand/index.d.ts +48 -10
  65. package/dist/compiled/dotenv-expand/index.js +65 -41
  66. package/dist/compiled/dotenv-expand/licenses-cjs.txt +25 -0
  67. package/dist/compiled/dotenv-expand/package.json +1 -1
  68. package/dist/compiled/dotenv-expand/provenance.json +22 -0
  69. package/dist/compiled/execa/declaration-licenses/execa/license +9 -0
  70. package/dist/compiled/execa/index.d.mts +2451 -0
  71. package/dist/compiled/execa/index.d.ts +2301 -414
  72. package/dist/compiled/execa/index.js +6485 -1681
  73. package/dist/compiled/execa/index.mjs +6541 -0
  74. package/dist/compiled/execa/licenses-cjs.txt +443 -0
  75. package/dist/compiled/execa/licenses-esm.txt +443 -0
  76. package/dist/compiled/execa/package.json +1 -1
  77. package/dist/compiled/execa/provenance.json +19 -0
  78. package/dist/compiled/filesize/LICENSE +28 -0
  79. package/dist/compiled/filesize/declaration-licenses/filesize/LICENSE +28 -0
  80. package/dist/compiled/filesize/index.d.mts +98 -0
  81. package/dist/compiled/filesize/index.d.ts +98 -0
  82. package/dist/compiled/filesize/index.js +425 -185
  83. package/dist/compiled/filesize/index.js.LICENSE.txt +2 -2
  84. package/dist/compiled/filesize/index.mjs +450 -0
  85. package/dist/compiled/filesize/index.mjs.LICENSE.txt +7 -0
  86. package/dist/compiled/filesize/licenses-cjs.txt +29 -0
  87. package/dist/compiled/filesize/licenses-esm.txt +29 -0
  88. package/dist/compiled/filesize/package.json +1 -1
  89. package/dist/compiled/filesize/provenance.json +22 -0
  90. package/dist/compiled/fs-extra/LICENSE +15 -0
  91. package/dist/compiled/fs-extra/declaration-licenses/@types_fs-extra/LICENSE +21 -0
  92. package/dist/compiled/fs-extra/declaration-licenses/@types_jsonfile/LICENSE +21 -0
  93. package/dist/compiled/fs-extra/index.d.ts +997 -496
  94. package/dist/compiled/fs-extra/index.js +1142 -1355
  95. package/dist/compiled/fs-extra/licenses-cjs.txt +79 -0
  96. package/dist/compiled/fs-extra/package.json +1 -1
  97. package/dist/compiled/fs-extra/provenance.json +27 -0
  98. package/dist/compiled/glob/LICENSE.md +63 -0
  99. package/dist/compiled/glob/declaration-licenses/glob/LICENSE.md +63 -0
  100. package/dist/compiled/glob/declaration-licenses/lru-cache/LICENSE.md +55 -0
  101. package/dist/compiled/glob/declaration-licenses/minimatch/LICENSE.md +55 -0
  102. package/dist/compiled/glob/declaration-licenses/minipass/LICENSE.md +55 -0
  103. package/dist/compiled/glob/declaration-licenses/path-scurry/LICENSE.md +55 -0
  104. package/dist/compiled/glob/index.d.mts +3823 -0
  105. package/dist/compiled/glob/index.d.ts +3823 -91
  106. package/dist/compiled/glob/index.js +3612 -1937
  107. package/dist/compiled/glob/index.mjs +3467 -0
  108. package/dist/compiled/glob/licenses-cjs.txt +65 -0
  109. package/dist/compiled/glob/licenses-esm.txt +65 -0
  110. package/dist/compiled/glob/package.json +1 -1
  111. package/dist/compiled/glob/provenance.json +42 -0
  112. package/dist/compiled/globby/declaration-licenses/globby/license +9 -0
  113. package/dist/compiled/globby/index.d.mts +422 -0
  114. package/dist/compiled/globby/index.d.ts +364 -128
  115. package/dist/compiled/globby/index.js +4417 -521
  116. package/dist/compiled/globby/index.js.LICENSE.txt +20 -0
  117. package/dist/compiled/globby/index.mjs +4572 -0
  118. package/dist/compiled/globby/index.mjs.LICENSE.txt +20 -0
  119. package/dist/compiled/globby/license +1 -1
  120. package/dist/compiled/globby/licenses-cjs.txt +237 -0
  121. package/dist/compiled/globby/licenses-esm.txt +237 -0
  122. package/dist/compiled/globby/package.json +1 -1
  123. package/dist/compiled/globby/provenance.json +19 -0
  124. package/dist/compiled/gzip-size/declaration-licenses/gzip-size/license +9 -0
  125. package/dist/compiled/gzip-size/index.d.mts +106 -0
  126. package/dist/compiled/gzip-size/index.d.ts +91 -81
  127. package/dist/compiled/gzip-size/index.js +117 -94
  128. package/dist/compiled/gzip-size/index.mjs +170 -0
  129. package/dist/compiled/gzip-size/licenses-cjs.txt +33 -0
  130. package/dist/compiled/gzip-size/licenses-esm.txt +33 -0
  131. package/dist/compiled/gzip-size/package.json +1 -1
  132. package/dist/compiled/gzip-size/provenance.json +19 -0
  133. package/dist/compiled/import-lazy/declaration-licenses/import-lazy/license +9 -0
  134. package/dist/compiled/import-lazy/index.d.ts +2 -2
  135. package/dist/compiled/import-lazy/index.js +18 -19
  136. package/dist/compiled/import-lazy/licenses-cjs.txt +11 -0
  137. package/dist/compiled/import-lazy/package.json +1 -1
  138. package/dist/compiled/import-lazy/provenance.json +19 -0
  139. package/dist/compiled/inquirer/LICENSE +22 -0
  140. package/dist/compiled/inquirer/declaration-licenses/@inquirer_checkbox/LICENSE +22 -0
  141. package/dist/compiled/inquirer/declaration-licenses/@inquirer_confirm/LICENSE +22 -0
  142. package/dist/compiled/inquirer/declaration-licenses/@inquirer_core/LICENSE +22 -0
  143. package/dist/compiled/inquirer/declaration-licenses/@inquirer_editor/LICENSE +22 -0
  144. package/dist/compiled/inquirer/declaration-licenses/@inquirer_expand/LICENSE +22 -0
  145. package/dist/compiled/inquirer/declaration-licenses/@inquirer_external-editor/LICENSE +22 -0
  146. package/dist/compiled/inquirer/declaration-licenses/@inquirer_input/LICENSE +22 -0
  147. package/dist/compiled/inquirer/declaration-licenses/@inquirer_number/LICENSE +22 -0
  148. package/dist/compiled/inquirer/declaration-licenses/@inquirer_password/LICENSE +22 -0
  149. package/dist/compiled/inquirer/declaration-licenses/@inquirer_prompts/LICENSE +22 -0
  150. package/dist/compiled/inquirer/declaration-licenses/@inquirer_rawlist/LICENSE +22 -0
  151. package/dist/compiled/inquirer/declaration-licenses/@inquirer_search/LICENSE +22 -0
  152. package/dist/compiled/inquirer/declaration-licenses/@inquirer_select/LICENSE +22 -0
  153. package/dist/compiled/inquirer/declaration-licenses/@inquirer_type/LICENSE +22 -0
  154. package/dist/compiled/inquirer/declaration-licenses/inquirer/LICENSE +22 -0
  155. package/dist/compiled/inquirer/index.d.mts +790 -0
  156. package/dist/compiled/inquirer/index.d.ts +727 -934
  157. package/dist/compiled/inquirer/index.js +5975 -14467
  158. package/dist/compiled/inquirer/index.mjs +11624 -0
  159. package/dist/compiled/inquirer/licenses-cjs.txt +619 -0
  160. package/dist/compiled/inquirer/licenses-esm.txt +619 -0
  161. package/dist/compiled/inquirer/package.json +1 -1
  162. package/dist/compiled/inquirer/provenance.json +92 -0
  163. package/dist/compiled/js-yaml/declaration-licenses/js-yaml/LICENSE +21 -0
  164. package/dist/compiled/js-yaml/index.d.mts +1126 -0
  165. package/dist/compiled/js-yaml/index.d.ts +1114 -142
  166. package/dist/compiled/js-yaml/index.js +20 -21
  167. package/dist/compiled/js-yaml/index.js.LICENSE.txt +1 -1
  168. package/dist/compiled/js-yaml/index.mjs +5 -4
  169. package/dist/compiled/js-yaml/index.mjs.LICENSE.txt +1 -1
  170. package/dist/compiled/js-yaml/licenses-cjs.txt +23 -0
  171. package/dist/compiled/js-yaml/licenses-esm.txt +23 -0
  172. package/dist/compiled/js-yaml/package.json +1 -1
  173. package/dist/compiled/js-yaml/provenance.json +19 -0
  174. package/dist/compiled/json5/LICENSE.md +23 -0
  175. package/dist/compiled/json5/declaration-licenses/json5/LICENSE.md +23 -0
  176. package/dist/compiled/json5/index.d.ts +103 -0
  177. package/dist/compiled/json5/index.js +11 -11
  178. package/dist/compiled/json5/licenses-cjs.txt +25 -0
  179. package/dist/compiled/json5/package.json +1 -1
  180. package/dist/compiled/json5/provenance.json +22 -0
  181. package/dist/compiled/lodash/add.d.ts +2 -0
  182. package/dist/compiled/lodash/after.d.ts +2 -0
  183. package/dist/compiled/lodash/ary.d.ts +2 -0
  184. package/dist/compiled/lodash/assign.d.ts +2 -0
  185. package/dist/compiled/lodash/assignIn.d.ts +2 -0
  186. package/dist/compiled/lodash/assignInWith.d.ts +2 -0
  187. package/dist/compiled/lodash/assignWith.d.ts +2 -0
  188. package/dist/compiled/lodash/at.d.ts +2 -0
  189. package/dist/compiled/lodash/attempt.d.ts +2 -0
  190. package/dist/compiled/lodash/before.d.ts +2 -0
  191. package/dist/compiled/lodash/bind.d.ts +2 -0
  192. package/dist/compiled/lodash/bindAll.d.ts +2 -0
  193. package/dist/compiled/lodash/bindKey.d.ts +2 -0
  194. package/dist/compiled/lodash/camelCase.d.ts +2 -0
  195. package/dist/compiled/lodash/capitalize.d.ts +2 -0
  196. package/dist/compiled/lodash/castArray.d.ts +2 -0
  197. package/dist/compiled/lodash/ceil.d.ts +2 -0
  198. package/dist/compiled/lodash/chain.d.ts +2 -0
  199. package/dist/compiled/lodash/chunk.d.ts +2 -0
  200. package/dist/compiled/lodash/clamp.d.ts +2 -0
  201. package/dist/compiled/lodash/clone.d.ts +2 -0
  202. package/dist/compiled/lodash/cloneDeep.d.ts +2 -0
  203. package/dist/compiled/lodash/cloneDeepWith.d.ts +2 -0
  204. package/dist/compiled/lodash/cloneWith.d.ts +2 -0
  205. package/dist/compiled/lodash/common/array.d.ts +56 -22
  206. package/dist/compiled/lodash/common/collection.d.ts +9 -1
  207. package/dist/compiled/lodash/common/common.d.ts +17 -10
  208. package/dist/compiled/lodash/common/function.d.ts +10 -1
  209. package/dist/compiled/lodash/common/lang.d.ts +8 -5
  210. package/dist/compiled/lodash/common/math.d.ts +3 -1
  211. package/dist/compiled/lodash/common/object.d.ts +141 -17
  212. package/dist/compiled/lodash/common/seq.d.ts +2 -2
  213. package/dist/compiled/lodash/common/string.d.ts +17 -17
  214. package/dist/compiled/lodash/compact.d.ts +2 -0
  215. package/dist/compiled/lodash/concat.d.ts +2 -0
  216. package/dist/compiled/lodash/cond.d.ts +2 -0
  217. package/dist/compiled/lodash/conforms.d.ts +2 -0
  218. package/dist/compiled/lodash/conformsTo.d.ts +2 -0
  219. package/dist/compiled/lodash/constant.d.ts +2 -0
  220. package/dist/compiled/lodash/countBy.d.ts +2 -0
  221. package/dist/compiled/lodash/create.d.ts +2 -0
  222. package/dist/compiled/lodash/curry.d.ts +2 -0
  223. package/dist/compiled/lodash/curryRight.d.ts +2 -0
  224. package/dist/compiled/lodash/debounce.d.ts +2 -0
  225. package/dist/compiled/lodash/deburr.d.ts +2 -0
  226. package/dist/compiled/lodash/declaration-licenses/@types_lodash/LICENSE +21 -0
  227. package/dist/compiled/lodash/defaultTo.d.ts +2 -0
  228. package/dist/compiled/lodash/defaults.d.ts +2 -0
  229. package/dist/compiled/lodash/defaultsDeep.d.ts +2 -0
  230. package/dist/compiled/lodash/defer.d.ts +2 -0
  231. package/dist/compiled/lodash/delay.d.ts +2 -0
  232. package/dist/compiled/lodash/difference.d.ts +2 -0
  233. package/dist/compiled/lodash/differenceBy.d.ts +2 -0
  234. package/dist/compiled/lodash/differenceWith.d.ts +2 -0
  235. package/dist/compiled/lodash/divide.d.ts +2 -0
  236. package/dist/compiled/lodash/drop.d.ts +2 -0
  237. package/dist/compiled/lodash/dropRight.d.ts +2 -0
  238. package/dist/compiled/lodash/dropRightWhile.d.ts +2 -0
  239. package/dist/compiled/lodash/dropWhile.d.ts +2 -0
  240. package/dist/compiled/lodash/each.d.ts +2 -0
  241. package/dist/compiled/lodash/eachRight.d.ts +2 -0
  242. package/dist/compiled/lodash/endsWith.d.ts +2 -0
  243. package/dist/compiled/lodash/entries.d.ts +2 -0
  244. package/dist/compiled/lodash/entriesIn.d.ts +2 -0
  245. package/dist/compiled/lodash/eq.d.ts +2 -0
  246. package/dist/compiled/lodash/escape.d.ts +2 -0
  247. package/dist/compiled/lodash/escapeRegExp.d.ts +2 -0
  248. package/dist/compiled/lodash/every.d.ts +2 -0
  249. package/dist/compiled/lodash/extend.d.ts +2 -0
  250. package/dist/compiled/lodash/extendWith.d.ts +2 -0
  251. package/dist/compiled/lodash/fill.d.ts +2 -0
  252. package/dist/compiled/lodash/filter.d.ts +2 -0
  253. package/dist/compiled/lodash/find.d.ts +2 -0
  254. package/dist/compiled/lodash/findIndex.d.ts +2 -0
  255. package/dist/compiled/lodash/findKey.d.ts +2 -0
  256. package/dist/compiled/lodash/findLast.d.ts +2 -0
  257. package/dist/compiled/lodash/findLastIndex.d.ts +2 -0
  258. package/dist/compiled/lodash/findLastKey.d.ts +2 -0
  259. package/dist/compiled/lodash/first.d.ts +2 -0
  260. package/dist/compiled/lodash/flatMap.d.ts +2 -0
  261. package/dist/compiled/lodash/flatMapDeep.d.ts +2 -0
  262. package/dist/compiled/lodash/flatMapDepth.d.ts +2 -0
  263. package/dist/compiled/lodash/flatten.d.ts +2 -0
  264. package/dist/compiled/lodash/flattenDeep.d.ts +2 -0
  265. package/dist/compiled/lodash/flattenDepth.d.ts +2 -0
  266. package/dist/compiled/lodash/flip.d.ts +2 -0
  267. package/dist/compiled/lodash/floor.d.ts +2 -0
  268. package/dist/compiled/lodash/flow.d.ts +2 -0
  269. package/dist/compiled/lodash/flowRight.d.ts +2 -0
  270. package/dist/compiled/lodash/forEach.d.ts +2 -0
  271. package/dist/compiled/lodash/forEachRight.d.ts +2 -0
  272. package/dist/compiled/lodash/forIn.d.ts +2 -0
  273. package/dist/compiled/lodash/forInRight.d.ts +2 -0
  274. package/dist/compiled/lodash/forOwn.d.ts +2 -0
  275. package/dist/compiled/lodash/forOwnRight.d.ts +2 -0
  276. package/dist/compiled/lodash/fp/F.d.ts +2 -0
  277. package/dist/compiled/lodash/fp/T.d.ts +2 -0
  278. package/dist/compiled/lodash/fp/__.d.ts +3 -0
  279. package/dist/compiled/lodash/fp/add.d.ts +2 -0
  280. package/dist/compiled/lodash/fp/after.d.ts +2 -0
  281. package/dist/compiled/lodash/fp/all.d.ts +2 -0
  282. package/dist/compiled/lodash/fp/allPass.d.ts +2 -0
  283. package/dist/compiled/lodash/fp/always.d.ts +2 -0
  284. package/dist/compiled/lodash/fp/any.d.ts +2 -0
  285. package/dist/compiled/lodash/fp/anyPass.d.ts +2 -0
  286. package/dist/compiled/lodash/fp/apply.d.ts +2 -0
  287. package/dist/compiled/lodash/fp/ary.d.ts +2 -0
  288. package/dist/compiled/lodash/fp/assign.d.ts +2 -0
  289. package/dist/compiled/lodash/fp/assignAll.d.ts +2 -0
  290. package/dist/compiled/lodash/fp/assignAllWith.d.ts +2 -0
  291. package/dist/compiled/lodash/fp/assignIn.d.ts +2 -0
  292. package/dist/compiled/lodash/fp/assignInAll.d.ts +2 -0
  293. package/dist/compiled/lodash/fp/assignInAllWith.d.ts +2 -0
  294. package/dist/compiled/lodash/fp/assignInWith.d.ts +2 -0
  295. package/dist/compiled/lodash/fp/assignWith.d.ts +2 -0
  296. package/dist/compiled/lodash/fp/assoc.d.ts +2 -0
  297. package/dist/compiled/lodash/fp/assocPath.d.ts +2 -0
  298. package/dist/compiled/lodash/fp/at.d.ts +2 -0
  299. package/dist/compiled/lodash/fp/attempt.d.ts +2 -0
  300. package/dist/compiled/lodash/fp/before.d.ts +2 -0
  301. package/dist/compiled/lodash/fp/bind.d.ts +2 -0
  302. package/dist/compiled/lodash/fp/bindAll.d.ts +2 -0
  303. package/dist/compiled/lodash/fp/bindKey.d.ts +2 -0
  304. package/dist/compiled/lodash/fp/camelCase.d.ts +2 -0
  305. package/dist/compiled/lodash/fp/capitalize.d.ts +2 -0
  306. package/dist/compiled/lodash/fp/castArray.d.ts +2 -0
  307. package/dist/compiled/lodash/fp/ceil.d.ts +2 -0
  308. package/dist/compiled/lodash/fp/chunk.d.ts +2 -0
  309. package/dist/compiled/lodash/fp/clamp.d.ts +2 -0
  310. package/dist/compiled/lodash/fp/clone.d.ts +2 -0
  311. package/dist/compiled/lodash/fp/cloneDeep.d.ts +2 -0
  312. package/dist/compiled/lodash/fp/cloneDeepWith.d.ts +2 -0
  313. package/dist/compiled/lodash/fp/cloneWith.d.ts +2 -0
  314. package/dist/compiled/lodash/fp/compact.d.ts +2 -0
  315. package/dist/compiled/lodash/fp/complement.d.ts +2 -0
  316. package/dist/compiled/lodash/fp/compose.d.ts +2 -0
  317. package/dist/compiled/lodash/fp/concat.d.ts +2 -0
  318. package/dist/compiled/lodash/fp/cond.d.ts +2 -0
  319. package/dist/compiled/lodash/fp/conforms.d.ts +2 -0
  320. package/dist/compiled/lodash/fp/conformsTo.d.ts +2 -0
  321. package/dist/compiled/lodash/fp/constant.d.ts +2 -0
  322. package/dist/compiled/lodash/fp/contains.d.ts +2 -0
  323. package/dist/compiled/lodash/fp/convert.d.ts +15 -0
  324. package/dist/compiled/lodash/fp/countBy.d.ts +2 -0
  325. package/dist/compiled/lodash/fp/create.d.ts +2 -0
  326. package/dist/compiled/lodash/fp/curry.d.ts +2 -0
  327. package/dist/compiled/lodash/fp/curryN.d.ts +2 -0
  328. package/dist/compiled/lodash/fp/curryRight.d.ts +2 -0
  329. package/dist/compiled/lodash/fp/curryRightN.d.ts +2 -0
  330. package/dist/compiled/lodash/fp/debounce.d.ts +2 -0
  331. package/dist/compiled/lodash/fp/deburr.d.ts +2 -0
  332. package/dist/compiled/lodash/fp/defaultTo.d.ts +2 -0
  333. package/dist/compiled/lodash/fp/defaults.d.ts +2 -0
  334. package/dist/compiled/lodash/fp/defaultsAll.d.ts +2 -0
  335. package/dist/compiled/lodash/fp/defaultsDeep.d.ts +2 -0
  336. package/dist/compiled/lodash/fp/defaultsDeepAll.d.ts +2 -0
  337. package/dist/compiled/lodash/fp/defer.d.ts +2 -0
  338. package/dist/compiled/lodash/fp/delay.d.ts +2 -0
  339. package/dist/compiled/lodash/fp/difference.d.ts +2 -0
  340. package/dist/compiled/lodash/fp/differenceBy.d.ts +2 -0
  341. package/dist/compiled/lodash/fp/differenceWith.d.ts +2 -0
  342. package/dist/compiled/lodash/fp/dissoc.d.ts +2 -0
  343. package/dist/compiled/lodash/fp/dissocPath.d.ts +2 -0
  344. package/dist/compiled/lodash/fp/divide.d.ts +2 -0
  345. package/dist/compiled/lodash/fp/drop.d.ts +2 -0
  346. package/dist/compiled/lodash/fp/dropLast.d.ts +2 -0
  347. package/dist/compiled/lodash/fp/dropLastWhile.d.ts +2 -0
  348. package/dist/compiled/lodash/fp/dropRight.d.ts +2 -0
  349. package/dist/compiled/lodash/fp/dropRightWhile.d.ts +2 -0
  350. package/dist/compiled/lodash/fp/dropWhile.d.ts +2 -0
  351. package/dist/compiled/lodash/fp/each.d.ts +2 -0
  352. package/dist/compiled/lodash/fp/eachRight.d.ts +2 -0
  353. package/dist/compiled/lodash/fp/endsWith.d.ts +2 -0
  354. package/dist/compiled/lodash/fp/entries.d.ts +2 -0
  355. package/dist/compiled/lodash/fp/entriesIn.d.ts +2 -0
  356. package/dist/compiled/lodash/fp/eq.d.ts +2 -0
  357. package/dist/compiled/lodash/fp/equals.d.ts +2 -0
  358. package/dist/compiled/lodash/fp/escape.d.ts +2 -0
  359. package/dist/compiled/lodash/fp/escapeRegExp.d.ts +2 -0
  360. package/dist/compiled/lodash/fp/every.d.ts +2 -0
  361. package/dist/compiled/lodash/fp/extend.d.ts +2 -0
  362. package/dist/compiled/lodash/fp/extendAll.d.ts +2 -0
  363. package/dist/compiled/lodash/fp/extendAllWith.d.ts +2 -0
  364. package/dist/compiled/lodash/fp/extendWith.d.ts +2 -0
  365. package/dist/compiled/lodash/fp/fill.d.ts +2 -0
  366. package/dist/compiled/lodash/fp/filter.d.ts +2 -0
  367. package/dist/compiled/lodash/fp/find.d.ts +2 -0
  368. package/dist/compiled/lodash/fp/findFrom.d.ts +2 -0
  369. package/dist/compiled/lodash/fp/findIndex.d.ts +2 -0
  370. package/dist/compiled/lodash/fp/findIndexFrom.d.ts +2 -0
  371. package/dist/compiled/lodash/fp/findKey.d.ts +2 -0
  372. package/dist/compiled/lodash/fp/findLast.d.ts +2 -0
  373. package/dist/compiled/lodash/fp/findLastFrom.d.ts +2 -0
  374. package/dist/compiled/lodash/fp/findLastIndex.d.ts +2 -0
  375. package/dist/compiled/lodash/fp/findLastIndexFrom.d.ts +2 -0
  376. package/dist/compiled/lodash/fp/findLastKey.d.ts +2 -0
  377. package/dist/compiled/lodash/fp/first.d.ts +2 -0
  378. package/dist/compiled/lodash/fp/flatMap.d.ts +2 -0
  379. package/dist/compiled/lodash/fp/flatMapDeep.d.ts +2 -0
  380. package/dist/compiled/lodash/fp/flatMapDepth.d.ts +2 -0
  381. package/dist/compiled/lodash/fp/flatten.d.ts +2 -0
  382. package/dist/compiled/lodash/fp/flattenDeep.d.ts +2 -0
  383. package/dist/compiled/lodash/fp/flattenDepth.d.ts +2 -0
  384. package/dist/compiled/lodash/fp/flip.d.ts +2 -0
  385. package/dist/compiled/lodash/fp/floor.d.ts +2 -0
  386. package/dist/compiled/lodash/fp/flow.d.ts +2 -0
  387. package/dist/compiled/lodash/fp/flowRight.d.ts +2 -0
  388. package/dist/compiled/lodash/fp/forEach.d.ts +2 -0
  389. package/dist/compiled/lodash/fp/forEachRight.d.ts +2 -0
  390. package/dist/compiled/lodash/fp/forIn.d.ts +2 -0
  391. package/dist/compiled/lodash/fp/forInRight.d.ts +2 -0
  392. package/dist/compiled/lodash/fp/forOwn.d.ts +2 -0
  393. package/dist/compiled/lodash/fp/forOwnRight.d.ts +2 -0
  394. package/dist/compiled/lodash/fp/fromPairs.d.ts +2 -0
  395. package/dist/compiled/lodash/fp/functions.d.ts +2 -0
  396. package/dist/compiled/lodash/fp/functionsIn.d.ts +2 -0
  397. package/dist/compiled/lodash/fp/get.d.ts +2 -0
  398. package/dist/compiled/lodash/fp/getOr.d.ts +2 -0
  399. package/dist/compiled/lodash/fp/groupBy.d.ts +2 -0
  400. package/dist/compiled/lodash/fp/gt.d.ts +2 -0
  401. package/dist/compiled/lodash/fp/gte.d.ts +2 -0
  402. package/dist/compiled/lodash/fp/has.d.ts +2 -0
  403. package/dist/compiled/lodash/fp/hasIn.d.ts +2 -0
  404. package/dist/compiled/lodash/fp/head.d.ts +2 -0
  405. package/dist/compiled/lodash/fp/identical.d.ts +2 -0
  406. package/dist/compiled/lodash/fp/identity.d.ts +2 -0
  407. package/dist/compiled/lodash/fp/inRange.d.ts +2 -0
  408. package/dist/compiled/lodash/fp/includes.d.ts +2 -0
  409. package/dist/compiled/lodash/fp/includesFrom.d.ts +2 -0
  410. package/dist/compiled/lodash/fp/indexBy.d.ts +2 -0
  411. package/dist/compiled/lodash/fp/indexOf.d.ts +2 -0
  412. package/dist/compiled/lodash/fp/indexOfFrom.d.ts +2 -0
  413. package/dist/compiled/lodash/fp/init.d.ts +2 -0
  414. package/dist/compiled/lodash/fp/initial.d.ts +2 -0
  415. package/dist/compiled/lodash/fp/intersection.d.ts +2 -0
  416. package/dist/compiled/lodash/fp/intersectionBy.d.ts +2 -0
  417. package/dist/compiled/lodash/fp/intersectionWith.d.ts +2 -0
  418. package/dist/compiled/lodash/fp/invert.d.ts +2 -0
  419. package/dist/compiled/lodash/fp/invertBy.d.ts +2 -0
  420. package/dist/compiled/lodash/fp/invertObj.d.ts +2 -0
  421. package/dist/compiled/lodash/fp/invoke.d.ts +2 -0
  422. package/dist/compiled/lodash/fp/invokeArgs.d.ts +2 -0
  423. package/dist/compiled/lodash/fp/invokeArgsMap.d.ts +2 -0
  424. package/dist/compiled/lodash/fp/invokeMap.d.ts +2 -0
  425. package/dist/compiled/lodash/fp/isArguments.d.ts +2 -0
  426. package/dist/compiled/lodash/fp/isArray.d.ts +2 -0
  427. package/dist/compiled/lodash/fp/isArrayBuffer.d.ts +2 -0
  428. package/dist/compiled/lodash/fp/isArrayLike.d.ts +2 -0
  429. package/dist/compiled/lodash/fp/isArrayLikeObject.d.ts +2 -0
  430. package/dist/compiled/lodash/fp/isBoolean.d.ts +2 -0
  431. package/dist/compiled/lodash/fp/isBuffer.d.ts +2 -0
  432. package/dist/compiled/lodash/fp/isDate.d.ts +2 -0
  433. package/dist/compiled/lodash/fp/isElement.d.ts +2 -0
  434. package/dist/compiled/lodash/fp/isEmpty.d.ts +2 -0
  435. package/dist/compiled/lodash/fp/isEqual.d.ts +2 -0
  436. package/dist/compiled/lodash/fp/isEqualWith.d.ts +2 -0
  437. package/dist/compiled/lodash/fp/isError.d.ts +2 -0
  438. package/dist/compiled/lodash/fp/isFinite.d.ts +2 -0
  439. package/dist/compiled/lodash/fp/isFunction.d.ts +2 -0
  440. package/dist/compiled/lodash/fp/isInteger.d.ts +2 -0
  441. package/dist/compiled/lodash/fp/isLength.d.ts +2 -0
  442. package/dist/compiled/lodash/fp/isMap.d.ts +2 -0
  443. package/dist/compiled/lodash/fp/isMatch.d.ts +2 -0
  444. package/dist/compiled/lodash/fp/isMatchWith.d.ts +2 -0
  445. package/dist/compiled/lodash/fp/isNaN.d.ts +2 -0
  446. package/dist/compiled/lodash/fp/isNative.d.ts +2 -0
  447. package/dist/compiled/lodash/fp/isNil.d.ts +2 -0
  448. package/dist/compiled/lodash/fp/isNull.d.ts +2 -0
  449. package/dist/compiled/lodash/fp/isNumber.d.ts +2 -0
  450. package/dist/compiled/lodash/fp/isObject.d.ts +2 -0
  451. package/dist/compiled/lodash/fp/isObjectLike.d.ts +2 -0
  452. package/dist/compiled/lodash/fp/isPlainObject.d.ts +2 -0
  453. package/dist/compiled/lodash/fp/isRegExp.d.ts +2 -0
  454. package/dist/compiled/lodash/fp/isSafeInteger.d.ts +2 -0
  455. package/dist/compiled/lodash/fp/isSet.d.ts +2 -0
  456. package/dist/compiled/lodash/fp/isString.d.ts +2 -0
  457. package/dist/compiled/lodash/fp/isSymbol.d.ts +2 -0
  458. package/dist/compiled/lodash/fp/isTypedArray.d.ts +2 -0
  459. package/dist/compiled/lodash/fp/isUndefined.d.ts +2 -0
  460. package/dist/compiled/lodash/fp/isWeakMap.d.ts +2 -0
  461. package/dist/compiled/lodash/fp/isWeakSet.d.ts +2 -0
  462. package/dist/compiled/lodash/fp/iteratee.d.ts +2 -0
  463. package/dist/compiled/lodash/fp/join.d.ts +2 -0
  464. package/dist/compiled/lodash/fp/juxt.d.ts +2 -0
  465. package/dist/compiled/lodash/fp/kebabCase.d.ts +2 -0
  466. package/dist/compiled/lodash/fp/keyBy.d.ts +2 -0
  467. package/dist/compiled/lodash/fp/keys.d.ts +2 -0
  468. package/dist/compiled/lodash/fp/keysIn.d.ts +2 -0
  469. package/dist/compiled/lodash/fp/last.d.ts +2 -0
  470. package/dist/compiled/lodash/fp/lastIndexOf.d.ts +2 -0
  471. package/dist/compiled/lodash/fp/lastIndexOfFrom.d.ts +2 -0
  472. package/dist/compiled/lodash/fp/lowerCase.d.ts +2 -0
  473. package/dist/compiled/lodash/fp/lowerFirst.d.ts +2 -0
  474. package/dist/compiled/lodash/fp/lt.d.ts +2 -0
  475. package/dist/compiled/lodash/fp/lte.d.ts +2 -0
  476. package/dist/compiled/lodash/fp/map.d.ts +2 -0
  477. package/dist/compiled/lodash/fp/mapKeys.d.ts +2 -0
  478. package/dist/compiled/lodash/fp/mapValues.d.ts +2 -0
  479. package/dist/compiled/lodash/fp/matches.d.ts +2 -0
  480. package/dist/compiled/lodash/fp/matchesProperty.d.ts +2 -0
  481. package/dist/compiled/lodash/fp/max.d.ts +2 -0
  482. package/dist/compiled/lodash/fp/maxBy.d.ts +2 -0
  483. package/dist/compiled/lodash/fp/mean.d.ts +2 -0
  484. package/dist/compiled/lodash/fp/meanBy.d.ts +2 -0
  485. package/dist/compiled/lodash/fp/memoize.d.ts +2 -0
  486. package/dist/compiled/lodash/fp/merge.d.ts +2 -0
  487. package/dist/compiled/lodash/fp/mergeAll.d.ts +2 -0
  488. package/dist/compiled/lodash/fp/mergeAllWith.d.ts +2 -0
  489. package/dist/compiled/lodash/fp/mergeWith.d.ts +2 -0
  490. package/dist/compiled/lodash/fp/method.d.ts +2 -0
  491. package/dist/compiled/lodash/fp/methodOf.d.ts +2 -0
  492. package/dist/compiled/lodash/fp/min.d.ts +2 -0
  493. package/dist/compiled/lodash/fp/minBy.d.ts +2 -0
  494. package/dist/compiled/lodash/fp/multiply.d.ts +2 -0
  495. package/dist/compiled/lodash/fp/nAry.d.ts +2 -0
  496. package/dist/compiled/lodash/fp/negate.d.ts +2 -0
  497. package/dist/compiled/lodash/fp/noConflict.d.ts +2 -0
  498. package/dist/compiled/lodash/fp/noop.d.ts +2 -0
  499. package/dist/compiled/lodash/fp/now.d.ts +2 -0
  500. package/dist/compiled/lodash/fp/nth.d.ts +2 -0
  501. package/dist/compiled/lodash/fp/nthArg.d.ts +2 -0
  502. package/dist/compiled/lodash/fp/omit.d.ts +2 -0
  503. package/dist/compiled/lodash/fp/omitAll.d.ts +2 -0
  504. package/dist/compiled/lodash/fp/omitBy.d.ts +2 -0
  505. package/dist/compiled/lodash/fp/once.d.ts +2 -0
  506. package/dist/compiled/lodash/fp/orderBy.d.ts +2 -0
  507. package/dist/compiled/lodash/fp/over.d.ts +2 -0
  508. package/dist/compiled/lodash/fp/overArgs.d.ts +2 -0
  509. package/dist/compiled/lodash/fp/overEvery.d.ts +2 -0
  510. package/dist/compiled/lodash/fp/overSome.d.ts +2 -0
  511. package/dist/compiled/lodash/fp/pad.d.ts +2 -0
  512. package/dist/compiled/lodash/fp/padChars.d.ts +2 -0
  513. package/dist/compiled/lodash/fp/padCharsEnd.d.ts +2 -0
  514. package/dist/compiled/lodash/fp/padCharsStart.d.ts +2 -0
  515. package/dist/compiled/lodash/fp/padEnd.d.ts +2 -0
  516. package/dist/compiled/lodash/fp/padStart.d.ts +2 -0
  517. package/dist/compiled/lodash/fp/parseInt.d.ts +2 -0
  518. package/dist/compiled/lodash/fp/partial.d.ts +2 -0
  519. package/dist/compiled/lodash/fp/partialRight.d.ts +2 -0
  520. package/dist/compiled/lodash/fp/partition.d.ts +2 -0
  521. package/dist/compiled/lodash/fp/path.d.ts +2 -0
  522. package/dist/compiled/lodash/fp/pathEq.d.ts +2 -0
  523. package/dist/compiled/lodash/fp/pathOr.d.ts +2 -0
  524. package/dist/compiled/lodash/fp/paths.d.ts +2 -0
  525. package/dist/compiled/lodash/fp/pick.d.ts +2 -0
  526. package/dist/compiled/lodash/fp/pickAll.d.ts +2 -0
  527. package/dist/compiled/lodash/fp/pickBy.d.ts +2 -0
  528. package/dist/compiled/lodash/fp/pipe.d.ts +2 -0
  529. package/dist/compiled/lodash/fp/placeholder.d.ts +3 -0
  530. package/dist/compiled/lodash/fp/pluck.d.ts +2 -0
  531. package/dist/compiled/lodash/fp/prop.d.ts +2 -0
  532. package/dist/compiled/lodash/fp/propEq.d.ts +2 -0
  533. package/dist/compiled/lodash/fp/propOr.d.ts +2 -0
  534. package/dist/compiled/lodash/fp/property.d.ts +2 -0
  535. package/dist/compiled/lodash/fp/propertyOf.d.ts +2 -0
  536. package/dist/compiled/lodash/fp/props.d.ts +2 -0
  537. package/dist/compiled/lodash/fp/pull.d.ts +2 -0
  538. package/dist/compiled/lodash/fp/pullAll.d.ts +2 -0
  539. package/dist/compiled/lodash/fp/pullAllBy.d.ts +2 -0
  540. package/dist/compiled/lodash/fp/pullAllWith.d.ts +2 -0
  541. package/dist/compiled/lodash/fp/pullAt.d.ts +2 -0
  542. package/dist/compiled/lodash/fp/random.d.ts +2 -0
  543. package/dist/compiled/lodash/fp/range.d.ts +2 -0
  544. package/dist/compiled/lodash/fp/rangeRight.d.ts +2 -0
  545. package/dist/compiled/lodash/fp/rangeStep.d.ts +2 -0
  546. package/dist/compiled/lodash/fp/rangeStepRight.d.ts +2 -0
  547. package/dist/compiled/lodash/fp/rearg.d.ts +2 -0
  548. package/dist/compiled/lodash/fp/reduce.d.ts +2 -0
  549. package/dist/compiled/lodash/fp/reduceRight.d.ts +2 -0
  550. package/dist/compiled/lodash/fp/reject.d.ts +2 -0
  551. package/dist/compiled/lodash/fp/remove.d.ts +2 -0
  552. package/dist/compiled/lodash/fp/repeat.d.ts +2 -0
  553. package/dist/compiled/lodash/fp/replace.d.ts +2 -0
  554. package/dist/compiled/lodash/fp/rest.d.ts +2 -0
  555. package/dist/compiled/lodash/fp/restFrom.d.ts +2 -0
  556. package/dist/compiled/lodash/fp/result.d.ts +2 -0
  557. package/dist/compiled/lodash/fp/reverse.d.ts +2 -0
  558. package/dist/compiled/lodash/fp/round.d.ts +2 -0
  559. package/dist/compiled/lodash/fp/runInContext.d.ts +2 -0
  560. package/dist/compiled/lodash/fp/sample.d.ts +2 -0
  561. package/dist/compiled/lodash/fp/sampleSize.d.ts +2 -0
  562. package/dist/compiled/lodash/fp/set.d.ts +2 -0
  563. package/dist/compiled/lodash/fp/setWith.d.ts +2 -0
  564. package/dist/compiled/lodash/fp/shuffle.d.ts +2 -0
  565. package/dist/compiled/lodash/fp/size.d.ts +2 -0
  566. package/dist/compiled/lodash/fp/slice.d.ts +2 -0
  567. package/dist/compiled/lodash/fp/snakeCase.d.ts +2 -0
  568. package/dist/compiled/lodash/fp/some.d.ts +2 -0
  569. package/dist/compiled/lodash/fp/sortBy.d.ts +2 -0
  570. package/dist/compiled/lodash/fp/sortedIndex.d.ts +2 -0
  571. package/dist/compiled/lodash/fp/sortedIndexBy.d.ts +2 -0
  572. package/dist/compiled/lodash/fp/sortedIndexOf.d.ts +2 -0
  573. package/dist/compiled/lodash/fp/sortedLastIndex.d.ts +2 -0
  574. package/dist/compiled/lodash/fp/sortedLastIndexBy.d.ts +2 -0
  575. package/dist/compiled/lodash/fp/sortedLastIndexOf.d.ts +2 -0
  576. package/dist/compiled/lodash/fp/sortedUniq.d.ts +2 -0
  577. package/dist/compiled/lodash/fp/sortedUniqBy.d.ts +2 -0
  578. package/dist/compiled/lodash/fp/split.d.ts +2 -0
  579. package/dist/compiled/lodash/fp/spread.d.ts +2 -0
  580. package/dist/compiled/lodash/fp/spreadFrom.d.ts +2 -0
  581. package/dist/compiled/lodash/fp/startCase.d.ts +2 -0
  582. package/dist/compiled/lodash/fp/startsWith.d.ts +2 -0
  583. package/dist/compiled/lodash/fp/stubArray.d.ts +2 -0
  584. package/dist/compiled/lodash/fp/stubFalse.d.ts +2 -0
  585. package/dist/compiled/lodash/fp/stubObject.d.ts +2 -0
  586. package/dist/compiled/lodash/fp/stubString.d.ts +2 -0
  587. package/dist/compiled/lodash/fp/stubTrue.d.ts +2 -0
  588. package/dist/compiled/lodash/fp/subtract.d.ts +2 -0
  589. package/dist/compiled/lodash/fp/sum.d.ts +2 -0
  590. package/dist/compiled/lodash/fp/sumBy.d.ts +2 -0
  591. package/dist/compiled/lodash/fp/symmetricDifference.d.ts +2 -0
  592. package/dist/compiled/lodash/fp/symmetricDifferenceBy.d.ts +2 -0
  593. package/dist/compiled/lodash/fp/symmetricDifferenceWith.d.ts +2 -0
  594. package/dist/compiled/lodash/fp/tail.d.ts +2 -0
  595. package/dist/compiled/lodash/fp/take.d.ts +2 -0
  596. package/dist/compiled/lodash/fp/takeLast.d.ts +2 -0
  597. package/dist/compiled/lodash/fp/takeLastWhile.d.ts +2 -0
  598. package/dist/compiled/lodash/fp/takeRight.d.ts +2 -0
  599. package/dist/compiled/lodash/fp/takeRightWhile.d.ts +2 -0
  600. package/dist/compiled/lodash/fp/takeWhile.d.ts +2 -0
  601. package/dist/compiled/lodash/fp/tap.d.ts +2 -0
  602. package/dist/compiled/lodash/fp/template.d.ts +2 -0
  603. package/dist/compiled/lodash/fp/throttle.d.ts +2 -0
  604. package/dist/compiled/lodash/fp/thru.d.ts +2 -0
  605. package/dist/compiled/lodash/fp/times.d.ts +2 -0
  606. package/dist/compiled/lodash/fp/toArray.d.ts +2 -0
  607. package/dist/compiled/lodash/fp/toFinite.d.ts +2 -0
  608. package/dist/compiled/lodash/fp/toInteger.d.ts +2 -0
  609. package/dist/compiled/lodash/fp/toLength.d.ts +2 -0
  610. package/dist/compiled/lodash/fp/toLower.d.ts +2 -0
  611. package/dist/compiled/lodash/fp/toNumber.d.ts +2 -0
  612. package/dist/compiled/lodash/fp/toPairs.d.ts +2 -0
  613. package/dist/compiled/lodash/fp/toPairsIn.d.ts +2 -0
  614. package/dist/compiled/lodash/fp/toPath.d.ts +2 -0
  615. package/dist/compiled/lodash/fp/toPlainObject.d.ts +2 -0
  616. package/dist/compiled/lodash/fp/toSafeInteger.d.ts +2 -0
  617. package/dist/compiled/lodash/fp/toString.d.ts +2 -0
  618. package/dist/compiled/lodash/fp/toUpper.d.ts +2 -0
  619. package/dist/compiled/lodash/fp/transform.d.ts +2 -0
  620. package/dist/compiled/lodash/fp/trim.d.ts +2 -0
  621. package/dist/compiled/lodash/fp/trimChars.d.ts +2 -0
  622. package/dist/compiled/lodash/fp/trimCharsEnd.d.ts +2 -0
  623. package/dist/compiled/lodash/fp/trimCharsStart.d.ts +2 -0
  624. package/dist/compiled/lodash/fp/trimEnd.d.ts +2 -0
  625. package/dist/compiled/lodash/fp/trimStart.d.ts +2 -0
  626. package/dist/compiled/lodash/fp/truncate.d.ts +2 -0
  627. package/dist/compiled/lodash/fp/unapply.d.ts +2 -0
  628. package/dist/compiled/lodash/fp/unary.d.ts +2 -0
  629. package/dist/compiled/lodash/fp/unescape.d.ts +2 -0
  630. package/dist/compiled/lodash/fp/union.d.ts +2 -0
  631. package/dist/compiled/lodash/fp/unionBy.d.ts +2 -0
  632. package/dist/compiled/lodash/fp/unionWith.d.ts +2 -0
  633. package/dist/compiled/lodash/fp/uniq.d.ts +2 -0
  634. package/dist/compiled/lodash/fp/uniqBy.d.ts +2 -0
  635. package/dist/compiled/lodash/fp/uniqWith.d.ts +2 -0
  636. package/dist/compiled/lodash/fp/uniqueId.d.ts +2 -0
  637. package/dist/compiled/lodash/fp/unnest.d.ts +2 -0
  638. package/dist/compiled/lodash/fp/unset.d.ts +2 -0
  639. package/dist/compiled/lodash/fp/unzip.d.ts +2 -0
  640. package/dist/compiled/lodash/fp/unzipWith.d.ts +2 -0
  641. package/dist/compiled/lodash/fp/update.d.ts +2 -0
  642. package/dist/compiled/lodash/fp/updateWith.d.ts +2 -0
  643. package/dist/compiled/lodash/fp/upperCase.d.ts +2 -0
  644. package/dist/compiled/lodash/fp/upperFirst.d.ts +2 -0
  645. package/dist/compiled/lodash/fp/useWith.d.ts +2 -0
  646. package/dist/compiled/lodash/fp/values.d.ts +2 -0
  647. package/dist/compiled/lodash/fp/valuesIn.d.ts +2 -0
  648. package/dist/compiled/lodash/fp/where.d.ts +2 -0
  649. package/dist/compiled/lodash/fp/whereEq.d.ts +2 -0
  650. package/dist/compiled/lodash/fp/without.d.ts +2 -0
  651. package/dist/compiled/lodash/fp/words.d.ts +2 -0
  652. package/dist/compiled/lodash/fp/wrap.d.ts +2 -0
  653. package/dist/compiled/lodash/fp/xor.d.ts +2 -0
  654. package/dist/compiled/lodash/fp/xorBy.d.ts +2 -0
  655. package/dist/compiled/lodash/fp/xorWith.d.ts +2 -0
  656. package/dist/compiled/lodash/fp/zip.d.ts +2 -0
  657. package/dist/compiled/lodash/fp/zipAll.d.ts +2 -0
  658. package/dist/compiled/lodash/fp/zipObj.d.ts +2 -0
  659. package/dist/compiled/lodash/fp/zipObject.d.ts +2 -0
  660. package/dist/compiled/lodash/fp/zipObjectDeep.d.ts +2 -0
  661. package/dist/compiled/lodash/fp/zipWith.d.ts +2 -0
  662. package/dist/compiled/lodash/fp.d.ts +4962 -0
  663. package/dist/compiled/lodash/fromPairs.d.ts +2 -0
  664. package/dist/compiled/lodash/functions.d.ts +2 -0
  665. package/dist/compiled/lodash/functionsIn.d.ts +2 -0
  666. package/dist/compiled/lodash/get.d.ts +2 -0
  667. package/dist/compiled/lodash/groupBy.d.ts +2 -0
  668. package/dist/compiled/lodash/gt.d.ts +2 -0
  669. package/dist/compiled/lodash/gte.d.ts +2 -0
  670. package/dist/compiled/lodash/has.d.ts +2 -0
  671. package/dist/compiled/lodash/hasIn.d.ts +2 -0
  672. package/dist/compiled/lodash/head.d.ts +2 -0
  673. package/dist/compiled/lodash/identity.d.ts +2 -0
  674. package/dist/compiled/lodash/inRange.d.ts +2 -0
  675. package/dist/compiled/lodash/includes.d.ts +2 -0
  676. package/dist/compiled/lodash/index.d.ts +1 -16
  677. package/dist/compiled/lodash/indexOf.d.ts +2 -0
  678. package/dist/compiled/lodash/initial.d.ts +2 -0
  679. package/dist/compiled/lodash/intersection.d.ts +2 -0
  680. package/dist/compiled/lodash/intersectionBy.d.ts +2 -0
  681. package/dist/compiled/lodash/intersectionWith.d.ts +2 -0
  682. package/dist/compiled/lodash/invert.d.ts +2 -0
  683. package/dist/compiled/lodash/invertBy.d.ts +2 -0
  684. package/dist/compiled/lodash/invoke.d.ts +2 -0
  685. package/dist/compiled/lodash/invokeMap.d.ts +2 -0
  686. package/dist/compiled/lodash/isArguments.d.ts +2 -0
  687. package/dist/compiled/lodash/isArray.d.ts +2 -0
  688. package/dist/compiled/lodash/isArrayBuffer.d.ts +2 -0
  689. package/dist/compiled/lodash/isArrayLike.d.ts +2 -0
  690. package/dist/compiled/lodash/isArrayLikeObject.d.ts +2 -0
  691. package/dist/compiled/lodash/isBoolean.d.ts +2 -0
  692. package/dist/compiled/lodash/isBuffer.d.ts +2 -0
  693. package/dist/compiled/lodash/isDate.d.ts +2 -0
  694. package/dist/compiled/lodash/isElement.d.ts +2 -0
  695. package/dist/compiled/lodash/isEmpty.d.ts +2 -0
  696. package/dist/compiled/lodash/isEqual.d.ts +2 -0
  697. package/dist/compiled/lodash/isEqualWith.d.ts +2 -0
  698. package/dist/compiled/lodash/isError.d.ts +2 -0
  699. package/dist/compiled/lodash/isFinite.d.ts +2 -0
  700. package/dist/compiled/lodash/isFunction.d.ts +2 -0
  701. package/dist/compiled/lodash/isInteger.d.ts +2 -0
  702. package/dist/compiled/lodash/isLength.d.ts +2 -0
  703. package/dist/compiled/lodash/isMap.d.ts +2 -0
  704. package/dist/compiled/lodash/isMatch.d.ts +2 -0
  705. package/dist/compiled/lodash/isMatchWith.d.ts +2 -0
  706. package/dist/compiled/lodash/isNaN.d.ts +2 -0
  707. package/dist/compiled/lodash/isNative.d.ts +2 -0
  708. package/dist/compiled/lodash/isNil.d.ts +2 -0
  709. package/dist/compiled/lodash/isNull.d.ts +2 -0
  710. package/dist/compiled/lodash/isNumber.d.ts +2 -0
  711. package/dist/compiled/lodash/isObject.d.ts +2 -0
  712. package/dist/compiled/lodash/isObjectLike.d.ts +2 -0
  713. package/dist/compiled/lodash/isPlainObject.d.ts +2 -0
  714. package/dist/compiled/lodash/isRegExp.d.ts +2 -0
  715. package/dist/compiled/lodash/isSafeInteger.d.ts +2 -0
  716. package/dist/compiled/lodash/isSet.d.ts +2 -0
  717. package/dist/compiled/lodash/isString.d.ts +2 -0
  718. package/dist/compiled/lodash/isSymbol.d.ts +2 -0
  719. package/dist/compiled/lodash/isTypedArray.d.ts +2 -0
  720. package/dist/compiled/lodash/isUndefined.d.ts +2 -0
  721. package/dist/compiled/lodash/isWeakMap.d.ts +2 -0
  722. package/dist/compiled/lodash/isWeakSet.d.ts +2 -0
  723. package/dist/compiled/lodash/iteratee.d.ts +2 -0
  724. package/dist/compiled/lodash/join.d.ts +2 -0
  725. package/dist/compiled/lodash/kebabCase.d.ts +2 -0
  726. package/dist/compiled/lodash/keyBy.d.ts +2 -0
  727. package/dist/compiled/lodash/keys.d.ts +2 -0
  728. package/dist/compiled/lodash/keysIn.d.ts +2 -0
  729. package/dist/compiled/lodash/last.d.ts +2 -0
  730. package/dist/compiled/lodash/lastIndexOf.d.ts +2 -0
  731. package/dist/compiled/lodash/licenses-cjs.txt +49 -0
  732. package/dist/compiled/lodash/lowerCase.d.ts +2 -0
  733. package/dist/compiled/lodash/lowerFirst.d.ts +2 -0
  734. package/dist/compiled/lodash/lt.d.ts +2 -0
  735. package/dist/compiled/lodash/lte.d.ts +2 -0
  736. package/dist/compiled/lodash/map.d.ts +2 -0
  737. package/dist/compiled/lodash/mapKeys.d.ts +2 -0
  738. package/dist/compiled/lodash/mapValues.d.ts +2 -0
  739. package/dist/compiled/lodash/matches.d.ts +2 -0
  740. package/dist/compiled/lodash/matchesProperty.d.ts +2 -0
  741. package/dist/compiled/lodash/max.d.ts +2 -0
  742. package/dist/compiled/lodash/maxBy.d.ts +2 -0
  743. package/dist/compiled/lodash/mean.d.ts +2 -0
  744. package/dist/compiled/lodash/meanBy.d.ts +2 -0
  745. package/dist/compiled/lodash/memoize.d.ts +2 -0
  746. package/dist/compiled/lodash/merge.d.ts +2 -0
  747. package/dist/compiled/lodash/mergeWith.d.ts +2 -0
  748. package/dist/compiled/lodash/method.d.ts +2 -0
  749. package/dist/compiled/lodash/methodOf.d.ts +2 -0
  750. package/dist/compiled/lodash/min.d.ts +2 -0
  751. package/dist/compiled/lodash/minBy.d.ts +2 -0
  752. package/dist/compiled/lodash/mixin.d.ts +2 -0
  753. package/dist/compiled/lodash/multiply.d.ts +2 -0
  754. package/dist/compiled/lodash/negate.d.ts +2 -0
  755. package/dist/compiled/lodash/noConflict.d.ts +2 -0
  756. package/dist/compiled/lodash/noop.d.ts +2 -0
  757. package/dist/compiled/lodash/now.d.ts +2 -0
  758. package/dist/compiled/lodash/nth.d.ts +2 -0
  759. package/dist/compiled/lodash/nthArg.d.ts +2 -0
  760. package/dist/compiled/lodash/omit.d.ts +2 -0
  761. package/dist/compiled/lodash/omitBy.d.ts +2 -0
  762. package/dist/compiled/lodash/once.d.ts +2 -0
  763. package/dist/compiled/lodash/orderBy.d.ts +2 -0
  764. package/dist/compiled/lodash/over.d.ts +2 -0
  765. package/dist/compiled/lodash/overArgs.d.ts +2 -0
  766. package/dist/compiled/lodash/overEvery.d.ts +2 -0
  767. package/dist/compiled/lodash/overSome.d.ts +2 -0
  768. package/dist/compiled/lodash/package.json +1 -1
  769. package/dist/compiled/lodash/pad.d.ts +2 -0
  770. package/dist/compiled/lodash/padEnd.d.ts +2 -0
  771. package/dist/compiled/lodash/padStart.d.ts +2 -0
  772. package/dist/compiled/lodash/parseInt.d.ts +2 -0
  773. package/dist/compiled/lodash/partial.d.ts +2 -0
  774. package/dist/compiled/lodash/partialRight.d.ts +2 -0
  775. package/dist/compiled/lodash/partition.d.ts +2 -0
  776. package/dist/compiled/lodash/pick.d.ts +2 -0
  777. package/dist/compiled/lodash/pickBy.d.ts +2 -0
  778. package/dist/compiled/lodash/property.d.ts +2 -0
  779. package/dist/compiled/lodash/propertyOf.d.ts +2 -0
  780. package/dist/compiled/lodash/provenance.json +19 -0
  781. package/dist/compiled/lodash/pull.d.ts +2 -0
  782. package/dist/compiled/lodash/pullAll.d.ts +2 -0
  783. package/dist/compiled/lodash/pullAllBy.d.ts +2 -0
  784. package/dist/compiled/lodash/pullAllWith.d.ts +2 -0
  785. package/dist/compiled/lodash/pullAt.d.ts +2 -0
  786. package/dist/compiled/lodash/random.d.ts +2 -0
  787. package/dist/compiled/lodash/range.d.ts +2 -0
  788. package/dist/compiled/lodash/rangeRight.d.ts +2 -0
  789. package/dist/compiled/lodash/rearg.d.ts +2 -0
  790. package/dist/compiled/lodash/reduce.d.ts +2 -0
  791. package/dist/compiled/lodash/reduceRight.d.ts +2 -0
  792. package/dist/compiled/lodash/reject.d.ts +2 -0
  793. package/dist/compiled/lodash/remove.d.ts +2 -0
  794. package/dist/compiled/lodash/repeat.d.ts +2 -0
  795. package/dist/compiled/lodash/replace.d.ts +2 -0
  796. package/dist/compiled/lodash/rest.d.ts +2 -0
  797. package/dist/compiled/lodash/result.d.ts +2 -0
  798. package/dist/compiled/lodash/reverse.d.ts +2 -0
  799. package/dist/compiled/lodash/round.d.ts +2 -0
  800. package/dist/compiled/lodash/runInContext.d.ts +2 -0
  801. package/dist/compiled/lodash/sample.d.ts +2 -0
  802. package/dist/compiled/lodash/sampleSize.d.ts +2 -0
  803. package/dist/compiled/lodash/set.d.ts +2 -0
  804. package/dist/compiled/lodash/setWith.d.ts +2 -0
  805. package/dist/compiled/lodash/shuffle.d.ts +2 -0
  806. package/dist/compiled/lodash/size.d.ts +2 -0
  807. package/dist/compiled/lodash/slice.d.ts +2 -0
  808. package/dist/compiled/lodash/snakeCase.d.ts +2 -0
  809. package/dist/compiled/lodash/some.d.ts +2 -0
  810. package/dist/compiled/lodash/sortBy.d.ts +2 -0
  811. package/dist/compiled/lodash/sortedIndex.d.ts +2 -0
  812. package/dist/compiled/lodash/sortedIndexBy.d.ts +2 -0
  813. package/dist/compiled/lodash/sortedIndexOf.d.ts +2 -0
  814. package/dist/compiled/lodash/sortedLastIndex.d.ts +2 -0
  815. package/dist/compiled/lodash/sortedLastIndexBy.d.ts +2 -0
  816. package/dist/compiled/lodash/sortedLastIndexOf.d.ts +2 -0
  817. package/dist/compiled/lodash/sortedUniq.d.ts +2 -0
  818. package/dist/compiled/lodash/sortedUniqBy.d.ts +2 -0
  819. package/dist/compiled/lodash/split.d.ts +2 -0
  820. package/dist/compiled/lodash/spread.d.ts +2 -0
  821. package/dist/compiled/lodash/startCase.d.ts +2 -0
  822. package/dist/compiled/lodash/startsWith.d.ts +2 -0
  823. package/dist/compiled/lodash/stubArray.d.ts +2 -0
  824. package/dist/compiled/lodash/stubFalse.d.ts +2 -0
  825. package/dist/compiled/lodash/stubObject.d.ts +2 -0
  826. package/dist/compiled/lodash/stubString.d.ts +2 -0
  827. package/dist/compiled/lodash/stubTrue.d.ts +2 -0
  828. package/dist/compiled/lodash/subtract.d.ts +2 -0
  829. package/dist/compiled/lodash/sum.d.ts +2 -0
  830. package/dist/compiled/lodash/sumBy.d.ts +2 -0
  831. package/dist/compiled/lodash/tail.d.ts +2 -0
  832. package/dist/compiled/lodash/take.d.ts +2 -0
  833. package/dist/compiled/lodash/takeRight.d.ts +2 -0
  834. package/dist/compiled/lodash/takeRightWhile.d.ts +2 -0
  835. package/dist/compiled/lodash/takeWhile.d.ts +2 -0
  836. package/dist/compiled/lodash/tap.d.ts +2 -0
  837. package/dist/compiled/lodash/template.d.ts +2 -0
  838. package/dist/compiled/lodash/throttle.d.ts +2 -0
  839. package/dist/compiled/lodash/thru.d.ts +2 -0
  840. package/dist/compiled/lodash/times.d.ts +2 -0
  841. package/dist/compiled/lodash/toArray.d.ts +2 -0
  842. package/dist/compiled/lodash/toFinite.d.ts +2 -0
  843. package/dist/compiled/lodash/toInteger.d.ts +2 -0
  844. package/dist/compiled/lodash/toLength.d.ts +2 -0
  845. package/dist/compiled/lodash/toLower.d.ts +2 -0
  846. package/dist/compiled/lodash/toNumber.d.ts +2 -0
  847. package/dist/compiled/lodash/toPairs.d.ts +2 -0
  848. package/dist/compiled/lodash/toPairsIn.d.ts +2 -0
  849. package/dist/compiled/lodash/toPath.d.ts +2 -0
  850. package/dist/compiled/lodash/toPlainObject.d.ts +2 -0
  851. package/dist/compiled/lodash/toSafeInteger.d.ts +2 -0
  852. package/dist/compiled/lodash/toString.d.ts +2 -0
  853. package/dist/compiled/lodash/toUpper.d.ts +2 -0
  854. package/dist/compiled/lodash/transform.d.ts +2 -0
  855. package/dist/compiled/lodash/trim.d.ts +2 -0
  856. package/dist/compiled/lodash/trimEnd.d.ts +2 -0
  857. package/dist/compiled/lodash/trimStart.d.ts +2 -0
  858. package/dist/compiled/lodash/truncate.d.ts +2 -0
  859. package/dist/compiled/lodash/unary.d.ts +2 -0
  860. package/dist/compiled/lodash/unescape.d.ts +2 -0
  861. package/dist/compiled/lodash/union.d.ts +2 -0
  862. package/dist/compiled/lodash/unionBy.d.ts +2 -0
  863. package/dist/compiled/lodash/unionWith.d.ts +2 -0
  864. package/dist/compiled/lodash/uniq.d.ts +2 -0
  865. package/dist/compiled/lodash/uniqBy.d.ts +2 -0
  866. package/dist/compiled/lodash/uniqWith.d.ts +2 -0
  867. package/dist/compiled/lodash/uniqueId.d.ts +2 -0
  868. package/dist/compiled/lodash/unset.d.ts +2 -0
  869. package/dist/compiled/lodash/unzip.d.ts +2 -0
  870. package/dist/compiled/lodash/unzipWith.d.ts +2 -0
  871. package/dist/compiled/lodash/update.d.ts +2 -0
  872. package/dist/compiled/lodash/updateWith.d.ts +2 -0
  873. package/dist/compiled/lodash/upperCase.d.ts +2 -0
  874. package/dist/compiled/lodash/upperFirst.d.ts +2 -0
  875. package/dist/compiled/lodash/values.d.ts +2 -0
  876. package/dist/compiled/lodash/valuesIn.d.ts +2 -0
  877. package/dist/compiled/lodash/without.d.ts +2 -0
  878. package/dist/compiled/lodash/words.d.ts +2 -0
  879. package/dist/compiled/lodash/wrap.d.ts +2 -0
  880. package/dist/compiled/lodash/xor.d.ts +2 -0
  881. package/dist/compiled/lodash/xorBy.d.ts +2 -0
  882. package/dist/compiled/lodash/xorWith.d.ts +2 -0
  883. package/dist/compiled/lodash/zip.d.ts +2 -0
  884. package/dist/compiled/lodash/zipObject.d.ts +2 -0
  885. package/dist/compiled/lodash/zipObjectDeep.d.ts +2 -0
  886. package/dist/compiled/lodash/zipWith.d.ts +2 -0
  887. package/dist/compiled/mime-types/declaration-licenses/@types_mime-types/LICENSE +21 -0
  888. package/dist/compiled/mime-types/index.d.ts +15 -12
  889. package/dist/compiled/mime-types/index.js +74 -28
  890. package/dist/compiled/mime-types/licenses-cjs.txt +52 -0
  891. package/dist/compiled/mime-types/package.json +1 -1
  892. package/dist/compiled/mime-types/provenance.json +19 -0
  893. package/dist/compiled/minimist/declaration-licenses/@types_minimist/LICENSE +21 -0
  894. package/dist/compiled/minimist/index.d.ts +3 -11
  895. package/dist/compiled/minimist/index.js +103 -104
  896. package/dist/compiled/minimist/licenses-cjs.txt +20 -0
  897. package/dist/compiled/minimist/package.json +1 -1
  898. package/dist/compiled/minimist/provenance.json +22 -0
  899. package/dist/compiled/nanoid/LICENSE +20 -0
  900. package/dist/compiled/nanoid/declaration-licenses/nanoid/LICENSE +20 -0
  901. package/dist/compiled/nanoid/index.d.mts +108 -0
  902. package/dist/compiled/nanoid/index.d.ts +31 -14
  903. package/dist/compiled/nanoid/index.js +117 -74
  904. package/dist/compiled/nanoid/index.mjs +98 -48
  905. package/dist/compiled/nanoid/licenses-cjs.txt +22 -0
  906. package/dist/compiled/nanoid/licenses-esm.txt +22 -0
  907. package/dist/compiled/nanoid/package.json +1 -1
  908. package/dist/compiled/nanoid/provenance.json +19 -0
  909. package/dist/compiled/ora/declaration-licenses/cli-spinners/license +9 -0
  910. package/dist/compiled/ora/declaration-licenses/ora/license +9 -0
  911. package/dist/compiled/ora/index.d.mts +501 -0
  912. package/dist/compiled/ora/index.d.ts +428 -204
  913. package/dist/compiled/ora/index.js +2121 -3893
  914. package/dist/compiled/ora/index.mjs +2155 -0
  915. package/dist/compiled/ora/licenses-cjs.txt +226 -0
  916. package/dist/compiled/ora/licenses-esm.txt +226 -0
  917. package/dist/compiled/ora/package.json +1 -1
  918. package/dist/compiled/ora/provenance.json +24 -0
  919. package/dist/compiled/pkg-up/declaration-licenses/@modern-js_compiled-pkg-up/license +9 -0
  920. package/dist/compiled/pkg-up/index.d.ts +9 -9
  921. package/dist/compiled/pkg-up/index.js +47 -14
  922. package/dist/compiled/pkg-up/licenses-cjs.txt +11 -0
  923. package/dist/compiled/pkg-up/package.json +1 -1
  924. package/dist/compiled/pkg-up/provenance.json +18 -0
  925. package/dist/compiled/semver/classes/comparator.d.ts +3 -3
  926. package/dist/compiled/semver/classes/range.d.ts +6 -6
  927. package/dist/compiled/semver/classes/semver.d.ts +11 -4
  928. package/dist/compiled/semver/declaration-licenses/@types_semver/LICENSE +21 -0
  929. package/dist/compiled/semver/functions/clean.d.ts +1 -1
  930. package/dist/compiled/semver/functions/cmp.d.ts +2 -2
  931. package/dist/compiled/semver/functions/coerce.d.ts +2 -2
  932. package/dist/compiled/semver/functions/compare-build.d.ts +7 -2
  933. package/dist/compiled/semver/functions/compare-loose.d.ts +4 -1
  934. package/dist/compiled/semver/functions/compare.d.ts +2 -2
  935. package/dist/compiled/semver/functions/diff.d.ts +3 -7
  936. package/dist/compiled/semver/functions/eq.d.ts +2 -2
  937. package/dist/compiled/semver/functions/gt.d.ts +2 -2
  938. package/dist/compiled/semver/functions/gte.d.ts +2 -2
  939. package/dist/compiled/semver/functions/inc.d.ts +15 -4
  940. package/dist/compiled/semver/functions/lt.d.ts +2 -2
  941. package/dist/compiled/semver/functions/lte.d.ts +2 -2
  942. package/dist/compiled/semver/functions/major.d.ts +2 -2
  943. package/dist/compiled/semver/functions/minor.d.ts +2 -2
  944. package/dist/compiled/semver/functions/neq.d.ts +2 -2
  945. package/dist/compiled/semver/functions/parse.d.ts +15 -4
  946. package/dist/compiled/semver/functions/patch.d.ts +2 -2
  947. package/dist/compiled/semver/functions/prerelease.d.ts +2 -2
  948. package/dist/compiled/semver/functions/rcompare.d.ts +2 -2
  949. package/dist/compiled/semver/functions/rsort.d.ts +2 -2
  950. package/dist/compiled/semver/functions/satisfies.d.ts +4 -4
  951. package/dist/compiled/semver/functions/sort.d.ts +2 -2
  952. package/dist/compiled/semver/functions/truncate.d.ts +10 -0
  953. package/dist/compiled/semver/functions/valid.d.ts +2 -2
  954. package/dist/compiled/semver/index.d.ts +82 -77
  955. package/dist/compiled/semver/index.js +639 -1026
  956. package/dist/compiled/semver/licenses-cjs.txt +17 -0
  957. package/dist/compiled/semver/package.json +1 -1
  958. package/dist/compiled/semver/preload.d.ts +2 -0
  959. package/dist/compiled/semver/provenance.json +22 -0
  960. package/dist/compiled/semver/ranges/gtr.d.ts +4 -4
  961. package/dist/compiled/semver/ranges/intersects.d.ts +3 -3
  962. package/dist/compiled/semver/ranges/ltr.d.ts +4 -4
  963. package/dist/compiled/semver/ranges/max-satisfying.d.ts +5 -5
  964. package/dist/compiled/semver/ranges/min-satisfying.d.ts +5 -5
  965. package/dist/compiled/semver/ranges/min-version.d.ts +3 -3
  966. package/dist/compiled/semver/ranges/outside.d.ts +5 -5
  967. package/dist/compiled/semver/ranges/simplify.d.ts +2 -2
  968. package/dist/compiled/semver/ranges/subset.d.ts +3 -7
  969. package/dist/compiled/semver/ranges/to-comparators.d.ts +2 -2
  970. package/dist/compiled/semver/ranges/valid.d.ts +3 -3
  971. package/dist/compiled/signale/declaration-licenses/@types_signale/LICENSE +21 -0
  972. package/dist/compiled/signale/index.d.ts +22 -29
  973. package/dist/compiled/signale/index.js +2934 -613
  974. package/dist/compiled/signale/license.md +21 -0
  975. package/dist/compiled/signale/licenses-cjs.txt +468 -0
  976. package/dist/compiled/signale/package.json +1 -1
  977. package/dist/compiled/signale/provenance.json +19 -0
  978. package/dist/compiled/slash/declaration-licenses/slash/license +9 -0
  979. package/dist/compiled/slash/index.d.mts +25 -0
  980. package/dist/compiled/slash/index.d.ts +4 -4
  981. package/dist/compiled/slash/index.js +31 -27
  982. package/dist/compiled/slash/index.mjs +25 -0
  983. package/dist/compiled/slash/license +1 -1
  984. package/dist/compiled/slash/licenses-cjs.txt +11 -0
  985. package/dist/compiled/slash/licenses-esm.txt +11 -0
  986. package/dist/compiled/slash/package.json +1 -1
  987. package/dist/compiled/slash/provenance.json +19 -0
  988. package/dist/compiled/strip-ansi/declaration-licenses/strip-ansi/license +9 -0
  989. package/dist/compiled/strip-ansi/index.d.mts +17 -0
  990. package/dist/compiled/strip-ansi/index.d.ts +2 -2
  991. package/dist/compiled/strip-ansi/index.js +39 -29
  992. package/dist/compiled/strip-ansi/index.mjs +33 -0
  993. package/dist/compiled/strip-ansi/license +1 -1
  994. package/dist/compiled/strip-ansi/licenses-cjs.txt +24 -0
  995. package/dist/compiled/strip-ansi/licenses-esm.txt +24 -0
  996. package/dist/compiled/strip-ansi/package.json +1 -1
  997. package/dist/compiled/strip-ansi/provenance.json +19 -0
  998. package/dist/compiled/tsconfig-paths/declaration-licenses/tsconfig-paths/LICENSE +21 -0
  999. package/dist/compiled/tsconfig-paths/index.d.mts +115 -0
  1000. package/dist/compiled/tsconfig-paths/index.d.ts +115 -0
  1001. package/dist/compiled/tsconfig-paths/index.js +256 -243
  1002. package/dist/compiled/tsconfig-paths/index.mjs +2 -2
  1003. package/dist/compiled/tsconfig-paths/licenses-cjs.txt +48 -0
  1004. package/dist/compiled/tsconfig-paths/package.json +1 -1
  1005. package/dist/compiled/tsconfig-paths/provenance.json +19 -0
  1006. package/dist/compiled/upath/LICENSE +22 -0
  1007. package/dist/compiled/upath/declaration-licenses/upath/LICENSE +22 -0
  1008. package/dist/compiled/upath/index.d.mts +84 -0
  1009. package/dist/compiled/upath/index.d.ts +84 -0
  1010. package/dist/compiled/upath/index.js +173 -110
  1011. package/dist/compiled/upath/index.mjs +236 -0
  1012. package/dist/compiled/upath/licenses-cjs.txt +24 -0
  1013. package/dist/compiled/upath/licenses-esm.txt +24 -0
  1014. package/dist/compiled/upath/package.json +1 -1
  1015. package/dist/compiled/upath/provenance.json +22 -0
  1016. package/dist/compiled/url-join/declaration-licenses/url-join/LICENSE +21 -0
  1017. package/dist/compiled/url-join/index.d.mts +9 -0
  1018. package/dist/compiled/url-join/index.d.ts +3 -11
  1019. package/dist/compiled/url-join/index.js +55 -55
  1020. package/dist/compiled/url-join/index.mjs +50 -0
  1021. package/dist/compiled/url-join/licenses-cjs.txt +23 -0
  1022. package/dist/compiled/url-join/licenses-esm.txt +23 -0
  1023. package/dist/compiled/url-join/package.json +1 -1
  1024. package/dist/compiled/url-join/provenance.json +22 -0
  1025. package/dist/esm/cli/applyOptionsChain.mjs +1 -1
  1026. package/dist/esm/cli/get/config.mjs +1 -1
  1027. package/dist/esm/cli/is/config.mjs +1 -1
  1028. package/dist/esm/cli/require.mjs +4 -5
  1029. package/dist/esm/compiled.mjs +22 -31
  1030. package/dist/esm/fast-glob.mjs +1 -0
  1031. package/dist/esm/watch-options.mjs +0 -0
  1032. package/dist/esm-node/cli/applyOptionsChain.mjs +1 -1
  1033. package/dist/esm-node/cli/get/config.mjs +1 -1
  1034. package/dist/esm-node/cli/is/config.mjs +1 -1
  1035. package/dist/esm-node/cli/require.mjs +4 -5
  1036. package/dist/esm-node/compiled.mjs +22 -30
  1037. package/dist/esm-node/fast-glob.mjs +2 -0
  1038. package/dist/esm-node/watch-options.mjs +1 -0
  1039. package/dist/types/cli/commands.d.ts +1 -1
  1040. package/dist/types/cli/modulePath.d.ts +1 -1
  1041. package/dist/types/cli/require.d.ts +0 -1
  1042. package/dist/types/compiled.d.ts +30 -29
  1043. package/dist/types/fast-glob.d.ts +1 -0
  1044. package/dist/types/watch-options.d.ts +1 -0
  1045. package/package.json +100 -36
  1046. package/rslib.config.mts +20 -84
  1047. package/dist/compiled/address/lib/address.d.ts +0 -28
  1048. package/dist/compiled/browserslist/license +0 -20
  1049. package/dist/compiled/chokidar/anymatch/index.d.ts +0 -19
  1050. package/dist/compiled/chokidar/fsevents.node +0 -0
  1051. package/dist/compiled/chokidar/license +0 -21
  1052. package/dist/compiled/chokidar/types/index.d.ts +0 -188
  1053. package/dist/compiled/commander/typings/index.d.ts +0 -890
  1054. package/dist/compiled/debug/ms/index.d.ts +0 -25
  1055. package/dist/compiled/dotenv/index.js +0 -101
  1056. package/dist/compiled/dotenv/license +0 -23
  1057. package/dist/compiled/dotenv/package.json +0 -1
  1058. package/dist/compiled/dotenv/types/index.d.ts +0 -59
  1059. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
  1060. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +0 -12
  1061. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
  1062. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +0 -20
  1063. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
  1064. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
  1065. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +0 -12
  1066. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
  1067. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +0 -16
  1068. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +0 -4
  1069. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +0 -14
  1070. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
  1071. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
  1072. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
  1073. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +0 -30
  1074. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +0 -8
  1075. package/dist/compiled/fast-glob/index.js +0 -4665
  1076. package/dist/compiled/fast-glob/index.js.LICENSE.txt +0 -38
  1077. package/dist/compiled/fast-glob/license +0 -21
  1078. package/dist/compiled/fast-glob/out/index.d.ts +0 -27
  1079. package/dist/compiled/fast-glob/out/managers/tasks.d.ts +0 -22
  1080. package/dist/compiled/fast-glob/out/settings.d.ts +0 -164
  1081. package/dist/compiled/fast-glob/out/types/index.d.ts +0 -31
  1082. package/dist/compiled/fast-glob/package.json +0 -1
  1083. package/dist/compiled/filesize/filesize.d.ts +0 -131
  1084. package/dist/compiled/filesize/license +0 -28
  1085. package/dist/compiled/fs-extra/license +0 -15
  1086. package/dist/compiled/glob/license +0 -21
  1087. package/dist/compiled/glob/minimatch/index.d.ts +0 -204
  1088. package/dist/compiled/inquirer/index.js.LICENSE.txt +0 -7
  1089. package/dist/compiled/inquirer/lib/objects/choice.d.ts +0 -65
  1090. package/dist/compiled/inquirer/lib/objects/choices.d.ts +0 -206
  1091. package/dist/compiled/inquirer/lib/objects/separator.d.ts +0 -37
  1092. package/dist/compiled/inquirer/lib/prompts/base.d.ts +0 -100
  1093. package/dist/compiled/inquirer/lib/prompts/checkbox.d.ts +0 -116
  1094. package/dist/compiled/inquirer/lib/prompts/confirm.d.ts +0 -53
  1095. package/dist/compiled/inquirer/lib/prompts/editor.d.ts +0 -101
  1096. package/dist/compiled/inquirer/lib/prompts/expand.d.ts +0 -149
  1097. package/dist/compiled/inquirer/lib/prompts/input.d.ts +0 -82
  1098. package/dist/compiled/inquirer/lib/prompts/list.d.ts +0 -89
  1099. package/dist/compiled/inquirer/lib/prompts/number.d.ts +0 -32
  1100. package/dist/compiled/inquirer/lib/prompts/password.d.ts +0 -82
  1101. package/dist/compiled/inquirer/lib/prompts/rawlist.d.ts +0 -111
  1102. package/dist/compiled/inquirer/lib/ui/baseUI.d.ts +0 -37
  1103. package/dist/compiled/inquirer/lib/ui/bottom-bar.d.ts +0 -65
  1104. package/dist/compiled/inquirer/lib/ui/prompt.d.ts +0 -104
  1105. package/dist/compiled/inquirer/lib/utils/events.d.ts +0 -72
  1106. package/dist/compiled/inquirer/lib/utils/incrementListIndex.d.ts +0 -23
  1107. package/dist/compiled/inquirer/lib/utils/paginator.d.ts +0 -55
  1108. package/dist/compiled/inquirer/lib/utils/readline.d.ts +0 -56
  1109. package/dist/compiled/inquirer/lib/utils/screen-manager.d.ts +0 -90
  1110. package/dist/compiled/inquirer/lib/utils/utils.d.ts +0 -30
  1111. package/dist/compiled/inquirer/license +0 -22
  1112. package/dist/compiled/inquirer/rxjs/LICENSE.txt +0 -202
  1113. package/dist/compiled/inquirer/rxjs/ajax/index.d.ts +0 -5
  1114. package/dist/compiled/inquirer/rxjs/fetch/index.d.ts +0 -2
  1115. package/dist/compiled/inquirer/rxjs/index.d.ts +0 -173
  1116. package/dist/compiled/inquirer/rxjs/internal/AnyCatcher.d.ts +0 -10
  1117. package/dist/compiled/inquirer/rxjs/internal/AsyncSubject.d.ts +0 -13
  1118. package/dist/compiled/inquirer/rxjs/internal/BehaviorSubject.d.ts +0 -13
  1119. package/dist/compiled/inquirer/rxjs/internal/Notification.d.ts +0 -175
  1120. package/dist/compiled/inquirer/rxjs/internal/NotificationFactories.d.ts +0 -2
  1121. package/dist/compiled/inquirer/rxjs/internal/Observable.d.ts +0 -121
  1122. package/dist/compiled/inquirer/rxjs/internal/Operator.d.ts +0 -9
  1123. package/dist/compiled/inquirer/rxjs/internal/ReplaySubject.d.ts +0 -49
  1124. package/dist/compiled/inquirer/rxjs/internal/Scheduler.d.ts +0 -53
  1125. package/dist/compiled/inquirer/rxjs/internal/Subject.d.ts +0 -54
  1126. package/dist/compiled/inquirer/rxjs/internal/Subscriber.d.ts +0 -72
  1127. package/dist/compiled/inquirer/rxjs/internal/Subscription.d.ts +0 -92
  1128. package/dist/compiled/inquirer/rxjs/internal/ajax/AjaxResponse.d.ts +0 -115
  1129. package/dist/compiled/inquirer/rxjs/internal/ajax/ajax.d.ts +0 -227
  1130. package/dist/compiled/inquirer/rxjs/internal/ajax/errors.d.ts +0 -65
  1131. package/dist/compiled/inquirer/rxjs/internal/ajax/getXHRResponse.d.ts +0 -14
  1132. package/dist/compiled/inquirer/rxjs/internal/ajax/types.d.ts +0 -200
  1133. package/dist/compiled/inquirer/rxjs/internal/config.d.ts +0 -73
  1134. package/dist/compiled/inquirer/rxjs/internal/firstValueFrom.d.ts +0 -7
  1135. package/dist/compiled/inquirer/rxjs/internal/lastValueFrom.d.ts +0 -7
  1136. package/dist/compiled/inquirer/rxjs/internal/observable/ConnectableObservable.d.ts +0 -42
  1137. package/dist/compiled/inquirer/rxjs/internal/observable/bindCallback.d.ts +0 -5
  1138. package/dist/compiled/inquirer/rxjs/internal/observable/bindCallbackInternals.d.ts +0 -4
  1139. package/dist/compiled/inquirer/rxjs/internal/observable/bindNodeCallback.d.ts +0 -5
  1140. package/dist/compiled/inquirer/rxjs/internal/observable/combineLatest.d.ts +0 -33
  1141. package/dist/compiled/inquirer/rxjs/internal/observable/concat.d.ts +0 -5
  1142. package/dist/compiled/inquirer/rxjs/internal/observable/connectable.d.ts +0 -27
  1143. package/dist/compiled/inquirer/rxjs/internal/observable/defer.d.ts +0 -51
  1144. package/dist/compiled/inquirer/rxjs/internal/observable/dom/WebSocketSubject.d.ts +0 -173
  1145. package/dist/compiled/inquirer/rxjs/internal/observable/dom/animationFrames.d.ts +0 -76
  1146. package/dist/compiled/inquirer/rxjs/internal/observable/dom/fetch.d.ts +0 -7
  1147. package/dist/compiled/inquirer/rxjs/internal/observable/dom/webSocket.d.ts +0 -159
  1148. package/dist/compiled/inquirer/rxjs/internal/observable/empty.d.ts +0 -72
  1149. package/dist/compiled/inquirer/rxjs/internal/observable/forkJoin.d.ts +0 -24
  1150. package/dist/compiled/inquirer/rxjs/internal/observable/from.d.ts +0 -6
  1151. package/dist/compiled/inquirer/rxjs/internal/observable/fromEvent.d.ts +0 -45
  1152. package/dist/compiled/inquirer/rxjs/internal/observable/fromEventPattern.d.ts +0 -5
  1153. package/dist/compiled/inquirer/rxjs/internal/observable/fromSubscribable.d.ts +0 -14
  1154. package/dist/compiled/inquirer/rxjs/internal/observable/generate.d.ts +0 -314
  1155. package/dist/compiled/inquirer/rxjs/internal/observable/iif.d.ts +0 -82
  1156. package/dist/compiled/inquirer/rxjs/internal/observable/innerFrom.d.ts +0 -21
  1157. package/dist/compiled/inquirer/rxjs/internal/observable/interval.d.ts +0 -48
  1158. package/dist/compiled/inquirer/rxjs/internal/observable/merge.d.ts +0 -9
  1159. package/dist/compiled/inquirer/rxjs/internal/observable/never.d.ts +0 -40
  1160. package/dist/compiled/inquirer/rxjs/internal/observable/of.d.ts +0 -14
  1161. package/dist/compiled/inquirer/rxjs/internal/observable/onErrorResumeNext.d.ts +0 -5
  1162. package/dist/compiled/inquirer/rxjs/internal/observable/pairs.d.ts +0 -19
  1163. package/dist/compiled/inquirer/rxjs/internal/observable/partition.d.ts +0 -9
  1164. package/dist/compiled/inquirer/rxjs/internal/observable/race.d.ts +0 -12
  1165. package/dist/compiled/inquirer/rxjs/internal/observable/range.d.ts +0 -8
  1166. package/dist/compiled/inquirer/rxjs/internal/observable/throwError.d.ts +0 -115
  1167. package/dist/compiled/inquirer/rxjs/internal/observable/timer.d.ts +0 -126
  1168. package/dist/compiled/inquirer/rxjs/internal/observable/using.d.ts +0 -30
  1169. package/dist/compiled/inquirer/rxjs/internal/observable/zip.d.ts +0 -7
  1170. package/dist/compiled/inquirer/rxjs/internal/operators/OperatorSubscriber.d.ts +0 -41
  1171. package/dist/compiled/inquirer/rxjs/internal/operators/audit.d.ts +0 -48
  1172. package/dist/compiled/inquirer/rxjs/internal/operators/auditTime.d.ts +0 -50
  1173. package/dist/compiled/inquirer/rxjs/internal/operators/buffer.d.ts +0 -41
  1174. package/dist/compiled/inquirer/rxjs/internal/operators/bufferCount.d.ts +0 -54
  1175. package/dist/compiled/inquirer/rxjs/internal/operators/bufferTime.d.ts +0 -5
  1176. package/dist/compiled/inquirer/rxjs/internal/operators/bufferToggle.d.ts +0 -46
  1177. package/dist/compiled/inquirer/rxjs/internal/operators/bufferWhen.d.ts +0 -41
  1178. package/dist/compiled/inquirer/rxjs/internal/operators/catchError.d.ts +0 -4
  1179. package/dist/compiled/inquirer/rxjs/internal/operators/combineAll.d.ts +0 -6
  1180. package/dist/compiled/inquirer/rxjs/internal/operators/combineLatest.d.ts +0 -10
  1181. package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestAll.d.ts +0 -6
  1182. package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestWith.d.ts +0 -43
  1183. package/dist/compiled/inquirer/rxjs/internal/operators/concat.d.ts +0 -6
  1184. package/dist/compiled/inquirer/rxjs/internal/operators/concatAll.d.ts +0 -59
  1185. package/dist/compiled/inquirer/rxjs/internal/operators/concatMap.d.ts +0 -7
  1186. package/dist/compiled/inquirer/rxjs/internal/operators/concatMapTo.d.ts +0 -8
  1187. package/dist/compiled/inquirer/rxjs/internal/operators/concatWith.d.ts +0 -43
  1188. package/dist/compiled/inquirer/rxjs/internal/operators/connect.d.ts +0 -87
  1189. package/dist/compiled/inquirer/rxjs/internal/operators/count.d.ts +0 -58
  1190. package/dist/compiled/inquirer/rxjs/internal/operators/debounce.d.ts +0 -61
  1191. package/dist/compiled/inquirer/rxjs/internal/operators/debounceTime.d.ts +0 -59
  1192. package/dist/compiled/inquirer/rxjs/internal/operators/defaultIfEmpty.d.ts +0 -38
  1193. package/dist/compiled/inquirer/rxjs/internal/operators/delay.d.ts +0 -59
  1194. package/dist/compiled/inquirer/rxjs/internal/operators/delayWhen.d.ts +0 -6
  1195. package/dist/compiled/inquirer/rxjs/internal/operators/dematerialize.d.ts +0 -51
  1196. package/dist/compiled/inquirer/rxjs/internal/operators/distinct.d.ts +0 -60
  1197. package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilChanged.d.ts +0 -4
  1198. package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilKeyChanged.d.ts +0 -4
  1199. package/dist/compiled/inquirer/rxjs/internal/operators/elementAt.d.ts +0 -51
  1200. package/dist/compiled/inquirer/rxjs/internal/operators/endWith.d.ts +0 -7
  1201. package/dist/compiled/inquirer/rxjs/internal/operators/every.d.ts +0 -9
  1202. package/dist/compiled/inquirer/rxjs/internal/operators/exhaust.d.ts +0 -6
  1203. package/dist/compiled/inquirer/rxjs/internal/operators/exhaustAll.d.ts +0 -47
  1204. package/dist/compiled/inquirer/rxjs/internal/operators/exhaustMap.d.ts +0 -7
  1205. package/dist/compiled/inquirer/rxjs/internal/operators/expand.d.ts +0 -9
  1206. package/dist/compiled/inquirer/rxjs/internal/operators/filter.d.ts +0 -9
  1207. package/dist/compiled/inquirer/rxjs/internal/operators/finalize.d.ts +0 -64
  1208. package/dist/compiled/inquirer/rxjs/internal/operators/find.d.ts +0 -12
  1209. package/dist/compiled/inquirer/rxjs/internal/operators/findIndex.d.ts +0 -9
  1210. package/dist/compiled/inquirer/rxjs/internal/operators/first.d.ts +0 -9
  1211. package/dist/compiled/inquirer/rxjs/internal/operators/flatMap.d.ts +0 -6
  1212. package/dist/compiled/inquirer/rxjs/internal/operators/groupBy.d.ts +0 -119
  1213. package/dist/compiled/inquirer/rxjs/internal/operators/ignoreElements.d.ts +0 -38
  1214. package/dist/compiled/inquirer/rxjs/internal/operators/isEmpty.d.ts +0 -64
  1215. package/dist/compiled/inquirer/rxjs/internal/operators/joinAllInternals.d.ts +0 -14
  1216. package/dist/compiled/inquirer/rxjs/internal/operators/last.d.ts +0 -8
  1217. package/dist/compiled/inquirer/rxjs/internal/operators/map.d.ts +0 -5
  1218. package/dist/compiled/inquirer/rxjs/internal/operators/mapTo.d.ts +0 -10
  1219. package/dist/compiled/inquirer/rxjs/internal/operators/materialize.d.ts +0 -52
  1220. package/dist/compiled/inquirer/rxjs/internal/operators/max.d.ts +0 -50
  1221. package/dist/compiled/inquirer/rxjs/internal/operators/merge.d.ts +0 -10
  1222. package/dist/compiled/inquirer/rxjs/internal/operators/mergeAll.d.ts +0 -62
  1223. package/dist/compiled/inquirer/rxjs/internal/operators/mergeInternals.d.ts +0 -18
  1224. package/dist/compiled/inquirer/rxjs/internal/operators/mergeMap.d.ts +0 -7
  1225. package/dist/compiled/inquirer/rxjs/internal/operators/mergeMapTo.d.ts +0 -9
  1226. package/dist/compiled/inquirer/rxjs/internal/operators/mergeScan.d.ts +0 -68
  1227. package/dist/compiled/inquirer/rxjs/internal/operators/mergeWith.d.ts +0 -44
  1228. package/dist/compiled/inquirer/rxjs/internal/operators/min.d.ts +0 -50
  1229. package/dist/compiled/inquirer/rxjs/internal/operators/multicast.d.ts +0 -63
  1230. package/dist/compiled/inquirer/rxjs/internal/operators/observeOn.d.ts +0 -56
  1231. package/dist/compiled/inquirer/rxjs/internal/operators/onErrorResumeNextWith.d.ts +0 -8
  1232. package/dist/compiled/inquirer/rxjs/internal/operators/pairwise.d.ts +0 -46
  1233. package/dist/compiled/inquirer/rxjs/internal/operators/partition.d.ts +0 -54
  1234. package/dist/compiled/inquirer/rxjs/internal/operators/pluck.d.ts +0 -18
  1235. package/dist/compiled/inquirer/rxjs/internal/operators/publish.d.ts +0 -30
  1236. package/dist/compiled/inquirer/rxjs/internal/operators/publishBehavior.d.ts +0 -19
  1237. package/dist/compiled/inquirer/rxjs/internal/operators/publishLast.d.ts +0 -69
  1238. package/dist/compiled/inquirer/rxjs/internal/operators/publishReplay.d.ts +0 -56
  1239. package/dist/compiled/inquirer/rxjs/internal/operators/race.d.ts +0 -6
  1240. package/dist/compiled/inquirer/rxjs/internal/operators/raceWith.d.ts +0 -29
  1241. package/dist/compiled/inquirer/rxjs/internal/operators/reduce.d.ts +0 -5
  1242. package/dist/compiled/inquirer/rxjs/internal/operators/refCount.d.ts +0 -61
  1243. package/dist/compiled/inquirer/rxjs/internal/operators/repeat.d.ts +0 -108
  1244. package/dist/compiled/inquirer/rxjs/internal/operators/repeatWhen.d.ts +0 -38
  1245. package/dist/compiled/inquirer/rxjs/internal/operators/retry.d.ts +0 -28
  1246. package/dist/compiled/inquirer/rxjs/internal/operators/retryWhen.d.ts +0 -61
  1247. package/dist/compiled/inquirer/rxjs/internal/operators/sample.d.ts +0 -43
  1248. package/dist/compiled/inquirer/rxjs/internal/operators/sampleTime.d.ts +0 -46
  1249. package/dist/compiled/inquirer/rxjs/internal/operators/scan.d.ts +0 -5
  1250. package/dist/compiled/inquirer/rxjs/internal/operators/scanInternals.d.ts +0 -12
  1251. package/dist/compiled/inquirer/rxjs/internal/operators/sequenceEqual.d.ts +0 -60
  1252. package/dist/compiled/inquirer/rxjs/internal/operators/share.d.ts +0 -43
  1253. package/dist/compiled/inquirer/rxjs/internal/operators/shareReplay.d.ts +0 -10
  1254. package/dist/compiled/inquirer/rxjs/internal/operators/single.d.ts +0 -5
  1255. package/dist/compiled/inquirer/rxjs/internal/operators/skip.d.ts +0 -36
  1256. package/dist/compiled/inquirer/rxjs/internal/operators/skipLast.d.ts +0 -45
  1257. package/dist/compiled/inquirer/rxjs/internal/operators/skipUntil.d.ts +0 -48
  1258. package/dist/compiled/inquirer/rxjs/internal/operators/skipWhile.d.ts +0 -5
  1259. package/dist/compiled/inquirer/rxjs/internal/operators/startWith.d.ts +0 -7
  1260. package/dist/compiled/inquirer/rxjs/internal/operators/subscribeOn.d.ts +0 -62
  1261. package/dist/compiled/inquirer/rxjs/internal/operators/switchAll.d.ts +0 -61
  1262. package/dist/compiled/inquirer/rxjs/internal/operators/switchMap.d.ts +0 -7
  1263. package/dist/compiled/inquirer/rxjs/internal/operators/switchMapTo.d.ts +0 -8
  1264. package/dist/compiled/inquirer/rxjs/internal/operators/switchScan.d.ts +0 -20
  1265. package/dist/compiled/inquirer/rxjs/internal/operators/take.d.ts +0 -45
  1266. package/dist/compiled/inquirer/rxjs/internal/operators/takeLast.d.ts +0 -42
  1267. package/dist/compiled/inquirer/rxjs/internal/operators/takeUntil.d.ts +0 -41
  1268. package/dist/compiled/inquirer/rxjs/internal/operators/takeWhile.d.ts +0 -8
  1269. package/dist/compiled/inquirer/rxjs/internal/operators/tap.d.ts +0 -72
  1270. package/dist/compiled/inquirer/rxjs/internal/operators/throttle.d.ts +0 -78
  1271. package/dist/compiled/inquirer/rxjs/internal/operators/throttleTime.d.ts +0 -53
  1272. package/dist/compiled/inquirer/rxjs/internal/operators/throwIfEmpty.d.ts +0 -39
  1273. package/dist/compiled/inquirer/rxjs/internal/operators/timeInterval.d.ts +0 -50
  1274. package/dist/compiled/inquirer/rxjs/internal/operators/timeout.d.ts +0 -255
  1275. package/dist/compiled/inquirer/rxjs/internal/operators/timeoutWith.d.ts +0 -8
  1276. package/dist/compiled/inquirer/rxjs/internal/operators/timestamp.d.ts +0 -35
  1277. package/dist/compiled/inquirer/rxjs/internal/operators/toArray.d.ts +0 -33
  1278. package/dist/compiled/inquirer/rxjs/internal/operators/window.d.ts +0 -48
  1279. package/dist/compiled/inquirer/rxjs/internal/operators/windowCount.d.ts +0 -65
  1280. package/dist/compiled/inquirer/rxjs/internal/operators/windowTime.d.ts +0 -6
  1281. package/dist/compiled/inquirer/rxjs/internal/operators/windowToggle.d.ts +0 -49
  1282. package/dist/compiled/inquirer/rxjs/internal/operators/windowWhen.d.ts +0 -49
  1283. package/dist/compiled/inquirer/rxjs/internal/operators/withLatestFrom.d.ts +0 -4
  1284. package/dist/compiled/inquirer/rxjs/internal/operators/zip.d.ts +0 -10
  1285. package/dist/compiled/inquirer/rxjs/internal/operators/zipAll.d.ts +0 -14
  1286. package/dist/compiled/inquirer/rxjs/internal/operators/zipWith.d.ts +0 -26
  1287. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleArray.d.ts +0 -4
  1288. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleAsyncIterable.d.ts +0 -4
  1289. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleIterable.d.ts +0 -9
  1290. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleObservable.d.ts +0 -3
  1291. package/dist/compiled/inquirer/rxjs/internal/scheduled/schedulePromise.d.ts +0 -3
  1292. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleReadableStreamLike.d.ts +0 -4
  1293. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduled.d.ts +0 -15
  1294. package/dist/compiled/inquirer/rxjs/internal/scheduler/Action.d.ts +0 -30
  1295. package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameAction.d.ts +0 -12
  1296. package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameScheduler.d.ts +0 -6
  1297. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapAction.d.ts +0 -12
  1298. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapScheduler.d.ts +0 -6
  1299. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncAction.d.ts +0 -24
  1300. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncScheduler.d.ts +0 -9
  1301. package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueAction.d.ts +0 -14
  1302. package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueScheduler.d.ts +0 -4
  1303. package/dist/compiled/inquirer/rxjs/internal/scheduler/VirtualTimeScheduler.d.ts +0 -48
  1304. package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrame.d.ts +0 -38
  1305. package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrameProvider.d.ts +0 -13
  1306. package/dist/compiled/inquirer/rxjs/internal/scheduler/asap.d.ts +0 -41
  1307. package/dist/compiled/inquirer/rxjs/internal/scheduler/async.d.ts +0 -53
  1308. package/dist/compiled/inquirer/rxjs/internal/scheduler/dateTimestampProvider.d.ts +0 -7
  1309. package/dist/compiled/inquirer/rxjs/internal/scheduler/immediateProvider.d.ts +0 -14
  1310. package/dist/compiled/inquirer/rxjs/internal/scheduler/intervalProvider.d.ts +0 -14
  1311. package/dist/compiled/inquirer/rxjs/internal/scheduler/performanceTimestampProvider.d.ts +0 -7
  1312. package/dist/compiled/inquirer/rxjs/internal/scheduler/queue.d.ts +0 -69
  1313. package/dist/compiled/inquirer/rxjs/internal/scheduler/timeoutProvider.d.ts +0 -14
  1314. package/dist/compiled/inquirer/rxjs/internal/scheduler/timerHandle.d.ts +0 -2
  1315. package/dist/compiled/inquirer/rxjs/internal/symbol/iterator.d.ts +0 -3
  1316. package/dist/compiled/inquirer/rxjs/internal/symbol/observable.d.ts +0 -8
  1317. package/dist/compiled/inquirer/rxjs/internal/testing/ColdObservable.d.ts +0 -16
  1318. package/dist/compiled/inquirer/rxjs/internal/testing/HotObservable.d.ts +0 -15
  1319. package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLog.d.ts +0 -6
  1320. package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLoggable.d.ts +0 -9
  1321. package/dist/compiled/inquirer/rxjs/internal/testing/TestMessage.d.ts +0 -7
  1322. package/dist/compiled/inquirer/rxjs/internal/testing/TestScheduler.d.ts +0 -88
  1323. package/dist/compiled/inquirer/rxjs/internal/types.d.ts +0 -307
  1324. package/dist/compiled/inquirer/rxjs/internal/util/ArgumentOutOfRangeError.d.ts +0 -19
  1325. package/dist/compiled/inquirer/rxjs/internal/util/EmptyError.d.ts +0 -21
  1326. package/dist/compiled/inquirer/rxjs/internal/util/Immediate.d.ts +0 -14
  1327. package/dist/compiled/inquirer/rxjs/internal/util/NotFoundError.d.ts +0 -17
  1328. package/dist/compiled/inquirer/rxjs/internal/util/ObjectUnsubscribedError.d.ts +0 -20
  1329. package/dist/compiled/inquirer/rxjs/internal/util/SequenceError.d.ts +0 -17
  1330. package/dist/compiled/inquirer/rxjs/internal/util/UnsubscriptionError.d.ts +0 -16
  1331. package/dist/compiled/inquirer/rxjs/internal/util/applyMixins.d.ts +0 -2
  1332. package/dist/compiled/inquirer/rxjs/internal/util/args.d.ts +0 -5
  1333. package/dist/compiled/inquirer/rxjs/internal/util/argsArgArrayOrObject.d.ts +0 -11
  1334. package/dist/compiled/inquirer/rxjs/internal/util/argsOrArgArray.d.ts +0 -6
  1335. package/dist/compiled/inquirer/rxjs/internal/util/arrRemove.d.ts +0 -7
  1336. package/dist/compiled/inquirer/rxjs/internal/util/createErrorClass.d.ts +0 -11
  1337. package/dist/compiled/inquirer/rxjs/internal/util/createObject.d.ts +0 -2
  1338. package/dist/compiled/inquirer/rxjs/internal/util/errorContext.d.ts +0 -14
  1339. package/dist/compiled/inquirer/rxjs/internal/util/executeSchedule.d.ts +0 -5
  1340. package/dist/compiled/inquirer/rxjs/internal/util/identity.d.ts +0 -44
  1341. package/dist/compiled/inquirer/rxjs/internal/util/isArrayLike.d.ts +0 -2
  1342. package/dist/compiled/inquirer/rxjs/internal/util/isAsyncIterable.d.ts +0 -2
  1343. package/dist/compiled/inquirer/rxjs/internal/util/isDate.d.ts +0 -9
  1344. package/dist/compiled/inquirer/rxjs/internal/util/isFunction.d.ts +0 -6
  1345. package/dist/compiled/inquirer/rxjs/internal/util/isInteropObservable.d.ts +0 -4
  1346. package/dist/compiled/inquirer/rxjs/internal/util/isIterable.d.ts +0 -3
  1347. package/dist/compiled/inquirer/rxjs/internal/util/isObservable.d.ts +0 -8
  1348. package/dist/compiled/inquirer/rxjs/internal/util/isPromise.d.ts +0 -6
  1349. package/dist/compiled/inquirer/rxjs/internal/util/isReadableStreamLike.d.ts +0 -4
  1350. package/dist/compiled/inquirer/rxjs/internal/util/isScheduler.d.ts +0 -3
  1351. package/dist/compiled/inquirer/rxjs/internal/util/lift.d.ts +0 -15
  1352. package/dist/compiled/inquirer/rxjs/internal/util/mapOneOrManyArgs.d.ts +0 -7
  1353. package/dist/compiled/inquirer/rxjs/internal/util/noop.d.ts +0 -2
  1354. package/dist/compiled/inquirer/rxjs/internal/util/not.d.ts +0 -2
  1355. package/dist/compiled/inquirer/rxjs/internal/util/pipe.d.ts +0 -14
  1356. package/dist/compiled/inquirer/rxjs/internal/util/reportUnhandledError.d.ts +0 -11
  1357. package/dist/compiled/inquirer/rxjs/internal/util/subscribeToArray.d.ts +0 -7
  1358. package/dist/compiled/inquirer/rxjs/internal/util/throwUnobservableError.d.ts +0 -6
  1359. package/dist/compiled/inquirer/rxjs/internal/util/workarounds.d.ts +0 -2
  1360. package/dist/compiled/inquirer/rxjs/operators/index.d.ts +0 -114
  1361. package/dist/compiled/inquirer/rxjs/testing/index.d.ts +0 -2
  1362. package/dist/compiled/inquirer/rxjs/webSocket/index.d.ts +0 -3
  1363. package/dist/compiled/inquirer/through/index.d.ts +0 -25
  1364. package/dist/compiled/json5/lib/index.d.ts +0 -4
  1365. package/dist/compiled/json5/lib/parse.d.ts +0 -15
  1366. package/dist/compiled/json5/lib/stringify.d.ts +0 -89
  1367. package/dist/compiled/nanoid/license +0 -20
  1368. package/dist/compiled/ora/cli-spinners/index.d.ts +0 -125
  1369. package/dist/compiled/ora/index.js.LICENSE.txt +0 -1
  1370. package/dist/compiled/tsconfig-paths/lib/config-loader.d.ts +0 -33
  1371. package/dist/compiled/tsconfig-paths/lib/filesystem.d.ts +0 -34
  1372. package/dist/compiled/tsconfig-paths/lib/index.d.ts +0 -5
  1373. package/dist/compiled/tsconfig-paths/lib/mapping-entry.d.ts +0 -18
  1374. package/dist/compiled/tsconfig-paths/lib/match-path-async.d.ts +0 -21
  1375. package/dist/compiled/tsconfig-paths/lib/match-path-sync.d.ts +0 -32
  1376. package/dist/compiled/tsconfig-paths/lib/register.d.ts +0 -12
  1377. package/dist/compiled/tsconfig-paths/lib/try-path.d.ts +0 -15
  1378. package/dist/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +0 -28
  1379. package/dist/compiled/upath/license +0 -22
  1380. package/dist/compiled/upath/upath.d.ts +0 -241
  1381. package/dist/compiled/webpack-chain/index.js +0 -1475
  1382. package/dist/compiled/webpack-chain/license +0 -373
  1383. package/dist/compiled/webpack-chain/package.json +0 -1
  1384. package/dist/compiled/webpack-chain/types/index.d.ts +0 -599
  1385. package/dist/esm/rslib-runtime~1.mjs +0 -12
  1386. /package/dist/compiled/commander/{license → LICENSE} +0 -0
  1387. /package/dist/compiled/debug/{license → LICENSE} +0 -0
  1388. /package/dist/compiled/{inquirer/types-license → debug/declaration-licenses/@types_debug/LICENSE} +0 -0
  1389. /package/dist/compiled/dotenv-expand/{license → LICENSE} +0 -0
  1390. /package/dist/compiled/js-yaml/{license → LICENSE} +0 -0
  1391. /package/dist/compiled/lodash/{license → LICENSE} +0 -0
  1392. /package/dist/compiled/mime-types/{license → LICENSE} +0 -0
  1393. /package/dist/compiled/minimist/{license → LICENSE} +0 -0
  1394. /package/dist/compiled/semver/{license → LICENSE} +0 -0
  1395. /package/dist/compiled/tsconfig-paths/{license → LICENSE} +0 -0
  1396. /package/dist/compiled/url-join/{license → LICENSE} +0 -0
@@ -1,563 +1,1064 @@
1
- // Type definitions for fs-extra 9.0
2
- // Project: https://github.com/jprichardson/node-fs-extra
3
- // Definitions by: Alan Agius <https://github.com/alan-agius4>,
4
- // midknight41 <https://github.com/midknight41>,
5
- // Brendan Forster <https://github.com/shiftkey>,
6
- // Mees van Dijk <https://github.com/mees->,
7
- // Justin Rockwood <https://github.com/jrockwood>,
8
- // Sang Dang <https://github.com/sangdth>,
9
- // Florian Keller <https://github.com/ffflorian>
10
- // Piotr Błażejewicz <https://github.com/peterblazejewicz>
11
- // Tiger Oakes <https://github.com/NotWoods>
12
- // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
13
- // Minimum TypeScript Version: 3.9
14
-
15
1
  /// <reference types="node" />
16
-
17
2
  import * as fs from 'fs';
18
- import Stats = fs.Stats;
19
- import PathLike = fs.PathLike;
20
-
3
+ import { readFile as readFile$2, readFileSync as readFileSync$1, writeFile as writeFile$2, writeFileSync as writeFileSync$1, PathLike } from 'fs';
21
4
  export * from 'fs';
5
+ import { Url } from 'url';
22
6
 
23
- export function copy(src: string, dest: string, options?: CopyOptions): Promise<void>;
24
- export function copy(src: string, dest: string, callback: (err: Error) => void): void;
25
- export function copy(src: string, dest: string, options: CopyOptions, callback: (err: Error) => void): void;
26
- export function copySync(src: string, dest: string, options?: CopyOptionsSync): void;
27
-
28
- export function copyFile(src: string, dest: string, flags?: number): Promise<void>;
29
- export function copyFile(src: string, dest: string, callback: (err: Error) => void): void;
30
- export function copyFile(src: string, dest: string, flags: number, callback: (err: Error) => void): void;
31
-
32
- export function move(src: string, dest: string, options?: MoveOptions): Promise<void>;
33
- export function move(src: string, dest: string, callback: (err: Error) => void): void;
34
- export function move(src: string, dest: string, options: MoveOptions, callback: (err: Error) => void): void;
35
- export function moveSync(src: string, dest: string, options?: MoveOptions): void;
36
-
37
- export function createFile(file: string): Promise<void>;
38
- export function createFile(file: string, callback: (err: Error) => void): void;
39
- export function createFileSync(file: string): void;
40
-
41
- export function createSymlink(src: string, dest: string, type: SymlinkType): Promise<void>;
42
- export function createSymlink(src: string, dest: string, type: SymlinkType, callback?: (err: Error) => void): void;
43
- export function createSymlinkSync(src: string, dest: string, type: SymlinkType): void;
44
-
45
- export function ensureDir(path: string, options?: EnsureOptions | number): Promise<void>;
46
- export function ensureDir(path: string, callback?: (err: Error) => void): void;
47
- export function ensureDir(path: string, options?: EnsureOptions | number, callback?: (err: Error) => void): void;
48
- export function ensureDirSync(path: string, options?: EnsureOptions | number): void;
49
-
50
- export function mkdirs(dir: string): Promise<void>;
51
- export function mkdirs(dir: string, callback: (err: Error) => void): void;
52
- export function mkdirp(dir: string): Promise<void>;
53
- export function mkdirp(dir: string, callback: (err: Error) => void): void;
54
- export function mkdirsSync(dir: string): void;
55
- export function mkdirpSync(dir: string): void;
56
-
57
- export function outputFile(
58
- file: string,
59
- data: any,
60
- options?: WriteFileOptions | BufferEncoding | string,
61
- ): Promise<void>;
62
- export function outputFile(file: string, data: any, callback: (err: Error) => void): void;
63
- export function outputFile(
64
- file: string,
65
- data: any,
66
- options: WriteFileOptions | string,
67
- callback: (err: Error) => void,
68
- ): void;
69
- export function outputFileSync(file: string, data: any, options?: WriteFileOptions | BufferEncoding | string): void;
70
-
71
- export function readJson(file: string, options?: ReadOptions | BufferEncoding | string): Promise<any>;
72
- export function readJson(file: string, callback: (err: Error, jsonObject: any) => void): void;
73
- export function readJson(
74
- file: string,
75
- options: ReadOptions | BufferEncoding | string,
76
- callback: (err: Error, jsonObject: any) => void,
77
- ): void;
78
- export function readJSON(file: string, options?: ReadOptions | BufferEncoding | string): Promise<any>;
79
- export function readJSON(file: string, callback: (err: Error, jsonObject: any) => void): void;
80
- export function readJSON(
81
- file: string,
82
- options: ReadOptions | BufferEncoding | string,
83
- callback: (err: Error, jsonObject: any) => void,
84
- ): void;
85
-
86
- export function readJsonSync(file: string, options?: ReadOptions | BufferEncoding | string): any;
87
- export function readJSONSync(file: string, options?: ReadOptions | BufferEncoding | string): any;
88
-
89
- export function remove(dir: string, callback: (err: Error) => void): void;
90
- export function remove(dir: string, callback?: (err: Error) => void): Promise<void>;
91
- export function removeSync(dir: string): void;
92
-
93
- export function outputJSON(file: string, data: any, options?: WriteOptions | BufferEncoding | string): Promise<void>;
94
- export function outputJSON(
95
- file: string,
96
- data: any,
97
- options: WriteOptions | BufferEncoding | string,
98
- callback: (err: Error) => void,
99
- ): void;
100
- export function outputJSON(file: string, data: any, callback: (err: Error) => void): void;
101
- export function outputJson(file: string, data: any, options?: WriteOptions | BufferEncoding | string): Promise<void>;
102
- export function outputJson(
103
- file: string,
104
- data: any,
105
- options: WriteOptions | BufferEncoding | string,
106
- callback: (err: Error) => void,
107
- ): void;
108
- export function outputJson(file: string, data: any, callback: (err: Error) => void): void;
109
- export function outputJsonSync(file: string, data: any, options?: WriteOptions | BufferEncoding | string): void;
110
- export function outputJSONSync(file: string, data: any, options?: WriteOptions | BufferEncoding | string): void;
7
+ type Path = PathLike | Url;
111
8
 
112
- export function writeJSON(file: string, object: any, options?: WriteOptions | BufferEncoding | string): Promise<void>;
113
- export function writeJSON(file: string, object: any, callback: (err: Error) => void): void;
114
- export function writeJSON(
115
- file: string,
116
- object: any,
117
- options: WriteOptions | BufferEncoding | string,
118
- callback: (err: Error) => void,
119
- ): void;
120
- export function writeJson(file: string, object: any, options?: WriteOptions | BufferEncoding | string): Promise<void>;
121
- export function writeJson(file: string, object: any, callback: (err: Error) => void): void;
122
- export function writeJson(
123
- file: string,
124
- object: any,
125
- options: WriteOptions | BufferEncoding | string,
126
- callback: (err: Error) => void,
127
- ): void;
9
+ interface FS {
10
+ readFile: typeof readFile$2;
11
+ readFileSync: typeof readFileSync$1;
12
+ writeFile: typeof writeFile$2;
13
+ writeFileSync: typeof writeFileSync$1;
14
+ }
128
15
 
129
- export function writeJsonSync(file: string, object: any, options?: WriteOptions | BufferEncoding | string): void;
130
- export function writeJSONSync(file: string, object: any, options?: WriteOptions | BufferEncoding | string): void;
131
-
132
- export function ensureFile(path: string): Promise<void>;
133
- export function ensureFile(path: string, callback: (err: Error) => void): void;
134
- export function ensureFileSync(path: string): void;
135
-
136
- export function ensureLink(src: string, dest: string): Promise<void>;
137
- export function ensureLink(src: string, dest: string, callback: (err: Error) => void): void;
138
- // alias for ensureLink
139
- export const createLink: typeof ensureLink;
140
- export function ensureLinkSync(src: string, dest: string): void;
141
- // aliased as
142
- export const createLinkSync: typeof ensureLinkSync;
143
-
144
- export function ensureSymlink(src: string, dest: string, type?: SymlinkType): Promise<void>;
145
- export function ensureSymlink(src: string, dest: string, type: SymlinkType, callback: (err: Error) => void): void;
146
- export function ensureSymlink(src: string, dest: string, callback: (err: Error) => void): void;
147
- export function ensureSymlinkSync(src: string, dest: string, type?: SymlinkType): void;
148
-
149
- export function emptyDir(path: string): Promise<void>;
150
- export function emptyDir(path: string, callback: (err: Error) => void): void;
151
- export const emptydir: typeof emptyDir;
152
-
153
- export function emptyDirSync(path: string): void;
154
- export const emptydirSync: typeof emptyDirSync;
155
-
156
- export function pathExists(path: string): Promise<boolean>;
157
- export function pathExists(path: string, callback: (err: Error, exists: boolean) => void): void;
158
- export function pathExistsSync(path: string): boolean;
159
-
160
- // fs async methods
161
- // copied from https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/node/v6/index.d.ts
162
-
163
- export function access(path: PathLike, callback: (err: NodeJS.ErrnoException) => void): void;
164
- export function access(path: PathLike, mode: number, callback: (err: NodeJS.ErrnoException) => void): void;
165
- export function access(path: PathLike, mode?: number): Promise<void>;
166
-
167
- export function appendFile(
168
- file: PathLike | number,
169
- data: any,
170
- options: {
171
- encoding?: BufferEncoding | string | undefined;
172
- mode?: number | string | undefined;
16
+ type JFReadOptions =
17
+ | {
18
+ encoding?: string | null | undefined;
173
19
  flag?: string | undefined;
174
- },
175
- callback: (err: NodeJS.ErrnoException) => void,
176
- ): void;
177
- export function appendFile(file: PathLike | number, data: any, callback: (err: NodeJS.ErrnoException) => void): void;
178
- export function appendFile(
179
- file: PathLike | number,
180
- data: any,
181
- options?:
182
- | {
183
- encoding?: BufferEncoding | string | undefined;
184
- mode?: number | string | undefined;
185
- flag?: string | undefined;
186
- }
187
- | BufferEncoding
188
- | string,
189
- ): Promise<void>;
190
-
191
- export function chmod(path: PathLike, mode: Mode, callback: (err: NodeJS.ErrnoException) => void): void;
192
- export function chmod(path: PathLike, mode: Mode): Promise<void>;
193
-
194
- export function chown(path: PathLike, uid: number, gid: number): Promise<void>;
195
- export function chown(path: PathLike, uid: number, gid: number, callback: (err: NodeJS.ErrnoException) => void): void;
196
-
197
- export function close(fd: number, callback: (err: NodeJS.ErrnoException) => void): void;
198
- export function close(fd: number): Promise<void>;
199
-
200
- export function fchmod(fd: number, mode: Mode, callback: (err: NodeJS.ErrnoException) => void): void;
201
- export function fchmod(fd: number, mode: Mode): Promise<void>;
202
-
203
- export function fchown(fd: number, uid: number, gid: number, callback: (err: NodeJS.ErrnoException) => void): void;
204
- export function fchown(fd: number, uid: number, gid: number): Promise<void>;
205
-
206
- export function fdatasync(fd: number, callback: () => void): void;
207
- export function fdatasync(fd: number): Promise<void>;
208
-
209
- export function fstat(fd: number, callback: (err: NodeJS.ErrnoException, stats: Stats) => any): void;
210
- export function fstat(fd: number): Promise<Stats>;
20
+ throws?: boolean | undefined;
21
+ fs?: FS | undefined;
22
+ reviver?: ((key: any, value: any) => any) | undefined;
23
+ }
24
+ | string
25
+ | null
26
+ | undefined;
27
+
28
+ type JFWriteOptions =
29
+ | {
30
+ encoding?: string | null | undefined;
31
+ mode?: string | number | undefined;
32
+ flag?: string | undefined;
33
+ fs?: FS | undefined;
34
+ EOL?: string | undefined;
35
+ spaces?: string | number | undefined;
36
+ replacer?: ((key: string, value: any) => any) | undefined;
37
+ }
38
+ | string
39
+ | null;
211
40
 
212
- export function fsync(fd: number, callback: (err: NodeJS.ErrnoException) => void): void;
213
- export function fsync(fd: number): Promise<void>;
41
+ type ReadCallback = (err: NodeJS.ErrnoException | null, data: any) => void;
42
+ type WriteCallback = (err: NodeJS.ErrnoException | null) => void;
214
43
 
215
- export function ftruncate(fd: number, callback: (err: NodeJS.ErrnoException) => void): void;
216
- export function ftruncate(fd: number, len: number, callback: (err: NodeJS.ErrnoException) => void): void;
217
- export function ftruncate(fd: number, len?: number): Promise<void>;
44
+ /**
45
+ * @see {@link https://github.com/jprichardson/node-jsonfile#readfilefilename-options-callback}
46
+ */
47
+ declare function readFile$1(file: Path, options: JFReadOptions, callback: ReadCallback): void;
48
+ declare function readFile$1(file: Path, callback: ReadCallback): void;
49
+ declare function readFile$1(file: Path, options?: JFReadOptions): Promise<any>;
218
50
 
219
- export function futimes(fd: number, atime: number, mtime: number, callback: (err: NodeJS.ErrnoException) => void): void;
220
- export function futimes(fd: number, atime: Date, mtime: Date, callback: (err: NodeJS.ErrnoException) => void): void;
221
- export function futimes(fd: number, atime: number, mtime: number): Promise<void>;
222
- export function futimes(fd: number, atime: Date, mtime: Date): Promise<void>;
51
+ /**
52
+ * @see {@link https://github.com/jprichardson/node-jsonfile#readfilesyncfilename-options}
53
+ */
54
+ declare function readFileSync(file: Path, options?: JFReadOptions): any;
223
55
 
224
- export function lchown(path: PathLike, uid: number, gid: number, callback: (err: NodeJS.ErrnoException) => void): void;
225
- export function lchown(path: PathLike, uid: number, gid: number): Promise<void>;
56
+ /**
57
+ * @see {@link https://github.com/jprichardson/node-jsonfile#writefilefilename-obj-options-callback}
58
+ */
59
+ declare function writeFile$1(file: Path, obj: any, options: JFWriteOptions, callback: WriteCallback): void;
60
+ declare function writeFile$1(file: Path, obj: any, callback: WriteCallback): void;
61
+ declare function writeFile$1(file: Path, obj: any, options?: JFWriteOptions): Promise<void>;
226
62
 
227
- export function link(existingPath: PathLike, newPath: PathLike, callback: (err: NodeJS.ErrnoException) => void): void;
228
- export function link(existingPath: PathLike, newPath: PathLike): Promise<void>;
63
+ /**
64
+ * @see {@link https://github.com/jprichardson/node-jsonfile#writefilesyncfilename-obj-options}
65
+ */
66
+ declare function writeFileSync(file: Path, obj: any, options?: JFWriteOptions): void;
229
67
 
230
- export function lstat(path: PathLike, callback: (err: NodeJS.ErrnoException, stats: Stats) => any): void;
231
- export function lstat(path: PathLike): Promise<Stats>;
68
+ interface StringifyOptions {
69
+ EOL?: string | undefined;
70
+ finalEOL?: boolean | undefined;
71
+ replacer?: ((key: string, value: any) => any) | undefined;
72
+ spaces?: string | number | undefined;
73
+ }
232
74
 
233
75
  /**
234
- * Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777.
76
+ * Copy a file or directory. The directory can have contents.
77
+ *
78
+ * @param src Note that if `src` is a directory it will copy everything inside of this directory,
79
+ * not the entire directory itself (see [issue #537](https://github.com/jprichardson/node-fs-extra/issues/537)).
80
+ * @param dest Note that if `src` is a file, `dest` cannot be a directory
81
+ * (see [issue #323](https://github.com/jprichardson/node-fs-extra/issues/323)).
235
82
  *
236
- * @param callback No arguments other than a possible exception are given to the completion callback.
83
+ * @example
84
+ * import * as fs from 'fs-extra'
85
+ *
86
+ * // With a callback:
87
+ * fs.copy('/tmp/myfile', '/tmp/mynewfile', err => {
88
+ * if (err) return console.error(err)
89
+ * console.log('success!')
90
+ * }) // copies file
91
+ *
92
+ * fs.copy('/tmp/mydir', '/tmp/mynewdir', err => {
93
+ * if (err) return console.error(err)
94
+ * console.log('success!')
95
+ * }) // copies directory, even if it has subdirectories or files
96
+ *
97
+ * // With Promises:
98
+ * fs.copy('/tmp/myfile', '/tmp/mynewfile')
99
+ * .then(() => {
100
+ * console.log('success!')
101
+ * })
102
+ * .catch(err => {
103
+ * console.error(err)
104
+ * })
105
+ *
106
+ * // With async/await:
107
+ * async function asyncAwait () {
108
+ * try {
109
+ * await fs.copy('/tmp/myfile', '/tmp/mynewfile')
110
+ * console.log('success!')
111
+ * } catch (err) {
112
+ * console.error(err)
113
+ * }
114
+ * }
115
+ *
116
+ * asyncAwait()
117
+ *
118
+ * // Using filter function
119
+ * fs.copy(
120
+ * '/tmp/mydir',
121
+ * '/tmp/mynewdir',
122
+ * {
123
+ * filter(src, dest) {
124
+ * // your logic here
125
+ * // it will be copied if return true
126
+ * }
127
+ * },
128
+ * err => {
129
+ * if (err) return console.error(err)
130
+ * console.log('success!')
131
+ * }
132
+ * )
237
133
  */
238
- export function mkdir(path: PathLike, callback: (err: NodeJS.ErrnoException) => void): void;
134
+ declare function copy(src: string, dest: string, options?: CopyOptions): Promise<void>;
135
+ declare function copy(src: string, dest: string, callback: NoParamCallbackWithUndefined): void;
136
+ declare function copy(src: string, dest: string, options: CopyOptions, callback: NoParamCallbackWithUndefined): void;
239
137
  /**
240
- * Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777.
138
+ * Copy a file or directory. The directory can have contents.
139
+ *
140
+ * @param src Note that if `src` is a directory it will copy everything inside of this directory,
141
+ * not the entire directory itself (see [issue #537](https://github.com/jprichardson/node-fs-extra/issues/537)).
142
+ * @param dest Note that if `src` is a file, `dest` cannot be a directory
143
+ * (see [issue #323](https://github.com/jprichardson/node-fs-extra/issues/323)).
144
+ *
145
+ * @example
146
+ * import * as fs from 'fs-extra'
147
+ *
148
+ * // copy file
149
+ * fs.copySync('/tmp/myfile', '/tmp/mynewfile')
241
150
  *
242
- * @param callback No arguments other than a possible exception are given to the completion callback.
151
+ * // copy directory, even if it has subdirectories or files
152
+ * fs.copySync('/tmp/mydir', '/tmp/mynewdir')
153
+ *
154
+ * // Using filter function
155
+ * fs.copySync('/tmp/mydir', '/tmp/mynewdir', {
156
+ * filter(src, dest) {
157
+ * // your logic here
158
+ * // it will be copied if return true
159
+ * }
160
+ * })
243
161
  */
244
- export function mkdir(
245
- path: PathLike,
246
- options: Mode | fs.MakeDirectoryOptions | null,
247
- callback: (err: NodeJS.ErrnoException) => void,
248
- ): void;
249
- export function mkdir(path: PathLike, options?: Mode | fs.MakeDirectoryOptions | null): Promise<void>;
250
- export function mkdirSync(path: PathLike, options?: Mode | fs.MakeDirectoryOptions | null): void;
251
-
252
- export function open(
253
- path: PathLike,
254
- flags: string | number,
255
- callback: (err: NodeJS.ErrnoException, fd: number) => void,
256
- ): void;
257
- export function open(
258
- path: PathLike,
259
- flags: string | number,
260
- mode: Mode,
261
- callback: (err: NodeJS.ErrnoException, fd: number) => void,
262
- ): void;
263
- export function open(path: PathLike, flags: string | number, mode?: Mode | null): Promise<number>;
162
+ declare function copySync(src: string, dest: string, options?: CopyOptionsSync): void;
264
163
 
265
- export function opendir(path: string, cb: (err: NodeJS.ErrnoException | null, dir: fs.Dir) => void): void;
266
- export function opendir(
267
- path: string,
268
- options: fs.OpenDirOptions,
269
- cb: (err: NodeJS.ErrnoException | null, dir: fs.Dir) => void,
270
- ): void;
271
- export function opendir(path: string, options?: fs.OpenDirOptions): Promise<fs.Dir>;
272
-
273
- export function read<TBuffer extends ArrayBufferView>(
274
- fd: number,
275
- buffer: TBuffer,
276
- offset: number,
277
- length: number,
278
- position: number | null,
279
- callback: (err: NodeJS.ErrnoException, bytesRead: number, buffer: TBuffer) => void,
280
- ): void;
281
- export function read<TBuffer extends ArrayBufferView>(
282
- fd: number,
283
- buffer: TBuffer,
284
- offset: number,
285
- length: number,
286
- position: number | null,
287
- ): Promise<{ bytesRead: number; buffer: TBuffer }>;
288
-
289
- export function readFile(file: PathLike | number, callback: (err: NodeJS.ErrnoException, data: Buffer) => void): void;
290
- export function readFile(
291
- file: PathLike | number,
292
- encoding: BufferEncoding | string,
293
- callback: (err: NodeJS.ErrnoException, data: string) => void,
294
- ): void;
295
- export function readFile(
296
- file: PathLike | number,
297
- options: { flag?: string | undefined } | { encoding: BufferEncoding | string; flag?: string | undefined },
298
- callback: (err: NodeJS.ErrnoException, data: Buffer) => void,
299
- ): void;
300
- export function readFile(
301
- file: PathLike | number,
302
- options: { flag?: string | undefined } | { encoding: BufferEncoding | string; flag?: string | undefined },
303
- ): Promise<string>;
304
- // tslint:disable-next-line:unified-signatures
305
- export function readFile(file: PathLike | number, encoding: BufferEncoding | string): Promise<string>;
306
- export function readFile(file: PathLike | number): Promise<Buffer>;
307
-
308
- export function readdir(path: PathLike, callback: (err: NodeJS.ErrnoException, files: string[]) => void): void;
309
- export function readdir(
310
- path: PathLike,
311
- options: 'buffer' | { encoding: 'buffer'; withFileTypes?: false | undefined },
312
- ): Promise<Buffer[]>;
313
- export function readdir(
314
- path: PathLike,
315
- options?:
316
- | { encoding: BufferEncoding | string | null; withFileTypes?: false | undefined }
317
- | BufferEncoding
318
- | string
319
- | null,
320
- ): Promise<string[]>;
321
- export function readdir(
322
- path: PathLike,
323
- options?: { encoding?: BufferEncoding | string | null | undefined; withFileTypes?: false | undefined },
324
- ): Promise<string[] | Buffer[]>;
325
- export function readdir(
326
- path: PathLike,
327
- options: { encoding?: BufferEncoding | string | null | undefined; withFileTypes: true },
328
- ): Promise<fs.Dirent[]>;
329
-
330
- export function readlink(path: PathLike, callback: (err: NodeJS.ErrnoException, linkString: string) => any): void;
331
- export function readlink(path: PathLike): Promise<string>;
332
-
333
- export function realpath(path: PathLike, callback: (err: NodeJS.ErrnoException, resolvedPath: string) => any): void;
334
- export function realpath(
335
- path: PathLike,
336
- cache: { [path: string]: string },
337
- callback: (err: NodeJS.ErrnoException, resolvedPath: string) => any,
338
- ): void;
339
- export function realpath(path: PathLike, cache?: { [path: string]: string }): Promise<string>;
340
-
341
- /* tslint:disable:unified-signatures */
342
- export namespace realpath {
343
- const native: {
344
- (path: PathLike, options: { encoding: 'buffer' } | 'buffer'): Promise<Buffer>;
345
- (
346
- path: PathLike,
347
- options: { encoding: BufferEncoding | string | null } | BufferEncoding | string | undefined | null,
348
- ): Promise<string>;
349
- (path: PathLike, options: { encoding: BufferEncoding | string | null } | string | undefined | null): Promise<
350
- string | Buffer
351
- >;
352
- (path: PathLike): Promise<string>;
353
- } & typeof fs.realpath.native;
354
- }
355
- /* tslint:enable:unified-signatures */
164
+ /**
165
+ * Moves a file or directory, even across devices.
166
+ *
167
+ * @param dest Note: When `src` is a file, `dest` must be a file and when `src` is a directory, `dest` must be a directory.
168
+ *
169
+ * @example
170
+ * import * as fs from 'fs-extra'
171
+ *
172
+ * const src = '/tmp/file.txt'
173
+ * const dest = '/tmp/this/path/does/not/exist/file.txt'
174
+ *
175
+ * // With a callback:
176
+ * fs.move(src, dest, err => {
177
+ * if (err) return console.error(err)
178
+ * console.log('success!')
179
+ * })
180
+ *
181
+ * // With Promises:
182
+ * fs.move(src, dest)
183
+ * .then(() => {
184
+ * console.log('success!')
185
+ * })
186
+ * .catch(err => {
187
+ * console.error(err)
188
+ * })
189
+ *
190
+ * // With async/await:
191
+ * async function asyncAwait () {
192
+ * try {
193
+ * await fs.move(src, dest)
194
+ * console.log('success!')
195
+ * } catch (err) {
196
+ * console.error(err)
197
+ * }
198
+ * }
199
+ *
200
+ * asyncAwait()
201
+ *
202
+ * // Using `overwrite` option
203
+ * fs.move('/tmp/somedir', '/tmp/may/already/exist/somedir', { overwrite: true }, err => {
204
+ * if (err) return console.error(err)
205
+ * console.log('success!')
206
+ * })
207
+ */
208
+ declare function move(src: string, dest: string, options?: MoveOptions): Promise<void>;
209
+ declare function move(src: string, dest: string, callback: NoParamCallbackWithUndefined): void;
210
+ declare function move(src: string, dest: string, options: MoveOptions, callback: NoParamCallbackWithUndefined): void;
211
+ /**
212
+ * Moves a file or directory, even across devices.
213
+ *
214
+ * @param dest Note: When `src` is a file, `dest` must be a file and when `src` is a directory, `dest` must be a directory.
215
+ *
216
+ * @example
217
+ * import * as fs from 'fs-extra'
218
+ *
219
+ * fs.moveSync('/tmp/somefile', '/tmp/does/not/exist/yet/somefile')
220
+ *
221
+ * // Using `overwrite` option
222
+ * fs.moveSync('/tmp/somedir', '/tmp/may/already/exist/somedir', { overwrite: true })
223
+ */
224
+ declare function moveSync(src: string, dest: string, options?: MoveOptions): void;
356
225
 
357
- export function rename(oldPath: PathLike, newPath: PathLike, callback: (err: NodeJS.ErrnoException) => void): void;
358
- export function rename(oldPath: PathLike, newPath: PathLike): Promise<void>;
226
+ /**
227
+ * Ensures that the file exists. If the file that is requested to be created is in
228
+ * directories that do not exist, these directories are created. If the file already
229
+ * exists, it is **NOT MODIFIED**.
230
+ *
231
+ * @example
232
+ * import * as fs from 'fs-extra'
233
+ *
234
+ * const file = '/tmp/this/path/does/not/exist/file.txt'
235
+ *
236
+ * // With a callback:
237
+ * fs.ensureFile(file, err => {
238
+ * console.log(err) // => null
239
+ * // file has now been created, including the directory it is to be placed in
240
+ * })
241
+ *
242
+ * // With Promises:
243
+ * fs.ensureFile(file)
244
+ * .then(() => {
245
+ * console.log('success!')
246
+ * })
247
+ * .catch(err => {
248
+ * console.error(err)
249
+ * })
250
+ *
251
+ * // With async/await:
252
+ * async function asyncAwait () {
253
+ * try {
254
+ * await fs.ensureFile(file)
255
+ * console.log('success!')
256
+ * } catch (err) {
257
+ * console.error(err)
258
+ * }
259
+ * }
260
+ *
261
+ * asyncAwait()
262
+ */
263
+ declare function ensureFile(file: string): Promise<void>;
264
+ declare function ensureFile(file: string, callback: NoParamCallbackWithUndefined): void;
265
+ /**
266
+ * @see ensureFile
267
+ */
268
+ declare const createFile: typeof ensureFile;
269
+ /**
270
+ * Ensures that the file exists. If the file that is requested to be created is in
271
+ * directories that do not exist, these directories are created. If the file already
272
+ * exists, it is **NOT MODIFIED**.
273
+ *
274
+ * @example
275
+ * import * as fs from 'fs-extra'
276
+ *
277
+ * const file = '/tmp/this/path/does/not/exist/file.txt'
278
+ * fs.ensureFileSync(file)
279
+ * // file has now been created, including the directory it is to be placed in
280
+ */
281
+ declare function ensureFileSync(file: string): void;
282
+ /**
283
+ * @see ensureFileSync
284
+ */
285
+ declare const createFileSync: typeof ensureFileSync;
359
286
 
360
287
  /**
361
- * Asynchronously removes files and directories (modeled on the standard POSIX
362
- * `rm` utility).
288
+ * Ensures that the link exists. If the directory structure does not exist, it is created.
289
+ *
290
+ * @example
291
+ * import * as fs from 'fs-extra'
363
292
  *
364
- * Only available in node >= v14.14.0
293
+ * const srcPath = '/tmp/file.txt'
294
+ * const destPath = '/tmp/this/path/does/not/exist/file.txt'
295
+ *
296
+ * // With a callback:
297
+ * fs.ensureLink(srcPath, destPath, err => {
298
+ * console.log(err) // => null
299
+ * // link has now been created, including the directory it is to be placed in
300
+ * })
301
+ *
302
+ * // With Promises:
303
+ * fs.ensureLink(srcPath, destPath)
304
+ * .then(() => {
305
+ * console.log('success!')
306
+ * })
307
+ * .catch(err => {
308
+ * console.error(err)
309
+ * })
310
+ *
311
+ * // With async/await:
312
+ * async function asyncAwait () {
313
+ * try {
314
+ * await fs.ensureLink(srcPath, destPath)
315
+ * console.log('success!')
316
+ * } catch (err) {
317
+ * console.error(err)
318
+ * }
319
+ * }
320
+ *
321
+ * asyncAwait()
365
322
  */
366
- export function rm(
367
- path: PathLike,
368
- options?: {
369
- force?: boolean | undefined;
370
- maxRetries?: number | undefined;
371
- recursive?: boolean | undefined;
372
- retryDelay?: number | undefined;
373
- },
374
- ): Promise<void>;
323
+ declare function ensureLink(src: string, dest: string): Promise<void>;
324
+ declare function ensureLink(src: string, dest: string, callback: fs.NoParamCallback): void;
325
+ /**
326
+ * @see ensureLink
327
+ */
328
+ declare const createLink: typeof ensureLink;
329
+ /**
330
+ * Ensures that the link exists. If the directory structure does not exist, it is created.
331
+ *
332
+ * @example
333
+ * import * as fs from 'fs-extra'
334
+ *
335
+ * const srcPath = '/tmp/file.txt'
336
+ * const destPath = '/tmp/this/path/does/not/exist/file.txt'
337
+ * fs.ensureLinkSync(srcPath, destPath)
338
+ * // link has now been created, including the directory it is to be placed in
339
+ */
340
+ declare function ensureLinkSync(src: string, dest: string): void;
341
+ /**
342
+ * @see ensureLinkSync
343
+ */
344
+ declare const createLinkSync: typeof ensureLinkSync;
375
345
 
376
346
  /**
377
- * Asynchronous rmdir - removes the directory specified in {path}
347
+ * Ensures that the symlink exists. If the directory structure does not exist, it is created.
348
+ *
349
+ * @param type It is only available on Windows and ignored on other platforms.
350
+ *
351
+ * @example
352
+ * import * as fs from 'fs-extra'
353
+ *
354
+ * const srcPath = '/tmp/file.txt'
355
+ * const destPath = '/tmp/this/path/does/not/exist/file.txt'
356
+ *
357
+ * // With a callback:
358
+ * fs.ensureSymlink(srcPath, destPath, err => {
359
+ * console.log(err) // => null
360
+ * // symlink has now been created, including the directory it is to be placed in
361
+ * })
362
+ *
363
+ * // With Promises:
364
+ * fs.ensureSymlink(srcPath, destPath)
365
+ * .then(() => {
366
+ * console.log('success!')
367
+ * })
368
+ * .catch(err => {
369
+ * console.error(err)
370
+ * })
371
+ *
372
+ * // With async/await:
373
+ * async function asyncAwait () {
374
+ * try {
375
+ * await fs.ensureSymlink(srcPath, destPath)
376
+ * console.log('success!')
377
+ * } catch (err) {
378
+ * console.error(err)
379
+ * }
380
+ * }
381
+ *
382
+ * asyncAwait()
383
+ */
384
+ declare function ensureSymlink(src: string, dest: string, type?: SymlinkType): Promise<void>;
385
+ declare function ensureSymlink(src: string, dest: string, callback: fs.NoParamCallback): void;
386
+ declare function ensureSymlink(src: string, dest: string, type: SymlinkType, callback: fs.NoParamCallback): void;
387
+ /**
388
+ * @see ensureSymlink
389
+ */
390
+ declare const createSymlink: typeof ensureSymlink;
391
+ /**
392
+ * Ensures that the symlink exists. If the directory structure does not exist, it is created.
393
+ *
394
+ * @param type It is only available on Windows and ignored on other platforms.
378
395
  *
379
- * @param callback No arguments other than a possible exception are given to the completion callback.
396
+ * @example
397
+ * import * as fs from 'fs-extra'
398
+ *
399
+ * const srcPath = '/tmp/file.txt'
400
+ * const destPath = '/tmp/this/path/does/not/exist/file.txt'
401
+ * fs.ensureSymlinkSync(srcPath, destPath)
402
+ * // symlink has now been created, including the directory it is to be placed in
380
403
  */
381
- export function rmdir(path: PathLike, callback: (err: NodeJS.ErrnoException) => void): void;
382
- export function rmdir(path: PathLike, options?: fs.RmDirOptions): Promise<void>;
404
+ declare function ensureSymlinkSync(src: string, dest: string, type?: SymlinkType): void;
405
+ /**
406
+ * @see ensureSymlinkSync
407
+ */
408
+ declare const createSymlinkSync: typeof ensureSymlinkSync;
383
409
 
384
- export function stat(path: PathLike, callback: (err: NodeJS.ErrnoException, stats: Stats) => any): void;
385
- export function stat(path: PathLike): Promise<Stats>;
410
+ /**
411
+ * Ensures that the directory exists. If the directory structure does not exist, it is created.
412
+ *
413
+ * @example
414
+ * import * as fs from 'fs-extra'
415
+ *
416
+ * const dir = '/tmp/this/path/does/not/exist'
417
+ * const desiredMode = 0o2775
418
+ * const options = {
419
+ * mode: 0o2775
420
+ * }
421
+ *
422
+ * // With a callback:
423
+ * fs.ensureDir(dir, err => {
424
+ * console.log(err) // => null
425
+ * // dir has now been created, including the directory it is to be placed in
426
+ * })
427
+ *
428
+ * // With a callback and a mode integer
429
+ * fs.ensureDir(dir, desiredMode, err => {
430
+ * console.log(err) // => null
431
+ * // dir has now been created with mode 0o2775, including the directory it is to be placed in
432
+ * })
433
+ *
434
+ * // With Promises:
435
+ * fs.ensureDir(dir)
436
+ * .then(() => {
437
+ * console.log('success!')
438
+ * })
439
+ * .catch(err => {
440
+ * console.error(err)
441
+ * })
442
+ *
443
+ * // With Promises and a mode integer:
444
+ * fs.ensureDir(dir, desiredMode)
445
+ * .then(() => {
446
+ * console.log('success!')
447
+ * })
448
+ * .catch(err => {
449
+ * console.error(err)
450
+ * })
451
+ *
452
+ * // With async/await:
453
+ * async function asyncAwait () {
454
+ * try {
455
+ * await fs.ensureDir(dir)
456
+ * console.log('success!')
457
+ * } catch (err) {
458
+ * console.error(err)
459
+ * }
460
+ * }
461
+ * asyncAwait()
462
+ *
463
+ * // With async/await and an options object, containing mode:
464
+ * async function asyncAwaitMode () {
465
+ * try {
466
+ * await fs.ensureDir(dir, options)
467
+ * console.log('success!')
468
+ * } catch (err) {
469
+ * console.error(err)
470
+ * }
471
+ * }
472
+ * asyncAwaitMode()
473
+ */
474
+ declare function ensureDir(path: string, options?: EnsureDirOptions | number): Promise<void>;
475
+ declare function ensureDir(path: string, callback: fs.NoParamCallback): void;
476
+ declare function ensureDir(path: string, options: EnsureDirOptions | number, callback: fs.NoParamCallback): void;
477
+ /**
478
+ * Ensures that the directory exists. If the directory structure does not exist, it is created.
479
+ * If provided, options may specify the desired mode for the directory.
480
+ *
481
+ * @example
482
+ * import * as fs from 'fs-extra'
483
+ *
484
+ * const dir = '/tmp/this/path/does/not/exist'
485
+ *
486
+ * const desiredMode = 0o2775
487
+ * const options = {
488
+ * mode: 0o2775
489
+ * }
490
+ *
491
+ * fs.ensureDirSync(dir)
492
+ * // dir has now been created, including the directory it is to be placed in
493
+ *
494
+ * fs.ensureDirSync(dir, desiredMode)
495
+ * // dir has now been created, including the directory it is to be placed in with permission 0o2775
496
+ *
497
+ * fs.ensureDirSync(dir, options)
498
+ * // dir has now been created, including the directory it is to be placed in with permission 0o2775
499
+ */
500
+ declare function ensureDirSync(path: string, options?: EnsureDirOptions | number): void;
386
501
 
387
- export function symlink(
388
- target: PathLike,
389
- path: PathLike,
390
- type: SymlinkType | undefined,
391
- callback: (err: NodeJS.ErrnoException) => void,
392
- ): void;
393
- export function symlink(target: PathLike, path: PathLike, callback: (err: NodeJS.ErrnoException) => void): void;
394
- export function symlink(target: PathLike, path: PathLike, type?: SymlinkType): Promise<void>;
502
+ /**
503
+ * @see ensureDir
504
+ */
505
+ declare const mkdirs: typeof ensureDir;
506
+ /**
507
+ * @see ensureDirSync
508
+ */
509
+ declare const mkdirsSync: typeof ensureDirSync;
395
510
 
396
- export function truncate(path: PathLike, callback: (err: NodeJS.ErrnoException) => void): void;
397
- export function truncate(path: PathLike, len: number, callback: (err: NodeJS.ErrnoException) => void): void;
398
- export function truncate(path: PathLike, len?: number): Promise<void>;
511
+ /**
512
+ * @see ensureDir
513
+ */
514
+ declare const mkdirp: typeof ensureDir;
515
+ /**
516
+ * @see ensureDirSync
517
+ */
518
+ declare const mkdirpSync: typeof ensureDirSync;
399
519
 
400
520
  /**
401
- * Asynchronous unlink - deletes the file specified in {path}
521
+ * Almost the same as `writeFile` (i.e. it overwrites), except that if the parent directory
522
+ * does not exist, it's created.
523
+ *
524
+ * @example
525
+ * import * as fs from 'fs-extra'
526
+ *
527
+ * const file = '/tmp/this/path/does/not/exist/file.txt'
528
+ *
529
+ * // With a callback:
530
+ * fs.outputFile(file, 'hello!', err => {
531
+ * console.log(err) // => null
532
+ *
533
+ * fs.readFile(file, 'utf8', (err, data) => {
534
+ * if (err) return console.error(err)
535
+ * console.log(data) // => hello!
536
+ * })
537
+ * })
538
+ *
539
+ * // With Promises:
540
+ * fs.outputFile(file, 'hello!')
541
+ * .then(() => fs.readFile(file, 'utf8'))
542
+ * .then(data => {
543
+ * console.log(data) // => hello!
544
+ * })
545
+ * .catch(err => {
546
+ * console.error(err)
547
+ * })
548
+ *
549
+ * // With async/await:
550
+ * async function asyncAwait () {
551
+ * try {
552
+ * await fs.outputFile(file, 'hello!')
553
+ *
554
+ * const data = await fs.readFile(file, 'utf8')
402
555
  *
403
- * @param callback No arguments other than a possible exception are given to the completion callback.
556
+ * console.log(data) // => hello!
557
+ * } catch (err) {
558
+ * console.error(err)
559
+ * }
560
+ * }
561
+ *
562
+ * asyncAwait()
404
563
  */
405
- export function unlink(path: PathLike, callback: (err: NodeJS.ErrnoException) => void): void;
406
- export function unlink(path: PathLike): Promise<void>;
407
-
408
- export function utimes(
409
- path: PathLike,
410
- atime: number,
411
- mtime: number,
412
- callback: (err: NodeJS.ErrnoException) => void,
413
- ): void;
414
- export function utimes(path: PathLike, atime: Date, mtime: Date, callback: (err: NodeJS.ErrnoException) => void): void;
415
- export function utimes(path: PathLike, atime: number, mtime: number): Promise<void>;
416
- export function utimes(path: PathLike, atime: Date, mtime: Date): Promise<void>;
417
-
418
- export function write<TBuffer extends ArrayBufferView>(
419
- fd: number,
420
- buffer: TBuffer,
421
- offset: number,
422
- length: number,
423
- position: number | null,
424
- callback: (err: NodeJS.ErrnoException, written: number, buffer: TBuffer) => void,
425
- ): void;
426
- export function write<TBuffer extends ArrayBufferView>(
427
- fd: number,
428
- buffer: TBuffer,
429
- offset: number,
430
- length: number,
431
- callback: (err: NodeJS.ErrnoException, written: number, buffer: TBuffer) => void,
432
- ): void;
433
- export function write(
434
- fd: number,
435
- data: any,
436
- callback: (err: NodeJS.ErrnoException, written: number, str: string) => void,
437
- ): void;
438
- export function write(
439
- fd: number,
440
- data: any,
441
- offset: number,
442
- callback: (err: NodeJS.ErrnoException, written: number, str: string) => void,
443
- ): void;
444
- export function write(
445
- fd: number,
446
- data: any,
447
- offset: number,
448
- encoding: BufferEncoding | string,
449
- callback: (err: NodeJS.ErrnoException, written: number, str: string) => void,
450
- ): void;
451
- export function write<TBuffer extends ArrayBufferView>(
452
- fd: number,
453
- buffer: TBuffer,
454
- offset?: number,
455
- length?: number,
456
- position?: number | null,
457
- ): Promise<{ bytesWritten: number; buffer: TBuffer }>;
458
- export function write(
459
- fd: number,
460
- data: any,
461
- offset?: number,
462
- encoding?: BufferEncoding | string,
463
- ): Promise<{ bytesWritten: number; buffer: string }>;
464
-
465
- export function writeFile(file: PathLike | number, data: any, callback: (err: NodeJS.ErrnoException) => void): void;
466
- export function writeFile(
467
- file: PathLike | number,
468
- data: any,
469
- options?: WriteFileOptions | BufferEncoding | string,
564
+ declare function outputFile(
565
+ file: string,
566
+ data: string | NodeJS.ArrayBufferView,
567
+ options?: fs.WriteFileOptions,
470
568
  ): Promise<void>;
471
- export function writeFile(
472
- file: PathLike | number,
473
- data: any,
474
- options: WriteFileOptions | BufferEncoding | string,
475
- callback: (err: NodeJS.ErrnoException) => void,
476
- ): void;
477
-
478
- export function writev(
479
- fd: number,
480
- buffers: NodeJS.ArrayBufferView[],
481
- position: number,
482
- cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void,
569
+ declare function outputFile(file: string, data: string | NodeJS.ArrayBufferView, callback: fs.NoParamCallback): void;
570
+ declare function outputFile(
571
+ file: string,
572
+ data: string | NodeJS.ArrayBufferView,
573
+ options: fs.WriteFileOptions,
574
+ callback: fs.NoParamCallback,
483
575
  ): void;
484
- export function writev(
485
- fd: number,
486
- buffers: NodeJS.ArrayBufferView[],
487
- cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void,
576
+ /**
577
+ * Almost the same as `writeFileSync` (i.e. it overwrites), except that if the parent directory
578
+ * does not exist, it's created.
579
+ *
580
+ * @example
581
+ * import * as fs from 'fs-extra'
582
+ *
583
+ * const file = '/tmp/this/path/does/not/exist/file.txt'
584
+ * fs.outputFileSync(file, 'hello!')
585
+ *
586
+ * const data = fs.readFileSync(file, 'utf8')
587
+ * console.log(data) // => hello!
588
+ */
589
+ declare function outputFileSync(
590
+ file: string,
591
+ data: string | NodeJS.ArrayBufferView,
592
+ options?: fs.WriteFileOptions,
488
593
  ): void;
489
- export function writev(fd: number, buffers: NodeJS.ArrayBufferView[], position?: number): Promise<WritevResult>;
490
594
 
491
595
  /**
492
- * Asynchronous mkdtemp - Creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
596
+ * Reads a JSON file and then parses it into an object.
493
597
  *
494
- * @param callback The created folder path is passed as a string to the callback's second parameter.
598
+ * @example
599
+ * import * as fs from 'fs-extra'
600
+ *
601
+ * // With a callback:
602
+ * fs.readJson('./package.json', (err, packageObj) => {
603
+ * if (err) console.error(err)
604
+ * console.log(packageObj.version) // => 0.1.3
605
+ * })
606
+ *
607
+ * // With Promises:
608
+ * fs.readJson('./package.json')
609
+ * .then(packageObj => {
610
+ * console.log(packageObj.version) // => 0.1.3
611
+ * })
612
+ * .catch(err => {
613
+ * console.error(err)
614
+ * })
615
+ *
616
+ * // With async/await:
617
+ * async function asyncAwait () {
618
+ * try {
619
+ * const packageObj = await fs.readJson('./package.json')
620
+ * console.log(packageObj.version) // => 0.1.3
621
+ * } catch (err) {
622
+ * console.error(err)
623
+ * }
624
+ * }
625
+ *
626
+ * asyncAwait()
627
+ *
628
+ * // `readJsonSync()` can take a `throws` option set to `false` and it won't throw if the JSON is invalid. Example:
629
+ * const file = '/tmp/some-invalid.json'
630
+ * const data = '{not valid JSON'
631
+ * fs.writeFileSync(file, data)
632
+ *
633
+ * // With a callback:
634
+ * fs.readJson(file, { throws: false }, (err, obj) => {
635
+ * if (err) console.error(err)
636
+ * console.log(obj) // => null
637
+ * })
638
+ *
639
+ * // With Promises:
640
+ * fs.readJson(file, { throws: false })
641
+ * .then(obj => {
642
+ * console.log(obj) // => null
643
+ * })
644
+ * .catch(err => {
645
+ * console.error(err) // Not called
646
+ * })
647
+ *
648
+ * // With async/await:
649
+ * async function asyncAwaitThrows () {
650
+ * const obj = await fs.readJson(file, { throws: false })
651
+ * console.log(obj) // => null
652
+ * }
653
+ *
654
+ * asyncAwaitThrows()
495
655
  */
496
- export function mkdtemp(prefix: string): Promise<string>;
497
- export function mkdtemp(prefix: string, callback: (err: NodeJS.ErrnoException, folder: string) => void): void;
498
-
499
- export interface PathEntry {
500
- path: string;
501
- stats: Stats;
502
- }
503
-
504
- export interface PathEntryStream {
505
- read(): PathEntry | null;
506
- }
656
+ declare const readJson: typeof readFile$1;
657
+ /**
658
+ * @see readJson
659
+ */
660
+ declare const readJSON: typeof readFile$1;
661
+ /**
662
+ * Reads a JSON file and then parses it into an object.
663
+ *
664
+ * @example
665
+ * import * as fs from 'fs-extra'
666
+ *
667
+ * const packageObj = fs.readJsonSync('./package.json')
668
+ * console.log(packageObj.version) // => 2.0.0
669
+ *
670
+ * // `readJsonSync()` can take a `throws` option set to `false` and it won't throw if the JSON is invalid. Example:
671
+ * const file = '/tmp/some-invalid.json'
672
+ * const data = '{not valid JSON'
673
+ * fs.writeFileSync(file, data)
674
+ *
675
+ * const obj = fs.readJsonSync(file, { throws: false })
676
+ * console.log(obj) // => null
677
+ */
678
+ declare const readJsonSync: typeof readFileSync;
679
+ /**
680
+ * @see readJsonSync
681
+ */
682
+ declare const readJSONSync: typeof readFileSync;
507
683
 
508
- export type CopyFilterSync = (src: string, dest: string) => boolean;
509
- export type CopyFilterAsync = (src: string, dest: string) => Promise<boolean>;
684
+ /**
685
+ * Writes an object to a JSON file.
686
+ *
687
+ * @example
688
+ * import * as fs from 'fs-extra'
689
+ *
690
+ * // With a callback:
691
+ * fs.writeJson('./package.json', {name: 'fs-extra'}, err => {
692
+ * if (err) return console.error(err)
693
+ * console.log('success!')
694
+ * })
695
+ *
696
+ * // With Promises:
697
+ * fs.writeJson('./package.json', {name: 'fs-extra'})
698
+ * .then(() => {
699
+ * console.log('success!')
700
+ * })
701
+ * .catch(err => {
702
+ * console.error(err)
703
+ * })
704
+ *
705
+ * // With async/await:
706
+ * async function asyncAwait () {
707
+ * try {
708
+ * await fs.writeJson('./package.json', {name: 'fs-extra'})
709
+ * console.log('success!')
710
+ * } catch (err) {
711
+ * console.error(err)
712
+ * }
713
+ * }
714
+ *
715
+ * asyncAwait()
716
+ */
717
+ declare const writeJson: typeof writeFile$1;
718
+ /**
719
+ * @see writeJson
720
+ */
721
+ declare const writeJSON: typeof writeFile$1;
722
+ /**
723
+ * Writes an object to a JSON file.
724
+ *
725
+ * @example
726
+ * import * as fs from 'fs-extra'
727
+ *
728
+ * fs.writeJsonSync('./package.json', {name: 'fs-extra'})
729
+ */
730
+ declare const writeJsonSync: typeof writeFileSync;
731
+ /**
732
+ * @see writeJsonSync
733
+ */
734
+ declare const writeJSONSync: typeof writeFileSync;
510
735
 
511
- export type SymlinkType = 'dir' | 'file' | 'junction';
736
+ /**
737
+ * Almost the same as `writeJson`, except that if the directory does not exist, it's created.
738
+ *
739
+ * @example
740
+ * import * as fs from 'fs-extra'
741
+ *
742
+ * const file = '/tmp/this/path/does/not/exist/file.json'
743
+ *
744
+ * // With a callback:
745
+ * fs.outputJson(file, {name: 'JP'}, err => {
746
+ * console.log(err) // => null
747
+ *
748
+ * fs.readJson(file, (err, data) => {
749
+ * if (err) return console.error(err)
750
+ * console.log(data.name) // => JP
751
+ * })
752
+ * })
753
+ *
754
+ * // With Promises:
755
+ * fs.outputJson(file, {name: 'JP'})
756
+ * .then(() => fs.readJson(file))
757
+ * .then(data => {
758
+ * console.log(data.name) // => JP
759
+ * })
760
+ * .catch(err => {
761
+ * console.error(err)
762
+ * })
763
+ *
764
+ * // With async/await:
765
+ * async function asyncAwait () {
766
+ * try {
767
+ * await fs.outputJson(file, {name: 'JP'})
768
+ *
769
+ * const data = await fs.readJson(file)
770
+ *
771
+ * console.log(data.name) // => JP
772
+ * } catch (err) {
773
+ * console.error(err)
774
+ * }
775
+ * }
776
+ *
777
+ * asyncAwait()
778
+ */
779
+ declare function outputJson(file: string, data: any, options?: JsonOutputOptions): Promise<void>;
780
+ declare function outputJson(file: string, data: any, options: JsonOutputOptions, callback: fs.NoParamCallback): void;
781
+ declare function outputJson(file: string, data: any, callback: fs.NoParamCallback): void;
782
+ /**
783
+ * @see outputJson
784
+ */
785
+ declare const outputJSON: typeof outputJson;
786
+ /**
787
+ * Almost the same as `writeJsonSync`, except that if the directory does not exist, it's created.
788
+ *
789
+ * @example
790
+ * import * as fs from 'fs-extra'
791
+ *
792
+ * const file = '/tmp/this/path/does/not/exist/file.json'
793
+ * fs.outputJsonSync(file, {name: 'JP'})
794
+ *
795
+ * const data = fs.readJsonSync(file)
796
+ * console.log(data.name) // => JP
797
+ */
798
+ declare function outputJsonSync(file: string, data: any, options?: JsonOutputOptions): void;
799
+ /**
800
+ * @see outputJsonSync
801
+ */
802
+ declare const outputJSONSync: typeof outputJsonSync;
512
803
 
513
- export type Mode = string | number;
804
+ /**
805
+ * Removes a file or directory. The directory can have contents. If the path does not exist, silently does nothing.
806
+ *
807
+ * @example
808
+ * import * as fs from 'fs-extra'
809
+ *
810
+ * // remove file
811
+ * // With a callback:
812
+ * fs.remove('/tmp/myfile', err => {
813
+ * if (err) return console.error(err)
814
+ * console.log('success!')
815
+ * })
816
+ *
817
+ * fs.remove('/home/jprichardson', err => {
818
+ * if (err) return console.error(err)
819
+ * console.log('success!') // I just deleted my entire HOME directory.
820
+ * })
821
+ *
822
+ * // With Promises:
823
+ * fs.remove('/tmp/myfile')
824
+ * .then(() => {
825
+ * console.log('success!')
826
+ * })
827
+ * .catch(err => {
828
+ * console.error(err)
829
+ * })
830
+ *
831
+ * // With async/await:
832
+ * async function asyncAwait () {
833
+ * try {
834
+ * await fs.remove('/tmp/myfile')
835
+ * console.log('success!')
836
+ * } catch (err) {
837
+ * console.error(err)
838
+ * }
839
+ * }
840
+ *
841
+ * asyncAwait()
842
+ */
843
+ declare function remove(dir: string): Promise<void>;
844
+ declare function remove(dir: string, callback: fs.NoParamCallback): void;
845
+ /**
846
+ * Removes a file or directory. The directory can have contents. If the path does not exist, silently does nothing.
847
+ *
848
+ * @example
849
+ * import * as fs from 'fs-extra'
850
+ *
851
+ * // remove file
852
+ * fs.removeSync('/tmp/myfile')
853
+ *
854
+ * fs.removeSync('/home/jprichardson') // I just deleted my entire HOME directory.
855
+ */
856
+ declare function removeSync(dir: string): void;
514
857
 
515
- export type ArrayBufferView = NodeJS.TypedArray | DataView;
858
+ /**
859
+ * Ensures that a directory is empty. Deletes directory contents if the directory is not empty.
860
+ * If the directory does not exist, it is created. The directory itself is not deleted.
861
+ *
862
+ * @example
863
+ * import * as fs from 'fs-extra'
864
+ *
865
+ * // assume this directory has a lot of files and folders
866
+ * // With a callback:
867
+ * fs.emptyDir('/tmp/some/dir', err => {
868
+ * if (err) return console.error(err)
869
+ * console.log('success!')
870
+ * })
871
+ *
872
+ * // With Promises:
873
+ * fs.emptyDir('/tmp/some/dir')
874
+ * .then(() => {
875
+ * console.log('success!')
876
+ * })
877
+ * .catch(err => {
878
+ * console.error(err)
879
+ * })
880
+ *
881
+ * // With async/await:
882
+ * async function asyncAwait () {
883
+ * try {
884
+ * await fs.emptyDir('/tmp/some/dir')
885
+ * console.log('success!')
886
+ * } catch (err) {
887
+ * console.error(err)
888
+ * }
889
+ * }
890
+ *
891
+ * asyncAwait()
892
+ */
893
+ declare function emptyDir(path: string): Promise<void>;
894
+ declare function emptyDir(path: string, callback: fs.NoParamCallback): void;
895
+ /**
896
+ * @see emptyDir
897
+ */
898
+ declare const emptydir: typeof emptyDir;
899
+ /**
900
+ * Ensures that a directory is empty. Deletes directory contents if the directory is not empty.
901
+ * If the directory does not exist, it is created. The directory itself is not deleted.
902
+ *
903
+ * @example
904
+ * import * as fs from 'fs-extra'
905
+ *
906
+ * // assume this directory has a lot of files and folders
907
+ * fs.emptyDirSync('/tmp/some/dir')
908
+ */
909
+ declare function emptyDirSync(path: string): void;
910
+ /**
911
+ * @see emptyDirSync
912
+ */
913
+ declare const emptydirSync: typeof emptyDirSync;
516
914
 
517
- export interface CopyOptions {
915
+ /**
916
+ * Test whether or not the given path exists by checking with the file system. Like
917
+ * [`fs.exists`](https://nodejs.org/api/fs.html#fs_fs_exists_path_callback), but with a normal
918
+ * callback signature (err, exists). Uses `fs.access` under the hood.
919
+ *
920
+ * @example
921
+ * import * as fs from 'fs-extra'
922
+ *
923
+ * const file = '/tmp/this/path/does/not/exist/file.txt'
924
+ *
925
+ * // With a callback:
926
+ * fs.pathExists(file, (err, exists) => {
927
+ * console.log(err) // => null
928
+ * console.log(exists) // => false
929
+ * })
930
+ *
931
+ * // Promise usage:
932
+ * fs.pathExists(file)
933
+ * .then(exists => console.log(exists)) // => false
934
+ *
935
+ * // With async/await:
936
+ * async function asyncAwait () {
937
+ * const exists = await fs.pathExists(file)
938
+ *
939
+ * console.log(exists) // => false
940
+ * }
941
+ *
942
+ * asyncAwait()
943
+ */
944
+ declare function pathExists(path: string): Promise<boolean>;
945
+ declare function pathExists(path: string, callback: (err: NodeJS.ErrnoException | null, exists: boolean) => void): void;
946
+ /**
947
+ * An alias for [`fs.existsSync`](https://nodejs.org/api/fs.html#fs_fs_existssync_path), created for
948
+ * consistency with `pathExists`.
949
+ */
950
+ declare function pathExistsSync(path: string): boolean;
951
+
952
+ declare const access: typeof fs.access.__promisify__ & typeof fs.access;
953
+ declare const appendFile: typeof fs.appendFile.__promisify__ & typeof fs.appendFile;
954
+ declare const chmod: typeof fs.chmod.__promisify__ & typeof fs.chmod;
955
+ declare const chown: typeof fs.chown.__promisify__ & typeof fs.chown;
956
+ declare const close: typeof fs.close.__promisify__ & typeof fs.close;
957
+ declare const copyFile: typeof fs.copyFile.__promisify__ & typeof fs.copyFile;
958
+ declare const exists: typeof fs.exists.__promisify__ & typeof fs.exists;
959
+ declare const fchmod: typeof fs.fchmod.__promisify__ & typeof fs.fchmod;
960
+ declare const fchown: typeof fs.fchown.__promisify__ & typeof fs.fchown;
961
+ declare const fdatasync: typeof fs.fdatasync.__promisify__ & typeof fs.fdatasync;
962
+ declare const fstat: typeof fs.fstat.__promisify__ & typeof fs.fstat;
963
+ declare const fsync: typeof fs.fsync.__promisify__ & typeof fs.fsync;
964
+ declare const ftruncate: typeof fs.ftruncate.__promisify__ & typeof fs.ftruncate;
965
+ declare const futimes: typeof fs.futimes.__promisify__ & typeof fs.futimes;
966
+ declare const lchmod: typeof fs.lchmod.__promisify__ & typeof fs.lchmod;
967
+ declare const lchown: typeof fs.lchown.__promisify__ & typeof fs.lchown;
968
+ declare const link: typeof fs.link.__promisify__ & typeof fs.link;
969
+ declare const lstat: typeof fs.lstat.__promisify__ & typeof fs.lstat;
970
+ declare const mkdir: typeof fs.mkdir.__promisify__ & typeof fs.mkdir;
971
+ declare const mkdtemp: typeof fs.mkdtemp.__promisify__ & typeof fs.mkdtemp;
972
+ declare const open: typeof fs.open.__promisify__ & typeof fs.open;
973
+ declare const opendir: typeof fs.opendir.__promisify__ & typeof fs.opendir;
974
+ declare const read: typeof fs.read.__promisify__ & typeof fs.read;
975
+ declare const readv: typeof fs.readv.__promisify__ & typeof fs.readv;
976
+ declare const readdir: typeof fs.readdir.__promisify__ & typeof fs.readdir;
977
+ declare const readFile: typeof fs.readFile.__promisify__ & typeof fs.readFile;
978
+ declare const readlink: typeof fs.readlink.__promisify__ & typeof fs.readlink;
979
+ declare const realpath:
980
+ & typeof fs.realpath.__promisify__
981
+ & typeof fs.realpath
982
+ & {
983
+ native(path: fs.PathLike, options?: fs.EncodingOption): Promise<string>;
984
+ native(path: fs.PathLike, options: fs.BufferEncodingOption): Promise<Buffer>;
985
+ };
986
+ declare const rename: typeof fs.rename.__promisify__ & typeof fs.rename;
987
+ declare const rm: typeof fs.rm.__promisify__ & typeof fs.rm;
988
+ declare const rmdir: typeof fs.rmdir.__promisify__ & typeof fs.rmdir;
989
+ declare const stat: typeof fs.stat.__promisify__ & typeof fs.stat;
990
+ declare const symlink: typeof fs.symlink.__promisify__ & typeof fs.symlink;
991
+ declare const truncate: typeof fs.truncate.__promisify__ & typeof fs.truncate;
992
+ declare const unlink: typeof fs.unlink.__promisify__ & typeof fs.unlink;
993
+ declare const utimes: typeof fs.utimes.__promisify__ & typeof fs.utimes;
994
+ declare const write: typeof fs.write.__promisify__ & typeof fs.write;
995
+ declare const writev: typeof fs.writev.__promisify__ & typeof fs.writev;
996
+ declare const writeFile: typeof fs.writeFile.__promisify__ & typeof fs.writeFile;
997
+
998
+ type NoParamCallbackWithUndefined = (err: NodeJS.ErrnoException | null | undefined) => void;
999
+
1000
+ type SymlinkType = fs.symlink.Type;
1001
+
1002
+ type CopyFilterSync = (src: string, dest: string) => boolean;
1003
+ type CopyFilterAsync = (src: string, dest: string) => Promise<boolean>;
1004
+
1005
+ interface CopyOptions {
1006
+ /**
1007
+ * Dereference symlinks.
1008
+ * @default false
1009
+ */
518
1010
  dereference?: boolean | undefined;
1011
+ /**
1012
+ * Overwrite existing file or directory.
1013
+ * _Note that the copy operation will silently fail if you set this to `false` and the destination exists._
1014
+ * Use the `errorOnExist` option to change this behavior.
1015
+ * @default true
1016
+ */
519
1017
  overwrite?: boolean | undefined;
1018
+ /**
1019
+ * When `true`, will set last modification and access times to the ones of the original source files.
1020
+ * When `false`, timestamp behavior is OS-dependent.
1021
+ * @default false
1022
+ */
520
1023
  preserveTimestamps?: boolean | undefined;
1024
+ /**
1025
+ * When `overwrite` is `false` and the destination exists, throw an error.
1026
+ * @default false
1027
+ */
521
1028
  errorOnExist?: boolean | undefined;
1029
+ /**
1030
+ * Function to filter copied files/directories. Return `true` to copy the item, `false` to ignore it.
1031
+ * Can also return a `Promise` that resolves to `true` or `false` (or pass in an `async` function).
1032
+ */
522
1033
  filter?: CopyFilterSync | CopyFilterAsync | undefined;
523
- recursive?: boolean | undefined;
524
1034
  }
525
1035
 
526
- export interface CopyOptionsSync extends CopyOptions {
1036
+ interface CopyOptionsSync extends CopyOptions {
1037
+ /**
1038
+ * Function to filter copied files/directories. Return `true` to copy the item, `false` to ignore it.
1039
+ */
527
1040
  filter?: CopyFilterSync | undefined;
528
1041
  }
529
1042
 
530
- export interface EnsureOptions {
1043
+ interface EnsureDirOptions {
531
1044
  mode?: number | undefined;
532
1045
  }
533
1046
 
534
- export interface MoveOptions {
1047
+ interface MoveOptions {
1048
+ /**
1049
+ * Overwrite existing file or directory.
1050
+ * @default false
1051
+ */
535
1052
  overwrite?: boolean | undefined;
536
- limit?: number | undefined;
537
- }
538
-
539
- export interface ReadOptions {
540
- throws?: boolean | undefined;
541
- fs?: object | undefined;
542
- reviver?: any;
543
- encoding?: BufferEncoding | string | undefined;
544
- flag?: string | undefined;
1053
+ /**
1054
+ * Dereference symlinks.
1055
+ * @default false
1056
+ */
1057
+ dereference?: boolean | undefined;
545
1058
  }
546
1059
 
547
- export interface WriteFileOptions {
548
- encoding?: BufferEncoding | string | null | undefined;
549
- flag?: string | undefined;
550
- mode?: number | undefined;
551
- }
552
1060
 
553
- export interface WriteOptions extends WriteFileOptions {
554
- fs?: object | undefined;
555
- replacer?: any;
556
- spaces?: number | string | undefined;
557
- EOL?: string | undefined;
558
- }
1061
+ type JsonOutputOptions = fs.WriteFileOptions & StringifyOptions;
559
1062
 
560
- export interface WritevResult {
561
- bytesWritten: number;
562
- buffers: ArrayBufferView[];
563
- }
1063
+ export { access, appendFile, chmod, chown, close, copy, copyFile, copySync, createFile, createFileSync, createLink, createLinkSync, createSymlink, createSymlinkSync, emptyDir, emptyDirSync, emptydir, emptydirSync, ensureDir, ensureDirSync, ensureFile, ensureFileSync, ensureLink, ensureLinkSync, ensureSymlink, ensureSymlinkSync, exists, fchmod, fchown, fdatasync, fstat, fsync, ftruncate, futimes, lchmod, lchown, link, lstat, mkdir, mkdirp, mkdirpSync, mkdirs, mkdirsSync, mkdtemp, move, moveSync, open, opendir, outputFile, outputFileSync, outputJSON, outputJSONSync, outputJson, outputJsonSync, pathExists, pathExistsSync, read, readFile, readJSON, readJSONSync, readJson, readJsonSync, readdir, readlink, readv, realpath, remove, removeSync, rename, rm, rmdir, stat, symlink, truncate, unlink, utimes, write, writeFile, writeJSON, writeJSONSync, writeJson, writeJsonSync, writev };
1064
+ export type { CopyFilterAsync, CopyFilterSync, CopyOptions, CopyOptionsSync, EnsureDirOptions, JsonOutputOptions, JFReadOptions as JsonReadOptions, JFWriteOptions as JsonWriteOptions, MoveOptions, NoParamCallbackWithUndefined, SymlinkType };