@esportsplus/typescript 0.8.5 → 0.8.6

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 (504) hide show
  1. package/package.json +2 -4
  2. package/node_modules/.package-lock.json +0 -481
  3. package/node_modules/@nodelib/fs.scandir/LICENSE +0 -21
  4. package/node_modules/@nodelib/fs.scandir/README.md +0 -171
  5. package/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
  6. package/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +0 -19
  7. package/node_modules/@nodelib/fs.scandir/out/constants.d.ts +0 -4
  8. package/node_modules/@nodelib/fs.scandir/out/constants.js +0 -17
  9. package/node_modules/@nodelib/fs.scandir/out/index.d.ts +0 -12
  10. package/node_modules/@nodelib/fs.scandir/out/index.js +0 -26
  11. package/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
  12. package/node_modules/@nodelib/fs.scandir/out/providers/async.js +0 -104
  13. package/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +0 -1
  14. package/node_modules/@nodelib/fs.scandir/out/providers/common.js +0 -13
  15. package/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +0 -5
  16. package/node_modules/@nodelib/fs.scandir/out/providers/sync.js +0 -54
  17. package/node_modules/@nodelib/fs.scandir/out/settings.d.ts +0 -20
  18. package/node_modules/@nodelib/fs.scandir/out/settings.js +0 -24
  19. package/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
  20. package/node_modules/@nodelib/fs.scandir/out/types/index.js +0 -2
  21. package/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +0 -2
  22. package/node_modules/@nodelib/fs.scandir/out/utils/fs.js +0 -19
  23. package/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +0 -2
  24. package/node_modules/@nodelib/fs.scandir/out/utils/index.js +0 -5
  25. package/node_modules/@nodelib/fs.scandir/package.json +0 -44
  26. package/node_modules/@nodelib/fs.stat/LICENSE +0 -21
  27. package/node_modules/@nodelib/fs.stat/README.md +0 -126
  28. package/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
  29. package/node_modules/@nodelib/fs.stat/out/adapters/fs.js +0 -17
  30. package/node_modules/@nodelib/fs.stat/out/index.d.ts +0 -12
  31. package/node_modules/@nodelib/fs.stat/out/index.js +0 -26
  32. package/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
  33. package/node_modules/@nodelib/fs.stat/out/providers/async.js +0 -36
  34. package/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +0 -3
  35. package/node_modules/@nodelib/fs.stat/out/providers/sync.js +0 -23
  36. package/node_modules/@nodelib/fs.stat/out/settings.d.ts +0 -16
  37. package/node_modules/@nodelib/fs.stat/out/settings.js +0 -16
  38. package/node_modules/@nodelib/fs.stat/out/types/index.d.ts +0 -4
  39. package/node_modules/@nodelib/fs.stat/out/types/index.js +0 -2
  40. package/node_modules/@nodelib/fs.stat/package.json +0 -37
  41. package/node_modules/@nodelib/fs.walk/LICENSE +0 -21
  42. package/node_modules/@nodelib/fs.walk/README.md +0 -215
  43. package/node_modules/@nodelib/fs.walk/out/index.d.ts +0 -14
  44. package/node_modules/@nodelib/fs.walk/out/index.js +0 -34
  45. package/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
  46. package/node_modules/@nodelib/fs.walk/out/providers/async.js +0 -30
  47. package/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +0 -4
  48. package/node_modules/@nodelib/fs.walk/out/providers/index.js +0 -9
  49. package/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +0 -12
  50. package/node_modules/@nodelib/fs.walk/out/providers/stream.js +0 -34
  51. package/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +0 -10
  52. package/node_modules/@nodelib/fs.walk/out/providers/sync.js +0 -14
  53. package/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
  54. package/node_modules/@nodelib/fs.walk/out/readers/async.js +0 -97
  55. package/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +0 -7
  56. package/node_modules/@nodelib/fs.walk/out/readers/common.js +0 -31
  57. package/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
  58. package/node_modules/@nodelib/fs.walk/out/readers/reader.js +0 -11
  59. package/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +0 -15
  60. package/node_modules/@nodelib/fs.walk/out/readers/sync.js +0 -59
  61. package/node_modules/@nodelib/fs.walk/out/settings.d.ts +0 -30
  62. package/node_modules/@nodelib/fs.walk/out/settings.js +0 -26
  63. package/node_modules/@nodelib/fs.walk/out/types/index.d.ts +0 -8
  64. package/node_modules/@nodelib/fs.walk/out/types/index.js +0 -2
  65. package/node_modules/@nodelib/fs.walk/package.json +0 -44
  66. package/node_modules/anymatch/LICENSE +0 -15
  67. package/node_modules/anymatch/README.md +0 -87
  68. package/node_modules/anymatch/index.d.ts +0 -20
  69. package/node_modules/anymatch/index.js +0 -104
  70. package/node_modules/anymatch/package.json +0 -48
  71. package/node_modules/array-union/index.d.ts +0 -25
  72. package/node_modules/array-union/index.js +0 -5
  73. package/node_modules/array-union/license +0 -9
  74. package/node_modules/array-union/package.json +0 -38
  75. package/node_modules/array-union/readme.md +0 -34
  76. package/node_modules/binary-extensions/binary-extensions.json +0 -263
  77. package/node_modules/binary-extensions/binary-extensions.json.d.ts +0 -3
  78. package/node_modules/binary-extensions/index.d.ts +0 -14
  79. package/node_modules/binary-extensions/index.js +0 -1
  80. package/node_modules/binary-extensions/license +0 -10
  81. package/node_modules/binary-extensions/package.json +0 -40
  82. package/node_modules/binary-extensions/readme.md +0 -25
  83. package/node_modules/braces/LICENSE +0 -21
  84. package/node_modules/braces/README.md +0 -586
  85. package/node_modules/braces/index.js +0 -170
  86. package/node_modules/braces/lib/compile.js +0 -60
  87. package/node_modules/braces/lib/constants.js +0 -57
  88. package/node_modules/braces/lib/expand.js +0 -113
  89. package/node_modules/braces/lib/parse.js +0 -331
  90. package/node_modules/braces/lib/stringify.js +0 -32
  91. package/node_modules/braces/lib/utils.js +0 -122
  92. package/node_modules/braces/package.json +0 -77
  93. package/node_modules/chokidar/LICENSE +0 -21
  94. package/node_modules/chokidar/README.md +0 -308
  95. package/node_modules/chokidar/index.js +0 -973
  96. package/node_modules/chokidar/lib/constants.js +0 -66
  97. package/node_modules/chokidar/lib/fsevents-handler.js +0 -526
  98. package/node_modules/chokidar/lib/nodefs-handler.js +0 -654
  99. package/node_modules/chokidar/package.json +0 -70
  100. package/node_modules/chokidar/types/index.d.ts +0 -192
  101. package/node_modules/commander/LICENSE +0 -22
  102. package/node_modules/commander/Readme.md +0 -1129
  103. package/node_modules/commander/esm.mjs +0 -16
  104. package/node_modules/commander/index.js +0 -27
  105. package/node_modules/commander/lib/argument.js +0 -147
  106. package/node_modules/commander/lib/command.js +0 -2179
  107. package/node_modules/commander/lib/error.js +0 -45
  108. package/node_modules/commander/lib/help.js +0 -461
  109. package/node_modules/commander/lib/option.js +0 -326
  110. package/node_modules/commander/lib/suggestSimilar.js +0 -100
  111. package/node_modules/commander/package-support.json +0 -16
  112. package/node_modules/commander/package.json +0 -80
  113. package/node_modules/commander/typings/index.d.ts +0 -891
  114. package/node_modules/dir-glob/index.js +0 -75
  115. package/node_modules/dir-glob/license +0 -9
  116. package/node_modules/dir-glob/package.json +0 -38
  117. package/node_modules/dir-glob/readme.md +0 -76
  118. package/node_modules/fast-glob/LICENSE +0 -21
  119. package/node_modules/fast-glob/README.md +0 -830
  120. package/node_modules/fast-glob/out/index.d.ts +0 -40
  121. package/node_modules/fast-glob/out/index.js +0 -102
  122. package/node_modules/fast-glob/out/managers/tasks.d.ts +0 -22
  123. package/node_modules/fast-glob/out/managers/tasks.js +0 -110
  124. package/node_modules/fast-glob/out/providers/async.d.ts +0 -9
  125. package/node_modules/fast-glob/out/providers/async.js +0 -23
  126. package/node_modules/fast-glob/out/providers/filters/deep.d.ts +0 -16
  127. package/node_modules/fast-glob/out/providers/filters/deep.js +0 -62
  128. package/node_modules/fast-glob/out/providers/filters/entry.d.ts +0 -17
  129. package/node_modules/fast-glob/out/providers/filters/entry.js +0 -85
  130. package/node_modules/fast-glob/out/providers/filters/error.d.ts +0 -8
  131. package/node_modules/fast-glob/out/providers/filters/error.js +0 -15
  132. package/node_modules/fast-glob/out/providers/matchers/matcher.d.ts +0 -33
  133. package/node_modules/fast-glob/out/providers/matchers/matcher.js +0 -45
  134. package/node_modules/fast-glob/out/providers/matchers/partial.d.ts +0 -4
  135. package/node_modules/fast-glob/out/providers/matchers/partial.js +0 -38
  136. package/node_modules/fast-glob/out/providers/provider.d.ts +0 -19
  137. package/node_modules/fast-glob/out/providers/provider.js +0 -48
  138. package/node_modules/fast-glob/out/providers/stream.d.ts +0 -11
  139. package/node_modules/fast-glob/out/providers/stream.js +0 -31
  140. package/node_modules/fast-glob/out/providers/sync.d.ts +0 -9
  141. package/node_modules/fast-glob/out/providers/sync.js +0 -23
  142. package/node_modules/fast-glob/out/providers/transformers/entry.d.ts +0 -8
  143. package/node_modules/fast-glob/out/providers/transformers/entry.js +0 -26
  144. package/node_modules/fast-glob/out/readers/async.d.ts +0 -10
  145. package/node_modules/fast-glob/out/readers/async.js +0 -35
  146. package/node_modules/fast-glob/out/readers/reader.d.ts +0 -15
  147. package/node_modules/fast-glob/out/readers/reader.js +0 -33
  148. package/node_modules/fast-glob/out/readers/stream.d.ts +0 -14
  149. package/node_modules/fast-glob/out/readers/stream.js +0 -55
  150. package/node_modules/fast-glob/out/readers/sync.d.ts +0 -12
  151. package/node_modules/fast-glob/out/readers/sync.js +0 -43
  152. package/node_modules/fast-glob/out/settings.d.ts +0 -164
  153. package/node_modules/fast-glob/out/settings.js +0 -59
  154. package/node_modules/fast-glob/out/types/index.d.ts +0 -31
  155. package/node_modules/fast-glob/out/types/index.js +0 -2
  156. package/node_modules/fast-glob/out/utils/array.d.ts +0 -2
  157. package/node_modules/fast-glob/out/utils/array.js +0 -22
  158. package/node_modules/fast-glob/out/utils/errno.d.ts +0 -2
  159. package/node_modules/fast-glob/out/utils/errno.js +0 -7
  160. package/node_modules/fast-glob/out/utils/fs.d.ts +0 -4
  161. package/node_modules/fast-glob/out/utils/fs.js +0 -19
  162. package/node_modules/fast-glob/out/utils/index.d.ts +0 -8
  163. package/node_modules/fast-glob/out/utils/index.js +0 -17
  164. package/node_modules/fast-glob/out/utils/path.d.ts +0 -13
  165. package/node_modules/fast-glob/out/utils/path.js +0 -68
  166. package/node_modules/fast-glob/out/utils/pattern.d.ts +0 -49
  167. package/node_modules/fast-glob/out/utils/pattern.js +0 -206
  168. package/node_modules/fast-glob/out/utils/stream.d.ts +0 -4
  169. package/node_modules/fast-glob/out/utils/stream.js +0 -17
  170. package/node_modules/fast-glob/out/utils/string.d.ts +0 -2
  171. package/node_modules/fast-glob/out/utils/string.js +0 -11
  172. package/node_modules/fast-glob/package.json +0 -81
  173. package/node_modules/fastq/.github/dependabot.yml +0 -11
  174. package/node_modules/fastq/.github/workflows/ci.yml +0 -75
  175. package/node_modules/fastq/LICENSE +0 -13
  176. package/node_modules/fastq/README.md +0 -312
  177. package/node_modules/fastq/SECURITY.md +0 -15
  178. package/node_modules/fastq/bench.js +0 -66
  179. package/node_modules/fastq/example.js +0 -14
  180. package/node_modules/fastq/example.mjs +0 -11
  181. package/node_modules/fastq/index.d.ts +0 -57
  182. package/node_modules/fastq/package.json +0 -53
  183. package/node_modules/fastq/queue.js +0 -311
  184. package/node_modules/fastq/test/example.ts +0 -83
  185. package/node_modules/fastq/test/promise.js +0 -291
  186. package/node_modules/fastq/test/test.js +0 -653
  187. package/node_modules/fastq/test/tsconfig.json +0 -11
  188. package/node_modules/fill-range/LICENSE +0 -21
  189. package/node_modules/fill-range/README.md +0 -237
  190. package/node_modules/fill-range/index.js +0 -248
  191. package/node_modules/fill-range/package.json +0 -74
  192. package/node_modules/get-tsconfig/LICENSE +0 -21
  193. package/node_modules/get-tsconfig/README.md +0 -235
  194. package/node_modules/get-tsconfig/dist/index.cjs +0 -7
  195. package/node_modules/get-tsconfig/dist/index.d.cts +0 -1439
  196. package/node_modules/get-tsconfig/dist/index.d.mts +0 -1439
  197. package/node_modules/get-tsconfig/dist/index.mjs +0 -7
  198. package/node_modules/get-tsconfig/package.json +0 -46
  199. package/node_modules/glob-parent/CHANGELOG.md +0 -110
  200. package/node_modules/glob-parent/LICENSE +0 -15
  201. package/node_modules/glob-parent/README.md +0 -137
  202. package/node_modules/glob-parent/index.js +0 -42
  203. package/node_modules/glob-parent/package.json +0 -48
  204. package/node_modules/globby/gitignore.js +0 -120
  205. package/node_modules/globby/index.d.ts +0 -186
  206. package/node_modules/globby/index.js +0 -181
  207. package/node_modules/globby/license +0 -9
  208. package/node_modules/globby/package.json +0 -82
  209. package/node_modules/globby/readme.md +0 -170
  210. package/node_modules/globby/stream-utils.js +0 -46
  211. package/node_modules/ignore/LICENSE-MIT +0 -21
  212. package/node_modules/ignore/README.md +0 -412
  213. package/node_modules/ignore/index.d.ts +0 -61
  214. package/node_modules/ignore/index.js +0 -636
  215. package/node_modules/ignore/legacy.js +0 -559
  216. package/node_modules/ignore/package.json +0 -74
  217. package/node_modules/is-binary-path/index.d.ts +0 -17
  218. package/node_modules/is-binary-path/index.js +0 -7
  219. package/node_modules/is-binary-path/license +0 -9
  220. package/node_modules/is-binary-path/package.json +0 -40
  221. package/node_modules/is-binary-path/readme.md +0 -34
  222. package/node_modules/is-extglob/LICENSE +0 -21
  223. package/node_modules/is-extglob/README.md +0 -107
  224. package/node_modules/is-extglob/index.js +0 -20
  225. package/node_modules/is-extglob/package.json +0 -69
  226. package/node_modules/is-glob/LICENSE +0 -21
  227. package/node_modules/is-glob/README.md +0 -206
  228. package/node_modules/is-glob/index.js +0 -150
  229. package/node_modules/is-glob/package.json +0 -81
  230. package/node_modules/is-number/LICENSE +0 -21
  231. package/node_modules/is-number/README.md +0 -187
  232. package/node_modules/is-number/index.js +0 -18
  233. package/node_modules/is-number/package.json +0 -82
  234. package/node_modules/merge2/LICENSE +0 -21
  235. package/node_modules/merge2/README.md +0 -144
  236. package/node_modules/merge2/index.js +0 -144
  237. package/node_modules/merge2/package.json +0 -43
  238. package/node_modules/micromatch/LICENSE +0 -21
  239. package/node_modules/micromatch/README.md +0 -1024
  240. package/node_modules/micromatch/index.js +0 -474
  241. package/node_modules/micromatch/package.json +0 -119
  242. package/node_modules/mylas/LICENSE +0 -21
  243. package/node_modules/mylas/README.md +0 -39
  244. package/node_modules/mylas/build/chunk-3EDNT3AM.js +0 -1
  245. package/node_modules/mylas/build/chunk-M3H36CX2.js +0 -3
  246. package/node_modules/mylas/build/index.d.ts +0 -22
  247. package/node_modules/mylas/build/index.js +0 -1
  248. package/node_modules/mylas/build/interfaces.d.ts +0 -201
  249. package/node_modules/mylas/build/register.d.ts +0 -9
  250. package/node_modules/mylas/build/register.js +0 -1
  251. package/node_modules/mylas/build/worker.js +0 -1
  252. package/node_modules/mylas/package.json +0 -65
  253. package/node_modules/normalize-path/LICENSE +0 -21
  254. package/node_modules/normalize-path/README.md +0 -127
  255. package/node_modules/normalize-path/index.js +0 -35
  256. package/node_modules/normalize-path/package.json +0 -77
  257. package/node_modules/path-type/index.d.ts +0 -51
  258. package/node_modules/path-type/index.js +0 -43
  259. package/node_modules/path-type/license +0 -9
  260. package/node_modules/path-type/package.json +0 -45
  261. package/node_modules/path-type/readme.md +0 -72
  262. package/node_modules/picomatch/CHANGELOG.md +0 -136
  263. package/node_modules/picomatch/LICENSE +0 -21
  264. package/node_modules/picomatch/README.md +0 -708
  265. package/node_modules/picomatch/index.js +0 -3
  266. package/node_modules/picomatch/lib/constants.js +0 -179
  267. package/node_modules/picomatch/lib/parse.js +0 -1091
  268. package/node_modules/picomatch/lib/picomatch.js +0 -342
  269. package/node_modules/picomatch/lib/scan.js +0 -391
  270. package/node_modules/picomatch/lib/utils.js +0 -64
  271. package/node_modules/picomatch/package.json +0 -81
  272. package/node_modules/plimit-lit/LICENSE +0 -21
  273. package/node_modules/plimit-lit/README.md +0 -99
  274. package/node_modules/plimit-lit/dist/index.d.ts +0 -6
  275. package/node_modules/plimit-lit/dist/plimit-lit.cjs +0 -91
  276. package/node_modules/plimit-lit/dist/plimit-lit.modern.js +0 -91
  277. package/node_modules/plimit-lit/dist/plimit-lit.module.js +0 -91
  278. package/node_modules/plimit-lit/package.json +0 -55
  279. package/node_modules/queue-lit/LICENSE +0 -21
  280. package/node_modules/queue-lit/README.md +0 -93
  281. package/node_modules/queue-lit/dist/index.d.ts +0 -34
  282. package/node_modules/queue-lit/dist/queue-lit.cjs +0 -110
  283. package/node_modules/queue-lit/dist/queue-lit.modern.js +0 -110
  284. package/node_modules/queue-lit/dist/queue-lit.module.js +0 -110
  285. package/node_modules/queue-lit/package.json +0 -53
  286. package/node_modules/queue-microtask/LICENSE +0 -20
  287. package/node_modules/queue-microtask/README.md +0 -90
  288. package/node_modules/queue-microtask/index.d.ts +0 -2
  289. package/node_modules/queue-microtask/index.js +0 -9
  290. package/node_modules/queue-microtask/package.json +0 -55
  291. package/node_modules/readdirp/LICENSE +0 -21
  292. package/node_modules/readdirp/README.md +0 -122
  293. package/node_modules/readdirp/index.d.ts +0 -43
  294. package/node_modules/readdirp/index.js +0 -287
  295. package/node_modules/readdirp/package.json +0 -122
  296. package/node_modules/resolve-pkg-maps/LICENSE +0 -21
  297. package/node_modules/resolve-pkg-maps/README.md +0 -216
  298. package/node_modules/resolve-pkg-maps/dist/index.cjs +0 -1
  299. package/node_modules/resolve-pkg-maps/dist/index.d.cts +0 -11
  300. package/node_modules/resolve-pkg-maps/dist/index.d.mts +0 -11
  301. package/node_modules/resolve-pkg-maps/dist/index.mjs +0 -1
  302. package/node_modules/resolve-pkg-maps/package.json +0 -42
  303. package/node_modules/reusify/.github/dependabot.yml +0 -7
  304. package/node_modules/reusify/.github/workflows/ci.yml +0 -96
  305. package/node_modules/reusify/LICENSE +0 -22
  306. package/node_modules/reusify/README.md +0 -139
  307. package/node_modules/reusify/SECURITY.md +0 -15
  308. package/node_modules/reusify/benchmarks/createNoCodeFunction.js +0 -30
  309. package/node_modules/reusify/benchmarks/fib.js +0 -13
  310. package/node_modules/reusify/benchmarks/reuseNoCodeFunction.js +0 -38
  311. package/node_modules/reusify/eslint.config.js +0 -14
  312. package/node_modules/reusify/package.json +0 -50
  313. package/node_modules/reusify/reusify.d.ts +0 -14
  314. package/node_modules/reusify/reusify.js +0 -33
  315. package/node_modules/reusify/test.js +0 -66
  316. package/node_modules/reusify/tsconfig.json +0 -11
  317. package/node_modules/run-parallel/LICENSE +0 -20
  318. package/node_modules/run-parallel/README.md +0 -85
  319. package/node_modules/run-parallel/index.js +0 -51
  320. package/node_modules/run-parallel/package.json +0 -58
  321. package/node_modules/slash/index.d.ts +0 -25
  322. package/node_modules/slash/index.js +0 -11
  323. package/node_modules/slash/license +0 -9
  324. package/node_modules/slash/package.json +0 -35
  325. package/node_modules/slash/readme.md +0 -44
  326. package/node_modules/to-regex-range/LICENSE +0 -21
  327. package/node_modules/to-regex-range/README.md +0 -305
  328. package/node_modules/to-regex-range/index.js +0 -288
  329. package/node_modules/to-regex-range/package.json +0 -88
  330. package/node_modules/tsc-alias/LICENSE +0 -21
  331. package/node_modules/tsc-alias/README.md +0 -184
  332. package/node_modules/tsc-alias/dist/bin/index.d.ts +0 -2
  333. package/node_modules/tsc-alias/dist/bin/index.js +0 -39
  334. package/node_modules/tsc-alias/dist/bin/index.js.map +0 -1
  335. package/node_modules/tsc-alias/dist/helpers/config.d.ts +0 -5
  336. package/node_modules/tsc-alias/dist/helpers/config.js +0 -181
  337. package/node_modules/tsc-alias/dist/helpers/config.js.map +0 -1
  338. package/node_modules/tsc-alias/dist/helpers/index.d.ts +0 -3
  339. package/node_modules/tsc-alias/dist/helpers/index.js +0 -20
  340. package/node_modules/tsc-alias/dist/helpers/index.js.map +0 -1
  341. package/node_modules/tsc-alias/dist/helpers/path.d.ts +0 -3
  342. package/node_modules/tsc-alias/dist/helpers/path.js +0 -73
  343. package/node_modules/tsc-alias/dist/helpers/path.js.map +0 -1
  344. package/node_modules/tsc-alias/dist/helpers/replacers.d.ts +0 -4
  345. package/node_modules/tsc-alias/dist/helpers/replacers.js +0 -150
  346. package/node_modules/tsc-alias/dist/helpers/replacers.js.map +0 -1
  347. package/node_modules/tsc-alias/dist/index.d.ts +0 -8
  348. package/node_modules/tsc-alias/dist/index.js +0 -74
  349. package/node_modules/tsc-alias/dist/index.js.map +0 -1
  350. package/node_modules/tsc-alias/dist/interfaces.d.ts +0 -87
  351. package/node_modules/tsc-alias/dist/interfaces.js +0 -3
  352. package/node_modules/tsc-alias/dist/interfaces.js.map +0 -1
  353. package/node_modules/tsc-alias/dist/replacers/base-url.replacer.d.ts +0 -2
  354. package/node_modules/tsc-alias/dist/replacers/base-url.replacer.js +0 -33
  355. package/node_modules/tsc-alias/dist/replacers/base-url.replacer.js.map +0 -1
  356. package/node_modules/tsc-alias/dist/replacers/default.replacer.d.ts +0 -2
  357. package/node_modules/tsc-alias/dist/replacers/default.replacer.js +0 -67
  358. package/node_modules/tsc-alias/dist/replacers/default.replacer.js.map +0 -1
  359. package/node_modules/tsc-alias/dist/utils/import-path-resolver.d.ts +0 -19
  360. package/node_modules/tsc-alias/dist/utils/import-path-resolver.js +0 -87
  361. package/node_modules/tsc-alias/dist/utils/import-path-resolver.js.map +0 -1
  362. package/node_modules/tsc-alias/dist/utils/index.d.ts +0 -4
  363. package/node_modules/tsc-alias/dist/utils/index.js +0 -21
  364. package/node_modules/tsc-alias/dist/utils/index.js.map +0 -1
  365. package/node_modules/tsc-alias/dist/utils/output.d.ts +0 -11
  366. package/node_modules/tsc-alias/dist/utils/output.js +0 -44
  367. package/node_modules/tsc-alias/dist/utils/output.js.map +0 -1
  368. package/node_modules/tsc-alias/dist/utils/path-cache.d.ts +0 -12
  369. package/node_modules/tsc-alias/dist/utils/path-cache.js +0 -74
  370. package/node_modules/tsc-alias/dist/utils/path-cache.js.map +0 -1
  371. package/node_modules/tsc-alias/dist/utils/trie.d.ts +0 -9
  372. package/node_modules/tsc-alias/dist/utils/trie.js +0 -81
  373. package/node_modules/tsc-alias/dist/utils/trie.js.map +0 -1
  374. package/node_modules/tsc-alias/package.json +0 -66
  375. package/node_modules/typescript/LICENSE.txt +0 -55
  376. package/node_modules/typescript/README.md +0 -50
  377. package/node_modules/typescript/SECURITY.md +0 -41
  378. package/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  379. package/node_modules/typescript/bin/tsc +0 -2
  380. package/node_modules/typescript/bin/tsserver +0 -2
  381. package/node_modules/typescript/lib/_tsc.js +0 -132810
  382. package/node_modules/typescript/lib/_tsserver.js +0 -659
  383. package/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  384. package/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2105
  385. package/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2105
  386. package/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2105
  387. package/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2105
  388. package/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2105
  389. package/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2105
  390. package/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2105
  391. package/node_modules/typescript/lib/lib.d.ts +0 -22
  392. package/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
  393. package/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  394. package/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
  395. package/node_modules/typescript/lib/lib.dom.d.ts +0 -29610
  396. package/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -493
  397. package/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  398. package/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  399. package/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  400. package/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  401. package/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
  402. package/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  403. package/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  404. package/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  405. package/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  406. package/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  407. package/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  408. package/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  409. package/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  410. package/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  411. package/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
  412. package/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
  413. package/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  414. package/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  415. package/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  416. package/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  417. package/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  418. package/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  419. package/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  420. package/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  421. package/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
  422. package/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  423. package/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  424. package/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  425. package/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  426. package/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  427. package/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  428. package/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  429. package/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  430. package/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  431. package/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  432. package/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  433. package/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  434. package/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
  435. package/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  436. package/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  437. package/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  438. package/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  439. package/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  440. package/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  441. package/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
  442. package/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
  443. package/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
  444. package/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  445. package/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  446. package/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  447. package/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  448. package/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  449. package/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
  450. package/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  451. package/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
  452. package/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
  453. package/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  454. package/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -121
  455. package/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  456. package/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  457. package/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  458. package/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  459. package/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  460. package/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  461. package/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  462. package/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  463. package/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
  464. package/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
  465. package/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
  466. package/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
  467. package/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
  468. package/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
  469. package/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
  470. package/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
  471. package/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
  472. package/node_modules/typescript/lib/lib.es5.d.ts +0 -4594
  473. package/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  474. package/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  475. package/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
  476. package/node_modules/typescript/lib/lib.esnext.d.ts +0 -27
  477. package/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  478. package/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
  479. package/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -443
  480. package/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  481. package/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  482. package/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
  483. package/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
  484. package/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  485. package/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
  486. package/node_modules/typescript/lib/lib.webworker.d.ts +0 -9894
  487. package/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  488. package/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -287
  489. package/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2105
  490. package/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2105
  491. package/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2105
  492. package/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2105
  493. package/node_modules/typescript/lib/tsc.js +0 -8
  494. package/node_modules/typescript/lib/tsserver.js +0 -8
  495. package/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  496. package/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  497. package/node_modules/typescript/lib/typesMap.json +0 -497
  498. package/node_modules/typescript/lib/typescript.d.ts +0 -11399
  499. package/node_modules/typescript/lib/typescript.js +0 -199120
  500. package/node_modules/typescript/lib/typingsInstaller.js +0 -8
  501. package/node_modules/typescript/lib/watchGuard.js +0 -53
  502. package/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2105
  503. package/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2105
  504. package/node_modules/typescript/package.json +0 -120
@@ -1,708 +0,0 @@
1
- <h1 align="center">Picomatch</h1>
2
-
3
- <p align="center">
4
- <a href="https://npmjs.org/package/picomatch">
5
- <img src="https://img.shields.io/npm/v/picomatch.svg" alt="version">
6
- </a>
7
- <a href="https://github.com/micromatch/picomatch/actions?workflow=Tests">
8
- <img src="https://github.com/micromatch/picomatch/workflows/Tests/badge.svg" alt="test status">
9
- </a>
10
- <a href="https://coveralls.io/github/micromatch/picomatch">
11
- <img src="https://img.shields.io/coveralls/github/micromatch/picomatch/master.svg" alt="coverage status">
12
- </a>
13
- <a href="https://npmjs.org/package/picomatch">
14
- <img src="https://img.shields.io/npm/dm/picomatch.svg" alt="downloads">
15
- </a>
16
- </p>
17
-
18
- <br>
19
- <br>
20
-
21
- <p align="center">
22
- <strong>Blazing fast and accurate glob matcher written in JavaScript.</strong></br>
23
- <em>No dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.</em>
24
- </p>
25
-
26
- <br>
27
- <br>
28
-
29
- ## Why picomatch?
30
-
31
- * **Lightweight** - No dependencies
32
- * **Minimal** - Tiny API surface. Main export is a function that takes a glob pattern and returns a matcher function.
33
- * **Fast** - Loads in about 2ms (that's several times faster than a [single frame of a HD movie](http://www.endmemo.com/sconvert/framespersecondframespermillisecond.php) at 60fps)
34
- * **Performant** - Use the returned matcher function to speed up repeat matching (like when watching files)
35
- * **Accurate matching** - Using wildcards (`*` and `?`), globstars (`**`) for nested directories, [advanced globbing](#advanced-globbing) with extglobs, braces, and POSIX brackets, and support for escaping special characters with `\` or quotes.
36
- * **Well tested** - Thousands of unit tests
37
-
38
- See the [library comparison](#library-comparisons) to other libraries.
39
-
40
- <br>
41
- <br>
42
-
43
- ## Table of Contents
44
-
45
- <details><summary> Click to expand </summary>
46
-
47
- - [Install](#install)
48
- - [Usage](#usage)
49
- - [API](#api)
50
- * [picomatch](#picomatch)
51
- * [.test](#test)
52
- * [.matchBase](#matchbase)
53
- * [.isMatch](#ismatch)
54
- * [.parse](#parse)
55
- * [.scan](#scan)
56
- * [.compileRe](#compilere)
57
- * [.makeRe](#makere)
58
- * [.toRegex](#toregex)
59
- - [Options](#options)
60
- * [Picomatch options](#picomatch-options)
61
- * [Scan Options](#scan-options)
62
- * [Options Examples](#options-examples)
63
- - [Globbing features](#globbing-features)
64
- * [Basic globbing](#basic-globbing)
65
- * [Advanced globbing](#advanced-globbing)
66
- * [Braces](#braces)
67
- * [Matching special characters as literals](#matching-special-characters-as-literals)
68
- - [Library Comparisons](#library-comparisons)
69
- - [Benchmarks](#benchmarks)
70
- - [Philosophies](#philosophies)
71
- - [About](#about)
72
- * [Author](#author)
73
- * [License](#license)
74
-
75
- _(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc](https://github.com/jonschlinkert/markdown-toc))_
76
-
77
- </details>
78
-
79
- <br>
80
- <br>
81
-
82
- ## Install
83
-
84
- Install with [npm](https://www.npmjs.com/):
85
-
86
- ```sh
87
- npm install --save picomatch
88
- ```
89
-
90
- <br>
91
-
92
- ## Usage
93
-
94
- The main export is a function that takes a glob pattern and an options object and returns a function for matching strings.
95
-
96
- ```js
97
- const pm = require('picomatch');
98
- const isMatch = pm('*.js');
99
-
100
- console.log(isMatch('abcd')); //=> false
101
- console.log(isMatch('a.js')); //=> true
102
- console.log(isMatch('a.md')); //=> false
103
- console.log(isMatch('a/b.js')); //=> false
104
- ```
105
-
106
- <br>
107
-
108
- ## API
109
-
110
- ### [picomatch](lib/picomatch.js#L32)
111
-
112
- Creates a matcher function from one or more glob patterns. The returned function takes a string to match as its first argument, and returns true if the string is a match. The returned matcher function also takes a boolean as the second argument that, when true, returns an object with additional information.
113
-
114
- **Params**
115
-
116
- * `globs` **{String|Array}**: One or more glob patterns.
117
- * `options` **{Object=}**
118
- * `returns` **{Function=}**: Returns a matcher function.
119
-
120
- **Example**
121
-
122
- ```js
123
- const picomatch = require('picomatch');
124
- // picomatch(glob[, options]);
125
-
126
- const isMatch = picomatch('*.!(*a)');
127
- console.log(isMatch('a.a')); //=> false
128
- console.log(isMatch('a.b')); //=> true
129
- ```
130
-
131
- ### [.test](lib/picomatch.js#L117)
132
-
133
- Test `input` with the given `regex`. This is used by the main `picomatch()` function to test the input string.
134
-
135
- **Params**
136
-
137
- * `input` **{String}**: String to test.
138
- * `regex` **{RegExp}**
139
- * `returns` **{Object}**: Returns an object with matching info.
140
-
141
- **Example**
142
-
143
- ```js
144
- const picomatch = require('picomatch');
145
- // picomatch.test(input, regex[, options]);
146
-
147
- console.log(picomatch.test('foo/bar', /^(?:([^/]*?)\/([^/]*?))$/));
148
- // { isMatch: true, match: [ 'foo/', 'foo', 'bar' ], output: 'foo/bar' }
149
- ```
150
-
151
- ### [.matchBase](lib/picomatch.js#L161)
152
-
153
- Match the basename of a filepath.
154
-
155
- **Params**
156
-
157
- * `input` **{String}**: String to test.
158
- * `glob` **{RegExp|String}**: Glob pattern or regex created by [.makeRe](#makeRe).
159
- * `returns` **{Boolean}**
160
-
161
- **Example**
162
-
163
- ```js
164
- const picomatch = require('picomatch');
165
- // picomatch.matchBase(input, glob[, options]);
166
- console.log(picomatch.matchBase('foo/bar.js', '*.js'); // true
167
- ```
168
-
169
- ### [.isMatch](lib/picomatch.js#L183)
170
-
171
- Returns true if **any** of the given glob `patterns` match the specified `string`.
172
-
173
- **Params**
174
-
175
- * **{String|Array}**: str The string to test.
176
- * **{String|Array}**: patterns One or more glob patterns to use for matching.
177
- * **{Object}**: See available [options](#options).
178
- * `returns` **{Boolean}**: Returns true if any patterns match `str`
179
-
180
- **Example**
181
-
182
- ```js
183
- const picomatch = require('picomatch');
184
- // picomatch.isMatch(string, patterns[, options]);
185
-
186
- console.log(picomatch.isMatch('a.a', ['b.*', '*.a'])); //=> true
187
- console.log(picomatch.isMatch('a.a', 'b.*')); //=> false
188
- ```
189
-
190
- ### [.parse](lib/picomatch.js#L199)
191
-
192
- Parse a glob pattern to create the source string for a regular expression.
193
-
194
- **Params**
195
-
196
- * `pattern` **{String}**
197
- * `options` **{Object}**
198
- * `returns` **{Object}**: Returns an object with useful properties and output to be used as a regex source string.
199
-
200
- **Example**
201
-
202
- ```js
203
- const picomatch = require('picomatch');
204
- const result = picomatch.parse(pattern[, options]);
205
- ```
206
-
207
- ### [.scan](lib/picomatch.js#L231)
208
-
209
- Scan a glob pattern to separate the pattern into segments.
210
-
211
- **Params**
212
-
213
- * `input` **{String}**: Glob pattern to scan.
214
- * `options` **{Object}**
215
- * `returns` **{Object}**: Returns an object with
216
-
217
- **Example**
218
-
219
- ```js
220
- const picomatch = require('picomatch');
221
- // picomatch.scan(input[, options]);
222
-
223
- const result = picomatch.scan('!./foo/*.js');
224
- console.log(result);
225
- { prefix: '!./',
226
- input: '!./foo/*.js',
227
- start: 3,
228
- base: 'foo',
229
- glob: '*.js',
230
- isBrace: false,
231
- isBracket: false,
232
- isGlob: true,
233
- isExtglob: false,
234
- isGlobstar: false,
235
- negated: true }
236
- ```
237
-
238
- ### [.compileRe](lib/picomatch.js#L245)
239
-
240
- Compile a regular expression from the `state` object returned by the
241
- [parse()](#parse) method.
242
-
243
- **Params**
244
-
245
- * `state` **{Object}**
246
- * `options` **{Object}**
247
- * `returnOutput` **{Boolean}**: Intended for implementors, this argument allows you to return the raw output from the parser.
248
- * `returnState` **{Boolean}**: Adds the state to a `state` property on the returned regex. Useful for implementors and debugging.
249
- * `returns` **{RegExp}**
250
-
251
- ### [.makeRe](lib/picomatch.js#L286)
252
-
253
- Create a regular expression from a parsed glob pattern.
254
-
255
- **Params**
256
-
257
- * `state` **{String}**: The object returned from the `.parse` method.
258
- * `options` **{Object}**
259
- * `returnOutput` **{Boolean}**: Implementors may use this argument to return the compiled output, instead of a regular expression. This is not exposed on the options to prevent end-users from mutating the result.
260
- * `returnState` **{Boolean}**: Implementors may use this argument to return the state from the parsed glob with the returned regular expression.
261
- * `returns` **{RegExp}**: Returns a regex created from the given pattern.
262
-
263
- **Example**
264
-
265
- ```js
266
- const picomatch = require('picomatch');
267
- const state = picomatch.parse('*.js');
268
- // picomatch.compileRe(state[, options]);
269
-
270
- console.log(picomatch.compileRe(state));
271
- //=> /^(?:(?!\.)(?=.)[^/]*?\.js)$/
272
- ```
273
-
274
- ### [.toRegex](lib/picomatch.js#L321)
275
-
276
- Create a regular expression from the given regex source string.
277
-
278
- **Params**
279
-
280
- * `source` **{String}**: Regular expression source string.
281
- * `options` **{Object}**
282
- * `returns` **{RegExp}**
283
-
284
- **Example**
285
-
286
- ```js
287
- const picomatch = require('picomatch');
288
- // picomatch.toRegex(source[, options]);
289
-
290
- const { output } = picomatch.parse('*.js');
291
- console.log(picomatch.toRegex(output));
292
- //=> /^(?:(?!\.)(?=.)[^/]*?\.js)$/
293
- ```
294
-
295
- <br>
296
-
297
- ## Options
298
-
299
- ### Picomatch options
300
-
301
- The following options may be used with the main `picomatch()` function or any of the methods on the picomatch API.
302
-
303
- | **Option** | **Type** | **Default value** | **Description** |
304
- | --- | --- | --- | --- |
305
- | `basename` | `boolean` | `false` | If set, then patterns without slashes will be matched against the basename of the path if it contains slashes. For example, `a?b` would match the path `/xyz/123/acb`, but not `/xyz/acb/123`. |
306
- | `bash` | `boolean` | `false` | Follow bash matching rules more strictly - disallows backslashes as escape characters, and treats single stars as globstars (`**`). |
307
- | `capture` | `boolean` | `undefined` | Return regex matches in supporting methods. |
308
- | `contains` | `boolean` | `undefined` | Allows glob to match any part of the given string(s). |
309
- | `cwd` | `string` | `process.cwd()` | Current working directory. Used by `picomatch.split()` |
310
- | `debug` | `boolean` | `undefined` | Debug regular expressions when an error is thrown. |
311
- | `dot` | `boolean` | `false` | Enable dotfile matching. By default, dotfiles are ignored unless a `.` is explicitly defined in the pattern, or `options.dot` is true |
312
- | `expandRange` | `function` | `undefined` | Custom function for expanding ranges in brace patterns, such as `{a..z}`. The function receives the range values as two arguments, and it must return a string to be used in the generated regex. It's recommended that returned strings be wrapped in parentheses. |
313
- | `failglob` | `boolean` | `false` | Throws an error if no matches are found. Based on the bash option of the same name. |
314
- | `fastpaths` | `boolean` | `true` | To speed up processing, full parsing is skipped for a handful common glob patterns. Disable this behavior by setting this option to `false`. |
315
- | `flags` | `string` | `undefined` | Regex flags to use in the generated regex. If defined, the `nocase` option will be overridden. |
316
- | [format](#optionsformat) | `function` | `undefined` | Custom function for formatting the returned string. This is useful for removing leading slashes, converting Windows paths to Posix paths, etc. |
317
- | `ignore` | `array\|string` | `undefined` | One or more glob patterns for excluding strings that should not be matched from the result. |
318
- | `keepQuotes` | `boolean` | `false` | Retain quotes in the generated regex, since quotes may also be used as an alternative to backslashes. |
319
- | `literalBrackets` | `boolean` | `undefined` | When `true`, brackets in the glob pattern will be escaped so that only literal brackets will be matched. |
320
- | `matchBase` | `boolean` | `false` | Alias for `basename` |
321
- | `maxLength` | `boolean` | `65536` | Limit the max length of the input string. An error is thrown if the input string is longer than this value. |
322
- | `nobrace` | `boolean` | `false` | Disable brace matching, so that `{a,b}` and `{1..3}` would be treated as literal characters. |
323
- | `nobracket` | `boolean` | `undefined` | Disable matching with regex brackets. |
324
- | `nocase` | `boolean` | `false` | Make matching case-insensitive. Equivalent to the regex `i` flag. Note that this option is overridden by the `flags` option. |
325
- | `nodupes` | `boolean` | `true` | Deprecated, use `nounique` instead. This option will be removed in a future major release. By default duplicates are removed. Disable uniquification by setting this option to false. |
326
- | `noext` | `boolean` | `false` | Alias for `noextglob` |
327
- | `noextglob` | `boolean` | `false` | Disable support for matching with extglobs (like `+(a\|b)`) |
328
- | `noglobstar` | `boolean` | `false` | Disable support for matching nested directories with globstars (`**`) |
329
- | `nonegate` | `boolean` | `false` | Disable support for negating with leading `!` |
330
- | `noquantifiers` | `boolean` | `false` | Disable support for regex quantifiers (like `a{1,2}`) and treat them as brace patterns to be expanded. |
331
- | [onIgnore](#optionsonIgnore) | `function` | `undefined` | Function to be called on ignored items. |
332
- | [onMatch](#optionsonMatch) | `function` | `undefined` | Function to be called on matched items. |
333
- | [onResult](#optionsonResult) | `function` | `undefined` | Function to be called on all items, regardless of whether or not they are matched or ignored. |
334
- | `posix` | `boolean` | `false` | Support POSIX character classes ("posix brackets"). |
335
- | `posixSlashes` | `boolean` | `undefined` | Convert all slashes in file paths to forward slashes. This does not convert slashes in the glob pattern itself |
336
- | `prepend` | `boolean` | `undefined` | String to prepend to the generated regex used for matching. |
337
- | `regex` | `boolean` | `false` | Use regular expression rules for `+` (instead of matching literal `+`), and for stars that follow closing parentheses or brackets (as in `)*` and `]*`). |
338
- | `strictBrackets` | `boolean` | `undefined` | Throw an error if brackets, braces, or parens are imbalanced. |
339
- | `strictSlashes` | `boolean` | `undefined` | When true, picomatch won't match trailing slashes with single stars. |
340
- | `unescape` | `boolean` | `undefined` | Remove backslashes preceding escaped characters in the glob pattern. By default, backslashes are retained. |
341
- | `unixify` | `boolean` | `undefined` | Alias for `posixSlashes`, for backwards compatibility. |
342
-
343
- picomatch has automatic detection for regex positive and negative lookbehinds. If the pattern contains a negative lookbehind, you must be using Node.js >= 8.10 or else picomatch will throw an error.
344
-
345
- ### Scan Options
346
-
347
- In addition to the main [picomatch options](#picomatch-options), the following options may also be used with the [.scan](#scan) method.
348
-
349
- | **Option** | **Type** | **Default value** | **Description** |
350
- | --- | --- | --- | --- |
351
- | `tokens` | `boolean` | `false` | When `true`, the returned object will include an array of tokens (objects), representing each path "segment" in the scanned glob pattern |
352
- | `parts` | `boolean` | `false` | When `true`, the returned object will include an array of strings representing each path "segment" in the scanned glob pattern. This is automatically enabled when `options.tokens` is true |
353
-
354
- **Example**
355
-
356
- ```js
357
- const picomatch = require('picomatch');
358
- const result = picomatch.scan('!./foo/*.js', { tokens: true });
359
- console.log(result);
360
- // {
361
- // prefix: '!./',
362
- // input: '!./foo/*.js',
363
- // start: 3,
364
- // base: 'foo',
365
- // glob: '*.js',
366
- // isBrace: false,
367
- // isBracket: false,
368
- // isGlob: true,
369
- // isExtglob: false,
370
- // isGlobstar: false,
371
- // negated: true,
372
- // maxDepth: 2,
373
- // tokens: [
374
- // { value: '!./', depth: 0, isGlob: false, negated: true, isPrefix: true },
375
- // { value: 'foo', depth: 1, isGlob: false },
376
- // { value: '*.js', depth: 1, isGlob: true }
377
- // ],
378
- // slashes: [ 2, 6 ],
379
- // parts: [ 'foo', '*.js' ]
380
- // }
381
- ```
382
-
383
- <br>
384
-
385
- ### Options Examples
386
-
387
- #### options.expandRange
388
-
389
- **Type**: `function`
390
-
391
- **Default**: `undefined`
392
-
393
- Custom function for expanding ranges in brace patterns. The [fill-range](https://github.com/jonschlinkert/fill-range) library is ideal for this purpose, or you can use custom code to do whatever you need.
394
-
395
- **Example**
396
-
397
- The following example shows how to create a glob that matches a folder
398
-
399
- ```js
400
- const fill = require('fill-range');
401
- const regex = pm.makeRe('foo/{01..25}/bar', {
402
- expandRange(a, b) {
403
- return `(${fill(a, b, { toRegex: true })})`;
404
- }
405
- });
406
-
407
- console.log(regex);
408
- //=> /^(?:foo\/((?:0[1-9]|1[0-9]|2[0-5]))\/bar)$/
409
-
410
- console.log(regex.test('foo/00/bar')) // false
411
- console.log(regex.test('foo/01/bar')) // true
412
- console.log(regex.test('foo/10/bar')) // true
413
- console.log(regex.test('foo/22/bar')) // true
414
- console.log(regex.test('foo/25/bar')) // true
415
- console.log(regex.test('foo/26/bar')) // false
416
- ```
417
-
418
- #### options.format
419
-
420
- **Type**: `function`
421
-
422
- **Default**: `undefined`
423
-
424
- Custom function for formatting strings before they're matched.
425
-
426
- **Example**
427
-
428
- ```js
429
- // strip leading './' from strings
430
- const format = str => str.replace(/^\.\//, '');
431
- const isMatch = picomatch('foo/*.js', { format });
432
- console.log(isMatch('./foo/bar.js')); //=> true
433
- ```
434
-
435
- #### options.onMatch
436
-
437
- ```js
438
- const onMatch = ({ glob, regex, input, output }) => {
439
- console.log({ glob, regex, input, output });
440
- };
441
-
442
- const isMatch = picomatch('*', { onMatch });
443
- isMatch('foo');
444
- isMatch('bar');
445
- isMatch('baz');
446
- ```
447
-
448
- #### options.onIgnore
449
-
450
- ```js
451
- const onIgnore = ({ glob, regex, input, output }) => {
452
- console.log({ glob, regex, input, output });
453
- };
454
-
455
- const isMatch = picomatch('*', { onIgnore, ignore: 'f*' });
456
- isMatch('foo');
457
- isMatch('bar');
458
- isMatch('baz');
459
- ```
460
-
461
- #### options.onResult
462
-
463
- ```js
464
- const onResult = ({ glob, regex, input, output }) => {
465
- console.log({ glob, regex, input, output });
466
- };
467
-
468
- const isMatch = picomatch('*', { onResult, ignore: 'f*' });
469
- isMatch('foo');
470
- isMatch('bar');
471
- isMatch('baz');
472
- ```
473
-
474
- <br>
475
- <br>
476
-
477
- ## Globbing features
478
-
479
- * [Basic globbing](#basic-globbing) (Wildcard matching)
480
- * [Advanced globbing](#advanced-globbing) (extglobs, posix brackets, brace matching)
481
-
482
- ### Basic globbing
483
-
484
- | **Character** | **Description** |
485
- | --- | --- |
486
- | `*` | Matches any character zero or more times, excluding path separators. Does _not match_ path separators or hidden files or directories ("dotfiles"), unless explicitly enabled by setting the `dot` option to `true`. |
487
- | `**` | Matches any character zero or more times, including path separators. Note that `**` will only match path separators (`/`, and `\\` on Windows) when they are the only characters in a path segment. Thus, `foo**/bar` is equivalent to `foo*/bar`, and `foo/a**b/bar` is equivalent to `foo/a*b/bar`, and _more than two_ consecutive stars in a glob path segment are regarded as _a single star_. Thus, `foo/***/bar` is equivalent to `foo/*/bar`. |
488
- | `?` | Matches any character excluding path separators one time. Does _not match_ path separators or leading dots. |
489
- | `[abc]` | Matches any characters inside the brackets. For example, `[abc]` would match the characters `a`, `b` or `c`, and nothing else. |
490
-
491
- #### Matching behavior vs. Bash
492
-
493
- Picomatch's matching features and expected results in unit tests are based on Bash's unit tests and the Bash 4.3 specification, with the following exceptions:
494
-
495
- * Bash will match `foo/bar/baz` with `*`. Picomatch only matches nested directories with `**`.
496
- * Bash greedily matches with negated extglobs. For example, Bash 4.3 says that `!(foo)*` should match `foo` and `foobar`, since the trailing `*` bracktracks to match the preceding pattern. This is very memory-inefficient, and IMHO, also incorrect. Picomatch would return `false` for both `foo` and `foobar`.
497
-
498
- <br>
499
-
500
- ### Advanced globbing
501
-
502
- * [extglobs](#extglobs)
503
- * [POSIX brackets](#posix-brackets)
504
- * [Braces](#brace-expansion)
505
-
506
- #### Extglobs
507
-
508
- | **Pattern** | **Description** |
509
- | --- | --- |
510
- | `@(pattern)` | Match _only one_ consecutive occurrence of `pattern` |
511
- | `*(pattern)` | Match _zero or more_ consecutive occurrences of `pattern` |
512
- | `+(pattern)` | Match _one or more_ consecutive occurrences of `pattern` |
513
- | `?(pattern)` | Match _zero or **one**_ consecutive occurrences of `pattern` |
514
- | `!(pattern)` | Match _anything but_ `pattern` |
515
-
516
- **Examples**
517
-
518
- ```js
519
- const pm = require('picomatch');
520
-
521
- // *(pattern) matches ZERO or more of "pattern"
522
- console.log(pm.isMatch('a', 'a*(z)')); // true
523
- console.log(pm.isMatch('az', 'a*(z)')); // true
524
- console.log(pm.isMatch('azzz', 'a*(z)')); // true
525
-
526
- // +(pattern) matches ONE or more of "pattern"
527
- console.log(pm.isMatch('a', 'a*(z)')); // true
528
- console.log(pm.isMatch('az', 'a*(z)')); // true
529
- console.log(pm.isMatch('azzz', 'a*(z)')); // true
530
-
531
- // supports multiple extglobs
532
- console.log(pm.isMatch('foo.bar', '!(foo).!(bar)')); // false
533
-
534
- // supports nested extglobs
535
- console.log(pm.isMatch('foo.bar', '!(!(foo)).!(!(bar))')); // true
536
- ```
537
-
538
- #### POSIX brackets
539
-
540
- POSIX classes are disabled by default. Enable this feature by setting the `posix` option to true.
541
-
542
- **Enable POSIX bracket support**
543
-
544
- ```js
545
- console.log(pm.makeRe('[[:word:]]+', { posix: true }));
546
- //=> /^(?:(?=.)[A-Za-z0-9_]+\/?)$/
547
- ```
548
-
549
- **Supported POSIX classes**
550
-
551
- The following named POSIX bracket expressions are supported:
552
-
553
- * `[:alnum:]` - Alphanumeric characters, equ `[a-zA-Z0-9]`
554
- * `[:alpha:]` - Alphabetical characters, equivalent to `[a-zA-Z]`.
555
- * `[:ascii:]` - ASCII characters, equivalent to `[\\x00-\\x7F]`.
556
- * `[:blank:]` - Space and tab characters, equivalent to `[ \\t]`.
557
- * `[:cntrl:]` - Control characters, equivalent to `[\\x00-\\x1F\\x7F]`.
558
- * `[:digit:]` - Numerical digits, equivalent to `[0-9]`.
559
- * `[:graph:]` - Graph characters, equivalent to `[\\x21-\\x7E]`.
560
- * `[:lower:]` - Lowercase letters, equivalent to `[a-z]`.
561
- * `[:print:]` - Print characters, equivalent to `[\\x20-\\x7E ]`.
562
- * `[:punct:]` - Punctuation and symbols, equivalent to `[\\-!"#$%&\'()\\*+,./:;<=>?@[\\]^_`{|}~]`.
563
- * `[:space:]` - Extended space characters, equivalent to `[ \\t\\r\\n\\v\\f]`.
564
- * `[:upper:]` - Uppercase letters, equivalent to `[A-Z]`.
565
- * `[:word:]` - Word characters (letters, numbers and underscores), equivalent to `[A-Za-z0-9_]`.
566
- * `[:xdigit:]` - Hexadecimal digits, equivalent to `[A-Fa-f0-9]`.
567
-
568
- See the [Bash Reference Manual](https://www.gnu.org/software/bash/manual/html_node/Pattern-Matching.html) for more information.
569
-
570
- ### Braces
571
-
572
- Picomatch does not do brace expansion. For [brace expansion](https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html) and advanced matching with braces, use [micromatch](https://github.com/micromatch/micromatch) instead. Picomatch has very basic support for braces.
573
-
574
- ### Matching special characters as literals
575
-
576
- If you wish to match the following special characters in a filepath, and you want to use these characters in your glob pattern, they must be escaped with backslashes or quotes:
577
-
578
- **Special Characters**
579
-
580
- Some characters that are used for matching in regular expressions are also regarded as valid file path characters on some platforms.
581
-
582
- To match any of the following characters as literals: `$^*+?()[]
583
-
584
- Examples:
585
-
586
- ```js
587
- console.log(pm.makeRe('foo/bar \\(1\\)'));
588
- console.log(pm.makeRe('foo/bar \\(1\\)'));
589
- ```
590
-
591
- <br>
592
- <br>
593
-
594
- ## Library Comparisons
595
-
596
- The following table shows which features are supported by [minimatch](https://github.com/isaacs/minimatch), [micromatch](https://github.com/micromatch/micromatch), [picomatch](https://github.com/micromatch/picomatch), [nanomatch](https://github.com/micromatch/nanomatch), [extglob](https://github.com/micromatch/extglob), [braces](https://github.com/micromatch/braces), and [expand-brackets](https://github.com/micromatch/expand-brackets).
597
-
598
- | **Feature** | `minimatch` | `micromatch` | `picomatch` | `nanomatch` | `extglob` | `braces` | `expand-brackets` |
599
- | --- | --- | --- | --- | --- | --- | --- | --- |
600
- | Wildcard matching (`*?+`) | ✔ | ✔ | ✔ | ✔ | - | - | - |
601
- | Advancing globbing | ✔ | ✔ | ✔ | - | - | - | - |
602
- | Brace _matching_ | ✔ | ✔ | ✔ | - | - | ✔ | - |
603
- | Brace _expansion_ | ✔ | ✔ | - | - | - | ✔ | - |
604
- | Extglobs | partial | ✔ | ✔ | - | ✔ | - | - |
605
- | Posix brackets | - | ✔ | ✔ | - | - | - | ✔ |
606
- | Regular expression syntax | - | ✔ | ✔ | ✔ | ✔ | - | ✔ |
607
- | File system operations | - | - | - | - | - | - | - |
608
-
609
- <br>
610
- <br>
611
-
612
- ## Benchmarks
613
-
614
- Performance comparison of picomatch and minimatch.
615
-
616
- ```
617
- # .makeRe star
618
- picomatch x 1,993,050 ops/sec ±0.51% (91 runs sampled)
619
- minimatch x 627,206 ops/sec ±1.96% (87 runs sampled))
620
-
621
- # .makeRe star; dot=true
622
- picomatch x 1,436,640 ops/sec ±0.62% (91 runs sampled)
623
- minimatch x 525,876 ops/sec ±0.60% (88 runs sampled)
624
-
625
- # .makeRe globstar
626
- picomatch x 1,592,742 ops/sec ±0.42% (90 runs sampled)
627
- minimatch x 962,043 ops/sec ±1.76% (91 runs sampled)d)
628
-
629
- # .makeRe globstars
630
- picomatch x 1,615,199 ops/sec ±0.35% (94 runs sampled)
631
- minimatch x 477,179 ops/sec ±1.33% (91 runs sampled)
632
-
633
- # .makeRe with leading star
634
- picomatch x 1,220,856 ops/sec ±0.40% (92 runs sampled)
635
- minimatch x 453,564 ops/sec ±1.43% (94 runs sampled)
636
-
637
- # .makeRe - basic braces
638
- picomatch x 392,067 ops/sec ±0.70% (90 runs sampled)
639
- minimatch x 99,532 ops/sec ±2.03% (87 runs sampled))
640
- ```
641
-
642
- <br>
643
- <br>
644
-
645
- ## Philosophies
646
-
647
- The goal of this library is to be blazing fast, without compromising on accuracy.
648
-
649
- **Accuracy**
650
-
651
- The number one of goal of this library is accuracy. However, it's not unusual for different glob implementations to have different rules for matching behavior, even with simple wildcard matching. It gets increasingly more complicated when combinations of different features are combined, like when extglobs are combined with globstars, braces, slashes, and so on: `!(**/{a,b,*/c})`.
652
-
653
- Thus, given that there is no canonical glob specification to use as a single source of truth when differences of opinion arise regarding behavior, sometimes we have to implement our best judgement and rely on feedback from users to make improvements.
654
-
655
- **Performance**
656
-
657
- Although this library performs well in benchmarks, and in most cases it's faster than other popular libraries we benchmarked against, we will always choose accuracy over performance. It's not helpful to anyone if our library is faster at returning the wrong answer.
658
-
659
- <br>
660
- <br>
661
-
662
- ## About
663
-
664
- <details>
665
- <summary><strong>Contributing</strong></summary>
666
-
667
- Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
668
-
669
- Please read the [contributing guide](.github/contributing.md) for advice on opening issues, pull requests, and coding standards.
670
-
671
- </details>
672
-
673
- <details>
674
- <summary><strong>Running Tests</strong></summary>
675
-
676
- Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
677
-
678
- ```sh
679
- npm install && npm test
680
- ```
681
-
682
- </details>
683
-
684
- <details>
685
- <summary><strong>Building docs</strong></summary>
686
-
687
- _(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
688
-
689
- To generate the readme, run the following command:
690
-
691
- ```sh
692
- npm install -g verbose/verb#dev verb-generate-readme && verb
693
- ```
694
-
695
- </details>
696
-
697
- ### Author
698
-
699
- **Jon Schlinkert**
700
-
701
- * [GitHub Profile](https://github.com/jonschlinkert)
702
- * [Twitter Profile](https://twitter.com/jonschlinkert)
703
- * [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)
704
-
705
- ### License
706
-
707
- Copyright © 2017-present, [Jon Schlinkert](https://github.com/jonschlinkert).
708
- Released under the [MIT License](LICENSE).