@esportsplus/typescript 0.8.1 → 0.8.3

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 (501) hide show
  1. package/bin/tsc +9 -0
  2. package/bin/tsc-alias +3 -0
  3. package/package.json +3 -3
  4. package/node_modules/.package-lock.json +0 -446
  5. package/node_modules/@nodelib/fs.scandir/LICENSE +0 -21
  6. package/node_modules/@nodelib/fs.scandir/README.md +0 -171
  7. package/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
  8. package/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +0 -19
  9. package/node_modules/@nodelib/fs.scandir/out/constants.d.ts +0 -4
  10. package/node_modules/@nodelib/fs.scandir/out/constants.js +0 -17
  11. package/node_modules/@nodelib/fs.scandir/out/index.d.ts +0 -12
  12. package/node_modules/@nodelib/fs.scandir/out/index.js +0 -26
  13. package/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
  14. package/node_modules/@nodelib/fs.scandir/out/providers/async.js +0 -104
  15. package/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +0 -1
  16. package/node_modules/@nodelib/fs.scandir/out/providers/common.js +0 -13
  17. package/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +0 -5
  18. package/node_modules/@nodelib/fs.scandir/out/providers/sync.js +0 -54
  19. package/node_modules/@nodelib/fs.scandir/out/settings.d.ts +0 -20
  20. package/node_modules/@nodelib/fs.scandir/out/settings.js +0 -24
  21. package/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
  22. package/node_modules/@nodelib/fs.scandir/out/types/index.js +0 -2
  23. package/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +0 -2
  24. package/node_modules/@nodelib/fs.scandir/out/utils/fs.js +0 -19
  25. package/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +0 -2
  26. package/node_modules/@nodelib/fs.scandir/out/utils/index.js +0 -5
  27. package/node_modules/@nodelib/fs.scandir/package.json +0 -44
  28. package/node_modules/@nodelib/fs.stat/LICENSE +0 -21
  29. package/node_modules/@nodelib/fs.stat/README.md +0 -126
  30. package/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
  31. package/node_modules/@nodelib/fs.stat/out/adapters/fs.js +0 -17
  32. package/node_modules/@nodelib/fs.stat/out/index.d.ts +0 -12
  33. package/node_modules/@nodelib/fs.stat/out/index.js +0 -26
  34. package/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
  35. package/node_modules/@nodelib/fs.stat/out/providers/async.js +0 -36
  36. package/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +0 -3
  37. package/node_modules/@nodelib/fs.stat/out/providers/sync.js +0 -23
  38. package/node_modules/@nodelib/fs.stat/out/settings.d.ts +0 -16
  39. package/node_modules/@nodelib/fs.stat/out/settings.js +0 -16
  40. package/node_modules/@nodelib/fs.stat/out/types/index.d.ts +0 -4
  41. package/node_modules/@nodelib/fs.stat/out/types/index.js +0 -2
  42. package/node_modules/@nodelib/fs.stat/package.json +0 -37
  43. package/node_modules/@nodelib/fs.walk/LICENSE +0 -21
  44. package/node_modules/@nodelib/fs.walk/README.md +0 -215
  45. package/node_modules/@nodelib/fs.walk/out/index.d.ts +0 -14
  46. package/node_modules/@nodelib/fs.walk/out/index.js +0 -34
  47. package/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
  48. package/node_modules/@nodelib/fs.walk/out/providers/async.js +0 -30
  49. package/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +0 -4
  50. package/node_modules/@nodelib/fs.walk/out/providers/index.js +0 -9
  51. package/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +0 -12
  52. package/node_modules/@nodelib/fs.walk/out/providers/stream.js +0 -34
  53. package/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +0 -10
  54. package/node_modules/@nodelib/fs.walk/out/providers/sync.js +0 -14
  55. package/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
  56. package/node_modules/@nodelib/fs.walk/out/readers/async.js +0 -97
  57. package/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +0 -7
  58. package/node_modules/@nodelib/fs.walk/out/readers/common.js +0 -31
  59. package/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
  60. package/node_modules/@nodelib/fs.walk/out/readers/reader.js +0 -11
  61. package/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +0 -15
  62. package/node_modules/@nodelib/fs.walk/out/readers/sync.js +0 -59
  63. package/node_modules/@nodelib/fs.walk/out/settings.d.ts +0 -30
  64. package/node_modules/@nodelib/fs.walk/out/settings.js +0 -26
  65. package/node_modules/@nodelib/fs.walk/out/types/index.d.ts +0 -8
  66. package/node_modules/@nodelib/fs.walk/out/types/index.js +0 -2
  67. package/node_modules/@nodelib/fs.walk/package.json +0 -44
  68. package/node_modules/anymatch/LICENSE +0 -15
  69. package/node_modules/anymatch/README.md +0 -87
  70. package/node_modules/anymatch/index.d.ts +0 -20
  71. package/node_modules/anymatch/index.js +0 -104
  72. package/node_modules/anymatch/package.json +0 -48
  73. package/node_modules/array-union/index.d.ts +0 -25
  74. package/node_modules/array-union/index.js +0 -5
  75. package/node_modules/array-union/license +0 -9
  76. package/node_modules/array-union/package.json +0 -38
  77. package/node_modules/array-union/readme.md +0 -34
  78. package/node_modules/binary-extensions/binary-extensions.json +0 -263
  79. package/node_modules/binary-extensions/binary-extensions.json.d.ts +0 -3
  80. package/node_modules/binary-extensions/index.d.ts +0 -14
  81. package/node_modules/binary-extensions/index.js +0 -1
  82. package/node_modules/binary-extensions/license +0 -10
  83. package/node_modules/binary-extensions/package.json +0 -40
  84. package/node_modules/binary-extensions/readme.md +0 -25
  85. package/node_modules/braces/LICENSE +0 -21
  86. package/node_modules/braces/README.md +0 -586
  87. package/node_modules/braces/index.js +0 -170
  88. package/node_modules/braces/lib/compile.js +0 -60
  89. package/node_modules/braces/lib/constants.js +0 -57
  90. package/node_modules/braces/lib/expand.js +0 -113
  91. package/node_modules/braces/lib/parse.js +0 -331
  92. package/node_modules/braces/lib/stringify.js +0 -32
  93. package/node_modules/braces/lib/utils.js +0 -122
  94. package/node_modules/braces/package.json +0 -77
  95. package/node_modules/chokidar/LICENSE +0 -21
  96. package/node_modules/chokidar/README.md +0 -308
  97. package/node_modules/chokidar/index.js +0 -973
  98. package/node_modules/chokidar/lib/constants.js +0 -66
  99. package/node_modules/chokidar/lib/fsevents-handler.js +0 -526
  100. package/node_modules/chokidar/lib/nodefs-handler.js +0 -654
  101. package/node_modules/chokidar/package.json +0 -70
  102. package/node_modules/chokidar/types/index.d.ts +0 -192
  103. package/node_modules/commander/LICENSE +0 -22
  104. package/node_modules/commander/Readme.md +0 -1129
  105. package/node_modules/commander/esm.mjs +0 -16
  106. package/node_modules/commander/index.js +0 -27
  107. package/node_modules/commander/lib/argument.js +0 -147
  108. package/node_modules/commander/lib/command.js +0 -2179
  109. package/node_modules/commander/lib/error.js +0 -45
  110. package/node_modules/commander/lib/help.js +0 -461
  111. package/node_modules/commander/lib/option.js +0 -326
  112. package/node_modules/commander/lib/suggestSimilar.js +0 -100
  113. package/node_modules/commander/package-support.json +0 -16
  114. package/node_modules/commander/package.json +0 -80
  115. package/node_modules/commander/typings/index.d.ts +0 -891
  116. package/node_modules/dir-glob/index.js +0 -75
  117. package/node_modules/dir-glob/license +0 -9
  118. package/node_modules/dir-glob/package.json +0 -38
  119. package/node_modules/dir-glob/readme.md +0 -76
  120. package/node_modules/fast-glob/LICENSE +0 -21
  121. package/node_modules/fast-glob/README.md +0 -830
  122. package/node_modules/fast-glob/out/index.d.ts +0 -40
  123. package/node_modules/fast-glob/out/index.js +0 -102
  124. package/node_modules/fast-glob/out/managers/tasks.d.ts +0 -22
  125. package/node_modules/fast-glob/out/managers/tasks.js +0 -110
  126. package/node_modules/fast-glob/out/providers/async.d.ts +0 -9
  127. package/node_modules/fast-glob/out/providers/async.js +0 -23
  128. package/node_modules/fast-glob/out/providers/filters/deep.d.ts +0 -16
  129. package/node_modules/fast-glob/out/providers/filters/deep.js +0 -62
  130. package/node_modules/fast-glob/out/providers/filters/entry.d.ts +0 -16
  131. package/node_modules/fast-glob/out/providers/filters/entry.js +0 -63
  132. package/node_modules/fast-glob/out/providers/filters/error.d.ts +0 -8
  133. package/node_modules/fast-glob/out/providers/filters/error.js +0 -15
  134. package/node_modules/fast-glob/out/providers/matchers/matcher.d.ts +0 -33
  135. package/node_modules/fast-glob/out/providers/matchers/matcher.js +0 -45
  136. package/node_modules/fast-glob/out/providers/matchers/partial.d.ts +0 -4
  137. package/node_modules/fast-glob/out/providers/matchers/partial.js +0 -38
  138. package/node_modules/fast-glob/out/providers/provider.d.ts +0 -19
  139. package/node_modules/fast-glob/out/providers/provider.js +0 -48
  140. package/node_modules/fast-glob/out/providers/stream.d.ts +0 -11
  141. package/node_modules/fast-glob/out/providers/stream.js +0 -31
  142. package/node_modules/fast-glob/out/providers/sync.d.ts +0 -9
  143. package/node_modules/fast-glob/out/providers/sync.js +0 -23
  144. package/node_modules/fast-glob/out/providers/transformers/entry.d.ts +0 -8
  145. package/node_modules/fast-glob/out/providers/transformers/entry.js +0 -26
  146. package/node_modules/fast-glob/out/readers/async.d.ts +0 -10
  147. package/node_modules/fast-glob/out/readers/async.js +0 -35
  148. package/node_modules/fast-glob/out/readers/reader.d.ts +0 -15
  149. package/node_modules/fast-glob/out/readers/reader.js +0 -33
  150. package/node_modules/fast-glob/out/readers/stream.d.ts +0 -14
  151. package/node_modules/fast-glob/out/readers/stream.js +0 -55
  152. package/node_modules/fast-glob/out/readers/sync.d.ts +0 -12
  153. package/node_modules/fast-glob/out/readers/sync.js +0 -43
  154. package/node_modules/fast-glob/out/settings.d.ts +0 -164
  155. package/node_modules/fast-glob/out/settings.js +0 -59
  156. package/node_modules/fast-glob/out/types/index.d.ts +0 -31
  157. package/node_modules/fast-glob/out/types/index.js +0 -2
  158. package/node_modules/fast-glob/out/utils/array.d.ts +0 -2
  159. package/node_modules/fast-glob/out/utils/array.js +0 -22
  160. package/node_modules/fast-glob/out/utils/errno.d.ts +0 -2
  161. package/node_modules/fast-glob/out/utils/errno.js +0 -7
  162. package/node_modules/fast-glob/out/utils/fs.d.ts +0 -4
  163. package/node_modules/fast-glob/out/utils/fs.js +0 -19
  164. package/node_modules/fast-glob/out/utils/index.d.ts +0 -8
  165. package/node_modules/fast-glob/out/utils/index.js +0 -17
  166. package/node_modules/fast-glob/out/utils/path.d.ts +0 -13
  167. package/node_modules/fast-glob/out/utils/path.js +0 -68
  168. package/node_modules/fast-glob/out/utils/pattern.d.ts +0 -47
  169. package/node_modules/fast-glob/out/utils/pattern.js +0 -188
  170. package/node_modules/fast-glob/out/utils/stream.d.ts +0 -4
  171. package/node_modules/fast-glob/out/utils/stream.js +0 -17
  172. package/node_modules/fast-glob/out/utils/string.d.ts +0 -2
  173. package/node_modules/fast-glob/out/utils/string.js +0 -11
  174. package/node_modules/fast-glob/package.json +0 -81
  175. package/node_modules/fastq/.github/dependabot.yml +0 -11
  176. package/node_modules/fastq/.github/workflows/ci.yml +0 -75
  177. package/node_modules/fastq/LICENSE +0 -13
  178. package/node_modules/fastq/README.md +0 -306
  179. package/node_modules/fastq/bench.js +0 -66
  180. package/node_modules/fastq/example.js +0 -14
  181. package/node_modules/fastq/example.mjs +0 -11
  182. package/node_modules/fastq/index.d.ts +0 -38
  183. package/node_modules/fastq/package.json +0 -53
  184. package/node_modules/fastq/queue.js +0 -311
  185. package/node_modules/fastq/test/example.ts +0 -83
  186. package/node_modules/fastq/test/promise.js +0 -248
  187. package/node_modules/fastq/test/test.js +0 -642
  188. package/node_modules/fastq/test/tsconfig.json +0 -11
  189. package/node_modules/fill-range/LICENSE +0 -21
  190. package/node_modules/fill-range/README.md +0 -237
  191. package/node_modules/fill-range/index.js +0 -248
  192. package/node_modules/fill-range/package.json +0 -74
  193. package/node_modules/get-tsconfig/LICENSE +0 -21
  194. package/node_modules/get-tsconfig/README.md +0 -235
  195. package/node_modules/get-tsconfig/dist/index.cjs +0 -7
  196. package/node_modules/get-tsconfig/dist/index.d.cts +0 -1439
  197. package/node_modules/get-tsconfig/dist/index.d.mts +0 -1439
  198. package/node_modules/get-tsconfig/dist/index.mjs +0 -7
  199. package/node_modules/get-tsconfig/package.json +0 -46
  200. package/node_modules/glob-parent/CHANGELOG.md +0 -110
  201. package/node_modules/glob-parent/LICENSE +0 -15
  202. package/node_modules/glob-parent/README.md +0 -137
  203. package/node_modules/glob-parent/index.js +0 -42
  204. package/node_modules/glob-parent/package.json +0 -48
  205. package/node_modules/globby/gitignore.js +0 -120
  206. package/node_modules/globby/index.d.ts +0 -186
  207. package/node_modules/globby/index.js +0 -181
  208. package/node_modules/globby/license +0 -9
  209. package/node_modules/globby/package.json +0 -82
  210. package/node_modules/globby/readme.md +0 -170
  211. package/node_modules/globby/stream-utils.js +0 -46
  212. package/node_modules/ignore/LICENSE-MIT +0 -21
  213. package/node_modules/ignore/README.md +0 -412
  214. package/node_modules/ignore/index.d.ts +0 -61
  215. package/node_modules/ignore/index.js +0 -626
  216. package/node_modules/ignore/legacy.js +0 -545
  217. package/node_modules/ignore/package.json +0 -73
  218. package/node_modules/is-binary-path/index.d.ts +0 -17
  219. package/node_modules/is-binary-path/index.js +0 -7
  220. package/node_modules/is-binary-path/license +0 -9
  221. package/node_modules/is-binary-path/package.json +0 -40
  222. package/node_modules/is-binary-path/readme.md +0 -34
  223. package/node_modules/is-extglob/LICENSE +0 -21
  224. package/node_modules/is-extglob/README.md +0 -107
  225. package/node_modules/is-extglob/index.js +0 -20
  226. package/node_modules/is-extglob/package.json +0 -69
  227. package/node_modules/is-glob/LICENSE +0 -21
  228. package/node_modules/is-glob/README.md +0 -206
  229. package/node_modules/is-glob/index.js +0 -150
  230. package/node_modules/is-glob/package.json +0 -81
  231. package/node_modules/is-number/LICENSE +0 -21
  232. package/node_modules/is-number/README.md +0 -187
  233. package/node_modules/is-number/index.js +0 -18
  234. package/node_modules/is-number/package.json +0 -82
  235. package/node_modules/merge2/LICENSE +0 -21
  236. package/node_modules/merge2/README.md +0 -144
  237. package/node_modules/merge2/index.js +0 -144
  238. package/node_modules/merge2/package.json +0 -43
  239. package/node_modules/micromatch/LICENSE +0 -21
  240. package/node_modules/micromatch/README.md +0 -1017
  241. package/node_modules/micromatch/index.js +0 -467
  242. package/node_modules/micromatch/package.json +0 -101
  243. package/node_modules/mylas/LICENSE +0 -21
  244. package/node_modules/mylas/README.md +0 -39
  245. package/node_modules/mylas/build/chunk-3EDNT3AM.js +0 -1
  246. package/node_modules/mylas/build/chunk-M3H36CX2.js +0 -3
  247. package/node_modules/mylas/build/index.d.ts +0 -22
  248. package/node_modules/mylas/build/index.js +0 -1
  249. package/node_modules/mylas/build/interfaces.d.ts +0 -201
  250. package/node_modules/mylas/build/register.d.ts +0 -9
  251. package/node_modules/mylas/build/register.js +0 -1
  252. package/node_modules/mylas/build/worker.js +0 -1
  253. package/node_modules/mylas/package.json +0 -65
  254. package/node_modules/normalize-path/LICENSE +0 -21
  255. package/node_modules/normalize-path/README.md +0 -127
  256. package/node_modules/normalize-path/index.js +0 -35
  257. package/node_modules/normalize-path/package.json +0 -77
  258. package/node_modules/path-type/index.d.ts +0 -51
  259. package/node_modules/path-type/index.js +0 -43
  260. package/node_modules/path-type/license +0 -9
  261. package/node_modules/path-type/package.json +0 -45
  262. package/node_modules/path-type/readme.md +0 -72
  263. package/node_modules/picomatch/CHANGELOG.md +0 -136
  264. package/node_modules/picomatch/LICENSE +0 -21
  265. package/node_modules/picomatch/README.md +0 -708
  266. package/node_modules/picomatch/index.js +0 -3
  267. package/node_modules/picomatch/lib/constants.js +0 -179
  268. package/node_modules/picomatch/lib/parse.js +0 -1091
  269. package/node_modules/picomatch/lib/picomatch.js +0 -342
  270. package/node_modules/picomatch/lib/scan.js +0 -391
  271. package/node_modules/picomatch/lib/utils.js +0 -64
  272. package/node_modules/picomatch/package.json +0 -81
  273. package/node_modules/plimit-lit/LICENSE +0 -21
  274. package/node_modules/plimit-lit/README.md +0 -99
  275. package/node_modules/plimit-lit/dist/index.d.ts +0 -6
  276. package/node_modules/plimit-lit/dist/plimit-lit.cjs +0 -91
  277. package/node_modules/plimit-lit/dist/plimit-lit.modern.js +0 -91
  278. package/node_modules/plimit-lit/dist/plimit-lit.module.js +0 -91
  279. package/node_modules/plimit-lit/package.json +0 -55
  280. package/node_modules/queue-lit/LICENSE +0 -21
  281. package/node_modules/queue-lit/README.md +0 -93
  282. package/node_modules/queue-lit/dist/index.d.ts +0 -34
  283. package/node_modules/queue-lit/dist/queue-lit.cjs +0 -110
  284. package/node_modules/queue-lit/dist/queue-lit.modern.js +0 -110
  285. package/node_modules/queue-lit/dist/queue-lit.module.js +0 -110
  286. package/node_modules/queue-lit/package.json +0 -53
  287. package/node_modules/queue-microtask/LICENSE +0 -20
  288. package/node_modules/queue-microtask/README.md +0 -90
  289. package/node_modules/queue-microtask/index.d.ts +0 -2
  290. package/node_modules/queue-microtask/index.js +0 -9
  291. package/node_modules/queue-microtask/package.json +0 -55
  292. package/node_modules/readdirp/LICENSE +0 -21
  293. package/node_modules/readdirp/README.md +0 -122
  294. package/node_modules/readdirp/index.d.ts +0 -43
  295. package/node_modules/readdirp/index.js +0 -287
  296. package/node_modules/readdirp/package.json +0 -122
  297. package/node_modules/resolve-pkg-maps/LICENSE +0 -21
  298. package/node_modules/resolve-pkg-maps/README.md +0 -216
  299. package/node_modules/resolve-pkg-maps/dist/index.cjs +0 -1
  300. package/node_modules/resolve-pkg-maps/dist/index.d.cts +0 -11
  301. package/node_modules/resolve-pkg-maps/dist/index.d.mts +0 -11
  302. package/node_modules/resolve-pkg-maps/dist/index.mjs +0 -1
  303. package/node_modules/resolve-pkg-maps/package.json +0 -42
  304. package/node_modules/reusify/.coveralls.yml +0 -1
  305. package/node_modules/reusify/.travis.yml +0 -28
  306. package/node_modules/reusify/LICENSE +0 -22
  307. package/node_modules/reusify/README.md +0 -145
  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/package.json +0 -45
  312. package/node_modules/reusify/reusify.js +0 -33
  313. package/node_modules/reusify/test.js +0 -66
  314. package/node_modules/run-parallel/LICENSE +0 -20
  315. package/node_modules/run-parallel/README.md +0 -85
  316. package/node_modules/run-parallel/index.js +0 -51
  317. package/node_modules/run-parallel/package.json +0 -58
  318. package/node_modules/slash/index.d.ts +0 -25
  319. package/node_modules/slash/index.js +0 -11
  320. package/node_modules/slash/license +0 -9
  321. package/node_modules/slash/package.json +0 -35
  322. package/node_modules/slash/readme.md +0 -44
  323. package/node_modules/to-regex-range/LICENSE +0 -21
  324. package/node_modules/to-regex-range/README.md +0 -305
  325. package/node_modules/to-regex-range/index.js +0 -288
  326. package/node_modules/to-regex-range/package.json +0 -88
  327. package/node_modules/tsc-alias/LICENSE +0 -21
  328. package/node_modules/tsc-alias/README.md +0 -184
  329. package/node_modules/tsc-alias/dist/bin/index.d.ts +0 -2
  330. package/node_modules/tsc-alias/dist/bin/index.js +0 -39
  331. package/node_modules/tsc-alias/dist/bin/index.js.map +0 -1
  332. package/node_modules/tsc-alias/dist/helpers/config.d.ts +0 -5
  333. package/node_modules/tsc-alias/dist/helpers/config.js +0 -181
  334. package/node_modules/tsc-alias/dist/helpers/config.js.map +0 -1
  335. package/node_modules/tsc-alias/dist/helpers/index.d.ts +0 -3
  336. package/node_modules/tsc-alias/dist/helpers/index.js +0 -20
  337. package/node_modules/tsc-alias/dist/helpers/index.js.map +0 -1
  338. package/node_modules/tsc-alias/dist/helpers/path.d.ts +0 -3
  339. package/node_modules/tsc-alias/dist/helpers/path.js +0 -73
  340. package/node_modules/tsc-alias/dist/helpers/path.js.map +0 -1
  341. package/node_modules/tsc-alias/dist/helpers/replacers.d.ts +0 -4
  342. package/node_modules/tsc-alias/dist/helpers/replacers.js +0 -150
  343. package/node_modules/tsc-alias/dist/helpers/replacers.js.map +0 -1
  344. package/node_modules/tsc-alias/dist/index.d.ts +0 -8
  345. package/node_modules/tsc-alias/dist/index.js +0 -74
  346. package/node_modules/tsc-alias/dist/index.js.map +0 -1
  347. package/node_modules/tsc-alias/dist/interfaces.d.ts +0 -87
  348. package/node_modules/tsc-alias/dist/interfaces.js +0 -3
  349. package/node_modules/tsc-alias/dist/interfaces.js.map +0 -1
  350. package/node_modules/tsc-alias/dist/replacers/base-url.replacer.d.ts +0 -2
  351. package/node_modules/tsc-alias/dist/replacers/base-url.replacer.js +0 -33
  352. package/node_modules/tsc-alias/dist/replacers/base-url.replacer.js.map +0 -1
  353. package/node_modules/tsc-alias/dist/replacers/default.replacer.d.ts +0 -2
  354. package/node_modules/tsc-alias/dist/replacers/default.replacer.js +0 -67
  355. package/node_modules/tsc-alias/dist/replacers/default.replacer.js.map +0 -1
  356. package/node_modules/tsc-alias/dist/utils/import-path-resolver.d.ts +0 -19
  357. package/node_modules/tsc-alias/dist/utils/import-path-resolver.js +0 -87
  358. package/node_modules/tsc-alias/dist/utils/import-path-resolver.js.map +0 -1
  359. package/node_modules/tsc-alias/dist/utils/index.d.ts +0 -4
  360. package/node_modules/tsc-alias/dist/utils/index.js +0 -21
  361. package/node_modules/tsc-alias/dist/utils/index.js.map +0 -1
  362. package/node_modules/tsc-alias/dist/utils/output.d.ts +0 -11
  363. package/node_modules/tsc-alias/dist/utils/output.js +0 -44
  364. package/node_modules/tsc-alias/dist/utils/output.js.map +0 -1
  365. package/node_modules/tsc-alias/dist/utils/path-cache.d.ts +0 -12
  366. package/node_modules/tsc-alias/dist/utils/path-cache.js +0 -74
  367. package/node_modules/tsc-alias/dist/utils/path-cache.js.map +0 -1
  368. package/node_modules/tsc-alias/dist/utils/trie.d.ts +0 -9
  369. package/node_modules/tsc-alias/dist/utils/trie.js +0 -81
  370. package/node_modules/tsc-alias/dist/utils/trie.js.map +0 -1
  371. package/node_modules/tsc-alias/package.json +0 -66
  372. package/node_modules/typescript/LICENSE.txt +0 -55
  373. package/node_modules/typescript/README.md +0 -50
  374. package/node_modules/typescript/SECURITY.md +0 -41
  375. package/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  376. package/node_modules/typescript/bin/tsc +0 -2
  377. package/node_modules/typescript/bin/tsserver +0 -2
  378. package/node_modules/typescript/lib/_tsc.js +0 -132810
  379. package/node_modules/typescript/lib/_tsserver.js +0 -659
  380. package/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  381. package/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2105
  382. package/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2105
  383. package/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2105
  384. package/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2105
  385. package/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2105
  386. package/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2105
  387. package/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2105
  388. package/node_modules/typescript/lib/lib.d.ts +0 -22
  389. package/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
  390. package/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  391. package/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
  392. package/node_modules/typescript/lib/lib.dom.d.ts +0 -29610
  393. package/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -493
  394. package/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  395. package/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  396. package/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  397. package/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  398. package/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
  399. package/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  400. package/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  401. package/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  402. package/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  403. package/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  404. package/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  405. package/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  406. package/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  407. package/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  408. package/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
  409. package/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
  410. package/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  411. package/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  412. package/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  413. package/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  414. package/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  415. package/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  416. package/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  417. package/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  418. package/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
  419. package/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  420. package/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  421. package/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  422. package/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  423. package/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  424. package/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  425. package/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  426. package/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  427. package/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  428. package/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  429. package/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  430. package/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  431. package/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
  432. package/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  433. package/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  434. package/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  435. package/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  436. package/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  437. package/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  438. package/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
  439. package/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
  440. package/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
  441. package/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  442. package/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  443. package/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  444. package/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  445. package/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  446. package/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
  447. package/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  448. package/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
  449. package/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
  450. package/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  451. package/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -121
  452. package/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  453. package/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  454. package/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  455. package/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  456. package/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  457. package/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  458. package/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  459. package/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  460. package/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
  461. package/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
  462. package/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
  463. package/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
  464. package/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
  465. package/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
  466. package/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
  467. package/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
  468. package/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
  469. package/node_modules/typescript/lib/lib.es5.d.ts +0 -4594
  470. package/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  471. package/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  472. package/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
  473. package/node_modules/typescript/lib/lib.esnext.d.ts +0 -27
  474. package/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  475. package/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
  476. package/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -443
  477. package/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  478. package/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  479. package/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
  480. package/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
  481. package/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  482. package/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
  483. package/node_modules/typescript/lib/lib.webworker.d.ts +0 -9894
  484. package/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  485. package/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -287
  486. package/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2105
  487. package/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2105
  488. package/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2105
  489. package/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2105
  490. package/node_modules/typescript/lib/tsc.js +0 -8
  491. package/node_modules/typescript/lib/tsserver.js +0 -8
  492. package/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  493. package/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  494. package/node_modules/typescript/lib/typesMap.json +0 -497
  495. package/node_modules/typescript/lib/typescript.d.ts +0 -11399
  496. package/node_modules/typescript/lib/typescript.js +0 -199120
  497. package/node_modules/typescript/lib/typingsInstaller.js +0 -8
  498. package/node_modules/typescript/lib/watchGuard.js +0 -53
  499. package/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2105
  500. package/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2105
  501. package/node_modules/typescript/package.json +0 -120
@@ -1,545 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
5
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
6
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
8
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
9
- // A simple implementation of make-array
10
- function makeArray(subject) {
11
- return Array.isArray(subject) ? subject : [subject];
12
- }
13
- var EMPTY = '';
14
- var SPACE = ' ';
15
- var ESCAPE = '\\';
16
- var REGEX_TEST_BLANK_LINE = /^\s+$/;
17
- var REGEX_INVALID_TRAILING_BACKSLASH = /(?:[^\\]|^)\\$/;
18
- var REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION = /^\\!/;
19
- var REGEX_REPLACE_LEADING_EXCAPED_HASH = /^\\#/;
20
- var REGEX_SPLITALL_CRLF = /\r?\n/g;
21
- // /foo,
22
- // ./foo,
23
- // ../foo,
24
- // .
25
- // ..
26
- var REGEX_TEST_INVALID_PATH = /^\.*\/|^\.+$/;
27
- var SLASH = '/';
28
-
29
- // Do not use ternary expression here, since "istanbul ignore next" is buggy
30
- var TMP_KEY_IGNORE = 'node-ignore';
31
- /* istanbul ignore else */
32
- if (typeof Symbol !== 'undefined') {
33
- TMP_KEY_IGNORE = Symbol["for"]('node-ignore');
34
- }
35
- var KEY_IGNORE = TMP_KEY_IGNORE;
36
- var define = function define(object, key, value) {
37
- return Object.defineProperty(object, key, {
38
- value: value
39
- });
40
- };
41
- var REGEX_REGEXP_RANGE = /([0-z])-([0-z])/g;
42
- var RETURN_FALSE = function RETURN_FALSE() {
43
- return false;
44
- };
45
-
46
- // Sanitize the range of a regular expression
47
- // The cases are complicated, see test cases for details
48
- var sanitizeRange = function sanitizeRange(range) {
49
- return range.replace(REGEX_REGEXP_RANGE, function (match, from, to) {
50
- return from.charCodeAt(0) <= to.charCodeAt(0) ? match
51
- // Invalid range (out of order) which is ok for gitignore rules but
52
- // fatal for JavaScript regular expression, so eliminate it.
53
- : EMPTY;
54
- });
55
- };
56
-
57
- // See fixtures #59
58
- var cleanRangeBackSlash = function cleanRangeBackSlash(slashes) {
59
- var length = slashes.length;
60
- return slashes.slice(0, length - length % 2);
61
- };
62
-
63
- // > If the pattern ends with a slash,
64
- // > it is removed for the purpose of the following description,
65
- // > but it would only find a match with a directory.
66
- // > In other words, foo/ will match a directory foo and paths underneath it,
67
- // > but will not match a regular file or a symbolic link foo
68
- // > (this is consistent with the way how pathspec works in general in Git).
69
- // '`foo/`' will not match regular file '`foo`' or symbolic link '`foo`'
70
- // -> ignore-rules will not deal with it, because it costs extra `fs.stat` call
71
- // you could use option `mark: true` with `glob`
72
-
73
- // '`foo/`' should not continue with the '`..`'
74
- var REPLACERS = [[
75
- // remove BOM
76
- // TODO:
77
- // Other similar zero-width characters?
78
- /^\uFEFF/, function () {
79
- return EMPTY;
80
- }],
81
- // > Trailing spaces are ignored unless they are quoted with backslash ("\")
82
- [
83
- // (a\ ) -> (a )
84
- // (a ) -> (a)
85
- // (a \ ) -> (a )
86
- /\\?\s+$/, function (match) {
87
- return match.indexOf('\\') === 0 ? SPACE : EMPTY;
88
- }],
89
- // replace (\ ) with ' '
90
- [/\\\s/g, function () {
91
- return SPACE;
92
- }],
93
- // Escape metacharacters
94
- // which is written down by users but means special for regular expressions.
95
-
96
- // > There are 12 characters with special meanings:
97
- // > - the backslash \,
98
- // > - the caret ^,
99
- // > - the dollar sign $,
100
- // > - the period or dot .,
101
- // > - the vertical bar or pipe symbol |,
102
- // > - the question mark ?,
103
- // > - the asterisk or star *,
104
- // > - the plus sign +,
105
- // > - the opening parenthesis (,
106
- // > - the closing parenthesis ),
107
- // > - and the opening square bracket [,
108
- // > - the opening curly brace {,
109
- // > These special characters are often called "metacharacters".
110
- [/[\\$.|*+(){^]/g, function (match) {
111
- return "\\".concat(match);
112
- }], [
113
- // > a question mark (?) matches a single character
114
- /(?!\\)\?/g, function () {
115
- return '[^/]';
116
- }],
117
- // leading slash
118
- [
119
- // > A leading slash matches the beginning of the pathname.
120
- // > For example, "/*.c" matches "cat-file.c" but not "mozilla-sha1/sha1.c".
121
- // A leading slash matches the beginning of the pathname
122
- /^\//, function () {
123
- return '^';
124
- }],
125
- // replace special metacharacter slash after the leading slash
126
- [/\//g, function () {
127
- return '\\/';
128
- }], [
129
- // > A leading "**" followed by a slash means match in all directories.
130
- // > For example, "**/foo" matches file or directory "foo" anywhere,
131
- // > the same as pattern "foo".
132
- // > "**/foo/bar" matches file or directory "bar" anywhere that is directly
133
- // > under directory "foo".
134
- // Notice that the '*'s have been replaced as '\\*'
135
- /^\^*\\\*\\\*\\\//,
136
- // '**/foo' <-> 'foo'
137
- function () {
138
- return '^(?:.*\\/)?';
139
- }],
140
- // starting
141
- [
142
- // there will be no leading '/'
143
- // (which has been replaced by section "leading slash")
144
- // If starts with '**', adding a '^' to the regular expression also works
145
- /^(?=[^^])/, function startingReplacer() {
146
- // If has a slash `/` at the beginning or middle
147
- return !/\/(?!$)/.test(this)
148
- // > Prior to 2.22.1
149
- // > If the pattern does not contain a slash /,
150
- // > Git treats it as a shell glob pattern
151
- // Actually, if there is only a trailing slash,
152
- // git also treats it as a shell glob pattern
153
-
154
- // After 2.22.1 (compatible but clearer)
155
- // > If there is a separator at the beginning or middle (or both)
156
- // > of the pattern, then the pattern is relative to the directory
157
- // > level of the particular .gitignore file itself.
158
- // > Otherwise the pattern may also match at any level below
159
- // > the .gitignore level.
160
- ? '(?:^|\\/)'
161
-
162
- // > Otherwise, Git treats the pattern as a shell glob suitable for
163
- // > consumption by fnmatch(3)
164
- : '^';
165
- }],
166
- // two globstars
167
- [
168
- // Use lookahead assertions so that we could match more than one `'/**'`
169
- /\\\/\\\*\\\*(?=\\\/|$)/g,
170
- // Zero, one or several directories
171
- // should not use '*', or it will be replaced by the next replacer
172
-
173
- // Check if it is not the last `'/**'`
174
- function (_, index, str) {
175
- return index + 6 < str.length
176
-
177
- // case: /**/
178
- // > A slash followed by two consecutive asterisks then a slash matches
179
- // > zero or more directories.
180
- // > For example, "a/**/b" matches "a/b", "a/x/b", "a/x/y/b" and so on.
181
- // '/**/'
182
- ? '(?:\\/[^\\/]+)*'
183
-
184
- // case: /**
185
- // > A trailing `"/**"` matches everything inside.
186
-
187
- // #21: everything inside but it should not include the current folder
188
- : '\\/.+';
189
- }],
190
- // normal intermediate wildcards
191
- [
192
- // Never replace escaped '*'
193
- // ignore rule '\*' will match the path '*'
194
-
195
- // 'abc.*/' -> go
196
- // 'abc.*' -> skip this rule,
197
- // coz trailing single wildcard will be handed by [trailing wildcard]
198
- /(^|[^\\]+)(\\\*)+(?=.+)/g,
199
- // '*.js' matches '.js'
200
- // '*.js' doesn't match 'abc'
201
- function (_, p1, p2) {
202
- // 1.
203
- // > An asterisk "*" matches anything except a slash.
204
- // 2.
205
- // > Other consecutive asterisks are considered regular asterisks
206
- // > and will match according to the previous rules.
207
- var unescaped = p2.replace(/\\\*/g, '[^\\/]*');
208
- return p1 + unescaped;
209
- }], [
210
- // unescape, revert step 3 except for back slash
211
- // For example, if a user escape a '\\*',
212
- // after step 3, the result will be '\\\\\\*'
213
- /\\\\\\(?=[$.|*+(){^])/g, function () {
214
- return ESCAPE;
215
- }], [
216
- // '\\\\' -> '\\'
217
- /\\\\/g, function () {
218
- return ESCAPE;
219
- }], [
220
- // > The range notation, e.g. [a-zA-Z],
221
- // > can be used to match one of the characters in a range.
222
-
223
- // `\` is escaped by step 3
224
- /(\\)?\[([^\]/]*?)(\\*)($|\])/g, function (match, leadEscape, range, endEscape, close) {
225
- return leadEscape === ESCAPE
226
- // '\\[bar]' -> '\\\\[bar\\]'
227
- ? "\\[".concat(range).concat(cleanRangeBackSlash(endEscape)).concat(close) : close === ']' ? endEscape.length % 2 === 0
228
- // A normal case, and it is a range notation
229
- // '[bar]'
230
- // '[bar\\\\]'
231
- ? "[".concat(sanitizeRange(range)).concat(endEscape, "]") // Invalid range notaton
232
- // '[bar\\]' -> '[bar\\\\]'
233
- : '[]' : '[]';
234
- }],
235
- // ending
236
- [
237
- // 'js' will not match 'js.'
238
- // 'ab' will not match 'abc'
239
- /(?:[^*])$/,
240
- // WTF!
241
- // https://git-scm.com/docs/gitignore
242
- // changes in [2.22.1](https://git-scm.com/docs/gitignore/2.22.1)
243
- // which re-fixes #24, #38
244
-
245
- // > If there is a separator at the end of the pattern then the pattern
246
- // > will only match directories, otherwise the pattern can match both
247
- // > files and directories.
248
-
249
- // 'js*' will not match 'a.js'
250
- // 'js/' will not match 'a.js'
251
- // 'js' will match 'a.js' and 'a.js/'
252
- function (match) {
253
- return /\/$/.test(match)
254
- // foo/ will not match 'foo'
255
- ? "".concat(match, "$") // foo matches 'foo' and 'foo/'
256
- : "".concat(match, "(?=$|\\/$)");
257
- }],
258
- // trailing wildcard
259
- [/(\^|\\\/)?\\\*$/, function (_, p1) {
260
- var prefix = p1
261
- // '\^':
262
- // '/*' does not match EMPTY
263
- // '/*' does not match everything
264
-
265
- // '\\\/':
266
- // 'abc/*' does not match 'abc/'
267
- ? "".concat(p1, "[^/]+") // 'a*' matches 'a'
268
- // 'a*' matches 'aa'
269
- : '[^/]*';
270
- return "".concat(prefix, "(?=$|\\/$)");
271
- }]];
272
-
273
- // A simple cache, because an ignore rule only has only one certain meaning
274
- var regexCache = Object.create(null);
275
-
276
- // @param {pattern}
277
- var makeRegex = function makeRegex(pattern, ignoreCase) {
278
- var source = regexCache[pattern];
279
- if (!source) {
280
- source = REPLACERS.reduce(function (prev, current) {
281
- return prev.replace(current[0], current[1].bind(pattern));
282
- }, pattern);
283
- regexCache[pattern] = source;
284
- }
285
- return ignoreCase ? new RegExp(source, 'i') : new RegExp(source);
286
- };
287
- var isString = function isString(subject) {
288
- return typeof subject === 'string';
289
- };
290
-
291
- // > A blank line matches no files, so it can serve as a separator for readability.
292
- var checkPattern = function checkPattern(pattern) {
293
- return pattern && isString(pattern) && !REGEX_TEST_BLANK_LINE.test(pattern) && !REGEX_INVALID_TRAILING_BACKSLASH.test(pattern)
294
-
295
- // > A line starting with # serves as a comment.
296
- && pattern.indexOf('#') !== 0;
297
- };
298
- var splitPattern = function splitPattern(pattern) {
299
- return pattern.split(REGEX_SPLITALL_CRLF);
300
- };
301
- var IgnoreRule = /*#__PURE__*/_createClass(function IgnoreRule(origin, pattern, negative, regex) {
302
- _classCallCheck(this, IgnoreRule);
303
- this.origin = origin;
304
- this.pattern = pattern;
305
- this.negative = negative;
306
- this.regex = regex;
307
- });
308
- var createRule = function createRule(pattern, ignoreCase) {
309
- var origin = pattern;
310
- var negative = false;
311
-
312
- // > An optional prefix "!" which negates the pattern;
313
- if (pattern.indexOf('!') === 0) {
314
- negative = true;
315
- pattern = pattern.substr(1);
316
- }
317
- pattern = pattern
318
- // > Put a backslash ("\") in front of the first "!" for patterns that
319
- // > begin with a literal "!", for example, `"\!important!.txt"`.
320
- .replace(REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION, '!')
321
- // > Put a backslash ("\") in front of the first hash for patterns that
322
- // > begin with a hash.
323
- .replace(REGEX_REPLACE_LEADING_EXCAPED_HASH, '#');
324
- var regex = makeRegex(pattern, ignoreCase);
325
- return new IgnoreRule(origin, pattern, negative, regex);
326
- };
327
- var throwError = function throwError(message, Ctor) {
328
- throw new Ctor(message);
329
- };
330
- var checkPath = function checkPath(path, originalPath, doThrow) {
331
- if (!isString(path)) {
332
- return doThrow("path must be a string, but got `".concat(originalPath, "`"), TypeError);
333
- }
334
-
335
- // We don't know if we should ignore EMPTY, so throw
336
- if (!path) {
337
- return doThrow("path must not be empty", TypeError);
338
- }
339
-
340
- // Check if it is a relative path
341
- if (checkPath.isNotRelative(path)) {
342
- var r = '`path.relative()`d';
343
- return doThrow("path should be a ".concat(r, " string, but got \"").concat(originalPath, "\""), RangeError);
344
- }
345
- return true;
346
- };
347
- var isNotRelative = function isNotRelative(path) {
348
- return REGEX_TEST_INVALID_PATH.test(path);
349
- };
350
- checkPath.isNotRelative = isNotRelative;
351
- checkPath.convert = function (p) {
352
- return p;
353
- };
354
- var Ignore = /*#__PURE__*/function () {
355
- function Ignore() {
356
- var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
357
- _ref$ignorecase = _ref.ignorecase,
358
- ignorecase = _ref$ignorecase === void 0 ? true : _ref$ignorecase,
359
- _ref$ignoreCase = _ref.ignoreCase,
360
- ignoreCase = _ref$ignoreCase === void 0 ? ignorecase : _ref$ignoreCase,
361
- _ref$allowRelativePat = _ref.allowRelativePaths,
362
- allowRelativePaths = _ref$allowRelativePat === void 0 ? false : _ref$allowRelativePat;
363
- _classCallCheck(this, Ignore);
364
- define(this, KEY_IGNORE, true);
365
- this._rules = [];
366
- this._ignoreCase = ignoreCase;
367
- this._allowRelativePaths = allowRelativePaths;
368
- this._initCache();
369
- }
370
- _createClass(Ignore, [{
371
- key: "_initCache",
372
- value: function _initCache() {
373
- this._ignoreCache = Object.create(null);
374
- this._testCache = Object.create(null);
375
- }
376
- }, {
377
- key: "_addPattern",
378
- value: function _addPattern(pattern) {
379
- // #32
380
- if (pattern && pattern[KEY_IGNORE]) {
381
- this._rules = this._rules.concat(pattern._rules);
382
- this._added = true;
383
- return;
384
- }
385
- if (checkPattern(pattern)) {
386
- var rule = createRule(pattern, this._ignoreCase);
387
- this._added = true;
388
- this._rules.push(rule);
389
- }
390
- }
391
-
392
- // @param {Array<string> | string | Ignore} pattern
393
- }, {
394
- key: "add",
395
- value: function add(pattern) {
396
- this._added = false;
397
- makeArray(isString(pattern) ? splitPattern(pattern) : pattern).forEach(this._addPattern, this);
398
-
399
- // Some rules have just added to the ignore,
400
- // making the behavior changed.
401
- if (this._added) {
402
- this._initCache();
403
- }
404
- return this;
405
- }
406
-
407
- // legacy
408
- }, {
409
- key: "addPattern",
410
- value: function addPattern(pattern) {
411
- return this.add(pattern);
412
- }
413
-
414
- // | ignored : unignored
415
- // negative | 0:0 | 0:1 | 1:0 | 1:1
416
- // -------- | ------- | ------- | ------- | --------
417
- // 0 | TEST | TEST | SKIP | X
418
- // 1 | TESTIF | SKIP | TEST | X
419
-
420
- // - SKIP: always skip
421
- // - TEST: always test
422
- // - TESTIF: only test if checkUnignored
423
- // - X: that never happen
424
-
425
- // @param {boolean} whether should check if the path is unignored,
426
- // setting `checkUnignored` to `false` could reduce additional
427
- // path matching.
428
-
429
- // @returns {TestResult} true if a file is ignored
430
- }, {
431
- key: "_testOne",
432
- value: function _testOne(path, checkUnignored) {
433
- var ignored = false;
434
- var unignored = false;
435
- this._rules.forEach(function (rule) {
436
- var negative = rule.negative;
437
- if (unignored === negative && ignored !== unignored || negative && !ignored && !unignored && !checkUnignored) {
438
- return;
439
- }
440
- var matched = rule.regex.test(path);
441
- if (matched) {
442
- ignored = !negative;
443
- unignored = negative;
444
- }
445
- });
446
- return {
447
- ignored: ignored,
448
- unignored: unignored
449
- };
450
- }
451
-
452
- // @returns {TestResult}
453
- }, {
454
- key: "_test",
455
- value: function _test(originalPath, cache, checkUnignored, slices) {
456
- var path = originalPath
457
- // Supports nullable path
458
- && checkPath.convert(originalPath);
459
- checkPath(path, originalPath, this._allowRelativePaths ? RETURN_FALSE : throwError);
460
- return this._t(path, cache, checkUnignored, slices);
461
- }
462
- }, {
463
- key: "_t",
464
- value: function _t(path, cache, checkUnignored, slices) {
465
- if (path in cache) {
466
- return cache[path];
467
- }
468
- if (!slices) {
469
- // path/to/a.js
470
- // ['path', 'to', 'a.js']
471
- slices = path.split(SLASH);
472
- }
473
- slices.pop();
474
-
475
- // If the path has no parent directory, just test it
476
- if (!slices.length) {
477
- return cache[path] = this._testOne(path, checkUnignored);
478
- }
479
- var parent = this._t(slices.join(SLASH) + SLASH, cache, checkUnignored, slices);
480
-
481
- // If the path contains a parent directory, check the parent first
482
- return cache[path] = parent.ignored
483
- // > It is not possible to re-include a file if a parent directory of
484
- // > that file is excluded.
485
- ? parent : this._testOne(path, checkUnignored);
486
- }
487
- }, {
488
- key: "ignores",
489
- value: function ignores(path) {
490
- return this._test(path, this._ignoreCache, false).ignored;
491
- }
492
- }, {
493
- key: "createFilter",
494
- value: function createFilter() {
495
- var _this = this;
496
- return function (path) {
497
- return !_this.ignores(path);
498
- };
499
- }
500
- }, {
501
- key: "filter",
502
- value: function filter(paths) {
503
- return makeArray(paths).filter(this.createFilter());
504
- }
505
-
506
- // @returns {TestResult}
507
- }, {
508
- key: "test",
509
- value: function test(path) {
510
- return this._test(path, this._testCache, true);
511
- }
512
- }]);
513
- return Ignore;
514
- }();
515
- var factory = function factory(options) {
516
- return new Ignore(options);
517
- };
518
- var isPathValid = function isPathValid(path) {
519
- return checkPath(path && checkPath.convert(path), path, RETURN_FALSE);
520
- };
521
- factory.isPathValid = isPathValid;
522
-
523
- // Fixes typescript
524
- factory["default"] = factory;
525
- module.exports = factory;
526
-
527
- // Windows
528
- // --------------------------------------------------------------
529
- /* istanbul ignore if */
530
- if (
531
- // Detect `process` so that it can run in browsers.
532
- typeof process !== 'undefined' && (process.env && process.env.IGNORE_TEST_WIN32 || process.platform === 'win32')) {
533
- /* eslint no-control-regex: "off" */
534
- var makePosix = function makePosix(str) {
535
- return /^\\\\\?\\/.test(str) || /[\0-\x1F"<>\|]+/.test(str) ? str : str.replace(/\\/g, '/');
536
- };
537
- checkPath.convert = makePosix;
538
-
539
- // 'C:\\foo' <- 'C:\\foo' has been converted to 'C:/'
540
- // 'd:\\foo'
541
- var REGIX_IS_WINDOWS_PATH_ABSOLUTE = /^[a-z]:\//i;
542
- checkPath.isNotRelative = function (path) {
543
- return REGIX_IS_WINDOWS_PATH_ABSOLUTE.test(path) || isNotRelative(path);
544
- };
545
- }
@@ -1,73 +0,0 @@
1
- {
2
- "name": "ignore",
3
- "version": "5.3.1",
4
- "description": "Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.",
5
- "files": [
6
- "legacy.js",
7
- "index.js",
8
- "index.d.ts",
9
- "LICENSE-MIT"
10
- ],
11
- "scripts": {
12
- "prepublishOnly": "npm run build",
13
- "build": "babel -o legacy.js index.js",
14
- "test:lint": "eslint .",
15
- "test:tsc": "tsc ./test/ts/simple.ts --lib ES6",
16
- "test:ts": "node ./test/ts/simple.js",
17
- "tap": "tap --reporter classic",
18
- "test:git": "npm run tap test/git-check-ignore.js",
19
- "test:ignore": "npm run tap test/ignore.js",
20
- "test:others": "npm run tap test/others.js",
21
- "test:cases": "npm run tap test/*.js -- --coverage",
22
- "test:no-coverage": "npm run tap test/*.js -- --no-check-coverage",
23
- "test:only": "npm run test:lint && npm run test:tsc && npm run test:ts && npm run test:cases",
24
- "test": "npm run test:only",
25
- "test:win32": "IGNORE_TEST_WIN32=1 npm run test",
26
- "report": "tap --coverage-report=html",
27
- "posttest": "npm run report && codecov"
28
- },
29
- "repository": {
30
- "type": "git",
31
- "url": "git@github.com:kaelzhang/node-ignore.git"
32
- },
33
- "keywords": [
34
- "ignore",
35
- ".gitignore",
36
- "gitignore",
37
- "npmignore",
38
- "rules",
39
- "manager",
40
- "filter",
41
- "regexp",
42
- "regex",
43
- "fnmatch",
44
- "glob",
45
- "asterisks",
46
- "regular-expression"
47
- ],
48
- "author": "kael",
49
- "license": "MIT",
50
- "bugs": {
51
- "url": "https://github.com/kaelzhang/node-ignore/issues"
52
- },
53
- "devDependencies": {
54
- "@babel/cli": "^7.22.9",
55
- "@babel/core": "^7.22.9",
56
- "@babel/preset-env": "^7.22.9",
57
- "codecov": "^3.8.2",
58
- "debug": "^4.3.4",
59
- "eslint": "^8.46.0",
60
- "eslint-config-ostai": "^3.0.0",
61
- "eslint-plugin-import": "^2.28.0",
62
- "mkdirp": "^3.0.1",
63
- "pre-suf": "^1.1.1",
64
- "rimraf": "^5.0.1",
65
- "spawn-sync": "^2.0.0",
66
- "tap": "^16.3.9",
67
- "tmp": "0.2.1",
68
- "typescript": "^5.1.6"
69
- },
70
- "engines": {
71
- "node": ">= 4"
72
- }
73
- }
@@ -1,17 +0,0 @@
1
- /**
2
- Check if a file path is a binary file.
3
-
4
- @example
5
- ```
6
- import isBinaryPath = require('is-binary-path');
7
-
8
- isBinaryPath('source/unicorn.png');
9
- //=> true
10
-
11
- isBinaryPath('source/unicorn.txt');
12
- //=> false
13
- ```
14
- */
15
- declare function isBinaryPath(filePath: string): boolean;
16
-
17
- export = isBinaryPath;
@@ -1,7 +0,0 @@
1
- 'use strict';
2
- const path = require('path');
3
- const binaryExtensions = require('binary-extensions');
4
-
5
- const extensions = new Set(binaryExtensions);
6
-
7
- module.exports = filePath => extensions.has(path.extname(filePath).slice(1).toLowerCase());
@@ -1,9 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2019 Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com), Paul Miller (https://paulmillr.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.