korext 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (517) hide show
  1. package/bin/korext.js +278 -0
  2. package/korext-cli-0.1.0.tgz +0 -0
  3. package/node_modules/ansi-regex/index.d.ts +37 -0
  4. package/node_modules/ansi-regex/index.js +10 -0
  5. package/node_modules/ansi-regex/license +9 -0
  6. package/node_modules/ansi-regex/package.json +55 -0
  7. package/node_modules/ansi-regex/readme.md +78 -0
  8. package/node_modules/ansi-styles/index.d.ts +345 -0
  9. package/node_modules/ansi-styles/index.js +163 -0
  10. package/node_modules/ansi-styles/license +9 -0
  11. package/node_modules/ansi-styles/package.json +56 -0
  12. package/node_modules/ansi-styles/readme.md +152 -0
  13. package/node_modules/balanced-match/LICENSE.md +23 -0
  14. package/node_modules/balanced-match/README.md +57 -0
  15. package/node_modules/balanced-match/dist/commonjs/index.d.ts +9 -0
  16. package/node_modules/balanced-match/dist/commonjs/index.d.ts.map +1 -0
  17. package/node_modules/balanced-match/dist/commonjs/index.js +59 -0
  18. package/node_modules/balanced-match/dist/commonjs/index.js.map +1 -0
  19. package/node_modules/balanced-match/dist/commonjs/package.json +3 -0
  20. package/node_modules/balanced-match/dist/esm/index.d.ts +9 -0
  21. package/node_modules/balanced-match/dist/esm/index.d.ts.map +1 -0
  22. package/node_modules/balanced-match/dist/esm/index.js +54 -0
  23. package/node_modules/balanced-match/dist/esm/index.js.map +1 -0
  24. package/node_modules/balanced-match/dist/esm/package.json +3 -0
  25. package/node_modules/balanced-match/package.json +68 -0
  26. package/node_modules/base64-js/LICENSE +21 -0
  27. package/node_modules/base64-js/README.md +34 -0
  28. package/node_modules/base64-js/base64js.min.js +1 -0
  29. package/node_modules/base64-js/index.d.ts +3 -0
  30. package/node_modules/base64-js/index.js +150 -0
  31. package/node_modules/base64-js/package.json +47 -0
  32. package/node_modules/bl/.travis.yml +17 -0
  33. package/node_modules/bl/BufferList.js +396 -0
  34. package/node_modules/bl/LICENSE.md +13 -0
  35. package/node_modules/bl/README.md +247 -0
  36. package/node_modules/bl/bl.js +84 -0
  37. package/node_modules/bl/package.json +37 -0
  38. package/node_modules/bl/test/convert.js +21 -0
  39. package/node_modules/bl/test/indexOf.js +492 -0
  40. package/node_modules/bl/test/isBufferList.js +32 -0
  41. package/node_modules/bl/test/test.js +869 -0
  42. package/node_modules/brace-expansion/LICENSE +23 -0
  43. package/node_modules/brace-expansion/README.md +94 -0
  44. package/node_modules/brace-expansion/dist/commonjs/index.d.ts +6 -0
  45. package/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +1 -0
  46. package/node_modules/brace-expansion/dist/commonjs/index.js +199 -0
  47. package/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -0
  48. package/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
  49. package/node_modules/brace-expansion/dist/esm/index.d.ts +6 -0
  50. package/node_modules/brace-expansion/dist/esm/index.d.ts.map +1 -0
  51. package/node_modules/brace-expansion/dist/esm/index.js +195 -0
  52. package/node_modules/brace-expansion/dist/esm/index.js.map +1 -0
  53. package/node_modules/brace-expansion/dist/esm/package.json +3 -0
  54. package/node_modules/brace-expansion/package.json +64 -0
  55. package/node_modules/buffer/AUTHORS.md +70 -0
  56. package/node_modules/buffer/LICENSE +21 -0
  57. package/node_modules/buffer/README.md +410 -0
  58. package/node_modules/buffer/index.d.ts +186 -0
  59. package/node_modules/buffer/index.js +1817 -0
  60. package/node_modules/buffer/package.json +96 -0
  61. package/node_modules/chalk/index.d.ts +415 -0
  62. package/node_modules/chalk/license +9 -0
  63. package/node_modules/chalk/package.json +68 -0
  64. package/node_modules/chalk/readme.md +341 -0
  65. package/node_modules/chalk/source/index.js +229 -0
  66. package/node_modules/chalk/source/templates.js +134 -0
  67. package/node_modules/chalk/source/util.js +39 -0
  68. package/node_modules/cli-cursor/index.d.ts +45 -0
  69. package/node_modules/cli-cursor/index.js +35 -0
  70. package/node_modules/cli-cursor/license +9 -0
  71. package/node_modules/cli-cursor/package.json +46 -0
  72. package/node_modules/cli-cursor/readme.md +55 -0
  73. package/node_modules/cli-spinners/index.d.ts +128 -0
  74. package/node_modules/cli-spinners/index.js +15 -0
  75. package/node_modules/cli-spinners/license +9 -0
  76. package/node_modules/cli-spinners/package.json +50 -0
  77. package/node_modules/cli-spinners/readme.md +54 -0
  78. package/node_modules/cli-spinners/spinners.json +1622 -0
  79. package/node_modules/clone/.npmignore +4 -0
  80. package/node_modules/clone/LICENSE +18 -0
  81. package/node_modules/clone/README.md +126 -0
  82. package/node_modules/clone/clone.iml +10 -0
  83. package/node_modules/clone/clone.js +166 -0
  84. package/node_modules/clone/package.json +51 -0
  85. package/node_modules/color-convert/CHANGELOG.md +54 -0
  86. package/node_modules/color-convert/LICENSE +21 -0
  87. package/node_modules/color-convert/README.md +68 -0
  88. package/node_modules/color-convert/conversions.js +839 -0
  89. package/node_modules/color-convert/index.js +81 -0
  90. package/node_modules/color-convert/package.json +48 -0
  91. package/node_modules/color-convert/route.js +97 -0
  92. package/node_modules/color-name/LICENSE +8 -0
  93. package/node_modules/color-name/README.md +11 -0
  94. package/node_modules/color-name/index.js +152 -0
  95. package/node_modules/color-name/package.json +28 -0
  96. package/node_modules/commander/LICENSE +22 -0
  97. package/node_modules/commander/Readme.md +1176 -0
  98. package/node_modules/commander/esm.mjs +16 -0
  99. package/node_modules/commander/index.js +24 -0
  100. package/node_modules/commander/lib/argument.js +150 -0
  101. package/node_modules/commander/lib/command.js +2777 -0
  102. package/node_modules/commander/lib/error.js +39 -0
  103. package/node_modules/commander/lib/help.js +747 -0
  104. package/node_modules/commander/lib/option.js +380 -0
  105. package/node_modules/commander/lib/suggestSimilar.js +101 -0
  106. package/node_modules/commander/package-support.json +19 -0
  107. package/node_modules/commander/package.json +82 -0
  108. package/node_modules/commander/typings/esm.d.mts +3 -0
  109. package/node_modules/commander/typings/index.d.ts +1113 -0
  110. package/node_modules/data-uri-to-buffer/README.md +88 -0
  111. package/node_modules/data-uri-to-buffer/dist/index.d.ts +15 -0
  112. package/node_modules/data-uri-to-buffer/dist/index.js +53 -0
  113. package/node_modules/data-uri-to-buffer/dist/index.js.map +1 -0
  114. package/node_modules/data-uri-to-buffer/package.json +62 -0
  115. package/node_modules/data-uri-to-buffer/src/index.ts +68 -0
  116. package/node_modules/defaults/LICENSE +22 -0
  117. package/node_modules/defaults/README.md +39 -0
  118. package/node_modules/defaults/index.js +13 -0
  119. package/node_modules/defaults/package.json +33 -0
  120. package/node_modules/defaults/test.js +34 -0
  121. package/node_modules/fetch-blob/LICENSE +21 -0
  122. package/node_modules/fetch-blob/README.md +106 -0
  123. package/node_modules/fetch-blob/file.d.ts +2 -0
  124. package/node_modules/fetch-blob/file.js +49 -0
  125. package/node_modules/fetch-blob/from.d.ts +26 -0
  126. package/node_modules/fetch-blob/from.js +100 -0
  127. package/node_modules/fetch-blob/index.d.ts +3 -0
  128. package/node_modules/fetch-blob/index.js +250 -0
  129. package/node_modules/fetch-blob/package.json +56 -0
  130. package/node_modules/fetch-blob/streams.cjs +51 -0
  131. package/node_modules/formdata-polyfill/FormData.js +441 -0
  132. package/node_modules/formdata-polyfill/LICENSE +21 -0
  133. package/node_modules/formdata-polyfill/README.md +145 -0
  134. package/node_modules/formdata-polyfill/esm.min.d.ts +5 -0
  135. package/node_modules/formdata-polyfill/esm.min.js +40 -0
  136. package/node_modules/formdata-polyfill/formdata-to-blob.js +39 -0
  137. package/node_modules/formdata-polyfill/formdata.min.js +21 -0
  138. package/node_modules/formdata-polyfill/package.json +50 -0
  139. package/node_modules/glob/LICENSE.md +63 -0
  140. package/node_modules/glob/README.md +1203 -0
  141. package/node_modules/glob/dist/commonjs/glob.d.ts +396 -0
  142. package/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
  143. package/node_modules/glob/dist/commonjs/glob.js +248 -0
  144. package/node_modules/glob/dist/commonjs/glob.js.map +1 -0
  145. package/node_modules/glob/dist/commonjs/has-magic.d.ts +14 -0
  146. package/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
  147. package/node_modules/glob/dist/commonjs/has-magic.js +27 -0
  148. package/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
  149. package/node_modules/glob/dist/commonjs/ignore.d.ts +24 -0
  150. package/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
  151. package/node_modules/glob/dist/commonjs/ignore.js +119 -0
  152. package/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
  153. package/node_modules/glob/dist/commonjs/index.d.ts +97 -0
  154. package/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
  155. package/node_modules/glob/dist/commonjs/index.js +68 -0
  156. package/node_modules/glob/dist/commonjs/index.js.map +1 -0
  157. package/node_modules/glob/dist/commonjs/index.min.js +4 -0
  158. package/node_modules/glob/dist/commonjs/index.min.js.map +7 -0
  159. package/node_modules/glob/dist/commonjs/package.json +3 -0
  160. package/node_modules/glob/dist/commonjs/pattern.d.ts +79 -0
  161. package/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
  162. package/node_modules/glob/dist/commonjs/pattern.js +223 -0
  163. package/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
  164. package/node_modules/glob/dist/commonjs/processor.d.ts +59 -0
  165. package/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
  166. package/node_modules/glob/dist/commonjs/processor.js +301 -0
  167. package/node_modules/glob/dist/commonjs/processor.js.map +1 -0
  168. package/node_modules/glob/dist/commonjs/walker.d.ts +97 -0
  169. package/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
  170. package/node_modules/glob/dist/commonjs/walker.js +387 -0
  171. package/node_modules/glob/dist/commonjs/walker.js.map +1 -0
  172. package/node_modules/glob/dist/esm/glob.d.ts +396 -0
  173. package/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
  174. package/node_modules/glob/dist/esm/glob.js +244 -0
  175. package/node_modules/glob/dist/esm/glob.js.map +1 -0
  176. package/node_modules/glob/dist/esm/has-magic.d.ts +14 -0
  177. package/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
  178. package/node_modules/glob/dist/esm/has-magic.js +23 -0
  179. package/node_modules/glob/dist/esm/has-magic.js.map +1 -0
  180. package/node_modules/glob/dist/esm/ignore.d.ts +24 -0
  181. package/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
  182. package/node_modules/glob/dist/esm/ignore.js +115 -0
  183. package/node_modules/glob/dist/esm/ignore.js.map +1 -0
  184. package/node_modules/glob/dist/esm/index.d.ts +97 -0
  185. package/node_modules/glob/dist/esm/index.d.ts.map +1 -0
  186. package/node_modules/glob/dist/esm/index.js +55 -0
  187. package/node_modules/glob/dist/esm/index.js.map +1 -0
  188. package/node_modules/glob/dist/esm/index.min.js +4 -0
  189. package/node_modules/glob/dist/esm/index.min.js.map +7 -0
  190. package/node_modules/glob/dist/esm/package.json +3 -0
  191. package/node_modules/glob/dist/esm/pattern.d.ts +79 -0
  192. package/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
  193. package/node_modules/glob/dist/esm/pattern.js +219 -0
  194. package/node_modules/glob/dist/esm/pattern.js.map +1 -0
  195. package/node_modules/glob/dist/esm/processor.d.ts +59 -0
  196. package/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
  197. package/node_modules/glob/dist/esm/processor.js +294 -0
  198. package/node_modules/glob/dist/esm/processor.js.map +1 -0
  199. package/node_modules/glob/dist/esm/walker.d.ts +97 -0
  200. package/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
  201. package/node_modules/glob/dist/esm/walker.js +381 -0
  202. package/node_modules/glob/dist/esm/walker.js.map +1 -0
  203. package/node_modules/glob/package.json +98 -0
  204. package/node_modules/has-flag/index.d.ts +39 -0
  205. package/node_modules/has-flag/index.js +8 -0
  206. package/node_modules/has-flag/license +9 -0
  207. package/node_modules/has-flag/package.json +46 -0
  208. package/node_modules/has-flag/readme.md +89 -0
  209. package/node_modules/ieee754/LICENSE +11 -0
  210. package/node_modules/ieee754/README.md +51 -0
  211. package/node_modules/ieee754/index.d.ts +10 -0
  212. package/node_modules/ieee754/index.js +85 -0
  213. package/node_modules/ieee754/package.json +52 -0
  214. package/node_modules/inherits/LICENSE +16 -0
  215. package/node_modules/inherits/README.md +42 -0
  216. package/node_modules/inherits/inherits.js +9 -0
  217. package/node_modules/inherits/inherits_browser.js +27 -0
  218. package/node_modules/inherits/package.json +29 -0
  219. package/node_modules/is-interactive/index.d.ts +31 -0
  220. package/node_modules/is-interactive/index.js +9 -0
  221. package/node_modules/is-interactive/license +9 -0
  222. package/node_modules/is-interactive/package.json +38 -0
  223. package/node_modules/is-interactive/readme.md +51 -0
  224. package/node_modules/is-unicode-supported/index.d.ts +14 -0
  225. package/node_modules/is-unicode-supported/index.js +13 -0
  226. package/node_modules/is-unicode-supported/license +9 -0
  227. package/node_modules/is-unicode-supported/package.json +41 -0
  228. package/node_modules/is-unicode-supported/readme.md +35 -0
  229. package/node_modules/log-symbols/browser.js +8 -0
  230. package/node_modules/log-symbols/index.d.ts +25 -0
  231. package/node_modules/log-symbols/index.js +19 -0
  232. package/node_modules/log-symbols/license +9 -0
  233. package/node_modules/log-symbols/package.json +52 -0
  234. package/node_modules/log-symbols/readme.md +51 -0
  235. package/node_modules/lru-cache/LICENSE.md +55 -0
  236. package/node_modules/lru-cache/README.md +383 -0
  237. package/node_modules/lru-cache/dist/commonjs/index.d.ts +1323 -0
  238. package/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
  239. package/node_modules/lru-cache/dist/commonjs/index.js +1595 -0
  240. package/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
  241. package/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
  242. package/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
  243. package/node_modules/lru-cache/dist/commonjs/package.json +3 -0
  244. package/node_modules/lru-cache/dist/esm/index.d.ts +1323 -0
  245. package/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
  246. package/node_modules/lru-cache/dist/esm/index.js +1591 -0
  247. package/node_modules/lru-cache/dist/esm/index.js.map +1 -0
  248. package/node_modules/lru-cache/dist/esm/index.min.js +2 -0
  249. package/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
  250. package/node_modules/lru-cache/dist/esm/package.json +3 -0
  251. package/node_modules/lru-cache/package.json +93 -0
  252. package/node_modules/mimic-fn/index.d.ts +54 -0
  253. package/node_modules/mimic-fn/index.js +13 -0
  254. package/node_modules/mimic-fn/license +9 -0
  255. package/node_modules/mimic-fn/package.json +42 -0
  256. package/node_modules/mimic-fn/readme.md +69 -0
  257. package/node_modules/minimatch/LICENSE.md +55 -0
  258. package/node_modules/minimatch/README.md +528 -0
  259. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
  260. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
  261. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
  262. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
  263. package/node_modules/minimatch/dist/commonjs/ast.d.ts +22 -0
  264. package/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
  265. package/node_modules/minimatch/dist/commonjs/ast.js +846 -0
  266. package/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
  267. package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
  268. package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
  269. package/node_modules/minimatch/dist/commonjs/brace-expressions.js +150 -0
  270. package/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
  271. package/node_modules/minimatch/dist/commonjs/escape.d.ts +15 -0
  272. package/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
  273. package/node_modules/minimatch/dist/commonjs/escape.js +30 -0
  274. package/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
  275. package/node_modules/minimatch/dist/commonjs/index.d.ts +174 -0
  276. package/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
  277. package/node_modules/minimatch/dist/commonjs/index.js +1121 -0
  278. package/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
  279. package/node_modules/minimatch/dist/commonjs/package.json +3 -0
  280. package/node_modules/minimatch/dist/commonjs/unescape.d.ts +22 -0
  281. package/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
  282. package/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
  283. package/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
  284. package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
  285. package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
  286. package/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
  287. package/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
  288. package/node_modules/minimatch/dist/esm/ast.d.ts +22 -0
  289. package/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
  290. package/node_modules/minimatch/dist/esm/ast.js +842 -0
  291. package/node_modules/minimatch/dist/esm/ast.js.map +1 -0
  292. package/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
  293. package/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
  294. package/node_modules/minimatch/dist/esm/brace-expressions.js +146 -0
  295. package/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
  296. package/node_modules/minimatch/dist/esm/escape.d.ts +15 -0
  297. package/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
  298. package/node_modules/minimatch/dist/esm/escape.js +26 -0
  299. package/node_modules/minimatch/dist/esm/escape.js.map +1 -0
  300. package/node_modules/minimatch/dist/esm/index.d.ts +174 -0
  301. package/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
  302. package/node_modules/minimatch/dist/esm/index.js +1108 -0
  303. package/node_modules/minimatch/dist/esm/index.js.map +1 -0
  304. package/node_modules/minimatch/dist/esm/package.json +3 -0
  305. package/node_modules/minimatch/dist/esm/unescape.d.ts +22 -0
  306. package/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
  307. package/node_modules/minimatch/dist/esm/unescape.js +34 -0
  308. package/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
  309. package/node_modules/minimatch/package.json +67 -0
  310. package/node_modules/minipass/LICENSE.md +55 -0
  311. package/node_modules/minipass/README.md +825 -0
  312. package/node_modules/minipass/dist/commonjs/index.d.ts +545 -0
  313. package/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
  314. package/node_modules/minipass/dist/commonjs/index.js +1038 -0
  315. package/node_modules/minipass/dist/commonjs/index.js.map +1 -0
  316. package/node_modules/minipass/dist/commonjs/package.json +3 -0
  317. package/node_modules/minipass/dist/esm/index.d.ts +545 -0
  318. package/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
  319. package/node_modules/minipass/dist/esm/index.js +1020 -0
  320. package/node_modules/minipass/dist/esm/index.js.map +1 -0
  321. package/node_modules/minipass/dist/esm/package.json +3 -0
  322. package/node_modules/minipass/package.json +77 -0
  323. package/node_modules/node-domexception/.history/README_20210527203617.md +2 -0
  324. package/node_modules/node-domexception/.history/README_20210527212714.md +41 -0
  325. package/node_modules/node-domexception/.history/README_20210527213345.md +36 -0
  326. package/node_modules/node-domexception/.history/README_20210527213411.md +36 -0
  327. package/node_modules/node-domexception/.history/README_20210527213803.md +36 -0
  328. package/node_modules/node-domexception/.history/README_20210527214323.md +38 -0
  329. package/node_modules/node-domexception/.history/README_20210527214408.md +38 -0
  330. package/node_modules/node-domexception/.history/index_20210527203842.js +0 -0
  331. package/node_modules/node-domexception/.history/index_20210527203947.js +8 -0
  332. package/node_modules/node-domexception/.history/index_20210527204259.js +9 -0
  333. package/node_modules/node-domexception/.history/index_20210527204418.js +9 -0
  334. package/node_modules/node-domexception/.history/index_20210527204756.js +11 -0
  335. package/node_modules/node-domexception/.history/index_20210527204833.js +11 -0
  336. package/node_modules/node-domexception/.history/index_20210527211208.js +15 -0
  337. package/node_modules/node-domexception/.history/index_20210527211248.js +15 -0
  338. package/node_modules/node-domexception/.history/index_20210527212722.js +23 -0
  339. package/node_modules/node-domexception/.history/index_20210527212731.js +23 -0
  340. package/node_modules/node-domexception/.history/index_20210527212746.js +15 -0
  341. package/node_modules/node-domexception/.history/index_20210527212900.js +16 -0
  342. package/node_modules/node-domexception/.history/index_20210527213022.js +16 -0
  343. package/node_modules/node-domexception/.history/index_20210527213822.js +16 -0
  344. package/node_modules/node-domexception/.history/index_20210527213843.js +17 -0
  345. package/node_modules/node-domexception/.history/index_20210527213852.js +17 -0
  346. package/node_modules/node-domexception/.history/index_20210527213910.js +16 -0
  347. package/node_modules/node-domexception/.history/index_20210527214034.js +16 -0
  348. package/node_modules/node-domexception/.history/index_20210527214643.js +41 -0
  349. package/node_modules/node-domexception/.history/index_20210527214654.js +41 -0
  350. package/node_modules/node-domexception/.history/index_20210527214700.js +16 -0
  351. package/node_modules/node-domexception/.history/package_20210527203733.json +19 -0
  352. package/node_modules/node-domexception/.history/package_20210527203825.json +16 -0
  353. package/node_modules/node-domexception/.history/package_20210527204621.json +19 -0
  354. package/node_modules/node-domexception/.history/package_20210527204913.json +25 -0
  355. package/node_modules/node-domexception/.history/package_20210527204925.json +25 -0
  356. package/node_modules/node-domexception/.history/package_20210527205145.json +29 -0
  357. package/node_modules/node-domexception/.history/package_20210527205156.json +29 -0
  358. package/node_modules/node-domexception/.history/test_20210527205603.js +0 -0
  359. package/node_modules/node-domexception/.history/test_20210527205957.js +3 -0
  360. package/node_modules/node-domexception/.history/test_20210527210021.js +3 -0
  361. package/node_modules/node-domexception/LICENSE +21 -0
  362. package/node_modules/node-domexception/README.md +46 -0
  363. package/node_modules/node-domexception/index.js +16 -0
  364. package/node_modules/node-domexception/package.json +29 -0
  365. package/node_modules/node-fetch/@types/index.d.ts +219 -0
  366. package/node_modules/node-fetch/LICENSE.md +22 -0
  367. package/node_modules/node-fetch/README.md +872 -0
  368. package/node_modules/node-fetch/package.json +131 -0
  369. package/node_modules/node-fetch/src/body.js +397 -0
  370. package/node_modules/node-fetch/src/errors/abort-error.js +10 -0
  371. package/node_modules/node-fetch/src/errors/base.js +17 -0
  372. package/node_modules/node-fetch/src/errors/fetch-error.js +26 -0
  373. package/node_modules/node-fetch/src/headers.js +267 -0
  374. package/node_modules/node-fetch/src/index.js +417 -0
  375. package/node_modules/node-fetch/src/request.js +313 -0
  376. package/node_modules/node-fetch/src/response.js +160 -0
  377. package/node_modules/node-fetch/src/utils/get-search.js +9 -0
  378. package/node_modules/node-fetch/src/utils/is-redirect.js +11 -0
  379. package/node_modules/node-fetch/src/utils/is.js +87 -0
  380. package/node_modules/node-fetch/src/utils/multipart-parser.js +432 -0
  381. package/node_modules/node-fetch/src/utils/referrer.js +340 -0
  382. package/node_modules/onetime/index.d.ts +64 -0
  383. package/node_modules/onetime/index.js +44 -0
  384. package/node_modules/onetime/license +9 -0
  385. package/node_modules/onetime/package.json +43 -0
  386. package/node_modules/onetime/readme.md +94 -0
  387. package/node_modules/ora/index.d.ts +277 -0
  388. package/node_modules/ora/index.js +407 -0
  389. package/node_modules/ora/license +9 -0
  390. package/node_modules/ora/package.json +57 -0
  391. package/node_modules/ora/readme.md +264 -0
  392. package/node_modules/path-scurry/LICENSE.md +55 -0
  393. package/node_modules/path-scurry/README.md +636 -0
  394. package/node_modules/path-scurry/dist/commonjs/index.d.ts +1115 -0
  395. package/node_modules/path-scurry/dist/commonjs/index.d.ts.map +1 -0
  396. package/node_modules/path-scurry/dist/commonjs/index.js +2018 -0
  397. package/node_modules/path-scurry/dist/commonjs/index.js.map +1 -0
  398. package/node_modules/path-scurry/dist/commonjs/package.json +3 -0
  399. package/node_modules/path-scurry/dist/esm/index.d.ts +1115 -0
  400. package/node_modules/path-scurry/dist/esm/index.d.ts.map +1 -0
  401. package/node_modules/path-scurry/dist/esm/index.js +1983 -0
  402. package/node_modules/path-scurry/dist/esm/index.js.map +1 -0
  403. package/node_modules/path-scurry/dist/esm/package.json +3 -0
  404. package/node_modules/path-scurry/package.json +72 -0
  405. package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  406. package/node_modules/readable-stream/GOVERNANCE.md +136 -0
  407. package/node_modules/readable-stream/LICENSE +47 -0
  408. package/node_modules/readable-stream/README.md +106 -0
  409. package/node_modules/readable-stream/errors-browser.js +127 -0
  410. package/node_modules/readable-stream/errors.js +116 -0
  411. package/node_modules/readable-stream/experimentalWarning.js +17 -0
  412. package/node_modules/readable-stream/lib/_stream_duplex.js +126 -0
  413. package/node_modules/readable-stream/lib/_stream_passthrough.js +37 -0
  414. package/node_modules/readable-stream/lib/_stream_readable.js +1027 -0
  415. package/node_modules/readable-stream/lib/_stream_transform.js +190 -0
  416. package/node_modules/readable-stream/lib/_stream_writable.js +641 -0
  417. package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +180 -0
  418. package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +183 -0
  419. package/node_modules/readable-stream/lib/internal/streams/destroy.js +96 -0
  420. package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +86 -0
  421. package/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
  422. package/node_modules/readable-stream/lib/internal/streams/from.js +52 -0
  423. package/node_modules/readable-stream/lib/internal/streams/pipeline.js +86 -0
  424. package/node_modules/readable-stream/lib/internal/streams/state.js +22 -0
  425. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  426. package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  427. package/node_modules/readable-stream/package.json +68 -0
  428. package/node_modules/readable-stream/readable-browser.js +9 -0
  429. package/node_modules/readable-stream/readable.js +16 -0
  430. package/node_modules/restore-cursor/index.d.ts +13 -0
  431. package/node_modules/restore-cursor/index.js +9 -0
  432. package/node_modules/restore-cursor/license +9 -0
  433. package/node_modules/restore-cursor/package.json +52 -0
  434. package/node_modules/restore-cursor/readme.md +26 -0
  435. package/node_modules/safe-buffer/LICENSE +21 -0
  436. package/node_modules/safe-buffer/README.md +584 -0
  437. package/node_modules/safe-buffer/index.d.ts +187 -0
  438. package/node_modules/safe-buffer/index.js +65 -0
  439. package/node_modules/safe-buffer/package.json +51 -0
  440. package/node_modules/signal-exit/LICENSE.txt +16 -0
  441. package/node_modules/signal-exit/README.md +39 -0
  442. package/node_modules/signal-exit/index.js +202 -0
  443. package/node_modules/signal-exit/package.json +38 -0
  444. package/node_modules/signal-exit/signals.js +53 -0
  445. package/node_modules/string_decoder/LICENSE +48 -0
  446. package/node_modules/string_decoder/README.md +47 -0
  447. package/node_modules/string_decoder/lib/string_decoder.js +296 -0
  448. package/node_modules/string_decoder/package.json +34 -0
  449. package/node_modules/strip-ansi/index.d.ts +17 -0
  450. package/node_modules/strip-ansi/index.js +4 -0
  451. package/node_modules/strip-ansi/license +9 -0
  452. package/node_modules/strip-ansi/package.json +54 -0
  453. package/node_modules/strip-ansi/readme.md +46 -0
  454. package/node_modules/supports-color/browser.js +5 -0
  455. package/node_modules/supports-color/index.js +135 -0
  456. package/node_modules/supports-color/license +9 -0
  457. package/node_modules/supports-color/package.json +53 -0
  458. package/node_modules/supports-color/readme.md +76 -0
  459. package/node_modules/util-deprecate/History.md +16 -0
  460. package/node_modules/util-deprecate/LICENSE +24 -0
  461. package/node_modules/util-deprecate/README.md +53 -0
  462. package/node_modules/util-deprecate/browser.js +67 -0
  463. package/node_modules/util-deprecate/node.js +6 -0
  464. package/node_modules/util-deprecate/package.json +27 -0
  465. package/node_modules/wcwidth/.npmignore +1 -0
  466. package/node_modules/wcwidth/LICENSE +30 -0
  467. package/node_modules/wcwidth/Readme.md +33 -0
  468. package/node_modules/wcwidth/combining.js +50 -0
  469. package/node_modules/wcwidth/docs/index.md +65 -0
  470. package/node_modules/wcwidth/index.js +99 -0
  471. package/node_modules/wcwidth/package.json +42 -0
  472. package/node_modules/wcwidth/test/index.js +64 -0
  473. package/node_modules/web-streams-polyfill/LICENSE +22 -0
  474. package/node_modules/web-streams-polyfill/README.md +110 -0
  475. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.js +4765 -0
  476. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.js.map +1 -0
  477. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js +9 -0
  478. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js.map +1 -0
  479. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs +4745 -0
  480. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs.map +1 -0
  481. package/node_modules/web-streams-polyfill/dist/polyfill.es6.js +4838 -0
  482. package/node_modules/web-streams-polyfill/dist/polyfill.es6.js.map +1 -0
  483. package/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js +9 -0
  484. package/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js.map +1 -0
  485. package/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs +4818 -0
  486. package/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs.map +1 -0
  487. package/node_modules/web-streams-polyfill/dist/polyfill.js +5011 -0
  488. package/node_modules/web-streams-polyfill/dist/polyfill.js.map +1 -0
  489. package/node_modules/web-streams-polyfill/dist/polyfill.min.js +9 -0
  490. package/node_modules/web-streams-polyfill/dist/polyfill.min.js.map +1 -0
  491. package/node_modules/web-streams-polyfill/dist/polyfill.mjs +4991 -0
  492. package/node_modules/web-streams-polyfill/dist/polyfill.mjs.map +1 -0
  493. package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +4737 -0
  494. package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +1 -0
  495. package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs +4717 -0
  496. package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs.map +1 -0
  497. package/node_modules/web-streams-polyfill/dist/ponyfill.es6.js +4810 -0
  498. package/node_modules/web-streams-polyfill/dist/ponyfill.es6.js.map +1 -0
  499. package/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs +4790 -0
  500. package/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs.map +1 -0
  501. package/node_modules/web-streams-polyfill/dist/ponyfill.js +4983 -0
  502. package/node_modules/web-streams-polyfill/dist/ponyfill.js.map +1 -0
  503. package/node_modules/web-streams-polyfill/dist/ponyfill.mjs +4963 -0
  504. package/node_modules/web-streams-polyfill/dist/ponyfill.mjs.map +1 -0
  505. package/node_modules/web-streams-polyfill/dist/types/polyfill.d.ts +24 -0
  506. package/node_modules/web-streams-polyfill/dist/types/ponyfill.d.ts +780 -0
  507. package/node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts +28 -0
  508. package/node_modules/web-streams-polyfill/dist/types/ts3.6/ponyfill.d.ts +821 -0
  509. package/node_modules/web-streams-polyfill/dist/types/tsdoc-metadata.json +11 -0
  510. package/node_modules/web-streams-polyfill/es2018/package.json +14 -0
  511. package/node_modules/web-streams-polyfill/es6/package.json +14 -0
  512. package/node_modules/web-streams-polyfill/package.json +83 -0
  513. package/node_modules/web-streams-polyfill/ponyfill/es2018/package.json +13 -0
  514. package/node_modules/web-streams-polyfill/ponyfill/es6/package.json +13 -0
  515. package/node_modules/web-streams-polyfill/ponyfill/package.json +13 -0
  516. package/package.json +26 -0
  517. package/version.json +18 -0
@@ -0,0 +1,396 @@
1
+ import { Minimatch } from 'minimatch';
2
+ import { Minipass } from 'minipass';
3
+ import { FSOption, Path, PathScurry } from 'path-scurry';
4
+ import { IgnoreLike } from './ignore.js';
5
+ import { Pattern } from './pattern.js';
6
+ export type MatchSet = Minimatch['set'];
7
+ export type GlobParts = Exclude<Minimatch['globParts'], undefined>;
8
+ /**
9
+ * A `GlobOptions` object may be provided to any of the exported methods, and
10
+ * must be provided to the `Glob` constructor.
11
+ *
12
+ * All options are optional, boolean, and false by default, unless otherwise
13
+ * noted.
14
+ *
15
+ * All resolved options are added to the Glob object as properties.
16
+ *
17
+ * If you are running many `glob` operations, you can pass a Glob object as the
18
+ * `options` argument to a subsequent operation to share the previously loaded
19
+ * cache.
20
+ */
21
+ export interface GlobOptions {
22
+ /**
23
+ * Set to `true` to always receive absolute paths for
24
+ * matched files. Set to `false` to always return relative paths.
25
+ *
26
+ * When this option is not set, absolute paths are returned for patterns
27
+ * that are absolute, and otherwise paths are returned that are relative
28
+ * to the `cwd` setting.
29
+ *
30
+ * This does _not_ make an extra system call to get
31
+ * the realpath, it only does string path resolution.
32
+ *
33
+ * Conflicts with {@link withFileTypes}
34
+ */
35
+ absolute?: boolean;
36
+ /**
37
+ * Set to false to enable {@link windowsPathsNoEscape}
38
+ *
39
+ * @deprecated
40
+ */
41
+ allowWindowsEscape?: boolean;
42
+ /**
43
+ * The current working directory in which to search. Defaults to
44
+ * `process.cwd()`.
45
+ *
46
+ * May be eiher a string path or a `file://` URL object or string.
47
+ */
48
+ cwd?: string | URL;
49
+ /**
50
+ * Include `.dot` files in normal matches and `globstar`
51
+ * matches. Note that an explicit dot in a portion of the pattern
52
+ * will always match dot files.
53
+ */
54
+ dot?: boolean;
55
+ /**
56
+ * Prepend all relative path strings with `./` (or `.\` on Windows).
57
+ *
58
+ * Without this option, returned relative paths are "bare", so instead of
59
+ * returning `'./foo/bar'`, they are returned as `'foo/bar'`.
60
+ *
61
+ * Relative patterns starting with `'../'` are not prepended with `./`, even
62
+ * if this option is set.
63
+ */
64
+ dotRelative?: boolean;
65
+ /**
66
+ * Follow symlinked directories when expanding `**`
67
+ * patterns. This can result in a lot of duplicate references in
68
+ * the presence of cyclic links, and make performance quite bad.
69
+ *
70
+ * By default, a `**` in a pattern will follow 1 symbolic link if
71
+ * it is not the first item in the pattern, or none if it is the
72
+ * first item in the pattern, following the same behavior as Bash.
73
+ */
74
+ follow?: boolean;
75
+ /**
76
+ * string or string[], or an object with `ignored` and `childrenIgnored`
77
+ * methods.
78
+ *
79
+ * If a string or string[] is provided, then this is treated as a glob
80
+ * pattern or array of glob patterns to exclude from matches. To ignore all
81
+ * children within a directory, as well as the entry itself, append `'/**'`
82
+ * to the ignore pattern.
83
+ *
84
+ * **Note** `ignore` patterns are _always_ in `dot:true` mode, regardless of
85
+ * any other settings.
86
+ *
87
+ * If an object is provided that has `ignored(path)` and/or
88
+ * `childrenIgnored(path)` methods, then these methods will be called to
89
+ * determine whether any Path is a match or if its children should be
90
+ * traversed, respectively.
91
+ */
92
+ ignore?: string | string[] | IgnoreLike;
93
+ /**
94
+ * Treat brace expansion like `{a,b}` as a "magic" pattern. Has no
95
+ * effect if {@link nobrace} is set.
96
+ *
97
+ * Only has effect on the {@link hasMagic} function.
98
+ */
99
+ magicalBraces?: boolean;
100
+ /**
101
+ * Add a `/` character to directory matches. Note that this requires
102
+ * additional stat calls in some cases.
103
+ */
104
+ mark?: boolean;
105
+ /**
106
+ * Perform a basename-only match if the pattern does not contain any slash
107
+ * characters. That is, `*.js` would be treated as equivalent to
108
+ * `**\/*.js`, matching all js files in all directories.
109
+ */
110
+ matchBase?: boolean;
111
+ /**
112
+ * Limit the directory traversal to a given depth below the cwd.
113
+ * Note that this does NOT prevent traversal to sibling folders,
114
+ * root patterns, and so on. It only limits the maximum folder depth
115
+ * that the walk will descend, relative to the cwd.
116
+ */
117
+ maxDepth?: number;
118
+ /**
119
+ * Do not expand `{a,b}` and `{1..3}` brace sets.
120
+ */
121
+ nobrace?: boolean;
122
+ /**
123
+ * Perform a case-insensitive match. This defaults to `true` on macOS and
124
+ * Windows systems, and `false` on all others.
125
+ *
126
+ * **Note** `nocase` should only be explicitly set when it is
127
+ * known that the filesystem's case sensitivity differs from the
128
+ * platform default. If set `true` on case-sensitive file
129
+ * systems, or `false` on case-insensitive file systems, then the
130
+ * walk may return more or less results than expected.
131
+ */
132
+ nocase?: boolean;
133
+ /**
134
+ * Do not match directories, only files. (Note: to match
135
+ * _only_ directories, put a `/` at the end of the pattern.)
136
+ */
137
+ nodir?: boolean;
138
+ /**
139
+ * Do not match "extglob" patterns such as `+(a|b)`.
140
+ */
141
+ noext?: boolean;
142
+ /**
143
+ * Do not match `**` against multiple filenames. (Ie, treat it as a normal
144
+ * `*` instead.)
145
+ *
146
+ * Conflicts with {@link matchBase}
147
+ */
148
+ noglobstar?: boolean;
149
+ /**
150
+ * Defaults to value of `process.platform` if available, or `'linux'` if
151
+ * not. Setting `platform:'win32'` on non-Windows systems may cause strange
152
+ * behavior.
153
+ */
154
+ platform?: NodeJS.Platform;
155
+ /**
156
+ * Set to true to call `fs.realpath` on all of the
157
+ * results. In the case of an entry that cannot be resolved, the
158
+ * entry is omitted. This incurs a slight performance penalty, of
159
+ * course, because of the added system calls.
160
+ */
161
+ realpath?: boolean;
162
+ /**
163
+ *
164
+ * A string path resolved against the `cwd` option, which
165
+ * is used as the starting point for absolute patterns that start
166
+ * with `/`, (but not drive letters or UNC paths on Windows).
167
+ *
168
+ * Note that this _doesn't_ necessarily limit the walk to the
169
+ * `root` directory, and doesn't affect the cwd starting point for
170
+ * non-absolute patterns. A pattern containing `..` will still be
171
+ * able to traverse out of the root directory, if it is not an
172
+ * actual root directory on the filesystem, and any non-absolute
173
+ * patterns will be matched in the `cwd`. For example, the
174
+ * pattern `/../*` with `{root:'/some/path'}` will return all
175
+ * files in `/some`, not all files in `/some/path`. The pattern
176
+ * `*` with `{root:'/some/path'}` will return all the entries in
177
+ * the cwd, not the entries in `/some/path`.
178
+ *
179
+ * To start absolute and non-absolute patterns in the same
180
+ * path, you can use `{root:''}`. However, be aware that on
181
+ * Windows systems, a pattern like `x:/*` or `//host/share/*` will
182
+ * _always_ start in the `x:/` or `//host/share` directory,
183
+ * regardless of the `root` setting.
184
+ */
185
+ root?: string;
186
+ /**
187
+ * A [PathScurry](http://npm.im/path-scurry) object used
188
+ * to traverse the file system. If the `nocase` option is set
189
+ * explicitly, then any provided `scurry` object must match this
190
+ * setting.
191
+ */
192
+ scurry?: PathScurry;
193
+ /**
194
+ * Call `lstat()` on all entries, whether required or not to determine
195
+ * if it's a valid match. When used with {@link withFileTypes}, this means
196
+ * that matches will include data such as modified time, permissions, and
197
+ * so on. Note that this will incur a performance cost due to the added
198
+ * system calls.
199
+ */
200
+ stat?: boolean;
201
+ /**
202
+ * An AbortSignal which will cancel the Glob walk when
203
+ * triggered.
204
+ */
205
+ signal?: AbortSignal;
206
+ /**
207
+ * Use `\\` as a path separator _only_, and
208
+ * _never_ as an escape character. If set, all `\\` characters are
209
+ * replaced with `/` in the pattern.
210
+ *
211
+ * Note that this makes it **impossible** to match against paths
212
+ * containing literal glob pattern characters, but allows matching
213
+ * with patterns constructed using `path.join()` and
214
+ * `path.resolve()` on Windows platforms, mimicking the (buggy!)
215
+ * behavior of Glob v7 and before on Windows. Please use with
216
+ * caution, and be mindful of [the caveat below about Windows
217
+ * paths](#windows). (For legacy reasons, this is also set if
218
+ * `allowWindowsEscape` is set to the exact value `false`.)
219
+ */
220
+ windowsPathsNoEscape?: boolean;
221
+ /**
222
+ * Return [PathScurry](http://npm.im/path-scurry)
223
+ * `Path` objects instead of strings. These are similar to a
224
+ * NodeJS `Dirent` object, but with additional methods and
225
+ * properties.
226
+ *
227
+ * Conflicts with {@link absolute}
228
+ */
229
+ withFileTypes?: boolean;
230
+ /**
231
+ * An fs implementation to override some or all of the defaults. See
232
+ * http://npm.im/path-scurry for details about what can be overridden.
233
+ */
234
+ fs?: FSOption;
235
+ /**
236
+ * Just passed along to Minimatch. Note that this makes all pattern
237
+ * matching operations slower and *extremely* noisy.
238
+ */
239
+ debug?: boolean;
240
+ /**
241
+ * Return `/` delimited paths, even on Windows.
242
+ *
243
+ * On posix systems, this has no effect. But, on Windows, it means that
244
+ * paths will be `/` delimited, and absolute paths will be their full
245
+ * resolved UNC forms, eg instead of `'C:\\foo\\bar'`, it would return
246
+ * `'//?/C:/foo/bar'`
247
+ */
248
+ posix?: boolean;
249
+ /**
250
+ * Do not match any children of any matches. For example, the pattern
251
+ * `**\/foo` would match `a/foo`, but not `a/foo/b/foo` in this mode.
252
+ *
253
+ * This is especially useful for cases like "find all `node_modules`
254
+ * folders, but not the ones in `node_modules`".
255
+ *
256
+ * In order to support this, the `Ignore` implementation must support an
257
+ * `add(pattern: string)` method. If using the default `Ignore` class, then
258
+ * this is fine, but if this is set to `false`, and a custom `Ignore` is
259
+ * provided that does not have an `add()` method, then it will throw an
260
+ * error.
261
+ *
262
+ * **Caveat** It *only* ignores matches that would be a descendant of a
263
+ * previous match, and only if that descendant is matched *after* the
264
+ * ancestor is encountered. Since the file system walk happens in
265
+ * indeterminate order, it's possible that a match will already be added
266
+ * before its ancestor, if multiple or braced patterns are used.
267
+ *
268
+ * For example:
269
+ *
270
+ * ```ts
271
+ * const results = await glob([
272
+ * // likely to match first, since it's just a stat
273
+ * 'a/b/c/d/e/f',
274
+ *
275
+ * // this pattern is more complicated! It must to various readdir()
276
+ * // calls and test the results against a regular expression, and that
277
+ * // is certainly going to take a little bit longer.
278
+ * //
279
+ * // So, later on, it encounters a match at 'a/b/c/d/e', but it's too
280
+ * // late to ignore a/b/c/d/e/f, because it's already been emitted.
281
+ * 'a/[bdf]/?/[a-z]/*',
282
+ * ], { includeChildMatches: false })
283
+ * ```
284
+ *
285
+ * It's best to only set this to `false` if you can be reasonably sure that
286
+ * no components of the pattern will potentially match one another's file
287
+ * system descendants, or if the occasional included child entry will not
288
+ * cause problems.
289
+ *
290
+ * @default true
291
+ */
292
+ includeChildMatches?: boolean;
293
+ /**
294
+ * max number of `{...}` patterns to expand. Default `1_000`.
295
+ *
296
+ * Note: this is much less than minimatch's default of `100_000`,
297
+ * because Glob has higher memory requirements due to walking
298
+ * the file system tree.
299
+ */
300
+ braceExpandMax?: number;
301
+ }
302
+ export type GlobOptionsWithFileTypesTrue = GlobOptions & {
303
+ withFileTypes: true;
304
+ absolute?: undefined;
305
+ mark?: undefined;
306
+ posix?: undefined;
307
+ };
308
+ export type GlobOptionsWithFileTypesFalse = GlobOptions & {
309
+ withFileTypes?: false;
310
+ };
311
+ export type GlobOptionsWithFileTypesUnset = GlobOptions & {
312
+ withFileTypes?: undefined;
313
+ };
314
+ export type Result<Opts> = Opts extends GlobOptionsWithFileTypesTrue ? Path : Opts extends GlobOptionsWithFileTypesFalse ? string : Opts extends GlobOptionsWithFileTypesUnset ? string : string | Path;
315
+ export type Results<Opts> = Result<Opts>[];
316
+ export type FileTypes<Opts> = Opts extends GlobOptionsWithFileTypesTrue ? true : Opts extends GlobOptionsWithFileTypesFalse ? false : Opts extends GlobOptionsWithFileTypesUnset ? false : boolean;
317
+ /**
318
+ * An object that can perform glob pattern traversals.
319
+ */
320
+ export declare class Glob<Opts extends GlobOptions> implements GlobOptions {
321
+ absolute?: boolean;
322
+ cwd: string;
323
+ root?: string;
324
+ dot: boolean;
325
+ dotRelative: boolean;
326
+ follow: boolean;
327
+ ignore?: string | string[] | IgnoreLike;
328
+ magicalBraces: boolean;
329
+ mark?: boolean;
330
+ matchBase: boolean;
331
+ maxDepth: number;
332
+ nobrace: boolean;
333
+ nocase: boolean;
334
+ nodir: boolean;
335
+ noext: boolean;
336
+ noglobstar: boolean;
337
+ pattern: string[];
338
+ platform: NodeJS.Platform;
339
+ realpath: boolean;
340
+ scurry: PathScurry;
341
+ stat: boolean;
342
+ signal?: AbortSignal;
343
+ windowsPathsNoEscape: boolean;
344
+ withFileTypes: FileTypes<Opts>;
345
+ includeChildMatches: boolean;
346
+ /**
347
+ * The options provided to the constructor.
348
+ */
349
+ opts: Opts;
350
+ /**
351
+ * An array of parsed immutable {@link Pattern} objects.
352
+ */
353
+ patterns: Pattern[];
354
+ /**
355
+ * All options are stored as properties on the `Glob` object.
356
+ *
357
+ * See {@link GlobOptions} for full options descriptions.
358
+ *
359
+ * Note that a previous `Glob` object can be passed as the
360
+ * `GlobOptions` to another `Glob` instantiation to re-use settings
361
+ * and caches with a new pattern.
362
+ *
363
+ * Traversal functions can be called multiple times to run the walk
364
+ * again.
365
+ */
366
+ constructor(pattern: string | string[], opts: Opts);
367
+ /**
368
+ * Returns a Promise that resolves to the results array.
369
+ */
370
+ walk(): Promise<Results<Opts>>;
371
+ /**
372
+ * synchronous {@link Glob.walk}
373
+ */
374
+ walkSync(): Results<Opts>;
375
+ /**
376
+ * Stream results asynchronously.
377
+ */
378
+ stream(): Minipass<Result<Opts>, Result<Opts>>;
379
+ /**
380
+ * Stream results synchronously.
381
+ */
382
+ streamSync(): Minipass<Result<Opts>, Result<Opts>>;
383
+ /**
384
+ * Default sync iteration function. Returns a Generator that
385
+ * iterates over the results.
386
+ */
387
+ iterateSync(): Generator<Result<Opts>, void, void>;
388
+ [Symbol.iterator](): Generator<Result<Opts>, void, void>;
389
+ /**
390
+ * Default async iteration function. Returns an AsyncGenerator that
391
+ * iterates over the results.
392
+ */
393
+ iterate(): AsyncGenerator<Result<Opts>, void, void>;
394
+ [Symbol.asyncIterator](): AsyncGenerator<Result<Opts>, void, void>;
395
+ }
396
+ //# sourceMappingURL=glob.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"glob.d.ts","sourceRoot":"","sources":["../../src/glob.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,248 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Glob = void 0;
4
+ const minimatch_1 = require("minimatch");
5
+ const node_url_1 = require("node:url");
6
+ const path_scurry_1 = require("path-scurry");
7
+ const pattern_js_1 = require("./pattern.js");
8
+ const walker_js_1 = require("./walker.js");
9
+ // if no process global, just call it linux.
10
+ // so we default to case-sensitive, / separators
11
+ const defaultPlatform = (typeof process === 'object' &&
12
+ process &&
13
+ typeof process.platform === 'string') ?
14
+ process.platform
15
+ : 'linux';
16
+ /**
17
+ * An object that can perform glob pattern traversals.
18
+ */
19
+ class Glob {
20
+ absolute;
21
+ cwd;
22
+ root;
23
+ dot;
24
+ dotRelative;
25
+ follow;
26
+ ignore;
27
+ magicalBraces;
28
+ mark;
29
+ matchBase;
30
+ maxDepth;
31
+ nobrace;
32
+ nocase;
33
+ nodir;
34
+ noext;
35
+ noglobstar;
36
+ pattern;
37
+ platform;
38
+ realpath;
39
+ scurry;
40
+ stat;
41
+ signal;
42
+ windowsPathsNoEscape;
43
+ withFileTypes;
44
+ includeChildMatches;
45
+ /**
46
+ * The options provided to the constructor.
47
+ */
48
+ opts;
49
+ /**
50
+ * An array of parsed immutable {@link Pattern} objects.
51
+ */
52
+ patterns;
53
+ /**
54
+ * All options are stored as properties on the `Glob` object.
55
+ *
56
+ * See {@link GlobOptions} for full options descriptions.
57
+ *
58
+ * Note that a previous `Glob` object can be passed as the
59
+ * `GlobOptions` to another `Glob` instantiation to re-use settings
60
+ * and caches with a new pattern.
61
+ *
62
+ * Traversal functions can be called multiple times to run the walk
63
+ * again.
64
+ */
65
+ constructor(pattern, opts) {
66
+ /* c8 ignore start */
67
+ if (!opts)
68
+ throw new TypeError('glob options required');
69
+ /* c8 ignore stop */
70
+ this.withFileTypes = !!opts.withFileTypes;
71
+ this.signal = opts.signal;
72
+ this.follow = !!opts.follow;
73
+ this.dot = !!opts.dot;
74
+ this.dotRelative = !!opts.dotRelative;
75
+ this.nodir = !!opts.nodir;
76
+ this.mark = !!opts.mark;
77
+ if (!opts.cwd) {
78
+ this.cwd = '';
79
+ }
80
+ else if (opts.cwd instanceof URL || opts.cwd.startsWith('file://')) {
81
+ opts.cwd = (0, node_url_1.fileURLToPath)(opts.cwd);
82
+ }
83
+ this.cwd = opts.cwd || '';
84
+ this.root = opts.root;
85
+ this.magicalBraces = !!opts.magicalBraces;
86
+ this.nobrace = !!opts.nobrace;
87
+ this.noext = !!opts.noext;
88
+ this.realpath = !!opts.realpath;
89
+ this.absolute = opts.absolute;
90
+ this.includeChildMatches = opts.includeChildMatches !== false;
91
+ this.noglobstar = !!opts.noglobstar;
92
+ this.matchBase = !!opts.matchBase;
93
+ this.maxDepth =
94
+ typeof opts.maxDepth === 'number' ? opts.maxDepth : Infinity;
95
+ this.stat = !!opts.stat;
96
+ this.ignore = opts.ignore;
97
+ if (this.withFileTypes && this.absolute !== undefined) {
98
+ throw new Error('cannot set absolute and withFileTypes:true');
99
+ }
100
+ if (typeof pattern === 'string') {
101
+ pattern = [pattern];
102
+ }
103
+ this.windowsPathsNoEscape =
104
+ !!opts.windowsPathsNoEscape ||
105
+ opts.allowWindowsEscape ===
106
+ false;
107
+ if (this.windowsPathsNoEscape) {
108
+ pattern = pattern.map(p => p.replace(/\\/g, '/'));
109
+ }
110
+ if (this.matchBase) {
111
+ if (opts.noglobstar) {
112
+ throw new TypeError('base matching requires globstar');
113
+ }
114
+ pattern = pattern.map(p => (p.includes('/') ? p : `./**/${p}`));
115
+ }
116
+ this.pattern = pattern;
117
+ this.platform = opts.platform || defaultPlatform;
118
+ this.opts = { ...opts, platform: this.platform };
119
+ if (opts.scurry) {
120
+ this.scurry = opts.scurry;
121
+ if (opts.nocase !== undefined &&
122
+ opts.nocase !== opts.scurry.nocase) {
123
+ throw new Error('nocase option contradicts provided scurry option');
124
+ }
125
+ }
126
+ else {
127
+ const Scurry = opts.platform === 'win32' ? path_scurry_1.PathScurryWin32
128
+ : opts.platform === 'darwin' ? path_scurry_1.PathScurryDarwin
129
+ : opts.platform ? path_scurry_1.PathScurryPosix
130
+ : path_scurry_1.PathScurry;
131
+ this.scurry = new Scurry(this.cwd, {
132
+ nocase: opts.nocase,
133
+ fs: opts.fs,
134
+ });
135
+ }
136
+ this.nocase = this.scurry.nocase;
137
+ // If you do nocase:true on a case-sensitive file system, then
138
+ // we need to use regexps instead of strings for non-magic
139
+ // path portions, because statting `aBc` won't return results
140
+ // for the file `AbC` for example.
141
+ const nocaseMagicOnly = this.platform === 'darwin' || this.platform === 'win32';
142
+ const mmo = {
143
+ braceExpandMax: 10_000,
144
+ ...opts,
145
+ dot: this.dot,
146
+ matchBase: this.matchBase,
147
+ nobrace: this.nobrace,
148
+ // default nocase based on platform
149
+ nocase: this.nocase,
150
+ nocaseMagicOnly,
151
+ nocomment: true,
152
+ noext: this.noext,
153
+ nonegate: true,
154
+ optimizationLevel: 2,
155
+ platform: this.platform,
156
+ windowsPathsNoEscape: this.windowsPathsNoEscape,
157
+ debug: !!this.opts.debug,
158
+ };
159
+ const mms = this.pattern.map(p => new minimatch_1.Minimatch(p, mmo));
160
+ const [matchSet, globParts] = mms.reduce((set, m) => {
161
+ set[0].push(...m.set);
162
+ set[1].push(...m.globParts);
163
+ return set;
164
+ }, [[], []]);
165
+ this.patterns = matchSet.map((set, i) => {
166
+ const g = globParts[i];
167
+ /* c8 ignore start */
168
+ if (!g)
169
+ throw new Error('invalid pattern object');
170
+ /* c8 ignore stop */
171
+ return new pattern_js_1.Pattern(set, g, 0, this.platform);
172
+ });
173
+ }
174
+ async walk() {
175
+ // Walkers always return array of Path objects, so we just have to
176
+ // coerce them into the right shape. It will have already called
177
+ // realpath() if the option was set to do so, so we know that's cached.
178
+ // start out knowing the cwd, at least
179
+ return [
180
+ ...(await new walker_js_1.GlobWalker(this.patterns, this.scurry.cwd, {
181
+ ...this.opts,
182
+ maxDepth: this.maxDepth !== Infinity ?
183
+ this.maxDepth + this.scurry.cwd.depth()
184
+ : Infinity,
185
+ platform: this.platform,
186
+ nocase: this.nocase,
187
+ includeChildMatches: this.includeChildMatches,
188
+ }).walk()),
189
+ ];
190
+ }
191
+ walkSync() {
192
+ return [
193
+ ...new walker_js_1.GlobWalker(this.patterns, this.scurry.cwd, {
194
+ ...this.opts,
195
+ maxDepth: this.maxDepth !== Infinity ?
196
+ this.maxDepth + this.scurry.cwd.depth()
197
+ : Infinity,
198
+ platform: this.platform,
199
+ nocase: this.nocase,
200
+ includeChildMatches: this.includeChildMatches,
201
+ }).walkSync(),
202
+ ];
203
+ }
204
+ stream() {
205
+ return new walker_js_1.GlobStream(this.patterns, this.scurry.cwd, {
206
+ ...this.opts,
207
+ maxDepth: this.maxDepth !== Infinity ?
208
+ this.maxDepth + this.scurry.cwd.depth()
209
+ : Infinity,
210
+ platform: this.platform,
211
+ nocase: this.nocase,
212
+ includeChildMatches: this.includeChildMatches,
213
+ }).stream();
214
+ }
215
+ streamSync() {
216
+ return new walker_js_1.GlobStream(this.patterns, this.scurry.cwd, {
217
+ ...this.opts,
218
+ maxDepth: this.maxDepth !== Infinity ?
219
+ this.maxDepth + this.scurry.cwd.depth()
220
+ : Infinity,
221
+ platform: this.platform,
222
+ nocase: this.nocase,
223
+ includeChildMatches: this.includeChildMatches,
224
+ }).streamSync();
225
+ }
226
+ /**
227
+ * Default sync iteration function. Returns a Generator that
228
+ * iterates over the results.
229
+ */
230
+ iterateSync() {
231
+ return this.streamSync()[Symbol.iterator]();
232
+ }
233
+ [Symbol.iterator]() {
234
+ return this.iterateSync();
235
+ }
236
+ /**
237
+ * Default async iteration function. Returns an AsyncGenerator that
238
+ * iterates over the results.
239
+ */
240
+ iterate() {
241
+ return this.stream()[Symbol.asyncIterator]();
242
+ }
243
+ [Symbol.asyncIterator]() {
244
+ return this.iterate();
245
+ }
246
+ }
247
+ exports.Glob = Glob;
248
+ //# sourceMappingURL=glob.js.map