@modern-js/utils 1.3.6 → 1.3.7-alpha.prebundle.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (353) hide show
  1. package/.eslintrc.js +9 -0
  2. package/CHANGELOG.md +6 -0
  3. package/compiled/browserslist/index.d.ts +178 -0
  4. package/compiled/browserslist/index.js +1 -0
  5. package/compiled/browserslist/license +20 -0
  6. package/compiled/browserslist/package.json +1 -0
  7. package/compiled/chalk/index.d.ts +415 -0
  8. package/compiled/chalk/index.js +1 -0
  9. package/compiled/chalk/license +9 -0
  10. package/compiled/chalk/package.json +1 -0
  11. package/compiled/chokidar/anymatch/index.d.ts +19 -0
  12. package/compiled/chokidar/fsevents.node +0 -0
  13. package/compiled/chokidar/index.js +40 -0
  14. package/compiled/chokidar/license +21 -0
  15. package/compiled/chokidar/package.json +1 -0
  16. package/compiled/chokidar/types/index.d.ts +188 -0
  17. package/compiled/commander/index.js +1 -0
  18. package/compiled/commander/license +22 -0
  19. package/compiled/commander/package.json +1 -0
  20. package/compiled/commander/typings/index.d.ts +774 -0
  21. package/compiled/debug/index.d.ts +54 -0
  22. package/compiled/debug/index.js +1 -0
  23. package/compiled/debug/license +20 -0
  24. package/compiled/debug/ms/index.d.ts +25 -0
  25. package/compiled/debug/package.json +1 -0
  26. package/compiled/execa/index.d.ts +564 -0
  27. package/compiled/execa/index.js +1 -0
  28. package/compiled/execa/license +9 -0
  29. package/compiled/execa/package.json +1 -0
  30. package/compiled/filesize/filesize.d.ts +131 -0
  31. package/compiled/filesize/index.js +9 -0
  32. package/compiled/filesize/license +28 -0
  33. package/compiled/filesize/package.json +1 -0
  34. package/compiled/fs-extra/index.d.ts +563 -0
  35. package/compiled/fs-extra/index.js +1 -0
  36. package/compiled/fs-extra/license +15 -0
  37. package/compiled/fs-extra/package.json +1 -0
  38. package/compiled/glob/index.d.ts +91 -0
  39. package/compiled/glob/index.js +1 -0
  40. package/compiled/glob/license +21 -0
  41. package/compiled/glob/minimatch/index.d.ts +204 -0
  42. package/compiled/glob/package.json +1 -0
  43. package/compiled/gzip-size/index.d.ts +96 -0
  44. package/compiled/gzip-size/index.js +1 -0
  45. package/compiled/gzip-size/license +9 -0
  46. package/compiled/gzip-size/package.json +1 -0
  47. package/compiled/import-lazy/index.d.ts +26 -0
  48. package/compiled/import-lazy/index.js +1 -0
  49. package/compiled/import-lazy/license +9 -0
  50. package/compiled/import-lazy/package.json +1 -0
  51. package/compiled/js-yaml/index.d.ts +154 -0
  52. package/compiled/js-yaml/index.js +1 -0
  53. package/compiled/js-yaml/license +21 -0
  54. package/compiled/js-yaml/package.json +1 -0
  55. package/compiled/lodash/common/array.d.ts +2126 -0
  56. package/compiled/lodash/common/collection.d.ts +1930 -0
  57. package/compiled/lodash/common/common.d.ts +280 -0
  58. package/compiled/lodash/common/date.d.ts +23 -0
  59. package/compiled/lodash/common/function.d.ts +1446 -0
  60. package/compiled/lodash/common/lang.d.ts +1693 -0
  61. package/compiled/lodash/common/math.d.ts +405 -0
  62. package/compiled/lodash/common/number.d.ts +131 -0
  63. package/compiled/lodash/common/object.d.ts +2519 -0
  64. package/compiled/lodash/common/seq.d.ts +210 -0
  65. package/compiled/lodash/common/string.d.ts +788 -0
  66. package/compiled/lodash/common/util.d.ts +1220 -0
  67. package/compiled/lodash/index.d.ts +46 -0
  68. package/compiled/lodash/index.js +9 -0
  69. package/compiled/lodash/license +47 -0
  70. package/compiled/lodash/package.json +1 -0
  71. package/compiled/pkg-up/index.d.ts +48 -0
  72. package/compiled/pkg-up/index.js +1 -0
  73. package/compiled/pkg-up/license +9 -0
  74. package/compiled/pkg-up/package.json +1 -0
  75. package/compiled/recursive-readdir/index.d.ts +21 -0
  76. package/compiled/recursive-readdir/index.js +1 -0
  77. package/compiled/recursive-readdir/license +21 -0
  78. package/compiled/recursive-readdir/package.json +1 -0
  79. package/compiled/signale/index.d.ts +162 -0
  80. package/compiled/signale/index.js +1 -0
  81. package/compiled/signale/package.json +1 -0
  82. package/compiled/strip-ansi/index.d.ts +17 -0
  83. package/compiled/strip-ansi/index.js +1 -0
  84. package/compiled/strip-ansi/license +9 -0
  85. package/compiled/strip-ansi/package.json +1 -0
  86. package/compiled/upath/index.js +1 -0
  87. package/compiled/upath/license +22 -0
  88. package/compiled/upath/package.json +1 -0
  89. package/compiled/upath/upath.d.ts +241 -0
  90. package/dist/{types/FileSizeReporter.d.ts → FileSizeReporter.d.ts} +5 -5
  91. package/dist/FileSizeReporter.js +151 -0
  92. package/dist/{types/alias.d.ts → alias.d.ts} +12 -14
  93. package/dist/alias.js +62 -0
  94. package/dist/applyOptionsChain.d.ts +6 -0
  95. package/dist/applyOptionsChain.js +30 -0
  96. package/dist/clearConsole.d.ts +1 -0
  97. package/dist/clearConsole.js +9 -0
  98. package/dist/{types/compatRequire.d.ts → compatRequire.d.ts} +1 -1
  99. package/dist/compatRequire.js +28 -0
  100. package/dist/compiled/upath/index.d.ts +225 -0
  101. package/dist/compiled/upath/index.js +1 -0
  102. package/dist/compiled.d.ts +21 -0
  103. package/dist/compiled.js +33 -0
  104. package/dist/constants.d.ts +209 -0
  105. package/dist/constants.js +264 -0
  106. package/dist/{js/modern/debug.js → debug.d.ts} +1 -3
  107. package/dist/debug.js +11 -0
  108. package/dist/emptyDir.d.ts +1 -0
  109. package/dist/emptyDir.js +19 -0
  110. package/dist/{types/ensureAbsolutePath.d.ts → ensureAbsolutePath.d.ts} +1 -1
  111. package/dist/ensureAbsolutePath.js +15 -0
  112. package/dist/{types/findExists.d.ts → findExists.d.ts} +1 -1
  113. package/dist/findExists.js +21 -0
  114. package/dist/{types/format.d.ts → format.d.ts} +5 -5
  115. package/dist/format.js +113 -0
  116. package/dist/{types/generateMetaTags.d.ts → generateMetaTags.d.ts} +3 -3
  117. package/dist/generateMetaTags.js +48 -0
  118. package/dist/{types/getBrowserslist.d.ts → getBrowserslist.d.ts} +1 -1
  119. package/dist/getBrowserslist.js +7 -0
  120. package/dist/{types/getCacheIdentifier.d.ts → getCacheIdentifier.d.ts} +3 -3
  121. package/dist/getCacheIdentifier.js +24 -0
  122. package/dist/{types/getEntryOptions.d.ts → getEntryOptions.d.ts} +1 -1
  123. package/dist/getEntryOptions.js +26 -0
  124. package/dist/{types/getPackageManager.d.ts → getPackageManager.d.ts} +1 -1
  125. package/dist/getPackageManager.js +47 -0
  126. package/dist/{types/getPort.d.ts → getPort.d.ts} +1 -1
  127. package/dist/getPort.js +62 -0
  128. package/dist/{types/import.d.ts → import.d.ts} +2 -2
  129. package/dist/import.js +10 -0
  130. package/dist/index.d.ts +31 -0
  131. package/dist/index.js +43 -0
  132. package/dist/{types/is → is}/index.d.ts +1 -4
  133. package/dist/is/index.js +82 -0
  134. package/dist/{types/is → is}/node-env.d.ts +1 -1
  135. package/dist/is/node-env.js +12 -0
  136. package/dist/is/platform.d.ts +2 -0
  137. package/dist/is/platform.js +10 -0
  138. package/dist/{types/is → is}/type.d.ts +1 -1
  139. package/dist/is/type.js +38 -0
  140. package/dist/logger.d.ts +63 -0
  141. package/dist/logger.js +128 -0
  142. package/dist/{types/monorepo.d.ts → monorepo.d.ts} +3 -3
  143. package/dist/monorepo.js +80 -0
  144. package/dist/{types/nodeEnv.d.ts → nodeEnv.d.ts} +1 -1
  145. package/dist/nodeEnv.js +49 -0
  146. package/dist/{types/path.d.ts → path.d.ts} +1 -1
  147. package/dist/path.js +14 -0
  148. package/dist/{types/pkgUp.d.ts → pkgUp.d.ts} +1 -1
  149. package/dist/pkgUp.js +8 -0
  150. package/dist/{types/prettyInstructions.d.ts → prettyInstructions.d.ts} +2 -2
  151. package/dist/prettyInstructions.js +64 -0
  152. package/dist/{types/printBuildError.d.ts → printBuildError.d.ts} +1 -1
  153. package/dist/printBuildError.js +43 -0
  154. package/dist/{types/readTsConfig.d.ts → readTsConfig.d.ts} +1 -1
  155. package/dist/readTsConfig.js +19 -0
  156. package/dist/{types/removeSlash.d.ts → removeSlash.d.ts} +1 -1
  157. package/dist/removeSlash.js +9 -0
  158. package/dist/{types/runtimeExports.d.ts → runtimeExports.d.ts} +3 -3
  159. package/dist/runtimeExports.js +53 -0
  160. package/dist/src/FileSizeReporter.d.ts +16 -0
  161. package/dist/src/FileSizeReporter.js +152 -0
  162. package/dist/src/alias.d.ts +21 -0
  163. package/dist/src/alias.js +62 -0
  164. package/dist/src/applyOptionsChain.d.ts +6 -0
  165. package/dist/src/applyOptionsChain.js +30 -0
  166. package/dist/src/clearConsole.d.ts +1 -0
  167. package/dist/src/clearConsole.js +9 -0
  168. package/dist/src/compatRequire.d.ts +8 -0
  169. package/dist/src/compatRequire.js +28 -0
  170. package/dist/src/compiled.d.ts +7 -0
  171. package/dist/src/compiled.js +19 -0
  172. package/dist/src/constants.d.ts +209 -0
  173. package/dist/src/constants.js +264 -0
  174. package/dist/{types → src}/debug.d.ts +1 -2
  175. package/dist/src/debug.js +14 -0
  176. package/dist/src/emptyDir.d.ts +1 -0
  177. package/dist/src/emptyDir.js +22 -0
  178. package/dist/{js/modern/ensureAbsolutePath.js → src/ensureAbsolutePath.d.ts} +1 -3
  179. package/dist/src/ensureAbsolutePath.js +15 -0
  180. package/dist/src/findExists.d.ts +6 -0
  181. package/dist/src/findExists.js +21 -0
  182. package/dist/src/format.d.ts +16 -0
  183. package/dist/src/format.js +115 -0
  184. package/dist/src/generateMetaTags.d.ts +16 -0
  185. package/dist/src/generateMetaTags.js +48 -0
  186. package/dist/src/getBrowserslist.d.ts +2 -0
  187. package/dist/src/getBrowserslist.js +7 -0
  188. package/dist/src/getCacheIdentifier.d.ts +7 -0
  189. package/dist/src/getCacheIdentifier.js +24 -0
  190. package/dist/src/getEntryOptions.d.ts +1 -0
  191. package/dist/src/getEntryOptions.js +26 -0
  192. package/dist/src/getPackageManager.d.ts +1 -0
  193. package/dist/src/getPackageManager.js +47 -0
  194. package/dist/src/getPort.d.ts +7 -0
  195. package/dist/src/getPort.js +62 -0
  196. package/dist/src/import.d.ts +5 -0
  197. package/dist/src/import.js +10 -0
  198. package/dist/{types → src}/index.d.ts +2 -3
  199. package/dist/src/index.js +57 -0
  200. package/dist/src/is/index.d.ts +34 -0
  201. package/dist/src/is/index.js +82 -0
  202. package/dist/src/is/node-env.d.ts +4 -0
  203. package/dist/src/is/node-env.js +12 -0
  204. package/dist/src/is/platform.d.ts +2 -0
  205. package/dist/src/is/platform.js +10 -0
  206. package/dist/src/is/type.d.ts +8 -0
  207. package/dist/src/is/type.js +38 -0
  208. package/dist/src/logger.d.ts +63 -0
  209. package/dist/src/logger.js +129 -0
  210. package/dist/src/monorepo.d.ts +11 -0
  211. package/dist/src/monorepo.js +81 -0
  212. package/dist/src/nodeEnv.d.ts +3 -0
  213. package/dist/src/nodeEnv.js +52 -0
  214. package/dist/src/path.d.ts +3 -0
  215. package/dist/src/path.js +14 -0
  216. package/dist/src/prettyInstructions.d.ts +6 -0
  217. package/dist/src/prettyInstructions.js +64 -0
  218. package/dist/src/printBuildError.d.ts +8 -0
  219. package/dist/src/printBuildError.js +43 -0
  220. package/dist/src/readTsConfig.d.ts +2 -0
  221. package/dist/src/readTsConfig.js +19 -0
  222. package/dist/src/removeSlash.d.ts +3 -0
  223. package/dist/src/removeSlash.js +9 -0
  224. package/dist/src/runtimeExports.d.ts +4 -0
  225. package/dist/src/runtimeExports.js +53 -0
  226. package/dist/{types → src}/wait.d.ts +1 -1
  227. package/dist/src/wait.js +7 -0
  228. package/dist/{types → src}/watch.d.ts +3 -3
  229. package/dist/src/watch.js +65 -0
  230. package/dist/wait.d.ts +2 -0
  231. package/dist/wait.js +7 -0
  232. package/dist/watch.d.ts +8 -0
  233. package/dist/watch.js +64 -0
  234. package/jest.config.js +0 -1
  235. package/package.json +55 -39
  236. package/tests/debug.test.ts +2 -2
  237. package/tests/is.test.ts +27 -0
  238. package/tests/isPlatform.test.ts +19 -0
  239. package/tests/prettyInstructions.test.ts +1 -1
  240. package/tsconfig.json +3 -5
  241. package/dist/js/modern/FileSizeReporter.js +0 -156
  242. package/dist/js/modern/alias.js +0 -74
  243. package/dist/js/modern/applyOptionsChain.js +0 -27
  244. package/dist/js/modern/chalk.js +0 -2
  245. package/dist/js/modern/clearConsole.js +0 -5
  246. package/dist/js/modern/compatRequire.js +0 -26
  247. package/dist/js/modern/constants.js +0 -333
  248. package/dist/js/modern/emptyDir.js +0 -6
  249. package/dist/js/modern/findExists.js +0 -16
  250. package/dist/js/modern/format.js +0 -137
  251. package/dist/js/modern/generateMetaTags.js +0 -49
  252. package/dist/js/modern/getBrowserslist.js +0 -5
  253. package/dist/js/modern/getCacheIdentifier.js +0 -20
  254. package/dist/js/modern/getEntryOptions.js +0 -24
  255. package/dist/js/modern/getPackageManager.js +0 -37
  256. package/dist/js/modern/getPort.js +0 -52
  257. package/dist/js/modern/import.js +0 -11
  258. package/dist/js/modern/index.js +0 -34
  259. package/dist/js/modern/is/index.js +0 -77
  260. package/dist/js/modern/is/node-env.js +0 -5
  261. package/dist/js/modern/is/platform.js +0 -2
  262. package/dist/js/modern/is/type.js +0 -27
  263. package/dist/js/modern/logger.js +0 -152
  264. package/dist/js/modern/monorepo.js +0 -84
  265. package/dist/js/modern/nodeEnv.js +0 -31
  266. package/dist/js/modern/path.js +0 -5
  267. package/dist/js/modern/pkgUp.js +0 -2
  268. package/dist/js/modern/prettyInstructions.js +0 -79
  269. package/dist/js/modern/printBuildError.js +0 -40
  270. package/dist/js/modern/readTsConfig.js +0 -13
  271. package/dist/js/modern/removeSlash.js +0 -3
  272. package/dist/js/modern/runtimeExports.js +0 -52
  273. package/dist/js/modern/wait.js +0 -5
  274. package/dist/js/modern/watch.js +0 -43
  275. package/dist/js/node/FileSizeReporter.js +0 -175
  276. package/dist/js/node/alias.js +0 -97
  277. package/dist/js/node/applyOptionsChain.js +0 -37
  278. package/dist/js/node/chalk.js +0 -15
  279. package/dist/js/node/clearConsole.js +0 -14
  280. package/dist/js/node/compatRequire.js +0 -41
  281. package/dist/js/node/constants.js +0 -353
  282. package/dist/js/node/debug.js +0 -19
  283. package/dist/js/node/emptyDir.js +0 -18
  284. package/dist/js/node/ensureAbsolutePath.js +0 -20
  285. package/dist/js/node/findExists.js +0 -27
  286. package/dist/js/node/format.js +0 -141
  287. package/dist/js/node/generateMetaTags.js +0 -58
  288. package/dist/js/node/getBrowserslist.js +0 -17
  289. package/dist/js/node/getCacheIdentifier.js +0 -27
  290. package/dist/js/node/getEntryOptions.js +0 -35
  291. package/dist/js/node/getPackageManager.js +0 -51
  292. package/dist/js/node/getPort.js +0 -67
  293. package/dist/js/node/import.js +0 -19
  294. package/dist/js/node/index.js +0 -465
  295. package/dist/js/node/is/index.js +0 -150
  296. package/dist/js/node/is/node-env.js +0 -23
  297. package/dist/js/node/is/platform.js +0 -14
  298. package/dist/js/node/is/type.js +0 -48
  299. package/dist/js/node/logger.js +0 -162
  300. package/dist/js/node/monorepo.js +0 -118
  301. package/dist/js/node/nodeEnv.js +0 -45
  302. package/dist/js/node/path.js +0 -24
  303. package/dist/js/node/pkgUp.js +0 -15
  304. package/dist/js/node/prettyInstructions.js +0 -95
  305. package/dist/js/node/printBuildError.js +0 -52
  306. package/dist/js/node/readTsConfig.js +0 -28
  307. package/dist/js/node/removeSlash.js +0 -18
  308. package/dist/js/node/runtimeExports.js +0 -68
  309. package/dist/js/node/wait.js +0 -12
  310. package/dist/js/node/watch.js +0 -61
  311. package/dist/js/treeshaking/FileSizeReporter.js +0 -185
  312. package/dist/js/treeshaking/alias.js +0 -72
  313. package/dist/js/treeshaking/applyOptionsChain.js +0 -31
  314. package/dist/js/treeshaking/chalk.js +0 -2
  315. package/dist/js/treeshaking/clearConsole.js +0 -5
  316. package/dist/js/treeshaking/compatRequire.js +0 -29
  317. package/dist/js/treeshaking/constants.js +0 -333
  318. package/dist/js/treeshaking/debug.js +0 -10
  319. package/dist/js/treeshaking/emptyDir.js +0 -37
  320. package/dist/js/treeshaking/ensureAbsolutePath.js +0 -11
  321. package/dist/js/treeshaking/findExists.js +0 -33
  322. package/dist/js/treeshaking/format.js +0 -167
  323. package/dist/js/treeshaking/generateMetaTags.js +0 -55
  324. package/dist/js/treeshaking/getBrowserslist.js +0 -7
  325. package/dist/js/treeshaking/getCacheIdentifier.js +0 -35
  326. package/dist/js/treeshaking/getEntryOptions.js +0 -26
  327. package/dist/js/treeshaking/getPackageManager.js +0 -101
  328. package/dist/js/treeshaking/getPort.js +0 -103
  329. package/dist/js/treeshaking/import.js +0 -11
  330. package/dist/js/treeshaking/index.js +0 -34
  331. package/dist/js/treeshaking/is/index.js +0 -81
  332. package/dist/js/treeshaking/is/node-env.js +0 -13
  333. package/dist/js/treeshaking/is/platform.js +0 -6
  334. package/dist/js/treeshaking/is/type.js +0 -29
  335. package/dist/js/treeshaking/logger.js +0 -188
  336. package/dist/js/treeshaking/monorepo.js +0 -95
  337. package/dist/js/treeshaking/nodeEnv.js +0 -108
  338. package/dist/js/treeshaking/path.js +0 -11
  339. package/dist/js/treeshaking/pkgUp.js +0 -2
  340. package/dist/js/treeshaking/prettyInstructions.js +0 -100
  341. package/dist/js/treeshaking/printBuildError.js +0 -40
  342. package/dist/js/treeshaking/readTsConfig.js +0 -13
  343. package/dist/js/treeshaking/removeSlash.js +0 -9
  344. package/dist/js/treeshaking/runtimeExports.js +0 -61
  345. package/dist/js/treeshaking/wait.js +0 -8
  346. package/dist/js/treeshaking/watch.js +0 -112
  347. package/dist/types/applyOptionsChain.d.ts +0 -6
  348. package/dist/types/chalk.d.ts +0 -2
  349. package/dist/types/clearConsole.d.ts +0 -1
  350. package/dist/types/constants.d.ts +0 -219
  351. package/dist/types/emptyDir.d.ts +0 -1
  352. package/dist/types/is/platform.d.ts +0 -2
  353. package/dist/types/logger.d.ts +0 -63
@@ -0,0 +1,15 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2011-2017 JP Richardson
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
6
+ (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
7
+ merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11
+
12
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
13
+ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
14
+ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
15
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1 @@
1
+ {"name":"fs-extra","author":"JP Richardson <jprichardson@gmail.com>","version":"10.0.1","license":"MIT"}
@@ -0,0 +1,91 @@
1
+ // Type definitions for Glob 7.2
2
+ // Project: https://github.com/isaacs/node-glob
3
+ // Definitions by: vvakame <https://github.com/vvakame>
4
+ // voy <https://github.com/voy>
5
+ // Klaus Meinhardt <https://github.com/ajafff>
6
+ // Piotr Błażejewicz <https://github.com/peterblazejewicz>
7
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
8
+
9
+ /// <reference types="node" />
10
+
11
+ import events = require('events');
12
+ import minimatch = require('./minimatch');
13
+ import fs = require('fs');
14
+
15
+ declare function G(pattern: string, cb: (err: Error | null, matches: string[]) => void): G.IGlob;
16
+ declare function G(pattern: string, options: G.IOptions, cb: (err: Error | null, matches: string[]) => void): G.IGlob;
17
+
18
+ declare namespace G {
19
+ function __promisify__(pattern: string, options?: IOptions): Promise<string[]>;
20
+
21
+ function sync(pattern: string, options?: IOptions): string[];
22
+
23
+ function hasMagic(pattern: string, options?: IOptions): boolean;
24
+
25
+ let glob: typeof G;
26
+ let Glob: IGlobStatic;
27
+ let GlobSync: IGlobSyncStatic;
28
+
29
+ interface IOptions extends minimatch.IOptions {
30
+ cwd?: string | undefined;
31
+ root?: string | undefined;
32
+ dot?: boolean | undefined;
33
+ nomount?: boolean | undefined;
34
+ mark?: boolean | undefined;
35
+ nosort?: boolean | undefined;
36
+ stat?: boolean | undefined;
37
+ silent?: boolean | undefined;
38
+ strict?: boolean | undefined;
39
+ cache?: { [path: string]: boolean | 'DIR' | 'FILE' | ReadonlyArray<string> } | undefined;
40
+ statCache?: { [path: string]: false | { isDirectory(): boolean} | undefined } | undefined;
41
+ symlinks?: { [path: string]: boolean | undefined } | undefined;
42
+ realpathCache?: { [path: string]: string } | undefined;
43
+ sync?: boolean | undefined;
44
+ nounique?: boolean | undefined;
45
+ nonull?: boolean | undefined;
46
+ debug?: boolean | undefined;
47
+ nobrace?: boolean | undefined;
48
+ noglobstar?: boolean | undefined;
49
+ noext?: boolean | undefined;
50
+ nocase?: boolean | undefined;
51
+ matchBase?: any;
52
+ nodir?: boolean | undefined;
53
+ ignore?: string | ReadonlyArray<string> | undefined;
54
+ follow?: boolean | undefined;
55
+ realpath?: boolean | undefined;
56
+ nonegate?: boolean | undefined;
57
+ nocomment?: boolean | undefined;
58
+ absolute?: boolean | undefined;
59
+ fs?: typeof fs;
60
+ }
61
+
62
+ interface IGlobStatic extends events.EventEmitter {
63
+ new (pattern: string, cb?: (err: Error | null, matches: string[]) => void): IGlob;
64
+ new (pattern: string, options: IOptions, cb?: (err: Error | null, matches: string[]) => void): IGlob;
65
+ prototype: IGlob;
66
+ }
67
+
68
+ interface IGlobSyncStatic {
69
+ new (pattern: string, options?: IOptions): IGlobBase;
70
+ prototype: IGlobBase;
71
+ }
72
+
73
+ interface IGlobBase {
74
+ minimatch: minimatch.IMinimatch;
75
+ options: IOptions;
76
+ aborted: boolean;
77
+ cache: { [path: string]: boolean | 'DIR' | 'FILE' | ReadonlyArray<string> };
78
+ statCache: { [path: string]: false | { isDirectory(): boolean; } | undefined };
79
+ symlinks: { [path: string]: boolean | undefined };
80
+ realpathCache: { [path: string]: string };
81
+ found: string[];
82
+ }
83
+
84
+ interface IGlob extends IGlobBase, events.EventEmitter {
85
+ pause(): void;
86
+ resume(): void;
87
+ abort(): void;
88
+ }
89
+ }
90
+
91
+ export = G;
@@ -0,0 +1 @@
1
+ (()=>{var t={155:t=>{"use strict";t.exports=balanced;function balanced(t,e,r){if(t instanceof RegExp)t=maybeMatch(t,r);if(e instanceof RegExp)e=maybeMatch(e,r);var i=range(t,e,r);return i&&{start:i[0],end:i[1],pre:r.slice(0,i[0]),body:r.slice(i[0]+t.length,i[1]),post:r.slice(i[1]+e.length)}}function maybeMatch(t,e){var r=e.match(t);return r?r[0]:null}balanced.range=range;function range(t,e,r){var i,a,n,s,o;var c=r.indexOf(t);var h=r.indexOf(e,c+1);var l=c;if(c>=0&&h>0){if(t===e){return[c,h]}i=[];n=r.length;while(l>=0&&!o){if(l==c){i.push(l);c=r.indexOf(t,l+1)}else if(i.length==1){o=[i.pop(),h]}else{a=i.pop();if(a<n){n=a;s=h}h=r.indexOf(e,l+1)}l=c<h&&c>=0?c:h}if(i.length){o=[n,s]}}return o}},847:(t,e,r)=>{var i=r(62);var a=r(155);t.exports=expandTop;var n="\0SLASH"+Math.random()+"\0";var s="\0OPEN"+Math.random()+"\0";var o="\0CLOSE"+Math.random()+"\0";var c="\0COMMA"+Math.random()+"\0";var h="\0PERIOD"+Math.random()+"\0";function numeric(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function escapeBraces(t){return t.split("\\\\").join(n).split("\\{").join(s).split("\\}").join(o).split("\\,").join(c).split("\\.").join(h)}function unescapeBraces(t){return t.split(n).join("\\").split(s).join("{").split(o).join("}").split(c).join(",").split(h).join(".")}function parseCommaParts(t){if(!t)return[""];var e=[];var r=a("{","}",t);if(!r)return t.split(",");var i=r.pre;var n=r.body;var s=r.post;var o=i.split(",");o[o.length-1]+="{"+n+"}";var c=parseCommaParts(s);if(s.length){o[o.length-1]+=c.shift();o.push.apply(o,c)}e.push.apply(e,o);return e}function expandTop(t){if(!t)return[];if(t.substr(0,2)==="{}"){t="\\{\\}"+t.substr(2)}return expand(escapeBraces(t),true).map(unescapeBraces)}function identity(t){return t}function embrace(t){return"{"+t+"}"}function isPadded(t){return/^-?0\d/.test(t)}function lte(t,e){return t<=e}function gte(t,e){return t>=e}function expand(t,e){var r=[];var n=a("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var s=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body);var c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body);var h=s||c;var l=n.body.indexOf(",")>=0;if(!h&&!l){if(n.post.match(/,.*\}/)){t=n.pre+"{"+n.body+o+n.post;return expand(t)}return[t]}var u;if(h){u=n.body.split(/\.\./)}else{u=parseCommaParts(n.body);if(u.length===1){u=expand(u[0],false).map(embrace);if(u.length===1){var p=n.post.length?expand(n.post,false):[""];return p.map((function(t){return n.pre+u[0]+t}))}}}var v=n.pre;var p=n.post.length?expand(n.post,false):[""];var d;if(h){var m=numeric(u[0]);var b=numeric(u[1]);var g=Math.max(u[0].length,u[1].length);var y=u.length==3?Math.abs(numeric(u[2])):1;var _=lte;var w=b<m;if(w){y*=-1;_=gte}var k=u.some(isPadded);d=[];for(var S=m;_(S,b);S+=y){var E;if(c){E=String.fromCharCode(S);if(E==="\\")E=""}else{E=String(S);if(k){var O=g-E.length;if(O>0){var x=new Array(O+1).join("0");if(S<0)E="-"+x+E.slice(1);else E=x+E}}}d.push(E)}}else{d=i(u,(function(t){return expand(t,false)}))}for(var A=0;A<d.length;A++){for(var G=0;G<p.length;G++){var j=v+d[A]+p[G];if(!e||h||j)r.push(j)}}return r}},62:t=>{t.exports=function(t,r){var i=[];for(var a=0;a<t.length;a++){var n=r(t[a],a);if(e(n))i.push.apply(i,n);else i.push(n)}return i};var e=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}},737:(t,e,r)=>{t.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var i=r(147);var a=i.realpath;var n=i.realpathSync;var s=process.version;var o=/^v[0-5]\./.test(s);var c=r(613);function newError(t){return t&&t.syscall==="realpath"&&(t.code==="ELOOP"||t.code==="ENOMEM"||t.code==="ENAMETOOLONG")}function realpath(t,e,r){if(o){return a(t,e,r)}if(typeof e==="function"){r=e;e=null}a(t,e,(function(i,a){if(newError(i)){c.realpath(t,e,r)}else{r(i,a)}}))}function realpathSync(t,e){if(o){return n(t,e)}try{return n(t,e)}catch(r){if(newError(r)){return c.realpathSync(t,e)}else{throw r}}}function monkeypatch(){i.realpath=realpath;i.realpathSync=realpathSync}function unmonkeypatch(){i.realpath=a;i.realpathSync=n}},613:(t,e,r)=>{var i=r(17);var a=process.platform==="win32";var n=r(147);var s=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var t;if(s){var e=new Error;t=debugCallback}else t=missingCallback;return t;function debugCallback(t){if(t){e.message=t.message;t=e;missingCallback(t)}}function missingCallback(t){if(t){if(process.throwDeprecation)throw t;else if(!process.noDeprecation){var e="fs: missing callback "+(t.stack||t.message);if(process.traceDeprecation)console.trace(e);else console.error(e)}}}}function maybeCallback(t){return typeof t==="function"?t:rethrow()}var o=i.normalize;if(a){var c=/(.*?)(?:[\/\\]+|$)/g}else{var c=/(.*?)(?:[\/]+|$)/g}if(a){var h=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/}else{var h=/^[\/]*/}e.realpathSync=function realpathSync(t,e){t=i.resolve(t);if(e&&Object.prototype.hasOwnProperty.call(e,t)){return e[t]}var r=t,s={},o={};var l;var u;var p;var v;start();function start(){var e=h.exec(t);l=e[0].length;u=e[0];p=e[0];v="";if(a&&!o[p]){n.lstatSync(p);o[p]=true}}while(l<t.length){c.lastIndex=l;var d=c.exec(t);v=u;u+=d[0];p=v+d[1];l=c.lastIndex;if(o[p]||e&&e[p]===p){continue}var m;if(e&&Object.prototype.hasOwnProperty.call(e,p)){m=e[p]}else{var b=n.lstatSync(p);if(!b.isSymbolicLink()){o[p]=true;if(e)e[p]=p;continue}var g=null;if(!a){var y=b.dev.toString(32)+":"+b.ino.toString(32);if(s.hasOwnProperty(y)){g=s[y]}}if(g===null){n.statSync(p);g=n.readlinkSync(p)}m=i.resolve(v,g);if(e)e[p]=m;if(!a)s[y]=g}t=i.resolve(m,t.slice(l));start()}if(e)e[r]=t;return t};e.realpath=function realpath(t,e,r){if(typeof r!=="function"){r=maybeCallback(e);e=null}t=i.resolve(t);if(e&&Object.prototype.hasOwnProperty.call(e,t)){return process.nextTick(r.bind(null,null,e[t]))}var s=t,o={},l={};var u;var p;var v;var d;start();function start(){var e=h.exec(t);u=e[0].length;p=e[0];v=e[0];d="";if(a&&!l[v]){n.lstat(v,(function(t){if(t)return r(t);l[v]=true;LOOP()}))}else{process.nextTick(LOOP)}}function LOOP(){if(u>=t.length){if(e)e[s]=t;return r(null,t)}c.lastIndex=u;var i=c.exec(t);d=p;p+=i[0];v=d+i[1];u=c.lastIndex;if(l[v]||e&&e[v]===v){return process.nextTick(LOOP)}if(e&&Object.prototype.hasOwnProperty.call(e,v)){return gotResolvedLink(e[v])}return n.lstat(v,gotStat)}function gotStat(t,i){if(t)return r(t);if(!i.isSymbolicLink()){l[v]=true;if(e)e[v]=v;return process.nextTick(LOOP)}if(!a){var s=i.dev.toString(32)+":"+i.ino.toString(32);if(o.hasOwnProperty(s)){return gotTarget(null,o[s],v)}}n.stat(v,(function(t){if(t)return r(t);n.readlink(v,(function(t,e){if(!a)o[s]=e;gotTarget(t,e)}))}))}function gotTarget(t,a,n){if(t)return r(t);var s=i.resolve(d,a);if(e)e[n]=s;gotResolvedLink(s)}function gotResolvedLink(e){t=i.resolve(e,t.slice(u));start()}}},875:(t,e,r)=>{e.setopts=setopts;e.ownProp=ownProp;e.makeAbs=makeAbs;e.finish=finish;e.mark=mark;e.isIgnored=isIgnored;e.childrenIgnored=childrenIgnored;function ownProp(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var i=r(147);var a=r(17);var n=r(435);var s=r(249);var o=n.Minimatch;function alphasort(t,e){return t.localeCompare(e,"en")}function setupIgnores(t,e){t.ignore=e.ignore||[];if(!Array.isArray(t.ignore))t.ignore=[t.ignore];if(t.ignore.length){t.ignore=t.ignore.map(ignoreMap)}}function ignoreMap(t){var e=null;if(t.slice(-3)==="/**"){var r=t.replace(/(\/\*\*)+$/,"");e=new o(r,{dot:true})}return{matcher:new o(t,{dot:true}),gmatcher:e}}function setopts(t,e,r){if(!r)r={};if(r.matchBase&&-1===e.indexOf("/")){if(r.noglobstar){throw new Error("base matching requires globstar")}e="**/"+e}t.silent=!!r.silent;t.pattern=e;t.strict=r.strict!==false;t.realpath=!!r.realpath;t.realpathCache=r.realpathCache||Object.create(null);t.follow=!!r.follow;t.dot=!!r.dot;t.mark=!!r.mark;t.nodir=!!r.nodir;if(t.nodir)t.mark=true;t.sync=!!r.sync;t.nounique=!!r.nounique;t.nonull=!!r.nonull;t.nosort=!!r.nosort;t.nocase=!!r.nocase;t.stat=!!r.stat;t.noprocess=!!r.noprocess;t.absolute=!!r.absolute;t.fs=r.fs||i;t.maxLength=r.maxLength||Infinity;t.cache=r.cache||Object.create(null);t.statCache=r.statCache||Object.create(null);t.symlinks=r.symlinks||Object.create(null);setupIgnores(t,r);t.changedCwd=false;var n=process.cwd();if(!ownProp(r,"cwd"))t.cwd=n;else{t.cwd=a.resolve(r.cwd);t.changedCwd=t.cwd!==n}t.root=r.root||a.resolve(t.cwd,"/");t.root=a.resolve(t.root);if(process.platform==="win32")t.root=t.root.replace(/\\/g,"/");t.cwdAbs=s(t.cwd)?t.cwd:makeAbs(t,t.cwd);if(process.platform==="win32")t.cwdAbs=t.cwdAbs.replace(/\\/g,"/");t.nomount=!!r.nomount;r.nonegate=true;r.nocomment=true;t.minimatch=new o(e,r);t.options=t.minimatch.options}function finish(t){var e=t.nounique;var r=e?[]:Object.create(null);for(var i=0,a=t.matches.length;i<a;i++){var n=t.matches[i];if(!n||Object.keys(n).length===0){if(t.nonull){var s=t.minimatch.globSet[i];if(e)r.push(s);else r[s]=true}}else{var o=Object.keys(n);if(e)r.push.apply(r,o);else o.forEach((function(t){r[t]=true}))}}if(!e)r=Object.keys(r);if(!t.nosort)r=r.sort(alphasort);if(t.mark){for(var i=0;i<r.length;i++){r[i]=t._mark(r[i])}if(t.nodir){r=r.filter((function(e){var r=!/\/$/.test(e);var i=t.cache[e]||t.cache[makeAbs(t,e)];if(r&&i)r=i!=="DIR"&&!Array.isArray(i);return r}))}}if(t.ignore.length)r=r.filter((function(e){return!isIgnored(t,e)}));t.found=r}function mark(t,e){var r=makeAbs(t,e);var i=t.cache[r];var a=e;if(i){var n=i==="DIR"||Array.isArray(i);var s=e.slice(-1)==="/";if(n&&!s)a+="/";else if(!n&&s)a=a.slice(0,-1);if(a!==e){var o=makeAbs(t,a);t.statCache[o]=t.statCache[r];t.cache[o]=t.cache[r]}}return a}function makeAbs(t,e){var r=e;if(e.charAt(0)==="/"){r=a.join(t.root,e)}else if(s(e)||e===""){r=e}else if(t.changedCwd){r=a.resolve(t.cwd,e)}else{r=a.resolve(e)}if(process.platform==="win32")r=r.replace(/\\/g,"/");return r}function isIgnored(t,e){if(!t.ignore.length)return false;return t.ignore.some((function(t){return t.matcher.match(e)||!!(t.gmatcher&&t.gmatcher.match(e))}))}function childrenIgnored(t,e){if(!t.ignore.length)return false;return t.ignore.some((function(t){return!!(t.gmatcher&&t.gmatcher.match(e))}))}},978:(t,e,r)=>{t.exports=glob;var i=r(737);var a=r(435);var n=a.Minimatch;var s=r(315);var o=r(361).EventEmitter;var c=r(17);var h=r(491);var l=r(249);var u=r(19);var p=r(875);var v=p.setopts;var d=p.ownProp;var m=r(900);var b=r(837);var g=p.childrenIgnored;var y=p.isIgnored;var _=r(556);function glob(t,e,r){if(typeof e==="function")r=e,e={};if(!e)e={};if(e.sync){if(r)throw new TypeError("callback provided to sync glob");return u(t,e)}return new Glob(t,e,r)}glob.sync=u;var w=glob.GlobSync=u.GlobSync;glob.glob=glob;function extend(t,e){if(e===null||typeof e!=="object"){return t}var r=Object.keys(e);var i=r.length;while(i--){t[r[i]]=e[r[i]]}return t}glob.hasMagic=function(t,e){var r=extend({},e);r.noprocess=true;var i=new Glob(t,r);var a=i.minimatch.set;if(!t)return false;if(a.length>1)return true;for(var n=0;n<a[0].length;n++){if(typeof a[0][n]!=="string")return true}return false};glob.Glob=Glob;s(Glob,o);function Glob(t,e,r){if(typeof e==="function"){r=e;e=null}if(e&&e.sync){if(r)throw new TypeError("callback provided to sync glob");return new w(t,e)}if(!(this instanceof Glob))return new Glob(t,e,r);v(this,t,e);this._didRealPath=false;var i=this.minimatch.set.length;this.matches=new Array(i);if(typeof r==="function"){r=_(r);this.on("error",r);this.on("end",(function(t){r(null,t)}))}var a=this;this._processing=0;this._emitQueue=[];this._processQueue=[];this.paused=false;if(this.noprocess)return this;if(i===0)return done();var n=true;for(var s=0;s<i;s++){this._process(this.minimatch.set[s],s,false,done)}n=false;function done(){--a._processing;if(a._processing<=0){if(n){process.nextTick((function(){a._finish()}))}else{a._finish()}}}}Glob.prototype._finish=function(){h(this instanceof Glob);if(this.aborted)return;if(this.realpath&&!this._didRealpath)return this._realpath();p.finish(this);this.emit("end",this.found)};Glob.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=true;var t=this.matches.length;if(t===0)return this._finish();var e=this;for(var r=0;r<this.matches.length;r++)this._realpathSet(r,next);function next(){if(--t===0)e._finish()}};Glob.prototype._realpathSet=function(t,e){var r=this.matches[t];if(!r)return e();var a=Object.keys(r);var n=this;var s=a.length;if(s===0)return e();var o=this.matches[t]=Object.create(null);a.forEach((function(r,a){r=n._makeAbs(r);i.realpath(r,n.realpathCache,(function(i,a){if(!i)o[a]=true;else if(i.syscall==="stat")o[r]=true;else n.emit("error",i);if(--s===0){n.matches[t]=o;e()}}))}))};Glob.prototype._mark=function(t){return p.mark(this,t)};Glob.prototype._makeAbs=function(t){return p.makeAbs(this,t)};Glob.prototype.abort=function(){this.aborted=true;this.emit("abort")};Glob.prototype.pause=function(){if(!this.paused){this.paused=true;this.emit("pause")}};Glob.prototype.resume=function(){if(this.paused){this.emit("resume");this.paused=false;if(this._emitQueue.length){var t=this._emitQueue.slice(0);this._emitQueue.length=0;for(var e=0;e<t.length;e++){var r=t[e];this._emitMatch(r[0],r[1])}}if(this._processQueue.length){var i=this._processQueue.slice(0);this._processQueue.length=0;for(var e=0;e<i.length;e++){var a=i[e];this._processing--;this._process(a[0],a[1],a[2],a[3])}}}};Glob.prototype._process=function(t,e,r,i){h(this instanceof Glob);h(typeof i==="function");if(this.aborted)return;this._processing++;if(this.paused){this._processQueue.push([t,e,r,i]);return}var n=0;while(typeof t[n]==="string"){n++}var s;switch(n){case t.length:this._processSimple(t.join("/"),e,i);return;case 0:s=null;break;default:s=t.slice(0,n).join("/");break}var o=t.slice(n);var c;if(s===null)c=".";else if(l(s)||l(t.join("/"))){if(!s||!l(s))s="/"+s;c=s}else c=s;var u=this._makeAbs(c);if(g(this,c))return i();var p=o[0]===a.GLOBSTAR;if(p)this._processGlobStar(s,c,u,o,e,r,i);else this._processReaddir(s,c,u,o,e,r,i)};Glob.prototype._processReaddir=function(t,e,r,i,a,n,s){var o=this;this._readdir(r,n,(function(c,h){return o._processReaddir2(t,e,r,i,a,n,h,s)}))};Glob.prototype._processReaddir2=function(t,e,r,i,a,n,s,o){if(!s)return o();var h=i[0];var l=!!this.minimatch.negate;var u=h._glob;var p=this.dot||u.charAt(0)===".";var v=[];for(var d=0;d<s.length;d++){var m=s[d];if(m.charAt(0)!=="."||p){var b;if(l&&!t){b=!m.match(h)}else{b=m.match(h)}if(b)v.push(m)}}var g=v.length;if(g===0)return o();if(i.length===1&&!this.mark&&!this.stat){if(!this.matches[a])this.matches[a]=Object.create(null);for(var d=0;d<g;d++){var m=v[d];if(t){if(t!=="/")m=t+"/"+m;else m=t+m}if(m.charAt(0)==="/"&&!this.nomount){m=c.join(this.root,m)}this._emitMatch(a,m)}return o()}i.shift();for(var d=0;d<g;d++){var m=v[d];var y;if(t){if(t!=="/")m=t+"/"+m;else m=t+m}this._process([m].concat(i),a,n,o)}o()};Glob.prototype._emitMatch=function(t,e){if(this.aborted)return;if(y(this,e))return;if(this.paused){this._emitQueue.push([t,e]);return}var r=l(e)?e:this._makeAbs(e);if(this.mark)e=this._mark(e);if(this.absolute)e=r;if(this.matches[t][e])return;if(this.nodir){var i=this.cache[r];if(i==="DIR"||Array.isArray(i))return}this.matches[t][e]=true;var a=this.statCache[r];if(a)this.emit("stat",e,a);this.emit("match",e)};Glob.prototype._readdirInGlobStar=function(t,e){if(this.aborted)return;if(this.follow)return this._readdir(t,false,e);var r="lstat\0"+t;var i=this;var a=m(r,lstatcb_);if(a)i.fs.lstat(t,a);function lstatcb_(r,a){if(r&&r.code==="ENOENT")return e();var n=a&&a.isSymbolicLink();i.symlinks[t]=n;if(!n&&a&&!a.isDirectory()){i.cache[t]="FILE";e()}else i._readdir(t,false,e)}};Glob.prototype._readdir=function(t,e,r){if(this.aborted)return;r=m("readdir\0"+t+"\0"+e,r);if(!r)return;if(e&&!d(this.symlinks,t))return this._readdirInGlobStar(t,r);if(d(this.cache,t)){var i=this.cache[t];if(!i||i==="FILE")return r();if(Array.isArray(i))return r(null,i)}var a=this;a.fs.readdir(t,readdirCb(this,t,r))};function readdirCb(t,e,r){return function(i,a){if(i)t._readdirError(e,i,r);else t._readdirEntries(e,a,r)}}Glob.prototype._readdirEntries=function(t,e,r){if(this.aborted)return;if(!this.mark&&!this.stat){for(var i=0;i<e.length;i++){var a=e[i];if(t==="/")a=t+a;else a=t+"/"+a;this.cache[a]=true}}this.cache[t]=e;return r(null,e)};Glob.prototype._readdirError=function(t,e,r){if(this.aborted)return;switch(e.code){case"ENOTSUP":case"ENOTDIR":var i=this._makeAbs(t);this.cache[i]="FILE";if(i===this.cwdAbs){var a=new Error(e.code+" invalid cwd "+this.cwd);a.path=this.cwd;a.code=e.code;this.emit("error",a);this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=false;break;default:this.cache[this._makeAbs(t)]=false;if(this.strict){this.emit("error",e);this.abort()}if(!this.silent)console.error("glob error",e);break}return r()};Glob.prototype._processGlobStar=function(t,e,r,i,a,n,s){var o=this;this._readdir(r,n,(function(c,h){o._processGlobStar2(t,e,r,i,a,n,h,s)}))};Glob.prototype._processGlobStar2=function(t,e,r,i,a,n,s,o){if(!s)return o();var c=i.slice(1);var h=t?[t]:[];var l=h.concat(c);this._process(l,a,false,o);var u=this.symlinks[r];var p=s.length;if(u&&n)return o();for(var v=0;v<p;v++){var d=s[v];if(d.charAt(0)==="."&&!this.dot)continue;var m=h.concat(s[v],c);this._process(m,a,true,o);var b=h.concat(s[v],i);this._process(b,a,true,o)}o()};Glob.prototype._processSimple=function(t,e,r){var i=this;this._stat(t,(function(a,n){i._processSimple2(t,e,a,n,r)}))};Glob.prototype._processSimple2=function(t,e,r,i,a){if(!this.matches[e])this.matches[e]=Object.create(null);if(!i)return a();if(t&&l(t)&&!this.nomount){var n=/[\/\\]$/.test(t);if(t.charAt(0)==="/"){t=c.join(this.root,t)}else{t=c.resolve(this.root,t);if(n)t+="/"}}if(process.platform==="win32")t=t.replace(/\\/g,"/");this._emitMatch(e,t);a()};Glob.prototype._stat=function(t,e){var r=this._makeAbs(t);var i=t.slice(-1)==="/";if(t.length>this.maxLength)return e();if(!this.stat&&d(this.cache,r)){var a=this.cache[r];if(Array.isArray(a))a="DIR";if(!i||a==="DIR")return e(null,a);if(i&&a==="FILE")return e()}var n;var s=this.statCache[r];if(s!==undefined){if(s===false)return e(null,s);else{var o=s.isDirectory()?"DIR":"FILE";if(i&&o==="FILE")return e();else return e(null,o,s)}}var c=this;var h=m("stat\0"+r,lstatcb_);if(h)c.fs.lstat(r,h);function lstatcb_(i,a){if(a&&a.isSymbolicLink()){return c.fs.stat(r,(function(i,n){if(i)c._stat2(t,r,null,a,e);else c._stat2(t,r,i,n,e)}))}else{c._stat2(t,r,i,a,e)}}};Glob.prototype._stat2=function(t,e,r,i,a){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR")){this.statCache[e]=false;return a()}var n=t.slice(-1)==="/";this.statCache[e]=i;if(e.slice(-1)==="/"&&i&&!i.isDirectory())return a(null,false,i);var s=true;if(i)s=i.isDirectory()?"DIR":"FILE";this.cache[e]=this.cache[e]||s;if(n&&s==="FILE")return a();return a(null,s,i)}},19:(t,e,r)=>{t.exports=globSync;globSync.GlobSync=GlobSync;var i=r(737);var a=r(435);var n=a.Minimatch;var s=r(978).Glob;var o=r(837);var c=r(17);var h=r(491);var l=r(249);var u=r(875);var p=u.setopts;var v=u.ownProp;var d=u.childrenIgnored;var m=u.isIgnored;function globSync(t,e){if(typeof e==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(t,e).found}function GlobSync(t,e){if(!t)throw new Error("must provide pattern");if(typeof e==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(t,e);p(this,t,e);if(this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var i=0;i<r;i++){this._process(this.minimatch.set[i],i,false)}this._finish()}GlobSync.prototype._finish=function(){h(this instanceof GlobSync);if(this.realpath){var t=this;this.matches.forEach((function(e,r){var a=t.matches[r]=Object.create(null);for(var n in e){try{n=t._makeAbs(n);var s=i.realpathSync(n,t.realpathCache);a[s]=true}catch(e){if(e.syscall==="stat")a[t._makeAbs(n)]=true;else throw e}}}))}u.finish(this)};GlobSync.prototype._process=function(t,e,r){h(this instanceof GlobSync);var i=0;while(typeof t[i]==="string"){i++}var n;switch(i){case t.length:this._processSimple(t.join("/"),e);return;case 0:n=null;break;default:n=t.slice(0,i).join("/");break}var s=t.slice(i);var o;if(n===null)o=".";else if(l(n)||l(t.join("/"))){if(!n||!l(n))n="/"+n;o=n}else o=n;var c=this._makeAbs(o);if(d(this,o))return;var u=s[0]===a.GLOBSTAR;if(u)this._processGlobStar(n,o,c,s,e,r);else this._processReaddir(n,o,c,s,e,r)};GlobSync.prototype._processReaddir=function(t,e,r,i,a,n){var s=this._readdir(r,n);if(!s)return;var o=i[0];var h=!!this.minimatch.negate;var l=o._glob;var u=this.dot||l.charAt(0)===".";var p=[];for(var v=0;v<s.length;v++){var d=s[v];if(d.charAt(0)!=="."||u){var m;if(h&&!t){m=!d.match(o)}else{m=d.match(o)}if(m)p.push(d)}}var b=p.length;if(b===0)return;if(i.length===1&&!this.mark&&!this.stat){if(!this.matches[a])this.matches[a]=Object.create(null);for(var v=0;v<b;v++){var d=p[v];if(t){if(t.slice(-1)!=="/")d=t+"/"+d;else d=t+d}if(d.charAt(0)==="/"&&!this.nomount){d=c.join(this.root,d)}this._emitMatch(a,d)}return}i.shift();for(var v=0;v<b;v++){var d=p[v];var g;if(t)g=[t,d];else g=[d];this._process(g.concat(i),a,n)}};GlobSync.prototype._emitMatch=function(t,e){if(m(this,e))return;var r=this._makeAbs(e);if(this.mark)e=this._mark(e);if(this.absolute){e=r}if(this.matches[t][e])return;if(this.nodir){var i=this.cache[r];if(i==="DIR"||Array.isArray(i))return}this.matches[t][e]=true;if(this.stat)this._stat(e)};GlobSync.prototype._readdirInGlobStar=function(t){if(this.follow)return this._readdir(t,false);var e;var r;var i;try{r=this.fs.lstatSync(t)}catch(t){if(t.code==="ENOENT"){return null}}var a=r&&r.isSymbolicLink();this.symlinks[t]=a;if(!a&&r&&!r.isDirectory())this.cache[t]="FILE";else e=this._readdir(t,false);return e};GlobSync.prototype._readdir=function(t,e){var r;if(e&&!v(this.symlinks,t))return this._readdirInGlobStar(t);if(v(this.cache,t)){var i=this.cache[t];if(!i||i==="FILE")return null;if(Array.isArray(i))return i}try{return this._readdirEntries(t,this.fs.readdirSync(t))}catch(e){this._readdirError(t,e);return null}};GlobSync.prototype._readdirEntries=function(t,e){if(!this.mark&&!this.stat){for(var r=0;r<e.length;r++){var i=e[r];if(t==="/")i=t+i;else i=t+"/"+i;this.cache[i]=true}}this.cache[t]=e;return e};GlobSync.prototype._readdirError=function(t,e){switch(e.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(t);this.cache[r]="FILE";if(r===this.cwdAbs){var i=new Error(e.code+" invalid cwd "+this.cwd);i.path=this.cwd;i.code=e.code;throw i}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=false;break;default:this.cache[this._makeAbs(t)]=false;if(this.strict)throw e;if(!this.silent)console.error("glob error",e);break}};GlobSync.prototype._processGlobStar=function(t,e,r,i,a,n){var s=this._readdir(r,n);if(!s)return;var o=i.slice(1);var c=t?[t]:[];var h=c.concat(o);this._process(h,a,false);var l=s.length;var u=this.symlinks[r];if(u&&n)return;for(var p=0;p<l;p++){var v=s[p];if(v.charAt(0)==="."&&!this.dot)continue;var d=c.concat(s[p],o);this._process(d,a,true);var m=c.concat(s[p],i);this._process(m,a,true)}};GlobSync.prototype._processSimple=function(t,e){var r=this._stat(t);if(!this.matches[e])this.matches[e]=Object.create(null);if(!r)return;if(t&&l(t)&&!this.nomount){var i=/[\/\\]$/.test(t);if(t.charAt(0)==="/"){t=c.join(this.root,t)}else{t=c.resolve(this.root,t);if(i)t+="/"}}if(process.platform==="win32")t=t.replace(/\\/g,"/");this._emitMatch(e,t)};GlobSync.prototype._stat=function(t){var e=this._makeAbs(t);var r=t.slice(-1)==="/";if(t.length>this.maxLength)return false;if(!this.stat&&v(this.cache,e)){var i=this.cache[e];if(Array.isArray(i))i="DIR";if(!r||i==="DIR")return i;if(r&&i==="FILE")return false}var a;var n=this.statCache[e];if(!n){var s;try{s=this.fs.lstatSync(e)}catch(t){if(t&&(t.code==="ENOENT"||t.code==="ENOTDIR")){this.statCache[e]=false;return false}}if(s&&s.isSymbolicLink()){try{n=this.fs.statSync(e)}catch(t){n=s}}else{n=s}}this.statCache[e]=n;var i=true;if(n)i=n.isDirectory()?"DIR":"FILE";this.cache[e]=this.cache[e]||i;if(r&&i==="FILE")return false;return i};GlobSync.prototype._mark=function(t){return u.mark(this,t)};GlobSync.prototype._makeAbs=function(t){return u.makeAbs(this,t)}},900:(t,e,r)=>{var i=r(928);var a=Object.create(null);var n=r(556);t.exports=i(inflight);function inflight(t,e){if(a[t]){a[t].push(e);return null}else{a[t]=[e];return makeres(t)}}function makeres(t){return n((function RES(){var e=a[t];var r=e.length;var i=slice(arguments);try{for(var n=0;n<r;n++){e[n].apply(null,i)}}finally{if(e.length>r){e.splice(0,r);process.nextTick((function(){RES.apply(null,i)}))}else{delete a[t]}}}))}function slice(t){var e=t.length;var r=[];for(var i=0;i<e;i++)r[i]=t[i];return r}},315:(t,e,r)=>{try{var i=r(837);if(typeof i.inherits!=="function")throw"";t.exports=i.inherits}catch(e){t.exports=r(959)}},959:t=>{if(typeof Object.create==="function"){t.exports=function inherits(t,e){if(e){t.super_=e;t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:false,writable:true,configurable:true}})}}}else{t.exports=function inherits(t,e){if(e){t.super_=e;var TempCtor=function(){};TempCtor.prototype=e.prototype;t.prototype=new TempCtor;t.prototype.constructor=t}}}},435:(t,e,r)=>{t.exports=minimatch;minimatch.Minimatch=Minimatch;var i={sep:"/"};try{i=r(17)}catch(t){}var a=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var n=r(847);var s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var o="[^/]";var c=o+"*?";var h="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var l="(?:(?!(?:\\/|^)\\.).)*?";var u=charSet("().*{}+?[]^$\\!");function charSet(t){return t.split("").reduce((function(t,e){t[e]=true;return t}),{})}var p=/\/+/;minimatch.filter=filter;function filter(t,e){e=e||{};return function(r,i,a){return minimatch(r,t,e)}}function ext(t,e){t=t||{};e=e||{};var r={};Object.keys(e).forEach((function(t){r[t]=e[t]}));Object.keys(t).forEach((function(e){r[e]=t[e]}));return r}minimatch.defaults=function(t){if(!t||!Object.keys(t).length)return minimatch;var e=minimatch;var r=function minimatch(r,i,a){return e.minimatch(r,i,ext(t,a))};r.Minimatch=function Minimatch(r,i){return new e.Minimatch(r,ext(t,i))};return r};Minimatch.defaults=function(t){if(!t||!Object.keys(t).length)return Minimatch;return minimatch.defaults(t).Minimatch};function minimatch(t,e,r){if(typeof e!=="string"){throw new TypeError("glob pattern string required")}if(!r)r={};if(!r.nocomment&&e.charAt(0)==="#"){return false}if(e.trim()==="")return t==="";return new Minimatch(e,r).match(t)}function Minimatch(t,e){if(!(this instanceof Minimatch)){return new Minimatch(t,e)}if(typeof t!=="string"){throw new TypeError("glob pattern string required")}if(!e)e={};t=t.trim();if(i.sep!=="/"){t=t.split(i.sep).join("/")}this.options=e;this.set=[];this.pattern=t;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){if(this._made)return;var t=this.pattern;var e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=true;return}if(!t){this.empty=true;return}this.parseNegate();var r=this.globSet=this.braceExpand();if(e.debug)this.debug=console.error;this.debug(this.pattern,r);r=this.globParts=r.map((function(t){return t.split(p)}));this.debug(this.pattern,r);r=r.map((function(t,e,r){return t.map(this.parse,this)}),this);this.debug(this.pattern,r);r=r.filter((function(t){return t.indexOf(false)===-1}));this.debug(this.pattern,r);this.set=r}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var t=this.pattern;var e=false;var r=this.options;var i=0;if(r.nonegate)return;for(var a=0,n=t.length;a<n&&t.charAt(a)==="!";a++){e=!e;i++}if(i)this.pattern=t.substr(i);this.negate=e}minimatch.braceExpand=function(t,e){return braceExpand(t,e)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(t,e){if(!e){if(this instanceof Minimatch){e=this.options}else{e={}}}t=typeof t==="undefined"?this.pattern:t;if(typeof t==="undefined"){throw new TypeError("undefined pattern")}if(e.nobrace||!t.match(/\{.*\}/)){return[t]}return n(t)}Minimatch.prototype.parse=parse;var v={};function parse(t,e){if(t.length>1024*64){throw new TypeError("pattern is too long")}var r=this.options;if(!r.noglobstar&&t==="**")return a;if(t==="")return"";var i="";var n=!!r.nocase;var h=false;var l=[];var p=[];var d;var m=false;var b=-1;var g=-1;var y=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var _=this;function clearStateChar(){if(d){switch(d){case"*":i+=c;n=true;break;case"?":i+=o;n=true;break;default:i+="\\"+d;break}_.debug("clearStateChar %j %j",d,i);d=false}}for(var w=0,k=t.length,S;w<k&&(S=t.charAt(w));w++){this.debug("%s\t%s %s %j",t,w,i,S);if(h&&u[S]){i+="\\"+S;h=false;continue}switch(S){case"/":return false;case"\\":clearStateChar();h=true;continue;case"?":case"*":case"+":case"@":case"!":this.debug("%s\t%s %s %j <-- stateChar",t,w,i,S);if(m){this.debug(" in class");if(S==="!"&&w===g+1)S="^";i+=S;continue}_.debug("call clearStateChar %j",d);clearStateChar();d=S;if(r.noext)clearStateChar();continue;case"(":if(m){i+="(";continue}if(!d){i+="\\(";continue}l.push({type:d,start:w-1,reStart:i.length,open:s[d].open,close:s[d].close});i+=d==="!"?"(?:(?!(?:":"(?:";this.debug("plType %j %j",d,i);d=false;continue;case")":if(m||!l.length){i+="\\)";continue}clearStateChar();n=true;var E=l.pop();i+=E.close;if(E.type==="!"){p.push(E)}E.reEnd=i.length;continue;case"|":if(m||!l.length||h){i+="\\|";h=false;continue}clearStateChar();i+="|";continue;case"[":clearStateChar();if(m){i+="\\"+S;continue}m=true;g=w;b=i.length;i+=S;continue;case"]":if(w===g+1||!m){i+="\\"+S;h=false;continue}if(m){var O=t.substring(g+1,w);try{RegExp("["+O+"]")}catch(t){var x=this.parse(O,v);i=i.substr(0,b)+"\\["+x[0]+"\\]";n=n||x[1];m=false;continue}}n=true;m=false;i+=S;continue;default:clearStateChar();if(h){h=false}else if(u[S]&&!(S==="^"&&m)){i+="\\"}i+=S}}if(m){O=t.substr(g+1);x=this.parse(O,v);i=i.substr(0,b)+"\\["+x[0];n=n||x[1]}for(E=l.pop();E;E=l.pop()){var A=i.slice(E.reStart+E.open.length);this.debug("setting tail",i,E);A=A.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(t,e,r){if(!r){r="\\"}return e+e+r+"|"}));this.debug("tail=%j\n %s",A,A,E,i);var G=E.type==="*"?c:E.type==="?"?o:"\\"+E.type;n=true;i=i.slice(0,E.reStart)+G+"\\("+A}clearStateChar();if(h){i+="\\\\"}var j=false;switch(i.charAt(0)){case".":case"[":case"(":j=true}for(var I=p.length-1;I>-1;I--){var M=p[I];var C=i.slice(0,M.reStart);var L=i.slice(M.reStart,M.reEnd-8);var R=i.slice(M.reEnd-8,M.reEnd);var T=i.slice(M.reEnd);R+=T;var N=C.split("(").length-1;var P=T;for(w=0;w<N;w++){P=P.replace(/\)[+*?]?/,"")}T=P;var D="";if(T===""&&e!==v){D="$"}var $=C+L+T+D+R;i=$}if(i!==""&&n){i="(?=.)"+i}if(j){i=y+i}if(e===v){return[i,n]}if(!n){return globUnescape(t)}var F=r.nocase?"i":"";try{var q=new RegExp("^"+i+"$",F)}catch(t){return new RegExp("$.")}q._glob=t;q._src=i;return q}minimatch.makeRe=function(t,e){return new Minimatch(t,e||{}).makeRe()};Minimatch.prototype.makeRe=makeRe;function makeRe(){if(this.regexp||this.regexp===false)return this.regexp;var t=this.set;if(!t.length){this.regexp=false;return this.regexp}var e=this.options;var r=e.noglobstar?c:e.dot?h:l;var i=e.nocase?"i":"";var n=t.map((function(t){return t.map((function(t){return t===a?r:typeof t==="string"?regExpEscape(t):t._src})).join("\\/")})).join("|");n="^(?:"+n+")$";if(this.negate)n="^(?!"+n+").*$";try{this.regexp=new RegExp(n,i)}catch(t){this.regexp=false}return this.regexp}minimatch.match=function(t,e,r){r=r||{};var i=new Minimatch(e,r);t=t.filter((function(t){return i.match(t)}));if(i.options.nonull&&!t.length){t.push(e)}return t};Minimatch.prototype.match=match;function match(t,e){this.debug("match",t,this.pattern);if(this.comment)return false;if(this.empty)return t==="";if(t==="/"&&e)return true;var r=this.options;if(i.sep!=="/"){t=t.split(i.sep).join("/")}t=t.split(p);this.debug(this.pattern,"split",t);var a=this.set;this.debug(this.pattern,"set",a);var n;var s;for(s=t.length-1;s>=0;s--){n=t[s];if(n)break}for(s=0;s<a.length;s++){var o=a[s];var c=t;if(r.matchBase&&o.length===1){c=[n]}var h=this.matchOne(c,o,e);if(h){if(r.flipNegate)return true;return!this.negate}}if(r.flipNegate)return false;return this.negate}Minimatch.prototype.matchOne=function(t,e,r){var i=this.options;this.debug("matchOne",{this:this,file:t,pattern:e});this.debug("matchOne",t.length,e.length);for(var n=0,s=0,o=t.length,c=e.length;n<o&&s<c;n++,s++){this.debug("matchOne loop");var h=e[s];var l=t[n];this.debug(e,h,l);if(h===false)return false;if(h===a){this.debug("GLOBSTAR",[e,h,l]);var u=n;var p=s+1;if(p===c){this.debug("** at the end");for(;n<o;n++){if(t[n]==="."||t[n]===".."||!i.dot&&t[n].charAt(0)===".")return false}return true}while(u<o){var v=t[u];this.debug("\nglobstar while",t,u,e,p,v);if(this.matchOne(t.slice(u),e.slice(p),r)){this.debug("globstar found match!",u,o,v);return true}else{if(v==="."||v===".."||!i.dot&&v.charAt(0)==="."){this.debug("dot detected!",t,u,e,p);break}this.debug("globstar swallow a segment, and continue");u++}}if(r){this.debug("\n>>> no match, partial?",t,u,e,p);if(u===o)return true}return false}var d;if(typeof h==="string"){if(i.nocase){d=l.toLowerCase()===h.toLowerCase()}else{d=l===h}this.debug("string match",h,l,d)}else{d=l.match(h);this.debug("pattern match",h,l,d)}if(!d)return false}if(n===o&&s===c){return true}else if(n===o){return r}else if(s===c){var m=n===o-1&&t[n]==="";return m}throw new Error("wtf?")};function globUnescape(t){return t.replace(/\\(.)/g,"$1")}function regExpEscape(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},556:(t,e,r)=>{var i=r(928);t.exports=i(once);t.exports.strict=i(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(t){var f=function(){if(f.called)return f.value;f.called=true;return f.value=t.apply(this,arguments)};f.called=false;return f}function onceStrict(t){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=t.apply(this,arguments)};var e=t.name||"Function wrapped with `once`";f.onceError=e+" shouldn't be called more than once";f.called=false;return f}},249:t=>{"use strict";function posix(t){return t.charAt(0)==="/"}function win32(t){var e=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var r=e.exec(t);var i=r[1]||"";var a=Boolean(i&&i.charAt(1)!==":");return Boolean(r[2]||a)}t.exports=process.platform==="win32"?win32:posix;t.exports.posix=posix;t.exports.win32=win32},928:t=>{t.exports=wrappy;function wrappy(t,e){if(t&&e)return wrappy(t)(e);if(typeof t!=="function")throw new TypeError("need wrapper function");Object.keys(t).forEach((function(e){wrapper[e]=t[e]}));return wrapper;function wrapper(){var e=new Array(arguments.length);for(var r=0;r<e.length;r++){e[r]=arguments[r]}var i=t.apply(this,e);var a=e[e.length-1];if(typeof i==="function"&&i!==a){Object.keys(a).forEach((function(t){i[t]=a[t]}))}return i}}},491:t=>{"use strict";t.exports=require("assert")},361:t=>{"use strict";t.exports=require("events")},147:t=>{"use strict";t.exports=require("fs")},17:t=>{"use strict";t.exports=require("path")},837:t=>{"use strict";t.exports=require("util")}};var e={};function __nccwpck_require__(r){var i=e[r];if(i!==undefined){return i.exports}var a=e[r]={exports:{}};var n=true;try{t[r](a,a.exports,__nccwpck_require__);n=false}finally{if(n)delete e[r]}return a.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(978);module.exports=r})();
@@ -0,0 +1,21 @@
1
+ The ISC License
2
+
3
+ Copyright (c) Isaac Z. Schlueter and Contributors
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16
+
17
+ ## Glob Logo
18
+
19
+ Glob's logo created by Tanya Brassie <http://tanyabrassie.com/>, licensed
20
+ under a Creative Commons Attribution-ShareAlike 4.0 International License
21
+ https://creativecommons.org/licenses/by-sa/4.0/
@@ -0,0 +1,204 @@
1
+ // Type definitions for Minimatch 3.0
2
+ // Project: https://github.com/isaacs/minimatch
3
+ // Definitions by: vvakame <https://github.com/vvakame>
4
+ // Shant Marouti <https://github.com/shantmarouti>
5
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
6
+
7
+ /**
8
+ * Tests a path against the pattern using the options.
9
+ */
10
+ declare function M(target: string, pattern: string, options?: M.IOptions): boolean;
11
+
12
+ declare namespace M {
13
+ /**
14
+ * Match against the list of files, in the style of fnmatch or glob.
15
+ * If nothing is matched, and options.nonull is set,
16
+ * then return a list containing the pattern itself.
17
+ */
18
+ function match(list: ReadonlyArray<string>, pattern: string, options?: IOptions): string[];
19
+
20
+ /**
21
+ * Returns a function that tests its supplied argument, suitable for use with Array.filter
22
+ */
23
+ function filter(pattern: string, options?: IOptions): (element: string, indexed: number, array: ReadonlyArray<string>) => boolean;
24
+
25
+ /**
26
+ * Make a regular expression object from the pattern.
27
+ */
28
+ function makeRe(pattern: string, options?: IOptions): RegExp;
29
+
30
+ let Minimatch: IMinimatchStatic;
31
+
32
+ interface IOptions {
33
+ /**
34
+ * Dump a ton of stuff to stderr.
35
+ *
36
+ * @default false
37
+ */
38
+ debug?: boolean | undefined;
39
+
40
+ /**
41
+ * Do not expand {a,b} and {1..3} brace sets.
42
+ *
43
+ * @default false
44
+ */
45
+ nobrace?: boolean | undefined;
46
+
47
+ /**
48
+ * Disable ** matching against multiple folder names.
49
+ *
50
+ * @default false
51
+ */
52
+ noglobstar?: boolean | undefined;
53
+
54
+ /**
55
+ * Allow patterns to match filenames starting with a period,
56
+ * even if the pattern does not explicitly have a period in that spot.
57
+ *
58
+ * @default false
59
+ */
60
+ dot?: boolean | undefined;
61
+
62
+ /**
63
+ * Disable "extglob" style patterns like +(a|b).
64
+ *
65
+ * @default false
66
+ */
67
+ noext?: boolean | undefined;
68
+
69
+ /**
70
+ * Perform a case-insensitive match.
71
+ *
72
+ * @default false
73
+ */
74
+ nocase?: boolean | undefined;
75
+
76
+ /**
77
+ * When a match is not found by minimatch.match,
78
+ * return a list containing the pattern itself if this option is set.
79
+ * Otherwise, an empty list is returned if there are no matches.
80
+ *
81
+ * @default false
82
+ */
83
+ nonull?: boolean | undefined;
84
+
85
+ /**
86
+ * If set, then patterns without slashes will be matched against
87
+ * the basename of the path if it contains slashes.
88
+ *
89
+ * @default false
90
+ */
91
+ matchBase?: boolean | undefined;
92
+
93
+ /**
94
+ * Suppress the behavior of treating #
95
+ * at the start of a pattern as a comment.
96
+ *
97
+ * @default false
98
+ */
99
+ nocomment?: boolean | undefined;
100
+
101
+ /**
102
+ * Suppress the behavior of treating a leading ! character as negation.
103
+ *
104
+ * @default false
105
+ */
106
+ nonegate?: boolean | undefined;
107
+
108
+ /**
109
+ * Returns from negate expressions the same as if they were not negated.
110
+ * (Ie, true on a hit, false on a miss.)
111
+ *
112
+ * @default false
113
+ */
114
+ flipNegate?: boolean | undefined;
115
+ }
116
+
117
+ interface IMinimatchStatic {
118
+ new(pattern: string, options?: IOptions): IMinimatch;
119
+ prototype: IMinimatch;
120
+ }
121
+
122
+ interface IMinimatch {
123
+ /**
124
+ * The original pattern the minimatch object represents.
125
+ */
126
+ pattern: string;
127
+
128
+ /**
129
+ * The options supplied to the constructor.
130
+ */
131
+ options: IOptions;
132
+
133
+ /**
134
+ * A 2-dimensional array of regexp or string expressions.
135
+ */
136
+ set: any[][]; // (RegExp | string)[][]
137
+
138
+ /**
139
+ * A single regular expression expressing the entire pattern.
140
+ * Created by the makeRe method.
141
+ */
142
+ regexp: RegExp;
143
+
144
+ /**
145
+ * True if the pattern is negated.
146
+ */
147
+ negate: boolean;
148
+
149
+ /**
150
+ * True if the pattern is a comment.
151
+ */
152
+ comment: boolean;
153
+
154
+ /**
155
+ * True if the pattern is ""
156
+ */
157
+ empty: boolean;
158
+
159
+ /**
160
+ * Generate the regexp member if necessary, and return it.
161
+ * Will return false if the pattern is invalid.
162
+ */
163
+ makeRe(): RegExp; // regexp or boolean
164
+
165
+ /**
166
+ * Return true if the filename matches the pattern, or false otherwise.
167
+ */
168
+ match(fname: string): boolean;
169
+
170
+ /**
171
+ * Take a /-split filename, and match it against a single row in the regExpSet.
172
+ * This method is mainly for internal use, but is exposed so that it can be used
173
+ * by a glob-walker that needs to avoid excessive filesystem calls.
174
+ */
175
+ matchOne(files: string[], pattern: string[], partial: boolean): boolean;
176
+
177
+ /**
178
+ * @deprecated. For internal use.
179
+ */
180
+ debug(): void;
181
+
182
+ /**
183
+ * @deprecated. For internal use.
184
+ */
185
+ make(): void;
186
+
187
+ /**
188
+ * @deprecated. For internal use.
189
+ */
190
+ parseNegate(): void;
191
+
192
+ /**
193
+ * @deprecated. For internal use.
194
+ */
195
+ braceExpand(pattern: string, options: IOptions): void;
196
+
197
+ /**
198
+ * @deprecated. For internal use.
199
+ */
200
+ parse(pattern: string, isSub?: boolean): void;
201
+ }
202
+ }
203
+
204
+ export = M;
@@ -0,0 +1 @@
1
+ {"name":"glob","author":"Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)","version":"7.2.0","funding":{"url":"https://github.com/sponsors/isaacs"},"license":"ISC"}
@@ -0,0 +1,96 @@
1
+ /// <reference types="node"/>
2
+ import * as stream from 'stream';
3
+ import {ZlibOptions} from 'zlib';
4
+
5
+ declare namespace gzipSize {
6
+ type Options = ZlibOptions;
7
+
8
+ interface GzipSizeStream extends stream.PassThrough {
9
+ /**
10
+ Contains the gzip size of the stream after it is finished. Since this happens asynchronously, it is recommended you use the `gzip-size` event instead.
11
+ */
12
+ gzipSize?: number;
13
+
14
+ addListener(event: 'gzip-size', listener: (size: number) => void): this;
15
+ addListener(
16
+ event: string | symbol,
17
+ listener: (...args: any[]) => void
18
+ ): this;
19
+ on(event: 'gzip-size', listener: (size: number) => void): this;
20
+ on(event: string | symbol, listener: (...args: any[]) => void): this;
21
+ once(event: 'gzip-size', listener: (size: number) => void): this;
22
+ once(event: string | symbol, listener: (...args: any[]) => void): this;
23
+ removeListener(event: 'gzip-size', listener: (size: number) => void): this;
24
+ removeListener(
25
+ event: string | symbol,
26
+ listener: (...args: any[]) => void
27
+ ): this;
28
+ off(event: 'gzip-size', listener: (size: number) => void): this;
29
+ off(event: string | symbol, listener: (...args: any[]) => void): this;
30
+ emit(event: 'gzip-size', size: number): boolean;
31
+ emit(event: string | symbol, ...args: any[]): boolean;
32
+ prependListener(event: 'gzip-size', listener: (size: number) => void): this;
33
+ prependListener(
34
+ event: string | symbol,
35
+ listener: (...args: any[]) => void
36
+ ): this;
37
+ prependOnceListener(
38
+ event: 'gzip-size',
39
+ listener: (size: number) => void
40
+ ): this;
41
+ prependOnceListener(
42
+ event: string | symbol,
43
+ listener: (...args: any[]) => void
44
+ ): this;
45
+ }
46
+ }
47
+
48
+ declare const gzipSize: {
49
+ /**
50
+ Get the gzipped size of a string or buffer.
51
+
52
+ @returns The gzipped size of `input`.
53
+ */
54
+ (input: string | Buffer, options?: gzipSize.Options): Promise<number>;
55
+
56
+ /**
57
+ Synchronously get the gzipped size of a string or buffer.
58
+
59
+ @returns The gzipped size of `input`.
60
+
61
+ @example
62
+ ```
63
+ import gzipSize = require('./gzip-size');
64
+
65
+ const text = 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.';
66
+
67
+ console.log(text.length);
68
+ //=> 191
69
+
70
+ console.log(gzipSize.sync(text));
71
+ //=> 78
72
+ ```
73
+ */
74
+ sync(input: string | Buffer, options?: gzipSize.Options): number;
75
+
76
+ /**
77
+ @returns A stream that emits a `gzip-size` event and has a `gzipSize` property.
78
+ */
79
+ stream(options?: gzipSize.Options): gzipSize.GzipSizeStream;
80
+
81
+ /**
82
+ Get the gzipped size of a file.
83
+
84
+ @returns The size of the file.
85
+ */
86
+ file(path: string, options?: gzipSize.Options): Promise<number>;
87
+
88
+ /**
89
+ Synchronously get the gzipped size of a file.
90
+
91
+ @returns The size of the file.
92
+ */
93
+ fileSync(path: string, options?: gzipSize.Options): number;
94
+ };
95
+
96
+ export = gzipSize;
@@ -0,0 +1 @@
1
+ (()=>{var e={325:(e,r,t)=>{var n=t(781);var o=["write","end","destroy"];var i=["resume","pause"];var a=["data","close"];var s=Array.prototype.slice;e.exports=duplex;function forEach(e,r){if(e.forEach){return e.forEach(r)}for(var t=0;t<e.length;t++){r(e[t],t)}}function duplex(e,r){var t=new n;var p=false;forEach(o,proxyWriter);forEach(i,proxyReader);forEach(a,proxyStream);r.on("end",handleEnd);e.on("drain",(function(){t.emit("drain")}));e.on("error",reemit);r.on("error",reemit);t.writable=e.writable;t.readable=r.readable;return t;function proxyWriter(r){t[r]=method;function method(){return e[r].apply(e,arguments)}}function proxyReader(e){t[e]=method;function method(){t.emit(e);var n=r[e];if(n){return n.apply(r,arguments)}r.emit(e)}}function proxyStream(e){r.on(e,reemit);function reemit(){var r=s.call(arguments);r.unshift(e);t.emit.apply(t,r)}}function handleEnd(){if(p){return}p=true;var e=s.call(arguments);e.unshift("end");t.emit.apply(t,e)}function reemit(e){t.emit("error",e)}}},423:(e,r,t)=>{"use strict";const n=t(147);const o=t(781);const i=t(796);const{promisify:a}=t(837);const s=t(325);const getOptions=e=>({level:9,...e});const p=a(i.gzip);e.exports=async(e,r)=>{if(!e){return 0}const t=await p(e,getOptions(r));return t.length};e.exports.sync=(e,r)=>i.gzipSync(e,getOptions(r)).length;e.exports.stream=e=>{const r=new o.PassThrough;const t=new o.PassThrough;const n=s(r,t);let a=0;const p=i.createGzip(getOptions(e)).on("data",(e=>{a+=e.length})).on("error",(()=>{n.gzipSize=0})).on("end",(()=>{n.gzipSize=a;n.emit("gzip-size",a);t.end()}));r.pipe(p);r.pipe(t,{end:false});return n};e.exports.file=(r,t)=>new Promise(((o,i)=>{const a=n.createReadStream(r);a.on("error",i);const s=a.pipe(e.exports.stream(t));s.on("error",i);s.on("gzip-size",o)}));e.exports.fileSync=(r,t)=>e.exports.sync(n.readFileSync(r),t)},147:e=>{"use strict";e.exports=require("fs")},781:e=>{"use strict";e.exports=require("stream")},837:e=>{"use strict";e.exports=require("util")},796:e=>{"use strict";e.exports=require("zlib")}};var r={};function __nccwpck_require__(t){var n=r[t];if(n!==undefined){return n.exports}var o=r[t]={exports:{}};var i=true;try{e[t](o,o.exports,__nccwpck_require__);i=false}finally{if(i)delete r[t]}return o.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(423);module.exports=t})();
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1 @@
1
+ {"name":"gzip-size","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"version":"6.0.0","funding":"https://github.com/sponsors/sindresorhus","license":"MIT"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ Import a module lazily.
3
+
4
+ @example
5
+ ```
6
+ // Pass in `require` or a custom import function
7
+ import importLazy = require('./import-lazy');
8
+ const _ = importLazy(require)('lodash');
9
+
10
+ // Instead of referring to its exported properties directly…
11
+ _.isNumber(2);
12
+
13
+ // …it's cached on consecutive calls
14
+ _.isNumber('unicorn');
15
+
16
+ // Works out of the box for functions and regular properties
17
+ const stuff = importLazy(require)('./math-lib');
18
+ console.log(stuff.sum(1, 2)); // => 3
19
+ console.log(stuff.PHI); // => 1.618033
20
+ ```
21
+ */
22
+ declare function importLazy<T = unknown>(
23
+ importFn: (moduleId: string) => T
24
+ ): (moduleId: string) => T;
25
+
26
+ export = importLazy;
@@ -0,0 +1 @@
1
+ (()=>{"use strict";var e={42:e=>{const lazy=(e,r,t)=>e===undefined?r(t):e;e.exports=e=>r=>{let t;const _={get:(_,n)=>{t=lazy(t,e,r);return Reflect.get(t,n)},apply:(_,n,u)=>{t=lazy(t,e,r);return Reflect.apply(t,n,u)},construct:(_,n)=>{t=lazy(t,e,r);return Reflect.construct(t,n)}};return new Proxy((function(){}),_)}}};var r={};function __nccwpck_require__(t){var _=r[t];if(_!==undefined){return _.exports}var n=r[t]={exports:{}};var u=true;try{e[t](n,n.exports,__nccwpck_require__);u=false}finally{if(u)delete r[t]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(42);module.exports=t})();
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1 @@
1
+ {"name":"import-lazy","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"version":"4.0.0","license":"MIT"}