immosquare-cleaner 0.1.41 → 0.1.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (812) hide show
  1. checksums.yaml +4 -4
  2. data/lib/immosquare-cleaner/version.rb +1 -1
  3. data/linters/rubocop-3.3.4.yml +89 -0
  4. data/linters/rubocop.yml +1 -0
  5. data/node_modules/.bin/ncu +1 -1
  6. data/node_modules/.bin/npm-check-updates +1 -1
  7. data/node_modules/.bin/rimraf +1 -1
  8. data/node_modules/@eslint/config-array/dist/cjs/index.cjs +5 -0
  9. data/node_modules/@eslint/config-array/dist/esm/index.js +5 -0
  10. data/node_modules/@eslint/config-array/package.json +1 -1
  11. data/node_modules/@eslint/js/package.json +1 -1
  12. data/node_modules/ansi-regex/index.d.ts +13 -9
  13. data/node_modules/ansi-regex/index.js +5 -3
  14. data/node_modules/ansi-regex/license +1 -1
  15. data/node_modules/ansi-regex/package.json +6 -9
  16. data/node_modules/ansi-regex/readme.md +8 -2
  17. data/node_modules/brace-expansion/README.md +0 -6
  18. data/node_modules/brace-expansion/index.js +84 -86
  19. data/node_modules/brace-expansion/package.json +4 -3
  20. data/node_modules/chalk/license +1 -1
  21. data/node_modules/chalk/package.json +23 -38
  22. data/node_modules/chalk/readme.md +85 -69
  23. data/node_modules/chalk/source/index.js +84 -80
  24. data/node_modules/eslint/lib/cli.js +0 -20
  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/shared/flags.js +2 -2
  31. data/node_modules/eslint/package.json +5 -4
  32. data/node_modules/eslint-plugin-sonarjs/README.md +1 -1
  33. data/node_modules/eslint-plugin-sonarjs/lib/package.json +1 -1
  34. data/node_modules/eslint-plugin-sonarjs/package.json +1 -1
  35. data/node_modules/glob/LICENSE +7 -1
  36. data/node_modules/glob/README.md +284 -1120
  37. data/node_modules/glob/common.js +238 -0
  38. data/node_modules/glob/glob.js +790 -0
  39. data/node_modules/glob/package.json +34 -76
  40. data/node_modules/glob/sync.js +486 -0
  41. data/node_modules/lru-cache/LICENSE +1 -1
  42. data/node_modules/lru-cache/README.md +104 -1055
  43. data/node_modules/lru-cache/index.js +246 -1139
  44. data/node_modules/lru-cache/package.json +11 -75
  45. data/node_modules/minimatch/LICENSE +1 -1
  46. data/node_modules/minimatch/README.md +65 -289
  47. data/node_modules/minimatch/package.json +14 -67
  48. data/node_modules/npm-check-updates/README.md +9 -12
  49. data/node_modules/npm-check-updates/build/cli.js +21 -21
  50. data/node_modules/npm-check-updates/build/cli.js.map +1 -1
  51. data/node_modules/npm-check-updates/build/index-CWktU8PK.js +58 -0
  52. data/node_modules/npm-check-updates/build/index-CWktU8PK.js.map +1 -0
  53. data/node_modules/npm-check-updates/build/index.d.ts +1 -3
  54. data/node_modules/npm-check-updates/build/index.js +207 -223
  55. data/node_modules/npm-check-updates/build/index.js.map +1 -1
  56. data/node_modules/npm-check-updates/package.json +101 -105
  57. data/node_modules/rimraf/LICENSE +1 -1
  58. data/node_modules/rimraf/README.md +70 -188
  59. data/node_modules/rimraf/bin.js +50 -0
  60. data/node_modules/rimraf/package.json +16 -74
  61. data/node_modules/rimraf/rimraf.js +364 -0
  62. data/node_modules/semver/README.md +27 -221
  63. data/node_modules/semver/bin/semver.js +84 -107
  64. data/node_modules/semver/package.json +14 -63
  65. data/node_modules/semver/semver.js +1643 -0
  66. data/node_modules/strip-ansi/index.d.ts +4 -2
  67. data/node_modules/strip-ansi/index.js +3 -13
  68. data/node_modules/strip-ansi/license +1 -1
  69. data/node_modules/strip-ansi/package.json +7 -10
  70. data/node_modules/strip-ansi/readme.md +7 -2
  71. data/node_modules/strip-json-comments/index.d.ts +13 -18
  72. data/node_modules/strip-json-comments/index.js +38 -68
  73. data/node_modules/strip-json-comments/package.json +5 -13
  74. data/node_modules/strip-json-comments/readme.md +18 -15
  75. data/node_modules/yallist/package.json +1 -1
  76. data/node_modules/yallist/yallist.js +3 -3
  77. data/package.json +4 -4
  78. metadata +15 -736
  79. data/node_modules/@eslint/config-array/node_modules/minimatch/LICENSE +0 -15
  80. data/node_modules/@eslint/config-array/node_modules/minimatch/README.md +0 -230
  81. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  82. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -129
  83. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -201
  84. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -47
  85. data/node_modules/@eslint/config-array/node_modules/minimatch/package.json +0 -33
  86. data/node_modules/chalk/source/index.d.ts +0 -320
  87. data/node_modules/chalk/source/utilities.js +0 -33
  88. data/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  89. data/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  90. data/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  91. data/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  92. data/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  93. data/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  94. data/node_modules/eslint/node_modules/chalk/license +0 -9
  95. data/node_modules/eslint/node_modules/chalk/package.json +0 -68
  96. data/node_modules/eslint/node_modules/chalk/readme.md +0 -341
  97. data/node_modules/eslint/node_modules/chalk/source/index.js +0 -229
  98. data/node_modules/eslint/node_modules/minimatch/LICENSE +0 -15
  99. data/node_modules/eslint/node_modules/minimatch/README.md +0 -230
  100. data/node_modules/eslint/node_modules/minimatch/minimatch.js +0 -947
  101. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  102. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -129
  103. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -201
  104. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -47
  105. data/node_modules/eslint/node_modules/minimatch/package.json +0 -33
  106. data/node_modules/eslint/node_modules/strip-ansi/index.d.ts +0 -17
  107. data/node_modules/eslint/node_modules/strip-ansi/index.js +0 -4
  108. data/node_modules/eslint/node_modules/strip-ansi/license +0 -9
  109. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +0 -37
  110. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.js +0 -10
  111. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/license +0 -9
  112. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/package.json +0 -55
  113. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +0 -78
  114. data/node_modules/eslint/node_modules/strip-ansi/package.json +0 -54
  115. data/node_modules/eslint/node_modules/strip-ansi/readme.md +0 -46
  116. data/node_modules/glob/dist/commonjs/glob.d.ts +0 -344
  117. data/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
  118. data/node_modules/glob/dist/commonjs/glob.js +0 -243
  119. data/node_modules/glob/dist/commonjs/glob.js.map +0 -1
  120. data/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
  121. data/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
  122. data/node_modules/glob/dist/commonjs/has-magic.js +0 -27
  123. data/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
  124. data/node_modules/glob/dist/commonjs/ignore.d.ts +0 -20
  125. data/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
  126. data/node_modules/glob/dist/commonjs/ignore.js +0 -108
  127. data/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
  128. data/node_modules/glob/dist/commonjs/index.d.ts +0 -96
  129. data/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
  130. data/node_modules/glob/dist/commonjs/index.js +0 -68
  131. data/node_modules/glob/dist/commonjs/index.js.map +0 -1
  132. data/node_modules/glob/dist/commonjs/package.json +0 -1
  133. data/node_modules/glob/dist/commonjs/pattern.d.ts +0 -77
  134. data/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
  135. data/node_modules/glob/dist/commonjs/pattern.js +0 -219
  136. data/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
  137. data/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
  138. data/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
  139. data/node_modules/glob/dist/commonjs/processor.js +0 -302
  140. data/node_modules/glob/dist/commonjs/processor.js.map +0 -1
  141. data/node_modules/glob/dist/commonjs/walker.d.ts +0 -96
  142. data/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
  143. data/node_modules/glob/dist/commonjs/walker.js +0 -358
  144. data/node_modules/glob/dist/commonjs/walker.js.map +0 -1
  145. data/node_modules/glob/dist/esm/bin.d.mts +0 -3
  146. data/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
  147. data/node_modules/glob/dist/esm/bin.mjs +0 -275
  148. data/node_modules/glob/dist/esm/bin.mjs.map +0 -1
  149. data/node_modules/glob/dist/esm/glob.d.ts +0 -344
  150. data/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
  151. data/node_modules/glob/dist/esm/glob.js +0 -239
  152. data/node_modules/glob/dist/esm/glob.js.map +0 -1
  153. data/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
  154. data/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
  155. data/node_modules/glob/dist/esm/has-magic.js +0 -23
  156. data/node_modules/glob/dist/esm/has-magic.js.map +0 -1
  157. data/node_modules/glob/dist/esm/ignore.d.ts +0 -20
  158. data/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
  159. data/node_modules/glob/dist/esm/ignore.js +0 -104
  160. data/node_modules/glob/dist/esm/ignore.js.map +0 -1
  161. data/node_modules/glob/dist/esm/index.d.ts +0 -96
  162. data/node_modules/glob/dist/esm/index.d.ts.map +0 -1
  163. data/node_modules/glob/dist/esm/index.js +0 -56
  164. data/node_modules/glob/dist/esm/index.js.map +0 -1
  165. data/node_modules/glob/dist/esm/package.json +0 -1
  166. data/node_modules/glob/dist/esm/pattern.d.ts +0 -77
  167. data/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
  168. data/node_modules/glob/dist/esm/pattern.js +0 -215
  169. data/node_modules/glob/dist/esm/pattern.js.map +0 -1
  170. data/node_modules/glob/dist/esm/processor.d.ts +0 -59
  171. data/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
  172. data/node_modules/glob/dist/esm/processor.js +0 -295
  173. data/node_modules/glob/dist/esm/processor.js.map +0 -1
  174. data/node_modules/glob/dist/esm/walker.d.ts +0 -96
  175. data/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
  176. data/node_modules/glob/dist/esm/walker.js +0 -352
  177. data/node_modules/glob/dist/esm/walker.js.map +0 -1
  178. data/node_modules/glob/node_modules/minimatch/LICENSE +0 -15
  179. data/node_modules/glob/node_modules/minimatch/README.md +0 -454
  180. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
  181. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
  182. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  183. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  184. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
  185. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
  186. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.js +0 -589
  187. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  188. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
  189. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
  190. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
  191. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  192. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
  193. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  194. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.js +0 -22
  195. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
  196. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
  197. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  198. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.js +0 -1011
  199. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  200. data/node_modules/glob/node_modules/minimatch/dist/cjs/package.json +0 -3
  201. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
  202. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
  203. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.js +0 -24
  204. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
  205. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
  206. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
  207. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
  208. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  209. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
  210. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
  211. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.js +0 -585
  212. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  213. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
  214. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
  215. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
  216. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  217. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
  218. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  219. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.js +0 -18
  220. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
  221. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
  222. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  223. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.js +0 -995
  224. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  225. data/node_modules/glob/node_modules/minimatch/dist/mjs/package.json +0 -3
  226. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
  227. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
  228. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js +0 -20
  229. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
  230. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  231. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -135
  232. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -203
  233. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -46
  234. data/node_modules/glob/node_modules/minimatch/package.json +0 -86
  235. data/node_modules/glob/node_modules/minipass/LICENSE +0 -15
  236. data/node_modules/glob/node_modules/minipass/README.md +0 -825
  237. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.d.ts +0 -549
  238. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
  239. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.js +0 -1028
  240. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.js.map +0 -1
  241. data/node_modules/glob/node_modules/minipass/dist/commonjs/package.json +0 -1
  242. data/node_modules/glob/node_modules/minipass/dist/esm/index.d.ts +0 -549
  243. data/node_modules/glob/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
  244. data/node_modules/glob/node_modules/minipass/dist/esm/index.js +0 -1018
  245. data/node_modules/glob/node_modules/minipass/dist/esm/index.js.map +0 -1
  246. data/node_modules/glob/node_modules/minipass/dist/esm/package.json +0 -1
  247. data/node_modules/glob/node_modules/minipass/package.json +0 -82
  248. data/node_modules/lru-cache/index.d.ts +0 -869
  249. data/node_modules/lru-cache/index.mjs +0 -1227
  250. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
  251. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
  252. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  253. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  254. data/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
  255. data/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
  256. data/node_modules/minimatch/dist/cjs/ast.js +0 -589
  257. data/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  258. data/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
  259. data/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
  260. data/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
  261. data/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  262. data/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
  263. data/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  264. data/node_modules/minimatch/dist/cjs/escape.js +0 -22
  265. data/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
  266. data/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
  267. data/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  268. data/node_modules/minimatch/dist/cjs/index.js +0 -1011
  269. data/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  270. data/node_modules/minimatch/dist/cjs/package.json +0 -3
  271. data/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
  272. data/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
  273. data/node_modules/minimatch/dist/cjs/unescape.js +0 -24
  274. data/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
  275. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
  276. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
  277. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
  278. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  279. data/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
  280. data/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
  281. data/node_modules/minimatch/dist/mjs/ast.js +0 -585
  282. data/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  283. data/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
  284. data/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
  285. data/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
  286. data/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  287. data/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
  288. data/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  289. data/node_modules/minimatch/dist/mjs/escape.js +0 -18
  290. data/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
  291. data/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
  292. data/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  293. data/node_modules/minimatch/dist/mjs/index.js +0 -995
  294. data/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  295. data/node_modules/minimatch/dist/mjs/package.json +0 -3
  296. data/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
  297. data/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
  298. data/node_modules/minimatch/dist/mjs/unescape.js +0 -20
  299. data/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
  300. data/node_modules/npm-check-updates/build/index-5sFb3Tvv.js +0 -66
  301. data/node_modules/npm-check-updates/build/index-5sFb3Tvv.js.map +0 -1
  302. data/node_modules/npm-check-updates/build/package.json +0 -183
  303. data/node_modules/npm-check-updates/build/src/bin/cli.d.ts +0 -2
  304. data/node_modules/npm-check-updates/build/src/bin/cli.js +0 -182
  305. data/node_modules/npm-check-updates/build/src/bin/cli.js.map +0 -1
  306. data/node_modules/npm-check-updates/build/src/cli-options.d.ts +0 -9
  307. data/node_modules/npm-check-updates/build/src/cli-options.js +0 -795
  308. data/node_modules/npm-check-updates/build/src/cli-options.js.map +0 -1
  309. data/node_modules/npm-check-updates/build/src/index.d.ts +0 -17
  310. data/node_modules/npm-check-updates/build/src/index.js +0 -316
  311. data/node_modules/npm-check-updates/build/src/index.js.map +0 -1
  312. data/node_modules/npm-check-updates/build/src/lib/cache.d.ts +0 -17
  313. data/node_modules/npm-check-updates/build/src/lib/cache.js +0 -105
  314. data/node_modules/npm-check-updates/build/src/lib/cache.js.map +0 -1
  315. data/node_modules/npm-check-updates/build/src/lib/chalk.d.ts +0 -7
  316. data/node_modules/npm-check-updates/build/src/lib/chalk.js +0 -66
  317. data/node_modules/npm-check-updates/build/src/lib/chalk.js.map +0 -1
  318. data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.d.ts +0 -8
  319. data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.js +0 -32
  320. data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.js.map +0 -1
  321. data/node_modules/npm-check-updates/build/src/lib/doctor.d.ts +0 -8
  322. data/node_modules/npm-check-updates/build/src/lib/doctor.js +0 -290
  323. data/node_modules/npm-check-updates/build/src/lib/doctor.js.map +0 -1
  324. data/node_modules/npm-check-updates/build/src/lib/exists.d.ts +0 -3
  325. data/node_modules/npm-check-updates/build/src/lib/exists.js +0 -10
  326. data/node_modules/npm-check-updates/build/src/lib/exists.js.map +0 -1
  327. data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.d.ts +0 -2
  328. data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.js +0 -112
  329. data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.js.map +0 -1
  330. data/node_modules/npm-check-updates/build/src/lib/filterAndReject.d.ts +0 -12
  331. data/node_modules/npm-check-updates/build/src/lib/filterAndReject.js +0 -80
  332. data/node_modules/npm-check-updates/build/src/lib/filterAndReject.js.map +0 -1
  333. data/node_modules/npm-check-updates/build/src/lib/filterObject.d.ts +0 -4
  334. data/node_modules/npm-check-updates/build/src/lib/filterObject.js +0 -10
  335. data/node_modules/npm-check-updates/build/src/lib/filterObject.js.map +0 -1
  336. data/node_modules/npm-check-updates/build/src/lib/findLockfile.d.ts +0 -12
  337. data/node_modules/npm-check-updates/build/src/lib/findLockfile.js +0 -54
  338. data/node_modules/npm-check-updates/build/src/lib/findLockfile.js.map +0 -1
  339. data/node_modules/npm-check-updates/build/src/lib/findPackage.d.ts +0 -16
  340. data/node_modules/npm-check-updates/build/src/lib/findPackage.js +0 -78
  341. data/node_modules/npm-check-updates/build/src/lib/findPackage.js.map +0 -1
  342. data/node_modules/npm-check-updates/build/src/lib/getAllPackages.d.ts +0 -10
  343. data/node_modules/npm-check-updates/build/src/lib/getAllPackages.js +0 -126
  344. data/node_modules/npm-check-updates/build/src/lib/getAllPackages.js.map +0 -1
  345. data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.d.ts +0 -15
  346. data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.js +0 -76
  347. data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.js.map +0 -1
  348. data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.d.ts +0 -8
  349. data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.js +0 -37
  350. data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.js.map +0 -1
  351. data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.d.ts +0 -12
  352. data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.js +0 -35
  353. data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.js.map +0 -1
  354. data/node_modules/npm-check-updates/build/src/lib/getNcuRc.d.ts +0 -22
  355. data/node_modules/npm-check-updates/build/src/lib/getNcuRc.js +0 -60
  356. data/node_modules/npm-check-updates/build/src/lib/getNcuRc.js.map +0 -1
  357. data/node_modules/npm-check-updates/build/src/lib/getPackageManager.d.ts +0 -13
  358. data/node_modules/npm-check-updates/build/src/lib/getPackageManager.js +0 -30
  359. data/node_modules/npm-check-updates/build/src/lib/getPackageManager.js.map +0 -1
  360. data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.d.ts +0 -6
  361. data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.js +0 -31
  362. data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.js.map +0 -1
  363. data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.d.ts +0 -12
  364. data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.js +0 -35
  365. data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.js.map +0 -1
  366. data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.d.ts +0 -10
  367. data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.js +0 -30
  368. data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.js.map +0 -1
  369. data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.d.ts +0 -11
  370. data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.js +0 -81
  371. data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.js.map +0 -1
  372. data/node_modules/npm-check-updates/build/src/lib/initOptions.d.ts +0 -7
  373. data/node_modules/npm-check-updates/build/src/lib/initOptions.js +0 -207
  374. data/node_modules/npm-check-updates/build/src/lib/initOptions.js.map +0 -1
  375. data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.d.ts +0 -14
  376. data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.js +0 -68
  377. data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.js.map +0 -1
  378. data/node_modules/npm-check-updates/build/src/lib/keyValueBy.d.ts +0 -6
  379. data/node_modules/npm-check-updates/build/src/lib/keyValueBy.js +0 -23
  380. data/node_modules/npm-check-updates/build/src/lib/keyValueBy.js.map +0 -1
  381. data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.d.ts +0 -3
  382. data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.js +0 -108
  383. data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.js.map +0 -1
  384. data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.d.ts +0 -5
  385. data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.js +0 -27
  386. data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.js.map +0 -1
  387. data/node_modules/npm-check-updates/build/src/lib/logging.d.ts +0 -77
  388. data/node_modules/npm-check-updates/build/src/lib/logging.js +0 -287
  389. data/node_modules/npm-check-updates/build/src/lib/logging.js.map +0 -1
  390. data/node_modules/npm-check-updates/build/src/lib/mergeOptions.d.ts +0 -69
  391. data/node_modules/npm-check-updates/build/src/lib/mergeOptions.js +0 -23
  392. data/node_modules/npm-check-updates/build/src/lib/mergeOptions.js.map +0 -1
  393. data/node_modules/npm-check-updates/build/src/lib/programError.d.ts +0 -6
  394. data/node_modules/npm-check-updates/build/src/lib/programError.js +0 -19
  395. data/node_modules/npm-check-updates/build/src/lib/programError.js.map +0 -1
  396. data/node_modules/npm-check-updates/build/src/lib/queryVersions.d.ts +0 -13
  397. data/node_modules/npm-check-updates/build/src/lib/queryVersions.js +0 -118
  398. data/node_modules/npm-check-updates/build/src/lib/queryVersions.js.map +0 -1
  399. data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.d.ts +0 -4
  400. data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.js +0 -20
  401. data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.js.map +0 -1
  402. data/node_modules/npm-check-updates/build/src/lib/runGlobal.d.ts +0 -5
  403. data/node_modules/npm-check-updates/build/src/lib/runGlobal.js +0 -76
  404. data/node_modules/npm-check-updates/build/src/lib/runGlobal.js.map +0 -1
  405. data/node_modules/npm-check-updates/build/src/lib/runLocal.d.ts +0 -18
  406. data/node_modules/npm-check-updates/build/src/lib/runLocal.js +0 -239
  407. data/node_modules/npm-check-updates/build/src/lib/runLocal.js.map +0 -1
  408. data/node_modules/npm-check-updates/build/src/lib/table.d.ts +0 -7
  409. data/node_modules/npm-check-updates/build/src/lib/table.js +0 -27
  410. data/node_modules/npm-check-updates/build/src/lib/table.js.map +0 -1
  411. data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.d.ts +0 -14
  412. data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.js +0 -103
  413. data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.js.map +0 -1
  414. data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.d.ts +0 -14
  415. data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.js +0 -50
  416. data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.js.map +0 -1
  417. data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.d.ts +0 -13
  418. data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.js +0 -58
  419. data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.js.map +0 -1
  420. data/node_modules/npm-check-updates/build/src/lib/version-util.d.ts +0 -180
  421. data/node_modules/npm-check-updates/build/src/lib/version-util.js +0 -518
  422. data/node_modules/npm-check-updates/build/src/lib/version-util.js.map +0 -1
  423. data/node_modules/npm-check-updates/build/src/lib/wrap.d.ts +0 -3
  424. data/node_modules/npm-check-updates/build/src/lib/wrap.js +0 -45
  425. data/node_modules/npm-check-updates/build/src/lib/wrap.js.map +0 -1
  426. data/node_modules/npm-check-updates/build/src/package-managers/bun.d.ts +0 -18
  427. data/node_modules/npm-check-updates/build/src/package-managers/bun.js +0 -89
  428. data/node_modules/npm-check-updates/build/src/package-managers/bun.js.map +0 -1
  429. data/node_modules/npm-check-updates/build/src/package-managers/filters.d.ts +0 -35
  430. data/node_modules/npm-check-updates/build/src/package-managers/filters.js +0 -96
  431. data/node_modules/npm-check-updates/build/src/package-managers/filters.js.map +0 -1
  432. data/node_modules/npm-check-updates/build/src/package-managers/gitTags.d.ts +0 -16
  433. data/node_modules/npm-check-updates/build/src/package-managers/gitTags.js +0 -112
  434. data/node_modules/npm-check-updates/build/src/package-managers/gitTags.js.map +0 -1
  435. data/node_modules/npm-check-updates/build/src/package-managers/index.d.ts +0 -4
  436. data/node_modules/npm-check-updates/build/src/package-managers/index.js +0 -40
  437. data/node_modules/npm-check-updates/build/src/package-managers/index.js.map +0 -1
  438. data/node_modules/npm-check-updates/build/src/package-managers/npm.d.ts +0 -147
  439. data/node_modules/npm-check-updates/build/src/package-managers/npm.js +0 -688
  440. data/node_modules/npm-check-updates/build/src/package-managers/npm.js.map +0 -1
  441. data/node_modules/npm-check-updates/build/src/package-managers/pnpm.d.ts +0 -25
  442. data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js +0 -103
  443. data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js.map +0 -1
  444. data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.d.ts +0 -10
  445. data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.js +0 -52
  446. data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.js.map +0 -1
  447. data/node_modules/npm-check-updates/build/src/package-managers/yarn.d.ts +0 -60
  448. data/node_modules/npm-check-updates/build/src/package-managers/yarn.js +0 -248
  449. data/node_modules/npm-check-updates/build/src/package-managers/yarn.js.map +0 -1
  450. data/node_modules/npm-check-updates/build/src/scripts/build-options.d.ts +0 -1
  451. data/node_modules/npm-check-updates/build/src/scripts/build-options.js +0 -121
  452. data/node_modules/npm-check-updates/build/src/scripts/build-options.js.map +0 -1
  453. data/node_modules/npm-check-updates/build/src/types/CLIOption.d.ts +0 -16
  454. data/node_modules/npm-check-updates/build/src/types/CLIOption.js +0 -3
  455. data/node_modules/npm-check-updates/build/src/types/CLIOption.js.map +0 -1
  456. data/node_modules/npm-check-updates/build/src/types/Cacher.d.ts +0 -10
  457. data/node_modules/npm-check-updates/build/src/types/Cacher.js +0 -3
  458. data/node_modules/npm-check-updates/build/src/types/Cacher.js.map +0 -1
  459. data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.d.ts +0 -5
  460. data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.js +0 -3
  461. data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.js.map +0 -1
  462. data/node_modules/npm-check-updates/build/src/types/FilterFunction.d.ts +0 -3
  463. data/node_modules/npm-check-updates/build/src/types/FilterFunction.js +0 -3
  464. data/node_modules/npm-check-updates/build/src/types/FilterFunction.js.map +0 -1
  465. data/node_modules/npm-check-updates/build/src/types/FilterPattern.d.ts +0 -3
  466. data/node_modules/npm-check-updates/build/src/types/FilterPattern.js +0 -3
  467. data/node_modules/npm-check-updates/build/src/types/FilterPattern.js.map +0 -1
  468. data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.d.ts +0 -9
  469. data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.js +0 -3
  470. data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.js.map +0 -1
  471. data/node_modules/npm-check-updates/build/src/types/GetVersion.d.ts +0 -6
  472. data/node_modules/npm-check-updates/build/src/types/GetVersion.js +0 -3
  473. data/node_modules/npm-check-updates/build/src/types/GetVersion.js.map +0 -1
  474. data/node_modules/npm-check-updates/build/src/types/GroupFunction.d.ts +0 -4
  475. data/node_modules/npm-check-updates/build/src/types/GroupFunction.js +0 -3
  476. data/node_modules/npm-check-updates/build/src/types/GroupFunction.js.map +0 -1
  477. data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.d.ts +0 -8
  478. data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.js +0 -3
  479. data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.js.map +0 -1
  480. data/node_modules/npm-check-updates/build/src/types/IndexType.d.ts +0 -4
  481. data/node_modules/npm-check-updates/build/src/types/IndexType.js +0 -4
  482. data/node_modules/npm-check-updates/build/src/types/IndexType.js.map +0 -1
  483. data/node_modules/npm-check-updates/build/src/types/Maybe.d.ts +0 -2
  484. data/node_modules/npm-check-updates/build/src/types/Maybe.js +0 -3
  485. data/node_modules/npm-check-updates/build/src/types/Maybe.js.map +0 -1
  486. data/node_modules/npm-check-updates/build/src/types/MockedVersions.d.ts +0 -5
  487. data/node_modules/npm-check-updates/build/src/types/MockedVersions.js +0 -3
  488. data/node_modules/npm-check-updates/build/src/types/MockedVersions.js.map +0 -1
  489. data/node_modules/npm-check-updates/build/src/types/NpmConfig.d.ts +0 -4
  490. data/node_modules/npm-check-updates/build/src/types/NpmConfig.js +0 -3
  491. data/node_modules/npm-check-updates/build/src/types/NpmConfig.js.map +0 -1
  492. data/node_modules/npm-check-updates/build/src/types/NpmOptions.d.ts +0 -6
  493. data/node_modules/npm-check-updates/build/src/types/NpmOptions.js +0 -3
  494. data/node_modules/npm-check-updates/build/src/types/NpmOptions.js.map +0 -1
  495. data/node_modules/npm-check-updates/build/src/types/Options.d.ts +0 -17
  496. data/node_modules/npm-check-updates/build/src/types/Options.js +0 -3
  497. data/node_modules/npm-check-updates/build/src/types/Options.js.map +0 -1
  498. data/node_modules/npm-check-updates/build/src/types/PackageFile.d.ts +0 -24
  499. data/node_modules/npm-check-updates/build/src/types/PackageFile.js +0 -3
  500. data/node_modules/npm-check-updates/build/src/types/PackageFile.js.map +0 -1
  501. data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.d.ts +0 -5
  502. data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.js +0 -3
  503. data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.js.map +0 -1
  504. data/node_modules/npm-check-updates/build/src/types/PackageInfo.d.ts +0 -8
  505. data/node_modules/npm-check-updates/build/src/types/PackageInfo.js +0 -3
  506. data/node_modules/npm-check-updates/build/src/types/PackageInfo.js.map +0 -1
  507. data/node_modules/npm-check-updates/build/src/types/PackageManager.d.ts +0 -18
  508. data/node_modules/npm-check-updates/build/src/types/PackageManager.js +0 -3
  509. data/node_modules/npm-check-updates/build/src/types/PackageManager.js.map +0 -1
  510. data/node_modules/npm-check-updates/build/src/types/PackageManagerName.d.ts +0 -2
  511. data/node_modules/npm-check-updates/build/src/types/PackageManagerName.js +0 -3
  512. data/node_modules/npm-check-updates/build/src/types/PackageManagerName.js.map +0 -1
  513. data/node_modules/npm-check-updates/build/src/types/Packument.d.ts +0 -13
  514. data/node_modules/npm-check-updates/build/src/types/Packument.js +0 -3
  515. data/node_modules/npm-check-updates/build/src/types/Packument.js.map +0 -1
  516. data/node_modules/npm-check-updates/build/src/types/RunOptions.d.ts +0 -137
  517. data/node_modules/npm-check-updates/build/src/types/RunOptions.js +0 -3
  518. data/node_modules/npm-check-updates/build/src/types/RunOptions.js.map +0 -1
  519. data/node_modules/npm-check-updates/build/src/types/SpawnOptions.d.ts +0 -6
  520. data/node_modules/npm-check-updates/build/src/types/SpawnOptions.js +0 -3
  521. data/node_modules/npm-check-updates/build/src/types/SpawnOptions.js.map +0 -1
  522. data/node_modules/npm-check-updates/build/src/types/StaticRegistry.d.ts +0 -4
  523. data/node_modules/npm-check-updates/build/src/types/StaticRegistry.js +0 -3
  524. data/node_modules/npm-check-updates/build/src/types/StaticRegistry.js.map +0 -1
  525. data/node_modules/npm-check-updates/build/src/types/Target.d.ts +0 -9
  526. data/node_modules/npm-check-updates/build/src/types/Target.js +0 -6
  527. data/node_modules/npm-check-updates/build/src/types/Target.js.map +0 -1
  528. data/node_modules/npm-check-updates/build/src/types/TargetFunction.d.ts +0 -3
  529. data/node_modules/npm-check-updates/build/src/types/TargetFunction.js +0 -3
  530. data/node_modules/npm-check-updates/build/src/types/TargetFunction.js.map +0 -1
  531. data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.d.ts +0 -1
  532. data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.js +0 -3
  533. data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.js.map +0 -1
  534. data/node_modules/npm-check-updates/build/src/types/Version.d.ts +0 -2
  535. data/node_modules/npm-check-updates/build/src/types/Version.js +0 -3
  536. data/node_modules/npm-check-updates/build/src/types/Version.js.map +0 -1
  537. data/node_modules/npm-check-updates/build/src/types/VersionLevel.d.ts +0 -2
  538. data/node_modules/npm-check-updates/build/src/types/VersionLevel.js +0 -3
  539. data/node_modules/npm-check-updates/build/src/types/VersionLevel.js.map +0 -1
  540. data/node_modules/npm-check-updates/build/src/types/VersionResult.d.ts +0 -7
  541. data/node_modules/npm-check-updates/build/src/types/VersionResult.js +0 -3
  542. data/node_modules/npm-check-updates/build/src/types/VersionResult.js.map +0 -1
  543. data/node_modules/npm-check-updates/build/src/types/VersionSpec.d.ts +0 -2
  544. data/node_modules/npm-check-updates/build/src/types/VersionSpec.js +0 -3
  545. data/node_modules/npm-check-updates/build/src/types/VersionSpec.js.map +0 -1
  546. data/node_modules/npm-check-updates/node_modules/chalk/license +0 -9
  547. data/node_modules/npm-check-updates/node_modules/chalk/package.json +0 -83
  548. data/node_modules/npm-check-updates/node_modules/chalk/readme.md +0 -325
  549. data/node_modules/npm-check-updates/node_modules/chalk/source/index.d.ts +0 -320
  550. data/node_modules/npm-check-updates/node_modules/chalk/source/index.js +0 -225
  551. data/node_modules/npm-check-updates/node_modules/chalk/source/utilities.js +0 -33
  552. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  553. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  554. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  555. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  556. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  557. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  558. data/node_modules/npm-check-updates/node_modules/minimatch/LICENSE +0 -15
  559. data/node_modules/npm-check-updates/node_modules/minimatch/README.md +0 -454
  560. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
  561. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
  562. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  563. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  564. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
  565. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
  566. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.js +0 -589
  567. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  568. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
  569. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
  570. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
  571. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  572. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
  573. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  574. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.js +0 -22
  575. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
  576. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
  577. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  578. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.js +0 -1011
  579. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  580. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/package.json +0 -3
  581. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
  582. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
  583. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.js +0 -24
  584. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
  585. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
  586. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
  587. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
  588. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  589. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
  590. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
  591. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.js +0 -585
  592. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  593. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
  594. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
  595. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
  596. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  597. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
  598. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  599. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.js +0 -18
  600. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
  601. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
  602. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  603. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.js +0 -995
  604. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  605. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/package.json +0 -3
  606. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
  607. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
  608. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.js +0 -20
  609. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
  610. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  611. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -135
  612. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -203
  613. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -46
  614. data/node_modules/npm-check-updates/node_modules/minimatch/package.json +0 -86
  615. data/node_modules/npm-check-updates/node_modules/strip-ansi/index.d.ts +0 -15
  616. data/node_modules/npm-check-updates/node_modules/strip-ansi/index.js +0 -14
  617. data/node_modules/npm-check-updates/node_modules/strip-ansi/license +0 -9
  618. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +0 -33
  619. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/index.js +0 -8
  620. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/license +0 -9
  621. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/package.json +0 -58
  622. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +0 -72
  623. data/node_modules/npm-check-updates/node_modules/strip-ansi/package.json +0 -57
  624. data/node_modules/npm-check-updates/node_modules/strip-ansi/readme.md +0 -41
  625. data/node_modules/rimraf/dist/commonjs/default-tmp.d.ts +0 -3
  626. data/node_modules/rimraf/dist/commonjs/default-tmp.d.ts.map +0 -1
  627. data/node_modules/rimraf/dist/commonjs/default-tmp.js +0 -61
  628. data/node_modules/rimraf/dist/commonjs/default-tmp.js.map +0 -1
  629. data/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts +0 -3
  630. data/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts.map +0 -1
  631. data/node_modules/rimraf/dist/commonjs/fix-eperm.js +0 -58
  632. data/node_modules/rimraf/dist/commonjs/fix-eperm.js.map +0 -1
  633. data/node_modules/rimraf/dist/commonjs/fs.d.ts +0 -17
  634. data/node_modules/rimraf/dist/commonjs/fs.d.ts.map +0 -1
  635. data/node_modules/rimraf/dist/commonjs/fs.js +0 -46
  636. data/node_modules/rimraf/dist/commonjs/fs.js.map +0 -1
  637. data/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts +0 -3
  638. data/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts.map +0 -1
  639. data/node_modules/rimraf/dist/commonjs/ignore-enoent.js +0 -21
  640. data/node_modules/rimraf/dist/commonjs/ignore-enoent.js.map +0 -1
  641. data/node_modules/rimraf/dist/commonjs/index.d.ts +0 -50
  642. data/node_modules/rimraf/dist/commonjs/index.d.ts.map +0 -1
  643. data/node_modules/rimraf/dist/commonjs/index.js +0 -76
  644. data/node_modules/rimraf/dist/commonjs/index.js.map +0 -1
  645. data/node_modules/rimraf/dist/commonjs/opt-arg.d.ts +0 -35
  646. data/node_modules/rimraf/dist/commonjs/opt-arg.d.ts.map +0 -1
  647. data/node_modules/rimraf/dist/commonjs/opt-arg.js +0 -53
  648. data/node_modules/rimraf/dist/commonjs/opt-arg.js.map +0 -1
  649. data/node_modules/rimraf/dist/commonjs/package.json +0 -1
  650. data/node_modules/rimraf/dist/commonjs/path-arg.d.ts +0 -4
  651. data/node_modules/rimraf/dist/commonjs/path-arg.d.ts.map +0 -1
  652. data/node_modules/rimraf/dist/commonjs/path-arg.js +0 -54
  653. data/node_modules/rimraf/dist/commonjs/path-arg.js.map +0 -1
  654. data/node_modules/rimraf/dist/commonjs/platform.d.ts +0 -3
  655. data/node_modules/rimraf/dist/commonjs/platform.d.ts.map +0 -1
  656. data/node_modules/rimraf/dist/commonjs/platform.js +0 -4
  657. data/node_modules/rimraf/dist/commonjs/platform.js.map +0 -1
  658. data/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts +0 -5
  659. data/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts.map +0 -1
  660. data/node_modules/rimraf/dist/commonjs/readdir-or-error.js +0 -19
  661. data/node_modules/rimraf/dist/commonjs/readdir-or-error.js.map +0 -1
  662. data/node_modules/rimraf/dist/commonjs/retry-busy.d.ts +0 -8
  663. data/node_modules/rimraf/dist/commonjs/retry-busy.d.ts.map +0 -1
  664. data/node_modules/rimraf/dist/commonjs/retry-busy.js +0 -68
  665. data/node_modules/rimraf/dist/commonjs/retry-busy.js.map +0 -1
  666. data/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts +0 -3
  667. data/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts.map +0 -1
  668. data/node_modules/rimraf/dist/commonjs/rimraf-manual.js +0 -12
  669. data/node_modules/rimraf/dist/commonjs/rimraf-manual.js.map +0 -1
  670. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts +0 -4
  671. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts.map +0 -1
  672. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js +0 -192
  673. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js.map +0 -1
  674. data/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts +0 -4
  675. data/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts.map +0 -1
  676. data/node_modules/rimraf/dist/commonjs/rimraf-native.js +0 -24
  677. data/node_modules/rimraf/dist/commonjs/rimraf-native.js.map +0 -1
  678. data/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts +0 -4
  679. data/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts.map +0 -1
  680. data/node_modules/rimraf/dist/commonjs/rimraf-posix.js +0 -123
  681. data/node_modules/rimraf/dist/commonjs/rimraf-posix.js.map +0 -1
  682. data/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts +0 -4
  683. data/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts.map +0 -1
  684. data/node_modules/rimraf/dist/commonjs/rimraf-windows.js +0 -182
  685. data/node_modules/rimraf/dist/commonjs/rimraf-windows.js.map +0 -1
  686. data/node_modules/rimraf/dist/commonjs/use-native.d.ts +0 -4
  687. data/node_modules/rimraf/dist/commonjs/use-native.d.ts.map +0 -1
  688. data/node_modules/rimraf/dist/commonjs/use-native.js +0 -22
  689. data/node_modules/rimraf/dist/commonjs/use-native.js.map +0 -1
  690. data/node_modules/rimraf/dist/esm/bin.d.mts +0 -8
  691. data/node_modules/rimraf/dist/esm/bin.d.mts.map +0 -1
  692. data/node_modules/rimraf/dist/esm/bin.mjs +0 -256
  693. data/node_modules/rimraf/dist/esm/bin.mjs.map +0 -1
  694. data/node_modules/rimraf/dist/esm/default-tmp.d.ts +0 -3
  695. data/node_modules/rimraf/dist/esm/default-tmp.d.ts.map +0 -1
  696. data/node_modules/rimraf/dist/esm/default-tmp.js +0 -55
  697. data/node_modules/rimraf/dist/esm/default-tmp.js.map +0 -1
  698. data/node_modules/rimraf/dist/esm/fix-eperm.d.ts +0 -3
  699. data/node_modules/rimraf/dist/esm/fix-eperm.d.ts.map +0 -1
  700. data/node_modules/rimraf/dist/esm/fix-eperm.js +0 -53
  701. data/node_modules/rimraf/dist/esm/fix-eperm.js.map +0 -1
  702. data/node_modules/rimraf/dist/esm/fs.d.ts +0 -17
  703. data/node_modules/rimraf/dist/esm/fs.d.ts.map +0 -1
  704. data/node_modules/rimraf/dist/esm/fs.js +0 -31
  705. data/node_modules/rimraf/dist/esm/fs.js.map +0 -1
  706. data/node_modules/rimraf/dist/esm/ignore-enoent.d.ts +0 -3
  707. data/node_modules/rimraf/dist/esm/ignore-enoent.d.ts.map +0 -1
  708. data/node_modules/rimraf/dist/esm/ignore-enoent.js +0 -16
  709. data/node_modules/rimraf/dist/esm/ignore-enoent.js.map +0 -1
  710. data/node_modules/rimraf/dist/esm/index.d.ts +0 -50
  711. data/node_modules/rimraf/dist/esm/index.d.ts.map +0 -1
  712. data/node_modules/rimraf/dist/esm/index.js +0 -68
  713. data/node_modules/rimraf/dist/esm/index.js.map +0 -1
  714. data/node_modules/rimraf/dist/esm/opt-arg.d.ts +0 -35
  715. data/node_modules/rimraf/dist/esm/opt-arg.d.ts.map +0 -1
  716. data/node_modules/rimraf/dist/esm/opt-arg.js +0 -46
  717. data/node_modules/rimraf/dist/esm/opt-arg.js.map +0 -1
  718. data/node_modules/rimraf/dist/esm/package.json +0 -1
  719. data/node_modules/rimraf/dist/esm/path-arg.d.ts +0 -4
  720. data/node_modules/rimraf/dist/esm/path-arg.d.ts.map +0 -1
  721. data/node_modules/rimraf/dist/esm/path-arg.js +0 -49
  722. data/node_modules/rimraf/dist/esm/path-arg.js.map +0 -1
  723. data/node_modules/rimraf/dist/esm/platform.d.ts +0 -3
  724. data/node_modules/rimraf/dist/esm/platform.d.ts.map +0 -1
  725. data/node_modules/rimraf/dist/esm/platform.js +0 -2
  726. data/node_modules/rimraf/dist/esm/platform.js.map +0 -1
  727. data/node_modules/rimraf/dist/esm/readdir-or-error.d.ts +0 -5
  728. data/node_modules/rimraf/dist/esm/readdir-or-error.d.ts.map +0 -1
  729. data/node_modules/rimraf/dist/esm/readdir-or-error.js +0 -14
  730. data/node_modules/rimraf/dist/esm/readdir-or-error.js.map +0 -1
  731. data/node_modules/rimraf/dist/esm/retry-busy.d.ts +0 -8
  732. data/node_modules/rimraf/dist/esm/retry-busy.d.ts.map +0 -1
  733. data/node_modules/rimraf/dist/esm/retry-busy.js +0 -63
  734. data/node_modules/rimraf/dist/esm/retry-busy.js.map +0 -1
  735. data/node_modules/rimraf/dist/esm/rimraf-manual.d.ts +0 -3
  736. data/node_modules/rimraf/dist/esm/rimraf-manual.d.ts.map +0 -1
  737. data/node_modules/rimraf/dist/esm/rimraf-manual.js +0 -6
  738. data/node_modules/rimraf/dist/esm/rimraf-manual.js.map +0 -1
  739. data/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts +0 -4
  740. data/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts.map +0 -1
  741. data/node_modules/rimraf/dist/esm/rimraf-move-remove.js +0 -187
  742. data/node_modules/rimraf/dist/esm/rimraf-move-remove.js.map +0 -1
  743. data/node_modules/rimraf/dist/esm/rimraf-native.d.ts +0 -4
  744. data/node_modules/rimraf/dist/esm/rimraf-native.d.ts.map +0 -1
  745. data/node_modules/rimraf/dist/esm/rimraf-native.js +0 -19
  746. data/node_modules/rimraf/dist/esm/rimraf-native.js.map +0 -1
  747. data/node_modules/rimraf/dist/esm/rimraf-posix.d.ts +0 -4
  748. data/node_modules/rimraf/dist/esm/rimraf-posix.d.ts.map +0 -1
  749. data/node_modules/rimraf/dist/esm/rimraf-posix.js +0 -118
  750. data/node_modules/rimraf/dist/esm/rimraf-posix.js.map +0 -1
  751. data/node_modules/rimraf/dist/esm/rimraf-windows.d.ts +0 -4
  752. data/node_modules/rimraf/dist/esm/rimraf-windows.d.ts.map +0 -1
  753. data/node_modules/rimraf/dist/esm/rimraf-windows.js +0 -177
  754. data/node_modules/rimraf/dist/esm/rimraf-windows.js.map +0 -1
  755. data/node_modules/rimraf/dist/esm/use-native.d.ts +0 -4
  756. data/node_modules/rimraf/dist/esm/use-native.d.ts.map +0 -1
  757. data/node_modules/rimraf/dist/esm/use-native.js +0 -16
  758. data/node_modules/rimraf/dist/esm/use-native.js.map +0 -1
  759. data/node_modules/semver/classes/comparator.js +0 -141
  760. data/node_modules/semver/classes/index.js +0 -5
  761. data/node_modules/semver/classes/range.js +0 -539
  762. data/node_modules/semver/classes/semver.js +0 -302
  763. data/node_modules/semver/functions/clean.js +0 -6
  764. data/node_modules/semver/functions/cmp.js +0 -52
  765. data/node_modules/semver/functions/coerce.js +0 -52
  766. data/node_modules/semver/functions/compare-build.js +0 -7
  767. data/node_modules/semver/functions/compare-loose.js +0 -3
  768. data/node_modules/semver/functions/compare.js +0 -5
  769. data/node_modules/semver/functions/diff.js +0 -65
  770. data/node_modules/semver/functions/eq.js +0 -3
  771. data/node_modules/semver/functions/gt.js +0 -3
  772. data/node_modules/semver/functions/gte.js +0 -3
  773. data/node_modules/semver/functions/inc.js +0 -19
  774. data/node_modules/semver/functions/lt.js +0 -3
  775. data/node_modules/semver/functions/lte.js +0 -3
  776. data/node_modules/semver/functions/major.js +0 -3
  777. data/node_modules/semver/functions/minor.js +0 -3
  778. data/node_modules/semver/functions/neq.js +0 -3
  779. data/node_modules/semver/functions/parse.js +0 -16
  780. data/node_modules/semver/functions/patch.js +0 -3
  781. data/node_modules/semver/functions/prerelease.js +0 -6
  782. data/node_modules/semver/functions/rcompare.js +0 -3
  783. data/node_modules/semver/functions/rsort.js +0 -3
  784. data/node_modules/semver/functions/satisfies.js +0 -10
  785. data/node_modules/semver/functions/sort.js +0 -3
  786. data/node_modules/semver/functions/valid.js +0 -6
  787. data/node_modules/semver/index.js +0 -89
  788. data/node_modules/semver/internal/constants.js +0 -35
  789. data/node_modules/semver/internal/debug.js +0 -9
  790. data/node_modules/semver/internal/identifiers.js +0 -23
  791. data/node_modules/semver/internal/parse-options.js +0 -15
  792. data/node_modules/semver/internal/re.js +0 -212
  793. data/node_modules/semver/node_modules/lru-cache/LICENSE +0 -15
  794. data/node_modules/semver/node_modules/lru-cache/README.md +0 -166
  795. data/node_modules/semver/node_modules/lru-cache/index.js +0 -334
  796. data/node_modules/semver/node_modules/lru-cache/package.json +0 -34
  797. data/node_modules/semver/preload.js +0 -2
  798. data/node_modules/semver/ranges/gtr.js +0 -4
  799. data/node_modules/semver/ranges/intersects.js +0 -7
  800. data/node_modules/semver/ranges/ltr.js +0 -4
  801. data/node_modules/semver/ranges/max-satisfying.js +0 -25
  802. data/node_modules/semver/ranges/min-satisfying.js +0 -24
  803. data/node_modules/semver/ranges/min-version.js +0 -61
  804. data/node_modules/semver/ranges/outside.js +0 -80
  805. data/node_modules/semver/ranges/simplify.js +0 -47
  806. data/node_modules/semver/ranges/subset.js +0 -247
  807. data/node_modules/semver/ranges/to-comparators.js +0 -8
  808. data/node_modules/semver/ranges/valid.js +0 -11
  809. /data/node_modules/{eslint/node_modules/chalk → chalk}/index.d.ts +0 -0
  810. /data/node_modules/{eslint/node_modules/chalk → chalk}/source/templates.js +0 -0
  811. /data/node_modules/{eslint/node_modules/chalk → chalk}/source/util.js +0 -0
  812. /data/node_modules/{@eslint/config-array/node_modules/minimatch → minimatch}/minimatch.js +0 -0
@@ -1,688 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- var __importDefault = (this && this.__importDefault) || function (mod) {
26
- return (mod && mod.__esModule) ? mod : { "default": mod };
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.semver = exports.patch = exports.minor = exports.newest = exports.latest = exports.distTag = exports.list = exports.getPeerDependencies = exports.greatest = exports.defaultPrefix = exports.viewOne = exports.viewManyMemoized = exports.mockViewMany = exports.packageAuthorChanged = exports.normalizeNpmConfig = void 0;
30
- const fast_memoize_1 = __importDefault(require("fast-memoize"));
31
- const fs_1 = __importDefault(require("fs"));
32
- const ini_1 = __importDefault(require("ini"));
33
- const camelCase_1 = __importDefault(require("lodash/camelCase"));
34
- const filter_1 = __importDefault(require("lodash/filter"));
35
- const get_1 = __importDefault(require("lodash/get"));
36
- const isEqual_1 = __importDefault(require("lodash/isEqual"));
37
- const last_1 = __importDefault(require("lodash/last"));
38
- const omit_1 = __importDefault(require("lodash/omit"));
39
- const sortBy_1 = __importDefault(require("lodash/sortBy"));
40
- const pacote_1 = __importDefault(require("pacote"));
41
- const path_1 = __importDefault(require("path"));
42
- const semver_1 = __importDefault(require("semver"));
43
- const semver_utils_1 = require("semver-utils");
44
- const spawn_please_1 = __importDefault(require("spawn-please"));
45
- const untildify_1 = __importDefault(require("untildify"));
46
- const filterObject_1 = __importDefault(require("../lib/filterObject"));
47
- const keyValueBy_1 = require("../lib/keyValueBy");
48
- const libnpmconfig_1 = __importDefault(require("../lib/libnpmconfig"));
49
- const logging_1 = require("../lib/logging");
50
- const versionUtil = __importStar(require("../lib/version-util"));
51
- const filters_1 = require("./filters");
52
- const EXPLICIT_RANGE_OPS = new Set(['-', '||', '&&', '<', '<=', '>', '>=']);
53
- /** Returns true if the spec is an explicit version range (not ~ or ^). */
54
- const isExplicitRange = (spec) => {
55
- const range = (0, semver_utils_1.parseRange)(spec);
56
- return range.some(parsed => EXPLICIT_RANGE_OPS.has(parsed.operator || ''));
57
- };
58
- /** Returns true if the version is sa valid, exact version. */
59
- const isExactVersion = (version) => version && (!semver_1.default.validRange(version) || versionUtil.isWildCard(version));
60
- /** Normalizes the keys of an npm config for pacote. */
61
- const normalizeNpmConfig = (npmConfig,
62
- // config path used to determine relative cafile paths
63
- configPath) => {
64
- const npmConfigToPacoteMap = {
65
- cafile: (capath) => {
66
- // load-cafile, based on github.com/npm/cli/blob/40c1b0f/lib/config/load-cafile.js
67
- if (!capath)
68
- return;
69
- // synchronous since it is loaded once on startup, and to avoid complexity in libnpmconfig.read
70
- // https://github.com/raineorshine/npm-check-updates/issues/636?notification_referrer_id=MDE4Ok5vdGlmaWNhdGlvblRocmVhZDc0Njk2NjAzMjo3NTAyNzY%3D
71
- const cadata = fs_1.default.readFileSync(path_1.default.resolve(configPath || '', (0, untildify_1.default)(capath)), 'utf8');
72
- const delim = '-----END CERTIFICATE-----';
73
- const output = cadata
74
- .split(delim)
75
- .filter(xs => !!xs.trim())
76
- .map(xs => `${xs.trimStart()}${delim}`);
77
- return { ca: output };
78
- },
79
- maxsockets: 'maxSockets',
80
- 'strict-ssl': 'strictSSL',
81
- };
82
- // all config variables are read in as strings, so we need to type coerce non-strings
83
- // lowercased and hyphens removed for comparison purposes
84
- const keyTypes = {
85
- all: 'boolean',
86
- allowsameversion: 'boolean',
87
- audit: 'boolean',
88
- binlinks: 'boolean',
89
- color: 'boolean',
90
- commithooks: 'boolean',
91
- description: 'boolean',
92
- dev: 'boolean',
93
- diffignoreallspace: 'boolean',
94
- diffnameonly: 'boolean',
95
- diffnoprefix: 'boolean',
96
- difftext: 'boolean',
97
- dryrun: 'boolean',
98
- enginestrict: 'boolean',
99
- force: 'boolean',
100
- foregroundscripts: 'boolean',
101
- formatpackagelock: 'boolean',
102
- fund: 'boolean',
103
- gittagversion: 'boolean',
104
- global: 'boolean',
105
- globalstyle: 'boolean',
106
- ifpresent: 'boolean',
107
- ignorescripts: 'boolean',
108
- includestaged: 'boolean',
109
- includeworkspaceroot: 'boolean',
110
- installlinks: 'boolean',
111
- json: 'boolean',
112
- legacybundling: 'boolean',
113
- legacypeerdeps: 'boolean',
114
- link: 'boolean',
115
- long: 'boolean',
116
- offline: 'boolean',
117
- omitlockfileregistryresolved: 'boolean',
118
- packagelock: 'boolean',
119
- packagelockonly: 'boolean',
120
- parseable: 'boolean',
121
- preferoffline: 'boolean',
122
- preferonline: 'boolean',
123
- progress: 'boolean',
124
- readonly: 'boolean',
125
- rebuildbundle: 'boolean',
126
- save: 'boolean',
127
- savebundle: 'boolean',
128
- savedev: 'boolean',
129
- saveexact: 'boolean',
130
- saveoptional: 'boolean',
131
- savepeer: 'boolean',
132
- saveprod: 'boolean',
133
- shrinkwrap: 'boolean',
134
- signgitcommit: 'boolean',
135
- signgittag: 'boolean',
136
- strictpeerdeps: 'boolean',
137
- strictssl: 'boolean',
138
- timing: 'boolean',
139
- unicode: 'boolean',
140
- updatenotifier: 'boolean',
141
- usage: 'boolean',
142
- version: 'boolean',
143
- versions: 'boolean',
144
- workspacesupdate: 'boolean',
145
- diffunified: 'number',
146
- fetchretries: 'number',
147
- fetchretryfactor: 'number',
148
- fetchretrymaxtimeout: 'number',
149
- fetchretrymintimeout: 'number',
150
- fetchtimeout: 'number',
151
- logsmax: 'number',
152
- maxsockets: 'number',
153
- searchlimit: 'number',
154
- searchstaleness: 'number',
155
- ssopollfrequency: 'number',
156
- timeout: 'number',
157
- };
158
- /** Parses a string to a boolean. */
159
- const stringToBoolean = (s) => !!s && s !== 'false' && s !== '0';
160
- /** Parses a string to a number. */
161
- const stringToNumber = (s) => parseInt(s) || 0;
162
- // needed until pacote supports full npm config compatibility
163
- // See: https://github.com/zkat/pacote/issues/156
164
- const config = (0, keyValueBy_1.keyValueBy)(npmConfig, (key, value) => {
165
- // replace env ${VARS} in strings with the process.env value
166
- const normalizedValue = typeof value !== 'string'
167
- ? value
168
- : // parse stringified booleans
169
- keyTypes[key.replace(/-/g, '').toLowerCase()] === 'boolean'
170
- ? stringToBoolean(value)
171
- : keyTypes[key.replace(/-/g, '').toLowerCase()] === 'number'
172
- ? stringToNumber(value)
173
- : value.replace(/\${([^}]+)}/, (_, envVar) => process.env[envVar]);
174
- // normalize the key for pacote
175
- const { [key]: pacoteKey } = npmConfigToPacoteMap;
176
- return typeof pacoteKey === 'string'
177
- ? // key is mapped to a string
178
- { [pacoteKey]: normalizedValue }
179
- : // key is mapped to a function
180
- typeof pacoteKey === 'function'
181
- ? { ...pacoteKey(normalizedValue.toString()) }
182
- : // otherwise assign the camel-cased key
183
- { [key.match(/^[a-z]/i) ? (0, camelCase_1.default)(key) : key]: normalizedValue };
184
- });
185
- return config;
186
- };
187
- exports.normalizeNpmConfig = normalizeNpmConfig;
188
- /** Finds and parses the npm config at the given path. If the path does not exist, returns null. If no path is provided, finds and merges the global and user npm configs using libnpmconfig and sets cache: false. */
189
- const findNpmConfig = (0, fast_memoize_1.default)((configPath) => {
190
- let config;
191
- if (configPath) {
192
- try {
193
- config = ini_1.default.parse(fs_1.default.readFileSync(configPath, 'utf-8'));
194
- }
195
- catch (err) {
196
- if (err.code === 'ENOENT') {
197
- return null;
198
- }
199
- else {
200
- throw err;
201
- }
202
- }
203
- }
204
- else {
205
- // libnpmconfig incorrectly (?) ignores NPM_CONFIG_USERCONFIG because it is always overridden by the default builtin.userconfig
206
- // set userconfig manually so that it is prioritized
207
- const opts = libnpmconfig_1.default.read(null, {
208
- userconfig: process.env.npm_config_userconfig || process.env.NPM_CONFIG_USERCONFIG,
209
- });
210
- config = {
211
- ...opts.toJSON(),
212
- cache: false,
213
- };
214
- }
215
- return (0, exports.normalizeNpmConfig)(config, configPath);
216
- });
217
- // get the base config that is used for all npm queries
218
- // this may be partially overwritten by .npmrc config files when using --deep
219
- const npmConfig = findNpmConfig();
220
- /** A promise that returns true if --global is deprecated on the system npm. Spawns "npm --version". */
221
- const isGlobalDeprecated = (0, fast_memoize_1.default)(async () => {
222
- const cmd = process.platform === 'win32' ? 'npm.cmd' : 'npm';
223
- const output = await (0, spawn_please_1.default)(cmd, ['--version']);
224
- const npmVersion = output.trim();
225
- // --global was deprecated in npm v8.11.0.
226
- return semver_1.default.valid(npmVersion) && semver_1.default.gte(npmVersion, '8.11.0');
227
- });
228
- /**
229
- * @typedef {object} CommandAndPackageName
230
- * @property {string} command
231
- * @property {string} packageName
232
- */
233
- /**
234
- * Parse JSON and throw an informative error on failure.
235
- *
236
- * @param result Data to be parsed
237
- * @param data
238
- * @returns
239
- */
240
- function parseJson(result, data) {
241
- let json;
242
- try {
243
- json = JSON.parse(result);
244
- }
245
- catch (err) {
246
- throw new Error(`Expected JSON from "${data.command}".${data.packageName ? ` There could be problems with the ${data.packageName} package.` : ''} ${result ? 'Instead received: ' + result : 'Received empty response.'}`);
247
- }
248
- return json;
249
- }
250
- /**
251
- * Check if package author changed between current and upgraded version.
252
- *
253
- * @param packageName Name of the package
254
- * @param currentVersion Current version declaration (may be range)
255
- * @param upgradedVersion Upgraded version declaration (may be range)
256
- * @param npmConfigLocal Additional npm config variables that are merged into the system npm config
257
- * @returns A promise that fulfills with boolean value.
258
- */
259
- async function packageAuthorChanged(packageName, currentVersion, upgradedVersion, options = {}, npmConfigLocal) {
260
- var _a, _b;
261
- const result = await pacote_1.default.packument(packageName, {
262
- ...npmConfigLocal,
263
- ...npmConfig,
264
- fullMetadata: true,
265
- ...(options.registry ? { registry: options.registry, silent: true } : null),
266
- });
267
- if (result.versions) {
268
- const pkgVersions = Object.keys(result.versions);
269
- const current = semver_1.default.minSatisfying(pkgVersions, currentVersion);
270
- const upgraded = semver_1.default.maxSatisfying(pkgVersions, upgradedVersion);
271
- if (current && upgraded && result.versions[current]._npmUser && result.versions[upgraded]._npmUser) {
272
- const currentAuthor = (_a = result.versions[current]._npmUser) === null || _a === void 0 ? void 0 : _a.name;
273
- const latestAuthor = (_b = result.versions[upgraded]._npmUser) === null || _b === void 0 ? void 0 : _b.name;
274
- return !(0, isEqual_1.default)(currentAuthor, latestAuthor);
275
- }
276
- }
277
- return false;
278
- }
279
- exports.packageAuthorChanged = packageAuthorChanged;
280
- /** Returns true if an object is a Packument. */
281
- const isPackument = (o) => o && (o.name || o.engines || o.version || o.versions);
282
- /** Creates a function with the same signature as viewMany that always returns the given versions. */
283
- const mockViewMany = (mockReturnedVersions) => (name, fields, currentVersion, options) => {
284
- var _a, _b;
285
- // a partial Packument
286
- const partialPackument = typeof mockReturnedVersions === 'function'
287
- ? (_a = mockReturnedVersions(options)) === null || _a === void 0 ? void 0 : _a[name]
288
- : typeof mockReturnedVersions === 'string' || isPackument(mockReturnedVersions)
289
- ? mockReturnedVersions
290
- : mockReturnedVersions[name];
291
- const version = isPackument(partialPackument) ? partialPackument.version : partialPackument;
292
- // if there is no version, hard exit
293
- // otherwise getPackageProtected will swallow the error
294
- if (!version) {
295
- console.error(`No mock version supplied for ${name}`);
296
- process.exit(1);
297
- }
298
- const time = (isPackument(partialPackument) && ((_b = partialPackument.time) === null || _b === void 0 ? void 0 : _b[version])) || new Date().toISOString();
299
- const packument = {
300
- name,
301
- engines: { node: '' },
302
- time: {
303
- [version]: time,
304
- },
305
- version,
306
- // overwritten below
307
- versions: [],
308
- ...(isPackument(partialPackument) ? partialPackument : null),
309
- };
310
- return Promise.resolve((0, keyValueBy_1.keyValueBy)(fields, field => ({
311
- [field]: field === 'versions'
312
- ? {
313
- [version]: packument,
314
- }
315
- : field === 'time'
316
- ? {
317
- [version]: time,
318
- }
319
- : {
320
- ...packument,
321
- versions: [packument],
322
- },
323
- })));
324
- };
325
- exports.mockViewMany = mockViewMany;
326
- /** Merges the workspace, global, user, local, project, and cwd npm configs (in that order). */
327
- // Note that this is memoized on configs and options, but not on package name. This avoids duplicate messages when log level is verbose. findNpmConfig is memoized on config path, so it is not expensive to call multiple times.
328
- const mergeNpmConfigs = (0, fast_memoize_1.default)(({ npmConfigLocal, npmConfigUser, npmConfigWorkspaceProject, }, options) => {
329
- // merge project npm config with base config
330
- const npmConfigProjectPath = options.packageFile ? path_1.default.join(options.packageFile, '../.npmrc') : null;
331
- const npmConfigProject = options.packageFile ? findNpmConfig(npmConfigProjectPath || undefined) : null;
332
- const npmConfigCWDPath = options.cwd ? path_1.default.join(options.cwd, '.npmrc') : null;
333
- const npmConfigCWD = options.cwd ? findNpmConfig(npmConfigCWDPath) : null;
334
- if (npmConfigWorkspaceProject && Object.keys(npmConfigWorkspaceProject).length > 0) {
335
- (0, logging_1.print)(options, `\nnpm config (workspace project):`, 'verbose');
336
- (0, logging_1.printSorted)(options, (0, omit_1.default)(npmConfigWorkspaceProject, 'cache'), 'verbose');
337
- }
338
- if (npmConfigUser && Object.keys(npmConfigUser).length > 0) {
339
- (0, logging_1.print)(options, `\nnpm config (user):`, 'verbose');
340
- (0, logging_1.printSorted)(options, (0, omit_1.default)(npmConfigUser, 'cache'), 'verbose');
341
- }
342
- if (npmConfigLocal && Object.keys(npmConfigLocal).length > 0) {
343
- (0, logging_1.print)(options, `\nnpm config (local override):`, 'verbose');
344
- (0, logging_1.printSorted)(options, (0, omit_1.default)(npmConfigLocal, 'cache'), 'verbose');
345
- }
346
- if (npmConfigProject && Object.keys(npmConfigProject).length > 0) {
347
- (0, logging_1.print)(options, `\nnpm config (project: ${npmConfigProjectPath}):`, 'verbose');
348
- (0, logging_1.printSorted)(options, (0, omit_1.default)(npmConfigProject, 'cache'), 'verbose');
349
- }
350
- if (npmConfigCWD && Object.keys(npmConfigCWD).length > 0) {
351
- (0, logging_1.print)(options, `\nnpm config (cwd: ${npmConfigCWDPath}):`, 'verbose');
352
- // omit cache since it is added to every config
353
- (0, logging_1.printSorted)(options, (0, omit_1.default)(npmConfigCWD, 'cache'), 'verbose');
354
- }
355
- const npmConfigMerged = {
356
- ...npmConfigWorkspaceProject,
357
- ...npmConfigUser,
358
- ...npmConfigLocal,
359
- ...npmConfigProject,
360
- ...npmConfigCWD,
361
- ...(options.registry ? { registry: options.registry, silent: true } : null),
362
- ...(options.timeout ? { timeout: options.timeout } : null),
363
- };
364
- const isMerged = npmConfigWorkspaceProject || npmConfigLocal || npmConfigProject || npmConfigCWD;
365
- if (isMerged) {
366
- (0, logging_1.print)(options, `\nmerged npm config:`, 'verbose');
367
- // omit cache since it is added to every config
368
- (0, logging_1.printSorted)(options, (0, omit_1.default)(npmConfigMerged, 'cache'), 'verbose');
369
- }
370
- return npmConfigMerged;
371
- });
372
- /**
373
- * Returns an object of specified values retrieved by npm view.
374
- *
375
- * @param packageName Name of the package
376
- * @param fields Array of fields like versions, time, version
377
- * @param currentVersion
378
- * @returns dist-tags field return Index<Packument>, time field returns Index<Index<string>>>, versions field returns Index<Index<Packument>>
379
- */
380
- async function viewMany(packageName, fields, currentVersion, options, retried = 0, npmConfigLocal, npmConfigWorkspaceProject) {
381
- var _a;
382
- // See: /test/helpers/stubNpmView
383
- if (process.env.STUB_NPM_VIEW) {
384
- const mockReturnedVersions = JSON.parse(process.env.STUB_NPM_VIEW);
385
- return (0, exports.mockViewMany)(mockReturnedVersions)(packageName, fields, currentVersion, options);
386
- }
387
- if (isExactVersion(currentVersion)) {
388
- return Promise.resolve({});
389
- }
390
- // fields may already include time
391
- const fieldsExtended = ((_a = options.format) === null || _a === void 0 ? void 0 : _a.includes('time')) ? [...fields, 'time'] : fields;
392
- const fullMetadata = fieldsExtended.includes('time');
393
- const npmConfigMerged = mergeNpmConfigs({
394
- npmConfigUser: { ...npmConfig, fullMetadata },
395
- npmConfigLocal,
396
- npmConfigWorkspaceProject,
397
- }, options);
398
- let result;
399
- try {
400
- result = await pacote_1.default.packument(packageName, npmConfigMerged);
401
- }
402
- catch (err) {
403
- if (options.retry && ++retried <= options.retry) {
404
- return viewMany(packageName, fieldsExtended, currentVersion, options, retried, npmConfigLocal);
405
- }
406
- throw err;
407
- }
408
- // select each field from the result object
409
- const resultNormalized = (0, keyValueBy_1.keyValueBy)(fields, field => {
410
- let value = result[field];
411
- // index into the result object to get the dist-tag
412
- if (field.startsWith('dist-tags.') && result.versions) {
413
- const packument = result.versions[(0, get_1.default)(result, field)];
414
- // since viewOne only keeps a single field, we need to add time onto the dist-tag field
415
- value = fullMetadata ? { ...packument, time: result.time } : packument;
416
- }
417
- return {
418
- [field]: value,
419
- };
420
- });
421
- return resultNormalized;
422
- }
423
- /** Memoize viewMany for --deep and --workspaces performance. */
424
- exports.viewManyMemoized = (0, fast_memoize_1.default)(viewMany, {
425
- // serializer args are incorrectly typed as any[] instead of being generic, so we need to cast it
426
- serializer: (([packageName, fields, currentVersion, options, retried, npmConfigLocal, npmConfigWorkspaceProject,]) => JSON.stringify([
427
- packageName,
428
- fields,
429
- // currentVersion does not change the behavior of viewMany unless it is an invalid/inexact version which causes it to short circuit
430
- isExactVersion(currentVersion),
431
- // packageFile varies by cwd in workspaces/deep mode, so we do not want to memoize on that
432
- (0, omit_1.default)(options, 'packageFile'),
433
- // make sure retries do not get memoized
434
- retried,
435
- npmConfigLocal,
436
- npmConfigWorkspaceProject,
437
- ])),
438
- });
439
- /**
440
- * Returns the value of one of the properties retrieved by npm view.
441
- *
442
- * @param packageName Name of the package
443
- * @param field Field such as "versions" or "dist-tags.latest" are parsed from the pacote result (https://www.npmjs.com/package/pacote#packument)
444
- * @param currentVersion
445
- * @returns Promised result
446
- */
447
- async function viewOne(packageName, field, currentVersion, options, npmConfigLocal, npmConfigProject) {
448
- const result = await (0, exports.viewManyMemoized)(packageName, [field], currentVersion, options, 0, npmConfigLocal, npmConfigProject);
449
- return result[field];
450
- }
451
- exports.viewOne = viewOne;
452
- /**
453
- * Spawns npm with --json. Handles different commands for Window and Linux/OSX, and automatically converts --location=global to --global on npm < 8.11.0.
454
- *
455
- * @param args
456
- * @param [npmOptions={}]
457
- * @param [spawnOptions={}]
458
- * @returns
459
- */
460
- async function spawnNpm(args, npmOptions = {}, spawnOptions = {}) {
461
- const cmd = process.platform === 'win32' ? 'npm.cmd' : 'npm';
462
- const fullArgs = [
463
- ...(npmOptions.location
464
- ? (await isGlobalDeprecated())
465
- ? [`--location=${npmOptions.location}`]
466
- : npmOptions.location === 'global'
467
- ? ['--global']
468
- : []
469
- : []),
470
- ...(npmOptions.prefix ? [`--prefix=${npmOptions.prefix}`] : []),
471
- '--json',
472
- ...(Array.isArray(args) ? args : [args]),
473
- ];
474
- return (0, spawn_please_1.default)(cmd, fullArgs, spawnOptions);
475
- }
476
- /**
477
- * Get platform-specific default prefix to pass on to npm.
478
- *
479
- * @param options
480
- * @param [options.global]
481
- * @param [options.prefix]
482
- * @returns
483
- */
484
- async function defaultPrefix(options) {
485
- if (options.prefix) {
486
- return Promise.resolve(options.prefix);
487
- }
488
- const cmd = process.platform === 'win32' ? 'npm.cmd' : 'npm';
489
- let prefix;
490
- // catch spawn error which can occur on Windows
491
- // https://github.com/raineorshine/npm-check-updates/issues/703
492
- try {
493
- prefix = await (0, spawn_please_1.default)(cmd, ['config', 'get', 'prefix']);
494
- }
495
- catch (e) {
496
- const message = (e.message || e || '').toString();
497
- (0, logging_1.print)(options, 'Error executing `npm config get prefix`. Caught and ignored. Unsolved: https://github.com/raineorshine/npm-check-updates/issues/703. ERROR: ' +
498
- message, 'verbose', 'error');
499
- }
500
- // FIX: for ncu -g doesn't work on homebrew or windows #146
501
- // https://github.com/raineorshine/npm-check-updates/issues/146
502
- return options.global && (prefix === null || prefix === void 0 ? void 0 : prefix.match('Cellar'))
503
- ? '/usr/local'
504
- : // Workaround: get prefix on windows for global packages
505
- // Only needed when using npm api directly
506
- process.platform === 'win32' && options.global && !process.env.prefix
507
- ? prefix
508
- ? prefix.trim()
509
- : `${process.env.AppData}\\npm`
510
- : undefined;
511
- }
512
- exports.defaultPrefix = defaultPrefix;
513
- /**
514
- * Fetches the highest version number, regardless of tag or publish time.
515
- *
516
- * @param packageName
517
- * @param currentVersion
518
- * @param options
519
- * @returns
520
- */
521
- const greatest = async (packageName, currentVersion, options = {}, npmConfig, npmConfigProject) => {
522
- // known type based on 'versions'
523
- const versions = (await viewOne(packageName, 'versions', currentVersion, options, npmConfig, npmConfigProject));
524
- return {
525
- version: (0, last_1.default)(
526
- // eslint-disable-next-line fp/no-mutating-methods
527
- (0, filter_1.default)(versions, (0, filters_1.filterPredicate)(options))
528
- .map(o => o.version)
529
- .sort(versionUtil.compareVersions)) || null,
530
- };
531
- };
532
- exports.greatest = greatest;
533
- /**
534
- * Fetches the list of peer dependencies for a specific package version.
535
- *
536
- * @param packageName
537
- * @param version
538
- * @returns Promised {packageName: version} collection
539
- */
540
- const getPeerDependencies = async (packageName, version) => {
541
- const args = ['view', `${packageName}@${version}`, 'peerDependencies'];
542
- const result = await spawnNpm(args, {}, { rejectOnError: false });
543
- return result ? parseJson(result, { command: [...args, '--json'].join(' ') }) : {};
544
- };
545
- exports.getPeerDependencies = getPeerDependencies;
546
- /**
547
- * Fetches the list of all installed packages.
548
- *
549
- * @param [options]
550
- * @param [options.cwd]
551
- * @param [options.global]
552
- * @param [options.prefix]
553
- * @returns
554
- */
555
- const list = async (options = {}) => {
556
- const result = await spawnNpm(['ls', '--depth=0'], {
557
- // spawnNpm takes the modern --location option and converts it to --global on older versions of npm
558
- ...(options.global ? { location: 'global' } : null),
559
- ...(options.prefix ? { prefix: options.prefix } : null),
560
- }, {
561
- ...(options.cwd ? { cwd: options.cwd } : null),
562
- rejectOnError: false,
563
- });
564
- const dependencies = parseJson(result, {
565
- command: `npm${process.platform === 'win32' ? '.cmd' : ''} ls --json${options.global ? ' --location=global' : ''}${options.prefix ? ' --prefix ' + options.prefix : ''}`,
566
- }).dependencies;
567
- return (0, keyValueBy_1.keyValueBy)(dependencies, (name, info) => {
568
- var _a;
569
- return ({
570
- // unmet peer dependencies have a different structure
571
- [name]: info.version || ((_a = info.required) === null || _a === void 0 ? void 0 : _a.version),
572
- });
573
- });
574
- };
575
- exports.list = list;
576
- /**
577
- * Fetches the version of a package published to options.distTag.
578
- *
579
- * @param packageName
580
- * @param currentVersion
581
- * @param options
582
- * @returns
583
- */
584
- const distTag = async (packageName, currentVersion, options = {}, npmConfig, npmConfigProject) => {
585
- var _a;
586
- const packument = (await viewOne(packageName, `dist-tags.${options.distTag}`, currentVersion, options, npmConfig, npmConfigProject)); // known type based on dist-tags.latest
587
- // latest should not be deprecated
588
- // if latest exists and latest is not a prerelease version, return it
589
- // if latest exists and latest is a prerelease version and --pre is specified, return it
590
- // if latest exists and latest not satisfies min version of engines.node
591
- if (packument && (0, filters_1.filterPredicate)(options)(packument)) {
592
- return {
593
- version: packument.version,
594
- ...(((_a = packument.time) === null || _a === void 0 ? void 0 : _a[packument.version]) ? { time: packument.time[packument.version] } : null),
595
- };
596
- }
597
- // If we use a custom dist-tag, we do not want to get other 'pre' versions, just the ones from this dist-tag
598
- if (options.distTag && options.distTag !== 'latest')
599
- return {};
600
- // if latest is a prerelease version and --pre is not specified
601
- // or latest is deprecated
602
- // find the next valid version
603
- // known type based on dist-tags.latest
604
- return (0, exports.greatest)(packageName, currentVersion, options, npmConfig, npmConfigProject);
605
- };
606
- exports.distTag = distTag;
607
- /**
608
- * Fetches the version published to the latest tag.
609
- *
610
- * @param packageName
611
- * @param currentVersion
612
- * @param options
613
- * @returns
614
- */
615
- const latest = async (packageName, currentVersion, options = {}, npmConfig, npmConfigProject) => (0, exports.distTag)(packageName, currentVersion, { ...options, distTag: 'latest' }, npmConfig, npmConfigProject);
616
- exports.latest = latest;
617
- /**
618
- * Fetches the most recently published version, regardless of version number.
619
- *
620
- * @param packageName
621
- * @param currentVersion
622
- * @param options
623
- * @returns
624
- */
625
- const newest = async (packageName, currentVersion, options = {}, npmConfig, npmConfigProject) => {
626
- const result = await (0, exports.viewManyMemoized)(packageName, ['time', 'versions'], currentVersion, options, 0, npmConfig, npmConfigProject);
627
- // Generate a map of versions that satisfy the node engine.
628
- // result.versions is an object but is parsed as an array, so manually convert it to an object.
629
- // Otherwise keyValueBy will pass the predicate arguments in the wrong order.
630
- const versionsSatisfyingNodeEngine = (0, keyValueBy_1.keyValueBy)(Object.values(result.versions || {}), (packument) => (0, filters_1.satisfiesNodeEngine)(packument, options.nodeEngineVersion) ? { [packument.version]: true } : null);
631
- // filter out times that do not satisfy the node engine
632
- // filter out prereleases if pre:false (same as allowPreOrIsNotPre)
633
- const timesSatisfyingNodeEngine = (0, filterObject_1.default)((result.time || {}), version => versionsSatisfyingNodeEngine[version] && (options.pre !== false || !versionUtil.isPre(version)));
634
- // sort by timestamp (entry[1]) and map versions
635
- const versionsSortedByTime = (0, sortBy_1.default)(Object.entries(timesSatisfyingNodeEngine), 1).map(([version]) => version);
636
- return { version: (0, last_1.default)(versionsSortedByTime) };
637
- };
638
- exports.newest = newest;
639
- /**
640
- * Fetches the highest version with the same major version as currentVersion.
641
- *
642
- * @param packageName
643
- * @param currentVersion
644
- * @param options
645
- * @returns
646
- */
647
- const minor = async (packageName, currentVersion, options = {}, npmConfig, npmConfigProject) => {
648
- const versions = (await viewOne(packageName, 'versions', currentVersion, options, npmConfig, npmConfigProject));
649
- const version = versionUtil.findGreatestByLevel((0, filter_1.default)(versions, (0, filters_1.filterPredicate)(options)).map(o => o.version), currentVersion, 'minor');
650
- return { version };
651
- };
652
- exports.minor = minor;
653
- /**
654
- * Fetches the highest version with the same minor and major version as currentVersion.
655
- *
656
- * @param packageName
657
- * @param currentVersion
658
- * @param options
659
- * @returns
660
- */
661
- const patch = async (packageName, currentVersion, options = {}, npmConfig, npmConfigProject) => {
662
- const versions = (await viewOne(packageName, 'versions', currentVersion, options, npmConfig, npmConfigProject));
663
- const version = versionUtil.findGreatestByLevel((0, filter_1.default)(versions, (0, filters_1.filterPredicate)(options)).map(o => o.version), currentVersion, 'patch');
664
- return { version };
665
- };
666
- exports.patch = patch;
667
- /**
668
- * Fetches the highest version that satisfies the semver range specified in the package.json.
669
- *
670
- * @param packageName
671
- * @param currentVersion
672
- * @param options
673
- * @returns
674
- */
675
- const semver = async (packageName, currentVersion, options = {}, npmConfig, npmConfigProject) => {
676
- const versions = (await viewOne(packageName, 'versions', currentVersion, options, npmConfig, npmConfigProject));
677
- // ignore explicit version ranges
678
- if (isExplicitRange(currentVersion))
679
- return { version: null };
680
- const versionsFiltered = (0, filter_1.default)(versions, (0, filters_1.filterPredicate)(options)).map(o => o.version);
681
- // TODO: Upgrading within a prerelease does not seem to work.
682
- // { includePrerelease: true } does not help.
683
- const version = semver_1.default.maxSatisfying(versionsFiltered, currentVersion);
684
- return { version };
685
- };
686
- exports.semver = semver;
687
- exports.default = spawnNpm;
688
- //# sourceMappingURL=npm.js.map