immosquare-cleaner 0.1.42 → 0.1.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (807) hide show
  1. checksums.yaml +4 -4
  2. data/lib/immosquare-cleaner/version.rb +1 -1
  3. data/node_modules/.bin/ncu +1 -1
  4. data/node_modules/.bin/npm-check-updates +1 -1
  5. data/node_modules/.bin/rimraf +1 -1
  6. data/node_modules/@eslint/config-array/dist/cjs/index.cjs +5 -0
  7. data/node_modules/@eslint/config-array/dist/esm/index.js +5 -0
  8. data/node_modules/@eslint/config-array/package.json +1 -1
  9. data/node_modules/@eslint/js/package.json +1 -1
  10. data/node_modules/ansi-regex/index.d.ts +13 -9
  11. data/node_modules/ansi-regex/index.js +5 -3
  12. data/node_modules/ansi-regex/license +1 -1
  13. data/node_modules/ansi-regex/package.json +6 -9
  14. data/node_modules/ansi-regex/readme.md +8 -2
  15. data/node_modules/brace-expansion/README.md +0 -6
  16. data/node_modules/brace-expansion/index.js +84 -86
  17. data/node_modules/brace-expansion/package.json +4 -3
  18. data/node_modules/chalk/license +1 -1
  19. data/node_modules/chalk/package.json +23 -38
  20. data/node_modules/chalk/readme.md +85 -69
  21. data/node_modules/chalk/source/index.js +84 -80
  22. data/node_modules/eslint/lib/cli.js +0 -20
  23. data/node_modules/eslint/lib/languages/js/source-code/source-code.js +19 -0
  24. data/node_modules/eslint/lib/linter/apply-disable-directives.js +24 -12
  25. data/node_modules/eslint/lib/linter/linter.js +44 -20
  26. data/node_modules/eslint/lib/linter/report-translator.js +10 -10
  27. data/node_modules/eslint/lib/linter/rule-fixer.js +38 -15
  28. data/node_modules/eslint/lib/shared/flags.js +2 -2
  29. data/node_modules/eslint/package.json +5 -4
  30. data/node_modules/glob/LICENSE +7 -1
  31. data/node_modules/glob/README.md +284 -1120
  32. data/node_modules/glob/common.js +238 -0
  33. data/node_modules/glob/glob.js +790 -0
  34. data/node_modules/glob/package.json +34 -76
  35. data/node_modules/glob/sync.js +486 -0
  36. data/node_modules/lru-cache/LICENSE +1 -1
  37. data/node_modules/lru-cache/README.md +104 -1055
  38. data/node_modules/lru-cache/index.js +246 -1139
  39. data/node_modules/lru-cache/package.json +11 -75
  40. data/node_modules/minimatch/LICENSE +1 -1
  41. data/node_modules/minimatch/README.md +65 -289
  42. data/node_modules/minimatch/package.json +14 -67
  43. data/node_modules/npm-check-updates/README.md +9 -12
  44. data/node_modules/npm-check-updates/build/cli.js +21 -21
  45. data/node_modules/npm-check-updates/build/cli.js.map +1 -1
  46. data/node_modules/npm-check-updates/build/index-CWktU8PK.js +58 -0
  47. data/node_modules/npm-check-updates/build/index-CWktU8PK.js.map +1 -0
  48. data/node_modules/npm-check-updates/build/index.d.ts +1 -3
  49. data/node_modules/npm-check-updates/build/index.js +207 -223
  50. data/node_modules/npm-check-updates/build/index.js.map +1 -1
  51. data/node_modules/npm-check-updates/package.json +101 -105
  52. data/node_modules/rimraf/LICENSE +1 -1
  53. data/node_modules/rimraf/README.md +70 -188
  54. data/node_modules/rimraf/bin.js +50 -0
  55. data/node_modules/rimraf/package.json +16 -74
  56. data/node_modules/rimraf/rimraf.js +364 -0
  57. data/node_modules/semver/README.md +27 -221
  58. data/node_modules/semver/bin/semver.js +84 -107
  59. data/node_modules/semver/package.json +14 -63
  60. data/node_modules/semver/semver.js +1643 -0
  61. data/node_modules/strip-ansi/index.d.ts +4 -2
  62. data/node_modules/strip-ansi/index.js +3 -13
  63. data/node_modules/strip-ansi/license +1 -1
  64. data/node_modules/strip-ansi/package.json +7 -10
  65. data/node_modules/strip-ansi/readme.md +7 -2
  66. data/node_modules/strip-json-comments/index.d.ts +13 -18
  67. data/node_modules/strip-json-comments/index.js +38 -68
  68. data/node_modules/strip-json-comments/package.json +5 -13
  69. data/node_modules/strip-json-comments/readme.md +18 -15
  70. data/node_modules/yallist/package.json +1 -1
  71. data/node_modules/yallist/yallist.js +3 -3
  72. data/package.json +3 -3
  73. metadata +14 -736
  74. data/node_modules/@eslint/config-array/node_modules/minimatch/LICENSE +0 -15
  75. data/node_modules/@eslint/config-array/node_modules/minimatch/README.md +0 -230
  76. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  77. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -129
  78. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -201
  79. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -47
  80. data/node_modules/@eslint/config-array/node_modules/minimatch/package.json +0 -33
  81. data/node_modules/chalk/source/index.d.ts +0 -320
  82. data/node_modules/chalk/source/utilities.js +0 -33
  83. data/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  84. data/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  85. data/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  86. data/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  87. data/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  88. data/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  89. data/node_modules/eslint/node_modules/chalk/license +0 -9
  90. data/node_modules/eslint/node_modules/chalk/package.json +0 -68
  91. data/node_modules/eslint/node_modules/chalk/readme.md +0 -341
  92. data/node_modules/eslint/node_modules/chalk/source/index.js +0 -229
  93. data/node_modules/eslint/node_modules/minimatch/LICENSE +0 -15
  94. data/node_modules/eslint/node_modules/minimatch/README.md +0 -230
  95. data/node_modules/eslint/node_modules/minimatch/minimatch.js +0 -947
  96. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  97. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -129
  98. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -201
  99. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -47
  100. data/node_modules/eslint/node_modules/minimatch/package.json +0 -33
  101. data/node_modules/eslint/node_modules/strip-ansi/index.d.ts +0 -17
  102. data/node_modules/eslint/node_modules/strip-ansi/index.js +0 -4
  103. data/node_modules/eslint/node_modules/strip-ansi/license +0 -9
  104. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +0 -37
  105. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.js +0 -10
  106. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/license +0 -9
  107. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/package.json +0 -55
  108. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +0 -78
  109. data/node_modules/eslint/node_modules/strip-ansi/package.json +0 -54
  110. data/node_modules/eslint/node_modules/strip-ansi/readme.md +0 -46
  111. data/node_modules/glob/dist/commonjs/glob.d.ts +0 -344
  112. data/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
  113. data/node_modules/glob/dist/commonjs/glob.js +0 -243
  114. data/node_modules/glob/dist/commonjs/glob.js.map +0 -1
  115. data/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
  116. data/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
  117. data/node_modules/glob/dist/commonjs/has-magic.js +0 -27
  118. data/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
  119. data/node_modules/glob/dist/commonjs/ignore.d.ts +0 -20
  120. data/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
  121. data/node_modules/glob/dist/commonjs/ignore.js +0 -108
  122. data/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
  123. data/node_modules/glob/dist/commonjs/index.d.ts +0 -96
  124. data/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
  125. data/node_modules/glob/dist/commonjs/index.js +0 -68
  126. data/node_modules/glob/dist/commonjs/index.js.map +0 -1
  127. data/node_modules/glob/dist/commonjs/package.json +0 -1
  128. data/node_modules/glob/dist/commonjs/pattern.d.ts +0 -77
  129. data/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
  130. data/node_modules/glob/dist/commonjs/pattern.js +0 -219
  131. data/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
  132. data/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
  133. data/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
  134. data/node_modules/glob/dist/commonjs/processor.js +0 -302
  135. data/node_modules/glob/dist/commonjs/processor.js.map +0 -1
  136. data/node_modules/glob/dist/commonjs/walker.d.ts +0 -96
  137. data/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
  138. data/node_modules/glob/dist/commonjs/walker.js +0 -358
  139. data/node_modules/glob/dist/commonjs/walker.js.map +0 -1
  140. data/node_modules/glob/dist/esm/bin.d.mts +0 -3
  141. data/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
  142. data/node_modules/glob/dist/esm/bin.mjs +0 -275
  143. data/node_modules/glob/dist/esm/bin.mjs.map +0 -1
  144. data/node_modules/glob/dist/esm/glob.d.ts +0 -344
  145. data/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
  146. data/node_modules/glob/dist/esm/glob.js +0 -239
  147. data/node_modules/glob/dist/esm/glob.js.map +0 -1
  148. data/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
  149. data/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
  150. data/node_modules/glob/dist/esm/has-magic.js +0 -23
  151. data/node_modules/glob/dist/esm/has-magic.js.map +0 -1
  152. data/node_modules/glob/dist/esm/ignore.d.ts +0 -20
  153. data/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
  154. data/node_modules/glob/dist/esm/ignore.js +0 -104
  155. data/node_modules/glob/dist/esm/ignore.js.map +0 -1
  156. data/node_modules/glob/dist/esm/index.d.ts +0 -96
  157. data/node_modules/glob/dist/esm/index.d.ts.map +0 -1
  158. data/node_modules/glob/dist/esm/index.js +0 -56
  159. data/node_modules/glob/dist/esm/index.js.map +0 -1
  160. data/node_modules/glob/dist/esm/package.json +0 -1
  161. data/node_modules/glob/dist/esm/pattern.d.ts +0 -77
  162. data/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
  163. data/node_modules/glob/dist/esm/pattern.js +0 -215
  164. data/node_modules/glob/dist/esm/pattern.js.map +0 -1
  165. data/node_modules/glob/dist/esm/processor.d.ts +0 -59
  166. data/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
  167. data/node_modules/glob/dist/esm/processor.js +0 -295
  168. data/node_modules/glob/dist/esm/processor.js.map +0 -1
  169. data/node_modules/glob/dist/esm/walker.d.ts +0 -96
  170. data/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
  171. data/node_modules/glob/dist/esm/walker.js +0 -352
  172. data/node_modules/glob/dist/esm/walker.js.map +0 -1
  173. data/node_modules/glob/node_modules/minimatch/LICENSE +0 -15
  174. data/node_modules/glob/node_modules/minimatch/README.md +0 -454
  175. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
  176. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
  177. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  178. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  179. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
  180. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
  181. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.js +0 -589
  182. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  183. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
  184. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
  185. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
  186. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  187. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
  188. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  189. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.js +0 -22
  190. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
  191. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
  192. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  193. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.js +0 -1011
  194. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  195. data/node_modules/glob/node_modules/minimatch/dist/cjs/package.json +0 -3
  196. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
  197. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
  198. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.js +0 -24
  199. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
  200. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
  201. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
  202. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
  203. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  204. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
  205. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
  206. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.js +0 -585
  207. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  208. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
  209. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
  210. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
  211. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  212. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
  213. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  214. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.js +0 -18
  215. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
  216. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
  217. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  218. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.js +0 -995
  219. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  220. data/node_modules/glob/node_modules/minimatch/dist/mjs/package.json +0 -3
  221. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
  222. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
  223. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js +0 -20
  224. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
  225. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  226. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -135
  227. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -203
  228. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -46
  229. data/node_modules/glob/node_modules/minimatch/package.json +0 -86
  230. data/node_modules/glob/node_modules/minipass/LICENSE +0 -15
  231. data/node_modules/glob/node_modules/minipass/README.md +0 -825
  232. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.d.ts +0 -549
  233. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
  234. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.js +0 -1028
  235. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.js.map +0 -1
  236. data/node_modules/glob/node_modules/minipass/dist/commonjs/package.json +0 -1
  237. data/node_modules/glob/node_modules/minipass/dist/esm/index.d.ts +0 -549
  238. data/node_modules/glob/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
  239. data/node_modules/glob/node_modules/minipass/dist/esm/index.js +0 -1018
  240. data/node_modules/glob/node_modules/minipass/dist/esm/index.js.map +0 -1
  241. data/node_modules/glob/node_modules/minipass/dist/esm/package.json +0 -1
  242. data/node_modules/glob/node_modules/minipass/package.json +0 -82
  243. data/node_modules/lru-cache/index.d.ts +0 -869
  244. data/node_modules/lru-cache/index.mjs +0 -1227
  245. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
  246. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
  247. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  248. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  249. data/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
  250. data/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
  251. data/node_modules/minimatch/dist/cjs/ast.js +0 -589
  252. data/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  253. data/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
  254. data/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
  255. data/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
  256. data/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  257. data/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
  258. data/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  259. data/node_modules/minimatch/dist/cjs/escape.js +0 -22
  260. data/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
  261. data/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
  262. data/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  263. data/node_modules/minimatch/dist/cjs/index.js +0 -1011
  264. data/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  265. data/node_modules/minimatch/dist/cjs/package.json +0 -3
  266. data/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
  267. data/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
  268. data/node_modules/minimatch/dist/cjs/unescape.js +0 -24
  269. data/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
  270. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
  271. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
  272. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
  273. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  274. data/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
  275. data/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
  276. data/node_modules/minimatch/dist/mjs/ast.js +0 -585
  277. data/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  278. data/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
  279. data/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
  280. data/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
  281. data/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  282. data/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
  283. data/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  284. data/node_modules/minimatch/dist/mjs/escape.js +0 -18
  285. data/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
  286. data/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
  287. data/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  288. data/node_modules/minimatch/dist/mjs/index.js +0 -995
  289. data/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  290. data/node_modules/minimatch/dist/mjs/package.json +0 -3
  291. data/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
  292. data/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
  293. data/node_modules/minimatch/dist/mjs/unescape.js +0 -20
  294. data/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
  295. data/node_modules/npm-check-updates/build/index-5sFb3Tvv.js +0 -66
  296. data/node_modules/npm-check-updates/build/index-5sFb3Tvv.js.map +0 -1
  297. data/node_modules/npm-check-updates/build/package.json +0 -183
  298. data/node_modules/npm-check-updates/build/src/bin/cli.d.ts +0 -2
  299. data/node_modules/npm-check-updates/build/src/bin/cli.js +0 -182
  300. data/node_modules/npm-check-updates/build/src/bin/cli.js.map +0 -1
  301. data/node_modules/npm-check-updates/build/src/cli-options.d.ts +0 -9
  302. data/node_modules/npm-check-updates/build/src/cli-options.js +0 -795
  303. data/node_modules/npm-check-updates/build/src/cli-options.js.map +0 -1
  304. data/node_modules/npm-check-updates/build/src/index.d.ts +0 -17
  305. data/node_modules/npm-check-updates/build/src/index.js +0 -316
  306. data/node_modules/npm-check-updates/build/src/index.js.map +0 -1
  307. data/node_modules/npm-check-updates/build/src/lib/cache.d.ts +0 -17
  308. data/node_modules/npm-check-updates/build/src/lib/cache.js +0 -105
  309. data/node_modules/npm-check-updates/build/src/lib/cache.js.map +0 -1
  310. data/node_modules/npm-check-updates/build/src/lib/chalk.d.ts +0 -7
  311. data/node_modules/npm-check-updates/build/src/lib/chalk.js +0 -66
  312. data/node_modules/npm-check-updates/build/src/lib/chalk.js.map +0 -1
  313. data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.d.ts +0 -8
  314. data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.js +0 -32
  315. data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.js.map +0 -1
  316. data/node_modules/npm-check-updates/build/src/lib/doctor.d.ts +0 -8
  317. data/node_modules/npm-check-updates/build/src/lib/doctor.js +0 -290
  318. data/node_modules/npm-check-updates/build/src/lib/doctor.js.map +0 -1
  319. data/node_modules/npm-check-updates/build/src/lib/exists.d.ts +0 -3
  320. data/node_modules/npm-check-updates/build/src/lib/exists.js +0 -10
  321. data/node_modules/npm-check-updates/build/src/lib/exists.js.map +0 -1
  322. data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.d.ts +0 -2
  323. data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.js +0 -112
  324. data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.js.map +0 -1
  325. data/node_modules/npm-check-updates/build/src/lib/filterAndReject.d.ts +0 -12
  326. data/node_modules/npm-check-updates/build/src/lib/filterAndReject.js +0 -80
  327. data/node_modules/npm-check-updates/build/src/lib/filterAndReject.js.map +0 -1
  328. data/node_modules/npm-check-updates/build/src/lib/filterObject.d.ts +0 -4
  329. data/node_modules/npm-check-updates/build/src/lib/filterObject.js +0 -10
  330. data/node_modules/npm-check-updates/build/src/lib/filterObject.js.map +0 -1
  331. data/node_modules/npm-check-updates/build/src/lib/findLockfile.d.ts +0 -12
  332. data/node_modules/npm-check-updates/build/src/lib/findLockfile.js +0 -54
  333. data/node_modules/npm-check-updates/build/src/lib/findLockfile.js.map +0 -1
  334. data/node_modules/npm-check-updates/build/src/lib/findPackage.d.ts +0 -16
  335. data/node_modules/npm-check-updates/build/src/lib/findPackage.js +0 -78
  336. data/node_modules/npm-check-updates/build/src/lib/findPackage.js.map +0 -1
  337. data/node_modules/npm-check-updates/build/src/lib/getAllPackages.d.ts +0 -10
  338. data/node_modules/npm-check-updates/build/src/lib/getAllPackages.js +0 -126
  339. data/node_modules/npm-check-updates/build/src/lib/getAllPackages.js.map +0 -1
  340. data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.d.ts +0 -15
  341. data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.js +0 -76
  342. data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.js.map +0 -1
  343. data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.d.ts +0 -8
  344. data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.js +0 -37
  345. data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.js.map +0 -1
  346. data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.d.ts +0 -12
  347. data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.js +0 -35
  348. data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.js.map +0 -1
  349. data/node_modules/npm-check-updates/build/src/lib/getNcuRc.d.ts +0 -22
  350. data/node_modules/npm-check-updates/build/src/lib/getNcuRc.js +0 -60
  351. data/node_modules/npm-check-updates/build/src/lib/getNcuRc.js.map +0 -1
  352. data/node_modules/npm-check-updates/build/src/lib/getPackageManager.d.ts +0 -13
  353. data/node_modules/npm-check-updates/build/src/lib/getPackageManager.js +0 -30
  354. data/node_modules/npm-check-updates/build/src/lib/getPackageManager.js.map +0 -1
  355. data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.d.ts +0 -6
  356. data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.js +0 -31
  357. data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.js.map +0 -1
  358. data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.d.ts +0 -12
  359. data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.js +0 -35
  360. data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.js.map +0 -1
  361. data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.d.ts +0 -10
  362. data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.js +0 -30
  363. data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.js.map +0 -1
  364. data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.d.ts +0 -11
  365. data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.js +0 -81
  366. data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.js.map +0 -1
  367. data/node_modules/npm-check-updates/build/src/lib/initOptions.d.ts +0 -7
  368. data/node_modules/npm-check-updates/build/src/lib/initOptions.js +0 -207
  369. data/node_modules/npm-check-updates/build/src/lib/initOptions.js.map +0 -1
  370. data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.d.ts +0 -14
  371. data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.js +0 -68
  372. data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.js.map +0 -1
  373. data/node_modules/npm-check-updates/build/src/lib/keyValueBy.d.ts +0 -6
  374. data/node_modules/npm-check-updates/build/src/lib/keyValueBy.js +0 -23
  375. data/node_modules/npm-check-updates/build/src/lib/keyValueBy.js.map +0 -1
  376. data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.d.ts +0 -3
  377. data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.js +0 -108
  378. data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.js.map +0 -1
  379. data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.d.ts +0 -5
  380. data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.js +0 -27
  381. data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.js.map +0 -1
  382. data/node_modules/npm-check-updates/build/src/lib/logging.d.ts +0 -77
  383. data/node_modules/npm-check-updates/build/src/lib/logging.js +0 -287
  384. data/node_modules/npm-check-updates/build/src/lib/logging.js.map +0 -1
  385. data/node_modules/npm-check-updates/build/src/lib/mergeOptions.d.ts +0 -69
  386. data/node_modules/npm-check-updates/build/src/lib/mergeOptions.js +0 -23
  387. data/node_modules/npm-check-updates/build/src/lib/mergeOptions.js.map +0 -1
  388. data/node_modules/npm-check-updates/build/src/lib/programError.d.ts +0 -6
  389. data/node_modules/npm-check-updates/build/src/lib/programError.js +0 -19
  390. data/node_modules/npm-check-updates/build/src/lib/programError.js.map +0 -1
  391. data/node_modules/npm-check-updates/build/src/lib/queryVersions.d.ts +0 -13
  392. data/node_modules/npm-check-updates/build/src/lib/queryVersions.js +0 -118
  393. data/node_modules/npm-check-updates/build/src/lib/queryVersions.js.map +0 -1
  394. data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.d.ts +0 -4
  395. data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.js +0 -20
  396. data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.js.map +0 -1
  397. data/node_modules/npm-check-updates/build/src/lib/runGlobal.d.ts +0 -5
  398. data/node_modules/npm-check-updates/build/src/lib/runGlobal.js +0 -76
  399. data/node_modules/npm-check-updates/build/src/lib/runGlobal.js.map +0 -1
  400. data/node_modules/npm-check-updates/build/src/lib/runLocal.d.ts +0 -18
  401. data/node_modules/npm-check-updates/build/src/lib/runLocal.js +0 -239
  402. data/node_modules/npm-check-updates/build/src/lib/runLocal.js.map +0 -1
  403. data/node_modules/npm-check-updates/build/src/lib/table.d.ts +0 -7
  404. data/node_modules/npm-check-updates/build/src/lib/table.js +0 -27
  405. data/node_modules/npm-check-updates/build/src/lib/table.js.map +0 -1
  406. data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.d.ts +0 -14
  407. data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.js +0 -103
  408. data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.js.map +0 -1
  409. data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.d.ts +0 -14
  410. data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.js +0 -50
  411. data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.js.map +0 -1
  412. data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.d.ts +0 -13
  413. data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.js +0 -58
  414. data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.js.map +0 -1
  415. data/node_modules/npm-check-updates/build/src/lib/version-util.d.ts +0 -180
  416. data/node_modules/npm-check-updates/build/src/lib/version-util.js +0 -518
  417. data/node_modules/npm-check-updates/build/src/lib/version-util.js.map +0 -1
  418. data/node_modules/npm-check-updates/build/src/lib/wrap.d.ts +0 -3
  419. data/node_modules/npm-check-updates/build/src/lib/wrap.js +0 -45
  420. data/node_modules/npm-check-updates/build/src/lib/wrap.js.map +0 -1
  421. data/node_modules/npm-check-updates/build/src/package-managers/bun.d.ts +0 -18
  422. data/node_modules/npm-check-updates/build/src/package-managers/bun.js +0 -89
  423. data/node_modules/npm-check-updates/build/src/package-managers/bun.js.map +0 -1
  424. data/node_modules/npm-check-updates/build/src/package-managers/filters.d.ts +0 -35
  425. data/node_modules/npm-check-updates/build/src/package-managers/filters.js +0 -96
  426. data/node_modules/npm-check-updates/build/src/package-managers/filters.js.map +0 -1
  427. data/node_modules/npm-check-updates/build/src/package-managers/gitTags.d.ts +0 -16
  428. data/node_modules/npm-check-updates/build/src/package-managers/gitTags.js +0 -112
  429. data/node_modules/npm-check-updates/build/src/package-managers/gitTags.js.map +0 -1
  430. data/node_modules/npm-check-updates/build/src/package-managers/index.d.ts +0 -4
  431. data/node_modules/npm-check-updates/build/src/package-managers/index.js +0 -40
  432. data/node_modules/npm-check-updates/build/src/package-managers/index.js.map +0 -1
  433. data/node_modules/npm-check-updates/build/src/package-managers/npm.d.ts +0 -147
  434. data/node_modules/npm-check-updates/build/src/package-managers/npm.js +0 -688
  435. data/node_modules/npm-check-updates/build/src/package-managers/npm.js.map +0 -1
  436. data/node_modules/npm-check-updates/build/src/package-managers/pnpm.d.ts +0 -25
  437. data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js +0 -103
  438. data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js.map +0 -1
  439. data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.d.ts +0 -10
  440. data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.js +0 -52
  441. data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.js.map +0 -1
  442. data/node_modules/npm-check-updates/build/src/package-managers/yarn.d.ts +0 -60
  443. data/node_modules/npm-check-updates/build/src/package-managers/yarn.js +0 -248
  444. data/node_modules/npm-check-updates/build/src/package-managers/yarn.js.map +0 -1
  445. data/node_modules/npm-check-updates/build/src/scripts/build-options.d.ts +0 -1
  446. data/node_modules/npm-check-updates/build/src/scripts/build-options.js +0 -121
  447. data/node_modules/npm-check-updates/build/src/scripts/build-options.js.map +0 -1
  448. data/node_modules/npm-check-updates/build/src/types/CLIOption.d.ts +0 -16
  449. data/node_modules/npm-check-updates/build/src/types/CLIOption.js +0 -3
  450. data/node_modules/npm-check-updates/build/src/types/CLIOption.js.map +0 -1
  451. data/node_modules/npm-check-updates/build/src/types/Cacher.d.ts +0 -10
  452. data/node_modules/npm-check-updates/build/src/types/Cacher.js +0 -3
  453. data/node_modules/npm-check-updates/build/src/types/Cacher.js.map +0 -1
  454. data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.d.ts +0 -5
  455. data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.js +0 -3
  456. data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.js.map +0 -1
  457. data/node_modules/npm-check-updates/build/src/types/FilterFunction.d.ts +0 -3
  458. data/node_modules/npm-check-updates/build/src/types/FilterFunction.js +0 -3
  459. data/node_modules/npm-check-updates/build/src/types/FilterFunction.js.map +0 -1
  460. data/node_modules/npm-check-updates/build/src/types/FilterPattern.d.ts +0 -3
  461. data/node_modules/npm-check-updates/build/src/types/FilterPattern.js +0 -3
  462. data/node_modules/npm-check-updates/build/src/types/FilterPattern.js.map +0 -1
  463. data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.d.ts +0 -9
  464. data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.js +0 -3
  465. data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.js.map +0 -1
  466. data/node_modules/npm-check-updates/build/src/types/GetVersion.d.ts +0 -6
  467. data/node_modules/npm-check-updates/build/src/types/GetVersion.js +0 -3
  468. data/node_modules/npm-check-updates/build/src/types/GetVersion.js.map +0 -1
  469. data/node_modules/npm-check-updates/build/src/types/GroupFunction.d.ts +0 -4
  470. data/node_modules/npm-check-updates/build/src/types/GroupFunction.js +0 -3
  471. data/node_modules/npm-check-updates/build/src/types/GroupFunction.js.map +0 -1
  472. data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.d.ts +0 -8
  473. data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.js +0 -3
  474. data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.js.map +0 -1
  475. data/node_modules/npm-check-updates/build/src/types/IndexType.d.ts +0 -4
  476. data/node_modules/npm-check-updates/build/src/types/IndexType.js +0 -4
  477. data/node_modules/npm-check-updates/build/src/types/IndexType.js.map +0 -1
  478. data/node_modules/npm-check-updates/build/src/types/Maybe.d.ts +0 -2
  479. data/node_modules/npm-check-updates/build/src/types/Maybe.js +0 -3
  480. data/node_modules/npm-check-updates/build/src/types/Maybe.js.map +0 -1
  481. data/node_modules/npm-check-updates/build/src/types/MockedVersions.d.ts +0 -5
  482. data/node_modules/npm-check-updates/build/src/types/MockedVersions.js +0 -3
  483. data/node_modules/npm-check-updates/build/src/types/MockedVersions.js.map +0 -1
  484. data/node_modules/npm-check-updates/build/src/types/NpmConfig.d.ts +0 -4
  485. data/node_modules/npm-check-updates/build/src/types/NpmConfig.js +0 -3
  486. data/node_modules/npm-check-updates/build/src/types/NpmConfig.js.map +0 -1
  487. data/node_modules/npm-check-updates/build/src/types/NpmOptions.d.ts +0 -6
  488. data/node_modules/npm-check-updates/build/src/types/NpmOptions.js +0 -3
  489. data/node_modules/npm-check-updates/build/src/types/NpmOptions.js.map +0 -1
  490. data/node_modules/npm-check-updates/build/src/types/Options.d.ts +0 -17
  491. data/node_modules/npm-check-updates/build/src/types/Options.js +0 -3
  492. data/node_modules/npm-check-updates/build/src/types/Options.js.map +0 -1
  493. data/node_modules/npm-check-updates/build/src/types/PackageFile.d.ts +0 -24
  494. data/node_modules/npm-check-updates/build/src/types/PackageFile.js +0 -3
  495. data/node_modules/npm-check-updates/build/src/types/PackageFile.js.map +0 -1
  496. data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.d.ts +0 -5
  497. data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.js +0 -3
  498. data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.js.map +0 -1
  499. data/node_modules/npm-check-updates/build/src/types/PackageInfo.d.ts +0 -8
  500. data/node_modules/npm-check-updates/build/src/types/PackageInfo.js +0 -3
  501. data/node_modules/npm-check-updates/build/src/types/PackageInfo.js.map +0 -1
  502. data/node_modules/npm-check-updates/build/src/types/PackageManager.d.ts +0 -18
  503. data/node_modules/npm-check-updates/build/src/types/PackageManager.js +0 -3
  504. data/node_modules/npm-check-updates/build/src/types/PackageManager.js.map +0 -1
  505. data/node_modules/npm-check-updates/build/src/types/PackageManagerName.d.ts +0 -2
  506. data/node_modules/npm-check-updates/build/src/types/PackageManagerName.js +0 -3
  507. data/node_modules/npm-check-updates/build/src/types/PackageManagerName.js.map +0 -1
  508. data/node_modules/npm-check-updates/build/src/types/Packument.d.ts +0 -13
  509. data/node_modules/npm-check-updates/build/src/types/Packument.js +0 -3
  510. data/node_modules/npm-check-updates/build/src/types/Packument.js.map +0 -1
  511. data/node_modules/npm-check-updates/build/src/types/RunOptions.d.ts +0 -137
  512. data/node_modules/npm-check-updates/build/src/types/RunOptions.js +0 -3
  513. data/node_modules/npm-check-updates/build/src/types/RunOptions.js.map +0 -1
  514. data/node_modules/npm-check-updates/build/src/types/SpawnOptions.d.ts +0 -6
  515. data/node_modules/npm-check-updates/build/src/types/SpawnOptions.js +0 -3
  516. data/node_modules/npm-check-updates/build/src/types/SpawnOptions.js.map +0 -1
  517. data/node_modules/npm-check-updates/build/src/types/StaticRegistry.d.ts +0 -4
  518. data/node_modules/npm-check-updates/build/src/types/StaticRegistry.js +0 -3
  519. data/node_modules/npm-check-updates/build/src/types/StaticRegistry.js.map +0 -1
  520. data/node_modules/npm-check-updates/build/src/types/Target.d.ts +0 -9
  521. data/node_modules/npm-check-updates/build/src/types/Target.js +0 -6
  522. data/node_modules/npm-check-updates/build/src/types/Target.js.map +0 -1
  523. data/node_modules/npm-check-updates/build/src/types/TargetFunction.d.ts +0 -3
  524. data/node_modules/npm-check-updates/build/src/types/TargetFunction.js +0 -3
  525. data/node_modules/npm-check-updates/build/src/types/TargetFunction.js.map +0 -1
  526. data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.d.ts +0 -1
  527. data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.js +0 -3
  528. data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.js.map +0 -1
  529. data/node_modules/npm-check-updates/build/src/types/Version.d.ts +0 -2
  530. data/node_modules/npm-check-updates/build/src/types/Version.js +0 -3
  531. data/node_modules/npm-check-updates/build/src/types/Version.js.map +0 -1
  532. data/node_modules/npm-check-updates/build/src/types/VersionLevel.d.ts +0 -2
  533. data/node_modules/npm-check-updates/build/src/types/VersionLevel.js +0 -3
  534. data/node_modules/npm-check-updates/build/src/types/VersionLevel.js.map +0 -1
  535. data/node_modules/npm-check-updates/build/src/types/VersionResult.d.ts +0 -7
  536. data/node_modules/npm-check-updates/build/src/types/VersionResult.js +0 -3
  537. data/node_modules/npm-check-updates/build/src/types/VersionResult.js.map +0 -1
  538. data/node_modules/npm-check-updates/build/src/types/VersionSpec.d.ts +0 -2
  539. data/node_modules/npm-check-updates/build/src/types/VersionSpec.js +0 -3
  540. data/node_modules/npm-check-updates/build/src/types/VersionSpec.js.map +0 -1
  541. data/node_modules/npm-check-updates/node_modules/chalk/license +0 -9
  542. data/node_modules/npm-check-updates/node_modules/chalk/package.json +0 -83
  543. data/node_modules/npm-check-updates/node_modules/chalk/readme.md +0 -325
  544. data/node_modules/npm-check-updates/node_modules/chalk/source/index.d.ts +0 -320
  545. data/node_modules/npm-check-updates/node_modules/chalk/source/index.js +0 -225
  546. data/node_modules/npm-check-updates/node_modules/chalk/source/utilities.js +0 -33
  547. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  548. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  549. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  550. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  551. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  552. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  553. data/node_modules/npm-check-updates/node_modules/minimatch/LICENSE +0 -15
  554. data/node_modules/npm-check-updates/node_modules/minimatch/README.md +0 -454
  555. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
  556. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
  557. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  558. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  559. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
  560. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
  561. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.js +0 -589
  562. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  563. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
  564. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
  565. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
  566. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  567. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
  568. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  569. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.js +0 -22
  570. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
  571. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
  572. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  573. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.js +0 -1011
  574. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  575. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/package.json +0 -3
  576. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
  577. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
  578. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.js +0 -24
  579. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
  580. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
  581. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
  582. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
  583. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  584. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
  585. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
  586. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.js +0 -585
  587. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  588. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
  589. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
  590. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
  591. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  592. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
  593. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  594. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.js +0 -18
  595. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
  596. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
  597. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  598. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.js +0 -995
  599. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  600. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/package.json +0 -3
  601. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
  602. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
  603. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.js +0 -20
  604. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
  605. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  606. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -135
  607. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -203
  608. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -46
  609. data/node_modules/npm-check-updates/node_modules/minimatch/package.json +0 -86
  610. data/node_modules/npm-check-updates/node_modules/strip-ansi/index.d.ts +0 -15
  611. data/node_modules/npm-check-updates/node_modules/strip-ansi/index.js +0 -14
  612. data/node_modules/npm-check-updates/node_modules/strip-ansi/license +0 -9
  613. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +0 -33
  614. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/index.js +0 -8
  615. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/license +0 -9
  616. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/package.json +0 -58
  617. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +0 -72
  618. data/node_modules/npm-check-updates/node_modules/strip-ansi/package.json +0 -57
  619. data/node_modules/npm-check-updates/node_modules/strip-ansi/readme.md +0 -41
  620. data/node_modules/rimraf/dist/commonjs/default-tmp.d.ts +0 -3
  621. data/node_modules/rimraf/dist/commonjs/default-tmp.d.ts.map +0 -1
  622. data/node_modules/rimraf/dist/commonjs/default-tmp.js +0 -61
  623. data/node_modules/rimraf/dist/commonjs/default-tmp.js.map +0 -1
  624. data/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts +0 -3
  625. data/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts.map +0 -1
  626. data/node_modules/rimraf/dist/commonjs/fix-eperm.js +0 -58
  627. data/node_modules/rimraf/dist/commonjs/fix-eperm.js.map +0 -1
  628. data/node_modules/rimraf/dist/commonjs/fs.d.ts +0 -17
  629. data/node_modules/rimraf/dist/commonjs/fs.d.ts.map +0 -1
  630. data/node_modules/rimraf/dist/commonjs/fs.js +0 -46
  631. data/node_modules/rimraf/dist/commonjs/fs.js.map +0 -1
  632. data/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts +0 -3
  633. data/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts.map +0 -1
  634. data/node_modules/rimraf/dist/commonjs/ignore-enoent.js +0 -21
  635. data/node_modules/rimraf/dist/commonjs/ignore-enoent.js.map +0 -1
  636. data/node_modules/rimraf/dist/commonjs/index.d.ts +0 -50
  637. data/node_modules/rimraf/dist/commonjs/index.d.ts.map +0 -1
  638. data/node_modules/rimraf/dist/commonjs/index.js +0 -76
  639. data/node_modules/rimraf/dist/commonjs/index.js.map +0 -1
  640. data/node_modules/rimraf/dist/commonjs/opt-arg.d.ts +0 -35
  641. data/node_modules/rimraf/dist/commonjs/opt-arg.d.ts.map +0 -1
  642. data/node_modules/rimraf/dist/commonjs/opt-arg.js +0 -53
  643. data/node_modules/rimraf/dist/commonjs/opt-arg.js.map +0 -1
  644. data/node_modules/rimraf/dist/commonjs/package.json +0 -1
  645. data/node_modules/rimraf/dist/commonjs/path-arg.d.ts +0 -4
  646. data/node_modules/rimraf/dist/commonjs/path-arg.d.ts.map +0 -1
  647. data/node_modules/rimraf/dist/commonjs/path-arg.js +0 -54
  648. data/node_modules/rimraf/dist/commonjs/path-arg.js.map +0 -1
  649. data/node_modules/rimraf/dist/commonjs/platform.d.ts +0 -3
  650. data/node_modules/rimraf/dist/commonjs/platform.d.ts.map +0 -1
  651. data/node_modules/rimraf/dist/commonjs/platform.js +0 -4
  652. data/node_modules/rimraf/dist/commonjs/platform.js.map +0 -1
  653. data/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts +0 -5
  654. data/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts.map +0 -1
  655. data/node_modules/rimraf/dist/commonjs/readdir-or-error.js +0 -19
  656. data/node_modules/rimraf/dist/commonjs/readdir-or-error.js.map +0 -1
  657. data/node_modules/rimraf/dist/commonjs/retry-busy.d.ts +0 -8
  658. data/node_modules/rimraf/dist/commonjs/retry-busy.d.ts.map +0 -1
  659. data/node_modules/rimraf/dist/commonjs/retry-busy.js +0 -68
  660. data/node_modules/rimraf/dist/commonjs/retry-busy.js.map +0 -1
  661. data/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts +0 -3
  662. data/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts.map +0 -1
  663. data/node_modules/rimraf/dist/commonjs/rimraf-manual.js +0 -12
  664. data/node_modules/rimraf/dist/commonjs/rimraf-manual.js.map +0 -1
  665. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts +0 -4
  666. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts.map +0 -1
  667. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js +0 -192
  668. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js.map +0 -1
  669. data/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts +0 -4
  670. data/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts.map +0 -1
  671. data/node_modules/rimraf/dist/commonjs/rimraf-native.js +0 -24
  672. data/node_modules/rimraf/dist/commonjs/rimraf-native.js.map +0 -1
  673. data/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts +0 -4
  674. data/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts.map +0 -1
  675. data/node_modules/rimraf/dist/commonjs/rimraf-posix.js +0 -123
  676. data/node_modules/rimraf/dist/commonjs/rimraf-posix.js.map +0 -1
  677. data/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts +0 -4
  678. data/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts.map +0 -1
  679. data/node_modules/rimraf/dist/commonjs/rimraf-windows.js +0 -182
  680. data/node_modules/rimraf/dist/commonjs/rimraf-windows.js.map +0 -1
  681. data/node_modules/rimraf/dist/commonjs/use-native.d.ts +0 -4
  682. data/node_modules/rimraf/dist/commonjs/use-native.d.ts.map +0 -1
  683. data/node_modules/rimraf/dist/commonjs/use-native.js +0 -22
  684. data/node_modules/rimraf/dist/commonjs/use-native.js.map +0 -1
  685. data/node_modules/rimraf/dist/esm/bin.d.mts +0 -8
  686. data/node_modules/rimraf/dist/esm/bin.d.mts.map +0 -1
  687. data/node_modules/rimraf/dist/esm/bin.mjs +0 -256
  688. data/node_modules/rimraf/dist/esm/bin.mjs.map +0 -1
  689. data/node_modules/rimraf/dist/esm/default-tmp.d.ts +0 -3
  690. data/node_modules/rimraf/dist/esm/default-tmp.d.ts.map +0 -1
  691. data/node_modules/rimraf/dist/esm/default-tmp.js +0 -55
  692. data/node_modules/rimraf/dist/esm/default-tmp.js.map +0 -1
  693. data/node_modules/rimraf/dist/esm/fix-eperm.d.ts +0 -3
  694. data/node_modules/rimraf/dist/esm/fix-eperm.d.ts.map +0 -1
  695. data/node_modules/rimraf/dist/esm/fix-eperm.js +0 -53
  696. data/node_modules/rimraf/dist/esm/fix-eperm.js.map +0 -1
  697. data/node_modules/rimraf/dist/esm/fs.d.ts +0 -17
  698. data/node_modules/rimraf/dist/esm/fs.d.ts.map +0 -1
  699. data/node_modules/rimraf/dist/esm/fs.js +0 -31
  700. data/node_modules/rimraf/dist/esm/fs.js.map +0 -1
  701. data/node_modules/rimraf/dist/esm/ignore-enoent.d.ts +0 -3
  702. data/node_modules/rimraf/dist/esm/ignore-enoent.d.ts.map +0 -1
  703. data/node_modules/rimraf/dist/esm/ignore-enoent.js +0 -16
  704. data/node_modules/rimraf/dist/esm/ignore-enoent.js.map +0 -1
  705. data/node_modules/rimraf/dist/esm/index.d.ts +0 -50
  706. data/node_modules/rimraf/dist/esm/index.d.ts.map +0 -1
  707. data/node_modules/rimraf/dist/esm/index.js +0 -68
  708. data/node_modules/rimraf/dist/esm/index.js.map +0 -1
  709. data/node_modules/rimraf/dist/esm/opt-arg.d.ts +0 -35
  710. data/node_modules/rimraf/dist/esm/opt-arg.d.ts.map +0 -1
  711. data/node_modules/rimraf/dist/esm/opt-arg.js +0 -46
  712. data/node_modules/rimraf/dist/esm/opt-arg.js.map +0 -1
  713. data/node_modules/rimraf/dist/esm/package.json +0 -1
  714. data/node_modules/rimraf/dist/esm/path-arg.d.ts +0 -4
  715. data/node_modules/rimraf/dist/esm/path-arg.d.ts.map +0 -1
  716. data/node_modules/rimraf/dist/esm/path-arg.js +0 -49
  717. data/node_modules/rimraf/dist/esm/path-arg.js.map +0 -1
  718. data/node_modules/rimraf/dist/esm/platform.d.ts +0 -3
  719. data/node_modules/rimraf/dist/esm/platform.d.ts.map +0 -1
  720. data/node_modules/rimraf/dist/esm/platform.js +0 -2
  721. data/node_modules/rimraf/dist/esm/platform.js.map +0 -1
  722. data/node_modules/rimraf/dist/esm/readdir-or-error.d.ts +0 -5
  723. data/node_modules/rimraf/dist/esm/readdir-or-error.d.ts.map +0 -1
  724. data/node_modules/rimraf/dist/esm/readdir-or-error.js +0 -14
  725. data/node_modules/rimraf/dist/esm/readdir-or-error.js.map +0 -1
  726. data/node_modules/rimraf/dist/esm/retry-busy.d.ts +0 -8
  727. data/node_modules/rimraf/dist/esm/retry-busy.d.ts.map +0 -1
  728. data/node_modules/rimraf/dist/esm/retry-busy.js +0 -63
  729. data/node_modules/rimraf/dist/esm/retry-busy.js.map +0 -1
  730. data/node_modules/rimraf/dist/esm/rimraf-manual.d.ts +0 -3
  731. data/node_modules/rimraf/dist/esm/rimraf-manual.d.ts.map +0 -1
  732. data/node_modules/rimraf/dist/esm/rimraf-manual.js +0 -6
  733. data/node_modules/rimraf/dist/esm/rimraf-manual.js.map +0 -1
  734. data/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts +0 -4
  735. data/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts.map +0 -1
  736. data/node_modules/rimraf/dist/esm/rimraf-move-remove.js +0 -187
  737. data/node_modules/rimraf/dist/esm/rimraf-move-remove.js.map +0 -1
  738. data/node_modules/rimraf/dist/esm/rimraf-native.d.ts +0 -4
  739. data/node_modules/rimraf/dist/esm/rimraf-native.d.ts.map +0 -1
  740. data/node_modules/rimraf/dist/esm/rimraf-native.js +0 -19
  741. data/node_modules/rimraf/dist/esm/rimraf-native.js.map +0 -1
  742. data/node_modules/rimraf/dist/esm/rimraf-posix.d.ts +0 -4
  743. data/node_modules/rimraf/dist/esm/rimraf-posix.d.ts.map +0 -1
  744. data/node_modules/rimraf/dist/esm/rimraf-posix.js +0 -118
  745. data/node_modules/rimraf/dist/esm/rimraf-posix.js.map +0 -1
  746. data/node_modules/rimraf/dist/esm/rimraf-windows.d.ts +0 -4
  747. data/node_modules/rimraf/dist/esm/rimraf-windows.d.ts.map +0 -1
  748. data/node_modules/rimraf/dist/esm/rimraf-windows.js +0 -177
  749. data/node_modules/rimraf/dist/esm/rimraf-windows.js.map +0 -1
  750. data/node_modules/rimraf/dist/esm/use-native.d.ts +0 -4
  751. data/node_modules/rimraf/dist/esm/use-native.d.ts.map +0 -1
  752. data/node_modules/rimraf/dist/esm/use-native.js +0 -16
  753. data/node_modules/rimraf/dist/esm/use-native.js.map +0 -1
  754. data/node_modules/semver/classes/comparator.js +0 -141
  755. data/node_modules/semver/classes/index.js +0 -5
  756. data/node_modules/semver/classes/range.js +0 -539
  757. data/node_modules/semver/classes/semver.js +0 -302
  758. data/node_modules/semver/functions/clean.js +0 -6
  759. data/node_modules/semver/functions/cmp.js +0 -52
  760. data/node_modules/semver/functions/coerce.js +0 -52
  761. data/node_modules/semver/functions/compare-build.js +0 -7
  762. data/node_modules/semver/functions/compare-loose.js +0 -3
  763. data/node_modules/semver/functions/compare.js +0 -5
  764. data/node_modules/semver/functions/diff.js +0 -65
  765. data/node_modules/semver/functions/eq.js +0 -3
  766. data/node_modules/semver/functions/gt.js +0 -3
  767. data/node_modules/semver/functions/gte.js +0 -3
  768. data/node_modules/semver/functions/inc.js +0 -19
  769. data/node_modules/semver/functions/lt.js +0 -3
  770. data/node_modules/semver/functions/lte.js +0 -3
  771. data/node_modules/semver/functions/major.js +0 -3
  772. data/node_modules/semver/functions/minor.js +0 -3
  773. data/node_modules/semver/functions/neq.js +0 -3
  774. data/node_modules/semver/functions/parse.js +0 -16
  775. data/node_modules/semver/functions/patch.js +0 -3
  776. data/node_modules/semver/functions/prerelease.js +0 -6
  777. data/node_modules/semver/functions/rcompare.js +0 -3
  778. data/node_modules/semver/functions/rsort.js +0 -3
  779. data/node_modules/semver/functions/satisfies.js +0 -10
  780. data/node_modules/semver/functions/sort.js +0 -3
  781. data/node_modules/semver/functions/valid.js +0 -6
  782. data/node_modules/semver/index.js +0 -89
  783. data/node_modules/semver/internal/constants.js +0 -35
  784. data/node_modules/semver/internal/debug.js +0 -9
  785. data/node_modules/semver/internal/identifiers.js +0 -23
  786. data/node_modules/semver/internal/parse-options.js +0 -15
  787. data/node_modules/semver/internal/re.js +0 -212
  788. data/node_modules/semver/node_modules/lru-cache/LICENSE +0 -15
  789. data/node_modules/semver/node_modules/lru-cache/README.md +0 -166
  790. data/node_modules/semver/node_modules/lru-cache/index.js +0 -334
  791. data/node_modules/semver/node_modules/lru-cache/package.json +0 -34
  792. data/node_modules/semver/preload.js +0 -2
  793. data/node_modules/semver/ranges/gtr.js +0 -4
  794. data/node_modules/semver/ranges/intersects.js +0 -7
  795. data/node_modules/semver/ranges/ltr.js +0 -4
  796. data/node_modules/semver/ranges/max-satisfying.js +0 -25
  797. data/node_modules/semver/ranges/min-satisfying.js +0 -24
  798. data/node_modules/semver/ranges/min-version.js +0 -61
  799. data/node_modules/semver/ranges/outside.js +0 -80
  800. data/node_modules/semver/ranges/simplify.js +0 -47
  801. data/node_modules/semver/ranges/subset.js +0 -247
  802. data/node_modules/semver/ranges/to-comparators.js +0 -8
  803. data/node_modules/semver/ranges/valid.js +0 -11
  804. /data/node_modules/{eslint/node_modules/chalk → chalk}/index.d.ts +0 -0
  805. /data/node_modules/{eslint/node_modules/chalk → chalk}/source/templates.js +0 -0
  806. /data/node_modules/{eslint/node_modules/chalk → chalk}/source/util.js +0 -0
  807. /data/node_modules/{@eslint/config-array/node_modules/minimatch → minimatch}/minimatch.js +0 -0
@@ -1,995 +0,0 @@
1
- import expand from 'brace-expansion';
2
- import { assertValidPattern } from './assert-valid-pattern.js';
3
- import { AST } from './ast.js';
4
- import { escape } from './escape.js';
5
- import { unescape } from './unescape.js';
6
- export const minimatch = (p, pattern, options = {}) => {
7
- assertValidPattern(pattern);
8
- // shortcut: comments match nothing.
9
- if (!options.nocomment && pattern.charAt(0) === '#') {
10
- return false;
11
- }
12
- return new Minimatch(pattern, options).match(p);
13
- };
14
- // Optimized checking for the most common glob patterns.
15
- const starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/;
16
- const starDotExtTest = (ext) => (f) => !f.startsWith('.') && f.endsWith(ext);
17
- const starDotExtTestDot = (ext) => (f) => f.endsWith(ext);
18
- const starDotExtTestNocase = (ext) => {
19
- ext = ext.toLowerCase();
20
- return (f) => !f.startsWith('.') && f.toLowerCase().endsWith(ext);
21
- };
22
- const starDotExtTestNocaseDot = (ext) => {
23
- ext = ext.toLowerCase();
24
- return (f) => f.toLowerCase().endsWith(ext);
25
- };
26
- const starDotStarRE = /^\*+\.\*+$/;
27
- const starDotStarTest = (f) => !f.startsWith('.') && f.includes('.');
28
- const starDotStarTestDot = (f) => f !== '.' && f !== '..' && f.includes('.');
29
- const dotStarRE = /^\.\*+$/;
30
- const dotStarTest = (f) => f !== '.' && f !== '..' && f.startsWith('.');
31
- const starRE = /^\*+$/;
32
- const starTest = (f) => f.length !== 0 && !f.startsWith('.');
33
- const starTestDot = (f) => f.length !== 0 && f !== '.' && f !== '..';
34
- const qmarksRE = /^\?+([^+@!?\*\[\(]*)?$/;
35
- const qmarksTestNocase = ([$0, ext = '']) => {
36
- const noext = qmarksTestNoExt([$0]);
37
- if (!ext)
38
- return noext;
39
- ext = ext.toLowerCase();
40
- return (f) => noext(f) && f.toLowerCase().endsWith(ext);
41
- };
42
- const qmarksTestNocaseDot = ([$0, ext = '']) => {
43
- const noext = qmarksTestNoExtDot([$0]);
44
- if (!ext)
45
- return noext;
46
- ext = ext.toLowerCase();
47
- return (f) => noext(f) && f.toLowerCase().endsWith(ext);
48
- };
49
- const qmarksTestDot = ([$0, ext = '']) => {
50
- const noext = qmarksTestNoExtDot([$0]);
51
- return !ext ? noext : (f) => noext(f) && f.endsWith(ext);
52
- };
53
- const qmarksTest = ([$0, ext = '']) => {
54
- const noext = qmarksTestNoExt([$0]);
55
- return !ext ? noext : (f) => noext(f) && f.endsWith(ext);
56
- };
57
- const qmarksTestNoExt = ([$0]) => {
58
- const len = $0.length;
59
- return (f) => f.length === len && !f.startsWith('.');
60
- };
61
- const qmarksTestNoExtDot = ([$0]) => {
62
- const len = $0.length;
63
- return (f) => f.length === len && f !== '.' && f !== '..';
64
- };
65
- /* c8 ignore start */
66
- const defaultPlatform = (typeof process === 'object' && process
67
- ? (typeof process.env === 'object' &&
68
- process.env &&
69
- process.env.__MINIMATCH_TESTING_PLATFORM__) ||
70
- process.platform
71
- : 'posix');
72
- const path = {
73
- win32: { sep: '\\' },
74
- posix: { sep: '/' },
75
- };
76
- /* c8 ignore stop */
77
- export const sep = defaultPlatform === 'win32' ? path.win32.sep : path.posix.sep;
78
- minimatch.sep = sep;
79
- export const GLOBSTAR = Symbol('globstar **');
80
- minimatch.GLOBSTAR = GLOBSTAR;
81
- // any single thing other than /
82
- // don't need to escape / when using new RegExp()
83
- const qmark = '[^/]';
84
- // * => any number of characters
85
- const star = qmark + '*?';
86
- // ** when dots are allowed. Anything goes, except .. and .
87
- // not (^ or / followed by one or two dots followed by $ or /),
88
- // followed by anything, any number of times.
89
- const twoStarDot = '(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?';
90
- // not a ^ or / followed by a dot,
91
- // followed by anything, any number of times.
92
- const twoStarNoDot = '(?:(?!(?:\\/|^)\\.).)*?';
93
- export const filter = (pattern, options = {}) => (p) => minimatch(p, pattern, options);
94
- minimatch.filter = filter;
95
- const ext = (a, b = {}) => Object.assign({}, a, b);
96
- export const defaults = (def) => {
97
- if (!def || typeof def !== 'object' || !Object.keys(def).length) {
98
- return minimatch;
99
- }
100
- const orig = minimatch;
101
- const m = (p, pattern, options = {}) => orig(p, pattern, ext(def, options));
102
- return Object.assign(m, {
103
- Minimatch: class Minimatch extends orig.Minimatch {
104
- constructor(pattern, options = {}) {
105
- super(pattern, ext(def, options));
106
- }
107
- static defaults(options) {
108
- return orig.defaults(ext(def, options)).Minimatch;
109
- }
110
- },
111
- AST: class AST extends orig.AST {
112
- /* c8 ignore start */
113
- constructor(type, parent, options = {}) {
114
- super(type, parent, ext(def, options));
115
- }
116
- /* c8 ignore stop */
117
- static fromGlob(pattern, options = {}) {
118
- return orig.AST.fromGlob(pattern, ext(def, options));
119
- }
120
- },
121
- unescape: (s, options = {}) => orig.unescape(s, ext(def, options)),
122
- escape: (s, options = {}) => orig.escape(s, ext(def, options)),
123
- filter: (pattern, options = {}) => orig.filter(pattern, ext(def, options)),
124
- defaults: (options) => orig.defaults(ext(def, options)),
125
- makeRe: (pattern, options = {}) => orig.makeRe(pattern, ext(def, options)),
126
- braceExpand: (pattern, options = {}) => orig.braceExpand(pattern, ext(def, options)),
127
- match: (list, pattern, options = {}) => orig.match(list, pattern, ext(def, options)),
128
- sep: orig.sep,
129
- GLOBSTAR: GLOBSTAR,
130
- });
131
- };
132
- minimatch.defaults = defaults;
133
- // Brace expansion:
134
- // a{b,c}d -> abd acd
135
- // a{b,}c -> abc ac
136
- // a{0..3}d -> a0d a1d a2d a3d
137
- // a{b,c{d,e}f}g -> abg acdfg acefg
138
- // a{b,c}d{e,f}g -> abdeg acdeg abdeg abdfg
139
- //
140
- // Invalid sets are not expanded.
141
- // a{2..}b -> a{2..}b
142
- // a{b}c -> a{b}c
143
- export const braceExpand = (pattern, options = {}) => {
144
- assertValidPattern(pattern);
145
- // Thanks to Yeting Li <https://github.com/yetingli> for
146
- // improving this regexp to avoid a ReDOS vulnerability.
147
- if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
148
- // shortcut. no need to expand.
149
- return [pattern];
150
- }
151
- return expand(pattern);
152
- };
153
- minimatch.braceExpand = braceExpand;
154
- // parse a component of the expanded set.
155
- // At this point, no pattern may contain "/" in it
156
- // so we're going to return a 2d array, where each entry is the full
157
- // pattern, split on '/', and then turned into a regular expression.
158
- // A regexp is made at the end which joins each array with an
159
- // escaped /, and another full one which joins each regexp with |.
160
- //
161
- // Following the lead of Bash 4.1, note that "**" only has special meaning
162
- // when it is the *only* thing in a path portion. Otherwise, any series
163
- // of * is equivalent to a single *. Globstar behavior is enabled by
164
- // default, and can be disabled by setting options.noglobstar.
165
- export const makeRe = (pattern, options = {}) => new Minimatch(pattern, options).makeRe();
166
- minimatch.makeRe = makeRe;
167
- export const match = (list, pattern, options = {}) => {
168
- const mm = new Minimatch(pattern, options);
169
- list = list.filter(f => mm.match(f));
170
- if (mm.options.nonull && !list.length) {
171
- list.push(pattern);
172
- }
173
- return list;
174
- };
175
- minimatch.match = match;
176
- // replace stuff like \* with *
177
- const globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/;
178
- const regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
179
- export class Minimatch {
180
- options;
181
- set;
182
- pattern;
183
- windowsPathsNoEscape;
184
- nonegate;
185
- negate;
186
- comment;
187
- empty;
188
- preserveMultipleSlashes;
189
- partial;
190
- globSet;
191
- globParts;
192
- nocase;
193
- isWindows;
194
- platform;
195
- windowsNoMagicRoot;
196
- regexp;
197
- constructor(pattern, options = {}) {
198
- assertValidPattern(pattern);
199
- options = options || {};
200
- this.options = options;
201
- this.pattern = pattern;
202
- this.platform = options.platform || defaultPlatform;
203
- this.isWindows = this.platform === 'win32';
204
- this.windowsPathsNoEscape =
205
- !!options.windowsPathsNoEscape || options.allowWindowsEscape === false;
206
- if (this.windowsPathsNoEscape) {
207
- this.pattern = this.pattern.replace(/\\/g, '/');
208
- }
209
- this.preserveMultipleSlashes = !!options.preserveMultipleSlashes;
210
- this.regexp = null;
211
- this.negate = false;
212
- this.nonegate = !!options.nonegate;
213
- this.comment = false;
214
- this.empty = false;
215
- this.partial = !!options.partial;
216
- this.nocase = !!this.options.nocase;
217
- this.windowsNoMagicRoot =
218
- options.windowsNoMagicRoot !== undefined
219
- ? options.windowsNoMagicRoot
220
- : !!(this.isWindows && this.nocase);
221
- this.globSet = [];
222
- this.globParts = [];
223
- this.set = [];
224
- // make the set of regexps etc.
225
- this.make();
226
- }
227
- hasMagic() {
228
- if (this.options.magicalBraces && this.set.length > 1) {
229
- return true;
230
- }
231
- for (const pattern of this.set) {
232
- for (const part of pattern) {
233
- if (typeof part !== 'string')
234
- return true;
235
- }
236
- }
237
- return false;
238
- }
239
- debug(..._) { }
240
- make() {
241
- const pattern = this.pattern;
242
- const options = this.options;
243
- // empty patterns and comments match nothing.
244
- if (!options.nocomment && pattern.charAt(0) === '#') {
245
- this.comment = true;
246
- return;
247
- }
248
- if (!pattern) {
249
- this.empty = true;
250
- return;
251
- }
252
- // step 1: figure out negation, etc.
253
- this.parseNegate();
254
- // step 2: expand braces
255
- this.globSet = [...new Set(this.braceExpand())];
256
- if (options.debug) {
257
- this.debug = (...args) => console.error(...args);
258
- }
259
- this.debug(this.pattern, this.globSet);
260
- // step 3: now we have a set, so turn each one into a series of
261
- // path-portion matching patterns.
262
- // These will be regexps, except in the case of "**", which is
263
- // set to the GLOBSTAR object for globstar behavior,
264
- // and will not contain any / characters
265
- //
266
- // First, we preprocess to make the glob pattern sets a bit simpler
267
- // and deduped. There are some perf-killing patterns that can cause
268
- // problems with a glob walk, but we can simplify them down a bit.
269
- const rawGlobParts = this.globSet.map(s => this.slashSplit(s));
270
- this.globParts = this.preprocess(rawGlobParts);
271
- this.debug(this.pattern, this.globParts);
272
- // glob --> regexps
273
- let set = this.globParts.map((s, _, __) => {
274
- if (this.isWindows && this.windowsNoMagicRoot) {
275
- // check if it's a drive or unc path.
276
- const isUNC = s[0] === '' &&
277
- s[1] === '' &&
278
- (s[2] === '?' || !globMagic.test(s[2])) &&
279
- !globMagic.test(s[3]);
280
- const isDrive = /^[a-z]:/i.test(s[0]);
281
- if (isUNC) {
282
- return [...s.slice(0, 4), ...s.slice(4).map(ss => this.parse(ss))];
283
- }
284
- else if (isDrive) {
285
- return [s[0], ...s.slice(1).map(ss => this.parse(ss))];
286
- }
287
- }
288
- return s.map(ss => this.parse(ss));
289
- });
290
- this.debug(this.pattern, set);
291
- // filter out everything that didn't compile properly.
292
- this.set = set.filter(s => s.indexOf(false) === -1);
293
- // do not treat the ? in UNC paths as magic
294
- if (this.isWindows) {
295
- for (let i = 0; i < this.set.length; i++) {
296
- const p = this.set[i];
297
- if (p[0] === '' &&
298
- p[1] === '' &&
299
- this.globParts[i][2] === '?' &&
300
- typeof p[3] === 'string' &&
301
- /^[a-z]:$/i.test(p[3])) {
302
- p[2] = '?';
303
- }
304
- }
305
- }
306
- this.debug(this.pattern, this.set);
307
- }
308
- // various transforms to equivalent pattern sets that are
309
- // faster to process in a filesystem walk. The goal is to
310
- // eliminate what we can, and push all ** patterns as far
311
- // to the right as possible, even if it increases the number
312
- // of patterns that we have to process.
313
- preprocess(globParts) {
314
- // if we're not in globstar mode, then turn all ** into *
315
- if (this.options.noglobstar) {
316
- for (let i = 0; i < globParts.length; i++) {
317
- for (let j = 0; j < globParts[i].length; j++) {
318
- if (globParts[i][j] === '**') {
319
- globParts[i][j] = '*';
320
- }
321
- }
322
- }
323
- }
324
- const { optimizationLevel = 1 } = this.options;
325
- if (optimizationLevel >= 2) {
326
- // aggressive optimization for the purpose of fs walking
327
- globParts = this.firstPhasePreProcess(globParts);
328
- globParts = this.secondPhasePreProcess(globParts);
329
- }
330
- else if (optimizationLevel >= 1) {
331
- // just basic optimizations to remove some .. parts
332
- globParts = this.levelOneOptimize(globParts);
333
- }
334
- else {
335
- globParts = this.adjascentGlobstarOptimize(globParts);
336
- }
337
- return globParts;
338
- }
339
- // just get rid of adjascent ** portions
340
- adjascentGlobstarOptimize(globParts) {
341
- return globParts.map(parts => {
342
- let gs = -1;
343
- while (-1 !== (gs = parts.indexOf('**', gs + 1))) {
344
- let i = gs;
345
- while (parts[i + 1] === '**') {
346
- i++;
347
- }
348
- if (i !== gs) {
349
- parts.splice(gs, i - gs);
350
- }
351
- }
352
- return parts;
353
- });
354
- }
355
- // get rid of adjascent ** and resolve .. portions
356
- levelOneOptimize(globParts) {
357
- return globParts.map(parts => {
358
- parts = parts.reduce((set, part) => {
359
- const prev = set[set.length - 1];
360
- if (part === '**' && prev === '**') {
361
- return set;
362
- }
363
- if (part === '..') {
364
- if (prev && prev !== '..' && prev !== '.' && prev !== '**') {
365
- set.pop();
366
- return set;
367
- }
368
- }
369
- set.push(part);
370
- return set;
371
- }, []);
372
- return parts.length === 0 ? [''] : parts;
373
- });
374
- }
375
- levelTwoFileOptimize(parts) {
376
- if (!Array.isArray(parts)) {
377
- parts = this.slashSplit(parts);
378
- }
379
- let didSomething = false;
380
- do {
381
- didSomething = false;
382
- // <pre>/<e>/<rest> -> <pre>/<rest>
383
- if (!this.preserveMultipleSlashes) {
384
- for (let i = 1; i < parts.length - 1; i++) {
385
- const p = parts[i];
386
- // don't squeeze out UNC patterns
387
- if (i === 1 && p === '' && parts[0] === '')
388
- continue;
389
- if (p === '.' || p === '') {
390
- didSomething = true;
391
- parts.splice(i, 1);
392
- i--;
393
- }
394
- }
395
- if (parts[0] === '.' &&
396
- parts.length === 2 &&
397
- (parts[1] === '.' || parts[1] === '')) {
398
- didSomething = true;
399
- parts.pop();
400
- }
401
- }
402
- // <pre>/<p>/../<rest> -> <pre>/<rest>
403
- let dd = 0;
404
- while (-1 !== (dd = parts.indexOf('..', dd + 1))) {
405
- const p = parts[dd - 1];
406
- if (p && p !== '.' && p !== '..' && p !== '**') {
407
- didSomething = true;
408
- parts.splice(dd - 1, 2);
409
- dd -= 2;
410
- }
411
- }
412
- } while (didSomething);
413
- return parts.length === 0 ? [''] : parts;
414
- }
415
- // First phase: single-pattern processing
416
- // <pre> is 1 or more portions
417
- // <rest> is 1 or more portions
418
- // <p> is any portion other than ., .., '', or **
419
- // <e> is . or ''
420
- //
421
- // **/.. is *brutal* for filesystem walking performance, because
422
- // it effectively resets the recursive walk each time it occurs,
423
- // and ** cannot be reduced out by a .. pattern part like a regexp
424
- // or most strings (other than .., ., and '') can be.
425
- //
426
- // <pre>/**/../<p>/<p>/<rest> -> {<pre>/../<p>/<p>/<rest>,<pre>/**/<p>/<p>/<rest>}
427
- // <pre>/<e>/<rest> -> <pre>/<rest>
428
- // <pre>/<p>/../<rest> -> <pre>/<rest>
429
- // **/**/<rest> -> **/<rest>
430
- //
431
- // **/*/<rest> -> */**/<rest> <== not valid because ** doesn't follow
432
- // this WOULD be allowed if ** did follow symlinks, or * didn't
433
- firstPhasePreProcess(globParts) {
434
- let didSomething = false;
435
- do {
436
- didSomething = false;
437
- // <pre>/**/../<p>/<p>/<rest> -> {<pre>/../<p>/<p>/<rest>,<pre>/**/<p>/<p>/<rest>}
438
- for (let parts of globParts) {
439
- let gs = -1;
440
- while (-1 !== (gs = parts.indexOf('**', gs + 1))) {
441
- let gss = gs;
442
- while (parts[gss + 1] === '**') {
443
- // <pre>/**/**/<rest> -> <pre>/**/<rest>
444
- gss++;
445
- }
446
- // eg, if gs is 2 and gss is 4, that means we have 3 **
447
- // parts, and can remove 2 of them.
448
- if (gss > gs) {
449
- parts.splice(gs + 1, gss - gs);
450
- }
451
- let next = parts[gs + 1];
452
- const p = parts[gs + 2];
453
- const p2 = parts[gs + 3];
454
- if (next !== '..')
455
- continue;
456
- if (!p ||
457
- p === '.' ||
458
- p === '..' ||
459
- !p2 ||
460
- p2 === '.' ||
461
- p2 === '..') {
462
- continue;
463
- }
464
- didSomething = true;
465
- // edit parts in place, and push the new one
466
- parts.splice(gs, 1);
467
- const other = parts.slice(0);
468
- other[gs] = '**';
469
- globParts.push(other);
470
- gs--;
471
- }
472
- // <pre>/<e>/<rest> -> <pre>/<rest>
473
- if (!this.preserveMultipleSlashes) {
474
- for (let i = 1; i < parts.length - 1; i++) {
475
- const p = parts[i];
476
- // don't squeeze out UNC patterns
477
- if (i === 1 && p === '' && parts[0] === '')
478
- continue;
479
- if (p === '.' || p === '') {
480
- didSomething = true;
481
- parts.splice(i, 1);
482
- i--;
483
- }
484
- }
485
- if (parts[0] === '.' &&
486
- parts.length === 2 &&
487
- (parts[1] === '.' || parts[1] === '')) {
488
- didSomething = true;
489
- parts.pop();
490
- }
491
- }
492
- // <pre>/<p>/../<rest> -> <pre>/<rest>
493
- let dd = 0;
494
- while (-1 !== (dd = parts.indexOf('..', dd + 1))) {
495
- const p = parts[dd - 1];
496
- if (p && p !== '.' && p !== '..' && p !== '**') {
497
- didSomething = true;
498
- const needDot = dd === 1 && parts[dd + 1] === '**';
499
- const splin = needDot ? ['.'] : [];
500
- parts.splice(dd - 1, 2, ...splin);
501
- if (parts.length === 0)
502
- parts.push('');
503
- dd -= 2;
504
- }
505
- }
506
- }
507
- } while (didSomething);
508
- return globParts;
509
- }
510
- // second phase: multi-pattern dedupes
511
- // {<pre>/*/<rest>,<pre>/<p>/<rest>} -> <pre>/*/<rest>
512
- // {<pre>/<rest>,<pre>/<rest>} -> <pre>/<rest>
513
- // {<pre>/**/<rest>,<pre>/<rest>} -> <pre>/**/<rest>
514
- //
515
- // {<pre>/**/<rest>,<pre>/**/<p>/<rest>} -> <pre>/**/<rest>
516
- // ^-- not valid because ** doens't follow symlinks
517
- secondPhasePreProcess(globParts) {
518
- for (let i = 0; i < globParts.length - 1; i++) {
519
- for (let j = i + 1; j < globParts.length; j++) {
520
- const matched = this.partsMatch(globParts[i], globParts[j], !this.preserveMultipleSlashes);
521
- if (!matched)
522
- continue;
523
- globParts[i] = matched;
524
- globParts[j] = [];
525
- }
526
- }
527
- return globParts.filter(gs => gs.length);
528
- }
529
- partsMatch(a, b, emptyGSMatch = false) {
530
- let ai = 0;
531
- let bi = 0;
532
- let result = [];
533
- let which = '';
534
- while (ai < a.length && bi < b.length) {
535
- if (a[ai] === b[bi]) {
536
- result.push(which === 'b' ? b[bi] : a[ai]);
537
- ai++;
538
- bi++;
539
- }
540
- else if (emptyGSMatch && a[ai] === '**' && b[bi] === a[ai + 1]) {
541
- result.push(a[ai]);
542
- ai++;
543
- }
544
- else if (emptyGSMatch && b[bi] === '**' && a[ai] === b[bi + 1]) {
545
- result.push(b[bi]);
546
- bi++;
547
- }
548
- else if (a[ai] === '*' &&
549
- b[bi] &&
550
- (this.options.dot || !b[bi].startsWith('.')) &&
551
- b[bi] !== '**') {
552
- if (which === 'b')
553
- return false;
554
- which = 'a';
555
- result.push(a[ai]);
556
- ai++;
557
- bi++;
558
- }
559
- else if (b[bi] === '*' &&
560
- a[ai] &&
561
- (this.options.dot || !a[ai].startsWith('.')) &&
562
- a[ai] !== '**') {
563
- if (which === 'a')
564
- return false;
565
- which = 'b';
566
- result.push(b[bi]);
567
- ai++;
568
- bi++;
569
- }
570
- else {
571
- return false;
572
- }
573
- }
574
- // if we fall out of the loop, it means they two are identical
575
- // as long as their lengths match
576
- return a.length === b.length && result;
577
- }
578
- parseNegate() {
579
- if (this.nonegate)
580
- return;
581
- const pattern = this.pattern;
582
- let negate = false;
583
- let negateOffset = 0;
584
- for (let i = 0; i < pattern.length && pattern.charAt(i) === '!'; i++) {
585
- negate = !negate;
586
- negateOffset++;
587
- }
588
- if (negateOffset)
589
- this.pattern = pattern.slice(negateOffset);
590
- this.negate = negate;
591
- }
592
- // set partial to true to test if, for example,
593
- // "/a/b" matches the start of "/*/b/*/d"
594
- // Partial means, if you run out of file before you run
595
- // out of pattern, then that's fine, as long as all
596
- // the parts match.
597
- matchOne(file, pattern, partial = false) {
598
- const options = this.options;
599
- // UNC paths like //?/X:/... can match X:/... and vice versa
600
- // Drive letters in absolute drive or unc paths are always compared
601
- // case-insensitively.
602
- if (this.isWindows) {
603
- const fileDrive = typeof file[0] === 'string' && /^[a-z]:$/i.test(file[0]);
604
- const fileUNC = !fileDrive &&
605
- file[0] === '' &&
606
- file[1] === '' &&
607
- file[2] === '?' &&
608
- /^[a-z]:$/i.test(file[3]);
609
- const patternDrive = typeof pattern[0] === 'string' && /^[a-z]:$/i.test(pattern[0]);
610
- const patternUNC = !patternDrive &&
611
- pattern[0] === '' &&
612
- pattern[1] === '' &&
613
- pattern[2] === '?' &&
614
- typeof pattern[3] === 'string' &&
615
- /^[a-z]:$/i.test(pattern[3]);
616
- const fdi = fileUNC ? 3 : fileDrive ? 0 : undefined;
617
- const pdi = patternUNC ? 3 : patternDrive ? 0 : undefined;
618
- if (typeof fdi === 'number' && typeof pdi === 'number') {
619
- const [fd, pd] = [file[fdi], pattern[pdi]];
620
- if (fd.toLowerCase() === pd.toLowerCase()) {
621
- pattern[pdi] = fd;
622
- if (pdi > fdi) {
623
- pattern = pattern.slice(pdi);
624
- }
625
- else if (fdi > pdi) {
626
- file = file.slice(fdi);
627
- }
628
- }
629
- }
630
- }
631
- // resolve and reduce . and .. portions in the file as well.
632
- // dont' need to do the second phase, because it's only one string[]
633
- const { optimizationLevel = 1 } = this.options;
634
- if (optimizationLevel >= 2) {
635
- file = this.levelTwoFileOptimize(file);
636
- }
637
- this.debug('matchOne', this, { file, pattern });
638
- this.debug('matchOne', file.length, pattern.length);
639
- for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
640
- this.debug('matchOne loop');
641
- var p = pattern[pi];
642
- var f = file[fi];
643
- this.debug(pattern, p, f);
644
- // should be impossible.
645
- // some invalid regexp stuff in the set.
646
- /* c8 ignore start */
647
- if (p === false) {
648
- return false;
649
- }
650
- /* c8 ignore stop */
651
- if (p === GLOBSTAR) {
652
- this.debug('GLOBSTAR', [pattern, p, f]);
653
- // "**"
654
- // a/**/b/**/c would match the following:
655
- // a/b/x/y/z/c
656
- // a/x/y/z/b/c
657
- // a/b/x/b/x/c
658
- // a/b/c
659
- // To do this, take the rest of the pattern after
660
- // the **, and see if it would match the file remainder.
661
- // If so, return success.
662
- // If not, the ** "swallows" a segment, and try again.
663
- // This is recursively awful.
664
- //
665
- // a/**/b/**/c matching a/b/x/y/z/c
666
- // - a matches a
667
- // - doublestar
668
- // - matchOne(b/x/y/z/c, b/**/c)
669
- // - b matches b
670
- // - doublestar
671
- // - matchOne(x/y/z/c, c) -> no
672
- // - matchOne(y/z/c, c) -> no
673
- // - matchOne(z/c, c) -> no
674
- // - matchOne(c, c) yes, hit
675
- var fr = fi;
676
- var pr = pi + 1;
677
- if (pr === pl) {
678
- this.debug('** at the end');
679
- // a ** at the end will just swallow the rest.
680
- // We have found a match.
681
- // however, it will not swallow /.x, unless
682
- // options.dot is set.
683
- // . and .. are *never* matched by **, for explosively
684
- // exponential reasons.
685
- for (; fi < fl; fi++) {
686
- if (file[fi] === '.' ||
687
- file[fi] === '..' ||
688
- (!options.dot && file[fi].charAt(0) === '.'))
689
- return false;
690
- }
691
- return true;
692
- }
693
- // ok, let's see if we can swallow whatever we can.
694
- while (fr < fl) {
695
- var swallowee = file[fr];
696
- this.debug('\nglobstar while', file, fr, pattern, pr, swallowee);
697
- // XXX remove this slice. Just pass the start index.
698
- if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
699
- this.debug('globstar found match!', fr, fl, swallowee);
700
- // found a match.
701
- return true;
702
- }
703
- else {
704
- // can't swallow "." or ".." ever.
705
- // can only swallow ".foo" when explicitly asked.
706
- if (swallowee === '.' ||
707
- swallowee === '..' ||
708
- (!options.dot && swallowee.charAt(0) === '.')) {
709
- this.debug('dot detected!', file, fr, pattern, pr);
710
- break;
711
- }
712
- // ** swallows a segment, and continue.
713
- this.debug('globstar swallow a segment, and continue');
714
- fr++;
715
- }
716
- }
717
- // no match was found.
718
- // However, in partial mode, we can't say this is necessarily over.
719
- /* c8 ignore start */
720
- if (partial) {
721
- // ran out of file
722
- this.debug('\n>>> no match, partial?', file, fr, pattern, pr);
723
- if (fr === fl) {
724
- return true;
725
- }
726
- }
727
- /* c8 ignore stop */
728
- return false;
729
- }
730
- // something other than **
731
- // non-magic patterns just have to match exactly
732
- // patterns with magic have been turned into regexps.
733
- let hit;
734
- if (typeof p === 'string') {
735
- hit = f === p;
736
- this.debug('string match', p, f, hit);
737
- }
738
- else {
739
- hit = p.test(f);
740
- this.debug('pattern match', p, f, hit);
741
- }
742
- if (!hit)
743
- return false;
744
- }
745
- // Note: ending in / means that we'll get a final ""
746
- // at the end of the pattern. This can only match a
747
- // corresponding "" at the end of the file.
748
- // If the file ends in /, then it can only match a
749
- // a pattern that ends in /, unless the pattern just
750
- // doesn't have any more for it. But, a/b/ should *not*
751
- // match "a/b/*", even though "" matches against the
752
- // [^/]*? pattern, except in partial mode, where it might
753
- // simply not be reached yet.
754
- // However, a/b/ should still satisfy a/*
755
- // now either we fell off the end of the pattern, or we're done.
756
- if (fi === fl && pi === pl) {
757
- // ran out of pattern and filename at the same time.
758
- // an exact hit!
759
- return true;
760
- }
761
- else if (fi === fl) {
762
- // ran out of file, but still had pattern left.
763
- // this is ok if we're doing the match as part of
764
- // a glob fs traversal.
765
- return partial;
766
- }
767
- else if (pi === pl) {
768
- // ran out of pattern, still have file left.
769
- // this is only acceptable if we're on the very last
770
- // empty segment of a file with a trailing slash.
771
- // a/* should match a/b/
772
- return fi === fl - 1 && file[fi] === '';
773
- /* c8 ignore start */
774
- }
775
- else {
776
- // should be unreachable.
777
- throw new Error('wtf?');
778
- }
779
- /* c8 ignore stop */
780
- }
781
- braceExpand() {
782
- return braceExpand(this.pattern, this.options);
783
- }
784
- parse(pattern) {
785
- assertValidPattern(pattern);
786
- const options = this.options;
787
- // shortcuts
788
- if (pattern === '**')
789
- return GLOBSTAR;
790
- if (pattern === '')
791
- return '';
792
- // far and away, the most common glob pattern parts are
793
- // *, *.*, and *.<ext> Add a fast check method for those.
794
- let m;
795
- let fastTest = null;
796
- if ((m = pattern.match(starRE))) {
797
- fastTest = options.dot ? starTestDot : starTest;
798
- }
799
- else if ((m = pattern.match(starDotExtRE))) {
800
- fastTest = (options.nocase
801
- ? options.dot
802
- ? starDotExtTestNocaseDot
803
- : starDotExtTestNocase
804
- : options.dot
805
- ? starDotExtTestDot
806
- : starDotExtTest)(m[1]);
807
- }
808
- else if ((m = pattern.match(qmarksRE))) {
809
- fastTest = (options.nocase
810
- ? options.dot
811
- ? qmarksTestNocaseDot
812
- : qmarksTestNocase
813
- : options.dot
814
- ? qmarksTestDot
815
- : qmarksTest)(m);
816
- }
817
- else if ((m = pattern.match(starDotStarRE))) {
818
- fastTest = options.dot ? starDotStarTestDot : starDotStarTest;
819
- }
820
- else if ((m = pattern.match(dotStarRE))) {
821
- fastTest = dotStarTest;
822
- }
823
- const re = AST.fromGlob(pattern, this.options).toMMPattern();
824
- return fastTest ? Object.assign(re, { test: fastTest }) : re;
825
- }
826
- makeRe() {
827
- if (this.regexp || this.regexp === false)
828
- return this.regexp;
829
- // at this point, this.set is a 2d array of partial
830
- // pattern strings, or "**".
831
- //
832
- // It's better to use .match(). This function shouldn't
833
- // be used, really, but it's pretty convenient sometimes,
834
- // when you just want to work with a regex.
835
- const set = this.set;
836
- if (!set.length) {
837
- this.regexp = false;
838
- return this.regexp;
839
- }
840
- const options = this.options;
841
- const twoStar = options.noglobstar
842
- ? star
843
- : options.dot
844
- ? twoStarDot
845
- : twoStarNoDot;
846
- const flags = new Set(options.nocase ? ['i'] : []);
847
- // regexpify non-globstar patterns
848
- // if ** is only item, then we just do one twoStar
849
- // if ** is first, and there are more, prepend (\/|twoStar\/)? to next
850
- // if ** is last, append (\/twoStar|) to previous
851
- // if ** is in the middle, append (\/|\/twoStar\/) to previous
852
- // then filter out GLOBSTAR symbols
853
- let re = set
854
- .map(pattern => {
855
- const pp = pattern.map(p => {
856
- if (p instanceof RegExp) {
857
- for (const f of p.flags.split(''))
858
- flags.add(f);
859
- }
860
- return typeof p === 'string'
861
- ? regExpEscape(p)
862
- : p === GLOBSTAR
863
- ? GLOBSTAR
864
- : p._src;
865
- });
866
- pp.forEach((p, i) => {
867
- const next = pp[i + 1];
868
- const prev = pp[i - 1];
869
- if (p !== GLOBSTAR || prev === GLOBSTAR) {
870
- return;
871
- }
872
- if (prev === undefined) {
873
- if (next !== undefined && next !== GLOBSTAR) {
874
- pp[i + 1] = '(?:\\/|' + twoStar + '\\/)?' + next;
875
- }
876
- else {
877
- pp[i] = twoStar;
878
- }
879
- }
880
- else if (next === undefined) {
881
- pp[i - 1] = prev + '(?:\\/|' + twoStar + ')?';
882
- }
883
- else if (next !== GLOBSTAR) {
884
- pp[i - 1] = prev + '(?:\\/|\\/' + twoStar + '\\/)' + next;
885
- pp[i + 1] = GLOBSTAR;
886
- }
887
- });
888
- return pp.filter(p => p !== GLOBSTAR).join('/');
889
- })
890
- .join('|');
891
- // need to wrap in parens if we had more than one thing with |,
892
- // otherwise only the first will be anchored to ^ and the last to $
893
- const [open, close] = set.length > 1 ? ['(?:', ')'] : ['', ''];
894
- // must match entire pattern
895
- // ending in a * or ** will make it less strict.
896
- re = '^' + open + re + close + '$';
897
- // can match anything, as long as it's not this.
898
- if (this.negate)
899
- re = '^(?!' + re + ').+$';
900
- try {
901
- this.regexp = new RegExp(re, [...flags].join(''));
902
- /* c8 ignore start */
903
- }
904
- catch (ex) {
905
- // should be impossible
906
- this.regexp = false;
907
- }
908
- /* c8 ignore stop */
909
- return this.regexp;
910
- }
911
- slashSplit(p) {
912
- // if p starts with // on windows, we preserve that
913
- // so that UNC paths aren't broken. Otherwise, any number of
914
- // / characters are coalesced into one, unless
915
- // preserveMultipleSlashes is set to true.
916
- if (this.preserveMultipleSlashes) {
917
- return p.split('/');
918
- }
919
- else if (this.isWindows && /^\/\/[^\/]+/.test(p)) {
920
- // add an extra '' for the one we lose
921
- return ['', ...p.split(/\/+/)];
922
- }
923
- else {
924
- return p.split(/\/+/);
925
- }
926
- }
927
- match(f, partial = this.partial) {
928
- this.debug('match', f, this.pattern);
929
- // short-circuit in the case of busted things.
930
- // comments, etc.
931
- if (this.comment) {
932
- return false;
933
- }
934
- if (this.empty) {
935
- return f === '';
936
- }
937
- if (f === '/' && partial) {
938
- return true;
939
- }
940
- const options = this.options;
941
- // windows: need to use /, not \
942
- if (this.isWindows) {
943
- f = f.split('\\').join('/');
944
- }
945
- // treat the test path as a set of pathparts.
946
- const ff = this.slashSplit(f);
947
- this.debug(this.pattern, 'split', ff);
948
- // just ONE of the pattern sets in this.set needs to match
949
- // in order for it to be valid. If negating, then just one
950
- // match means that we have failed.
951
- // Either way, return on the first hit.
952
- const set = this.set;
953
- this.debug(this.pattern, 'set', set);
954
- // Find the basename of the path by looking for the last non-empty segment
955
- let filename = ff[ff.length - 1];
956
- if (!filename) {
957
- for (let i = ff.length - 2; !filename && i >= 0; i--) {
958
- filename = ff[i];
959
- }
960
- }
961
- for (let i = 0; i < set.length; i++) {
962
- const pattern = set[i];
963
- let file = ff;
964
- if (options.matchBase && pattern.length === 1) {
965
- file = [filename];
966
- }
967
- const hit = this.matchOne(file, pattern, partial);
968
- if (hit) {
969
- if (options.flipNegate) {
970
- return true;
971
- }
972
- return !this.negate;
973
- }
974
- }
975
- // didn't get any hits. this is success if it's a negative
976
- // pattern, failure otherwise.
977
- if (options.flipNegate) {
978
- return false;
979
- }
980
- return this.negate;
981
- }
982
- static defaults(def) {
983
- return minimatch.defaults(def).Minimatch;
984
- }
985
- }
986
- /* c8 ignore start */
987
- export { AST } from './ast.js';
988
- export { escape } from './escape.js';
989
- export { unescape } from './unescape.js';
990
- /* c8 ignore stop */
991
- minimatch.AST = AST;
992
- minimatch.Minimatch = Minimatch;
993
- minimatch.escape = escape;
994
- minimatch.unescape = unescape;
995
- //# sourceMappingURL=index.js.map