immosquare-cleaner 0.1.42 → 0.1.44

Sign up to get free protection for your applications and to get access to all the features.
Files changed (847) 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/README.md +1 -1
  23. data/node_modules/eslint/lib/cli.js +4 -23
  24. data/node_modules/eslint/lib/eslint/eslint.js +93 -17
  25. data/node_modules/eslint/lib/languages/js/source-code/source-code.js +19 -0
  26. data/node_modules/eslint/lib/linter/apply-disable-directives.js +24 -12
  27. data/node_modules/eslint/lib/linter/linter.js +44 -20
  28. data/node_modules/eslint/lib/linter/report-translator.js +10 -10
  29. data/node_modules/eslint/lib/linter/rule-fixer.js +38 -15
  30. data/node_modules/eslint/lib/rules/require-await.js +37 -3
  31. data/node_modules/eslint/lib/rules/utils/ast-utils.js +4 -3
  32. data/node_modules/eslint/lib/shared/flags.js +3 -2
  33. data/node_modules/eslint/package.json +18 -8
  34. data/node_modules/glob/LICENSE +7 -1
  35. data/node_modules/glob/README.md +284 -1120
  36. data/node_modules/glob/common.js +238 -0
  37. data/node_modules/glob/glob.js +790 -0
  38. data/node_modules/glob/package.json +34 -76
  39. data/node_modules/glob/sync.js +486 -0
  40. data/node_modules/jscodeshift/CHANGELOG.md +17 -0
  41. data/node_modules/jscodeshift/CONTRIBUTING.md +7 -6
  42. data/node_modules/jscodeshift/README.md +3 -2
  43. data/node_modules/jscodeshift/dist/Runner.js +15 -15
  44. data/node_modules/jscodeshift/dist/collections/ImportDeclaration.js +113 -0
  45. data/node_modules/jscodeshift/dist/collections/index.js +1 -0
  46. data/node_modules/jscodeshift/dist/src/Runner.js +15 -15
  47. data/node_modules/jscodeshift/dist/src/collections/ImportDeclaration.js +113 -0
  48. data/node_modules/jscodeshift/dist/src/collections/index.js +1 -0
  49. data/node_modules/jscodeshift/package.json +9 -7
  50. data/node_modules/jscodeshift/parser/tsOptions.js +2 -0
  51. data/node_modules/jscodeshift/src/Runner.js +15 -15
  52. data/node_modules/jscodeshift/src/collections/ImportDeclaration.js +113 -0
  53. data/node_modules/jscodeshift/src/collections/index.js +1 -0
  54. data/node_modules/jscodeshift/utils/testUtils.js +1 -2
  55. data/node_modules/jscodeshift/website/README.md +44 -0
  56. data/node_modules/jscodeshift/website/astro.config.mjs +36 -0
  57. data/node_modules/jscodeshift/website/package.json +17 -0
  58. data/node_modules/jscodeshift/website/public/favicon.svg +1 -0
  59. data/node_modules/jscodeshift/website/src/assets/houston.webp +0 -0
  60. data/node_modules/jscodeshift/website/src/content/config.ts +6 -0
  61. data/node_modules/jscodeshift/website/src/content/docs/build/api-reference.mdx +406 -0
  62. data/node_modules/jscodeshift/website/src/content/docs/build/ast-grammar.mdx +3086 -0
  63. data/node_modules/jscodeshift/website/src/content/docs/index.mdx +15 -0
  64. data/node_modules/jscodeshift/website/src/content/docs/overview/introduction.mdx +45 -0
  65. data/node_modules/jscodeshift/website/src/content/docs/run/cli.mdx +161 -0
  66. data/node_modules/jscodeshift/website/src/env.d.ts +2 -0
  67. data/node_modules/jscodeshift/website/tsconfig.json +3 -0
  68. data/node_modules/lru-cache/LICENSE +1 -1
  69. data/node_modules/lru-cache/README.md +104 -1055
  70. data/node_modules/lru-cache/index.js +246 -1139
  71. data/node_modules/lru-cache/package.json +11 -75
  72. data/node_modules/minimatch/LICENSE +1 -1
  73. data/node_modules/minimatch/README.md +65 -289
  74. data/node_modules/minimatch/package.json +14 -67
  75. data/node_modules/npm-check-updates/README.md +43 -33
  76. data/node_modules/npm-check-updates/build/cli.js +21 -21
  77. data/node_modules/npm-check-updates/build/cli.js.map +1 -1
  78. data/node_modules/npm-check-updates/build/index-CWktU8PK.js +58 -0
  79. data/node_modules/npm-check-updates/build/index-CWktU8PK.js.map +1 -0
  80. data/node_modules/npm-check-updates/build/index.d.ts +1 -3
  81. data/node_modules/npm-check-updates/build/index.js +207 -223
  82. data/node_modules/npm-check-updates/build/index.js.map +1 -1
  83. data/node_modules/npm-check-updates/package.json +101 -105
  84. data/node_modules/rimraf/LICENSE +1 -1
  85. data/node_modules/rimraf/README.md +70 -188
  86. data/node_modules/rimraf/bin.js +50 -0
  87. data/node_modules/rimraf/package.json +16 -74
  88. data/node_modules/rimraf/rimraf.js +364 -0
  89. data/node_modules/semver/README.md +27 -221
  90. data/node_modules/semver/bin/semver.js +84 -107
  91. data/node_modules/semver/package.json +14 -63
  92. data/node_modules/semver/semver.js +1643 -0
  93. data/node_modules/strip-ansi/index.d.ts +4 -2
  94. data/node_modules/strip-ansi/index.js +3 -13
  95. data/node_modules/strip-ansi/license +1 -1
  96. data/node_modules/strip-ansi/package.json +7 -10
  97. data/node_modules/strip-ansi/readme.md +7 -2
  98. data/node_modules/strip-json-comments/index.d.ts +13 -18
  99. data/node_modules/strip-json-comments/index.js +38 -68
  100. data/node_modules/strip-json-comments/package.json +5 -13
  101. data/node_modules/strip-json-comments/readme.md +18 -15
  102. data/node_modules/yallist/package.json +1 -1
  103. data/node_modules/yallist/yallist.js +3 -3
  104. data/package.json +4 -4
  105. metadata +30 -744
  106. data/node_modules/@eslint/config-array/node_modules/minimatch/LICENSE +0 -15
  107. data/node_modules/@eslint/config-array/node_modules/minimatch/README.md +0 -230
  108. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  109. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -129
  110. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -201
  111. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -47
  112. data/node_modules/@eslint/config-array/node_modules/minimatch/package.json +0 -33
  113. data/node_modules/chalk/source/index.d.ts +0 -320
  114. data/node_modules/chalk/source/utilities.js +0 -33
  115. data/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  116. data/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  117. data/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  118. data/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  119. data/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  120. data/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  121. data/node_modules/eslint/node_modules/chalk/license +0 -9
  122. data/node_modules/eslint/node_modules/chalk/package.json +0 -68
  123. data/node_modules/eslint/node_modules/chalk/readme.md +0 -341
  124. data/node_modules/eslint/node_modules/chalk/source/index.js +0 -229
  125. data/node_modules/eslint/node_modules/minimatch/LICENSE +0 -15
  126. data/node_modules/eslint/node_modules/minimatch/README.md +0 -230
  127. data/node_modules/eslint/node_modules/minimatch/minimatch.js +0 -947
  128. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  129. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -129
  130. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -201
  131. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -47
  132. data/node_modules/eslint/node_modules/minimatch/package.json +0 -33
  133. data/node_modules/eslint/node_modules/strip-ansi/index.d.ts +0 -17
  134. data/node_modules/eslint/node_modules/strip-ansi/index.js +0 -4
  135. data/node_modules/eslint/node_modules/strip-ansi/license +0 -9
  136. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +0 -37
  137. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.js +0 -10
  138. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/license +0 -9
  139. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/package.json +0 -55
  140. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +0 -78
  141. data/node_modules/eslint/node_modules/strip-ansi/package.json +0 -54
  142. data/node_modules/eslint/node_modules/strip-ansi/readme.md +0 -46
  143. data/node_modules/glob/dist/commonjs/glob.d.ts +0 -344
  144. data/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
  145. data/node_modules/glob/dist/commonjs/glob.js +0 -243
  146. data/node_modules/glob/dist/commonjs/glob.js.map +0 -1
  147. data/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
  148. data/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
  149. data/node_modules/glob/dist/commonjs/has-magic.js +0 -27
  150. data/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
  151. data/node_modules/glob/dist/commonjs/ignore.d.ts +0 -20
  152. data/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
  153. data/node_modules/glob/dist/commonjs/ignore.js +0 -108
  154. data/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
  155. data/node_modules/glob/dist/commonjs/index.d.ts +0 -96
  156. data/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
  157. data/node_modules/glob/dist/commonjs/index.js +0 -68
  158. data/node_modules/glob/dist/commonjs/index.js.map +0 -1
  159. data/node_modules/glob/dist/commonjs/package.json +0 -1
  160. data/node_modules/glob/dist/commonjs/pattern.d.ts +0 -77
  161. data/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
  162. data/node_modules/glob/dist/commonjs/pattern.js +0 -219
  163. data/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
  164. data/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
  165. data/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
  166. data/node_modules/glob/dist/commonjs/processor.js +0 -302
  167. data/node_modules/glob/dist/commonjs/processor.js.map +0 -1
  168. data/node_modules/glob/dist/commonjs/walker.d.ts +0 -96
  169. data/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
  170. data/node_modules/glob/dist/commonjs/walker.js +0 -358
  171. data/node_modules/glob/dist/commonjs/walker.js.map +0 -1
  172. data/node_modules/glob/dist/esm/bin.d.mts +0 -3
  173. data/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
  174. data/node_modules/glob/dist/esm/bin.mjs +0 -275
  175. data/node_modules/glob/dist/esm/bin.mjs.map +0 -1
  176. data/node_modules/glob/dist/esm/glob.d.ts +0 -344
  177. data/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
  178. data/node_modules/glob/dist/esm/glob.js +0 -239
  179. data/node_modules/glob/dist/esm/glob.js.map +0 -1
  180. data/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
  181. data/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
  182. data/node_modules/glob/dist/esm/has-magic.js +0 -23
  183. data/node_modules/glob/dist/esm/has-magic.js.map +0 -1
  184. data/node_modules/glob/dist/esm/ignore.d.ts +0 -20
  185. data/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
  186. data/node_modules/glob/dist/esm/ignore.js +0 -104
  187. data/node_modules/glob/dist/esm/ignore.js.map +0 -1
  188. data/node_modules/glob/dist/esm/index.d.ts +0 -96
  189. data/node_modules/glob/dist/esm/index.d.ts.map +0 -1
  190. data/node_modules/glob/dist/esm/index.js +0 -56
  191. data/node_modules/glob/dist/esm/index.js.map +0 -1
  192. data/node_modules/glob/dist/esm/package.json +0 -1
  193. data/node_modules/glob/dist/esm/pattern.d.ts +0 -77
  194. data/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
  195. data/node_modules/glob/dist/esm/pattern.js +0 -215
  196. data/node_modules/glob/dist/esm/pattern.js.map +0 -1
  197. data/node_modules/glob/dist/esm/processor.d.ts +0 -59
  198. data/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
  199. data/node_modules/glob/dist/esm/processor.js +0 -295
  200. data/node_modules/glob/dist/esm/processor.js.map +0 -1
  201. data/node_modules/glob/dist/esm/walker.d.ts +0 -96
  202. data/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
  203. data/node_modules/glob/dist/esm/walker.js +0 -352
  204. data/node_modules/glob/dist/esm/walker.js.map +0 -1
  205. data/node_modules/glob/node_modules/minimatch/LICENSE +0 -15
  206. data/node_modules/glob/node_modules/minimatch/README.md +0 -454
  207. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
  208. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
  209. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  210. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  211. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
  212. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
  213. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.js +0 -589
  214. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  215. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
  216. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
  217. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
  218. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  219. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
  220. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  221. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.js +0 -22
  222. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
  223. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
  224. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  225. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.js +0 -1011
  226. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  227. data/node_modules/glob/node_modules/minimatch/dist/cjs/package.json +0 -3
  228. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
  229. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
  230. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.js +0 -24
  231. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
  232. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
  233. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
  234. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
  235. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  236. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
  237. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
  238. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.js +0 -585
  239. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  240. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
  241. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
  242. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
  243. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  244. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
  245. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  246. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.js +0 -18
  247. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
  248. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
  249. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  250. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.js +0 -995
  251. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  252. data/node_modules/glob/node_modules/minimatch/dist/mjs/package.json +0 -3
  253. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
  254. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
  255. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js +0 -20
  256. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
  257. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  258. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -135
  259. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -203
  260. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -46
  261. data/node_modules/glob/node_modules/minimatch/package.json +0 -86
  262. data/node_modules/glob/node_modules/minipass/LICENSE +0 -15
  263. data/node_modules/glob/node_modules/minipass/README.md +0 -825
  264. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.d.ts +0 -549
  265. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
  266. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.js +0 -1028
  267. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.js.map +0 -1
  268. data/node_modules/glob/node_modules/minipass/dist/commonjs/package.json +0 -1
  269. data/node_modules/glob/node_modules/minipass/dist/esm/index.d.ts +0 -549
  270. data/node_modules/glob/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
  271. data/node_modules/glob/node_modules/minipass/dist/esm/index.js +0 -1018
  272. data/node_modules/glob/node_modules/minipass/dist/esm/index.js.map +0 -1
  273. data/node_modules/glob/node_modules/minipass/dist/esm/package.json +0 -1
  274. data/node_modules/glob/node_modules/minipass/package.json +0 -82
  275. data/node_modules/jscodeshift/node_modules/chalk/index.d.ts +0 -415
  276. data/node_modules/jscodeshift/node_modules/chalk/license +0 -9
  277. data/node_modules/jscodeshift/node_modules/chalk/package.json +0 -68
  278. data/node_modules/jscodeshift/node_modules/chalk/readme.md +0 -341
  279. data/node_modules/jscodeshift/node_modules/chalk/source/index.js +0 -229
  280. data/node_modules/jscodeshift/node_modules/chalk/source/templates.js +0 -134
  281. data/node_modules/jscodeshift/node_modules/chalk/source/util.js +0 -39
  282. data/node_modules/jscodeshift/website/index.htm +0 -9
  283. data/node_modules/lru-cache/index.d.ts +0 -869
  284. data/node_modules/lru-cache/index.mjs +0 -1227
  285. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
  286. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
  287. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  288. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  289. data/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
  290. data/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
  291. data/node_modules/minimatch/dist/cjs/ast.js +0 -589
  292. data/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  293. data/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
  294. data/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
  295. data/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
  296. data/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  297. data/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
  298. data/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  299. data/node_modules/minimatch/dist/cjs/escape.js +0 -22
  300. data/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
  301. data/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
  302. data/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  303. data/node_modules/minimatch/dist/cjs/index.js +0 -1011
  304. data/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  305. data/node_modules/minimatch/dist/cjs/package.json +0 -3
  306. data/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
  307. data/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
  308. data/node_modules/minimatch/dist/cjs/unescape.js +0 -24
  309. data/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
  310. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
  311. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
  312. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
  313. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  314. data/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
  315. data/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
  316. data/node_modules/minimatch/dist/mjs/ast.js +0 -585
  317. data/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  318. data/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
  319. data/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
  320. data/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
  321. data/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  322. data/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
  323. data/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  324. data/node_modules/minimatch/dist/mjs/escape.js +0 -18
  325. data/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
  326. data/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
  327. data/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  328. data/node_modules/minimatch/dist/mjs/index.js +0 -995
  329. data/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  330. data/node_modules/minimatch/dist/mjs/package.json +0 -3
  331. data/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
  332. data/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
  333. data/node_modules/minimatch/dist/mjs/unescape.js +0 -20
  334. data/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
  335. data/node_modules/npm-check-updates/build/index-5sFb3Tvv.js +0 -66
  336. data/node_modules/npm-check-updates/build/index-5sFb3Tvv.js.map +0 -1
  337. data/node_modules/npm-check-updates/build/package.json +0 -183
  338. data/node_modules/npm-check-updates/build/src/bin/cli.d.ts +0 -2
  339. data/node_modules/npm-check-updates/build/src/bin/cli.js +0 -182
  340. data/node_modules/npm-check-updates/build/src/bin/cli.js.map +0 -1
  341. data/node_modules/npm-check-updates/build/src/cli-options.d.ts +0 -9
  342. data/node_modules/npm-check-updates/build/src/cli-options.js +0 -795
  343. data/node_modules/npm-check-updates/build/src/cli-options.js.map +0 -1
  344. data/node_modules/npm-check-updates/build/src/index.d.ts +0 -17
  345. data/node_modules/npm-check-updates/build/src/index.js +0 -316
  346. data/node_modules/npm-check-updates/build/src/index.js.map +0 -1
  347. data/node_modules/npm-check-updates/build/src/lib/cache.d.ts +0 -17
  348. data/node_modules/npm-check-updates/build/src/lib/cache.js +0 -105
  349. data/node_modules/npm-check-updates/build/src/lib/cache.js.map +0 -1
  350. data/node_modules/npm-check-updates/build/src/lib/chalk.d.ts +0 -7
  351. data/node_modules/npm-check-updates/build/src/lib/chalk.js +0 -66
  352. data/node_modules/npm-check-updates/build/src/lib/chalk.js.map +0 -1
  353. data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.d.ts +0 -8
  354. data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.js +0 -32
  355. data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.js.map +0 -1
  356. data/node_modules/npm-check-updates/build/src/lib/doctor.d.ts +0 -8
  357. data/node_modules/npm-check-updates/build/src/lib/doctor.js +0 -290
  358. data/node_modules/npm-check-updates/build/src/lib/doctor.js.map +0 -1
  359. data/node_modules/npm-check-updates/build/src/lib/exists.d.ts +0 -3
  360. data/node_modules/npm-check-updates/build/src/lib/exists.js +0 -10
  361. data/node_modules/npm-check-updates/build/src/lib/exists.js.map +0 -1
  362. data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.d.ts +0 -2
  363. data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.js +0 -112
  364. data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.js.map +0 -1
  365. data/node_modules/npm-check-updates/build/src/lib/filterAndReject.d.ts +0 -12
  366. data/node_modules/npm-check-updates/build/src/lib/filterAndReject.js +0 -80
  367. data/node_modules/npm-check-updates/build/src/lib/filterAndReject.js.map +0 -1
  368. data/node_modules/npm-check-updates/build/src/lib/filterObject.d.ts +0 -4
  369. data/node_modules/npm-check-updates/build/src/lib/filterObject.js +0 -10
  370. data/node_modules/npm-check-updates/build/src/lib/filterObject.js.map +0 -1
  371. data/node_modules/npm-check-updates/build/src/lib/findLockfile.d.ts +0 -12
  372. data/node_modules/npm-check-updates/build/src/lib/findLockfile.js +0 -54
  373. data/node_modules/npm-check-updates/build/src/lib/findLockfile.js.map +0 -1
  374. data/node_modules/npm-check-updates/build/src/lib/findPackage.d.ts +0 -16
  375. data/node_modules/npm-check-updates/build/src/lib/findPackage.js +0 -78
  376. data/node_modules/npm-check-updates/build/src/lib/findPackage.js.map +0 -1
  377. data/node_modules/npm-check-updates/build/src/lib/getAllPackages.d.ts +0 -10
  378. data/node_modules/npm-check-updates/build/src/lib/getAllPackages.js +0 -126
  379. data/node_modules/npm-check-updates/build/src/lib/getAllPackages.js.map +0 -1
  380. data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.d.ts +0 -15
  381. data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.js +0 -76
  382. data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.js.map +0 -1
  383. data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.d.ts +0 -8
  384. data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.js +0 -37
  385. data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.js.map +0 -1
  386. data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.d.ts +0 -12
  387. data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.js +0 -35
  388. data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.js.map +0 -1
  389. data/node_modules/npm-check-updates/build/src/lib/getNcuRc.d.ts +0 -22
  390. data/node_modules/npm-check-updates/build/src/lib/getNcuRc.js +0 -60
  391. data/node_modules/npm-check-updates/build/src/lib/getNcuRc.js.map +0 -1
  392. data/node_modules/npm-check-updates/build/src/lib/getPackageManager.d.ts +0 -13
  393. data/node_modules/npm-check-updates/build/src/lib/getPackageManager.js +0 -30
  394. data/node_modules/npm-check-updates/build/src/lib/getPackageManager.js.map +0 -1
  395. data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.d.ts +0 -6
  396. data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.js +0 -31
  397. data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.js.map +0 -1
  398. data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.d.ts +0 -12
  399. data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.js +0 -35
  400. data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.js.map +0 -1
  401. data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.d.ts +0 -10
  402. data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.js +0 -30
  403. data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.js.map +0 -1
  404. data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.d.ts +0 -11
  405. data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.js +0 -81
  406. data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.js.map +0 -1
  407. data/node_modules/npm-check-updates/build/src/lib/initOptions.d.ts +0 -7
  408. data/node_modules/npm-check-updates/build/src/lib/initOptions.js +0 -207
  409. data/node_modules/npm-check-updates/build/src/lib/initOptions.js.map +0 -1
  410. data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.d.ts +0 -14
  411. data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.js +0 -68
  412. data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.js.map +0 -1
  413. data/node_modules/npm-check-updates/build/src/lib/keyValueBy.d.ts +0 -6
  414. data/node_modules/npm-check-updates/build/src/lib/keyValueBy.js +0 -23
  415. data/node_modules/npm-check-updates/build/src/lib/keyValueBy.js.map +0 -1
  416. data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.d.ts +0 -3
  417. data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.js +0 -108
  418. data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.js.map +0 -1
  419. data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.d.ts +0 -5
  420. data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.js +0 -27
  421. data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.js.map +0 -1
  422. data/node_modules/npm-check-updates/build/src/lib/logging.d.ts +0 -77
  423. data/node_modules/npm-check-updates/build/src/lib/logging.js +0 -287
  424. data/node_modules/npm-check-updates/build/src/lib/logging.js.map +0 -1
  425. data/node_modules/npm-check-updates/build/src/lib/mergeOptions.d.ts +0 -69
  426. data/node_modules/npm-check-updates/build/src/lib/mergeOptions.js +0 -23
  427. data/node_modules/npm-check-updates/build/src/lib/mergeOptions.js.map +0 -1
  428. data/node_modules/npm-check-updates/build/src/lib/programError.d.ts +0 -6
  429. data/node_modules/npm-check-updates/build/src/lib/programError.js +0 -19
  430. data/node_modules/npm-check-updates/build/src/lib/programError.js.map +0 -1
  431. data/node_modules/npm-check-updates/build/src/lib/queryVersions.d.ts +0 -13
  432. data/node_modules/npm-check-updates/build/src/lib/queryVersions.js +0 -118
  433. data/node_modules/npm-check-updates/build/src/lib/queryVersions.js.map +0 -1
  434. data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.d.ts +0 -4
  435. data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.js +0 -20
  436. data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.js.map +0 -1
  437. data/node_modules/npm-check-updates/build/src/lib/runGlobal.d.ts +0 -5
  438. data/node_modules/npm-check-updates/build/src/lib/runGlobal.js +0 -76
  439. data/node_modules/npm-check-updates/build/src/lib/runGlobal.js.map +0 -1
  440. data/node_modules/npm-check-updates/build/src/lib/runLocal.d.ts +0 -18
  441. data/node_modules/npm-check-updates/build/src/lib/runLocal.js +0 -239
  442. data/node_modules/npm-check-updates/build/src/lib/runLocal.js.map +0 -1
  443. data/node_modules/npm-check-updates/build/src/lib/table.d.ts +0 -7
  444. data/node_modules/npm-check-updates/build/src/lib/table.js +0 -27
  445. data/node_modules/npm-check-updates/build/src/lib/table.js.map +0 -1
  446. data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.d.ts +0 -14
  447. data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.js +0 -103
  448. data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.js.map +0 -1
  449. data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.d.ts +0 -14
  450. data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.js +0 -50
  451. data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.js.map +0 -1
  452. data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.d.ts +0 -13
  453. data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.js +0 -58
  454. data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.js.map +0 -1
  455. data/node_modules/npm-check-updates/build/src/lib/version-util.d.ts +0 -180
  456. data/node_modules/npm-check-updates/build/src/lib/version-util.js +0 -518
  457. data/node_modules/npm-check-updates/build/src/lib/version-util.js.map +0 -1
  458. data/node_modules/npm-check-updates/build/src/lib/wrap.d.ts +0 -3
  459. data/node_modules/npm-check-updates/build/src/lib/wrap.js +0 -45
  460. data/node_modules/npm-check-updates/build/src/lib/wrap.js.map +0 -1
  461. data/node_modules/npm-check-updates/build/src/package-managers/bun.d.ts +0 -18
  462. data/node_modules/npm-check-updates/build/src/package-managers/bun.js +0 -89
  463. data/node_modules/npm-check-updates/build/src/package-managers/bun.js.map +0 -1
  464. data/node_modules/npm-check-updates/build/src/package-managers/filters.d.ts +0 -35
  465. data/node_modules/npm-check-updates/build/src/package-managers/filters.js +0 -96
  466. data/node_modules/npm-check-updates/build/src/package-managers/filters.js.map +0 -1
  467. data/node_modules/npm-check-updates/build/src/package-managers/gitTags.d.ts +0 -16
  468. data/node_modules/npm-check-updates/build/src/package-managers/gitTags.js +0 -112
  469. data/node_modules/npm-check-updates/build/src/package-managers/gitTags.js.map +0 -1
  470. data/node_modules/npm-check-updates/build/src/package-managers/index.d.ts +0 -4
  471. data/node_modules/npm-check-updates/build/src/package-managers/index.js +0 -40
  472. data/node_modules/npm-check-updates/build/src/package-managers/index.js.map +0 -1
  473. data/node_modules/npm-check-updates/build/src/package-managers/npm.d.ts +0 -147
  474. data/node_modules/npm-check-updates/build/src/package-managers/npm.js +0 -688
  475. data/node_modules/npm-check-updates/build/src/package-managers/npm.js.map +0 -1
  476. data/node_modules/npm-check-updates/build/src/package-managers/pnpm.d.ts +0 -25
  477. data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js +0 -103
  478. data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js.map +0 -1
  479. data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.d.ts +0 -10
  480. data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.js +0 -52
  481. data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.js.map +0 -1
  482. data/node_modules/npm-check-updates/build/src/package-managers/yarn.d.ts +0 -60
  483. data/node_modules/npm-check-updates/build/src/package-managers/yarn.js +0 -248
  484. data/node_modules/npm-check-updates/build/src/package-managers/yarn.js.map +0 -1
  485. data/node_modules/npm-check-updates/build/src/scripts/build-options.d.ts +0 -1
  486. data/node_modules/npm-check-updates/build/src/scripts/build-options.js +0 -121
  487. data/node_modules/npm-check-updates/build/src/scripts/build-options.js.map +0 -1
  488. data/node_modules/npm-check-updates/build/src/types/CLIOption.d.ts +0 -16
  489. data/node_modules/npm-check-updates/build/src/types/CLIOption.js +0 -3
  490. data/node_modules/npm-check-updates/build/src/types/CLIOption.js.map +0 -1
  491. data/node_modules/npm-check-updates/build/src/types/Cacher.d.ts +0 -10
  492. data/node_modules/npm-check-updates/build/src/types/Cacher.js +0 -3
  493. data/node_modules/npm-check-updates/build/src/types/Cacher.js.map +0 -1
  494. data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.d.ts +0 -5
  495. data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.js +0 -3
  496. data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.js.map +0 -1
  497. data/node_modules/npm-check-updates/build/src/types/FilterFunction.d.ts +0 -3
  498. data/node_modules/npm-check-updates/build/src/types/FilterFunction.js +0 -3
  499. data/node_modules/npm-check-updates/build/src/types/FilterFunction.js.map +0 -1
  500. data/node_modules/npm-check-updates/build/src/types/FilterPattern.d.ts +0 -3
  501. data/node_modules/npm-check-updates/build/src/types/FilterPattern.js +0 -3
  502. data/node_modules/npm-check-updates/build/src/types/FilterPattern.js.map +0 -1
  503. data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.d.ts +0 -9
  504. data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.js +0 -3
  505. data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.js.map +0 -1
  506. data/node_modules/npm-check-updates/build/src/types/GetVersion.d.ts +0 -6
  507. data/node_modules/npm-check-updates/build/src/types/GetVersion.js +0 -3
  508. data/node_modules/npm-check-updates/build/src/types/GetVersion.js.map +0 -1
  509. data/node_modules/npm-check-updates/build/src/types/GroupFunction.d.ts +0 -4
  510. data/node_modules/npm-check-updates/build/src/types/GroupFunction.js +0 -3
  511. data/node_modules/npm-check-updates/build/src/types/GroupFunction.js.map +0 -1
  512. data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.d.ts +0 -8
  513. data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.js +0 -3
  514. data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.js.map +0 -1
  515. data/node_modules/npm-check-updates/build/src/types/IndexType.d.ts +0 -4
  516. data/node_modules/npm-check-updates/build/src/types/IndexType.js +0 -4
  517. data/node_modules/npm-check-updates/build/src/types/IndexType.js.map +0 -1
  518. data/node_modules/npm-check-updates/build/src/types/Maybe.d.ts +0 -2
  519. data/node_modules/npm-check-updates/build/src/types/Maybe.js +0 -3
  520. data/node_modules/npm-check-updates/build/src/types/Maybe.js.map +0 -1
  521. data/node_modules/npm-check-updates/build/src/types/MockedVersions.d.ts +0 -5
  522. data/node_modules/npm-check-updates/build/src/types/MockedVersions.js +0 -3
  523. data/node_modules/npm-check-updates/build/src/types/MockedVersions.js.map +0 -1
  524. data/node_modules/npm-check-updates/build/src/types/NpmConfig.d.ts +0 -4
  525. data/node_modules/npm-check-updates/build/src/types/NpmConfig.js +0 -3
  526. data/node_modules/npm-check-updates/build/src/types/NpmConfig.js.map +0 -1
  527. data/node_modules/npm-check-updates/build/src/types/NpmOptions.d.ts +0 -6
  528. data/node_modules/npm-check-updates/build/src/types/NpmOptions.js +0 -3
  529. data/node_modules/npm-check-updates/build/src/types/NpmOptions.js.map +0 -1
  530. data/node_modules/npm-check-updates/build/src/types/Options.d.ts +0 -17
  531. data/node_modules/npm-check-updates/build/src/types/Options.js +0 -3
  532. data/node_modules/npm-check-updates/build/src/types/Options.js.map +0 -1
  533. data/node_modules/npm-check-updates/build/src/types/PackageFile.d.ts +0 -24
  534. data/node_modules/npm-check-updates/build/src/types/PackageFile.js +0 -3
  535. data/node_modules/npm-check-updates/build/src/types/PackageFile.js.map +0 -1
  536. data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.d.ts +0 -5
  537. data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.js +0 -3
  538. data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.js.map +0 -1
  539. data/node_modules/npm-check-updates/build/src/types/PackageInfo.d.ts +0 -8
  540. data/node_modules/npm-check-updates/build/src/types/PackageInfo.js +0 -3
  541. data/node_modules/npm-check-updates/build/src/types/PackageInfo.js.map +0 -1
  542. data/node_modules/npm-check-updates/build/src/types/PackageManager.d.ts +0 -18
  543. data/node_modules/npm-check-updates/build/src/types/PackageManager.js +0 -3
  544. data/node_modules/npm-check-updates/build/src/types/PackageManager.js.map +0 -1
  545. data/node_modules/npm-check-updates/build/src/types/PackageManagerName.d.ts +0 -2
  546. data/node_modules/npm-check-updates/build/src/types/PackageManagerName.js +0 -3
  547. data/node_modules/npm-check-updates/build/src/types/PackageManagerName.js.map +0 -1
  548. data/node_modules/npm-check-updates/build/src/types/Packument.d.ts +0 -13
  549. data/node_modules/npm-check-updates/build/src/types/Packument.js +0 -3
  550. data/node_modules/npm-check-updates/build/src/types/Packument.js.map +0 -1
  551. data/node_modules/npm-check-updates/build/src/types/RunOptions.d.ts +0 -137
  552. data/node_modules/npm-check-updates/build/src/types/RunOptions.js +0 -3
  553. data/node_modules/npm-check-updates/build/src/types/RunOptions.js.map +0 -1
  554. data/node_modules/npm-check-updates/build/src/types/SpawnOptions.d.ts +0 -6
  555. data/node_modules/npm-check-updates/build/src/types/SpawnOptions.js +0 -3
  556. data/node_modules/npm-check-updates/build/src/types/SpawnOptions.js.map +0 -1
  557. data/node_modules/npm-check-updates/build/src/types/StaticRegistry.d.ts +0 -4
  558. data/node_modules/npm-check-updates/build/src/types/StaticRegistry.js +0 -3
  559. data/node_modules/npm-check-updates/build/src/types/StaticRegistry.js.map +0 -1
  560. data/node_modules/npm-check-updates/build/src/types/Target.d.ts +0 -9
  561. data/node_modules/npm-check-updates/build/src/types/Target.js +0 -6
  562. data/node_modules/npm-check-updates/build/src/types/Target.js.map +0 -1
  563. data/node_modules/npm-check-updates/build/src/types/TargetFunction.d.ts +0 -3
  564. data/node_modules/npm-check-updates/build/src/types/TargetFunction.js +0 -3
  565. data/node_modules/npm-check-updates/build/src/types/TargetFunction.js.map +0 -1
  566. data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.d.ts +0 -1
  567. data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.js +0 -3
  568. data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.js.map +0 -1
  569. data/node_modules/npm-check-updates/build/src/types/Version.d.ts +0 -2
  570. data/node_modules/npm-check-updates/build/src/types/Version.js +0 -3
  571. data/node_modules/npm-check-updates/build/src/types/Version.js.map +0 -1
  572. data/node_modules/npm-check-updates/build/src/types/VersionLevel.d.ts +0 -2
  573. data/node_modules/npm-check-updates/build/src/types/VersionLevel.js +0 -3
  574. data/node_modules/npm-check-updates/build/src/types/VersionLevel.js.map +0 -1
  575. data/node_modules/npm-check-updates/build/src/types/VersionResult.d.ts +0 -7
  576. data/node_modules/npm-check-updates/build/src/types/VersionResult.js +0 -3
  577. data/node_modules/npm-check-updates/build/src/types/VersionResult.js.map +0 -1
  578. data/node_modules/npm-check-updates/build/src/types/VersionSpec.d.ts +0 -2
  579. data/node_modules/npm-check-updates/build/src/types/VersionSpec.js +0 -3
  580. data/node_modules/npm-check-updates/build/src/types/VersionSpec.js.map +0 -1
  581. data/node_modules/npm-check-updates/node_modules/chalk/license +0 -9
  582. data/node_modules/npm-check-updates/node_modules/chalk/package.json +0 -83
  583. data/node_modules/npm-check-updates/node_modules/chalk/readme.md +0 -325
  584. data/node_modules/npm-check-updates/node_modules/chalk/source/index.d.ts +0 -320
  585. data/node_modules/npm-check-updates/node_modules/chalk/source/index.js +0 -225
  586. data/node_modules/npm-check-updates/node_modules/chalk/source/utilities.js +0 -33
  587. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  588. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  589. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  590. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  591. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  592. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  593. data/node_modules/npm-check-updates/node_modules/minimatch/LICENSE +0 -15
  594. data/node_modules/npm-check-updates/node_modules/minimatch/README.md +0 -454
  595. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
  596. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
  597. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  598. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  599. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
  600. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
  601. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.js +0 -589
  602. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  603. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
  604. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
  605. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
  606. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  607. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
  608. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  609. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.js +0 -22
  610. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
  611. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
  612. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  613. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.js +0 -1011
  614. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  615. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/package.json +0 -3
  616. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
  617. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
  618. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.js +0 -24
  619. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
  620. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
  621. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
  622. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
  623. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  624. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
  625. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
  626. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.js +0 -585
  627. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  628. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
  629. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
  630. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
  631. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  632. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
  633. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  634. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.js +0 -18
  635. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
  636. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
  637. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  638. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.js +0 -995
  639. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  640. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/package.json +0 -3
  641. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
  642. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
  643. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.js +0 -20
  644. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
  645. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  646. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -135
  647. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -203
  648. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -46
  649. data/node_modules/npm-check-updates/node_modules/minimatch/package.json +0 -86
  650. data/node_modules/npm-check-updates/node_modules/strip-ansi/index.d.ts +0 -15
  651. data/node_modules/npm-check-updates/node_modules/strip-ansi/index.js +0 -14
  652. data/node_modules/npm-check-updates/node_modules/strip-ansi/license +0 -9
  653. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +0 -33
  654. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/index.js +0 -8
  655. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/license +0 -9
  656. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/package.json +0 -58
  657. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +0 -72
  658. data/node_modules/npm-check-updates/node_modules/strip-ansi/package.json +0 -57
  659. data/node_modules/npm-check-updates/node_modules/strip-ansi/readme.md +0 -41
  660. data/node_modules/rimraf/dist/commonjs/default-tmp.d.ts +0 -3
  661. data/node_modules/rimraf/dist/commonjs/default-tmp.d.ts.map +0 -1
  662. data/node_modules/rimraf/dist/commonjs/default-tmp.js +0 -61
  663. data/node_modules/rimraf/dist/commonjs/default-tmp.js.map +0 -1
  664. data/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts +0 -3
  665. data/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts.map +0 -1
  666. data/node_modules/rimraf/dist/commonjs/fix-eperm.js +0 -58
  667. data/node_modules/rimraf/dist/commonjs/fix-eperm.js.map +0 -1
  668. data/node_modules/rimraf/dist/commonjs/fs.d.ts +0 -17
  669. data/node_modules/rimraf/dist/commonjs/fs.d.ts.map +0 -1
  670. data/node_modules/rimraf/dist/commonjs/fs.js +0 -46
  671. data/node_modules/rimraf/dist/commonjs/fs.js.map +0 -1
  672. data/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts +0 -3
  673. data/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts.map +0 -1
  674. data/node_modules/rimraf/dist/commonjs/ignore-enoent.js +0 -21
  675. data/node_modules/rimraf/dist/commonjs/ignore-enoent.js.map +0 -1
  676. data/node_modules/rimraf/dist/commonjs/index.d.ts +0 -50
  677. data/node_modules/rimraf/dist/commonjs/index.d.ts.map +0 -1
  678. data/node_modules/rimraf/dist/commonjs/index.js +0 -76
  679. data/node_modules/rimraf/dist/commonjs/index.js.map +0 -1
  680. data/node_modules/rimraf/dist/commonjs/opt-arg.d.ts +0 -35
  681. data/node_modules/rimraf/dist/commonjs/opt-arg.d.ts.map +0 -1
  682. data/node_modules/rimraf/dist/commonjs/opt-arg.js +0 -53
  683. data/node_modules/rimraf/dist/commonjs/opt-arg.js.map +0 -1
  684. data/node_modules/rimraf/dist/commonjs/package.json +0 -1
  685. data/node_modules/rimraf/dist/commonjs/path-arg.d.ts +0 -4
  686. data/node_modules/rimraf/dist/commonjs/path-arg.d.ts.map +0 -1
  687. data/node_modules/rimraf/dist/commonjs/path-arg.js +0 -54
  688. data/node_modules/rimraf/dist/commonjs/path-arg.js.map +0 -1
  689. data/node_modules/rimraf/dist/commonjs/platform.d.ts +0 -3
  690. data/node_modules/rimraf/dist/commonjs/platform.d.ts.map +0 -1
  691. data/node_modules/rimraf/dist/commonjs/platform.js +0 -4
  692. data/node_modules/rimraf/dist/commonjs/platform.js.map +0 -1
  693. data/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts +0 -5
  694. data/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts.map +0 -1
  695. data/node_modules/rimraf/dist/commonjs/readdir-or-error.js +0 -19
  696. data/node_modules/rimraf/dist/commonjs/readdir-or-error.js.map +0 -1
  697. data/node_modules/rimraf/dist/commonjs/retry-busy.d.ts +0 -8
  698. data/node_modules/rimraf/dist/commonjs/retry-busy.d.ts.map +0 -1
  699. data/node_modules/rimraf/dist/commonjs/retry-busy.js +0 -68
  700. data/node_modules/rimraf/dist/commonjs/retry-busy.js.map +0 -1
  701. data/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts +0 -3
  702. data/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts.map +0 -1
  703. data/node_modules/rimraf/dist/commonjs/rimraf-manual.js +0 -12
  704. data/node_modules/rimraf/dist/commonjs/rimraf-manual.js.map +0 -1
  705. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts +0 -4
  706. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts.map +0 -1
  707. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js +0 -192
  708. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js.map +0 -1
  709. data/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts +0 -4
  710. data/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts.map +0 -1
  711. data/node_modules/rimraf/dist/commonjs/rimraf-native.js +0 -24
  712. data/node_modules/rimraf/dist/commonjs/rimraf-native.js.map +0 -1
  713. data/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts +0 -4
  714. data/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts.map +0 -1
  715. data/node_modules/rimraf/dist/commonjs/rimraf-posix.js +0 -123
  716. data/node_modules/rimraf/dist/commonjs/rimraf-posix.js.map +0 -1
  717. data/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts +0 -4
  718. data/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts.map +0 -1
  719. data/node_modules/rimraf/dist/commonjs/rimraf-windows.js +0 -182
  720. data/node_modules/rimraf/dist/commonjs/rimraf-windows.js.map +0 -1
  721. data/node_modules/rimraf/dist/commonjs/use-native.d.ts +0 -4
  722. data/node_modules/rimraf/dist/commonjs/use-native.d.ts.map +0 -1
  723. data/node_modules/rimraf/dist/commonjs/use-native.js +0 -22
  724. data/node_modules/rimraf/dist/commonjs/use-native.js.map +0 -1
  725. data/node_modules/rimraf/dist/esm/bin.d.mts +0 -8
  726. data/node_modules/rimraf/dist/esm/bin.d.mts.map +0 -1
  727. data/node_modules/rimraf/dist/esm/bin.mjs +0 -256
  728. data/node_modules/rimraf/dist/esm/bin.mjs.map +0 -1
  729. data/node_modules/rimraf/dist/esm/default-tmp.d.ts +0 -3
  730. data/node_modules/rimraf/dist/esm/default-tmp.d.ts.map +0 -1
  731. data/node_modules/rimraf/dist/esm/default-tmp.js +0 -55
  732. data/node_modules/rimraf/dist/esm/default-tmp.js.map +0 -1
  733. data/node_modules/rimraf/dist/esm/fix-eperm.d.ts +0 -3
  734. data/node_modules/rimraf/dist/esm/fix-eperm.d.ts.map +0 -1
  735. data/node_modules/rimraf/dist/esm/fix-eperm.js +0 -53
  736. data/node_modules/rimraf/dist/esm/fix-eperm.js.map +0 -1
  737. data/node_modules/rimraf/dist/esm/fs.d.ts +0 -17
  738. data/node_modules/rimraf/dist/esm/fs.d.ts.map +0 -1
  739. data/node_modules/rimraf/dist/esm/fs.js +0 -31
  740. data/node_modules/rimraf/dist/esm/fs.js.map +0 -1
  741. data/node_modules/rimraf/dist/esm/ignore-enoent.d.ts +0 -3
  742. data/node_modules/rimraf/dist/esm/ignore-enoent.d.ts.map +0 -1
  743. data/node_modules/rimraf/dist/esm/ignore-enoent.js +0 -16
  744. data/node_modules/rimraf/dist/esm/ignore-enoent.js.map +0 -1
  745. data/node_modules/rimraf/dist/esm/index.d.ts +0 -50
  746. data/node_modules/rimraf/dist/esm/index.d.ts.map +0 -1
  747. data/node_modules/rimraf/dist/esm/index.js +0 -68
  748. data/node_modules/rimraf/dist/esm/index.js.map +0 -1
  749. data/node_modules/rimraf/dist/esm/opt-arg.d.ts +0 -35
  750. data/node_modules/rimraf/dist/esm/opt-arg.d.ts.map +0 -1
  751. data/node_modules/rimraf/dist/esm/opt-arg.js +0 -46
  752. data/node_modules/rimraf/dist/esm/opt-arg.js.map +0 -1
  753. data/node_modules/rimraf/dist/esm/package.json +0 -1
  754. data/node_modules/rimraf/dist/esm/path-arg.d.ts +0 -4
  755. data/node_modules/rimraf/dist/esm/path-arg.d.ts.map +0 -1
  756. data/node_modules/rimraf/dist/esm/path-arg.js +0 -49
  757. data/node_modules/rimraf/dist/esm/path-arg.js.map +0 -1
  758. data/node_modules/rimraf/dist/esm/platform.d.ts +0 -3
  759. data/node_modules/rimraf/dist/esm/platform.d.ts.map +0 -1
  760. data/node_modules/rimraf/dist/esm/platform.js +0 -2
  761. data/node_modules/rimraf/dist/esm/platform.js.map +0 -1
  762. data/node_modules/rimraf/dist/esm/readdir-or-error.d.ts +0 -5
  763. data/node_modules/rimraf/dist/esm/readdir-or-error.d.ts.map +0 -1
  764. data/node_modules/rimraf/dist/esm/readdir-or-error.js +0 -14
  765. data/node_modules/rimraf/dist/esm/readdir-or-error.js.map +0 -1
  766. data/node_modules/rimraf/dist/esm/retry-busy.d.ts +0 -8
  767. data/node_modules/rimraf/dist/esm/retry-busy.d.ts.map +0 -1
  768. data/node_modules/rimraf/dist/esm/retry-busy.js +0 -63
  769. data/node_modules/rimraf/dist/esm/retry-busy.js.map +0 -1
  770. data/node_modules/rimraf/dist/esm/rimraf-manual.d.ts +0 -3
  771. data/node_modules/rimraf/dist/esm/rimraf-manual.d.ts.map +0 -1
  772. data/node_modules/rimraf/dist/esm/rimraf-manual.js +0 -6
  773. data/node_modules/rimraf/dist/esm/rimraf-manual.js.map +0 -1
  774. data/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts +0 -4
  775. data/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts.map +0 -1
  776. data/node_modules/rimraf/dist/esm/rimraf-move-remove.js +0 -187
  777. data/node_modules/rimraf/dist/esm/rimraf-move-remove.js.map +0 -1
  778. data/node_modules/rimraf/dist/esm/rimraf-native.d.ts +0 -4
  779. data/node_modules/rimraf/dist/esm/rimraf-native.d.ts.map +0 -1
  780. data/node_modules/rimraf/dist/esm/rimraf-native.js +0 -19
  781. data/node_modules/rimraf/dist/esm/rimraf-native.js.map +0 -1
  782. data/node_modules/rimraf/dist/esm/rimraf-posix.d.ts +0 -4
  783. data/node_modules/rimraf/dist/esm/rimraf-posix.d.ts.map +0 -1
  784. data/node_modules/rimraf/dist/esm/rimraf-posix.js +0 -118
  785. data/node_modules/rimraf/dist/esm/rimraf-posix.js.map +0 -1
  786. data/node_modules/rimraf/dist/esm/rimraf-windows.d.ts +0 -4
  787. data/node_modules/rimraf/dist/esm/rimraf-windows.d.ts.map +0 -1
  788. data/node_modules/rimraf/dist/esm/rimraf-windows.js +0 -177
  789. data/node_modules/rimraf/dist/esm/rimraf-windows.js.map +0 -1
  790. data/node_modules/rimraf/dist/esm/use-native.d.ts +0 -4
  791. data/node_modules/rimraf/dist/esm/use-native.d.ts.map +0 -1
  792. data/node_modules/rimraf/dist/esm/use-native.js +0 -16
  793. data/node_modules/rimraf/dist/esm/use-native.js.map +0 -1
  794. data/node_modules/semver/classes/comparator.js +0 -141
  795. data/node_modules/semver/classes/index.js +0 -5
  796. data/node_modules/semver/classes/range.js +0 -539
  797. data/node_modules/semver/classes/semver.js +0 -302
  798. data/node_modules/semver/functions/clean.js +0 -6
  799. data/node_modules/semver/functions/cmp.js +0 -52
  800. data/node_modules/semver/functions/coerce.js +0 -52
  801. data/node_modules/semver/functions/compare-build.js +0 -7
  802. data/node_modules/semver/functions/compare-loose.js +0 -3
  803. data/node_modules/semver/functions/compare.js +0 -5
  804. data/node_modules/semver/functions/diff.js +0 -65
  805. data/node_modules/semver/functions/eq.js +0 -3
  806. data/node_modules/semver/functions/gt.js +0 -3
  807. data/node_modules/semver/functions/gte.js +0 -3
  808. data/node_modules/semver/functions/inc.js +0 -19
  809. data/node_modules/semver/functions/lt.js +0 -3
  810. data/node_modules/semver/functions/lte.js +0 -3
  811. data/node_modules/semver/functions/major.js +0 -3
  812. data/node_modules/semver/functions/minor.js +0 -3
  813. data/node_modules/semver/functions/neq.js +0 -3
  814. data/node_modules/semver/functions/parse.js +0 -16
  815. data/node_modules/semver/functions/patch.js +0 -3
  816. data/node_modules/semver/functions/prerelease.js +0 -6
  817. data/node_modules/semver/functions/rcompare.js +0 -3
  818. data/node_modules/semver/functions/rsort.js +0 -3
  819. data/node_modules/semver/functions/satisfies.js +0 -10
  820. data/node_modules/semver/functions/sort.js +0 -3
  821. data/node_modules/semver/functions/valid.js +0 -6
  822. data/node_modules/semver/index.js +0 -89
  823. data/node_modules/semver/internal/constants.js +0 -35
  824. data/node_modules/semver/internal/debug.js +0 -9
  825. data/node_modules/semver/internal/identifiers.js +0 -23
  826. data/node_modules/semver/internal/parse-options.js +0 -15
  827. data/node_modules/semver/internal/re.js +0 -212
  828. data/node_modules/semver/node_modules/lru-cache/LICENSE +0 -15
  829. data/node_modules/semver/node_modules/lru-cache/README.md +0 -166
  830. data/node_modules/semver/node_modules/lru-cache/index.js +0 -334
  831. data/node_modules/semver/node_modules/lru-cache/package.json +0 -34
  832. data/node_modules/semver/preload.js +0 -2
  833. data/node_modules/semver/ranges/gtr.js +0 -4
  834. data/node_modules/semver/ranges/intersects.js +0 -7
  835. data/node_modules/semver/ranges/ltr.js +0 -4
  836. data/node_modules/semver/ranges/max-satisfying.js +0 -25
  837. data/node_modules/semver/ranges/min-satisfying.js +0 -24
  838. data/node_modules/semver/ranges/min-version.js +0 -61
  839. data/node_modules/semver/ranges/outside.js +0 -80
  840. data/node_modules/semver/ranges/simplify.js +0 -47
  841. data/node_modules/semver/ranges/subset.js +0 -247
  842. data/node_modules/semver/ranges/to-comparators.js +0 -8
  843. data/node_modules/semver/ranges/valid.js +0 -11
  844. /data/node_modules/{eslint/node_modules/chalk → chalk}/index.d.ts +0 -0
  845. /data/node_modules/{eslint/node_modules/chalk → chalk}/source/templates.js +0 -0
  846. /data/node_modules/{eslint/node_modules/chalk → chalk}/source/util.js +0 -0
  847. /data/node_modules/{@eslint/config-array/node_modules/minimatch → minimatch}/minimatch.js +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"rimraf-move-remove.js","sourceRoot":"","sources":["../../src/rimraf-move-remove.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,EAAE;AACF,aAAa;AACb,oBAAoB;AACpB,yCAAyC;AACzC,uEAAuE;AACvE,0BAA0B;AAC1B,EAAE;AACF,uEAAuE;AACvE,kDAAkD;AAClD,EAAE;AACF,0EAA0E;AAE1E,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAC/C,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAE7D,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAEnE,OAAO,EACL,SAAS,EACT,SAAS,EACT,QAAQ,IAAI,UAAU,EACtB,UAAU,EACV,SAAS,EACT,UAAU,GACX,MAAM,SAAS,CAAA;AAChB,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,UAAU,CAAA;AAI1D,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE1E,sEAAsE;AACtE,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,IAAI,QAAQ,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,MAAM,EAAE,EAAE,CAAA;AAE9E,MAAM,cAAc,GAAG,KAAK,EAAE,IAAY,EAAE,EAAE,CAC5C,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,EAA6B,EAAE,EAAE;IACnD,IAAI,EAAE,CAAC,IAAI,KAAK,OAAO,EAAE;QACvB,OAAO,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,IAAI,CAC5B,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,EAClB,GAAG,CAAC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=537\n//\n// 1. readdir\n// 2. for each entry\n// a. if a non-empty directory, recurse\n// b. if an empty directory, move to random hidden file name in $TEMP\n// c. unlink/rmdir $TEMP\n//\n// This works around the fact that unlink/rmdir is non-atomic and takes\n// a non-deterministic amount of time to complete.\n//\n// However, it is HELLA SLOW, like 2-10x slower than a naive recursive rm.\n\nimport { basename, parse, resolve } from 'path'\nimport { defaultTmp, defaultTmpSync } from './default-tmp.js'\n\nimport { ignoreENOENT, ignoreENOENTSync } from './ignore-enoent.js'\n\nimport {\n chmodSync,\n lstatSync,\n promises as fsPromises,\n renameSync,\n rmdirSync,\n unlinkSync,\n} from './fs.js'\nconst { lstat, rename, unlink, rmdir, chmod } = fsPromises\n\nimport { Dirent, Stats } from 'fs'\nimport { RimrafAsyncOptions, RimrafSyncOptions } from './index.js'\nimport { readdirOrError, readdirOrErrorSync } from './readdir-or-error.js'\n\n// crypto.randomBytes is much slower, and Math.random() is enough here\nconst uniqueFilename = (path: string) => `.${basename(path)}.${Math.random()}`\n\nconst unlinkFixEPERM = async (path: string) =>\n unlink(path).catch((er: Error & { code?: string }) => {\n if (er.code === 'EPERM') {\n return chmod(path, 0o666).then(\n () => unlink(path),\n er2 => {\n if (er2.code === 'ENOENT') {\n return\n }\n throw er\n }\n )\n } else if (er.code === 'ENOENT') {\n return\n }\n throw er\n })\n\nconst unlinkFixEPERMSync = (path: string) => {\n try {\n unlinkSync(path)\n } catch (er) {\n if ((er as NodeJS.ErrnoException)?.code === 'EPERM') {\n try {\n return chmodSync(path, 0o666)\n } catch (er2) {\n if ((er2 as NodeJS.ErrnoException)?.code === 'ENOENT') {\n return\n }\n throw er\n }\n } else if ((er as NodeJS.ErrnoException)?.code === 'ENOENT') {\n return\n }\n throw er\n }\n}\n\nexport const rimrafMoveRemove = async (\n path: string,\n opt: RimrafAsyncOptions\n) => {\n if (opt?.signal?.aborted) {\n throw opt.signal.reason\n }\n try {\n return await rimrafMoveRemoveDir(path, opt, await lstat(path))\n } catch (er) {\n if ((er as NodeJS.ErrnoException)?.code === 'ENOENT') return true\n throw er\n }\n}\n\nconst rimrafMoveRemoveDir = async (\n path: string,\n opt: RimrafAsyncOptions,\n ent: Dirent | Stats\n): Promise<boolean> => {\n if (opt?.signal?.aborted) {\n throw opt.signal.reason\n }\n if (!opt.tmp) {\n return rimrafMoveRemoveDir(\n path,\n { ...opt, tmp: await defaultTmp(path) },\n ent\n )\n }\n if (path === opt.tmp && parse(path).root !== path) {\n throw new Error('cannot delete temp directory used for deletion')\n }\n\n const entries = ent.isDirectory() ? await readdirOrError(path) : null\n if (!Array.isArray(entries)) {\n // this can only happen if lstat/readdir lied, or if the dir was\n // swapped out with a file at just the right moment.\n /* c8 ignore start */\n if (entries) {\n if (entries.code === 'ENOENT') {\n return true\n }\n if (entries.code !== 'ENOTDIR') {\n throw entries\n }\n }\n /* c8 ignore stop */\n if (opt.filter && !(await opt.filter(path, ent))) {\n return false\n }\n await ignoreENOENT(tmpUnlink(path, opt.tmp, unlinkFixEPERM))\n return true\n }\n\n const removedAll = (\n await Promise.all(\n entries.map(ent => rimrafMoveRemoveDir(resolve(path, ent.name), opt, ent))\n )\n ).reduce((a, b) => a && b, true)\n if (!removedAll) {\n return false\n }\n\n // we don't ever ACTUALLY try to unlink /, because that can never work\n // but when preserveRoot is false, we could be operating on it.\n // No need to check if preserveRoot is not false.\n if (opt.preserveRoot === false && path === parse(path).root) {\n return false\n }\n if (opt.filter && !(await opt.filter(path, ent))) {\n return false\n }\n await ignoreENOENT(tmpUnlink(path, opt.tmp, rmdir))\n return true\n}\n\nconst tmpUnlink = async (\n path: string,\n tmp: string,\n rm: (p: string) => Promise<any>\n) => {\n const tmpFile = resolve(tmp, uniqueFilename(path))\n await rename(path, tmpFile)\n return await rm(tmpFile)\n}\n\nexport const rimrafMoveRemoveSync = (path: string, opt: RimrafSyncOptions) => {\n if (opt?.signal?.aborted) {\n throw opt.signal.reason\n }\n try {\n return rimrafMoveRemoveDirSync(path, opt, lstatSync(path))\n } catch (er) {\n if ((er as NodeJS.ErrnoException)?.code === 'ENOENT') return true\n throw er\n }\n}\n\nconst rimrafMoveRemoveDirSync = (\n path: string,\n opt: RimrafSyncOptions,\n ent: Dirent | Stats\n): boolean => {\n if (opt?.signal?.aborted) {\n throw opt.signal.reason\n }\n if (!opt.tmp) {\n return rimrafMoveRemoveDirSync(\n path,\n { ...opt, tmp: defaultTmpSync(path) },\n ent\n )\n }\n const tmp: string = opt.tmp\n\n if (path === opt.tmp && parse(path).root !== path) {\n throw new Error('cannot delete temp directory used for deletion')\n }\n\n const entries = ent.isDirectory() ? readdirOrErrorSync(path) : null\n if (!Array.isArray(entries)) {\n // this can only happen if lstat/readdir lied, or if the dir was\n // swapped out with a file at just the right moment.\n /* c8 ignore start */\n if (entries) {\n if (entries.code === 'ENOENT') {\n return true\n }\n if (entries.code !== 'ENOTDIR') {\n throw entries\n }\n }\n /* c8 ignore stop */\n if (opt.filter && !opt.filter(path, ent)) {\n return false\n }\n ignoreENOENTSync(() => tmpUnlinkSync(path, tmp, unlinkFixEPERMSync))\n return true\n }\n\n let removedAll = true\n for (const ent of entries) {\n const p = resolve(path, ent.name)\n removedAll = rimrafMoveRemoveDirSync(p, opt, ent) && removedAll\n }\n if (!removedAll) {\n return false\n }\n if (opt.preserveRoot === false && path === parse(path).root) {\n return false\n }\n if (opt.filter && !opt.filter(path, ent)) {\n return false\n }\n ignoreENOENTSync(() => tmpUnlinkSync(path, tmp, rmdirSync))\n return true\n}\n\nconst tmpUnlinkSync = (\n path: string,\n tmp: string,\n rmSync: (p: string) => void\n) => {\n const tmpFile = resolve(tmp, uniqueFilename(path))\n renameSync(path, tmpFile)\n return rmSync(tmpFile)\n}\n"]}
@@ -1,4 +0,0 @@
1
- import { RimrafAsyncOptions, RimrafSyncOptions } from './index.js';
2
- export declare const rimrafNative: (path: string, opt: RimrafAsyncOptions) => Promise<boolean>;
3
- export declare const rimrafNativeSync: (path: string, opt: RimrafSyncOptions) => boolean;
4
- //# sourceMappingURL=rimraf-native.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rimraf-native.d.ts","sourceRoot":"","sources":["../../src/rimraf-native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAIlE,eAAO,MAAM,YAAY,SACjB,MAAM,OACP,kBAAkB,KACtB,QAAQ,OAAO,CAOjB,CAAA;AAED,eAAO,MAAM,gBAAgB,SACrB,MAAM,OACP,iBAAiB,KACrB,OAOF,CAAA"}
@@ -1,19 +0,0 @@
1
- import { promises, rmSync } from './fs.js';
2
- const { rm } = promises;
3
- export const rimrafNative = async (path, opt) => {
4
- await rm(path, {
5
- ...opt,
6
- force: true,
7
- recursive: true,
8
- });
9
- return true;
10
- };
11
- export const rimrafNativeSync = (path, opt) => {
12
- rmSync(path, {
13
- ...opt,
14
- force: true,
15
- recursive: true,
16
- });
17
- return true;
18
- };
19
- //# sourceMappingURL=rimraf-native.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rimraf-native.js","sourceRoot":"","sources":["../../src/rimraf-native.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAC1C,MAAM,EAAE,EAAE,EAAE,GAAG,QAAQ,CAAA;AAEvB,MAAM,CAAC,MAAM,YAAY,GAAG,KAAK,EAC/B,IAAY,EACZ,GAAuB,EACL,EAAE;IACpB,MAAM,EAAE,CAAC,IAAI,EAAE;QACb,GAAG,GAAG;QACN,KAAK,EAAE,IAAI;QACX,SAAS,EAAE,IAAI;KAChB,CAAC,CAAA;IACF,OAAO,IAAI,CAAA;AACb,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,IAAY,EACZ,GAAsB,EACb,EAAE;IACX,MAAM,CAAC,IAAI,EAAE;QACX,GAAG,GAAG;QACN,KAAK,EAAE,IAAI;QACX,SAAS,EAAE,IAAI;KAChB,CAAC,CAAA;IACF,OAAO,IAAI,CAAA;AACb,CAAC,CAAA","sourcesContent":["import { RimrafAsyncOptions, RimrafSyncOptions } from './index.js'\nimport { promises, rmSync } from './fs.js'\nconst { rm } = promises\n\nexport const rimrafNative = async (\n path: string,\n opt: RimrafAsyncOptions\n): Promise<boolean> => {\n await rm(path, {\n ...opt,\n force: true,\n recursive: true,\n })\n return true\n}\n\nexport const rimrafNativeSync = (\n path: string,\n opt: RimrafSyncOptions\n): boolean => {\n rmSync(path, {\n ...opt,\n force: true,\n recursive: true,\n })\n return true\n}\n"]}
@@ -1,4 +0,0 @@
1
- import { RimrafAsyncOptions, RimrafSyncOptions } from './index.js';
2
- export declare const rimrafPosix: (path: string, opt: RimrafAsyncOptions) => Promise<boolean>;
3
- export declare const rimrafPosixSync: (path: string, opt: RimrafSyncOptions) => boolean;
4
- //# sourceMappingURL=rimraf-posix.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rimraf-posix.d.ts","sourceRoot":"","sources":["../../src/rimraf-posix.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAGlE,eAAO,MAAM,WAAW,SAAgB,MAAM,OAAO,kBAAkB,qBAUtE,CAAA;AAED,eAAO,MAAM,eAAe,SAAU,MAAM,OAAO,iBAAiB,YAUnE,CAAA"}
@@ -1,118 +0,0 @@
1
- // the simple recursive removal, where unlink and rmdir are atomic
2
- // Note that this approach does NOT work on Windows!
3
- // We stat first and only unlink if the Dirent isn't a directory,
4
- // because sunos will let root unlink a directory, and some
5
- // SUPER weird breakage happens as a result.
6
- import { lstatSync, promises, rmdirSync, unlinkSync } from './fs.js';
7
- const { lstat, rmdir, unlink } = promises;
8
- import { parse, resolve } from 'path';
9
- import { readdirOrError, readdirOrErrorSync } from './readdir-or-error.js';
10
- import { ignoreENOENT, ignoreENOENTSync } from './ignore-enoent.js';
11
- export const rimrafPosix = async (path, opt) => {
12
- if (opt?.signal?.aborted) {
13
- throw opt.signal.reason;
14
- }
15
- try {
16
- return await rimrafPosixDir(path, opt, await lstat(path));
17
- }
18
- catch (er) {
19
- if (er?.code === 'ENOENT')
20
- return true;
21
- throw er;
22
- }
23
- };
24
- export const rimrafPosixSync = (path, opt) => {
25
- if (opt?.signal?.aborted) {
26
- throw opt.signal.reason;
27
- }
28
- try {
29
- return rimrafPosixDirSync(path, opt, lstatSync(path));
30
- }
31
- catch (er) {
32
- if (er?.code === 'ENOENT')
33
- return true;
34
- throw er;
35
- }
36
- };
37
- const rimrafPosixDir = async (path, opt, ent) => {
38
- if (opt?.signal?.aborted) {
39
- throw opt.signal.reason;
40
- }
41
- const entries = ent.isDirectory() ? await readdirOrError(path) : null;
42
- if (!Array.isArray(entries)) {
43
- // this can only happen if lstat/readdir lied, or if the dir was
44
- // swapped out with a file at just the right moment.
45
- /* c8 ignore start */
46
- if (entries) {
47
- if (entries.code === 'ENOENT') {
48
- return true;
49
- }
50
- if (entries.code !== 'ENOTDIR') {
51
- throw entries;
52
- }
53
- }
54
- /* c8 ignore stop */
55
- if (opt.filter && !(await opt.filter(path, ent))) {
56
- return false;
57
- }
58
- await ignoreENOENT(unlink(path));
59
- return true;
60
- }
61
- const removedAll = (await Promise.all(entries.map(ent => rimrafPosixDir(resolve(path, ent.name), opt, ent)))).reduce((a, b) => a && b, true);
62
- if (!removedAll) {
63
- return false;
64
- }
65
- // we don't ever ACTUALLY try to unlink /, because that can never work
66
- // but when preserveRoot is false, we could be operating on it.
67
- // No need to check if preserveRoot is not false.
68
- if (opt.preserveRoot === false && path === parse(path).root) {
69
- return false;
70
- }
71
- if (opt.filter && !(await opt.filter(path, ent))) {
72
- return false;
73
- }
74
- await ignoreENOENT(rmdir(path));
75
- return true;
76
- };
77
- const rimrafPosixDirSync = (path, opt, ent) => {
78
- if (opt?.signal?.aborted) {
79
- throw opt.signal.reason;
80
- }
81
- const entries = ent.isDirectory() ? readdirOrErrorSync(path) : null;
82
- if (!Array.isArray(entries)) {
83
- // this can only happen if lstat/readdir lied, or if the dir was
84
- // swapped out with a file at just the right moment.
85
- /* c8 ignore start */
86
- if (entries) {
87
- if (entries.code === 'ENOENT') {
88
- return true;
89
- }
90
- if (entries.code !== 'ENOTDIR') {
91
- throw entries;
92
- }
93
- }
94
- /* c8 ignore stop */
95
- if (opt.filter && !opt.filter(path, ent)) {
96
- return false;
97
- }
98
- ignoreENOENTSync(() => unlinkSync(path));
99
- return true;
100
- }
101
- let removedAll = true;
102
- for (const ent of entries) {
103
- const p = resolve(path, ent.name);
104
- removedAll = rimrafPosixDirSync(p, opt, ent) && removedAll;
105
- }
106
- if (opt.preserveRoot === false && path === parse(path).root) {
107
- return false;
108
- }
109
- if (!removedAll) {
110
- return false;
111
- }
112
- if (opt.filter && !opt.filter(path, ent)) {
113
- return false;
114
- }
115
- ignoreENOENTSync(() => rmdirSync(path));
116
- return true;
117
- };
118
- //# sourceMappingURL=rimraf-posix.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rimraf-posix.js","sourceRoot":"","sources":["../../src/rimraf-posix.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,oDAAoD;AACpD,iEAAiE;AACjE,2DAA2D;AAC3D,4CAA4C;AAE5C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACpE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,QAAQ,CAAA;AAEzC,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAErC,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAI1E,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAEnE,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,EAAE,IAAY,EAAE,GAAuB,EAAE,EAAE;IACzE,IAAI,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE;QACx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E,GAAG,CAAC,EAAE;QACxC,OAAO,KAAK,CAAA;KACb;IAED,gBAAgB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAA;IACvC,OAAO,IAAI,CAAA;AACb,CAAC,CAAA","sourcesContent":["// the simple recursive removal, where unlink and rmdir are atomic\n// Note that this approach does NOT work on Windows!\n// We stat first and only unlink if the Dirent isn't a directory,\n// because sunos will let root unlink a directory, and some\n// SUPER weird breakage happens as a result.\n\nimport { lstatSync, promises, rmdirSync, unlinkSync } from './fs.js'\nconst { lstat, rmdir, unlink } = promises\n\nimport { parse, resolve } from 'path'\n\nimport { readdirOrError, readdirOrErrorSync } from './readdir-or-error.js'\n\nimport { Dirent, Stats } from 'fs'\nimport { RimrafAsyncOptions, RimrafSyncOptions } from './index.js'\nimport { ignoreENOENT, ignoreENOENTSync } from './ignore-enoent.js'\n\nexport const rimrafPosix = async (path: string, opt: RimrafAsyncOptions) => {\n if (opt?.signal?.aborted) {\n throw opt.signal.reason\n }\n try {\n return await rimrafPosixDir(path, opt, await lstat(path))\n } catch (er) {\n if ((er as NodeJS.ErrnoException)?.code === 'ENOENT') return true\n throw er\n }\n}\n\nexport const rimrafPosixSync = (path: string, opt: RimrafSyncOptions) => {\n if (opt?.signal?.aborted) {\n throw opt.signal.reason\n }\n try {\n return rimrafPosixDirSync(path, opt, lstatSync(path))\n } catch (er) {\n if ((er as NodeJS.ErrnoException)?.code === 'ENOENT') return true\n throw er\n }\n}\n\nconst rimrafPosixDir = async (\n path: string,\n opt: RimrafAsyncOptions,\n ent: Dirent | Stats\n): Promise<boolean> => {\n if (opt?.signal?.aborted) {\n throw opt.signal.reason\n }\n const entries = ent.isDirectory() ? await readdirOrError(path) : null\n if (!Array.isArray(entries)) {\n // this can only happen if lstat/readdir lied, or if the dir was\n // swapped out with a file at just the right moment.\n /* c8 ignore start */\n if (entries) {\n if (entries.code === 'ENOENT') {\n return true\n }\n if (entries.code !== 'ENOTDIR') {\n throw entries\n }\n }\n /* c8 ignore stop */\n if (opt.filter && !(await opt.filter(path, ent))) {\n return false\n }\n await ignoreENOENT(unlink(path))\n return true\n }\n\n const removedAll = (\n await Promise.all(\n entries.map(ent => rimrafPosixDir(resolve(path, ent.name), opt, ent))\n )\n ).reduce((a, b) => a && b, true)\n\n if (!removedAll) {\n return false\n }\n\n // we don't ever ACTUALLY try to unlink /, because that can never work\n // but when preserveRoot is false, we could be operating on it.\n // No need to check if preserveRoot is not false.\n if (opt.preserveRoot === false && path === parse(path).root) {\n return false\n }\n\n if (opt.filter && !(await opt.filter(path, ent))) {\n return false\n }\n\n await ignoreENOENT(rmdir(path))\n return true\n}\n\nconst rimrafPosixDirSync = (\n path: string,\n opt: RimrafSyncOptions,\n ent: Dirent | Stats\n): boolean => {\n if (opt?.signal?.aborted) {\n throw opt.signal.reason\n }\n const entries = ent.isDirectory() ? readdirOrErrorSync(path) : null\n if (!Array.isArray(entries)) {\n // this can only happen if lstat/readdir lied, or if the dir was\n // swapped out with a file at just the right moment.\n /* c8 ignore start */\n if (entries) {\n if (entries.code === 'ENOENT') {\n return true\n }\n if (entries.code !== 'ENOTDIR') {\n throw entries\n }\n }\n /* c8 ignore stop */\n if (opt.filter && !opt.filter(path, ent)) {\n return false\n }\n ignoreENOENTSync(() => unlinkSync(path))\n return true\n }\n let removedAll: boolean = true\n for (const ent of entries) {\n const p = resolve(path, ent.name)\n removedAll = rimrafPosixDirSync(p, opt, ent) && removedAll\n }\n if (opt.preserveRoot === false && path === parse(path).root) {\n return false\n }\n\n if (!removedAll) {\n return false\n }\n\n if (opt.filter && !opt.filter(path, ent)) {\n return false\n }\n\n ignoreENOENTSync(() => rmdirSync(path))\n return true\n}\n"]}
@@ -1,4 +0,0 @@
1
- import { RimrafAsyncOptions, RimrafSyncOptions } from './index.js';
2
- export declare const rimrafWindows: (path: string, opt: RimrafAsyncOptions) => Promise<boolean>;
3
- export declare const rimrafWindowsSync: (path: string, opt: RimrafSyncOptions) => boolean;
4
- //# sourceMappingURL=rimraf-windows.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rimraf-windows.d.ts","sourceRoot":"","sources":["../../src/rimraf-windows.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AA2DlE,eAAO,MAAM,aAAa,SAAgB,MAAM,OAAO,kBAAkB,qBAUxE,CAAA;AAED,eAAO,MAAM,iBAAiB,SAAU,MAAM,OAAO,iBAAiB,YAUrE,CAAA"}
@@ -1,177 +0,0 @@
1
- // This is the same as rimrafPosix, with the following changes:
2
- //
3
- // 1. EBUSY, ENFILE, EMFILE trigger retries and/or exponential backoff
4
- // 2. All non-directories are removed first and then all directories are
5
- // removed in a second sweep.
6
- // 3. If we hit ENOTEMPTY in the second sweep, fall back to move-remove on
7
- // the that folder.
8
- //
9
- // Note: "move then remove" is 2-10 times slower, and just as unreliable.
10
- import { parse, resolve } from 'path';
11
- import { fixEPERM, fixEPERMSync } from './fix-eperm.js';
12
- import { lstatSync, promises, rmdirSync, unlinkSync } from './fs.js';
13
- import { ignoreENOENT, ignoreENOENTSync } from './ignore-enoent.js';
14
- import { readdirOrError, readdirOrErrorSync } from './readdir-or-error.js';
15
- import { retryBusy, retryBusySync } from './retry-busy.js';
16
- import { rimrafMoveRemove, rimrafMoveRemoveSync } from './rimraf-move-remove.js';
17
- const { unlink, rmdir, lstat } = promises;
18
- const rimrafWindowsFile = retryBusy(fixEPERM(unlink));
19
- const rimrafWindowsFileSync = retryBusySync(fixEPERMSync(unlinkSync));
20
- const rimrafWindowsDirRetry = retryBusy(fixEPERM(rmdir));
21
- const rimrafWindowsDirRetrySync = retryBusySync(fixEPERMSync(rmdirSync));
22
- const rimrafWindowsDirMoveRemoveFallback = async (path, opt) => {
23
- /* c8 ignore start */
24
- if (opt?.signal?.aborted) {
25
- throw opt.signal.reason;
26
- }
27
- /* c8 ignore stop */
28
- // already filtered, remove from options so we don't call unnecessarily
29
- const { filter, ...options } = opt;
30
- try {
31
- return await rimrafWindowsDirRetry(path, options);
32
- }
33
- catch (er) {
34
- if (er?.code === 'ENOTEMPTY') {
35
- return await rimrafMoveRemove(path, options);
36
- }
37
- throw er;
38
- }
39
- };
40
- const rimrafWindowsDirMoveRemoveFallbackSync = (path, opt) => {
41
- if (opt?.signal?.aborted) {
42
- throw opt.signal.reason;
43
- }
44
- // already filtered, remove from options so we don't call unnecessarily
45
- const { filter, ...options } = opt;
46
- try {
47
- return rimrafWindowsDirRetrySync(path, options);
48
- }
49
- catch (er) {
50
- const fer = er;
51
- if (fer?.code === 'ENOTEMPTY') {
52
- return rimrafMoveRemoveSync(path, options);
53
- }
54
- throw er;
55
- }
56
- };
57
- const START = Symbol('start');
58
- const CHILD = Symbol('child');
59
- const FINISH = Symbol('finish');
60
- export const rimrafWindows = async (path, opt) => {
61
- if (opt?.signal?.aborted) {
62
- throw opt.signal.reason;
63
- }
64
- try {
65
- return await rimrafWindowsDir(path, opt, await lstat(path), START);
66
- }
67
- catch (er) {
68
- if (er?.code === 'ENOENT')
69
- return true;
70
- throw er;
71
- }
72
- };
73
- export const rimrafWindowsSync = (path, opt) => {
74
- if (opt?.signal?.aborted) {
75
- throw opt.signal.reason;
76
- }
77
- try {
78
- return rimrafWindowsDirSync(path, opt, lstatSync(path), START);
79
- }
80
- catch (er) {
81
- if (er?.code === 'ENOENT')
82
- return true;
83
- throw er;
84
- }
85
- };
86
- const rimrafWindowsDir = async (path, opt, ent, state = START) => {
87
- if (opt?.signal?.aborted) {
88
- throw opt.signal.reason;
89
- }
90
- const entries = ent.isDirectory() ? await readdirOrError(path) : null;
91
- if (!Array.isArray(entries)) {
92
- // this can only happen if lstat/readdir lied, or if the dir was
93
- // swapped out with a file at just the right moment.
94
- /* c8 ignore start */
95
- if (entries) {
96
- if (entries.code === 'ENOENT') {
97
- return true;
98
- }
99
- if (entries.code !== 'ENOTDIR') {
100
- throw entries;
101
- }
102
- }
103
- /* c8 ignore stop */
104
- if (opt.filter && !(await opt.filter(path, ent))) {
105
- return false;
106
- }
107
- // is a file
108
- await ignoreENOENT(rimrafWindowsFile(path, opt));
109
- return true;
110
- }
111
- const s = state === START ? CHILD : state;
112
- const removedAll = (await Promise.all(entries.map(ent => rimrafWindowsDir(resolve(path, ent.name), opt, ent, s)))).reduce((a, b) => a && b, true);
113
- if (state === START) {
114
- return rimrafWindowsDir(path, opt, ent, FINISH);
115
- }
116
- else if (state === FINISH) {
117
- if (opt.preserveRoot === false && path === parse(path).root) {
118
- return false;
119
- }
120
- if (!removedAll) {
121
- return false;
122
- }
123
- if (opt.filter && !(await opt.filter(path, ent))) {
124
- return false;
125
- }
126
- await ignoreENOENT(rimrafWindowsDirMoveRemoveFallback(path, opt));
127
- }
128
- return true;
129
- };
130
- const rimrafWindowsDirSync = (path, opt, ent, state = START) => {
131
- const entries = ent.isDirectory() ? readdirOrErrorSync(path) : null;
132
- if (!Array.isArray(entries)) {
133
- // this can only happen if lstat/readdir lied, or if the dir was
134
- // swapped out with a file at just the right moment.
135
- /* c8 ignore start */
136
- if (entries) {
137
- if (entries.code === 'ENOENT') {
138
- return true;
139
- }
140
- if (entries.code !== 'ENOTDIR') {
141
- throw entries;
142
- }
143
- }
144
- /* c8 ignore stop */
145
- if (opt.filter && !opt.filter(path, ent)) {
146
- return false;
147
- }
148
- // is a file
149
- ignoreENOENTSync(() => rimrafWindowsFileSync(path, opt));
150
- return true;
151
- }
152
- let removedAll = true;
153
- for (const ent of entries) {
154
- const s = state === START ? CHILD : state;
155
- const p = resolve(path, ent.name);
156
- removedAll = rimrafWindowsDirSync(p, opt, ent, s) && removedAll;
157
- }
158
- if (state === START) {
159
- return rimrafWindowsDirSync(path, opt, ent, FINISH);
160
- }
161
- else if (state === FINISH) {
162
- if (opt.preserveRoot === false && path === parse(path).root) {
163
- return false;
164
- }
165
- if (!removedAll) {
166
- return false;
167
- }
168
- if (opt.filter && !opt.filter(path, ent)) {
169
- return false;
170
- }
171
- ignoreENOENTSync(() => {
172
- rimrafWindowsDirMoveRemoveFallbackSync(path, opt);
173
- });
174
- }
175
- return true;
176
- };
177
- //# sourceMappingURL=rimraf-windows.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rimraf-windows.js","sourceRoot":"","sources":["../../src/rimraf-windows.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,EAAE;AACF,sEAAsE;AACtE,wEAAwE;AACxE,gCAAgC;AAChC,0EAA0E;AAC1E,sBAAsB;AACtB,EAAE;AACF,yEAAyE;AAGzE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAErC,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACpE,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACnE,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAC1E,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAChF,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAA;AAEzC,MAAM,iBAAiB,GAAG,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAA;AACrD,MAAM,qBAAqB,GAAG,aAAa,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAA;AACrE,MAAM,qBAAqB,GAAG,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAA;AACxD,MAAM,yBAAyB,GAAG,aAAa,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC,CAAA;AAExE,MAAM,kCAAkC,GAAG,KAAK,EAC9C,IAAY,EACZ,GAAuB,EACL,E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AC,CAAC,KAAK,CAAA;QACzC,MAAM,CAAC,GAAG,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;QACjC,UAAU,GAAG,oBAAoB,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,UAAU,CAAA;KAChE;IAED,IAAI,KAAK,KAAK,KAAK,EAAE;QACnB,OAAO,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,CAAC,CAAA;KACpD;SAAM,IAAI,KAAK,KAAK,MAAM,EAAE;QAC3B,IAAI,GAAG,CAAC,YAAY,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE;YAC3D,OAAO,KAAK,CAAA;SACb;QACD,IAAI,CAAC,UAAU,EAAE;YACf,OAAO,KAAK,CAAA;SACb;QACD,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,EAAE;YACxC,OAAO,KAAK,CAAA;SACb;QACD,gBAAgB,CAAC,GAAG,EAAE;YACpB,sCAAsC,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;QACnD,CAAC,CAAC,CAAA;KACH;IACD,OAAO,IAAI,CAAA;AACb,CAAC,CAAA","sourcesContent":["// This is the same as rimrafPosix, with the following changes:\n//\n// 1. EBUSY, ENFILE, EMFILE trigger retries and/or exponential backoff\n// 2. All non-directories are removed first and then all directories are\n// removed in a second sweep.\n// 3. If we hit ENOTEMPTY in the second sweep, fall back to move-remove on\n// the that folder.\n//\n// Note: \"move then remove\" is 2-10 times slower, and just as unreliable.\n\nimport { Dirent, Stats } from 'fs'\nimport { parse, resolve } from 'path'\nimport { RimrafAsyncOptions, RimrafSyncOptions } from './index.js'\nimport { fixEPERM, fixEPERMSync } from './fix-eperm.js'\nimport { lstatSync, promises, rmdirSync, unlinkSync } from './fs.js'\nimport { ignoreENOENT, ignoreENOENTSync } from './ignore-enoent.js'\nimport { readdirOrError, readdirOrErrorSync } from './readdir-or-error.js'\nimport { retryBusy, retryBusySync } from './retry-busy.js'\nimport { rimrafMoveRemove, rimrafMoveRemoveSync } from './rimraf-move-remove.js'\nconst { unlink, rmdir, lstat } = promises\n\nconst rimrafWindowsFile = retryBusy(fixEPERM(unlink))\nconst rimrafWindowsFileSync = retryBusySync(fixEPERMSync(unlinkSync))\nconst rimrafWindowsDirRetry = retryBusy(fixEPERM(rmdir))\nconst rimrafWindowsDirRetrySync = retryBusySync(fixEPERMSync(rmdirSync))\n\nconst rimrafWindowsDirMoveRemoveFallback = async (\n path: string,\n opt: RimrafAsyncOptions\n): Promise<boolean> => {\n /* c8 ignore start */\n if (opt?.signal?.aborted) {\n throw opt.signal.reason\n }\n /* c8 ignore stop */\n // already filtered, remove from options so we don't call unnecessarily\n const { filter, ...options } = opt\n try {\n return await rimrafWindowsDirRetry(path, options)\n } catch (er) {\n if ((er as NodeJS.ErrnoException)?.code === 'ENOTEMPTY') {\n return await rimrafMoveRemove(path, options)\n }\n throw er\n }\n}\n\nconst rimrafWindowsDirMoveRemoveFallbackSync = (\n path: string,\n opt: RimrafSyncOptions\n): boolean => {\n if (opt?.signal?.aborted) {\n throw opt.signal.reason\n }\n // already filtered, remove from options so we don't call unnecessarily\n const { filter, ...options } = opt\n try {\n return rimrafWindowsDirRetrySync(path, options)\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n if (fer?.code === 'ENOTEMPTY') {\n return rimrafMoveRemoveSync(path, options)\n }\n throw er\n }\n}\n\nconst START = Symbol('start')\nconst CHILD = Symbol('child')\nconst FINISH = Symbol('finish')\n\nexport const rimrafWindows = async (path: string, opt: RimrafAsyncOptions) => {\n if (opt?.signal?.aborted) {\n throw opt.signal.reason\n }\n try {\n return await rimrafWindowsDir(path, opt, await lstat(path), START)\n } catch (er) {\n if ((er as NodeJS.ErrnoException)?.code === 'ENOENT') return true\n throw er\n }\n}\n\nexport const rimrafWindowsSync = (path: string, opt: RimrafSyncOptions) => {\n if (opt?.signal?.aborted) {\n throw opt.signal.reason\n }\n try {\n return rimrafWindowsDirSync(path, opt, lstatSync(path), START)\n } catch (er) {\n if ((er as NodeJS.ErrnoException)?.code === 'ENOENT') return true\n throw er\n }\n}\n\nconst rimrafWindowsDir = async (\n path: string,\n opt: RimrafAsyncOptions,\n ent: Dirent | Stats,\n state = START\n): Promise<boolean> => {\n if (opt?.signal?.aborted) {\n throw opt.signal.reason\n }\n\n const entries = ent.isDirectory() ? await readdirOrError(path) : null\n if (!Array.isArray(entries)) {\n // this can only happen if lstat/readdir lied, or if the dir was\n // swapped out with a file at just the right moment.\n /* c8 ignore start */\n if (entries) {\n if (entries.code === 'ENOENT') {\n return true\n }\n if (entries.code !== 'ENOTDIR') {\n throw entries\n }\n }\n /* c8 ignore stop */\n if (opt.filter && !(await opt.filter(path, ent))) {\n return false\n }\n // is a file\n await ignoreENOENT(rimrafWindowsFile(path, opt))\n return true\n }\n\n const s = state === START ? CHILD : state\n const removedAll = (\n await Promise.all(\n entries.map(ent => rimrafWindowsDir(resolve(path, ent.name), opt, ent, s))\n )\n ).reduce((a, b) => a && b, true)\n\n if (state === START) {\n return rimrafWindowsDir(path, opt, ent, FINISH)\n } else if (state === FINISH) {\n if (opt.preserveRoot === false && path === parse(path).root) {\n return false\n }\n if (!removedAll) {\n return false\n }\n if (opt.filter && !(await opt.filter(path, ent))) {\n return false\n }\n await ignoreENOENT(rimrafWindowsDirMoveRemoveFallback(path, opt))\n }\n return true\n}\n\nconst rimrafWindowsDirSync = (\n path: string,\n opt: RimrafSyncOptions,\n ent: Dirent | Stats,\n state = START\n): boolean => {\n const entries = ent.isDirectory() ? readdirOrErrorSync(path) : null\n if (!Array.isArray(entries)) {\n // this can only happen if lstat/readdir lied, or if the dir was\n // swapped out with a file at just the right moment.\n /* c8 ignore start */\n if (entries) {\n if (entries.code === 'ENOENT') {\n return true\n }\n if (entries.code !== 'ENOTDIR') {\n throw entries\n }\n }\n /* c8 ignore stop */\n if (opt.filter && !opt.filter(path, ent)) {\n return false\n }\n // is a file\n ignoreENOENTSync(() => rimrafWindowsFileSync(path, opt))\n return true\n }\n\n let removedAll = true\n for (const ent of entries) {\n const s = state === START ? CHILD : state\n const p = resolve(path, ent.name)\n removedAll = rimrafWindowsDirSync(p, opt, ent, s) && removedAll\n }\n\n if (state === START) {\n return rimrafWindowsDirSync(path, opt, ent, FINISH)\n } else if (state === FINISH) {\n if (opt.preserveRoot === false && path === parse(path).root) {\n return false\n }\n if (!removedAll) {\n return false\n }\n if (opt.filter && !opt.filter(path, ent)) {\n return false\n }\n ignoreENOENTSync(() => {\n rimrafWindowsDirMoveRemoveFallbackSync(path, opt)\n })\n }\n return true\n}\n"]}
@@ -1,4 +0,0 @@
1
- import { RimrafAsyncOptions, RimrafOptions } from './index.js';
2
- export declare const useNative: (opt?: RimrafAsyncOptions) => boolean;
3
- export declare const useNativeSync: (opt?: RimrafOptions) => boolean;
4
- //# sourceMappingURL=use-native.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-native.d.ts","sourceRoot":"","sources":["../../src/use-native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAa9D,eAAO,MAAM,SAAS,EAAE,CAAC,GAAG,CAAC,EAAE,kBAAkB,KAAK,OAGb,CAAA;AACzC,eAAO,MAAM,aAAa,EAAE,CAAC,GAAG,CAAC,EAAE,aAAa,KAAK,OAGZ,CAAA"}
@@ -1,16 +0,0 @@
1
- import platform from './platform.js';
2
- const version = process.env.__TESTING_RIMRAF_NODE_VERSION__ || process.version;
3
- const versArr = version.replace(/^v/, '').split('.');
4
- /* c8 ignore start */
5
- const [major = 0, minor = 0] = versArr.map(v => parseInt(v, 10));
6
- /* c8 ignore stop */
7
- const hasNative = major > 14 || (major === 14 && minor >= 14);
8
- // we do NOT use native by default on Windows, because Node's native
9
- // rm implementation is less advanced. Change this code if that changes.
10
- export const useNative = !hasNative || platform === 'win32'
11
- ? () => false
12
- : opt => !opt?.signal && !opt?.filter;
13
- export const useNativeSync = !hasNative || platform === 'win32'
14
- ? () => false
15
- : opt => !opt?.signal && !opt?.filter;
16
- //# sourceMappingURL=use-native.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-native.js","sourceRoot":"","sources":["../../src/use-native.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,eAAe,CAAA;AAEpC,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,+BAA+B,IAAI,OAAO,CAAC,OAAO,CAAA;AAC9E,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;AAEpD,qBAAqB;AACrB,MAAM,CAAC,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAA;AAChE,oBAAoB;AACpB,MAAM,SAAS,GAAG,KAAK,GAAG,EAAE,IAAI,CAAC,KAAK,KAAK,EAAE,IAAI,KAAK,IAAI,EAAE,CAAC,CAAA;AAE7D,oEAAoE;AACpE,yEAAyE;AACzE,MAAM,CAAC,MAAM,SAAS,GACpB,CAAC,SAAS,IAAI,QAAQ,KAAK,OAAO;IAChC,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK;IACb,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,MAAM,IAAI,CAAC,GAAG,EAAE,MAAM,CAAA;AACzC,MAAM,CAAC,MAAM,aAAa,GACxB,CAAC,SAAS,IAAI,QAAQ,KAAK,OAAO;IAChC,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK;IACb,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,MAAM,IAAI,CAAC,GAAG,EAAE,MAAM,CAAA","sourcesContent":["import { RimrafAsyncOptions, RimrafOptions } from './index.js'\nimport platform from './platform.js'\n\nconst version = process.env.__TESTING_RIMRAF_NODE_VERSION__ || process.version\nconst versArr = version.replace(/^v/, '').split('.')\n\n/* c8 ignore start */\nconst [major = 0, minor = 0] = versArr.map(v => parseInt(v, 10))\n/* c8 ignore stop */\nconst hasNative = major > 14 || (major === 14 && minor >= 14)\n\n// we do NOT use native by default on Windows, because Node's native\n// rm implementation is less advanced. Change this code if that changes.\nexport const useNative: (opt?: RimrafAsyncOptions) => boolean =\n !hasNative || platform === 'win32'\n ? () => false\n : opt => !opt?.signal && !opt?.filter\nexport const useNativeSync: (opt?: RimrafOptions) => boolean =\n !hasNative || platform === 'win32'\n ? () => false\n : opt => !opt?.signal && !opt?.filter\n"]}
@@ -1,141 +0,0 @@
1
- const ANY = Symbol('SemVer ANY')
2
- // hoisted class for cyclic dependency
3
- class Comparator {
4
- static get ANY () {
5
- return ANY
6
- }
7
-
8
- constructor (comp, options) {
9
- options = parseOptions(options)
10
-
11
- if (comp instanceof Comparator) {
12
- if (comp.loose === !!options.loose) {
13
- return comp
14
- } else {
15
- comp = comp.value
16
- }
17
- }
18
-
19
- comp = comp.trim().split(/\s+/).join(' ')
20
- debug('comparator', comp, options)
21
- this.options = options
22
- this.loose = !!options.loose
23
- this.parse(comp)
24
-
25
- if (this.semver === ANY) {
26
- this.value = ''
27
- } else {
28
- this.value = this.operator + this.semver.version
29
- }
30
-
31
- debug('comp', this)
32
- }
33
-
34
- parse (comp) {
35
- const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]
36
- const m = comp.match(r)
37
-
38
- if (!m) {
39
- throw new TypeError(`Invalid comparator: ${comp}`)
40
- }
41
-
42
- this.operator = m[1] !== undefined ? m[1] : ''
43
- if (this.operator === '=') {
44
- this.operator = ''
45
- }
46
-
47
- // if it literally is just '>' or '' then allow anything.
48
- if (!m[2]) {
49
- this.semver = ANY
50
- } else {
51
- this.semver = new SemVer(m[2], this.options.loose)
52
- }
53
- }
54
-
55
- toString () {
56
- return this.value
57
- }
58
-
59
- test (version) {
60
- debug('Comparator.test', version, this.options.loose)
61
-
62
- if (this.semver === ANY || version === ANY) {
63
- return true
64
- }
65
-
66
- if (typeof version === 'string') {
67
- try {
68
- version = new SemVer(version, this.options)
69
- } catch (er) {
70
- return false
71
- }
72
- }
73
-
74
- return cmp(version, this.operator, this.semver, this.options)
75
- }
76
-
77
- intersects (comp, options) {
78
- if (!(comp instanceof Comparator)) {
79
- throw new TypeError('a Comparator is required')
80
- }
81
-
82
- if (this.operator === '') {
83
- if (this.value === '') {
84
- return true
85
- }
86
- return new Range(comp.value, options).test(this.value)
87
- } else if (comp.operator === '') {
88
- if (comp.value === '') {
89
- return true
90
- }
91
- return new Range(this.value, options).test(comp.semver)
92
- }
93
-
94
- options = parseOptions(options)
95
-
96
- // Special cases where nothing can possibly be lower
97
- if (options.includePrerelease &&
98
- (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {
99
- return false
100
- }
101
- if (!options.includePrerelease &&
102
- (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {
103
- return false
104
- }
105
-
106
- // Same direction increasing (> or >=)
107
- if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {
108
- return true
109
- }
110
- // Same direction decreasing (< or <=)
111
- if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {
112
- return true
113
- }
114
- // same SemVer and both sides are inclusive (<= or >=)
115
- if (
116
- (this.semver.version === comp.semver.version) &&
117
- this.operator.includes('=') && comp.operator.includes('=')) {
118
- return true
119
- }
120
- // opposite directions less than
121
- if (cmp(this.semver, '<', comp.semver, options) &&
122
- this.operator.startsWith('>') && comp.operator.startsWith('<')) {
123
- return true
124
- }
125
- // opposite directions greater than
126
- if (cmp(this.semver, '>', comp.semver, options) &&
127
- this.operator.startsWith('<') && comp.operator.startsWith('>')) {
128
- return true
129
- }
130
- return false
131
- }
132
- }
133
-
134
- module.exports = Comparator
135
-
136
- const parseOptions = require('../internal/parse-options')
137
- const { safeRe: re, t } = require('../internal/re')
138
- const cmp = require('../functions/cmp')
139
- const debug = require('../internal/debug')
140
- const SemVer = require('./semver')
141
- const Range = require('./range')
@@ -1,5 +0,0 @@
1
- module.exports = {
2
- SemVer: require('./semver.js'),
3
- Range: require('./range.js'),
4
- Comparator: require('./comparator.js'),
5
- }