renovate 44.0.0-next.2 → 44.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2907) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +8 -14
  2. package/dist/config/app-strings.js +10 -13
  3. package/dist/config/app-strings.js.map +1 -1
  4. package/dist/config/decrypt/bcpgp.js +8 -6
  5. package/dist/config/decrypt/bcpgp.js.map +1 -1
  6. package/dist/config/decrypt/openpgp.js +1 -2
  7. package/dist/config/decrypt/openpgp.js.map +1 -1
  8. package/dist/config/decrypt.js +3 -4
  9. package/dist/config/decrypt.js.map +1 -1
  10. package/dist/config/defaults.d.ts +0 -1
  11. package/dist/config/defaults.js +1 -2
  12. package/dist/config/defaults.js.map +1 -1
  13. package/dist/config/global.d.ts +5 -7
  14. package/dist/config/global.js +15 -2
  15. package/dist/config/global.js.map +1 -1
  16. package/dist/config/index.js +3 -4
  17. package/dist/config/index.js.map +1 -1
  18. package/dist/config/inherit.js +9 -2
  19. package/dist/config/inherit.js.map +1 -1
  20. package/dist/config/massage.js +4 -3
  21. package/dist/config/massage.js.map +1 -1
  22. package/dist/config/migrate-validate.js +2 -3
  23. package/dist/config/migrate-validate.js.map +1 -1
  24. package/dist/config/migration.js +6 -9
  25. package/dist/config/migration.js.map +1 -1
  26. package/dist/config/migrations/base/abstract-migration.js +1 -2
  27. package/dist/config/migrations/base/abstract-migration.js.map +1 -1
  28. package/dist/config/migrations/base/remove-property-migration.js +1 -2
  29. package/dist/config/migrations/base/remove-property-migration.js.map +1 -1
  30. package/dist/config/migrations/base/rename-property-migration.js +1 -2
  31. package/dist/config/migrations/base/rename-property-migration.js.map +1 -1
  32. package/dist/config/migrations/custom/automerge-major-migration.js +1 -2
  33. package/dist/config/migrations/custom/automerge-major-migration.js.map +1 -1
  34. package/dist/config/migrations/custom/automerge-migration.js +1 -2
  35. package/dist/config/migrations/custom/automerge-migration.js.map +1 -1
  36. package/dist/config/migrations/custom/automerge-minor-migration.js +1 -2
  37. package/dist/config/migrations/custom/automerge-minor-migration.js.map +1 -1
  38. package/dist/config/migrations/custom/automerge-patch-migration.js +1 -2
  39. package/dist/config/migrations/custom/automerge-patch-migration.js.map +1 -1
  40. package/dist/config/migrations/custom/automerge-type-migration.js +1 -2
  41. package/dist/config/migrations/custom/automerge-type-migration.js.map +1 -1
  42. package/dist/config/migrations/custom/azure-gitlab-automerge-migration.js +1 -2
  43. package/dist/config/migrations/custom/azure-gitlab-automerge-migration.js.map +1 -1
  44. package/dist/config/migrations/custom/base-branch-migration.js +1 -2
  45. package/dist/config/migrations/custom/base-branch-migration.js.map +1 -1
  46. package/dist/config/migrations/custom/binary-source-migration.js +1 -2
  47. package/dist/config/migrations/custom/binary-source-migration.js.map +1 -1
  48. package/dist/config/migrations/custom/branch-name-migration.js +1 -2
  49. package/dist/config/migrations/custom/branch-name-migration.js.map +1 -1
  50. package/dist/config/migrations/custom/branch-prefix-migration.js +1 -2
  51. package/dist/config/migrations/custom/branch-prefix-migration.js.map +1 -1
  52. package/dist/config/migrations/custom/compatibility-migration.js +1 -2
  53. package/dist/config/migrations/custom/compatibility-migration.js.map +1 -1
  54. package/dist/config/migrations/custom/composer-ignore-platform-reqs-migration.js +1 -2
  55. package/dist/config/migrations/custom/composer-ignore-platform-reqs-migration.js.map +1 -1
  56. package/dist/config/migrations/custom/custom-managers-migration.js +1 -2
  57. package/dist/config/migrations/custom/custom-managers-migration.js.map +1 -1
  58. package/dist/config/migrations/custom/datasource-migration.js +1 -2
  59. package/dist/config/migrations/custom/datasource-migration.js.map +1 -1
  60. package/dist/config/migrations/custom/dep-types-migration.js +1 -2
  61. package/dist/config/migrations/custom/dep-types-migration.js.map +1 -1
  62. package/dist/config/migrations/custom/dry-run-migration.js +1 -2
  63. package/dist/config/migrations/custom/dry-run-migration.js.map +1 -1
  64. package/dist/config/migrations/custom/enabled-managers-migration.js +2 -2
  65. package/dist/config/migrations/custom/enabled-managers-migration.js.map +1 -1
  66. package/dist/config/migrations/custom/extends-migration.js +1 -2
  67. package/dist/config/migrations/custom/extends-migration.js.map +1 -1
  68. package/dist/config/migrations/custom/fetch-release-notes-migration.js +1 -2
  69. package/dist/config/migrations/custom/fetch-release-notes-migration.js.map +1 -1
  70. package/dist/config/migrations/custom/file-match-migration.js +1 -2
  71. package/dist/config/migrations/custom/file-match-migration.js.map +1 -1
  72. package/dist/config/migrations/custom/go-mod-tidy-migration.js +1 -2
  73. package/dist/config/migrations/custom/go-mod-tidy-migration.js.map +1 -1
  74. package/dist/config/migrations/custom/host-rules-migration.js +2 -3
  75. package/dist/config/migrations/custom/host-rules-migration.js.map +1 -1
  76. package/dist/config/migrations/custom/ignore-node-modules-migration.js +1 -2
  77. package/dist/config/migrations/custom/ignore-node-modules-migration.js.map +1 -1
  78. package/dist/config/migrations/custom/ignore-npmrc-file-migration.js +1 -2
  79. package/dist/config/migrations/custom/ignore-npmrc-file-migration.js.map +1 -1
  80. package/dist/config/migrations/custom/include-forks-migration.js +1 -2
  81. package/dist/config/migrations/custom/include-forks-migration.js.map +1 -1
  82. package/dist/config/migrations/custom/match-datasources-migration.js +1 -2
  83. package/dist/config/migrations/custom/match-datasources-migration.js.map +1 -1
  84. package/dist/config/migrations/custom/match-managers-migration.js +8 -3
  85. package/dist/config/migrations/custom/match-managers-migration.js.map +1 -1
  86. package/dist/config/migrations/custom/match-strings-migration.js +1 -2
  87. package/dist/config/migrations/custom/match-strings-migration.js.map +1 -1
  88. package/dist/config/migrations/custom/node-migration.js +1 -2
  89. package/dist/config/migrations/custom/node-migration.js.map +1 -1
  90. package/dist/config/migrations/custom/package-files-migration.js +1 -2
  91. package/dist/config/migrations/custom/package-files-migration.js.map +1 -1
  92. package/dist/config/migrations/custom/package-name-migration.js +1 -2
  93. package/dist/config/migrations/custom/package-name-migration.js.map +1 -1
  94. package/dist/config/migrations/custom/package-pattern-migration.js +1 -2
  95. package/dist/config/migrations/custom/package-pattern-migration.js.map +1 -1
  96. package/dist/config/migrations/custom/package-rules-migration.js +2 -3
  97. package/dist/config/migrations/custom/package-rules-migration.js.map +1 -1
  98. package/dist/config/migrations/custom/packages-migration.js +1 -2
  99. package/dist/config/migrations/custom/packages-migration.js.map +1 -1
  100. package/dist/config/migrations/custom/path-rules-migration.js +1 -2
  101. package/dist/config/migrations/custom/path-rules-migration.js.map +1 -1
  102. package/dist/config/migrations/custom/pin-versions-migration.js +1 -2
  103. package/dist/config/migrations/custom/pin-versions-migration.js.map +1 -1
  104. package/dist/config/migrations/custom/platform-commit-migration.js +1 -2
  105. package/dist/config/migrations/custom/platform-commit-migration.js.map +1 -1
  106. package/dist/config/migrations/custom/post-update-options-migration.js +1 -2
  107. package/dist/config/migrations/custom/post-update-options-migration.js.map +1 -1
  108. package/dist/config/migrations/custom/rebase-conflicted-prs-migration.js +1 -2
  109. package/dist/config/migrations/custom/rebase-conflicted-prs-migration.js.map +1 -1
  110. package/dist/config/migrations/custom/rebase-stale-prs-migration.js +1 -2
  111. package/dist/config/migrations/custom/rebase-stale-prs-migration.js.map +1 -1
  112. package/dist/config/migrations/custom/recreate-closed-migration.js +1 -2
  113. package/dist/config/migrations/custom/recreate-closed-migration.js.map +1 -1
  114. package/dist/config/migrations/custom/renovate-fork-migration.js +1 -2
  115. package/dist/config/migrations/custom/renovate-fork-migration.js.map +1 -1
  116. package/dist/config/migrations/custom/require-config-migration.js +1 -2
  117. package/dist/config/migrations/custom/require-config-migration.js.map +1 -1
  118. package/dist/config/migrations/custom/required-status-checks-migration.js +1 -2
  119. package/dist/config/migrations/custom/required-status-checks-migration.js.map +1 -1
  120. package/dist/config/migrations/custom/schedule-migration.js +1 -2
  121. package/dist/config/migrations/custom/schedule-migration.js.map +1 -1
  122. package/dist/config/migrations/custom/semantic-commits-migration.js +1 -2
  123. package/dist/config/migrations/custom/semantic-commits-migration.js.map +1 -1
  124. package/dist/config/migrations/custom/semantic-prefix-migration.js +1 -2
  125. package/dist/config/migrations/custom/semantic-prefix-migration.js.map +1 -1
  126. package/dist/config/migrations/custom/separate-major-release-migration.js +1 -2
  127. package/dist/config/migrations/custom/separate-major-release-migration.js.map +1 -1
  128. package/dist/config/migrations/custom/separate-multiple-major-migration.js +1 -2
  129. package/dist/config/migrations/custom/separate-multiple-major-migration.js.map +1 -1
  130. package/dist/config/migrations/custom/stability-days-migration.js +1 -2
  131. package/dist/config/migrations/custom/stability-days-migration.js.map +1 -1
  132. package/dist/config/migrations/custom/suppress-notifications-migration.js +1 -2
  133. package/dist/config/migrations/custom/suppress-notifications-migration.js.map +1 -1
  134. package/dist/config/migrations/custom/trust-level-migration.js +1 -2
  135. package/dist/config/migrations/custom/trust-level-migration.js.map +1 -1
  136. package/dist/config/migrations/custom/unpublish-safe-migration.js +1 -2
  137. package/dist/config/migrations/custom/unpublish-safe-migration.js.map +1 -1
  138. package/dist/config/migrations/custom/update-lock-files-migration.js +1 -2
  139. package/dist/config/migrations/custom/update-lock-files-migration.js.map +1 -1
  140. package/dist/config/migrations/custom/upgrade-in-range-migration.js +1 -2
  141. package/dist/config/migrations/custom/upgrade-in-range-migration.js.map +1 -1
  142. package/dist/config/migrations/custom/version-strategy-migration.js +1 -2
  143. package/dist/config/migrations/custom/version-strategy-migration.js.map +1 -1
  144. package/dist/config/migrations/index.js +1 -2
  145. package/dist/config/migrations/migrations-service.js +7 -7
  146. package/dist/config/migrations/migrations-service.js.map +1 -1
  147. package/dist/config/options/env-options.d.ts +12 -0
  148. package/dist/config/options/env-options.js +21 -0
  149. package/dist/config/options/env-options.js.map +1 -0
  150. package/dist/config/options/env.js +10 -0
  151. package/dist/config/options/env.js.map +1 -0
  152. package/dist/config/options/index.d.ts +0 -1
  153. package/dist/config/options/index.js +296 -95
  154. package/dist/config/options/index.js.map +1 -1
  155. package/dist/config/parse.js +4 -4
  156. package/dist/config/parse.js.map +1 -1
  157. package/dist/config/presets/common.js +5 -1
  158. package/dist/config/presets/common.js.map +1 -1
  159. package/dist/config/presets/forgejo/index.js +11 -13
  160. package/dist/config/presets/forgejo/index.js.map +1 -1
  161. package/dist/config/presets/gitea/index.js +3 -11
  162. package/dist/config/presets/gitea/index.js.map +1 -1
  163. package/dist/config/presets/github/index.js +3 -11
  164. package/dist/config/presets/github/index.js.map +1 -1
  165. package/dist/config/presets/gitlab/index.js +4 -12
  166. package/dist/config/presets/gitlab/index.js.map +1 -1
  167. package/dist/config/presets/http/index.js +4 -7
  168. package/dist/config/presets/http/index.js.map +1 -1
  169. package/dist/config/presets/index.js +82 -59
  170. package/dist/config/presets/index.js.map +1 -1
  171. package/dist/config/presets/internal/abandonments.preset.js +1 -2
  172. package/dist/config/presets/internal/abandonments.preset.js.map +1 -1
  173. package/dist/config/presets/internal/auto-generate-replacements.js +1 -2
  174. package/dist/config/presets/internal/auto-generate-replacements.js.map +1 -1
  175. package/dist/config/presets/internal/config.preset.js +6 -2
  176. package/dist/config/presets/internal/config.preset.js.map +1 -1
  177. package/dist/config/presets/internal/custom-managers.preset.js +10 -3
  178. package/dist/config/presets/internal/custom-managers.preset.js.map +1 -1
  179. package/dist/config/presets/internal/default.preset.js +2 -2
  180. package/dist/config/presets/internal/default.preset.js.map +1 -1
  181. package/dist/config/presets/internal/docker.preset.js +1 -1
  182. package/dist/config/presets/internal/docker.preset.js.map +1 -1
  183. package/dist/config/presets/internal/global.preset.js +5 -2
  184. package/dist/config/presets/internal/global.preset.js.map +1 -1
  185. package/dist/config/presets/internal/group.preset.js +20 -41
  186. package/dist/config/presets/internal/group.preset.js.map +1 -1
  187. package/dist/config/presets/internal/helpers.preset.js +61 -6
  188. package/dist/config/presets/internal/helpers.preset.js.map +1 -1
  189. package/dist/config/presets/internal/index.js +2 -10
  190. package/dist/config/presets/internal/index.js.map +1 -1
  191. package/dist/config/presets/internal/merge-confidence.preset.js +1 -1
  192. package/dist/config/presets/internal/merge-confidence.preset.js.map +1 -1
  193. package/dist/config/presets/internal/monorepos.preset.js +1 -2
  194. package/dist/config/presets/internal/monorepos.preset.js.map +1 -1
  195. package/dist/config/presets/internal/packages.preset.js +6 -5
  196. package/dist/config/presets/internal/packages.preset.js.map +1 -1
  197. package/dist/config/presets/internal/preview.preset.js +1 -1
  198. package/dist/config/presets/internal/preview.preset.js.map +1 -1
  199. package/dist/config/presets/internal/replacements.preset.js +1 -2
  200. package/dist/config/presets/internal/replacements.preset.js.map +1 -1
  201. package/dist/config/presets/internal/schedule.preset.js +1 -1
  202. package/dist/config/presets/internal/schedule.preset.js.map +1 -1
  203. package/dist/config/presets/internal/security.preset.js +18 -1
  204. package/dist/config/presets/internal/security.preset.js.map +1 -1
  205. package/dist/config/presets/internal/workarounds.preset.js +52 -2
  206. package/dist/config/presets/internal/workarounds.preset.js.map +1 -1
  207. package/dist/config/presets/local/common.js +3 -4
  208. package/dist/config/presets/local/common.js.map +1 -1
  209. package/dist/config/presets/local/index.js +20 -23
  210. package/dist/config/presets/local/index.js.map +1 -1
  211. package/dist/config/presets/npm/index.js +6 -8
  212. package/dist/config/presets/npm/index.js.map +1 -1
  213. package/dist/config/presets/parse.js +1 -2
  214. package/dist/config/presets/parse.js.map +1 -1
  215. package/dist/config/presets/util.js +6 -5
  216. package/dist/config/presets/util.js.map +1 -1
  217. package/dist/config/schema.js +2 -3
  218. package/dist/config/schema.js.map +1 -1
  219. package/dist/config/secrets.js +4 -5
  220. package/dist/config/secrets.js.map +1 -1
  221. package/dist/config/types.d.ts +50 -18
  222. package/dist/config/types.js +1 -1
  223. package/dist/config/types.js.map +1 -1
  224. package/dist/config/utils.js +1 -2
  225. package/dist/config/utils.js.map +1 -1
  226. package/dist/config/validation-helpers/match-base-branches.js +5 -8
  227. package/dist/config/validation-helpers/match-base-branches.js.map +1 -1
  228. package/dist/config/validation-helpers/regex-glob-matchers.js +5 -8
  229. package/dist/config/validation-helpers/regex-glob-matchers.js.map +1 -1
  230. package/dist/config/validation-helpers/utils.js +4 -7
  231. package/dist/config/validation-helpers/utils.js.map +1 -1
  232. package/dist/config/validation.js +451 -342
  233. package/dist/config/validation.js.map +1 -1
  234. package/dist/config-validator.d.ts +0 -2
  235. package/dist/config-validator.js +72 -41
  236. package/dist/config-validator.js.map +1 -1
  237. package/dist/constants/category.d.ts +2 -2
  238. package/dist/constants/error-messages.d.ts +3 -1
  239. package/dist/constants/error-messages.js +4 -2
  240. package/dist/constants/error-messages.js.map +1 -1
  241. package/dist/constants/platforms.d.ts +2 -2
  242. package/dist/constants/platforms.js +3 -2
  243. package/dist/constants/platforms.js.map +1 -1
  244. package/dist/data/abandonments.js +2 -1
  245. package/dist/data/changelog-urls.js +24 -24
  246. package/dist/data/mise-registry.js +3276 -0
  247. package/dist/data/mise-registry.js.map +1 -0
  248. package/dist/data/monorepo.js +72 -51
  249. package/dist/data/node-js-schedule.js +9 -2
  250. package/dist/data/replacements.js +130 -16
  251. package/dist/data/source-urls.js +13 -13
  252. package/dist/data-files.generated.js +2 -2
  253. package/dist/data-files.generated.js.map +1 -1
  254. package/dist/expose.js +5 -6
  255. package/dist/expose.js.map +1 -1
  256. package/dist/global-config-option-defaults.generated.js +88 -0
  257. package/dist/global-config-option-defaults.generated.js.map +1 -0
  258. package/dist/instrumentation/detectors.js +33 -0
  259. package/dist/instrumentation/detectors.js.map +1 -0
  260. package/dist/instrumentation/file-exporter.js +50 -0
  261. package/dist/instrumentation/file-exporter.js.map +1 -0
  262. package/dist/instrumentation/index.js +22 -30
  263. package/dist/instrumentation/index.js.map +1 -1
  264. package/dist/instrumentation/reporting.js +9 -4
  265. package/dist/instrumentation/reporting.js.map +1 -1
  266. package/dist/instrumentation/types.d.ts +19 -3
  267. package/dist/instrumentation/types.js +14 -2
  268. package/dist/instrumentation/types.js.map +1 -1
  269. package/dist/instrumentation/utils.js +9 -4
  270. package/dist/instrumentation/utils.js.map +1 -1
  271. package/dist/instrumentation/with-instrumenting.js +1 -2
  272. package/dist/instrumentation/with-instrumenting.js.map +1 -1
  273. package/dist/logger/bunyan.js +108 -0
  274. package/dist/logger/bunyan.js.map +1 -0
  275. package/dist/logger/cmd-serializer.js +1 -2
  276. package/dist/logger/cmd-serializer.js.map +1 -1
  277. package/dist/logger/config-serializer.js +1 -2
  278. package/dist/logger/config-serializer.js.map +1 -1
  279. package/dist/logger/err-serializer.js +1 -2
  280. package/dist/logger/err-serializer.js.map +1 -1
  281. package/dist/logger/index.d.ts +6 -9
  282. package/dist/logger/index.js +13 -69
  283. package/dist/logger/index.js.map +1 -1
  284. package/dist/logger/once.js +11 -4
  285. package/dist/logger/once.js.map +1 -1
  286. package/dist/logger/pretty-stdout.js +35 -18
  287. package/dist/logger/pretty-stdout.js.map +1 -1
  288. package/dist/logger/problem-stream.js +34 -0
  289. package/dist/logger/problem-stream.js.map +1 -0
  290. package/dist/logger/remap.js +1 -2
  291. package/dist/logger/remap.js.map +1 -1
  292. package/dist/logger/renovate-logger.d.ts +13 -7
  293. package/dist/logger/renovate-logger.js +37 -10
  294. package/dist/logger/renovate-logger.js.map +1 -1
  295. package/dist/logger/types.d.ts +4 -4
  296. package/dist/logger/types.js +1 -1
  297. package/dist/logger/utils.js +8 -87
  298. package/dist/logger/utils.js.map +1 -1
  299. package/dist/logger/with-sanitizer.js +36 -0
  300. package/dist/logger/with-sanitizer.js.map +1 -0
  301. package/dist/manager-default-configs.generated.js +385 -0
  302. package/dist/manager-default-configs.generated.js.map +1 -0
  303. package/dist/manager-list.generated.d.ts +2 -2
  304. package/dist/manager-list.generated.js +12 -4
  305. package/dist/manager-list.generated.js.map +1 -1
  306. package/dist/modules/datasource/api.js +33 -30
  307. package/dist/modules/datasource/api.js.map +1 -1
  308. package/dist/modules/datasource/artifactory/common.js +1 -1
  309. package/dist/modules/datasource/artifactory/index.js +8 -11
  310. package/dist/modules/datasource/artifactory/index.js.map +1 -1
  311. package/dist/modules/datasource/aws-eks-addon/index.js +2 -3
  312. package/dist/modules/datasource/aws-eks-addon/index.js.map +1 -1
  313. package/dist/modules/datasource/aws-eks-addon/schema.js +2 -3
  314. package/dist/modules/datasource/aws-eks-addon/schema.js.map +1 -1
  315. package/dist/modules/datasource/aws-machine-image/index.js +4 -6
  316. package/dist/modules/datasource/aws-machine-image/index.js.map +1 -1
  317. package/dist/modules/datasource/aws-rds/index.js +1 -2
  318. package/dist/modules/datasource/aws-rds/index.js.map +1 -1
  319. package/dist/modules/datasource/azure-bicep-resource/index.js +2 -3
  320. package/dist/modules/datasource/azure-bicep-resource/index.js.map +1 -1
  321. package/dist/modules/datasource/azure-bicep-resource/schema.js +2 -3
  322. package/dist/modules/datasource/azure-bicep-resource/schema.js.map +1 -1
  323. package/dist/modules/datasource/azure-pipelines-tasks/index.js +4 -6
  324. package/dist/modules/datasource/azure-pipelines-tasks/index.js.map +1 -1
  325. package/dist/modules/datasource/azure-pipelines-tasks/schema.js +4 -5
  326. package/dist/modules/datasource/azure-pipelines-tasks/schema.js.map +1 -1
  327. package/dist/modules/datasource/azure-tags/index.js +1 -2
  328. package/dist/modules/datasource/azure-tags/index.js.map +1 -1
  329. package/dist/modules/datasource/bazel/index.js +5 -5
  330. package/dist/modules/datasource/bazel/index.js.map +1 -1
  331. package/dist/modules/datasource/bazel/schema.js +4 -4
  332. package/dist/modules/datasource/bazel/schema.js.map +1 -1
  333. package/dist/modules/datasource/bitbucket-server-tags/index.js +3 -4
  334. package/dist/modules/datasource/bitbucket-server-tags/index.js.map +1 -1
  335. package/dist/modules/datasource/bitbucket-server-tags/schema.js +4 -4
  336. package/dist/modules/datasource/bitbucket-server-tags/schema.js.map +1 -1
  337. package/dist/modules/datasource/bitbucket-tags/index.js +7 -7
  338. package/dist/modules/datasource/bitbucket-tags/index.js.map +1 -1
  339. package/dist/modules/datasource/bitbucket-tags/schema.js +20 -0
  340. package/dist/modules/datasource/bitbucket-tags/schema.js.map +1 -0
  341. package/dist/modules/datasource/bitrise/index.js +3 -4
  342. package/dist/modules/datasource/bitrise/index.js.map +1 -1
  343. package/dist/modules/datasource/bitrise/schema.js +2 -3
  344. package/dist/modules/datasource/bitrise/schema.js.map +1 -1
  345. package/dist/modules/datasource/buildpacks-registry/index.js +2 -3
  346. package/dist/modules/datasource/buildpacks-registry/index.js.map +1 -1
  347. package/dist/modules/datasource/buildpacks-registry/schema.js +2 -3
  348. package/dist/modules/datasource/buildpacks-registry/schema.js.map +1 -1
  349. package/dist/modules/datasource/cdnjs/index.js +3 -4
  350. package/dist/modules/datasource/cdnjs/index.js.map +1 -1
  351. package/dist/modules/datasource/cdnjs/schema.js +4 -5
  352. package/dist/modules/datasource/cdnjs/schema.js.map +1 -1
  353. package/dist/modules/datasource/clojure/common.js +1 -1
  354. package/dist/modules/datasource/clojure/index.js +1 -2
  355. package/dist/modules/datasource/clojure/index.js.map +1 -1
  356. package/dist/modules/datasource/common.d.ts +1 -2
  357. package/dist/modules/datasource/common.js +104 -15
  358. package/dist/modules/datasource/common.js.map +1 -1
  359. package/dist/modules/datasource/conan/common.js +1 -2
  360. package/dist/modules/datasource/conan/common.js.map +1 -1
  361. package/dist/modules/datasource/conan/index.js +7 -8
  362. package/dist/modules/datasource/conan/index.js.map +1 -1
  363. package/dist/modules/datasource/conan/schema.js +2 -3
  364. package/dist/modules/datasource/conan/schema.js.map +1 -1
  365. package/dist/modules/datasource/conda/common.js +1 -1
  366. package/dist/modules/datasource/conda/index.js +5 -8
  367. package/dist/modules/datasource/conda/index.js.map +1 -1
  368. package/dist/modules/datasource/conda/prefix-dev.js +1 -2
  369. package/dist/modules/datasource/conda/prefix-dev.js.map +1 -1
  370. package/dist/modules/datasource/conda/schema/prefix-dev.js +3 -4
  371. package/dist/modules/datasource/conda/schema/prefix-dev.js.map +1 -1
  372. package/dist/modules/datasource/conda/schema.js +17 -0
  373. package/dist/modules/datasource/conda/schema.js.map +1 -0
  374. package/dist/modules/datasource/cpan/index.js +2 -3
  375. package/dist/modules/datasource/cpan/index.js.map +1 -1
  376. package/dist/modules/datasource/cpan/schema.js +2 -3
  377. package/dist/modules/datasource/cpan/schema.js.map +1 -1
  378. package/dist/modules/datasource/crate/index.js +79 -45
  379. package/dist/modules/datasource/crate/index.js.map +1 -1
  380. package/dist/modules/datasource/crate/schema.js +15 -4
  381. package/dist/modules/datasource/crate/schema.js.map +1 -1
  382. package/dist/modules/datasource/custom/formats/html.js +1 -2
  383. package/dist/modules/datasource/custom/formats/html.js.map +1 -1
  384. package/dist/modules/datasource/custom/formats/index.js +1 -2
  385. package/dist/modules/datasource/custom/formats/index.js.map +1 -1
  386. package/dist/modules/datasource/custom/formats/json.js +1 -2
  387. package/dist/modules/datasource/custom/formats/json.js.map +1 -1
  388. package/dist/modules/datasource/custom/formats/plain.js +1 -2
  389. package/dist/modules/datasource/custom/formats/plain.js.map +1 -1
  390. package/dist/modules/datasource/custom/formats/toml.js +1 -2
  391. package/dist/modules/datasource/custom/formats/toml.js.map +1 -1
  392. package/dist/modules/datasource/custom/formats/yaml.js +1 -2
  393. package/dist/modules/datasource/custom/formats/yaml.js.map +1 -1
  394. package/dist/modules/datasource/custom/index.js +10 -5
  395. package/dist/modules/datasource/custom/index.js.map +1 -1
  396. package/dist/modules/datasource/custom/schema.js +2 -3
  397. package/dist/modules/datasource/custom/schema.js.map +1 -1
  398. package/dist/modules/datasource/custom/utils.js +2 -3
  399. package/dist/modules/datasource/custom/utils.js.map +1 -1
  400. package/dist/modules/datasource/dart/index.js +18 -9
  401. package/dist/modules/datasource/dart/index.js.map +1 -1
  402. package/dist/modules/datasource/dart/schema.js +24 -0
  403. package/dist/modules/datasource/dart/schema.js.map +1 -0
  404. package/dist/modules/datasource/dart-version/index.js +5 -6
  405. package/dist/modules/datasource/dart-version/index.js.map +1 -1
  406. package/dist/modules/datasource/dart-version/schema.js +11 -0
  407. package/dist/modules/datasource/dart-version/schema.js.map +1 -0
  408. package/dist/modules/datasource/datasource.js +2 -5
  409. package/dist/modules/datasource/datasource.js.map +1 -1
  410. package/dist/modules/datasource/deb/checksum.js +2 -3
  411. package/dist/modules/datasource/deb/checksum.js.map +1 -1
  412. package/dist/modules/datasource/deb/common.js +2 -7
  413. package/dist/modules/datasource/deb/common.js.map +1 -1
  414. package/dist/modules/datasource/deb/index.js +2 -3
  415. package/dist/modules/datasource/deb/index.js.map +1 -1
  416. package/dist/modules/datasource/deb/packages.js +6 -9
  417. package/dist/modules/datasource/deb/packages.js.map +1 -1
  418. package/dist/modules/datasource/deb/release.js +1 -1
  419. package/dist/modules/datasource/deb/release.js.map +1 -1
  420. package/dist/modules/datasource/deb/url.js +4 -4
  421. package/dist/modules/datasource/deb/url.js.map +1 -1
  422. package/dist/modules/datasource/deb/utils.js +2 -3
  423. package/dist/modules/datasource/deb/utils.js.map +1 -1
  424. package/dist/modules/datasource/deno/index.js +2 -3
  425. package/dist/modules/datasource/deno/index.js.map +1 -1
  426. package/dist/modules/datasource/deno/schema.js +3 -4
  427. package/dist/modules/datasource/deno/schema.js.map +1 -1
  428. package/dist/modules/datasource/devbox/common.js +1 -1
  429. package/dist/modules/datasource/devbox/index.js +3 -6
  430. package/dist/modules/datasource/devbox/index.js.map +1 -1
  431. package/dist/modules/datasource/devbox/schema.js +3 -4
  432. package/dist/modules/datasource/devbox/schema.js.map +1 -1
  433. package/dist/modules/datasource/docker/common.js +35 -27
  434. package/dist/modules/datasource/docker/common.js.map +1 -1
  435. package/dist/modules/datasource/docker/dockerhub-cache.js +8 -3
  436. package/dist/modules/datasource/docker/dockerhub-cache.js.map +1 -1
  437. package/dist/modules/datasource/docker/ecr.js +10 -6
  438. package/dist/modules/datasource/docker/ecr.js.map +1 -1
  439. package/dist/modules/datasource/docker/google.js +1 -2
  440. package/dist/modules/datasource/docker/google.js.map +1 -1
  441. package/dist/modules/datasource/docker/index.js +74 -44
  442. package/dist/modules/datasource/docker/index.js.map +1 -1
  443. package/dist/modules/datasource/docker/schema.js +47 -20
  444. package/dist/modules/datasource/docker/schema.js.map +1 -1
  445. package/dist/modules/datasource/dotnet-version/index.js +1 -2
  446. package/dist/modules/datasource/dotnet-version/index.js.map +1 -1
  447. package/dist/modules/datasource/dotnet-version/schema.js +2 -3
  448. package/dist/modules/datasource/dotnet-version/schema.js.map +1 -1
  449. package/dist/modules/datasource/elm-package/index.js +52 -0
  450. package/dist/modules/datasource/elm-package/index.js.map +1 -0
  451. package/dist/modules/datasource/elm-package/schema.js +17 -0
  452. package/dist/modules/datasource/elm-package/schema.js.map +1 -0
  453. package/dist/modules/datasource/endoflife-date/common.js +1 -1
  454. package/dist/modules/datasource/endoflife-date/index.js +1 -2
  455. package/dist/modules/datasource/endoflife-date/index.js.map +1 -1
  456. package/dist/modules/datasource/endoflife-date/schema.js +2 -3
  457. package/dist/modules/datasource/endoflife-date/schema.js.map +1 -1
  458. package/dist/modules/datasource/flutter-version/index.js +5 -5
  459. package/dist/modules/datasource/flutter-version/index.js.map +1 -1
  460. package/dist/modules/datasource/flutter-version/schema.js +22 -0
  461. package/dist/modules/datasource/flutter-version/schema.js.map +1 -0
  462. package/dist/modules/datasource/forgejo-releases/index.js +1 -2
  463. package/dist/modules/datasource/forgejo-releases/index.js.map +1 -1
  464. package/dist/modules/datasource/forgejo-releases/schema.js +3 -4
  465. package/dist/modules/datasource/forgejo-releases/schema.js.map +1 -1
  466. package/dist/modules/datasource/forgejo-tags/index.js +1 -2
  467. package/dist/modules/datasource/forgejo-tags/index.js.map +1 -1
  468. package/dist/modules/datasource/forgejo-tags/schema.js +3 -4
  469. package/dist/modules/datasource/forgejo-tags/schema.js.map +1 -1
  470. package/dist/modules/datasource/galaxy/index.js +2 -3
  471. package/dist/modules/datasource/galaxy/index.js.map +1 -1
  472. package/dist/modules/datasource/galaxy/schema.js +2 -3
  473. package/dist/modules/datasource/galaxy/schema.js.map +1 -1
  474. package/dist/modules/datasource/galaxy-collection/index.js +5 -7
  475. package/dist/modules/datasource/galaxy-collection/index.js.map +1 -1
  476. package/dist/modules/datasource/galaxy-collection/schema.js +2 -3
  477. package/dist/modules/datasource/galaxy-collection/schema.js.map +1 -1
  478. package/dist/modules/datasource/git-refs/base.js +15 -9
  479. package/dist/modules/datasource/git-refs/base.js.map +1 -1
  480. package/dist/modules/datasource/git-refs/index.js +1 -3
  481. package/dist/modules/datasource/git-refs/index.js.map +1 -1
  482. package/dist/modules/datasource/git-tags/index.js +1 -2
  483. package/dist/modules/datasource/git-tags/index.js.map +1 -1
  484. package/dist/modules/datasource/gitea-releases/index.js +1 -2
  485. package/dist/modules/datasource/gitea-releases/index.js.map +1 -1
  486. package/dist/modules/datasource/gitea-releases/schema.js +3 -4
  487. package/dist/modules/datasource/gitea-releases/schema.js.map +1 -1
  488. package/dist/modules/datasource/gitea-tags/index.js +1 -2
  489. package/dist/modules/datasource/gitea-tags/index.js.map +1 -1
  490. package/dist/modules/datasource/gitea-tags/schema.js +3 -4
  491. package/dist/modules/datasource/gitea-tags/schema.js.map +1 -1
  492. package/dist/modules/datasource/github-digest/index.js +3 -4
  493. package/dist/modules/datasource/github-digest/index.js.map +1 -1
  494. package/dist/modules/datasource/github-release-attachments/index.js +3 -4
  495. package/dist/modules/datasource/github-release-attachments/index.js.map +1 -1
  496. package/dist/modules/datasource/github-releases/index.js +2 -3
  497. package/dist/modules/datasource/github-releases/index.js.map +1 -1
  498. package/dist/modules/datasource/github-runners/index.js +24 -17
  499. package/dist/modules/datasource/github-runners/index.js.map +1 -1
  500. package/dist/modules/datasource/github-tags/index.js +6 -5
  501. package/dist/modules/datasource/github-tags/index.js.map +1 -1
  502. package/dist/modules/datasource/gitlab-packages/common.js +1 -1
  503. package/dist/modules/datasource/gitlab-packages/index.js +1 -2
  504. package/dist/modules/datasource/gitlab-packages/index.js.map +1 -1
  505. package/dist/modules/datasource/gitlab-releases/index.js +1 -2
  506. package/dist/modules/datasource/gitlab-releases/index.js.map +1 -1
  507. package/dist/modules/datasource/gitlab-tags/index.js +1 -2
  508. package/dist/modules/datasource/gitlab-tags/index.js.map +1 -1
  509. package/dist/modules/datasource/gitlab-tags/util.js +1 -2
  510. package/dist/modules/datasource/gitlab-tags/util.js.map +1 -1
  511. package/dist/modules/datasource/glasskube-packages/index.js +2 -3
  512. package/dist/modules/datasource/glasskube-packages/index.js.map +1 -1
  513. package/dist/modules/datasource/glasskube-packages/schema.js +2 -3
  514. package/dist/modules/datasource/glasskube-packages/schema.js.map +1 -1
  515. package/dist/modules/datasource/go/base.js +8 -9
  516. package/dist/modules/datasource/go/base.js.map +1 -1
  517. package/dist/modules/datasource/go/common.js +3 -4
  518. package/dist/modules/datasource/go/common.js.map +1 -1
  519. package/dist/modules/datasource/go/goproxy-parser.js +1 -2
  520. package/dist/modules/datasource/go/goproxy-parser.js.map +1 -1
  521. package/dist/modules/datasource/go/index.js +7 -6
  522. package/dist/modules/datasource/go/index.js.map +1 -1
  523. package/dist/modules/datasource/go/releases-direct.js +4 -4
  524. package/dist/modules/datasource/go/releases-direct.js.map +1 -1
  525. package/dist/modules/datasource/go/releases-goproxy.js +73 -18
  526. package/dist/modules/datasource/go/releases-goproxy.js.map +1 -1
  527. package/dist/modules/datasource/go/schema.js +15 -0
  528. package/dist/modules/datasource/go/schema.js.map +1 -0
  529. package/dist/modules/datasource/golang-version/index.js +2 -3
  530. package/dist/modules/datasource/golang-version/index.js.map +1 -1
  531. package/dist/modules/datasource/gradle-version/index.js +4 -4
  532. package/dist/modules/datasource/gradle-version/index.js.map +1 -1
  533. package/dist/modules/datasource/gradle-version/schema.js +17 -0
  534. package/dist/modules/datasource/gradle-version/schema.js.map +1 -0
  535. package/dist/modules/datasource/hackage/index.js +4 -5
  536. package/dist/modules/datasource/hackage/index.js.map +1 -1
  537. package/dist/modules/datasource/hackage/schema.js +3 -4
  538. package/dist/modules/datasource/hackage/schema.js.map +1 -1
  539. package/dist/modules/datasource/helm/index.js +2 -3
  540. package/dist/modules/datasource/helm/index.js.map +1 -1
  541. package/dist/modules/datasource/helm/schema.js +2 -3
  542. package/dist/modules/datasource/helm/schema.js.map +1 -1
  543. package/dist/modules/datasource/hermit/index.js +3 -4
  544. package/dist/modules/datasource/hermit/index.js.map +1 -1
  545. package/dist/modules/datasource/hex/index.js +145 -11
  546. package/dist/modules/datasource/hex/index.js.map +1 -1
  547. package/dist/modules/datasource/hex/schema.js +3 -4
  548. package/dist/modules/datasource/hex/schema.js.map +1 -1
  549. package/dist/modules/datasource/hex/v2/package.js +266 -0
  550. package/dist/modules/datasource/hex/v2/package.js.map +1 -0
  551. package/dist/modules/datasource/hex/v2/signed.js +62 -0
  552. package/dist/modules/datasource/hex/v2/signed.js.map +1 -0
  553. package/dist/modules/datasource/hexpm-bob/common.js +1 -1
  554. package/dist/modules/datasource/hexpm-bob/index.js +2 -3
  555. package/dist/modules/datasource/hexpm-bob/index.js.map +1 -1
  556. package/dist/modules/datasource/index.d.ts +4 -5
  557. package/dist/modules/datasource/index.js +33 -17
  558. package/dist/modules/datasource/index.js.map +1 -1
  559. package/dist/modules/datasource/java-version/common.js +2 -4
  560. package/dist/modules/datasource/java-version/common.js.map +1 -1
  561. package/dist/modules/datasource/java-version/index.js +7 -9
  562. package/dist/modules/datasource/java-version/index.js.map +1 -1
  563. package/dist/modules/datasource/java-version/schema.js +9 -0
  564. package/dist/modules/datasource/java-version/schema.js.map +1 -0
  565. package/dist/modules/datasource/jenkins-plugins/index.js +8 -8
  566. package/dist/modules/datasource/jenkins-plugins/index.js.map +1 -1
  567. package/dist/modules/datasource/jenkins-plugins/schema.js +20 -0
  568. package/dist/modules/datasource/jenkins-plugins/schema.js.map +1 -0
  569. package/dist/modules/datasource/jsr/common.js +1 -1
  570. package/dist/modules/datasource/jsr/common.js.map +1 -1
  571. package/dist/modules/datasource/jsr/index.js +2 -3
  572. package/dist/modules/datasource/jsr/index.js.map +1 -1
  573. package/dist/modules/datasource/jsr/schema.js +3 -4
  574. package/dist/modules/datasource/jsr/schema.js.map +1 -1
  575. package/dist/modules/datasource/jsr/util.js +1 -2
  576. package/dist/modules/datasource/jsr/util.js.map +1 -1
  577. package/dist/modules/datasource/kubernetes-api/index.js +2 -3
  578. package/dist/modules/datasource/kubernetes-api/index.js.map +1 -1
  579. package/dist/modules/datasource/maven/common.js +11 -2
  580. package/dist/modules/datasource/maven/common.js.map +1 -1
  581. package/dist/modules/datasource/maven/index.js +10 -7
  582. package/dist/modules/datasource/maven/index.js.map +1 -1
  583. package/dist/modules/datasource/maven/schema.js +128 -0
  584. package/dist/modules/datasource/maven/schema.js.map +1 -0
  585. package/dist/modules/datasource/maven/util.js +44 -17
  586. package/dist/modules/datasource/maven/util.js.map +1 -1
  587. package/dist/modules/datasource/metadata-manual.js +1 -2
  588. package/dist/modules/datasource/metadata-manual.js.map +1 -1
  589. package/dist/modules/datasource/metadata.js +2 -3
  590. package/dist/modules/datasource/metadata.js.map +1 -1
  591. package/dist/modules/datasource/nextcloud/index.js +2 -3
  592. package/dist/modules/datasource/nextcloud/index.js.map +1 -1
  593. package/dist/modules/datasource/nextcloud/schema.js +3 -4
  594. package/dist/modules/datasource/nextcloud/schema.js.map +1 -1
  595. package/dist/modules/datasource/node-version/common.js +1 -1
  596. package/dist/modules/datasource/node-version/index.js +5 -5
  597. package/dist/modules/datasource/node-version/index.js.map +1 -1
  598. package/dist/modules/datasource/node-version/schema.js +16 -0
  599. package/dist/modules/datasource/node-version/schema.js.map +1 -0
  600. package/dist/modules/datasource/npm/common.js +3 -3
  601. package/dist/modules/datasource/npm/common.js.map +1 -1
  602. package/dist/modules/datasource/npm/get.js +16 -13
  603. package/dist/modules/datasource/npm/get.js.map +1 -1
  604. package/dist/modules/datasource/npm/index.js +6 -7
  605. package/dist/modules/datasource/npm/index.js.map +1 -1
  606. package/dist/modules/datasource/npm/npmrc.js +5 -6
  607. package/dist/modules/datasource/npm/npmrc.js.map +1 -1
  608. package/dist/modules/datasource/npm/schema.d.ts +99 -0
  609. package/dist/modules/datasource/npm/schema.js +47 -0
  610. package/dist/modules/datasource/npm/schema.js.map +1 -0
  611. package/dist/modules/datasource/nuget/common.js +9 -8
  612. package/dist/modules/datasource/nuget/common.js.map +1 -1
  613. package/dist/modules/datasource/nuget/index.js +2 -3
  614. package/dist/modules/datasource/nuget/index.js.map +1 -1
  615. package/dist/modules/datasource/nuget/schema.js +26 -0
  616. package/dist/modules/datasource/nuget/schema.js.map +1 -0
  617. package/dist/modules/datasource/nuget/v2.js +1 -2
  618. package/dist/modules/datasource/nuget/v2.js.map +1 -1
  619. package/dist/modules/datasource/nuget/v3.js +37 -24
  620. package/dist/modules/datasource/nuget/v3.js.map +1 -1
  621. package/dist/modules/datasource/orb/index.js +1 -2
  622. package/dist/modules/datasource/orb/index.js.map +1 -1
  623. package/dist/modules/datasource/packagist/index.js +20 -11
  624. package/dist/modules/datasource/packagist/index.js.map +1 -1
  625. package/dist/modules/datasource/packagist/schema.js +37 -22
  626. package/dist/modules/datasource/packagist/schema.js.map +1 -1
  627. package/dist/modules/datasource/pod/index.js +3 -4
  628. package/dist/modules/datasource/pod/index.js.map +1 -1
  629. package/dist/modules/datasource/postprocess-release.js +5 -3
  630. package/dist/modules/datasource/postprocess-release.js.map +1 -1
  631. package/dist/modules/datasource/puppet-forge/common.js +1 -1
  632. package/dist/modules/datasource/puppet-forge/index.js +6 -20
  633. package/dist/modules/datasource/puppet-forge/index.js.map +1 -1
  634. package/dist/modules/datasource/puppet-forge/schema.js +31 -0
  635. package/dist/modules/datasource/puppet-forge/schema.js.map +1 -0
  636. package/dist/modules/datasource/pypi/common.js +1 -2
  637. package/dist/modules/datasource/pypi/common.js.map +1 -1
  638. package/dist/modules/datasource/pypi/index.js +35 -17
  639. package/dist/modules/datasource/pypi/index.js.map +1 -1
  640. package/dist/modules/datasource/pypi/schema.js +20 -0
  641. package/dist/modules/datasource/pypi/schema.js.map +1 -0
  642. package/dist/modules/datasource/python-version/common.js +1 -1
  643. package/dist/modules/datasource/python-version/index.js +10 -5
  644. package/dist/modules/datasource/python-version/index.js.map +1 -1
  645. package/dist/modules/datasource/python-version/schema.js +8 -3
  646. package/dist/modules/datasource/python-version/schema.js.map +1 -1
  647. package/dist/modules/datasource/repology/index.js +7 -7
  648. package/dist/modules/datasource/repology/index.js.map +1 -1
  649. package/dist/modules/datasource/repology/schema.js +16 -0
  650. package/dist/modules/datasource/repology/schema.js.map +1 -0
  651. package/dist/modules/datasource/rpm/common.js +6 -0
  652. package/dist/modules/datasource/rpm/common.js.map +1 -0
  653. package/dist/modules/datasource/rpm/index.js +8 -103
  654. package/dist/modules/datasource/rpm/index.js.map +1 -1
  655. package/dist/modules/datasource/rpm/providers/common.js +91 -0
  656. package/dist/modules/datasource/rpm/providers/common.js.map +1 -0
  657. package/dist/modules/datasource/rpm/providers/xml.js +66 -0
  658. package/dist/modules/datasource/rpm/providers/xml.js.map +1 -0
  659. package/dist/modules/datasource/rpm/repomd.js +37 -0
  660. package/dist/modules/datasource/rpm/repomd.js.map +1 -0
  661. package/dist/modules/datasource/ruby-version/index.js +3 -4
  662. package/dist/modules/datasource/ruby-version/index.js.map +1 -1
  663. package/dist/modules/datasource/rubygems/common.js +2 -3
  664. package/dist/modules/datasource/rubygems/common.js.map +1 -1
  665. package/dist/modules/datasource/rubygems/index.js +2 -3
  666. package/dist/modules/datasource/rubygems/index.js.map +1 -1
  667. package/dist/modules/datasource/rubygems/metadata-cache.js +11 -10
  668. package/dist/modules/datasource/rubygems/metadata-cache.js.map +1 -1
  669. package/dist/modules/datasource/rubygems/schema.js +3 -4
  670. package/dist/modules/datasource/rubygems/schema.js.map +1 -1
  671. package/dist/modules/datasource/rubygems/versions-endpoint-cache.js +7 -7
  672. package/dist/modules/datasource/rubygems/versions-endpoint-cache.js.map +1 -1
  673. package/dist/modules/datasource/rust-version/index.js +70 -0
  674. package/dist/modules/datasource/rust-version/index.js.map +1 -0
  675. package/dist/modules/datasource/rust-version/parse.js +33 -0
  676. package/dist/modules/datasource/rust-version/parse.js.map +1 -0
  677. package/dist/modules/datasource/sbt-package/index.js +23 -15
  678. package/dist/modules/datasource/sbt-package/index.js.map +1 -1
  679. package/dist/modules/datasource/sbt-package/util.js +1 -2
  680. package/dist/modules/datasource/sbt-package/util.js.map +1 -1
  681. package/dist/modules/datasource/sbt-plugin/index.js +7 -8
  682. package/dist/modules/datasource/sbt-plugin/index.js.map +1 -1
  683. package/dist/modules/datasource/schema.js +2 -3
  684. package/dist/modules/datasource/schema.js.map +1 -1
  685. package/dist/modules/datasource/span-processor.js +27 -0
  686. package/dist/modules/datasource/span-processor.js.map +1 -0
  687. package/dist/modules/datasource/terraform-module/base.js +7 -5
  688. package/dist/modules/datasource/terraform-module/base.js.map +1 -1
  689. package/dist/modules/datasource/terraform-module/index.js +78 -72
  690. package/dist/modules/datasource/terraform-module/index.js.map +1 -1
  691. package/dist/modules/datasource/terraform-module/schema.js +58 -0
  692. package/dist/modules/datasource/terraform-module/schema.js.map +1 -0
  693. package/dist/modules/datasource/terraform-module/utils.js +16 -3
  694. package/dist/modules/datasource/terraform-module/utils.js.map +1 -1
  695. package/dist/modules/datasource/terraform-provider/index.js +49 -34
  696. package/dist/modules/datasource/terraform-provider/index.js.map +1 -1
  697. package/dist/modules/datasource/terraform-provider/schema.js +71 -0
  698. package/dist/modules/datasource/terraform-provider/schema.js.map +1 -0
  699. package/dist/modules/datasource/types.d.ts +52 -11
  700. package/dist/modules/datasource/types.js +1 -1
  701. package/dist/modules/datasource/typst/index.js +2 -3
  702. package/dist/modules/datasource/typst/index.js.map +1 -1
  703. package/dist/modules/datasource/typst/schema.js +4 -7
  704. package/dist/modules/datasource/typst/schema.js.map +1 -1
  705. package/dist/modules/datasource/unity3d/index.js +2 -3
  706. package/dist/modules/datasource/unity3d/index.js.map +1 -1
  707. package/dist/modules/datasource/unity3d/schema.js +2 -3
  708. package/dist/modules/datasource/unity3d/schema.js.map +1 -1
  709. package/dist/modules/datasource/unity3d-packages/index.js +2 -3
  710. package/dist/modules/datasource/unity3d-packages/index.js.map +1 -1
  711. package/dist/modules/datasource/unity3d-packages/schema.js +2 -3
  712. package/dist/modules/datasource/unity3d-packages/schema.js.map +1 -1
  713. package/dist/modules/datasource/util.js +4 -4
  714. package/dist/modules/datasource/util.js.map +1 -1
  715. package/dist/modules/manager/ansible/extract.js +1 -2
  716. package/dist/modules/manager/ansible/extract.js.map +1 -1
  717. package/dist/modules/manager/ansible/index.js +2 -3
  718. package/dist/modules/manager/ansible/index.js.map +1 -1
  719. package/dist/modules/manager/ansible-galaxy/collections-metadata.js +1 -2
  720. package/dist/modules/manager/ansible-galaxy/collections-metadata.js.map +1 -1
  721. package/dist/modules/manager/ansible-galaxy/collections.js +2 -3
  722. package/dist/modules/manager/ansible-galaxy/collections.js.map +1 -1
  723. package/dist/modules/manager/ansible-galaxy/dep-types.js +12 -0
  724. package/dist/modules/manager/ansible-galaxy/dep-types.js.map +1 -0
  725. package/dist/modules/manager/ansible-galaxy/extract.js +2 -3
  726. package/dist/modules/manager/ansible-galaxy/extract.js.map +1 -1
  727. package/dist/modules/manager/ansible-galaxy/index.js +4 -3
  728. package/dist/modules/manager/ansible-galaxy/index.js.map +1 -1
  729. package/dist/modules/manager/ansible-galaxy/roles.js +2 -3
  730. package/dist/modules/manager/ansible-galaxy/roles.js.map +1 -1
  731. package/dist/modules/manager/ansible-galaxy/util.js +1 -2
  732. package/dist/modules/manager/ansible-galaxy/util.js.map +1 -1
  733. package/dist/modules/manager/ant/extract.js +230 -0
  734. package/dist/modules/manager/ant/extract.js.map +1 -0
  735. package/dist/modules/manager/ant/index.js +24 -0
  736. package/dist/modules/manager/ant/index.js.map +1 -0
  737. package/dist/modules/manager/ant/properties.js +123 -0
  738. package/dist/modules/manager/ant/properties.js.map +1 -0
  739. package/dist/modules/manager/ant/update.js +39 -0
  740. package/dist/modules/manager/ant/update.js.map +1 -0
  741. package/dist/modules/manager/api.js +17 -4
  742. package/dist/modules/manager/api.js.map +1 -1
  743. package/dist/modules/manager/argocd/extract.js +2 -3
  744. package/dist/modules/manager/argocd/extract.js.map +1 -1
  745. package/dist/modules/manager/argocd/index.js +2 -3
  746. package/dist/modules/manager/argocd/index.js.map +1 -1
  747. package/dist/modules/manager/argocd/schema.js +3 -4
  748. package/dist/modules/manager/argocd/schema.js.map +1 -1
  749. package/dist/modules/manager/argocd/util.js +2 -4
  750. package/dist/modules/manager/argocd/util.js.map +1 -1
  751. package/dist/modules/manager/asdf/extract.js +3 -3
  752. package/dist/modules/manager/asdf/extract.js.map +1 -1
  753. package/dist/modules/manager/asdf/index.js +4 -5
  754. package/dist/modules/manager/asdf/index.js.map +1 -1
  755. package/dist/modules/manager/asdf/upgradeable-tooling.js +19 -12
  756. package/dist/modules/manager/asdf/upgradeable-tooling.js.map +1 -1
  757. package/dist/modules/manager/azure-pipelines/dep-types.js +12 -0
  758. package/dist/modules/manager/azure-pipelines/dep-types.js.map +1 -0
  759. package/dist/modules/manager/azure-pipelines/extract.js +5 -6
  760. package/dist/modules/manager/azure-pipelines/extract.js.map +1 -1
  761. package/dist/modules/manager/azure-pipelines/index.js +5 -4
  762. package/dist/modules/manager/azure-pipelines/index.js.map +1 -1
  763. package/dist/modules/manager/azure-pipelines/schema.js +3 -4
  764. package/dist/modules/manager/azure-pipelines/schema.js.map +1 -1
  765. package/dist/modules/manager/batect/extract.js +1 -2
  766. package/dist/modules/manager/batect/extract.js.map +1 -1
  767. package/dist/modules/manager/batect/index.js +2 -3
  768. package/dist/modules/manager/batect/index.js.map +1 -1
  769. package/dist/modules/manager/batect/schema.js +4 -5
  770. package/dist/modules/manager/batect/schema.js.map +1 -1
  771. package/dist/modules/manager/batect-wrapper/artifacts.js +2 -3
  772. package/dist/modules/manager/batect-wrapper/artifacts.js.map +1 -1
  773. package/dist/modules/manager/batect-wrapper/extract.js +1 -2
  774. package/dist/modules/manager/batect-wrapper/extract.js.map +1 -1
  775. package/dist/modules/manager/batect-wrapper/index.js +2 -3
  776. package/dist/modules/manager/batect-wrapper/index.js.map +1 -1
  777. package/dist/modules/manager/bazel/artifacts.js +4 -5
  778. package/dist/modules/manager/bazel/artifacts.js.map +1 -1
  779. package/dist/modules/manager/bazel/common.js +2 -3
  780. package/dist/modules/manager/bazel/common.js.map +1 -1
  781. package/dist/modules/manager/bazel/dep-types.js +71 -0
  782. package/dist/modules/manager/bazel/dep-types.js.map +1 -0
  783. package/dist/modules/manager/bazel/extract.js +2 -5
  784. package/dist/modules/manager/bazel/extract.js.map +1 -1
  785. package/dist/modules/manager/bazel/index.js +5 -4
  786. package/dist/modules/manager/bazel/index.js.map +1 -1
  787. package/dist/modules/manager/bazel/parser.js +2 -3
  788. package/dist/modules/manager/bazel/parser.js.map +1 -1
  789. package/dist/modules/manager/bazel/rules/docker.js +2 -3
  790. package/dist/modules/manager/bazel/rules/docker.js.map +1 -1
  791. package/dist/modules/manager/bazel/rules/git.js +3 -4
  792. package/dist/modules/manager/bazel/rules/git.js.map +1 -1
  793. package/dist/modules/manager/bazel/rules/go.js +2 -3
  794. package/dist/modules/manager/bazel/rules/go.js.map +1 -1
  795. package/dist/modules/manager/bazel/rules/http.js +7 -8
  796. package/dist/modules/manager/bazel/rules/http.js.map +1 -1
  797. package/dist/modules/manager/bazel/rules/index.js +5 -11
  798. package/dist/modules/manager/bazel/rules/index.js.map +1 -1
  799. package/dist/modules/manager/bazel/rules/maven.js +3 -4
  800. package/dist/modules/manager/bazel/rules/maven.js.map +1 -1
  801. package/dist/modules/manager/bazel/rules/oci.js +2 -3
  802. package/dist/modules/manager/bazel/rules/oci.js.map +1 -1
  803. package/dist/modules/manager/bazel-module/artifacts.js +23 -0
  804. package/dist/modules/manager/bazel-module/artifacts.js.map +1 -0
  805. package/dist/modules/manager/bazel-module/bazelrc.js +2 -3
  806. package/dist/modules/manager/bazel-module/bazelrc.js.map +1 -1
  807. package/dist/modules/manager/bazel-module/dep-types.js +51 -0
  808. package/dist/modules/manager/bazel-module/dep-types.js.map +1 -0
  809. package/dist/modules/manager/bazel-module/extract.js +5 -3
  810. package/dist/modules/manager/bazel-module/extract.js.map +1 -1
  811. package/dist/modules/manager/bazel-module/index.js +14 -5
  812. package/dist/modules/manager/bazel-module/index.js.map +1 -1
  813. package/dist/modules/manager/bazel-module/lockfile.js +47 -0
  814. package/dist/modules/manager/bazel-module/lockfile.js.map +1 -0
  815. package/dist/modules/manager/bazel-module/parser/common.js +1 -2
  816. package/dist/modules/manager/bazel-module/parser/common.js.map +1 -1
  817. package/dist/modules/manager/bazel-module/parser/context.js +3 -3
  818. package/dist/modules/manager/bazel-module/parser/context.js.map +1 -1
  819. package/dist/modules/manager/bazel-module/parser/crate.js +52 -0
  820. package/dist/modules/manager/bazel-module/parser/crate.js.map +1 -0
  821. package/dist/modules/manager/bazel-module/parser/extension-tags.js +10 -5
  822. package/dist/modules/manager/bazel-module/parser/extension-tags.js.map +1 -1
  823. package/dist/modules/manager/bazel-module/parser/fragments.js +4 -5
  824. package/dist/modules/manager/bazel-module/parser/fragments.js.map +1 -1
  825. package/dist/modules/manager/bazel-module/parser/index.js +1 -2
  826. package/dist/modules/manager/bazel-module/parser/index.js.map +1 -1
  827. package/dist/modules/manager/bazel-module/parser/maven.js +6 -4
  828. package/dist/modules/manager/bazel-module/parser/maven.js.map +1 -1
  829. package/dist/modules/manager/bazel-module/parser/oci.js +4 -7
  830. package/dist/modules/manager/bazel-module/parser/oci.js.map +1 -1
  831. package/dist/modules/manager/bazel-module/parser/repo-rules.js +1 -2
  832. package/dist/modules/manager/bazel-module/parser/repo-rules.js.map +1 -1
  833. package/dist/modules/manager/bazel-module/parser/rules.js +1 -2
  834. package/dist/modules/manager/bazel-module/parser/rules.js.map +1 -1
  835. package/dist/modules/manager/bazel-module/parser/starlark.js +2 -3
  836. package/dist/modules/manager/bazel-module/parser/starlark.js.map +1 -1
  837. package/dist/modules/manager/bazel-module/rules-img.js +3 -4
  838. package/dist/modules/manager/bazel-module/rules-img.js.map +1 -1
  839. package/dist/modules/manager/bazel-module/rules.js +6 -5
  840. package/dist/modules/manager/bazel-module/rules.js.map +1 -1
  841. package/dist/modules/manager/bazelisk/artifacts.js +27 -0
  842. package/dist/modules/manager/bazelisk/artifacts.js.map +1 -0
  843. package/dist/modules/manager/bazelisk/extract.js +1 -2
  844. package/dist/modules/manager/bazelisk/extract.js.map +1 -1
  845. package/dist/modules/manager/bazelisk/index.js +8 -3
  846. package/dist/modules/manager/bazelisk/index.js.map +1 -1
  847. package/dist/modules/manager/bicep/extract.js +1 -2
  848. package/dist/modules/manager/bicep/extract.js.map +1 -1
  849. package/dist/modules/manager/bicep/index.js +2 -3
  850. package/dist/modules/manager/bicep/index.js.map +1 -1
  851. package/dist/modules/manager/bitbucket-pipelines/dep-types.js +12 -0
  852. package/dist/modules/manager/bitbucket-pipelines/dep-types.js.map +1 -0
  853. package/dist/modules/manager/bitbucket-pipelines/extract.js +1 -2
  854. package/dist/modules/manager/bitbucket-pipelines/extract.js.map +1 -1
  855. package/dist/modules/manager/bitbucket-pipelines/index.js +5 -4
  856. package/dist/modules/manager/bitbucket-pipelines/index.js.map +1 -1
  857. package/dist/modules/manager/bitbucket-pipelines/util.js +2 -3
  858. package/dist/modules/manager/bitbucket-pipelines/util.js.map +1 -1
  859. package/dist/modules/manager/bitrise/extract.js +1 -2
  860. package/dist/modules/manager/bitrise/extract.js.map +1 -1
  861. package/dist/modules/manager/bitrise/index.js +3 -4
  862. package/dist/modules/manager/bitrise/index.js.map +1 -1
  863. package/dist/modules/manager/bitrise/schema.js +3 -4
  864. package/dist/modules/manager/bitrise/schema.js.map +1 -1
  865. package/dist/modules/manager/bitrise/utils.js +3 -4
  866. package/dist/modules/manager/bitrise/utils.js.map +1 -1
  867. package/dist/modules/manager/buildkite/extract.js +4 -5
  868. package/dist/modules/manager/buildkite/extract.js.map +1 -1
  869. package/dist/modules/manager/buildkite/index.js +3 -4
  870. package/dist/modules/manager/buildkite/index.js.map +1 -1
  871. package/dist/modules/manager/buildpacks/extract.js +5 -6
  872. package/dist/modules/manager/buildpacks/extract.js.map +1 -1
  873. package/dist/modules/manager/buildpacks/index.js +3 -4
  874. package/dist/modules/manager/buildpacks/index.js.map +1 -1
  875. package/dist/modules/manager/buildpacks/schema.js +3 -4
  876. package/dist/modules/manager/buildpacks/schema.js.map +1 -1
  877. package/dist/modules/manager/bun/artifacts.js +4 -5
  878. package/dist/modules/manager/bun/artifacts.js.map +1 -1
  879. package/dist/modules/manager/bun/extract.js +4 -4
  880. package/dist/modules/manager/bun/extract.js.map +1 -1
  881. package/dist/modules/manager/bun/index.js +4 -5
  882. package/dist/modules/manager/bun/index.js.map +1 -1
  883. package/dist/modules/manager/bun/utils.js +2 -3
  884. package/dist/modules/manager/bun/utils.js.map +1 -1
  885. package/dist/modules/manager/bun-version/index.js +4 -5
  886. package/dist/modules/manager/bun-version/index.js.map +1 -1
  887. package/dist/modules/manager/bundler/artifacts.js +6 -7
  888. package/dist/modules/manager/bundler/artifacts.js.map +1 -1
  889. package/dist/modules/manager/bundler/common.js +24 -27
  890. package/dist/modules/manager/bundler/common.js.map +1 -1
  891. package/dist/modules/manager/bundler/extract.js +5 -10
  892. package/dist/modules/manager/bundler/extract.js.map +1 -1
  893. package/dist/modules/manager/bundler/host-rules.js +1 -2
  894. package/dist/modules/manager/bundler/host-rules.js.map +1 -1
  895. package/dist/modules/manager/bundler/index.js +4 -5
  896. package/dist/modules/manager/bundler/index.js.map +1 -1
  897. package/dist/modules/manager/bundler/locked-version.js +1 -2
  898. package/dist/modules/manager/bundler/locked-version.js.map +1 -1
  899. package/dist/modules/manager/bundler/update-locked.js +1 -2
  900. package/dist/modules/manager/bundler/update-locked.js.map +1 -1
  901. package/dist/modules/manager/cake/index.js +37 -27
  902. package/dist/modules/manager/cake/index.js.map +1 -1
  903. package/dist/modules/manager/cargo/artifacts.js +9 -7
  904. package/dist/modules/manager/cargo/artifacts.js.map +1 -1
  905. package/dist/modules/manager/cargo/extract.js +7 -10
  906. package/dist/modules/manager/cargo/extract.js.map +1 -1
  907. package/dist/modules/manager/cargo/index.js +6 -7
  908. package/dist/modules/manager/cargo/index.js.map +1 -1
  909. package/dist/modules/manager/cargo/locked-version.js +2 -3
  910. package/dist/modules/manager/cargo/locked-version.js.map +1 -1
  911. package/dist/modules/manager/cargo/range.js +1 -1
  912. package/dist/modules/manager/cargo/range.js.map +1 -1
  913. package/dist/modules/manager/cargo/schema.js +11 -3
  914. package/dist/modules/manager/cargo/schema.js.map +1 -1
  915. package/dist/modules/manager/cargo/update-locked.js +1 -2
  916. package/dist/modules/manager/cargo/update-locked.js.map +1 -1
  917. package/dist/modules/manager/cargo/update.js +1 -2
  918. package/dist/modules/manager/cargo/update.js.map +1 -1
  919. package/dist/modules/manager/cargo/utils.js +1 -1
  920. package/dist/modules/manager/cargo/utils.js.map +1 -1
  921. package/dist/modules/manager/cdnurl/extract.js +1 -2
  922. package/dist/modules/manager/cdnurl/extract.js.map +1 -1
  923. package/dist/modules/manager/cdnurl/index.js +2 -3
  924. package/dist/modules/manager/cdnurl/index.js.map +1 -1
  925. package/dist/modules/manager/circleci/dep-types.js +12 -0
  926. package/dist/modules/manager/circleci/dep-types.js.map +1 -0
  927. package/dist/modules/manager/circleci/extract.js +5 -6
  928. package/dist/modules/manager/circleci/extract.js.map +1 -1
  929. package/dist/modules/manager/circleci/index.js +4 -3
  930. package/dist/modules/manager/circleci/index.js.map +1 -1
  931. package/dist/modules/manager/circleci/range.js +1 -1
  932. package/dist/modules/manager/circleci/range.js.map +1 -1
  933. package/dist/modules/manager/circleci/schema.js +3 -4
  934. package/dist/modules/manager/circleci/schema.js.map +1 -1
  935. package/dist/modules/manager/cloudbuild/extract.js +1 -2
  936. package/dist/modules/manager/cloudbuild/extract.js.map +1 -1
  937. package/dist/modules/manager/cloudbuild/index.js +2 -3
  938. package/dist/modules/manager/cloudbuild/index.js.map +1 -1
  939. package/dist/modules/manager/cloudbuild/schema.js +2 -3
  940. package/dist/modules/manager/cloudbuild/schema.js.map +1 -1
  941. package/dist/modules/manager/cocoapods/artifacts.js +6 -7
  942. package/dist/modules/manager/cocoapods/artifacts.js.map +1 -1
  943. package/dist/modules/manager/cocoapods/extract.js +2 -3
  944. package/dist/modules/manager/cocoapods/extract.js.map +1 -1
  945. package/dist/modules/manager/cocoapods/index.js +3 -4
  946. package/dist/modules/manager/cocoapods/index.js.map +1 -1
  947. package/dist/modules/manager/composer/artifacts.js +8 -9
  948. package/dist/modules/manager/composer/artifacts.js.map +1 -1
  949. package/dist/modules/manager/composer/dep-types.js +12 -0
  950. package/dist/modules/manager/composer/dep-types.js.map +1 -0
  951. package/dist/modules/manager/composer/extract.js +1 -2
  952. package/dist/modules/manager/composer/extract.js.map +1 -1
  953. package/dist/modules/manager/composer/index.js +8 -7
  954. package/dist/modules/manager/composer/index.js.map +1 -1
  955. package/dist/modules/manager/composer/range.js +1 -2
  956. package/dist/modules/manager/composer/range.js.map +1 -1
  957. package/dist/modules/manager/composer/schema.js +13 -7
  958. package/dist/modules/manager/composer/schema.js.map +1 -1
  959. package/dist/modules/manager/composer/update-locked.js +2 -3
  960. package/dist/modules/manager/composer/update-locked.js.map +1 -1
  961. package/dist/modules/manager/composer/utils.js +5 -6
  962. package/dist/modules/manager/composer/utils.js.map +1 -1
  963. package/dist/modules/manager/conan/artifacts.js +5 -6
  964. package/dist/modules/manager/conan/artifacts.js.map +1 -1
  965. package/dist/modules/manager/conan/common.js +1 -1
  966. package/dist/modules/manager/conan/common.js.map +1 -1
  967. package/dist/modules/manager/conan/dep-types.js +19 -0
  968. package/dist/modules/manager/conan/dep-types.js.map +1 -0
  969. package/dist/modules/manager/conan/extract.js +1 -2
  970. package/dist/modules/manager/conan/extract.js.map +1 -1
  971. package/dist/modules/manager/conan/index.js +6 -5
  972. package/dist/modules/manager/conan/index.js.map +1 -1
  973. package/dist/modules/manager/conan/range.js +1 -1
  974. package/dist/modules/manager/conan/range.js.map +1 -1
  975. package/dist/modules/manager/copier/artifacts.js +4 -6
  976. package/dist/modules/manager/copier/artifacts.js.map +1 -1
  977. package/dist/modules/manager/copier/dep-types.js +9 -0
  978. package/dist/modules/manager/copier/dep-types.js.map +1 -0
  979. package/dist/modules/manager/copier/extract.js +34 -3
  980. package/dist/modules/manager/copier/extract.js.map +1 -1
  981. package/dist/modules/manager/copier/index.js +6 -3
  982. package/dist/modules/manager/copier/index.js.map +1 -1
  983. package/dist/modules/manager/copier/schema.js +2 -3
  984. package/dist/modules/manager/copier/schema.js.map +1 -1
  985. package/dist/modules/manager/copier/update.js +1 -2
  986. package/dist/modules/manager/copier/update.js.map +1 -1
  987. package/dist/modules/manager/copier/utils.js +1 -2
  988. package/dist/modules/manager/copier/utils.js.map +1 -1
  989. package/dist/modules/manager/cpanfile/dep-types.js +27 -0
  990. package/dist/modules/manager/cpanfile/dep-types.js.map +1 -0
  991. package/dist/modules/manager/cpanfile/extract.js +1 -2
  992. package/dist/modules/manager/cpanfile/extract.js.map +1 -1
  993. package/dist/modules/manager/cpanfile/index.js +5 -4
  994. package/dist/modules/manager/cpanfile/index.js.map +1 -1
  995. package/dist/modules/manager/cpanfile/language.js +2 -4
  996. package/dist/modules/manager/cpanfile/language.js.map +1 -1
  997. package/dist/modules/manager/cpanfile/parser.js +2 -3
  998. package/dist/modules/manager/cpanfile/parser.js.map +1 -1
  999. package/dist/modules/manager/crossplane/dep-types.js +19 -0
  1000. package/dist/modules/manager/crossplane/dep-types.js.map +1 -0
  1001. package/dist/modules/manager/crossplane/extract.js +1 -2
  1002. package/dist/modules/manager/crossplane/extract.js.map +1 -1
  1003. package/dist/modules/manager/crossplane/index.js +4 -3
  1004. package/dist/modules/manager/crossplane/index.js.map +1 -1
  1005. package/dist/modules/manager/crossplane/schema.js +2 -3
  1006. package/dist/modules/manager/crossplane/schema.js.map +1 -1
  1007. package/dist/modules/manager/crow/extract.js +1 -2
  1008. package/dist/modules/manager/crow/extract.js.map +1 -1
  1009. package/dist/modules/manager/crow/index.js +2 -3
  1010. package/dist/modules/manager/crow/index.js.map +1 -1
  1011. package/dist/modules/manager/crow/schema.js +3 -4
  1012. package/dist/modules/manager/crow/schema.js.map +1 -1
  1013. package/dist/modules/manager/custom/api.js +1 -2
  1014. package/dist/modules/manager/custom/api.js.map +1 -1
  1015. package/dist/modules/manager/custom/index.js +2 -4
  1016. package/dist/modules/manager/custom/index.js.map +1 -1
  1017. package/dist/modules/manager/custom/jsonata/index.js +3 -3
  1018. package/dist/modules/manager/custom/jsonata/index.js.map +1 -1
  1019. package/dist/modules/manager/custom/jsonata/schema.js +2 -3
  1020. package/dist/modules/manager/custom/jsonata/schema.js.map +1 -1
  1021. package/dist/modules/manager/custom/jsonata/types.d.ts +7 -2
  1022. package/dist/modules/manager/custom/jsonata/utils.js +15 -5
  1023. package/dist/modules/manager/custom/jsonata/utils.js.map +1 -1
  1024. package/dist/modules/manager/custom/regex/index.js +2 -3
  1025. package/dist/modules/manager/custom/regex/index.js.map +1 -1
  1026. package/dist/modules/manager/custom/regex/strategies.js +2 -3
  1027. package/dist/modules/manager/custom/regex/strategies.js.map +1 -1
  1028. package/dist/modules/manager/custom/regex/types.d.ts +1 -2
  1029. package/dist/modules/manager/custom/regex/utils.js +8 -9
  1030. package/dist/modules/manager/custom/regex/utils.js.map +1 -1
  1031. package/dist/modules/manager/custom/types.d.ts +2 -3
  1032. package/dist/modules/manager/custom/utils.js +1 -2
  1033. package/dist/modules/manager/custom/utils.js.map +1 -1
  1034. package/dist/modules/manager/deno/artifacts.js +96 -0
  1035. package/dist/modules/manager/deno/artifacts.js.map +1 -0
  1036. package/dist/modules/manager/deno/compat.js +79 -0
  1037. package/dist/modules/manager/deno/compat.js.map +1 -0
  1038. package/dist/modules/manager/deno/extract.js +81 -0
  1039. package/dist/modules/manager/deno/extract.js.map +1 -0
  1040. package/dist/modules/manager/deno/index.js +42 -0
  1041. package/dist/modules/manager/deno/index.js.map +1 -0
  1042. package/dist/modules/manager/deno/post.js +150 -0
  1043. package/dist/modules/manager/deno/post.js.map +1 -0
  1044. package/dist/modules/manager/deno/schema.js +200 -0
  1045. package/dist/modules/manager/deno/schema.js.map +1 -0
  1046. package/dist/modules/manager/deno/update.js +152 -0
  1047. package/dist/modules/manager/deno/update.js.map +1 -0
  1048. package/dist/modules/manager/deno/utils.js +8 -0
  1049. package/dist/modules/manager/deno/utils.js.map +1 -0
  1050. package/dist/modules/manager/deps-edn/extract.js +4 -5
  1051. package/dist/modules/manager/deps-edn/extract.js.map +1 -1
  1052. package/dist/modules/manager/deps-edn/index.js +2 -3
  1053. package/dist/modules/manager/deps-edn/index.js.map +1 -1
  1054. package/dist/modules/manager/deps-edn/parser.js +3 -4
  1055. package/dist/modules/manager/deps-edn/parser.js.map +1 -1
  1056. package/dist/modules/manager/devbox/artifacts.js +2 -3
  1057. package/dist/modules/manager/devbox/artifacts.js.map +1 -1
  1058. package/dist/modules/manager/devbox/extract.js +1 -2
  1059. package/dist/modules/manager/devbox/extract.js.map +1 -1
  1060. package/dist/modules/manager/devbox/index.js +4 -5
  1061. package/dist/modules/manager/devbox/index.js.map +1 -1
  1062. package/dist/modules/manager/devbox/schema.js +3 -4
  1063. package/dist/modules/manager/devbox/schema.js.map +1 -1
  1064. package/dist/modules/manager/devbox/tool-versioning.js +15 -16
  1065. package/dist/modules/manager/devbox/tool-versioning.js.map +1 -1
  1066. package/dist/modules/manager/devcontainer/dep-types.js +12 -0
  1067. package/dist/modules/manager/devcontainer/dep-types.js.map +1 -0
  1068. package/dist/modules/manager/devcontainer/extract.js +4 -5
  1069. package/dist/modules/manager/devcontainer/extract.js.map +1 -1
  1070. package/dist/modules/manager/devcontainer/index.js +6 -5
  1071. package/dist/modules/manager/devcontainer/index.js.map +1 -1
  1072. package/dist/modules/manager/devcontainer/schema.js +2 -3
  1073. package/dist/modules/manager/devcontainer/schema.js.map +1 -1
  1074. package/dist/modules/manager/docker-compose/extract.js +1 -2
  1075. package/dist/modules/manager/docker-compose/extract.js.map +1 -1
  1076. package/dist/modules/manager/docker-compose/index.js +2 -3
  1077. package/dist/modules/manager/docker-compose/index.js.map +1 -1
  1078. package/dist/modules/manager/docker-compose/schema.js +8 -5
  1079. package/dist/modules/manager/docker-compose/schema.js.map +1 -1
  1080. package/dist/modules/manager/dockerfile/dep-types.js +19 -0
  1081. package/dist/modules/manager/dockerfile/dep-types.js.map +1 -0
  1082. package/dist/modules/manager/dockerfile/extract.js +19 -20
  1083. package/dist/modules/manager/dockerfile/extract.js.map +1 -1
  1084. package/dist/modules/manager/dockerfile/index.js +4 -3
  1085. package/dist/modules/manager/dockerfile/index.js.map +1 -1
  1086. package/dist/modules/manager/droneci/dep-types.js +9 -0
  1087. package/dist/modules/manager/droneci/dep-types.js.map +1 -0
  1088. package/dist/modules/manager/droneci/extract.js +3 -4
  1089. package/dist/modules/manager/droneci/extract.js.map +1 -1
  1090. package/dist/modules/manager/droneci/index.js +4 -3
  1091. package/dist/modules/manager/droneci/index.js.map +1 -1
  1092. package/dist/modules/manager/fingerprint.generated.js +76 -69
  1093. package/dist/modules/manager/fingerprint.generated.js.map +1 -1
  1094. package/dist/modules/manager/fleet/dep-types.js +12 -0
  1095. package/dist/modules/manager/fleet/dep-types.js.map +1 -0
  1096. package/dist/modules/manager/fleet/extract.js +12 -11
  1097. package/dist/modules/manager/fleet/extract.js.map +1 -1
  1098. package/dist/modules/manager/fleet/index.js +4 -3
  1099. package/dist/modules/manager/fleet/index.js.map +1 -1
  1100. package/dist/modules/manager/fleet/schema.js +2 -3
  1101. package/dist/modules/manager/fleet/schema.js.map +1 -1
  1102. package/dist/modules/manager/flux/artifacts.js +3 -4
  1103. package/dist/modules/manager/flux/artifacts.js.map +1 -1
  1104. package/dist/modules/manager/flux/common.js +1 -2
  1105. package/dist/modules/manager/flux/common.js.map +1 -1
  1106. package/dist/modules/manager/flux/extract.js +118 -22
  1107. package/dist/modules/manager/flux/extract.js.map +1 -1
  1108. package/dist/modules/manager/flux/index.js +6 -7
  1109. package/dist/modules/manager/flux/index.js.map +1 -1
  1110. package/dist/modules/manager/flux/schema.js +6 -6
  1111. package/dist/modules/manager/flux/schema.js.map +1 -1
  1112. package/dist/modules/manager/fvm/extract.js +1 -2
  1113. package/dist/modules/manager/fvm/extract.js.map +1 -1
  1114. package/dist/modules/manager/fvm/index.js +5 -5
  1115. package/dist/modules/manager/fvm/index.js.map +1 -1
  1116. package/dist/modules/manager/fvm/schema.js +2 -3
  1117. package/dist/modules/manager/fvm/schema.js.map +1 -1
  1118. package/dist/modules/manager/git-submodules/artifacts.js +1 -2
  1119. package/dist/modules/manager/git-submodules/artifacts.js.map +1 -1
  1120. package/dist/modules/manager/git-submodules/extract.js +8 -10
  1121. package/dist/modules/manager/git-submodules/extract.js.map +1 -1
  1122. package/dist/modules/manager/git-submodules/index.js +4 -5
  1123. package/dist/modules/manager/git-submodules/index.js.map +1 -1
  1124. package/dist/modules/manager/git-submodules/update.js +11 -7
  1125. package/dist/modules/manager/git-submodules/update.js.map +1 -1
  1126. package/dist/modules/manager/github-actions/community.js +158 -186
  1127. package/dist/modules/manager/github-actions/community.js.map +1 -1
  1128. package/dist/modules/manager/github-actions/dep-types.js +31 -0
  1129. package/dist/modules/manager/github-actions/dep-types.js.map +1 -0
  1130. package/dist/modules/manager/github-actions/extract.js +35 -23
  1131. package/dist/modules/manager/github-actions/extract.js.map +1 -1
  1132. package/dist/modules/manager/github-actions/index.js +10 -5
  1133. package/dist/modules/manager/github-actions/index.js.map +1 -1
  1134. package/dist/modules/manager/github-actions/parse.js +13 -6
  1135. package/dist/modules/manager/github-actions/parse.js.map +1 -1
  1136. package/dist/modules/manager/github-actions/schema.js +11 -7
  1137. package/dist/modules/manager/github-actions/schema.js.map +1 -1
  1138. package/dist/modules/manager/gitlabci/dep-types.js +23 -0
  1139. package/dist/modules/manager/gitlabci/dep-types.js.map +1 -0
  1140. package/dist/modules/manager/gitlabci/extract.js +2 -3
  1141. package/dist/modules/manager/gitlabci/extract.js.map +1 -1
  1142. package/dist/modules/manager/gitlabci/index.js +4 -3
  1143. package/dist/modules/manager/gitlabci/index.js.map +1 -1
  1144. package/dist/modules/manager/gitlabci/schema.js +4 -6
  1145. package/dist/modules/manager/gitlabci/schema.js.map +1 -1
  1146. package/dist/modules/manager/gitlabci/utils.js +1 -2
  1147. package/dist/modules/manager/gitlabci/utils.js.map +1 -1
  1148. package/dist/modules/manager/gitlabci-include/dep-types.js +9 -0
  1149. package/dist/modules/manager/gitlabci-include/dep-types.js.map +1 -0
  1150. package/dist/modules/manager/gitlabci-include/extract.js +1 -2
  1151. package/dist/modules/manager/gitlabci-include/extract.js.map +1 -1
  1152. package/dist/modules/manager/gitlabci-include/index.js +4 -3
  1153. package/dist/modules/manager/gitlabci-include/index.js.map +1 -1
  1154. package/dist/modules/manager/gitlabci-include/schema.js +4 -5
  1155. package/dist/modules/manager/gitlabci-include/schema.js.map +1 -1
  1156. package/dist/modules/manager/glasskube/extract.js +1 -2
  1157. package/dist/modules/manager/glasskube/extract.js.map +1 -1
  1158. package/dist/modules/manager/glasskube/index.js +2 -3
  1159. package/dist/modules/manager/glasskube/index.js.map +1 -1
  1160. package/dist/modules/manager/glasskube/schema.js +3 -4
  1161. package/dist/modules/manager/glasskube/schema.js.map +1 -1
  1162. package/dist/modules/manager/gleam/artifacts.js +4 -5
  1163. package/dist/modules/manager/gleam/artifacts.js.map +1 -1
  1164. package/dist/modules/manager/gleam/dep-types.js +12 -0
  1165. package/dist/modules/manager/gleam/dep-types.js.map +1 -0
  1166. package/dist/modules/manager/gleam/extract.js +2 -3
  1167. package/dist/modules/manager/gleam/extract.js.map +1 -1
  1168. package/dist/modules/manager/gleam/index.js +10 -7
  1169. package/dist/modules/manager/gleam/index.js.map +1 -1
  1170. package/dist/modules/manager/gleam/locked-version.js +2 -3
  1171. package/dist/modules/manager/gleam/locked-version.js.map +1 -1
  1172. package/dist/modules/manager/gleam/range.js +1 -2
  1173. package/dist/modules/manager/gleam/range.js.map +1 -1
  1174. package/dist/modules/manager/gleam/schema.js +2 -3
  1175. package/dist/modules/manager/gleam/schema.js.map +1 -1
  1176. package/dist/modules/manager/gomod/artifacts-extra.js +2 -3
  1177. package/dist/modules/manager/gomod/artifacts-extra.js.map +1 -1
  1178. package/dist/modules/manager/gomod/artifacts.js +36 -16
  1179. package/dist/modules/manager/gomod/artifacts.js.map +1 -1
  1180. package/dist/modules/manager/gomod/dep-types.js +31 -0
  1181. package/dist/modules/manager/gomod/dep-types.js.map +1 -0
  1182. package/dist/modules/manager/gomod/extract.js +29 -6
  1183. package/dist/modules/manager/gomod/extract.js.map +1 -1
  1184. package/dist/modules/manager/gomod/index.js +4 -3
  1185. package/dist/modules/manager/gomod/index.js.map +1 -1
  1186. package/dist/modules/manager/gomod/line-parser.js +13 -6
  1187. package/dist/modules/manager/gomod/line-parser.js.map +1 -1
  1188. package/dist/modules/manager/gomod/update.js +12 -5
  1189. package/dist/modules/manager/gomod/update.js.map +1 -1
  1190. package/dist/modules/manager/gradle/artifacts.js +9 -10
  1191. package/dist/modules/manager/gradle/artifacts.js.map +1 -1
  1192. package/dist/modules/manager/gradle/dep-types.js +23 -0
  1193. package/dist/modules/manager/gradle/dep-types.js.map +1 -0
  1194. package/dist/modules/manager/gradle/extract/catalog.js +47 -9
  1195. package/dist/modules/manager/gradle/extract/catalog.js.map +1 -1
  1196. package/dist/modules/manager/gradle/extract/consistent-versions-plugin.js +5 -6
  1197. package/dist/modules/manager/gradle/extract/consistent-versions-plugin.js.map +1 -1
  1198. package/dist/modules/manager/gradle/extract.js +10 -9
  1199. package/dist/modules/manager/gradle/extract.js.map +1 -1
  1200. package/dist/modules/manager/gradle/index.js +7 -6
  1201. package/dist/modules/manager/gradle/index.js.map +1 -1
  1202. package/dist/modules/manager/gradle/parser/apply-from.js +1 -2
  1203. package/dist/modules/manager/gradle/parser/apply-from.js.map +1 -1
  1204. package/dist/modules/manager/gradle/parser/assignments.js +23 -20
  1205. package/dist/modules/manager/gradle/parser/assignments.js.map +1 -1
  1206. package/dist/modules/manager/gradle/parser/common.js +26 -13
  1207. package/dist/modules/manager/gradle/parser/common.js.map +1 -1
  1208. package/dist/modules/manager/gradle/parser/dependencies.js +1 -2
  1209. package/dist/modules/manager/gradle/parser/dependencies.js.map +1 -1
  1210. package/dist/modules/manager/gradle/parser/handlers.js +31 -11
  1211. package/dist/modules/manager/gradle/parser/handlers.js.map +1 -1
  1212. package/dist/modules/manager/gradle/parser/language-version.js +1 -2
  1213. package/dist/modules/manager/gradle/parser/language-version.js.map +1 -1
  1214. package/dist/modules/manager/gradle/parser/objects.js +12 -11
  1215. package/dist/modules/manager/gradle/parser/objects.js.map +1 -1
  1216. package/dist/modules/manager/gradle/parser/plugins.js +1 -2
  1217. package/dist/modules/manager/gradle/parser/plugins.js.map +1 -1
  1218. package/dist/modules/manager/gradle/parser/registry-urls.js +7 -8
  1219. package/dist/modules/manager/gradle/parser/registry-urls.js.map +1 -1
  1220. package/dist/modules/manager/gradle/parser/version-catalogs.js +13 -7
  1221. package/dist/modules/manager/gradle/parser/version-catalogs.js.map +1 -1
  1222. package/dist/modules/manager/gradle/parser.js +1 -2
  1223. package/dist/modules/manager/gradle/parser.js.map +1 -1
  1224. package/dist/modules/manager/gradle/update.js +1 -2
  1225. package/dist/modules/manager/gradle/update.js.map +1 -1
  1226. package/dist/modules/manager/gradle/utils.js +40 -11
  1227. package/dist/modules/manager/gradle/utils.js.map +1 -1
  1228. package/dist/modules/manager/gradle-wrapper/artifacts.js +7 -11
  1229. package/dist/modules/manager/gradle-wrapper/artifacts.js.map +1 -1
  1230. package/dist/modules/manager/gradle-wrapper/extract.js +1 -2
  1231. package/dist/modules/manager/gradle-wrapper/extract.js.map +1 -1
  1232. package/dist/modules/manager/gradle-wrapper/index.js +2 -3
  1233. package/dist/modules/manager/gradle-wrapper/index.js.map +1 -1
  1234. package/dist/modules/manager/gradle-wrapper/utils.js +4 -4
  1235. package/dist/modules/manager/gradle-wrapper/utils.js.map +1 -1
  1236. package/dist/modules/manager/haskell-cabal/extract.js +2 -3
  1237. package/dist/modules/manager/haskell-cabal/extract.js.map +1 -1
  1238. package/dist/modules/manager/haskell-cabal/index.js +4 -5
  1239. package/dist/modules/manager/haskell-cabal/index.js.map +1 -1
  1240. package/dist/modules/manager/helm-requirements/extract.js +11 -11
  1241. package/dist/modules/manager/helm-requirements/extract.js.map +1 -1
  1242. package/dist/modules/manager/helm-requirements/index.js +2 -3
  1243. package/dist/modules/manager/helm-requirements/index.js.map +1 -1
  1244. package/dist/modules/manager/helm-values/extract.js +2 -3
  1245. package/dist/modules/manager/helm-values/extract.js.map +1 -1
  1246. package/dist/modules/manager/helm-values/index.js +2 -3
  1247. package/dist/modules/manager/helm-values/index.js.map +1 -1
  1248. package/dist/modules/manager/helm-values/util.js +1 -2
  1249. package/dist/modules/manager/helm-values/util.js.map +1 -1
  1250. package/dist/modules/manager/helmfile/artifacts.js +4 -5
  1251. package/dist/modules/manager/helmfile/artifacts.js.map +1 -1
  1252. package/dist/modules/manager/helmfile/extract.js +4 -4
  1253. package/dist/modules/manager/helmfile/extract.js.map +1 -1
  1254. package/dist/modules/manager/helmfile/index.js +4 -5
  1255. package/dist/modules/manager/helmfile/index.js.map +1 -1
  1256. package/dist/modules/manager/helmfile/schema.js +6 -6
  1257. package/dist/modules/manager/helmfile/schema.js.map +1 -1
  1258. package/dist/modules/manager/helmfile/utils.js +1 -2
  1259. package/dist/modules/manager/helmfile/utils.js.map +1 -1
  1260. package/dist/modules/manager/helmsman/extract.js +1 -2
  1261. package/dist/modules/manager/helmsman/extract.js.map +1 -1
  1262. package/dist/modules/manager/helmsman/index.js +2 -3
  1263. package/dist/modules/manager/helmsman/index.js.map +1 -1
  1264. package/dist/modules/manager/helmv3/artifacts.js +6 -7
  1265. package/dist/modules/manager/helmv3/artifacts.js.map +1 -1
  1266. package/dist/modules/manager/helmv3/common.js +2 -3
  1267. package/dist/modules/manager/helmv3/common.js.map +1 -1
  1268. package/dist/modules/manager/helmv3/extract.js +9 -2
  1269. package/dist/modules/manager/helmv3/extract.js.map +1 -1
  1270. package/dist/modules/manager/helmv3/index.js +4 -5
  1271. package/dist/modules/manager/helmv3/index.js.map +1 -1
  1272. package/dist/modules/manager/helmv3/oci.js +1 -2
  1273. package/dist/modules/manager/helmv3/oci.js.map +1 -1
  1274. package/dist/modules/manager/helmv3/update.js +1 -2
  1275. package/dist/modules/manager/helmv3/update.js.map +1 -1
  1276. package/dist/modules/manager/helmv3/utils.js +18 -17
  1277. package/dist/modules/manager/helmv3/utils.js.map +1 -1
  1278. package/dist/modules/manager/hermit/artifacts.js +10 -9
  1279. package/dist/modules/manager/hermit/artifacts.js.map +1 -1
  1280. package/dist/modules/manager/hermit/default-config.js +1 -1
  1281. package/dist/modules/manager/hermit/default-config.js.map +1 -1
  1282. package/dist/modules/manager/hermit/extract.js +1 -2
  1283. package/dist/modules/manager/hermit/extract.js.map +1 -1
  1284. package/dist/modules/manager/hermit/index.js +2 -3
  1285. package/dist/modules/manager/hermit/index.js.map +1 -1
  1286. package/dist/modules/manager/hermit/update.js +1 -2
  1287. package/dist/modules/manager/hermit/update.js.map +1 -1
  1288. package/dist/modules/manager/homeassistant-manifest/extract.js +24 -0
  1289. package/dist/modules/manager/homeassistant-manifest/extract.js.map +1 -0
  1290. package/dist/modules/manager/homeassistant-manifest/index.js +22 -0
  1291. package/dist/modules/manager/homeassistant-manifest/index.js.map +1 -0
  1292. package/dist/modules/manager/homeassistant-manifest/schema.js +28 -0
  1293. package/dist/modules/manager/homeassistant-manifest/schema.js.map +1 -0
  1294. package/dist/modules/manager/homebrew/extract.js +1 -2
  1295. package/dist/modules/manager/homebrew/extract.js.map +1 -1
  1296. package/dist/modules/manager/homebrew/handlers/base.js +1 -1
  1297. package/dist/modules/manager/homebrew/handlers/base.js.map +1 -1
  1298. package/dist/modules/manager/homebrew/handlers/github.js +2 -3
  1299. package/dist/modules/manager/homebrew/handlers/github.js.map +1 -1
  1300. package/dist/modules/manager/homebrew/handlers/index.js +1 -2
  1301. package/dist/modules/manager/homebrew/handlers/index.js.map +1 -1
  1302. package/dist/modules/manager/homebrew/handlers/npm.js +1 -2
  1303. package/dist/modules/manager/homebrew/handlers/npm.js.map +1 -1
  1304. package/dist/modules/manager/homebrew/index.js +4 -5
  1305. package/dist/modules/manager/homebrew/index.js.map +1 -1
  1306. package/dist/modules/manager/homebrew/update.js +1 -2
  1307. package/dist/modules/manager/homebrew/update.js.map +1 -1
  1308. package/dist/modules/manager/homebrew/utils.js +1 -2
  1309. package/dist/modules/manager/homebrew/utils.js.map +1 -1
  1310. package/dist/modules/manager/html/extract.js +2 -3
  1311. package/dist/modules/manager/html/extract.js.map +1 -1
  1312. package/dist/modules/manager/html/index.js +2 -3
  1313. package/dist/modules/manager/html/index.js.map +1 -1
  1314. package/dist/modules/manager/index.d.ts +4 -4
  1315. package/dist/modules/manager/index.js +11 -5
  1316. package/dist/modules/manager/index.js.map +1 -1
  1317. package/dist/modules/manager/jenkins/extract.js +2 -3
  1318. package/dist/modules/manager/jenkins/extract.js.map +1 -1
  1319. package/dist/modules/manager/jenkins/index.js +2 -3
  1320. package/dist/modules/manager/jenkins/index.js.map +1 -1
  1321. package/dist/modules/manager/jsonnet-bundler/artifacts.js +4 -5
  1322. package/dist/modules/manager/jsonnet-bundler/artifacts.js.map +1 -1
  1323. package/dist/modules/manager/jsonnet-bundler/extract.js +1 -2
  1324. package/dist/modules/manager/jsonnet-bundler/extract.js.map +1 -1
  1325. package/dist/modules/manager/jsonnet-bundler/index.js +4 -5
  1326. package/dist/modules/manager/jsonnet-bundler/index.js.map +1 -1
  1327. package/dist/modules/manager/kotlin-script/extract.js +1 -2
  1328. package/dist/modules/manager/kotlin-script/extract.js.map +1 -1
  1329. package/dist/modules/manager/kotlin-script/index.js +2 -3
  1330. package/dist/modules/manager/kotlin-script/index.js.map +1 -1
  1331. package/dist/modules/manager/kubernetes/extract.js +23 -16
  1332. package/dist/modules/manager/kubernetes/extract.js.map +1 -1
  1333. package/dist/modules/manager/kubernetes/index.js +2 -3
  1334. package/dist/modules/manager/kubernetes/index.js.map +1 -1
  1335. package/dist/modules/manager/kubernetes/schema.js +37 -6
  1336. package/dist/modules/manager/kubernetes/schema.js.map +1 -1
  1337. package/dist/modules/manager/kustomize/artifacts.js +7 -7
  1338. package/dist/modules/manager/kustomize/artifacts.js.map +1 -1
  1339. package/dist/modules/manager/kustomize/common.js +1 -2
  1340. package/dist/modules/manager/kustomize/common.js.map +1 -1
  1341. package/dist/modules/manager/kustomize/dep-types.js +19 -0
  1342. package/dist/modules/manager/kustomize/dep-types.js.map +1 -0
  1343. package/dist/modules/manager/kustomize/extract.js +3 -4
  1344. package/dist/modules/manager/kustomize/extract.js.map +1 -1
  1345. package/dist/modules/manager/kustomize/index.js +4 -3
  1346. package/dist/modules/manager/kustomize/index.js.map +1 -1
  1347. package/dist/modules/manager/leiningen/dep-types.js +27 -0
  1348. package/dist/modules/manager/leiningen/dep-types.js.map +1 -0
  1349. package/dist/modules/manager/leiningen/extract.js +10 -7
  1350. package/dist/modules/manager/leiningen/extract.js.map +1 -1
  1351. package/dist/modules/manager/leiningen/index.js +4 -3
  1352. package/dist/modules/manager/leiningen/index.js.map +1 -1
  1353. package/dist/modules/manager/maven/dep-types.js +47 -0
  1354. package/dist/modules/manager/maven/dep-types.js.map +1 -0
  1355. package/dist/modules/manager/maven/extract.js +20 -18
  1356. package/dist/modules/manager/maven/extract.js.map +1 -1
  1357. package/dist/modules/manager/maven/index.js +6 -4
  1358. package/dist/modules/manager/maven/index.js.map +1 -1
  1359. package/dist/modules/manager/maven/update.js +6 -6
  1360. package/dist/modules/manager/maven/update.js.map +1 -1
  1361. package/dist/modules/manager/maven-wrapper/artifacts.js +113 -16
  1362. package/dist/modules/manager/maven-wrapper/artifacts.js.map +1 -1
  1363. package/dist/modules/manager/maven-wrapper/extract.js +3 -7
  1364. package/dist/modules/manager/maven-wrapper/extract.js.map +1 -1
  1365. package/dist/modules/manager/maven-wrapper/index.js +3 -8
  1366. package/dist/modules/manager/maven-wrapper/index.js.map +1 -1
  1367. package/dist/modules/manager/meteor/extract.js +1 -2
  1368. package/dist/modules/manager/meteor/extract.js.map +1 -1
  1369. package/dist/modules/manager/meteor/index.js +2 -3
  1370. package/dist/modules/manager/meteor/index.js.map +1 -1
  1371. package/dist/modules/manager/mint/extract.js +9 -4
  1372. package/dist/modules/manager/mint/extract.js.map +1 -1
  1373. package/dist/modules/manager/mint/index.js +2 -3
  1374. package/dist/modules/manager/mint/index.js.map +1 -1
  1375. package/dist/modules/manager/mise/artifacts.js +172 -0
  1376. package/dist/modules/manager/mise/artifacts.js.map +1 -0
  1377. package/dist/modules/manager/mise/backends.js +6 -7
  1378. package/dist/modules/manager/mise/backends.js.map +1 -1
  1379. package/dist/modules/manager/mise/dep-types.js +10 -0
  1380. package/dist/modules/manager/mise/dep-types.js.map +1 -0
  1381. package/dist/modules/manager/mise/extract.js +59 -17
  1382. package/dist/modules/manager/mise/extract.js.map +1 -1
  1383. package/dist/modules/manager/mise/index.js +40 -17
  1384. package/dist/modules/manager/mise/index.js.map +1 -1
  1385. package/dist/modules/manager/mise/lockfile.js +75 -0
  1386. package/dist/modules/manager/mise/lockfile.js.map +1 -0
  1387. package/dist/modules/manager/mise/schema.js +23 -5
  1388. package/dist/modules/manager/mise/schema.js.map +1 -1
  1389. package/dist/modules/manager/mise/update-locked.js +22 -0
  1390. package/dist/modules/manager/mise/update-locked.js.map +1 -0
  1391. package/dist/modules/manager/mise/upgradeable-tooling.js +107 -15
  1392. package/dist/modules/manager/mise/upgradeable-tooling.js.map +1 -1
  1393. package/dist/modules/manager/mise/utils.js +6 -9
  1394. package/dist/modules/manager/mise/utils.js.map +1 -1
  1395. package/dist/modules/manager/mix/artifacts.js +11 -12
  1396. package/dist/modules/manager/mix/artifacts.js.map +1 -1
  1397. package/dist/modules/manager/mix/dep-types.js +12 -0
  1398. package/dist/modules/manager/mix/dep-types.js.map +1 -0
  1399. package/dist/modules/manager/mix/extract.js +5 -9
  1400. package/dist/modules/manager/mix/extract.js.map +1 -1
  1401. package/dist/modules/manager/mix/index.js +6 -5
  1402. package/dist/modules/manager/mix/index.js.map +1 -1
  1403. package/dist/modules/manager/mix/range.js +1 -2
  1404. package/dist/modules/manager/mix/range.js.map +1 -1
  1405. package/dist/modules/manager/nix/artifacts.js +2 -3
  1406. package/dist/modules/manager/nix/artifacts.js.map +1 -1
  1407. package/dist/modules/manager/nix/extract.js +6 -7
  1408. package/dist/modules/manager/nix/extract.js.map +1 -1
  1409. package/dist/modules/manager/nix/index.js +4 -5
  1410. package/dist/modules/manager/nix/index.js.map +1 -1
  1411. package/dist/modules/manager/nix/range.js +1 -1
  1412. package/dist/modules/manager/nix/range.js.map +1 -1
  1413. package/dist/modules/manager/nix/schema.js +2 -3
  1414. package/dist/modules/manager/nix/schema.js.map +1 -1
  1415. package/dist/modules/manager/nodenv/extract.js +1 -2
  1416. package/dist/modules/manager/nodenv/extract.js.map +1 -1
  1417. package/dist/modules/manager/nodenv/index.js +2 -3
  1418. package/dist/modules/manager/nodenv/index.js.map +1 -1
  1419. package/dist/modules/manager/npm/artifacts.js +53 -23
  1420. package/dist/modules/manager/npm/artifacts.js.map +1 -1
  1421. package/dist/modules/manager/npm/constants.js +2 -3
  1422. package/dist/modules/manager/npm/constants.js.map +1 -1
  1423. package/dist/modules/manager/npm/dep-types.js +69 -0
  1424. package/dist/modules/manager/npm/dep-types.js.map +1 -0
  1425. package/dist/modules/manager/npm/detect.js +2 -2
  1426. package/dist/modules/manager/npm/detect.js.map +1 -1
  1427. package/dist/modules/manager/npm/extract/common/catalogs.js +2 -3
  1428. package/dist/modules/manager/npm/extract/common/catalogs.js.map +1 -1
  1429. package/dist/modules/manager/npm/extract/common/dependency.js +24 -13
  1430. package/dist/modules/manager/npm/extract/common/dependency.js.map +1 -1
  1431. package/dist/modules/manager/npm/extract/common/node.js +1 -1
  1432. package/dist/modules/manager/npm/extract/common/node.js.map +1 -1
  1433. package/dist/modules/manager/npm/extract/common/overrides.js +2 -3
  1434. package/dist/modules/manager/npm/extract/common/overrides.js.map +1 -1
  1435. package/dist/modules/manager/npm/extract/common/package-file.js +3 -3
  1436. package/dist/modules/manager/npm/extract/common/package-file.js.map +1 -1
  1437. package/dist/modules/manager/npm/extract/index.js +53 -27
  1438. package/dist/modules/manager/npm/extract/index.js.map +1 -1
  1439. package/dist/modules/manager/npm/extract/npm.js +1 -2
  1440. package/dist/modules/manager/npm/extract/npm.js.map +1 -1
  1441. package/dist/modules/manager/npm/extract/pnpm.js +42 -18
  1442. package/dist/modules/manager/npm/extract/pnpm.js.map +1 -1
  1443. package/dist/modules/manager/npm/extract/post/index.js +1 -2
  1444. package/dist/modules/manager/npm/extract/post/index.js.map +1 -1
  1445. package/dist/modules/manager/npm/extract/post/locked-versions.js +7 -5
  1446. package/dist/modules/manager/npm/extract/post/locked-versions.js.map +1 -1
  1447. package/dist/modules/manager/npm/extract/post/monorepo.js +1 -2
  1448. package/dist/modules/manager/npm/extract/post/monorepo.js.map +1 -1
  1449. package/dist/modules/manager/npm/extract/utils.js +1 -2
  1450. package/dist/modules/manager/npm/extract/utils.js.map +1 -1
  1451. package/dist/modules/manager/npm/extract/yarn.js +6 -6
  1452. package/dist/modules/manager/npm/extract/yarn.js.map +1 -1
  1453. package/dist/modules/manager/npm/extract/yarnrc.js +1 -2
  1454. package/dist/modules/manager/npm/extract/yarnrc.js.map +1 -1
  1455. package/dist/modules/manager/npm/index.js +9 -7
  1456. package/dist/modules/manager/npm/index.js.map +1 -1
  1457. package/dist/modules/manager/npm/npmrc.js +3 -5
  1458. package/dist/modules/manager/npm/npmrc.js.map +1 -1
  1459. package/dist/modules/manager/npm/post-update/index.js +47 -24
  1460. package/dist/modules/manager/npm/post-update/index.js.map +1 -1
  1461. package/dist/modules/manager/npm/post-update/node-version.js +4 -3
  1462. package/dist/modules/manager/npm/post-update/node-version.js.map +1 -1
  1463. package/dist/modules/manager/npm/post-update/npm.js +88 -17
  1464. package/dist/modules/manager/npm/post-update/npm.js.map +1 -1
  1465. package/dist/modules/manager/npm/post-update/pnpm.js +11 -9
  1466. package/dist/modules/manager/npm/post-update/pnpm.js.map +1 -1
  1467. package/dist/modules/manager/npm/post-update/rules.js +3 -3
  1468. package/dist/modules/manager/npm/post-update/rules.js.map +1 -1
  1469. package/dist/modules/manager/npm/post-update/utils.js +6 -3
  1470. package/dist/modules/manager/npm/post-update/utils.js.map +1 -1
  1471. package/dist/modules/manager/npm/post-update/yarn.js +16 -8
  1472. package/dist/modules/manager/npm/post-update/yarn.js.map +1 -1
  1473. package/dist/modules/manager/npm/range.js +1 -2
  1474. package/dist/modules/manager/npm/range.js.map +1 -1
  1475. package/dist/modules/manager/npm/schema.js +23 -15
  1476. package/dist/modules/manager/npm/schema.js.map +1 -1
  1477. package/dist/modules/manager/npm/update/dependency/common.js +3 -5
  1478. package/dist/modules/manager/npm/update/dependency/common.js.map +1 -1
  1479. package/dist/modules/manager/npm/update/dependency/index.js +21 -12
  1480. package/dist/modules/manager/npm/update/dependency/index.js.map +1 -1
  1481. package/dist/modules/manager/npm/update/dependency/pnpm.js +22 -17
  1482. package/dist/modules/manager/npm/update/dependency/pnpm.js.map +1 -1
  1483. package/dist/modules/manager/npm/update/dependency/yarn.js +7 -4
  1484. package/dist/modules/manager/npm/update/dependency/yarn.js.map +1 -1
  1485. package/dist/modules/manager/npm/update/index.js +1 -2
  1486. package/dist/modules/manager/npm/update/locked-dependency/common/parent-version.js +3 -4
  1487. package/dist/modules/manager/npm/update/locked-dependency/common/parent-version.js.map +1 -1
  1488. package/dist/modules/manager/npm/update/locked-dependency/index.js +2 -3
  1489. package/dist/modules/manager/npm/update/locked-dependency/index.js.map +1 -1
  1490. package/dist/modules/manager/npm/update/locked-dependency/package-lock/dep-constraints.js +3 -3
  1491. package/dist/modules/manager/npm/update/locked-dependency/package-lock/dep-constraints.js.map +1 -1
  1492. package/dist/modules/manager/npm/update/locked-dependency/package-lock/get-locked.js +1 -2
  1493. package/dist/modules/manager/npm/update/locked-dependency/package-lock/get-locked.js.map +1 -1
  1494. package/dist/modules/manager/npm/update/locked-dependency/package-lock/index.js +8 -5
  1495. package/dist/modules/manager/npm/update/locked-dependency/package-lock/index.js.map +1 -1
  1496. package/dist/modules/manager/npm/update/locked-dependency/yarn-lock/get-locked.js +5 -6
  1497. package/dist/modules/manager/npm/update/locked-dependency/yarn-lock/get-locked.js.map +1 -1
  1498. package/dist/modules/manager/npm/update/locked-dependency/yarn-lock/index.js +3 -4
  1499. package/dist/modules/manager/npm/update/locked-dependency/yarn-lock/index.js.map +1 -1
  1500. package/dist/modules/manager/npm/update/locked-dependency/yarn-lock/replace.js +1 -2
  1501. package/dist/modules/manager/npm/update/locked-dependency/yarn-lock/replace.js.map +1 -1
  1502. package/dist/modules/manager/npm/update/package-version/index.js +1 -2
  1503. package/dist/modules/manager/npm/update/package-version/index.js.map +1 -1
  1504. package/dist/modules/manager/npm/utils.js +5 -8
  1505. package/dist/modules/manager/npm/utils.js.map +1 -1
  1506. package/dist/modules/manager/nuget/artifacts.js +20 -17
  1507. package/dist/modules/manager/nuget/artifacts.js.map +1 -1
  1508. package/dist/modules/manager/nuget/config-formatter.js +4 -2
  1509. package/dist/modules/manager/nuget/config-formatter.js.map +1 -1
  1510. package/dist/modules/manager/nuget/dep-types.js +23 -0
  1511. package/dist/modules/manager/nuget/dep-types.js.map +1 -0
  1512. package/dist/modules/manager/nuget/extract/global-manifest.js +1 -2
  1513. package/dist/modules/manager/nuget/extract/global-manifest.js.map +1 -1
  1514. package/dist/modules/manager/nuget/extract/single-csharp-file.js +1 -2
  1515. package/dist/modules/manager/nuget/extract/single-csharp-file.js.map +1 -1
  1516. package/dist/modules/manager/nuget/extract.js +4 -5
  1517. package/dist/modules/manager/nuget/extract.js.map +1 -1
  1518. package/dist/modules/manager/nuget/index.js +19 -11
  1519. package/dist/modules/manager/nuget/index.js.map +1 -1
  1520. package/dist/modules/manager/nuget/package-tree.js +9 -9
  1521. package/dist/modules/manager/nuget/package-tree.js.map +1 -1
  1522. package/dist/modules/manager/nuget/schema.js +26 -4
  1523. package/dist/modules/manager/nuget/schema.js.map +1 -1
  1524. package/dist/modules/manager/nuget/update.js +1 -2
  1525. package/dist/modules/manager/nuget/update.js.map +1 -1
  1526. package/dist/modules/manager/nuget/util.js +1 -2
  1527. package/dist/modules/manager/nuget/util.js.map +1 -1
  1528. package/dist/modules/manager/nvm/extract.js +1 -2
  1529. package/dist/modules/manager/nvm/extract.js.map +1 -1
  1530. package/dist/modules/manager/nvm/index.js +3 -5
  1531. package/dist/modules/manager/nvm/index.js.map +1 -1
  1532. package/dist/modules/manager/ocb/dep-types.js +35 -0
  1533. package/dist/modules/manager/ocb/dep-types.js.map +1 -0
  1534. package/dist/modules/manager/ocb/extract.js +2 -3
  1535. package/dist/modules/manager/ocb/extract.js.map +1 -1
  1536. package/dist/modules/manager/ocb/index.js +4 -3
  1537. package/dist/modules/manager/ocb/index.js.map +1 -1
  1538. package/dist/modules/manager/ocb/schema.js +2 -3
  1539. package/dist/modules/manager/ocb/schema.js.map +1 -1
  1540. package/dist/modules/manager/ocb/update.js +1 -2
  1541. package/dist/modules/manager/ocb/update.js.map +1 -1
  1542. package/dist/modules/manager/osgi/extract.js +2 -3
  1543. package/dist/modules/manager/osgi/extract.js.map +1 -1
  1544. package/dist/modules/manager/osgi/index.js +4 -3
  1545. package/dist/modules/manager/osgi/index.js.map +1 -1
  1546. package/dist/modules/manager/pep621/artifacts.js +1 -2
  1547. package/dist/modules/manager/pep621/artifacts.js.map +1 -1
  1548. package/dist/modules/manager/pep621/dep-types.js +40 -0
  1549. package/dist/modules/manager/pep621/dep-types.js.map +1 -0
  1550. package/dist/modules/manager/pep621/extract.js +1 -2
  1551. package/dist/modules/manager/pep621/extract.js.map +1 -1
  1552. package/dist/modules/manager/pep621/index.js +8 -5
  1553. package/dist/modules/manager/pep621/index.js.map +1 -1
  1554. package/dist/modules/manager/pep621/processors/abstract.js +1 -2
  1555. package/dist/modules/manager/pep621/processors/abstract.js.map +1 -1
  1556. package/dist/modules/manager/pep621/processors/hatch.js +1 -2
  1557. package/dist/modules/manager/pep621/processors/hatch.js.map +1 -1
  1558. package/dist/modules/manager/pep621/processors/index.js +4 -3
  1559. package/dist/modules/manager/pep621/processors/index.js.map +1 -1
  1560. package/dist/modules/manager/pep621/processors/pdm.js +5 -6
  1561. package/dist/modules/manager/pep621/processors/pdm.js.map +1 -1
  1562. package/dist/modules/manager/pep621/processors/pixi.js +78 -0
  1563. package/dist/modules/manager/pep621/processors/pixi.js.map +1 -0
  1564. package/dist/modules/manager/pep621/processors/uv.js +9 -8
  1565. package/dist/modules/manager/pep621/processors/uv.js.map +1 -1
  1566. package/dist/modules/manager/pep621/schema.js +10 -6
  1567. package/dist/modules/manager/pep621/schema.js.map +1 -1
  1568. package/dist/modules/manager/pep621/update.js +1 -2
  1569. package/dist/modules/manager/pep621/update.js.map +1 -1
  1570. package/dist/modules/manager/pep621/utils.js +2 -3
  1571. package/dist/modules/manager/pep621/utils.js.map +1 -1
  1572. package/dist/modules/manager/pep723/dep-types.js +9 -0
  1573. package/dist/modules/manager/pep723/dep-types.js.map +1 -0
  1574. package/dist/modules/manager/pep723/extract.js +3 -18
  1575. package/dist/modules/manager/pep723/extract.js.map +1 -1
  1576. package/dist/modules/manager/pep723/index.js +4 -3
  1577. package/dist/modules/manager/pep723/index.js.map +1 -1
  1578. package/dist/modules/manager/pep723/schema.js +2 -3
  1579. package/dist/modules/manager/pep723/schema.js.map +1 -1
  1580. package/dist/modules/manager/pep723/utils.js +23 -0
  1581. package/dist/modules/manager/pep723/utils.js.map +1 -0
  1582. package/dist/modules/manager/pip-compile/artifacts.js +17 -18
  1583. package/dist/modules/manager/pip-compile/artifacts.js.map +1 -1
  1584. package/dist/modules/manager/pip-compile/common.js +13 -10
  1585. package/dist/modules/manager/pip-compile/common.js.map +1 -1
  1586. package/dist/modules/manager/pip-compile/dep-types.js +9 -0
  1587. package/dist/modules/manager/pip-compile/dep-types.js.map +1 -0
  1588. package/dist/modules/manager/pip-compile/extract.js +12 -8
  1589. package/dist/modules/manager/pip-compile/extract.js.map +1 -1
  1590. package/dist/modules/manager/pip-compile/index.js +7 -6
  1591. package/dist/modules/manager/pip-compile/index.js.map +1 -1
  1592. package/dist/modules/manager/pip-compile/utils.js +2 -3
  1593. package/dist/modules/manager/pip-compile/utils.js.map +1 -1
  1594. package/dist/modules/manager/pip_requirements/artifacts.js +4 -5
  1595. package/dist/modules/manager/pip_requirements/artifacts.js.map +1 -1
  1596. package/dist/modules/manager/pip_requirements/common.js +1 -2
  1597. package/dist/modules/manager/pip_requirements/common.js.map +1 -1
  1598. package/dist/modules/manager/pip_requirements/extract.js +3 -5
  1599. package/dist/modules/manager/pip_requirements/extract.js.map +1 -1
  1600. package/dist/modules/manager/pip_requirements/index.js +3 -4
  1601. package/dist/modules/manager/pip_requirements/index.js.map +1 -1
  1602. package/dist/modules/manager/pip_setup/extract.js +2 -3
  1603. package/dist/modules/manager/pip_setup/extract.js.map +1 -1
  1604. package/dist/modules/manager/pip_setup/index.js +2 -3
  1605. package/dist/modules/manager/pip_setup/index.js.map +1 -1
  1606. package/dist/modules/manager/pipenv/artifacts.js +7 -8
  1607. package/dist/modules/manager/pipenv/artifacts.js.map +1 -1
  1608. package/dist/modules/manager/pipenv/dep-types.js +13 -0
  1609. package/dist/modules/manager/pipenv/dep-types.js.map +1 -0
  1610. package/dist/modules/manager/pipenv/extract.js +2 -3
  1611. package/dist/modules/manager/pipenv/extract.js.map +1 -1
  1612. package/dist/modules/manager/pipenv/index.js +7 -5
  1613. package/dist/modules/manager/pipenv/index.js.map +1 -1
  1614. package/dist/modules/manager/pixi/artifacts.js +10 -6
  1615. package/dist/modules/manager/pixi/artifacts.js.map +1 -1
  1616. package/dist/modules/manager/pixi/dep-types.js +7 -0
  1617. package/dist/modules/manager/pixi/dep-types.js.map +1 -0
  1618. package/dist/modules/manager/pixi/extract.js +2 -3
  1619. package/dist/modules/manager/pixi/extract.js.map +1 -1
  1620. package/dist/modules/manager/pixi/index.js +8 -6
  1621. package/dist/modules/manager/pixi/index.js.map +1 -1
  1622. package/dist/modules/manager/pixi/schema.js +23 -16
  1623. package/dist/modules/manager/pixi/schema.js.map +1 -1
  1624. package/dist/modules/manager/poetry/artifacts.js +6 -7
  1625. package/dist/modules/manager/poetry/artifacts.js.map +1 -1
  1626. package/dist/modules/manager/poetry/dep-types.js +36 -0
  1627. package/dist/modules/manager/poetry/dep-types.js.map +1 -0
  1628. package/dist/modules/manager/poetry/extract.js +2 -3
  1629. package/dist/modules/manager/poetry/extract.js.map +1 -1
  1630. package/dist/modules/manager/poetry/index.js +10 -8
  1631. package/dist/modules/manager/poetry/index.js.map +1 -1
  1632. package/dist/modules/manager/poetry/schema.js +61 -51
  1633. package/dist/modules/manager/poetry/schema.js.map +1 -1
  1634. package/dist/modules/manager/poetry/update-locked.js +1 -2
  1635. package/dist/modules/manager/poetry/update-locked.js.map +1 -1
  1636. package/dist/modules/manager/pre-commit/dep-types.js +23 -0
  1637. package/dist/modules/manager/pre-commit/dep-types.js.map +1 -0
  1638. package/dist/modules/manager/pre-commit/extract.js +3 -4
  1639. package/dist/modules/manager/pre-commit/extract.js.map +1 -1
  1640. package/dist/modules/manager/pre-commit/index.js +6 -3
  1641. package/dist/modules/manager/pre-commit/index.js.map +1 -1
  1642. package/dist/modules/manager/pre-commit/parsing.js +1 -2
  1643. package/dist/modules/manager/pre-commit/parsing.js.map +1 -1
  1644. package/dist/modules/manager/proto/extract.js +55 -0
  1645. package/dist/modules/manager/proto/extract.js.map +1 -0
  1646. package/dist/modules/manager/proto/index.js +29 -0
  1647. package/dist/modules/manager/proto/index.js.map +1 -0
  1648. package/dist/modules/manager/proto/schema.js +25 -0
  1649. package/dist/modules/manager/proto/schema.js.map +1 -0
  1650. package/dist/modules/manager/proto/upgradeable-tooling.js +85 -0
  1651. package/dist/modules/manager/proto/upgradeable-tooling.js.map +1 -0
  1652. package/dist/modules/manager/pub/artifacts.js +8 -11
  1653. package/dist/modules/manager/pub/artifacts.js.map +1 -1
  1654. package/dist/modules/manager/pub/dep-types.js +12 -0
  1655. package/dist/modules/manager/pub/dep-types.js.map +1 -0
  1656. package/dist/modules/manager/pub/extract.js +16 -9
  1657. package/dist/modules/manager/pub/extract.js.map +1 -1
  1658. package/dist/modules/manager/pub/index.js +8 -8
  1659. package/dist/modules/manager/pub/index.js.map +1 -1
  1660. package/dist/modules/manager/pub/schema.js +2 -3
  1661. package/dist/modules/manager/pub/schema.js.map +1 -1
  1662. package/dist/modules/manager/pub/utils.js +3 -4
  1663. package/dist/modules/manager/pub/utils.js.map +1 -1
  1664. package/dist/modules/manager/puppet/common.js +6 -9
  1665. package/dist/modules/manager/puppet/common.js.map +1 -1
  1666. package/dist/modules/manager/puppet/extract.js +1 -2
  1667. package/dist/modules/manager/puppet/extract.js.map +1 -1
  1668. package/dist/modules/manager/puppet/index.js +2 -3
  1669. package/dist/modules/manager/puppet/index.js.map +1 -1
  1670. package/dist/modules/manager/puppet/puppetfile-parser.js +2 -3
  1671. package/dist/modules/manager/puppet/puppetfile-parser.js.map +1 -1
  1672. package/dist/modules/manager/pyenv/extract.js +1 -2
  1673. package/dist/modules/manager/pyenv/extract.js.map +1 -1
  1674. package/dist/modules/manager/pyenv/index.js +2 -3
  1675. package/dist/modules/manager/pyenv/index.js.map +1 -1
  1676. package/dist/modules/manager/quadlet/dep-types.js +9 -0
  1677. package/dist/modules/manager/quadlet/dep-types.js.map +1 -0
  1678. package/dist/modules/manager/quadlet/extract.js +1 -2
  1679. package/dist/modules/manager/quadlet/extract.js.map +1 -1
  1680. package/dist/modules/manager/quadlet/index.js +4 -3
  1681. package/dist/modules/manager/quadlet/index.js.map +1 -1
  1682. package/dist/modules/manager/quadlet/schema.js +2 -3
  1683. package/dist/modules/manager/quadlet/schema.js.map +1 -1
  1684. package/dist/modules/manager/{renovate-config-presets → renovate-config}/extract.js +39 -6
  1685. package/dist/modules/manager/renovate-config/extract.js.map +1 -0
  1686. package/dist/modules/manager/{renovate-config-presets → renovate-config}/index.js +11 -12
  1687. package/dist/modules/manager/renovate-config/index.js.map +1 -0
  1688. package/dist/modules/manager/renovate-config/schema.js +12 -0
  1689. package/dist/modules/manager/renovate-config/schema.js.map +1 -0
  1690. package/dist/modules/manager/ruby-version/extract.js +1 -2
  1691. package/dist/modules/manager/ruby-version/extract.js.map +1 -1
  1692. package/dist/modules/manager/ruby-version/index.js +2 -3
  1693. package/dist/modules/manager/ruby-version/index.js.map +1 -1
  1694. package/dist/modules/manager/runtime-version/extract.js +2 -3
  1695. package/dist/modules/manager/runtime-version/extract.js.map +1 -1
  1696. package/dist/modules/manager/runtime-version/index.js +2 -3
  1697. package/dist/modules/manager/runtime-version/index.js.map +1 -1
  1698. package/dist/modules/manager/rust-toolchain/dep-types.js +9 -0
  1699. package/dist/modules/manager/rust-toolchain/dep-types.js.map +1 -0
  1700. package/dist/modules/manager/rust-toolchain/extract.js +50 -0
  1701. package/dist/modules/manager/rust-toolchain/extract.js.map +1 -0
  1702. package/dist/modules/manager/rust-toolchain/index.js +26 -0
  1703. package/dist/modules/manager/rust-toolchain/index.js.map +1 -0
  1704. package/dist/modules/manager/rust-toolchain/schema.js +8 -0
  1705. package/dist/modules/manager/rust-toolchain/schema.js.map +1 -0
  1706. package/dist/modules/manager/sbt/dep-types.js +10 -0
  1707. package/dist/modules/manager/sbt/dep-types.js.map +1 -0
  1708. package/dist/modules/manager/sbt/extract.js +49 -14
  1709. package/dist/modules/manager/sbt/extract.js.map +1 -1
  1710. package/dist/modules/manager/sbt/index.js +9 -8
  1711. package/dist/modules/manager/sbt/index.js.map +1 -1
  1712. package/dist/modules/manager/sbt/update.js +1 -2
  1713. package/dist/modules/manager/sbt/update.js.map +1 -1
  1714. package/dist/modules/manager/sbt/util.js +5 -4
  1715. package/dist/modules/manager/sbt/util.js.map +1 -1
  1716. package/dist/modules/manager/scalafmt/extract.js +1 -2
  1717. package/dist/modules/manager/scalafmt/extract.js.map +1 -1
  1718. package/dist/modules/manager/scalafmt/index.js +2 -3
  1719. package/dist/modules/manager/scalafmt/index.js.map +1 -1
  1720. package/dist/modules/manager/setup-cfg/dep-types.js +23 -0
  1721. package/dist/modules/manager/setup-cfg/dep-types.js.map +1 -0
  1722. package/dist/modules/manager/setup-cfg/extract.js +1 -2
  1723. package/dist/modules/manager/setup-cfg/extract.js.map +1 -1
  1724. package/dist/modules/manager/setup-cfg/index.js +4 -3
  1725. package/dist/modules/manager/setup-cfg/index.js.map +1 -1
  1726. package/dist/modules/manager/smithy/extract.js +52 -0
  1727. package/dist/modules/manager/smithy/extract.js.map +1 -0
  1728. package/dist/modules/manager/smithy/index.js +21 -0
  1729. package/dist/modules/manager/smithy/index.js.map +1 -0
  1730. package/dist/modules/manager/smithy/schema.js +11 -0
  1731. package/dist/modules/manager/smithy/schema.js.map +1 -0
  1732. package/dist/modules/manager/sveltos/dep-types.js +23 -0
  1733. package/dist/modules/manager/sveltos/dep-types.js.map +1 -0
  1734. package/dist/modules/manager/sveltos/extract.js +5 -5
  1735. package/dist/modules/manager/sveltos/extract.js.map +1 -1
  1736. package/dist/modules/manager/sveltos/index.js +4 -3
  1737. package/dist/modules/manager/sveltos/index.js.map +1 -1
  1738. package/dist/modules/manager/sveltos/schema.js +11 -5
  1739. package/dist/modules/manager/sveltos/schema.js.map +1 -1
  1740. package/dist/modules/manager/sveltos/util.js +1 -2
  1741. package/dist/modules/manager/sveltos/util.js.map +1 -1
  1742. package/dist/modules/manager/swift/artifacts.js +146 -0
  1743. package/dist/modules/manager/swift/artifacts.js.map +1 -0
  1744. package/dist/modules/manager/swift/extract.js +59 -26
  1745. package/dist/modules/manager/swift/extract.js.map +1 -1
  1746. package/dist/modules/manager/swift/index.js +5 -4
  1747. package/dist/modules/manager/swift/index.js.map +1 -1
  1748. package/dist/modules/manager/swift/range.js +1 -1
  1749. package/dist/modules/manager/swift/range.js.map +1 -1
  1750. package/dist/modules/manager/swift/schema.js +22 -0
  1751. package/dist/modules/manager/swift/schema.js.map +1 -0
  1752. package/dist/modules/manager/tekton/dep-types.js +19 -0
  1753. package/dist/modules/manager/tekton/dep-types.js.map +1 -0
  1754. package/dist/modules/manager/tekton/extract.js +16 -3
  1755. package/dist/modules/manager/tekton/extract.js.map +1 -1
  1756. package/dist/modules/manager/tekton/index.js +4 -3
  1757. package/dist/modules/manager/tekton/index.js.map +1 -1
  1758. package/dist/modules/manager/terraform/base.js +24 -6
  1759. package/dist/modules/manager/terraform/base.js.map +1 -1
  1760. package/dist/modules/manager/terraform/dep-types.js +103 -0
  1761. package/dist/modules/manager/terraform/dep-types.js.map +1 -0
  1762. package/dist/modules/manager/terraform/extract.js +1 -2
  1763. package/dist/modules/manager/terraform/extract.js.map +1 -1
  1764. package/dist/modules/manager/terraform/extractors/others/modules.js +16 -11
  1765. package/dist/modules/manager/terraform/extractors/others/modules.js.map +1 -1
  1766. package/dist/modules/manager/terraform/extractors/others/providers.js +3 -4
  1767. package/dist/modules/manager/terraform/extractors/others/providers.js.map +1 -1
  1768. package/dist/modules/manager/terraform/extractors/resources/generic-docker-image-ref.js +1 -2
  1769. package/dist/modules/manager/terraform/extractors/resources/generic-docker-image-ref.js.map +1 -1
  1770. package/dist/modules/manager/terraform/extractors/resources/helm-release.js +2 -3
  1771. package/dist/modules/manager/terraform/extractors/resources/helm-release.js.map +1 -1
  1772. package/dist/modules/manager/terraform/extractors/resources/terraform-workspace.js +1 -2
  1773. package/dist/modules/manager/terraform/extractors/resources/terraform-workspace.js.map +1 -1
  1774. package/dist/modules/manager/terraform/extractors/resources/utils.js +1 -1
  1775. package/dist/modules/manager/terraform/extractors/resources/utils.js.map +1 -1
  1776. package/dist/modules/manager/terraform/extractors/terraform-block/required-provider.js +3 -4
  1777. package/dist/modules/manager/terraform/extractors/terraform-block/required-provider.js.map +1 -1
  1778. package/dist/modules/manager/terraform/extractors/terraform-block/terraform-version.js +2 -3
  1779. package/dist/modules/manager/terraform/extractors/terraform-block/terraform-version.js.map +1 -1
  1780. package/dist/modules/manager/terraform/extractors.js +1 -2
  1781. package/dist/modules/manager/terraform/extractors.js.map +1 -1
  1782. package/dist/modules/manager/terraform/hcl/index.js +1 -2
  1783. package/dist/modules/manager/terraform/hcl/index.js.map +1 -1
  1784. package/dist/modules/manager/terraform/index.js +8 -7
  1785. package/dist/modules/manager/terraform/index.js.map +1 -1
  1786. package/dist/modules/manager/terraform/lockfile/hash.js +3 -4
  1787. package/dist/modules/manager/terraform/lockfile/hash.js.map +1 -1
  1788. package/dist/modules/manager/terraform/lockfile/index.js +13 -14
  1789. package/dist/modules/manager/terraform/lockfile/index.js.map +1 -1
  1790. package/dist/modules/manager/terraform/lockfile/update-locked.js +1 -2
  1791. package/dist/modules/manager/terraform/lockfile/update-locked.js.map +1 -1
  1792. package/dist/modules/manager/terraform/lockfile/util.js +74 -4
  1793. package/dist/modules/manager/terraform/lockfile/util.js.map +1 -1
  1794. package/dist/modules/manager/terraform/util.js +17 -3
  1795. package/dist/modules/manager/terraform/util.js.map +1 -1
  1796. package/dist/modules/manager/terraform-version/extract.js +1 -2
  1797. package/dist/modules/manager/terraform-version/extract.js.map +1 -1
  1798. package/dist/modules/manager/terraform-version/index.js +3 -4
  1799. package/dist/modules/manager/terraform-version/index.js.map +1 -1
  1800. package/dist/modules/manager/terragrunt/artifacts.js +1 -2
  1801. package/dist/modules/manager/terragrunt/artifacts.js.map +1 -1
  1802. package/dist/modules/manager/terragrunt/dep-types.js +19 -0
  1803. package/dist/modules/manager/terragrunt/dep-types.js.map +1 -0
  1804. package/dist/modules/manager/terragrunt/extract.js +3 -2
  1805. package/dist/modules/manager/terragrunt/extract.js.map +1 -1
  1806. package/dist/modules/manager/terragrunt/index.js +9 -7
  1807. package/dist/modules/manager/terragrunt/index.js.map +1 -1
  1808. package/dist/modules/manager/terragrunt/modules.js +15 -9
  1809. package/dist/modules/manager/terragrunt/modules.js.map +1 -1
  1810. package/dist/modules/manager/terragrunt/providers.js +2 -4
  1811. package/dist/modules/manager/terragrunt/providers.js.map +1 -1
  1812. package/dist/modules/manager/terragrunt/util.js +1 -2
  1813. package/dist/modules/manager/terragrunt/util.js.map +1 -1
  1814. package/dist/modules/manager/terragrunt-version/extract.js +1 -2
  1815. package/dist/modules/manager/terragrunt-version/extract.js.map +1 -1
  1816. package/dist/modules/manager/terragrunt-version/index.js +3 -4
  1817. package/dist/modules/manager/terragrunt-version/index.js.map +1 -1
  1818. package/dist/modules/manager/tflint-plugin/dep-types.js +9 -0
  1819. package/dist/modules/manager/tflint-plugin/dep-types.js.map +1 -0
  1820. package/dist/modules/manager/tflint-plugin/extract.js +1 -2
  1821. package/dist/modules/manager/tflint-plugin/extract.js.map +1 -1
  1822. package/dist/modules/manager/tflint-plugin/index.js +4 -3
  1823. package/dist/modules/manager/tflint-plugin/index.js.map +1 -1
  1824. package/dist/modules/manager/tflint-plugin/plugins.js +1 -2
  1825. package/dist/modules/manager/tflint-plugin/plugins.js.map +1 -1
  1826. package/dist/modules/manager/tflint-plugin/util.js +1 -2
  1827. package/dist/modules/manager/tflint-plugin/util.js.map +1 -1
  1828. package/dist/modules/manager/travis/extract.js +1 -2
  1829. package/dist/modules/manager/travis/extract.js.map +1 -1
  1830. package/dist/modules/manager/travis/index.js +2 -3
  1831. package/dist/modules/manager/travis/index.js.map +1 -1
  1832. package/dist/modules/manager/types.d.ts +70 -18
  1833. package/dist/modules/manager/types.js +1 -1
  1834. package/dist/modules/manager/typst/extract.js +1 -2
  1835. package/dist/modules/manager/typst/extract.js.map +1 -1
  1836. package/dist/modules/manager/typst/index.js +2 -3
  1837. package/dist/modules/manager/typst/index.js.map +1 -1
  1838. package/dist/modules/manager/unity3d/extract.js +1 -2
  1839. package/dist/modules/manager/unity3d/extract.js.map +1 -1
  1840. package/dist/modules/manager/unity3d/index.js +4 -3
  1841. package/dist/modules/manager/unity3d/index.js.map +1 -1
  1842. package/dist/modules/manager/util.js +2 -3
  1843. package/dist/modules/manager/util.js.map +1 -1
  1844. package/dist/modules/manager/velaci/extract.js +1 -2
  1845. package/dist/modules/manager/velaci/extract.js.map +1 -1
  1846. package/dist/modules/manager/velaci/index.js +2 -3
  1847. package/dist/modules/manager/velaci/index.js.map +1 -1
  1848. package/dist/modules/manager/vendir/artifacts.js +6 -5
  1849. package/dist/modules/manager/vendir/artifacts.js.map +1 -1
  1850. package/dist/modules/manager/vendir/dep-types.js +23 -0
  1851. package/dist/modules/manager/vendir/dep-types.js.map +1 -0
  1852. package/dist/modules/manager/vendir/extract.js +22 -10
  1853. package/dist/modules/manager/vendir/extract.js.map +1 -1
  1854. package/dist/modules/manager/vendir/index.js +8 -5
  1855. package/dist/modules/manager/vendir/index.js.map +1 -1
  1856. package/dist/modules/manager/vendir/schema.js +10 -5
  1857. package/dist/modules/manager/vendir/schema.js.map +1 -1
  1858. package/dist/modules/manager/woodpecker/extract.js +1 -2
  1859. package/dist/modules/manager/woodpecker/extract.js.map +1 -1
  1860. package/dist/modules/manager/woodpecker/index.js +2 -3
  1861. package/dist/modules/manager/woodpecker/index.js.map +1 -1
  1862. package/dist/modules/manager/xcodegen/extract.js +142 -0
  1863. package/dist/modules/manager/xcodegen/extract.js.map +1 -0
  1864. package/dist/modules/manager/xcodegen/index.js +30 -0
  1865. package/dist/modules/manager/xcodegen/index.js.map +1 -0
  1866. package/dist/modules/manager/xcodegen/schema.js +25 -0
  1867. package/dist/modules/manager/xcodegen/schema.js.map +1 -0
  1868. package/dist/modules/platform/api.js +17 -16
  1869. package/dist/modules/platform/api.js.map +1 -1
  1870. package/dist/modules/platform/azure/azure-got-wrapper.js +14 -5
  1871. package/dist/modules/platform/azure/azure-got-wrapper.js.map +1 -1
  1872. package/dist/modules/platform/azure/azure-helper.js +21 -12
  1873. package/dist/modules/platform/azure/azure-helper.js.map +1 -1
  1874. package/dist/modules/platform/azure/index.js +84 -52
  1875. package/dist/modules/platform/azure/index.js.map +1 -1
  1876. package/dist/modules/platform/azure/issue.js +270 -0
  1877. package/dist/modules/platform/azure/issue.js.map +1 -0
  1878. package/dist/modules/platform/azure/schema.js +5 -6
  1879. package/dist/modules/platform/azure/schema.js.map +1 -1
  1880. package/dist/modules/platform/azure/types.js +1 -1
  1881. package/dist/modules/platform/azure/types.js.map +1 -1
  1882. package/dist/modules/platform/azure/util.js +12 -7
  1883. package/dist/modules/platform/azure/util.js.map +1 -1
  1884. package/dist/modules/platform/bitbucket/comments.js +14 -9
  1885. package/dist/modules/platform/bitbucket/comments.js.map +1 -1
  1886. package/dist/modules/platform/bitbucket/index.d.ts +10 -55
  1887. package/dist/modules/platform/bitbucket/index.js +53 -33
  1888. package/dist/modules/platform/bitbucket/index.js.map +1 -1
  1889. package/dist/modules/platform/bitbucket/pr-cache.js +1 -2
  1890. package/dist/modules/platform/bitbucket/pr-cache.js.map +1 -1
  1891. package/dist/modules/platform/bitbucket/schema.js +7 -7
  1892. package/dist/modules/platform/bitbucket/schema.js.map +1 -1
  1893. package/dist/modules/platform/bitbucket/utils.js +4 -3
  1894. package/dist/modules/platform/bitbucket/utils.js.map +1 -1
  1895. package/dist/modules/platform/bitbucket-server/index.d.ts +12 -56
  1896. package/dist/modules/platform/bitbucket-server/index.js +63 -35
  1897. package/dist/modules/platform/bitbucket-server/index.js.map +1 -1
  1898. package/dist/modules/platform/bitbucket-server/pr-cache.js +3 -4
  1899. package/dist/modules/platform/bitbucket-server/pr-cache.js.map +1 -1
  1900. package/dist/modules/platform/bitbucket-server/schema.js +5 -6
  1901. package/dist/modules/platform/bitbucket-server/schema.js.map +1 -1
  1902. package/dist/modules/platform/bitbucket-server/types.d.ts +0 -1
  1903. package/dist/modules/platform/bitbucket-server/utils.js +8 -8
  1904. package/dist/modules/platform/bitbucket-server/utils.js.map +1 -1
  1905. package/dist/modules/platform/codecommit/codecommit-client.js +4 -5
  1906. package/dist/modules/platform/codecommit/codecommit-client.js.map +1 -1
  1907. package/dist/modules/platform/codecommit/index.js +20 -23
  1908. package/dist/modules/platform/codecommit/index.js.map +1 -1
  1909. package/dist/modules/platform/comment.js +1 -2
  1910. package/dist/modules/platform/comment.js.map +1 -1
  1911. package/dist/modules/platform/default-scm.js +5 -3
  1912. package/dist/modules/platform/default-scm.js.map +1 -1
  1913. package/dist/modules/platform/forgejo/forgejo-helper.js +42 -42
  1914. package/dist/modules/platform/forgejo/forgejo-helper.js.map +1 -1
  1915. package/dist/modules/platform/forgejo/index.js +21 -23
  1916. package/dist/modules/platform/forgejo/index.js.map +1 -1
  1917. package/dist/modules/platform/forgejo/pr-cache.js +5 -5
  1918. package/dist/modules/platform/forgejo/pr-cache.js.map +1 -1
  1919. package/dist/modules/platform/forgejo/schema.js +149 -0
  1920. package/dist/modules/platform/forgejo/schema.js.map +1 -0
  1921. package/dist/modules/platform/forgejo/utils.js +8 -11
  1922. package/dist/modules/platform/forgejo/utils.js.map +1 -1
  1923. package/dist/modules/platform/gerrit/client.js +18 -13
  1924. package/dist/modules/platform/gerrit/client.js.map +1 -1
  1925. package/dist/modules/platform/gerrit/index.js +54 -24
  1926. package/dist/modules/platform/gerrit/index.js.map +1 -1
  1927. package/dist/modules/platform/gerrit/schema.js +91 -0
  1928. package/dist/modules/platform/gerrit/schema.js.map +1 -0
  1929. package/dist/modules/platform/gerrit/scm.js +78 -124
  1930. package/dist/modules/platform/gerrit/scm.js.map +1 -1
  1931. package/dist/modules/platform/gerrit/utils.js +18 -10
  1932. package/dist/modules/platform/gerrit/utils.js.map +1 -1
  1933. package/dist/modules/platform/gitea/gitea-helper.js +4 -3
  1934. package/dist/modules/platform/gitea/gitea-helper.js.map +1 -1
  1935. package/dist/modules/platform/gitea/index.js +15 -15
  1936. package/dist/modules/platform/gitea/index.js.map +1 -1
  1937. package/dist/modules/platform/gitea/pr-cache.js +2 -3
  1938. package/dist/modules/platform/gitea/pr-cache.js.map +1 -1
  1939. package/dist/modules/platform/gitea/schema.js +2 -3
  1940. package/dist/modules/platform/gitea/schema.js.map +1 -1
  1941. package/dist/modules/platform/gitea/utils.js +5 -6
  1942. package/dist/modules/platform/gitea/utils.js.map +1 -1
  1943. package/dist/modules/platform/github/api-cache.js +13 -9
  1944. package/dist/modules/platform/github/api-cache.js.map +1 -1
  1945. package/dist/modules/platform/github/branch.js +2 -3
  1946. package/dist/modules/platform/github/branch.js.map +1 -1
  1947. package/dist/modules/platform/github/common.js +1 -2
  1948. package/dist/modules/platform/github/common.js.map +1 -1
  1949. package/dist/modules/platform/github/graphql.js +6 -1
  1950. package/dist/modules/platform/github/graphql.js.map +1 -1
  1951. package/dist/modules/platform/github/index.js +161 -106
  1952. package/dist/modules/platform/github/index.js.map +1 -1
  1953. package/dist/modules/platform/github/issue.js +2 -33
  1954. package/dist/modules/platform/github/issue.js.map +1 -1
  1955. package/dist/modules/platform/github/massage-markdown-links.js +4 -5
  1956. package/dist/modules/platform/github/massage-markdown-links.js.map +1 -1
  1957. package/dist/modules/platform/github/pr.js +65 -40
  1958. package/dist/modules/platform/github/pr.js.map +1 -1
  1959. package/dist/modules/platform/github/schema.d.ts +164 -0
  1960. package/dist/modules/platform/github/schema.js +70 -23
  1961. package/dist/modules/platform/github/schema.js.map +1 -1
  1962. package/dist/modules/platform/github/scm.js +1 -2
  1963. package/dist/modules/platform/github/scm.js.map +1 -1
  1964. package/dist/modules/platform/github/user.js +11 -7
  1965. package/dist/modules/platform/github/user.js.map +1 -1
  1966. package/dist/modules/platform/github/utils.js +20 -3
  1967. package/dist/modules/platform/github/utils.js.map +1 -1
  1968. package/dist/modules/platform/gitlab/code-owners.d.ts +0 -1
  1969. package/dist/modules/platform/gitlab/code-owners.js +1 -2
  1970. package/dist/modules/platform/gitlab/code-owners.js.map +1 -1
  1971. package/dist/modules/platform/gitlab/http.js +14 -7
  1972. package/dist/modules/platform/gitlab/http.js.map +1 -1
  1973. package/dist/modules/platform/gitlab/index.d.ts +11 -65
  1974. package/dist/modules/platform/gitlab/index.js +68 -38
  1975. package/dist/modules/platform/gitlab/index.js.map +1 -1
  1976. package/dist/modules/platform/gitlab/merge-request.js +1 -2
  1977. package/dist/modules/platform/gitlab/merge-request.js.map +1 -1
  1978. package/dist/modules/platform/gitlab/pr-cache.js +3 -4
  1979. package/dist/modules/platform/gitlab/pr-cache.js.map +1 -1
  1980. package/dist/modules/platform/gitlab/roles.js +25 -0
  1981. package/dist/modules/platform/gitlab/roles.js.map +1 -0
  1982. package/dist/modules/platform/gitlab/schema.js +46 -16
  1983. package/dist/modules/platform/gitlab/schema.js.map +1 -1
  1984. package/dist/modules/platform/gitlab/types.d.ts +0 -1
  1985. package/dist/modules/platform/gitlab/utils.js +8 -5
  1986. package/dist/modules/platform/gitlab/utils.js.map +1 -1
  1987. package/dist/modules/platform/index.d.ts +3 -4
  1988. package/dist/modules/platform/index.js +6 -6
  1989. package/dist/modules/platform/index.js.map +1 -1
  1990. package/dist/modules/platform/local/index.js +6 -7
  1991. package/dist/modules/platform/local/index.js.map +1 -1
  1992. package/dist/modules/platform/local/scm.js +5 -3
  1993. package/dist/modules/platform/local/scm.js.map +1 -1
  1994. package/dist/modules/platform/pr-body.js +2 -3
  1995. package/dist/modules/platform/pr-body.js.map +1 -1
  1996. package/dist/modules/platform/scm-manager/index.js +226 -0
  1997. package/dist/modules/platform/scm-manager/index.js.map +1 -0
  1998. package/dist/modules/platform/scm-manager/mapper.js +26 -0
  1999. package/dist/modules/platform/scm-manager/mapper.js.map +1 -0
  2000. package/dist/modules/platform/scm-manager/schema.js +92 -0
  2001. package/dist/modules/platform/scm-manager/schema.js.map +1 -0
  2002. package/dist/modules/platform/scm-manager/scm-manager-helper.js +73 -0
  2003. package/dist/modules/platform/scm-manager/scm-manager-helper.js.map +1 -0
  2004. package/dist/modules/platform/scm-manager/utils.js +47 -0
  2005. package/dist/modules/platform/scm-manager/utils.js.map +1 -0
  2006. package/dist/modules/platform/scm.js +5 -6
  2007. package/dist/modules/platform/scm.js.map +1 -1
  2008. package/dist/modules/platform/types.d.ts +17 -12
  2009. package/dist/modules/platform/types.js +1 -1
  2010. package/dist/modules/platform/util.js +1 -2
  2011. package/dist/modules/platform/util.js.map +1 -1
  2012. package/dist/modules/platform/utils/pr-body.js +14 -7
  2013. package/dist/modules/platform/utils/pr-body.js.map +1 -1
  2014. package/dist/modules/platform/utils/read-only-issue-body.js +2 -3
  2015. package/dist/modules/platform/utils/read-only-issue-body.js.map +1 -1
  2016. package/dist/modules/versioning/api.js +109 -102
  2017. package/dist/modules/versioning/api.js.map +1 -1
  2018. package/dist/modules/versioning/apk/index.js +160 -0
  2019. package/dist/modules/versioning/apk/index.js.map +1 -0
  2020. package/dist/modules/versioning/aws-eks-addon/index.js +2 -3
  2021. package/dist/modules/versioning/aws-eks-addon/index.js.map +1 -1
  2022. package/dist/modules/versioning/aws-machine-image/index.js +2 -3
  2023. package/dist/modules/versioning/aws-machine-image/index.js.map +1 -1
  2024. package/dist/modules/versioning/azure-rest-api/index.js +3 -4
  2025. package/dist/modules/versioning/azure-rest-api/index.js.map +1 -1
  2026. package/dist/modules/versioning/bazel-module/bzlmod-version.js +3 -3
  2027. package/dist/modules/versioning/bazel-module/bzlmod-version.js.map +1 -1
  2028. package/dist/modules/versioning/bazel-module/index.js +2 -3
  2029. package/dist/modules/versioning/bazel-module/index.js.map +1 -1
  2030. package/dist/modules/versioning/cargo/index.js +21 -12
  2031. package/dist/modules/versioning/cargo/index.js.map +1 -1
  2032. package/dist/modules/versioning/common.js +2 -3
  2033. package/dist/modules/versioning/common.js.map +1 -1
  2034. package/dist/modules/versioning/composer/index.js +13 -17
  2035. package/dist/modules/versioning/composer/index.js.map +1 -1
  2036. package/dist/modules/versioning/conan/common.js +6 -9
  2037. package/dist/modules/versioning/conan/common.js.map +1 -1
  2038. package/dist/modules/versioning/conan/index.js +5 -7
  2039. package/dist/modules/versioning/conan/index.js.map +1 -1
  2040. package/dist/modules/versioning/conan/range.js +10 -12
  2041. package/dist/modules/versioning/conan/range.js.map +1 -1
  2042. package/dist/modules/versioning/conda/index.js +5 -6
  2043. package/dist/modules/versioning/conda/index.js.map +1 -1
  2044. package/dist/modules/versioning/deb/index.js +4 -7
  2045. package/dist/modules/versioning/deb/index.js.map +1 -1
  2046. package/dist/modules/versioning/debian/common.js +26 -4
  2047. package/dist/modules/versioning/debian/common.js.map +1 -1
  2048. package/dist/modules/versioning/debian/index.js +67 -8
  2049. package/dist/modules/versioning/debian/index.js.map +1 -1
  2050. package/dist/modules/versioning/deno/index.js +35 -0
  2051. package/dist/modules/versioning/deno/index.js.map +1 -0
  2052. package/dist/modules/versioning/devbox/index.js +2 -3
  2053. package/dist/modules/versioning/devbox/index.js.map +1 -1
  2054. package/dist/modules/versioning/distro.js +1 -2
  2055. package/dist/modules/versioning/distro.js.map +1 -1
  2056. package/dist/modules/versioning/docker/index.js +2 -3
  2057. package/dist/modules/versioning/docker/index.js.map +1 -1
  2058. package/dist/modules/versioning/elm/index.js +2 -5
  2059. package/dist/modules/versioning/elm/index.js.map +1 -1
  2060. package/dist/modules/versioning/exact/index.js +2 -2
  2061. package/dist/modules/versioning/exact/index.js.map +1 -1
  2062. package/dist/modules/versioning/generic.d.ts +1 -6
  2063. package/dist/modules/versioning/generic.js +1 -2
  2064. package/dist/modules/versioning/generic.js.map +1 -1
  2065. package/dist/modules/versioning/git/index.js +2 -5
  2066. package/dist/modules/versioning/git/index.js.map +1 -1
  2067. package/dist/modules/versioning/github-actions/index.js +198 -0
  2068. package/dist/modules/versioning/github-actions/index.js.map +1 -0
  2069. package/dist/modules/versioning/glasskube/index.js +3 -4
  2070. package/dist/modules/versioning/glasskube/index.js.map +1 -1
  2071. package/dist/modules/versioning/go-mod-directive/index.js +12 -7
  2072. package/dist/modules/versioning/go-mod-directive/index.js.map +1 -1
  2073. package/dist/modules/versioning/gradle/compare.js +23 -29
  2074. package/dist/modules/versioning/gradle/compare.js.map +1 -1
  2075. package/dist/modules/versioning/gradle/index.js +43 -20
  2076. package/dist/modules/versioning/gradle/index.js.map +1 -1
  2077. package/dist/modules/versioning/hashicorp/convertor.js +1 -2
  2078. package/dist/modules/versioning/hashicorp/convertor.js.map +1 -1
  2079. package/dist/modules/versioning/hashicorp/index.js +3 -4
  2080. package/dist/modules/versioning/hashicorp/index.js.map +1 -1
  2081. package/dist/modules/versioning/helm/index.js +2 -3
  2082. package/dist/modules/versioning/helm/index.js.map +1 -1
  2083. package/dist/modules/versioning/hermit/index.js +14 -15
  2084. package/dist/modules/versioning/hermit/index.js.map +1 -1
  2085. package/dist/modules/versioning/hex/index.js +21 -12
  2086. package/dist/modules/versioning/hex/index.js.map +1 -1
  2087. package/dist/modules/versioning/index.d.ts +2 -3
  2088. package/dist/modules/versioning/index.js +7 -4
  2089. package/dist/modules/versioning/index.js.map +1 -1
  2090. package/dist/modules/versioning/ivy/index.js +9 -12
  2091. package/dist/modules/versioning/ivy/index.js.map +1 -1
  2092. package/dist/modules/versioning/ivy/parse.js +3 -4
  2093. package/dist/modules/versioning/ivy/parse.js.map +1 -1
  2094. package/dist/modules/versioning/kubernetes-api/index.js +2 -3
  2095. package/dist/modules/versioning/kubernetes-api/index.js.map +1 -1
  2096. package/dist/modules/versioning/lambda-node/index.js +3 -4
  2097. package/dist/modules/versioning/lambda-node/index.js.map +1 -1
  2098. package/dist/modules/versioning/lambda-node/schedule.js +1 -2
  2099. package/dist/modules/versioning/lambda-node/schedule.js.map +1 -1
  2100. package/dist/modules/versioning/loose/index.js +2 -3
  2101. package/dist/modules/versioning/loose/index.js.map +1 -1
  2102. package/dist/modules/versioning/maven/compare.js +39 -27
  2103. package/dist/modules/versioning/maven/compare.js.map +1 -1
  2104. package/dist/modules/versioning/maven/index.js +31 -26
  2105. package/dist/modules/versioning/maven/index.js.map +1 -1
  2106. package/dist/modules/versioning/nixpkgs/index.js +4 -5
  2107. package/dist/modules/versioning/nixpkgs/index.js.map +1 -1
  2108. package/dist/modules/versioning/node/index.js +10 -9
  2109. package/dist/modules/versioning/node/index.js.map +1 -1
  2110. package/dist/modules/versioning/node/schedule.js +4 -4
  2111. package/dist/modules/versioning/node/schedule.js.map +1 -1
  2112. package/dist/modules/versioning/npm/index.js +31 -8
  2113. package/dist/modules/versioning/npm/index.js.map +1 -1
  2114. package/dist/modules/versioning/npm/range.js +14 -14
  2115. package/dist/modules/versioning/npm/range.js.map +1 -1
  2116. package/dist/modules/versioning/nuget/index.js +2 -3
  2117. package/dist/modules/versioning/nuget/index.js.map +1 -1
  2118. package/dist/modules/versioning/nuget/parser.js +11 -12
  2119. package/dist/modules/versioning/nuget/parser.js.map +1 -1
  2120. package/dist/modules/versioning/nuget/range.js +1 -2
  2121. package/dist/modules/versioning/nuget/range.js.map +1 -1
  2122. package/dist/modules/versioning/nuget/version.js +8 -9
  2123. package/dist/modules/versioning/nuget/version.js.map +1 -1
  2124. package/dist/modules/versioning/paket/index.js +227 -0
  2125. package/dist/modules/versioning/paket/index.js.map +1 -0
  2126. package/dist/modules/versioning/paket/range.js +268 -0
  2127. package/dist/modules/versioning/paket/range.js.map +1 -0
  2128. package/dist/modules/versioning/paket/version.js +21 -0
  2129. package/dist/modules/versioning/paket/version.js.map +1 -0
  2130. package/dist/modules/versioning/pep440/index.js +8 -7
  2131. package/dist/modules/versioning/pep440/index.js.map +1 -1
  2132. package/dist/modules/versioning/pep440/range.js +15 -16
  2133. package/dist/modules/versioning/pep440/range.js.map +1 -1
  2134. package/dist/modules/versioning/perl/index.js +4 -5
  2135. package/dist/modules/versioning/perl/index.js.map +1 -1
  2136. package/dist/modules/versioning/poetry/index.js +20 -21
  2137. package/dist/modules/versioning/poetry/index.js.map +1 -1
  2138. package/dist/modules/versioning/poetry/patterns.js +1 -2
  2139. package/dist/modules/versioning/poetry/patterns.js.map +1 -1
  2140. package/dist/modules/versioning/poetry/transform.js +3 -4
  2141. package/dist/modules/versioning/poetry/transform.js.map +1 -1
  2142. package/dist/modules/versioning/pvp/index.js +5 -8
  2143. package/dist/modules/versioning/pvp/index.js.map +1 -1
  2144. package/dist/modules/versioning/pvp/range.js +1 -2
  2145. package/dist/modules/versioning/pvp/range.js.map +1 -1
  2146. package/dist/modules/versioning/pvp/util.js +2 -2
  2147. package/dist/modules/versioning/pvp/util.js.map +1 -1
  2148. package/dist/modules/versioning/python/index.js +4 -5
  2149. package/dist/modules/versioning/python/index.js.map +1 -1
  2150. package/dist/modules/versioning/redhat/index.js +7 -8
  2151. package/dist/modules/versioning/redhat/index.js.map +1 -1
  2152. package/dist/modules/versioning/regex/index.js +7 -8
  2153. package/dist/modules/versioning/regex/index.js.map +1 -1
  2154. package/dist/modules/versioning/rez/index.js +23 -26
  2155. package/dist/modules/versioning/rez/index.js.map +1 -1
  2156. package/dist/modules/versioning/rez/pattern.js +1 -2
  2157. package/dist/modules/versioning/rez/pattern.js.map +1 -1
  2158. package/dist/modules/versioning/rez/transform.js +11 -12
  2159. package/dist/modules/versioning/rez/transform.js.map +1 -1
  2160. package/dist/modules/versioning/rpm/index.js +8 -10
  2161. package/dist/modules/versioning/rpm/index.js.map +1 -1
  2162. package/dist/modules/versioning/ruby/index.js +42 -22
  2163. package/dist/modules/versioning/ruby/index.js.map +1 -1
  2164. package/dist/modules/versioning/ruby/operator.js +16 -20
  2165. package/dist/modules/versioning/ruby/operator.js.map +1 -1
  2166. package/dist/modules/versioning/ruby/range.js +16 -17
  2167. package/dist/modules/versioning/ruby/range.js.map +1 -1
  2168. package/dist/modules/versioning/ruby/strategies/bump.js +8 -10
  2169. package/dist/modules/versioning/ruby/strategies/bump.js.map +1 -1
  2170. package/dist/modules/versioning/ruby/strategies/index.js +1 -2
  2171. package/dist/modules/versioning/ruby/strategies/replace.js +21 -21
  2172. package/dist/modules/versioning/ruby/strategies/replace.js.map +1 -1
  2173. package/dist/modules/versioning/ruby/strategies/widen.js +4 -6
  2174. package/dist/modules/versioning/ruby/strategies/widen.js.map +1 -1
  2175. package/dist/modules/versioning/ruby/version.js +38 -27
  2176. package/dist/modules/versioning/ruby/version.js.map +1 -1
  2177. package/dist/modules/versioning/rust-release-channel/index.js +6 -6
  2178. package/dist/modules/versioning/rust-release-channel/index.js.map +1 -1
  2179. package/dist/modules/versioning/rust-release-channel/parse.js +8 -9
  2180. package/dist/modules/versioning/rust-release-channel/parse.js.map +1 -1
  2181. package/dist/modules/versioning/rust-release-channel/util.js +5 -6
  2182. package/dist/modules/versioning/rust-release-channel/util.js.map +1 -1
  2183. package/dist/modules/versioning/same-major/index.js +3 -4
  2184. package/dist/modules/versioning/same-major/index.js.map +1 -1
  2185. package/dist/modules/versioning/schema.js +3 -4
  2186. package/dist/modules/versioning/schema.js.map +1 -1
  2187. package/dist/modules/versioning/semver/common.js +27 -2
  2188. package/dist/modules/versioning/semver/common.js.map +1 -1
  2189. package/dist/modules/versioning/semver/index.js +5 -4
  2190. package/dist/modules/versioning/semver/index.js.map +1 -1
  2191. package/dist/modules/versioning/semver-coerced/index.d.ts +2 -4
  2192. package/dist/modules/versioning/semver-coerced/index.js +7 -7
  2193. package/dist/modules/versioning/semver-coerced/index.js.map +1 -1
  2194. package/dist/modules/versioning/semver-partial/index.js +2 -3
  2195. package/dist/modules/versioning/semver-partial/index.js.map +1 -1
  2196. package/dist/modules/versioning/swift/index.js +8 -5
  2197. package/dist/modules/versioning/swift/index.js.map +1 -1
  2198. package/dist/modules/versioning/swift/range.js +1 -2
  2199. package/dist/modules/versioning/swift/range.js.map +1 -1
  2200. package/dist/modules/versioning/types.d.ts +6 -1
  2201. package/dist/modules/versioning/ubuntu/common.js +2 -3
  2202. package/dist/modules/versioning/ubuntu/common.js.map +1 -1
  2203. package/dist/modules/versioning/ubuntu/index.d.ts +0 -1
  2204. package/dist/modules/versioning/ubuntu/index.js +5 -6
  2205. package/dist/modules/versioning/ubuntu/index.js.map +1 -1
  2206. package/dist/modules/versioning/unity3d/index.js +8 -10
  2207. package/dist/modules/versioning/unity3d/index.js.map +1 -1
  2208. package/dist/modules/versioning/unity3d-packages/index.js +7 -9
  2209. package/dist/modules/versioning/unity3d-packages/index.js.map +1 -1
  2210. package/dist/proxy.js +1 -2
  2211. package/dist/proxy.js.map +1 -1
  2212. package/dist/punycode.js +1 -3
  2213. package/dist/punycode.js.map +1 -1
  2214. package/dist/renovate.d.ts +0 -2
  2215. package/dist/renovate.js +18 -17
  2216. package/dist/renovate.js.map +1 -1
  2217. package/dist/types/base.d.ts +0 -1
  2218. package/dist/types/errors/external-host-error.js +1 -2
  2219. package/dist/types/errors/external-host-error.js.map +1 -1
  2220. package/dist/types/index.d.ts +18 -3
  2221. package/dist/types/index.js +1 -1
  2222. package/dist/types/skip-reason.d.ts +18 -2
  2223. package/dist/util/array.js +1 -2
  2224. package/dist/util/array.js.map +1 -1
  2225. package/dist/util/assign-keys.js +1 -2
  2226. package/dist/util/assign-keys.js.map +1 -1
  2227. package/dist/util/cache/memory/index.js +1 -1
  2228. package/dist/util/cache/memory/index.js.map +1 -1
  2229. package/dist/util/cache/package/backend.d.ts +12 -0
  2230. package/dist/util/cache/package/backend.js +51 -0
  2231. package/dist/util/cache/package/backend.js.map +1 -0
  2232. package/dist/util/cache/package/codec.js +58 -0
  2233. package/dist/util/cache/package/codec.js.map +1 -0
  2234. package/dist/util/cache/package/impl/base.js +81 -0
  2235. package/dist/util/cache/package/impl/base.js.map +1 -0
  2236. package/dist/util/cache/package/impl/file.js +92 -0
  2237. package/dist/util/cache/package/impl/file.js.map +1 -0
  2238. package/dist/util/cache/package/impl/redis.js +75 -0
  2239. package/dist/util/cache/package/impl/redis.js.map +1 -0
  2240. package/dist/util/cache/package/impl/sqlite.js +112 -0
  2241. package/dist/util/cache/package/impl/sqlite.js.map +1 -0
  2242. package/dist/util/cache/package/index.d.ts +3 -4
  2243. package/dist/util/cache/package/index.js +15 -51
  2244. package/dist/util/cache/package/index.js.map +1 -1
  2245. package/dist/util/cache/package/key.js +1 -1
  2246. package/dist/util/cache/package/key.js.map +1 -1
  2247. package/dist/util/cache/package/legacy.js +27 -0
  2248. package/dist/util/cache/package/legacy.js.map +1 -0
  2249. package/dist/util/cache/package/namespaces.d.ts +2 -2
  2250. package/dist/util/cache/package/namespaces.js +111 -0
  2251. package/dist/util/cache/package/namespaces.js.map +1 -0
  2252. package/dist/util/cache/package/ttl.js +3 -4
  2253. package/dist/util/cache/package/ttl.js.map +1 -1
  2254. package/dist/util/cache/package/with-cache.js +11 -11
  2255. package/dist/util/cache/package/with-cache.js.map +1 -1
  2256. package/dist/util/cache/repository/common.js +2 -4
  2257. package/dist/util/cache/repository/common.js.map +1 -1
  2258. package/dist/util/cache/repository/http-cache.js +2 -3
  2259. package/dist/util/cache/repository/http-cache.js.map +1 -1
  2260. package/dist/util/cache/repository/impl/base.js +7 -8
  2261. package/dist/util/cache/repository/impl/base.js.map +1 -1
  2262. package/dist/util/cache/repository/impl/cache-factory.js +1 -2
  2263. package/dist/util/cache/repository/impl/cache-factory.js.map +1 -1
  2264. package/dist/util/cache/repository/impl/local.js +1 -2
  2265. package/dist/util/cache/repository/impl/local.js.map +1 -1
  2266. package/dist/util/cache/repository/impl/null.js +1 -1
  2267. package/dist/util/cache/repository/impl/null.js.map +1 -1
  2268. package/dist/util/cache/repository/impl/s3.js +2 -3
  2269. package/dist/util/cache/repository/impl/s3.js.map +1 -1
  2270. package/dist/util/cache/repository/index.js +3 -3
  2271. package/dist/util/cache/repository/index.js.map +1 -1
  2272. package/dist/util/cache/repository/init.js +4 -4
  2273. package/dist/util/cache/repository/init.js.map +1 -1
  2274. package/dist/util/cache/repository/schema.js +4 -5
  2275. package/dist/util/cache/repository/schema.js.map +1 -1
  2276. package/dist/util/cache/repository/types.d.ts +5 -4
  2277. package/dist/util/cache/repository/types.js +1 -1
  2278. package/dist/util/check-token.js +4 -5
  2279. package/dist/util/check-token.js.map +1 -1
  2280. package/dist/util/clone.js +2 -3
  2281. package/dist/util/clone.js.map +1 -1
  2282. package/dist/util/coerce.js +1 -1
  2283. package/dist/util/coerce.js.map +1 -1
  2284. package/dist/util/common.js +6 -12
  2285. package/dist/util/common.js.map +1 -1
  2286. package/dist/util/compress.d.ts +3 -1
  2287. package/dist/util/compress.js +13 -8
  2288. package/dist/util/compress.js.map +1 -1
  2289. package/dist/util/date.js +1 -2
  2290. package/dist/util/date.js.map +1 -1
  2291. package/dist/util/emoji.js +7 -8
  2292. package/dist/util/emoji.js.map +1 -1
  2293. package/dist/util/env.js +1 -2
  2294. package/dist/util/env.js.map +1 -1
  2295. package/dist/util/exec/common.d.ts +1 -2
  2296. package/dist/util/exec/common.js +28 -21
  2297. package/dist/util/exec/common.js.map +1 -1
  2298. package/dist/util/exec/containerbase.js +66 -62
  2299. package/dist/util/exec/containerbase.js.map +1 -1
  2300. package/dist/util/exec/docker/index.js +2 -3
  2301. package/dist/util/exec/docker/index.js.map +1 -1
  2302. package/dist/util/exec/env.js +9 -4
  2303. package/dist/util/exec/env.js.map +1 -1
  2304. package/dist/util/exec/exec-error.d.ts +0 -1
  2305. package/dist/util/exec/exec-error.js +1 -1
  2306. package/dist/util/exec/exec-error.js.map +1 -1
  2307. package/dist/util/exec/hermit.js +3 -4
  2308. package/dist/util/exec/hermit.js.map +1 -1
  2309. package/dist/util/exec/index.js +17 -8
  2310. package/dist/util/exec/index.js.map +1 -1
  2311. package/dist/util/exec/types.d.ts +182 -4
  2312. package/dist/util/exec/types.js +138 -1
  2313. package/dist/util/exec/types.js.map +1 -0
  2314. package/dist/util/exec/utils.js +1 -2
  2315. package/dist/util/exec/utils.js.map +1 -1
  2316. package/dist/util/filter-map.js +1 -2
  2317. package/dist/util/filter-map.js.map +1 -1
  2318. package/dist/util/fingerprint.js +59 -6
  2319. package/dist/util/fingerprint.js.map +1 -1
  2320. package/dist/util/fs/index.js +18 -8
  2321. package/dist/util/fs/index.js.map +1 -1
  2322. package/dist/util/fs/util.js +1 -2
  2323. package/dist/util/fs/util.js.map +1 -1
  2324. package/dist/util/git/auth.js +5 -6
  2325. package/dist/util/git/auth.js.map +1 -1
  2326. package/dist/util/git/author.js +2 -3
  2327. package/dist/util/git/author.js.map +1 -1
  2328. package/dist/util/git/behind-base-branch-cache.js +1 -2
  2329. package/dist/util/git/behind-base-branch-cache.js.map +1 -1
  2330. package/dist/util/git/commit-trailers.js +37 -0
  2331. package/dist/util/git/commit-trailers.js.map +1 -0
  2332. package/dist/util/git/config.d.ts +1 -2
  2333. package/dist/util/git/config.js +10 -3
  2334. package/dist/util/git/config.js.map +1 -1
  2335. package/dist/util/git/conflicts-cache.js +1 -2
  2336. package/dist/util/git/conflicts-cache.js.map +1 -1
  2337. package/dist/util/git/error.js +9 -2
  2338. package/dist/util/git/error.js.map +1 -1
  2339. package/dist/util/git/index.d.ts +41 -49
  2340. package/dist/util/git/index.js +269 -91
  2341. package/dist/util/git/index.js.map +1 -1
  2342. package/dist/util/git/instrument.js +5 -6
  2343. package/dist/util/git/instrument.js.map +1 -1
  2344. package/dist/util/git/modified-cache.js +1 -2
  2345. package/dist/util/git/modified-cache.js.map +1 -1
  2346. package/dist/util/git/pristine.js +1 -2
  2347. package/dist/util/git/pristine.js.map +1 -1
  2348. package/dist/util/git/private-key.js +4 -5
  2349. package/dist/util/git/private-key.js.map +1 -1
  2350. package/dist/util/git/semantic.js +20 -6
  2351. package/dist/util/git/semantic.js.map +1 -1
  2352. package/dist/util/git/set-branch-commit.js +1 -2
  2353. package/dist/util/git/set-branch-commit.js.map +1 -1
  2354. package/dist/util/git/span-processor.js +3 -4
  2355. package/dist/util/git/span-processor.js.map +1 -1
  2356. package/dist/util/git/types.d.ts +36 -24
  2357. package/dist/util/git/types.js +21 -0
  2358. package/dist/util/git/types.js.map +1 -0
  2359. package/dist/util/git/update-date-cache.js +22 -0
  2360. package/dist/util/git/update-date-cache.js.map +1 -0
  2361. package/dist/util/git/url.js +6 -3
  2362. package/dist/util/git/url.js.map +1 -1
  2363. package/dist/util/github/graphql/cache-strategies/abstract-cache-strategy.js +1 -2
  2364. package/dist/util/github/graphql/cache-strategies/abstract-cache-strategy.js.map +1 -1
  2365. package/dist/util/github/graphql/cache-strategies/memory-cache-strategy.js +3 -6
  2366. package/dist/util/github/graphql/cache-strategies/memory-cache-strategy.js.map +1 -1
  2367. package/dist/util/github/graphql/cache-strategies/package-cache-strategy.js +1 -2
  2368. package/dist/util/github/graphql/cache-strategies/package-cache-strategy.js.map +1 -1
  2369. package/dist/util/github/graphql/datasource-fetcher.js +11 -13
  2370. package/dist/util/github/graphql/datasource-fetcher.js.map +1 -1
  2371. package/dist/util/github/graphql/index.js +1 -2
  2372. package/dist/util/github/graphql/index.js.map +1 -1
  2373. package/dist/util/github/graphql/query-adapters/branches-query-adapter.js +2 -3
  2374. package/dist/util/github/graphql/query-adapters/branches-query-adapter.js.map +1 -1
  2375. package/dist/util/github/graphql/query-adapters/releases-query-adapter.js +2 -3
  2376. package/dist/util/github/graphql/query-adapters/releases-query-adapter.js.map +1 -1
  2377. package/dist/util/github/graphql/query-adapters/tags-query-adapter.js +2 -3
  2378. package/dist/util/github/graphql/query-adapters/tags-query-adapter.js.map +1 -1
  2379. package/dist/util/github/graphql/util.js +1 -2
  2380. package/dist/util/github/graphql/util.js.map +1 -1
  2381. package/dist/util/github/tags.js +1 -2
  2382. package/dist/util/github/tags.js.map +1 -1
  2383. package/dist/util/github/url.js +2 -3
  2384. package/dist/util/github/url.js.map +1 -1
  2385. package/dist/util/hash.js +3 -4
  2386. package/dist/util/hash.js.map +1 -1
  2387. package/dist/util/host-rules.d.ts +3 -10
  2388. package/dist/util/host-rules.js +1 -2
  2389. package/dist/util/host-rules.js.map +1 -1
  2390. package/dist/util/html.js +1 -2
  2391. package/dist/util/html.js.map +1 -1
  2392. package/dist/util/http/auth.js +8 -13
  2393. package/dist/util/http/auth.js.map +1 -1
  2394. package/dist/util/http/bitbucket-server.js +3 -4
  2395. package/dist/util/http/bitbucket-server.js.map +1 -1
  2396. package/dist/util/http/bitbucket.js +1 -2
  2397. package/dist/util/http/bitbucket.js.map +1 -1
  2398. package/dist/util/http/cache/abstract-http-cache-provider.js +4 -4
  2399. package/dist/util/http/cache/abstract-http-cache-provider.js.map +1 -1
  2400. package/dist/util/http/cache/memory-http-cache-provider.js +2 -3
  2401. package/dist/util/http/cache/memory-http-cache-provider.js.map +1 -1
  2402. package/dist/util/http/cache/package-http-cache-provider.js +41 -12
  2403. package/dist/util/http/cache/package-http-cache-provider.js.map +1 -1
  2404. package/dist/util/http/cache/repository-http-cache-provider.js +3 -4
  2405. package/dist/util/http/cache/repository-http-cache-provider.js.map +1 -1
  2406. package/dist/util/http/cache/schema.js +2 -3
  2407. package/dist/util/http/cache/schema.js.map +1 -1
  2408. package/dist/util/http/cache/types.d.ts +0 -1
  2409. package/dist/util/http/forgejo.js +5 -6
  2410. package/dist/util/http/forgejo.js.map +1 -1
  2411. package/dist/util/http/gerrit.js +2 -3
  2412. package/dist/util/http/gerrit.js.map +1 -1
  2413. package/dist/util/http/gitea.js +5 -6
  2414. package/dist/util/http/gitea.js.map +1 -1
  2415. package/dist/util/http/github.d.ts +1 -2
  2416. package/dist/util/http/github.js +29 -16
  2417. package/dist/util/http/github.js.map +1 -1
  2418. package/dist/util/http/gitlab.d.ts +1 -2
  2419. package/dist/util/http/gitlab.js +23 -6
  2420. package/dist/util/http/gitlab.js.map +1 -1
  2421. package/dist/util/http/got.js +5 -10
  2422. package/dist/util/http/got.js.map +1 -1
  2423. package/dist/util/http/host-rules.js +18 -6
  2424. package/dist/util/http/host-rules.js.map +1 -1
  2425. package/dist/util/http/http.d.ts +5 -11
  2426. package/dist/util/http/http.js +11 -11
  2427. package/dist/util/http/http.js.map +1 -1
  2428. package/dist/util/http/index.js +2 -3
  2429. package/dist/util/http/index.js.map +1 -1
  2430. package/dist/util/http/jwt.js +21 -0
  2431. package/dist/util/http/jwt.js.map +1 -0
  2432. package/dist/util/http/keep-alive.js +1 -2
  2433. package/dist/util/http/keep-alive.js.map +1 -1
  2434. package/dist/util/http/legacy.d.ts +0 -1
  2435. package/dist/util/http/legacy.js +2 -3
  2436. package/dist/util/http/legacy.js.map +1 -1
  2437. package/dist/util/http/queue.js +1 -2
  2438. package/dist/util/http/queue.js.map +1 -1
  2439. package/dist/util/http/rate-limits.js +1 -2
  2440. package/dist/util/http/rate-limits.js.map +1 -1
  2441. package/dist/util/http/retry-after.js +3 -4
  2442. package/dist/util/http/retry-after.js.map +1 -1
  2443. package/dist/util/http/scm-manager.js +22 -0
  2444. package/dist/util/http/scm-manager.js.map +1 -0
  2445. package/dist/util/http/throttle.js +2 -3
  2446. package/dist/util/http/throttle.js.map +1 -1
  2447. package/dist/util/http/types.d.ts +1 -2
  2448. package/dist/util/http/types.js +1 -1
  2449. package/dist/util/http/types.js.map +1 -1
  2450. package/dist/util/http/util.js +1 -2
  2451. package/dist/util/http/util.js.map +1 -1
  2452. package/dist/util/http/www-authenticate.js +108 -0
  2453. package/dist/util/http/www-authenticate.js.map +1 -0
  2454. package/dist/util/ignore.js +2 -3
  2455. package/dist/util/ignore.js.map +1 -1
  2456. package/dist/util/interpolator.js +5 -3
  2457. package/dist/util/interpolator.js.map +1 -1
  2458. package/dist/util/json-writer/editor-config.js +2 -3
  2459. package/dist/util/json-writer/editor-config.js.map +1 -1
  2460. package/dist/util/json-writer/index.js +1 -2
  2461. package/dist/util/json-writer/json-writer.js +1 -1
  2462. package/dist/util/json-writer/json-writer.js.map +1 -1
  2463. package/dist/util/jsonata.js +3 -2
  2464. package/dist/util/jsonata.js.map +1 -1
  2465. package/dist/util/lazy.js +1 -1
  2466. package/dist/util/lazy.js.map +1 -1
  2467. package/dist/util/markdown.js +1 -2
  2468. package/dist/util/markdown.js.map +1 -1
  2469. package/dist/util/mask.js +2 -2
  2470. package/dist/util/mask.js.map +1 -1
  2471. package/dist/util/memoize.js +1 -1
  2472. package/dist/util/memoize.js.map +1 -1
  2473. package/dist/util/merge-confidence/common.d.ts +1 -1
  2474. package/dist/util/merge-confidence/common.js +1 -1
  2475. package/dist/util/merge-confidence/common.js.map +1 -1
  2476. package/dist/util/merge-confidence/index.js +25 -22
  2477. package/dist/util/merge-confidence/index.js.map +1 -1
  2478. package/dist/util/merge-confidence/schema.js +7 -0
  2479. package/dist/util/merge-confidence/schema.js.map +1 -0
  2480. package/dist/util/merge-confidence/types.d.ts +0 -1
  2481. package/dist/util/minimatch.js +1 -2
  2482. package/dist/util/minimatch.js.map +1 -1
  2483. package/dist/util/minimum-release-age.js +33 -0
  2484. package/dist/util/minimum-release-age.js.map +1 -0
  2485. package/dist/util/mutex.js +2 -3
  2486. package/dist/util/mutex.js.map +1 -1
  2487. package/dist/util/number.js +2 -3
  2488. package/dist/util/number.js.map +1 -1
  2489. package/dist/util/object.js +1 -1
  2490. package/dist/util/object.js.map +1 -1
  2491. package/dist/util/package-rules/base-branches.js +1 -2
  2492. package/dist/util/package-rules/base-branches.js.map +1 -1
  2493. package/dist/util/package-rules/base.js +1 -1
  2494. package/dist/util/package-rules/base.js.map +1 -1
  2495. package/dist/util/package-rules/categories.js +1 -2
  2496. package/dist/util/package-rules/categories.js.map +1 -1
  2497. package/dist/util/package-rules/current-age.js +2 -3
  2498. package/dist/util/package-rules/current-age.js.map +1 -1
  2499. package/dist/util/package-rules/current-value.js +1 -2
  2500. package/dist/util/package-rules/current-value.js.map +1 -1
  2501. package/dist/util/package-rules/current-version.js +1 -2
  2502. package/dist/util/package-rules/current-version.js.map +1 -1
  2503. package/dist/util/package-rules/datasources.js +1 -2
  2504. package/dist/util/package-rules/datasources.js.map +1 -1
  2505. package/dist/util/package-rules/dep-names.js +1 -2
  2506. package/dist/util/package-rules/dep-names.js.map +1 -1
  2507. package/dist/util/package-rules/dep-types.js +1 -2
  2508. package/dist/util/package-rules/dep-types.js.map +1 -1
  2509. package/dist/util/package-rules/files.js +1 -2
  2510. package/dist/util/package-rules/files.js.map +1 -1
  2511. package/dist/util/package-rules/index.js +5 -6
  2512. package/dist/util/package-rules/index.js.map +1 -1
  2513. package/dist/util/package-rules/jsonata.js +1 -2
  2514. package/dist/util/package-rules/jsonata.js.map +1 -1
  2515. package/dist/util/package-rules/managers.js +1 -2
  2516. package/dist/util/package-rules/managers.js.map +1 -1
  2517. package/dist/util/package-rules/matchers.js +3 -2
  2518. package/dist/util/package-rules/matchers.js.map +1 -1
  2519. package/dist/util/package-rules/merge-confidence.js +3 -3
  2520. package/dist/util/package-rules/merge-confidence.js.map +1 -1
  2521. package/dist/util/package-rules/new-value.js +1 -2
  2522. package/dist/util/package-rules/new-value.js.map +1 -1
  2523. package/dist/util/package-rules/package-names.js +1 -2
  2524. package/dist/util/package-rules/package-names.js.map +1 -1
  2525. package/dist/util/package-rules/registryurls.js +15 -0
  2526. package/dist/util/package-rules/registryurls.js.map +1 -0
  2527. package/dist/util/package-rules/repositories.js +1 -2
  2528. package/dist/util/package-rules/repositories.js.map +1 -1
  2529. package/dist/util/package-rules/sourceurls.js +1 -2
  2530. package/dist/util/package-rules/sourceurls.js.map +1 -1
  2531. package/dist/util/package-rules/update-types.js +1 -2
  2532. package/dist/util/package-rules/update-types.js.map +1 -1
  2533. package/dist/util/pretty-time.js +1 -2
  2534. package/dist/util/pretty-time.js.map +1 -1
  2535. package/dist/util/promises.js +1 -2
  2536. package/dist/util/promises.js.map +1 -1
  2537. package/dist/util/range.js +1 -1
  2538. package/dist/util/range.js.map +1 -1
  2539. package/dist/util/regex.js +36 -4
  2540. package/dist/util/regex.js.map +1 -1
  2541. package/dist/util/result.d.ts +13 -13
  2542. package/dist/util/result.js +5 -6
  2543. package/dist/util/result.js.map +1 -1
  2544. package/dist/util/s3.d.ts +0 -1
  2545. package/dist/util/s3.js +1 -2
  2546. package/dist/util/s3.js.map +1 -1
  2547. package/dist/util/sample.js +1 -1
  2548. package/dist/util/sample.js.map +1 -1
  2549. package/dist/util/sanitize.js +1 -2
  2550. package/dist/util/sanitize.js.map +1 -1
  2551. package/dist/util/schema-utils/git.d.ts +7 -0
  2552. package/dist/util/schema-utils/git.js +15 -0
  2553. package/dist/util/schema-utils/git.js.map +1 -0
  2554. package/dist/util/schema-utils/index.d.ts +1 -1
  2555. package/dist/util/schema-utils/index.js +77 -27
  2556. package/dist/util/schema-utils/index.js.map +1 -1
  2557. package/dist/util/split.js +1 -1
  2558. package/dist/util/split.js.map +1 -1
  2559. package/dist/util/stats.js +79 -4
  2560. package/dist/util/stats.js.map +1 -1
  2561. package/dist/util/streams.js +1 -2
  2562. package/dist/util/streams.js.map +1 -1
  2563. package/dist/util/string-match.js +1 -2
  2564. package/dist/util/string-match.js.map +1 -1
  2565. package/dist/util/string.js +1 -1
  2566. package/dist/util/string.js.map +1 -1
  2567. package/dist/util/stringify.js +1 -2
  2568. package/dist/util/stringify.js.map +1 -1
  2569. package/dist/util/template/index.js +31 -7
  2570. package/dist/util/template/index.js.map +1 -1
  2571. package/dist/util/timestamp.d.ts +3 -4
  2572. package/dist/util/timestamp.js +2 -3
  2573. package/dist/util/timestamp.js.map +1 -1
  2574. package/dist/util/toml.js +1 -2
  2575. package/dist/util/toml.js.map +1 -1
  2576. package/dist/util/unicode.js +31 -0
  2577. package/dist/util/unicode.js.map +1 -0
  2578. package/dist/util/uniq.js +1 -1
  2579. package/dist/util/uniq.js.map +1 -1
  2580. package/dist/util/url.d.ts +0 -1
  2581. package/dist/util/url.js +4 -5
  2582. package/dist/util/url.js.map +1 -1
  2583. package/dist/util/vulnerability/ecosystem.js +53 -0
  2584. package/dist/util/vulnerability/ecosystem.js.map +1 -0
  2585. package/dist/util/vulnerability/utils.js +30 -2
  2586. package/dist/util/vulnerability/utils.js.map +1 -1
  2587. package/dist/util/yaml.d.ts +1 -1
  2588. package/dist/util/yaml.js +2 -3
  2589. package/dist/util/yaml.js.map +1 -1
  2590. package/dist/versioning-list.generated.d.ts +6 -0
  2591. package/dist/versioning-list.generated.js +61 -0
  2592. package/dist/versioning-list.generated.js.map +1 -0
  2593. package/dist/workers/global/autodiscover.d.ts +0 -1
  2594. package/dist/workers/global/autodiscover.js +5 -4
  2595. package/dist/workers/global/autodiscover.js.map +1 -1
  2596. package/dist/workers/global/config/parse/additional-config-file.js +4 -5
  2597. package/dist/workers/global/config/parse/additional-config-file.js.map +1 -1
  2598. package/dist/workers/global/config/parse/cli.js +40 -27
  2599. package/dist/workers/global/config/parse/cli.js.map +1 -1
  2600. package/dist/workers/global/config/parse/codespaces.js +2 -3
  2601. package/dist/workers/global/config/parse/codespaces.js.map +1 -1
  2602. package/dist/workers/global/config/parse/coersions.js +3 -4
  2603. package/dist/workers/global/config/parse/coersions.js.map +1 -1
  2604. package/dist/workers/global/config/parse/env.js +30 -35
  2605. package/dist/workers/global/config/parse/env.js.map +1 -1
  2606. package/dist/workers/global/config/parse/file.js +4 -5
  2607. package/dist/workers/global/config/parse/file.js.map +1 -1
  2608. package/dist/workers/global/config/parse/host-rules-from-env.js +3 -4
  2609. package/dist/workers/global/config/parse/host-rules-from-env.js.map +1 -1
  2610. package/dist/workers/global/config/parse/index.d.ts +0 -1
  2611. package/dist/workers/global/config/parse/index.js +20 -6
  2612. package/dist/workers/global/config/parse/index.js.map +1 -1
  2613. package/dist/workers/global/config/parse/util.js +11 -8
  2614. package/dist/workers/global/config/parse/util.js.map +1 -1
  2615. package/dist/workers/global/index.js +30 -25
  2616. package/dist/workers/global/index.js.map +1 -1
  2617. package/dist/workers/global/initialize.js +8 -9
  2618. package/dist/workers/global/initialize.js.map +1 -1
  2619. package/dist/workers/global/limits.js +2 -3
  2620. package/dist/workers/global/limits.js.map +1 -1
  2621. package/dist/workers/repository/cache.js +7 -6
  2622. package/dist/workers/repository/cache.js.map +1 -1
  2623. package/dist/workers/repository/changelog/index.js +4 -5
  2624. package/dist/workers/repository/changelog/index.js.map +1 -1
  2625. package/dist/workers/repository/common.js +9 -3
  2626. package/dist/workers/repository/common.js.map +1 -1
  2627. package/dist/workers/repository/config-migration/branch/commit-message.js +1 -2
  2628. package/dist/workers/repository/config-migration/branch/commit-message.js.map +1 -1
  2629. package/dist/workers/repository/config-migration/branch/create.js +4 -4
  2630. package/dist/workers/repository/config-migration/branch/create.js.map +1 -1
  2631. package/dist/workers/repository/config-migration/branch/index.js +6 -9
  2632. package/dist/workers/repository/config-migration/branch/index.js.map +1 -1
  2633. package/dist/workers/repository/config-migration/branch/migrated-data.js +13 -6
  2634. package/dist/workers/repository/config-migration/branch/migrated-data.js.map +1 -1
  2635. package/dist/workers/repository/config-migration/branch/rebase.js +6 -6
  2636. package/dist/workers/repository/config-migration/branch/rebase.js.map +1 -1
  2637. package/dist/workers/repository/config-migration/common.js +1 -2
  2638. package/dist/workers/repository/config-migration/common.js.map +1 -1
  2639. package/dist/workers/repository/config-migration/index.js +17 -22
  2640. package/dist/workers/repository/config-migration/index.js.map +1 -1
  2641. package/dist/workers/repository/config-migration/pr/index.js +3 -5
  2642. package/dist/workers/repository/config-migration/pr/index.js.map +1 -1
  2643. package/dist/workers/repository/configured.js +1 -2
  2644. package/dist/workers/repository/configured.js.map +1 -1
  2645. package/dist/workers/repository/dependency-dashboard.js +37 -33
  2646. package/dist/workers/repository/dependency-dashboard.js.map +1 -1
  2647. package/dist/workers/repository/error-config.js +1 -2
  2648. package/dist/workers/repository/error-config.js.map +1 -1
  2649. package/dist/workers/repository/error.js +168 -166
  2650. package/dist/workers/repository/error.js.map +1 -1
  2651. package/dist/workers/repository/errors-warnings.js +8 -7
  2652. package/dist/workers/repository/errors-warnings.js.map +1 -1
  2653. package/dist/workers/repository/extract/extract-fingerprint-config.js +2 -3
  2654. package/dist/workers/repository/extract/extract-fingerprint-config.js.map +1 -1
  2655. package/dist/workers/repository/extract/file-match.js +2 -3
  2656. package/dist/workers/repository/extract/file-match.js.map +1 -1
  2657. package/dist/workers/repository/extract/index.js +10 -7
  2658. package/dist/workers/repository/extract/index.js.map +1 -1
  2659. package/dist/workers/repository/extract/manager-files.js +1 -2
  2660. package/dist/workers/repository/extract/manager-files.js.map +1 -1
  2661. package/dist/workers/repository/extract/supersedes.js +1 -2
  2662. package/dist/workers/repository/extract/supersedes.js.map +1 -1
  2663. package/dist/workers/repository/finalize/index.js +2 -3
  2664. package/dist/workers/repository/finalize/index.js.map +1 -1
  2665. package/dist/workers/repository/finalize/prune.js +15 -8
  2666. package/dist/workers/repository/finalize/prune.js.map +1 -1
  2667. package/dist/workers/repository/finalize/repository-statistics.js +45 -4
  2668. package/dist/workers/repository/finalize/repository-statistics.js.map +1 -1
  2669. package/dist/workers/repository/index.js +29 -27
  2670. package/dist/workers/repository/index.js.map +1 -1
  2671. package/dist/workers/repository/init/apis.js +3 -4
  2672. package/dist/workers/repository/init/apis.js.map +1 -1
  2673. package/dist/workers/repository/init/cache.js +4 -6
  2674. package/dist/workers/repository/init/cache.js.map +1 -1
  2675. package/dist/workers/repository/init/config.js +1 -2
  2676. package/dist/workers/repository/init/config.js.map +1 -1
  2677. package/dist/workers/repository/init/index.js +2 -3
  2678. package/dist/workers/repository/init/index.js.map +1 -1
  2679. package/dist/workers/repository/init/inherited.js +7 -27
  2680. package/dist/workers/repository/init/inherited.js.map +1 -1
  2681. package/dist/workers/repository/init/merge.js +93 -48
  2682. package/dist/workers/repository/init/merge.js.map +1 -1
  2683. package/dist/workers/repository/init/types.d.ts +2 -1
  2684. package/dist/workers/repository/init/vulnerability.js +69 -79
  2685. package/dist/workers/repository/init/vulnerability.js.map +1 -1
  2686. package/dist/workers/repository/model/commit-message-factory.js +1 -2
  2687. package/dist/workers/repository/model/commit-message-factory.js.map +1 -1
  2688. package/dist/workers/repository/model/commit-message.js +1 -2
  2689. package/dist/workers/repository/model/commit-message.js.map +1 -1
  2690. package/dist/workers/repository/model/custom-commit-message.js +1 -2
  2691. package/dist/workers/repository/model/custom-commit-message.js.map +1 -1
  2692. package/dist/workers/repository/model/semantic-commit-message.js +1 -2
  2693. package/dist/workers/repository/model/semantic-commit-message.js.map +1 -1
  2694. package/dist/workers/repository/onboarding/branch/check.js +15 -18
  2695. package/dist/workers/repository/onboarding/branch/check.js.map +1 -1
  2696. package/dist/workers/repository/onboarding/branch/commit-message.js +3 -3
  2697. package/dist/workers/repository/onboarding/branch/commit-message.js.map +1 -1
  2698. package/dist/workers/repository/onboarding/branch/config.js +6 -6
  2699. package/dist/workers/repository/onboarding/branch/config.js.map +1 -1
  2700. package/dist/workers/repository/onboarding/branch/create.js +9 -5
  2701. package/dist/workers/repository/onboarding/branch/create.js.map +1 -1
  2702. package/dist/workers/repository/onboarding/branch/index.js +6 -11
  2703. package/dist/workers/repository/onboarding/branch/index.js.map +1 -1
  2704. package/dist/workers/repository/onboarding/branch/onboarding-branch-cache.js +3 -4
  2705. package/dist/workers/repository/onboarding/branch/onboarding-branch-cache.js.map +1 -1
  2706. package/dist/workers/repository/onboarding/branch/rebase.js +5 -5
  2707. package/dist/workers/repository/onboarding/branch/rebase.js.map +1 -1
  2708. package/dist/workers/repository/onboarding/common.js +6 -5
  2709. package/dist/workers/repository/onboarding/common.js.map +1 -1
  2710. package/dist/workers/repository/onboarding/pr/base-branch.js +1 -1
  2711. package/dist/workers/repository/onboarding/pr/base-branch.js.map +1 -1
  2712. package/dist/workers/repository/onboarding/pr/config-description.js +2 -9
  2713. package/dist/workers/repository/onboarding/pr/config-description.js.map +1 -1
  2714. package/dist/workers/repository/onboarding/pr/index.js +28 -19
  2715. package/dist/workers/repository/onboarding/pr/index.js.map +1 -1
  2716. package/dist/workers/repository/onboarding/pr/package-files.js +35 -0
  2717. package/dist/workers/repository/onboarding/pr/package-files.js.map +1 -0
  2718. package/dist/workers/repository/onboarding/pr/pr-list.js +169 -7
  2719. package/dist/workers/repository/onboarding/pr/pr-list.js.map +1 -1
  2720. package/dist/workers/repository/package-files.js +1 -2
  2721. package/dist/workers/repository/package-files.js.map +1 -1
  2722. package/dist/workers/repository/process/extract-update.d.ts +2 -3
  2723. package/dist/workers/repository/process/extract-update.js +33 -9
  2724. package/dist/workers/repository/process/extract-update.js.map +1 -1
  2725. package/dist/workers/repository/process/fetch.js +9 -5
  2726. package/dist/workers/repository/process/fetch.js.map +1 -1
  2727. package/dist/workers/repository/process/fingerprint-fields.js +1 -1
  2728. package/dist/workers/repository/process/fingerprint-fields.js.map +1 -1
  2729. package/dist/workers/repository/process/index.js +9 -8
  2730. package/dist/workers/repository/process/index.js.map +1 -1
  2731. package/dist/workers/repository/process/libyear.js +5 -7
  2732. package/dist/workers/repository/process/libyear.js.map +1 -1
  2733. package/dist/workers/repository/process/limits.js +56 -47
  2734. package/dist/workers/repository/process/limits.js.map +1 -1
  2735. package/dist/workers/repository/process/lookup/abandonment.js +2 -3
  2736. package/dist/workers/repository/process/lookup/abandonment.js.map +1 -1
  2737. package/dist/workers/repository/process/lookup/bucket.js +1 -1
  2738. package/dist/workers/repository/process/lookup/bucket.js.map +1 -1
  2739. package/dist/workers/repository/process/lookup/current.js +1 -2
  2740. package/dist/workers/repository/process/lookup/current.js.map +1 -1
  2741. package/dist/workers/repository/process/lookup/filter-checks.js +43 -41
  2742. package/dist/workers/repository/process/lookup/filter-checks.js.map +1 -1
  2743. package/dist/workers/repository/process/lookup/filter.js +11 -8
  2744. package/dist/workers/repository/process/lookup/filter.js.map +1 -1
  2745. package/dist/workers/repository/process/lookup/generate.js +6 -5
  2746. package/dist/workers/repository/process/lookup/generate.js.map +1 -1
  2747. package/dist/workers/repository/process/lookup/index.js +28 -23
  2748. package/dist/workers/repository/process/lookup/index.js.map +1 -1
  2749. package/dist/workers/repository/process/lookup/rollback.js +4 -4
  2750. package/dist/workers/repository/process/lookup/rollback.js.map +1 -1
  2751. package/dist/workers/repository/process/lookup/timestamps.js +1 -2
  2752. package/dist/workers/repository/process/lookup/timestamps.js.map +1 -1
  2753. package/dist/workers/repository/process/lookup/update-type.js +1 -1
  2754. package/dist/workers/repository/process/lookup/update-type.js.map +1 -1
  2755. package/dist/workers/repository/process/lookup/utils.js +2 -3
  2756. package/dist/workers/repository/process/lookup/utils.js.map +1 -1
  2757. package/dist/workers/repository/process/sort.js +1 -2
  2758. package/dist/workers/repository/process/sort.js.map +1 -1
  2759. package/dist/workers/repository/process/vulnerabilities.js +81 -42
  2760. package/dist/workers/repository/process/vulnerabilities.js.map +1 -1
  2761. package/dist/workers/repository/process/write.d.ts +2 -2
  2762. package/dist/workers/repository/process/write.js +3 -4
  2763. package/dist/workers/repository/process/write.js.map +1 -1
  2764. package/dist/workers/repository/reconfigure/comment.js +15 -11
  2765. package/dist/workers/repository/reconfigure/comment.js.map +1 -1
  2766. package/dist/workers/repository/reconfigure/index.js +5 -8
  2767. package/dist/workers/repository/reconfigure/index.js.map +1 -1
  2768. package/dist/workers/repository/reconfigure/reconfigure-cache.js +14 -4
  2769. package/dist/workers/repository/reconfigure/reconfigure-cache.js.map +1 -1
  2770. package/dist/workers/repository/reconfigure/utils.js +1 -2
  2771. package/dist/workers/repository/reconfigure/utils.js.map +1 -1
  2772. package/dist/workers/repository/reconfigure/validate.js +2 -3
  2773. package/dist/workers/repository/reconfigure/validate.js.map +1 -1
  2774. package/dist/workers/repository/result.d.ts +10 -7
  2775. package/dist/workers/repository/result.js +1 -2
  2776. package/dist/workers/repository/result.js.map +1 -1
  2777. package/dist/workers/repository/update/branch/artifacts.js +12 -7
  2778. package/dist/workers/repository/update/branch/artifacts.js.map +1 -1
  2779. package/dist/workers/repository/update/branch/auto-replace.js +31 -13
  2780. package/dist/workers/repository/update/branch/auto-replace.js.map +1 -1
  2781. package/dist/workers/repository/update/branch/automerge.js +2 -3
  2782. package/dist/workers/repository/update/branch/automerge.js.map +1 -1
  2783. package/dist/workers/repository/update/branch/bump-versions.js +26 -11
  2784. package/dist/workers/repository/update/branch/bump-versions.js.map +1 -1
  2785. package/dist/workers/repository/update/branch/check-existing.js +1 -2
  2786. package/dist/workers/repository/update/branch/check-existing.js.map +1 -1
  2787. package/dist/workers/repository/update/branch/commit.js +18 -15
  2788. package/dist/workers/repository/update/branch/commit.js.map +1 -1
  2789. package/dist/workers/repository/update/branch/execute-post-upgrade-commands.js +52 -17
  2790. package/dist/workers/repository/update/branch/execute-post-upgrade-commands.js.map +1 -1
  2791. package/dist/workers/repository/update/branch/get-updated.js +97 -11
  2792. package/dist/workers/repository/update/branch/get-updated.js.map +1 -1
  2793. package/dist/workers/repository/update/branch/handle-existing.js +3 -4
  2794. package/dist/workers/repository/update/branch/handle-existing.js.map +1 -1
  2795. package/dist/workers/repository/update/branch/index.js +45 -26
  2796. package/dist/workers/repository/update/branch/index.js.map +1 -1
  2797. package/dist/workers/repository/update/branch/reuse.js +1 -2
  2798. package/dist/workers/repository/update/branch/reuse.js.map +1 -1
  2799. package/dist/workers/repository/update/branch/schedule.js +7 -8
  2800. package/dist/workers/repository/update/branch/schedule.js.map +1 -1
  2801. package/dist/workers/repository/update/branch/status-checks.js +30 -8
  2802. package/dist/workers/repository/update/branch/status-checks.js.map +1 -1
  2803. package/dist/workers/repository/update/pr/automerge.js +2 -3
  2804. package/dist/workers/repository/update/pr/automerge.js.map +1 -1
  2805. package/dist/workers/repository/update/pr/body/changelogs.js +2 -3
  2806. package/dist/workers/repository/update/pr/body/changelogs.js.map +1 -1
  2807. package/dist/workers/repository/update/pr/body/config-description.js +16 -13
  2808. package/dist/workers/repository/update/pr/body/config-description.js.map +1 -1
  2809. package/dist/workers/repository/update/pr/body/controls.js +1 -1
  2810. package/dist/workers/repository/update/pr/body/controls.js.map +1 -1
  2811. package/dist/workers/repository/update/pr/body/footer.js +2 -3
  2812. package/dist/workers/repository/update/pr/body/footer.js.map +1 -1
  2813. package/dist/workers/repository/update/pr/body/header.js +2 -3
  2814. package/dist/workers/repository/update/pr/body/header.js.map +1 -1
  2815. package/dist/workers/repository/update/pr/body/index.js +1 -2
  2816. package/dist/workers/repository/update/pr/body/index.js.map +1 -1
  2817. package/dist/workers/repository/update/pr/body/notes.js +2 -3
  2818. package/dist/workers/repository/update/pr/body/notes.js.map +1 -1
  2819. package/dist/workers/repository/update/pr/body/updates-table.js +4 -7
  2820. package/dist/workers/repository/update/pr/body/updates-table.js.map +1 -1
  2821. package/dist/workers/repository/update/pr/changelog/api.js +1 -2
  2822. package/dist/workers/repository/update/pr/changelog/api.js.map +1 -1
  2823. package/dist/workers/repository/update/pr/changelog/bitbucket/index.js +2 -3
  2824. package/dist/workers/repository/update/pr/changelog/bitbucket/index.js.map +1 -1
  2825. package/dist/workers/repository/update/pr/changelog/bitbucket/source.js +1 -2
  2826. package/dist/workers/repository/update/pr/changelog/bitbucket/source.js.map +1 -1
  2827. package/dist/workers/repository/update/pr/changelog/bitbucket-server/index.js +2 -3
  2828. package/dist/workers/repository/update/pr/changelog/bitbucket-server/index.js.map +1 -1
  2829. package/dist/workers/repository/update/pr/changelog/bitbucket-server/source.js +1 -2
  2830. package/dist/workers/repository/update/pr/changelog/bitbucket-server/source.js.map +1 -1
  2831. package/dist/workers/repository/update/pr/changelog/common.js +2 -3
  2832. package/dist/workers/repository/update/pr/changelog/common.js.map +1 -1
  2833. package/dist/workers/repository/update/pr/changelog/forgejo/index.js +6 -7
  2834. package/dist/workers/repository/update/pr/changelog/forgejo/index.js.map +1 -1
  2835. package/dist/workers/repository/update/pr/changelog/forgejo/source.js +2 -3
  2836. package/dist/workers/repository/update/pr/changelog/forgejo/source.js.map +1 -1
  2837. package/dist/workers/repository/update/pr/changelog/gitea/index.js +3 -4
  2838. package/dist/workers/repository/update/pr/changelog/gitea/index.js.map +1 -1
  2839. package/dist/workers/repository/update/pr/changelog/gitea/source.js +2 -3
  2840. package/dist/workers/repository/update/pr/changelog/gitea/source.js.map +1 -1
  2841. package/dist/workers/repository/update/pr/changelog/github/index.js +4 -5
  2842. package/dist/workers/repository/update/pr/changelog/github/index.js.map +1 -1
  2843. package/dist/workers/repository/update/pr/changelog/github/source.js +5 -6
  2844. package/dist/workers/repository/update/pr/changelog/github/source.js.map +1 -1
  2845. package/dist/workers/repository/update/pr/changelog/gitlab/index.js +3 -4
  2846. package/dist/workers/repository/update/pr/changelog/gitlab/index.js.map +1 -1
  2847. package/dist/workers/repository/update/pr/changelog/gitlab/source.js +2 -3
  2848. package/dist/workers/repository/update/pr/changelog/gitlab/source.js.map +1 -1
  2849. package/dist/workers/repository/update/pr/changelog/hbs-template.js +1 -1
  2850. package/dist/workers/repository/update/pr/changelog/hbs-template.js.map +1 -1
  2851. package/dist/workers/repository/update/pr/changelog/index.js +2 -3
  2852. package/dist/workers/repository/update/pr/changelog/index.js.map +1 -1
  2853. package/dist/workers/repository/update/pr/changelog/release-notes.js +12 -10
  2854. package/dist/workers/repository/update/pr/changelog/release-notes.js.map +1 -1
  2855. package/dist/workers/repository/update/pr/changelog/releases.js +1 -2
  2856. package/dist/workers/repository/update/pr/changelog/releases.js.map +1 -1
  2857. package/dist/workers/repository/update/pr/changelog/source.js +8 -7
  2858. package/dist/workers/repository/update/pr/changelog/source.js.map +1 -1
  2859. package/dist/workers/repository/update/pr/changelog/types.d.ts +1 -1
  2860. package/dist/workers/repository/update/pr/code-owners.js +1 -2
  2861. package/dist/workers/repository/update/pr/code-owners.js.map +1 -1
  2862. package/dist/workers/repository/update/pr/index.js +26 -23
  2863. package/dist/workers/repository/update/pr/index.js.map +1 -1
  2864. package/dist/workers/repository/update/pr/labels.js +4 -5
  2865. package/dist/workers/repository/update/pr/labels.js.map +1 -1
  2866. package/dist/workers/repository/update/pr/participants.js +3 -4
  2867. package/dist/workers/repository/update/pr/participants.js.map +1 -1
  2868. package/dist/workers/repository/update/pr/pr-cache.js +3 -3
  2869. package/dist/workers/repository/update/pr/pr-cache.js.map +1 -1
  2870. package/dist/workers/repository/update/pr/pr-fingerprint.js +1 -2
  2871. package/dist/workers/repository/update/pr/pr-fingerprint.js.map +1 -1
  2872. package/dist/workers/repository/update/pr/pr-reuse.js +1 -2
  2873. package/dist/workers/repository/update/pr/pr-reuse.js.map +1 -1
  2874. package/dist/workers/repository/updates/branch-name.js +3 -4
  2875. package/dist/workers/repository/updates/branch-name.js.map +1 -1
  2876. package/dist/workers/repository/updates/branchify.js +1 -2
  2877. package/dist/workers/repository/updates/branchify.js.map +1 -1
  2878. package/dist/workers/repository/updates/flatten.js +15 -7
  2879. package/dist/workers/repository/updates/flatten.js.map +1 -1
  2880. package/dist/workers/repository/updates/generate.js +22 -13
  2881. package/dist/workers/repository/updates/generate.js.map +1 -1
  2882. package/dist/workers/types.d.ts +41 -10
  2883. package/dist/workers/types.js +1 -1
  2884. package/package.json +111 -129
  2885. package/readme.md +5 -3
  2886. package/renovate-schema.json +3591 -2586
  2887. package/dist/logger/utils.d.ts +0 -18
  2888. package/dist/modules/datasource/npm/types.d.ts +0 -44
  2889. package/dist/modules/datasource/npm/types.js +0 -1
  2890. package/dist/modules/manager/renovate-config-presets/extract.js.map +0 -1
  2891. package/dist/modules/manager/renovate-config-presets/index.js.map +0 -1
  2892. package/dist/modules/manager/renovate-config-presets/schema.js +0 -9
  2893. package/dist/modules/manager/renovate-config-presets/schema.js.map +0 -1
  2894. package/dist/modules/platform/utils/github-alerts.js +0 -13
  2895. package/dist/modules/platform/utils/github-alerts.js.map +0 -1
  2896. package/dist/types/vulnerability-alert.d.ts +0 -33
  2897. package/dist/util/cache/package/file.js +0 -96
  2898. package/dist/util/cache/package/file.js.map +0 -1
  2899. package/dist/util/cache/package/redis.d.ts +0 -11
  2900. package/dist/util/cache/package/redis.js +0 -107
  2901. package/dist/util/cache/package/redis.js.map +0 -1
  2902. package/dist/util/cache/package/sqlite.js +0 -106
  2903. package/dist/util/cache/package/sqlite.js.map +0 -1
  2904. package/dist/util/http/hooks.js +0 -15
  2905. package/dist/util/http/hooks.js.map +0 -1
  2906. package/dist/util/schema-utils/v4.js +0 -77
  2907. package/dist/util/schema-utils/v4.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../lib/modules/datasource/jenkins-plugins/index.ts"],"sourcesContent":["import { logger } from '../../../logger/index.ts';\nimport { withCache } from '../../../util/cache/package/with-cache.ts';\nimport { clone } from '../../../util/clone.ts';\nimport { asTimestamp } from '../../../util/timestamp.ts';\nimport { ensureTrailingSlash } from '../../../util/url.ts';\nimport { Datasource } from '../datasource.ts';\nimport type { GetReleasesConfig, Release, ReleaseResult } from '../types.ts';\nimport type {\n JenkinsPluginsInfoResponse,\n JenkinsPluginsVersionsResponse,\n} from './types.ts';\n\nexport class JenkinsPluginsDatasource extends Datasource {\n static readonly id = 'jenkins-plugins';\n\n constructor() {\n super(JenkinsPluginsDatasource.id);\n }\n\n override readonly customRegistrySupport = true;\n\n override readonly defaultRegistryUrls = ['https://updates.jenkins.io'];\n\n override readonly registryStrategy = 'hunt';\n\n private static readonly packageInfoPath = 'current/update-center.actual.json';\n private static readonly packageVersionsPath = 'current/plugin-versions.json';\n\n override readonly releaseTimestampSupport = true;\n override readonly releaseTimestampNote =\n 'The releaseTimestamp is determined from the `releaseTimestamp` or `buildDate` field in the results.';\n override readonly sourceUrlSupport = 'package';\n override readonly sourceUrlNote =\n 'The source URL is determined from the `scm` field in the results.';\n\n async getReleases({\n packageName,\n registryUrl,\n }: GetReleasesConfig): Promise<ReleaseResult | null> {\n /* v8 ignore next 3 -- should never happen */\n if (!registryUrl) {\n return null;\n }\n const updateSiteUrl = ensureTrailingSlash(registryUrl);\n\n const plugins = await this.getJenkinsPluginInfo(updateSiteUrl);\n const plugin = plugins[packageName];\n if (!plugin) {\n return null;\n }\n\n const result = clone(plugin);\n const versions = await this.getJenkinsPluginVersions(updateSiteUrl);\n const releases = versions[packageName];\n result.releases = releases ? clone(releases) : [];\n return result;\n }\n\n private async _getJenkinsPluginInfo(\n updateSiteUrl: string,\n ): Promise<Record<string, ReleaseResult>> {\n const { plugins } =\n await this.getJenkinsUpdateCenterResponse<JenkinsPluginsInfoResponse>(\n `${updateSiteUrl}${JenkinsPluginsDatasource.packageInfoPath}`,\n );\n\n const info: Record<string, ReleaseResult> = {};\n for (const name of Object.keys(plugins ?? [])) {\n info[name] = {\n releases: [], // releases\n sourceUrl: plugins[name]?.scm,\n };\n }\n return info;\n }\n\n getJenkinsPluginInfo(\n updateSiteUrl: string,\n ): Promise<Record<string, ReleaseResult>> {\n return withCache(\n {\n namespace: `datasource-${JenkinsPluginsDatasource.id}`,\n key: 'info',\n ttlMinutes: 1440,\n },\n () => this._getJenkinsPluginInfo(updateSiteUrl),\n );\n }\n\n private async _getJenkinsPluginVersions(\n updateSiteUrl: string,\n ): Promise<Record<string, Release[]>> {\n const { plugins } =\n await this.getJenkinsUpdateCenterResponse<JenkinsPluginsVersionsResponse>(\n `${updateSiteUrl}${JenkinsPluginsDatasource.packageVersionsPath}`,\n );\n\n const versions: Record<string, Release[]> = {};\n for (const name of Object.keys(plugins ?? [])) {\n versions[name] = Object.keys(plugins[name]).map((version) => {\n const downloadUrl = plugins[name][version]?.url;\n const buildDate = plugins[name][version]?.buildDate;\n const releaseTimestamp =\n plugins[name][version]?.releaseTimestamp ?? asTimestamp(buildDate);\n const jenkins = plugins[name][version]?.requiredCore;\n const constraints = jenkins ? { jenkins: [`>=${jenkins}`] } : undefined;\n return {\n version,\n downloadUrl,\n releaseTimestamp,\n ...(constraints && { constraints }),\n };\n });\n }\n return versions;\n }\n\n getJenkinsPluginVersions(\n updateSiteUrl: string,\n ): Promise<Record<string, Release[]>> {\n return withCache(\n {\n namespace: `datasource-${JenkinsPluginsDatasource.id}`,\n key: 'versions',\n },\n () => this._getJenkinsPluginVersions(updateSiteUrl),\n );\n }\n\n private async getJenkinsUpdateCenterResponse<T>(url: string): Promise<T> {\n let response: T;\n\n try {\n logger.debug(`jenkins-plugins: Fetching Jenkins plugins from ${url}`);\n const startTime = Date.now();\n response = (await this.http.getJsonUnchecked<T>(url)).body;\n const durationMs = Math.round(Date.now() - startTime);\n logger.debug(\n { durationMs },\n `jenkins-plugins: Fetched Jenkins plugins from ${url}`,\n );\n } catch (err) /* istanbul ignore next */ {\n this.handleGenericErrors(err);\n }\n\n return response;\n }\n}\n"],"mappings":";;;;;;;;AAYA,IAAa,2BAAb,MAAa,iCAAiC,WAAW;CACvD,OAAgB,KAAK;CAErB,cAAc;AACZ,QAAM,yBAAyB,GAAG;;CAGpC,AAAkB,wBAAwB;CAE1C,AAAkB,sBAAsB,CAAC,6BAA6B;CAEtE,AAAkB,mBAAmB;CAErC,OAAwB,kBAAkB;CAC1C,OAAwB,sBAAsB;CAE9C,AAAkB,0BAA0B;CAC5C,AAAkB,uBAChB;CACF,AAAkB,mBAAmB;CACrC,AAAkB,gBAChB;CAEF,MAAM,YAAY,EAChB,aACA,eACmD;;AAEnD,MAAI,CAAC,YACH,QAAO;EAET,MAAM,gBAAgB,oBAAoB,YAAY;EAGtD,MAAM,UADU,MAAM,KAAK,qBAAqB,cAAc,EACvC;AACvB,MAAI,CAAC,OACH,QAAO;EAGT,MAAM,SAAS,MAAM,OAAO;EAE5B,MAAM,YADW,MAAM,KAAK,yBAAyB,cAAc,EACzC;AAC1B,SAAO,WAAW,WAAW,MAAM,SAAS,GAAG,EAAE;AACjD,SAAO;;CAGT,MAAc,sBACZ,eACwC;EACxC,MAAM,EAAE,YACN,MAAM,KAAK,+BACT,GAAG,gBAAgB,yBAAyB,kBAC7C;EAEH,MAAM,OAAsC,EAAE;AAC9C,OAAK,MAAM,QAAQ,OAAO,KAAK,WAAW,EAAE,CAAC,CAC3C,MAAK,QAAQ;GACX,UAAU,EAAE;GACZ,WAAW,QAAQ,OAAO;GAC3B;AAEH,SAAO;;CAGT,qBACE,eACwC;AACxC,SAAO,UACL;GACE,WAAW,cAAc,yBAAyB;GAClD,KAAK;GACL,YAAY;GACb,QACK,KAAK,sBAAsB,cAAc,CAChD;;CAGH,MAAc,0BACZ,eACoC;EACpC,MAAM,EAAE,YACN,MAAM,KAAK,+BACT,GAAG,gBAAgB,yBAAyB,sBAC7C;EAEH,MAAM,WAAsC,EAAE;AAC9C,OAAK,MAAM,QAAQ,OAAO,KAAK,WAAW,EAAE,CAAC,CAC3C,UAAS,QAAQ,OAAO,KAAK,QAAQ,MAAM,CAAC,KAAK,YAAY;GAC3D,MAAM,cAAc,QAAQ,MAAM,UAAU;GAC5C,MAAM,YAAY,QAAQ,MAAM,UAAU;GAC1C,MAAM,mBACJ,QAAQ,MAAM,UAAU,oBAAoB,YAAY,UAAU;GACpE,MAAM,UAAU,QAAQ,MAAM,UAAU;GACxC,MAAM,cAAc,UAAU,EAAE,SAAS,CAAC,KAAK,UAAU,EAAE,GAAG;AAC9D,UAAO;IACL;IACA;IACA;IACA,GAAI,eAAe,EAAE,aAAa;IACnC;IACD;AAEJ,SAAO;;CAGT,yBACE,eACoC;AACpC,SAAO,UACL;GACE,WAAW,cAAc,yBAAyB;GAClD,KAAK;GACN,QACK,KAAK,0BAA0B,cAAc,CACpD;;CAGH,MAAc,+BAAkC,KAAyB;EACvE,IAAI;AAEJ,MAAI;AACF,UAAO,MAAM,kDAAkD,MAAM;GACrE,MAAM,YAAY,KAAK,KAAK;AAC5B,eAAY,MAAM,KAAK,KAAK,iBAAoB,IAAI,EAAE;GACtD,MAAM,aAAa,KAAK,MAAM,KAAK,KAAK,GAAG,UAAU;AACrD,UAAO,MACL,EAAE,YAAY,EACd,iDAAiD,MAClD;WACM,kCAAgC;AACvC,QAAK,oBAAoB,IAAI;;AAG/B,SAAO"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../lib/modules/datasource/jenkins-plugins/index.ts"],"sourcesContent":["import { type ZodType } from 'zod/v4';\nimport { logger } from '../../../logger/index.ts';\nimport { withCache } from '../../../util/cache/package/with-cache.ts';\nimport { clone } from '../../../util/clone.ts';\nimport { asTimestamp } from '../../../util/timestamp.ts';\nimport { ensureTrailingSlash } from '../../../util/url.ts';\nimport { Datasource } from '../datasource.ts';\nimport type { GetReleasesConfig, Release, ReleaseResult } from '../types.ts';\nimport {\n JenkinsPluginsInfoResponse,\n JenkinsPluginsVersionsResponse,\n} from './schema.ts';\n\nexport class JenkinsPluginsDatasource extends Datasource {\n static readonly id = 'jenkins-plugins';\n\n constructor() {\n super(JenkinsPluginsDatasource.id);\n }\n\n override readonly customRegistrySupport = true;\n\n override readonly defaultRegistryUrls = ['https://updates.jenkins.io'];\n\n override readonly registryStrategy = 'hunt';\n\n private static readonly packageInfoPath = 'current/update-center.actual.json';\n private static readonly packageVersionsPath = 'current/plugin-versions.json';\n\n override readonly releaseTimestampSupport = true;\n override readonly releaseTimestampNote =\n 'The releaseTimestamp is determined from the `releaseTimestamp` or `buildDate` field in the results.';\n override readonly sourceUrlSupport = 'package';\n override readonly sourceUrlNote =\n 'The source URL is determined from the `scm` field in the results.';\n\n async getReleases({\n packageName,\n registryUrl,\n }: GetReleasesConfig): Promise<ReleaseResult | null> {\n /* v8 ignore next 3 -- should never happen */\n if (!registryUrl) {\n return null;\n }\n const updateSiteUrl = ensureTrailingSlash(registryUrl);\n\n const plugins = await this.getJenkinsPluginInfo(updateSiteUrl);\n const plugin = plugins[packageName];\n if (!plugin) {\n return null;\n }\n\n const result = clone(plugin);\n const versions = await this.getJenkinsPluginVersions(updateSiteUrl);\n const releases = versions[packageName];\n result.releases = releases ? clone(releases) : [];\n return result;\n }\n\n private async _getJenkinsPluginInfo(\n updateSiteUrl: string,\n ): Promise<Record<string, ReleaseResult>> {\n const { plugins } = await this.getJenkinsUpdateCenterResponse(\n `${updateSiteUrl}${JenkinsPluginsDatasource.packageInfoPath}`,\n JenkinsPluginsInfoResponse,\n );\n\n const info: Record<string, ReleaseResult> = {};\n for (const name of Object.keys(plugins)) {\n info[name] = {\n releases: [], // releases\n sourceUrl: plugins[name]?.scm,\n };\n }\n return info;\n }\n\n getJenkinsPluginInfo(\n updateSiteUrl: string,\n ): Promise<Record<string, ReleaseResult>> {\n return withCache(\n {\n namespace: `datasource-${JenkinsPluginsDatasource.id}`,\n key: 'info',\n ttlMinutes: 1440,\n },\n () => this._getJenkinsPluginInfo(updateSiteUrl),\n );\n }\n\n private async _getJenkinsPluginVersions(\n updateSiteUrl: string,\n ): Promise<Record<string, Release[]>> {\n const { plugins } = await this.getJenkinsUpdateCenterResponse(\n `${updateSiteUrl}${JenkinsPluginsDatasource.packageVersionsPath}`,\n JenkinsPluginsVersionsResponse,\n );\n\n const versions: Record<string, Release[]> = {};\n for (const name of Object.keys(plugins)) {\n versions[name] = Object.keys(plugins[name]).map((version) => {\n const downloadUrl = plugins[name][version]?.url;\n const buildDate = plugins[name][version]?.buildDate;\n const releaseTimestamp =\n plugins[name][version]?.releaseTimestamp ?? asTimestamp(buildDate);\n const jenkins = plugins[name][version]?.requiredCore;\n const constraints = jenkins ? { jenkins: [`>=${jenkins}`] } : undefined;\n return {\n version,\n downloadUrl,\n releaseTimestamp,\n ...(constraints && { constraints }),\n };\n });\n }\n return versions;\n }\n\n getJenkinsPluginVersions(\n updateSiteUrl: string,\n ): Promise<Record<string, Release[]>> {\n return withCache(\n {\n namespace: `datasource-${JenkinsPluginsDatasource.id}`,\n key: 'versions',\n },\n () => this._getJenkinsPluginVersions(updateSiteUrl),\n );\n }\n\n private async getJenkinsUpdateCenterResponse<T>(\n url: string,\n schema: ZodType<T>,\n ): Promise<T> {\n let response: T;\n\n try {\n logger.debug(`jenkins-plugins: Fetching Jenkins plugins from ${url}`);\n const startTime = Date.now();\n response = (await this.http.getJson(url, schema)).body;\n const durationMs = Math.round(Date.now() - startTime);\n logger.debug(\n { durationMs },\n `jenkins-plugins: Fetched Jenkins plugins from ${url}`,\n );\n } catch (err) /* istanbul ignore next */ {\n this.handleGenericErrors(err);\n }\n\n return response;\n }\n}\n"],"mappings":";;;;;;;;AAaA,IAAa,2BAAb,MAAa,iCAAiC,WAAW;CACvD,OAAgB,KAAK;CAErB,cAAc;EACZ,MAAM,yBAAyB,EAAE;CACnC;CAEA,wBAA0C;CAE1C,sBAAwC,CAAC,4BAA4B;CAErE,mBAAqC;CAErC,OAAwB,kBAAkB;CAC1C,OAAwB,sBAAsB;CAE9C,0BAA4C;CAC5C,uBACE;CACF,mBAAqC;CACrC,gBACE;CAEF,MAAM,YAAY,EAChB,aACA,eACmD;;EAEnD,IAAI,CAAC,aACH,OAAO;EAET,MAAM,gBAAgB,oBAAoB,WAAW;EAGrD,MAAM,UAAS,MADO,KAAK,qBAAqB,aAAa,EAAA,CACtC;EACvB,IAAI,CAAC,QACH,OAAO;EAGT,MAAM,SAAS,MAAM,MAAM;EAE3B,MAAM,YAAW,MADM,KAAK,yBAAyB,aAAa,EAAA,CACxC;EAC1B,OAAO,WAAW,WAAW,MAAM,QAAQ,IAAI,CAAC;EAChD,OAAO;CACT;CAEA,MAAc,sBACZ,eACwC;EACxC,MAAM,EAAE,YAAY,MAAM,KAAK,+BAC7B,GAAG,gBAAgB,yBAAyB,mBAC5C,0BACF;EAEA,MAAM,OAAsC,CAAC;EAC7C,KAAK,MAAM,QAAQ,OAAO,KAAK,OAAO,GACpC,KAAK,QAAQ;GACX,UAAU,CAAC;GACX,WAAW,QAAQ,KAAK,EAAE;EAC5B;EAEF,OAAO;CACT;CAEA,qBACE,eACwC;EACxC,OAAO,UACL;GACE,WAAW,cAAc,yBAAyB;GAClD,KAAK;GACL,YAAY;EACd,SACM,KAAK,sBAAsB,aAAa,CAChD;CACF;CAEA,MAAc,0BACZ,eACoC;EACpC,MAAM,EAAE,YAAY,MAAM,KAAK,+BAC7B,GAAG,gBAAgB,yBAAyB,uBAC5C,8BACF;EAEA,MAAM,WAAsC,CAAC;EAC7C,KAAK,MAAM,QAAQ,OAAO,KAAK,OAAO,GACpC,SAAS,QAAQ,OAAO,KAAK,QAAQ,KAAK,CAAC,CAAC,KAAK,YAAY;GAC3D,MAAM,cAAc,QAAQ,KAAK,CAAC,QAAQ,EAAE;GAC5C,MAAM,YAAY,QAAQ,KAAK,CAAC,QAAQ,EAAE;GAC1C,MAAM,mBACJ,QAAQ,KAAK,CAAC,QAAQ,EAAE,oBAAoB,YAAY,SAAS;GACnE,MAAM,UAAU,QAAQ,KAAK,CAAC,QAAQ,EAAE;GACxC,MAAM,cAAc,UAAU,EAAE,SAAS,CAAC,KAAK,SAAS,EAAE,IAAI,KAAA;GAC9D,OAAO;IACL;IACA;IACA;IACA,GAAI,eAAe,EAAE,YAAY;GACnC;EACF,CAAC;EAEH,OAAO;CACT;CAEA,yBACE,eACoC;EACpC,OAAO,UACL;GACE,WAAW,cAAc,yBAAyB;GAClD,KAAK;EACP,SACM,KAAK,0BAA0B,aAAa,CACpD;CACF;CAEA,MAAc,+BACZ,KACA,QACY;EACZ,IAAI;EAEJ,IAAI;GACF,OAAO,MAAM,kDAAkD,KAAK;GACpE,MAAM,YAAY,KAAK,IAAI;GAC3B,YAAY,MAAM,KAAK,KAAK,QAAQ,KAAK,MAAM,EAAA,CAAG;GAClD,MAAM,aAAa,KAAK,MAAM,KAAK,IAAI,IAAI,SAAS;GACpD,OAAO,MACL,EAAE,WAAW,GACb,iDAAiD,KACnD;EACF,SAAS,kCAAgC;GACvC,KAAK,oBAAoB,GAAG;EAC9B;EAEA,OAAO;CACT;AACF"}
@@ -0,0 +1,20 @@
1
+ import { MaybeTimestamp } from "../../../util/timestamp.js";
2
+ import { z } from "zod/v4";
3
+ //#region lib/modules/datasource/jenkins-plugins/schema.ts
4
+ const JenkinsPluginInfo = z.object({
5
+ name: z.string(),
6
+ scm: z.string().optional()
7
+ });
8
+ const JenkinsPluginsInfoResponse = z.object({ plugins: z.record(z.string(), JenkinsPluginInfo).default({}) });
9
+ const JenkinsPluginVersion = z.object({
10
+ version: z.string(),
11
+ buildDate: z.string().optional(),
12
+ url: z.string().optional(),
13
+ requiredCore: z.string().optional(),
14
+ releaseTimestamp: MaybeTimestamp.optional()
15
+ });
16
+ const JenkinsPluginsVersionsResponse = z.object({ plugins: z.record(z.string(), z.record(z.string(), JenkinsPluginVersion)).default({}) });
17
+ //#endregion
18
+ export { JenkinsPluginInfo, JenkinsPluginVersion, JenkinsPluginsInfoResponse, JenkinsPluginsVersionsResponse };
19
+
20
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","names":[],"sources":["../../../../lib/modules/datasource/jenkins-plugins/schema.ts"],"sourcesContent":["import { z } from 'zod/v4';\nimport { MaybeTimestamp } from '../../../util/timestamp.ts';\n\nexport const JenkinsPluginInfo = z.object({\n name: z.string(),\n scm: z.string().optional(),\n});\n\nexport const JenkinsPluginsInfoResponse = z.object({\n plugins: z.record(z.string(), JenkinsPluginInfo).default({}),\n});\nexport type JenkinsPluginsInfoResponse = z.infer<\n typeof JenkinsPluginsInfoResponse\n>;\n\nexport const JenkinsPluginVersion = z.object({\n version: z.string(),\n buildDate: z.string().optional(),\n url: z.string().optional(),\n requiredCore: z.string().optional(),\n releaseTimestamp: MaybeTimestamp.optional(),\n});\nexport type JenkinsPluginVersion = z.infer<typeof JenkinsPluginVersion>;\n\nexport const JenkinsPluginsVersionsResponse = z.object({\n plugins: z\n .record(z.string(), z.record(z.string(), JenkinsPluginVersion))\n .default({}),\n});\nexport type JenkinsPluginsVersionsResponse = z.infer<\n typeof JenkinsPluginsVersionsResponse\n>;\n"],"mappings":";;;AAGA,MAAa,oBAAoB,EAAE,OAAO;CACxC,MAAM,EAAE,OAAO;CACf,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS;AAC3B,CAAC;AAED,MAAa,6BAA6B,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,iBAAiB,CAAC,CAAC,QAAQ,CAAC,CAAC,EAC7D,CAAC;AAKD,MAAa,uBAAuB,EAAE,OAAO;CAC3C,SAAS,EAAE,OAAO;CAClB,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS;CAC/B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS;CACzB,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS;CAClC,kBAAkB,eAAe,SAAS;AAC5C,CAAC;AAGD,MAAa,iCAAiC,EAAE,OAAO,EACrD,SAAS,EACN,OAAO,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,oBAAoB,CAAC,CAAC,CAC9D,QAAQ,CAAC,CAAC,EACf,CAAC"}
@@ -1,6 +1,6 @@
1
1
  //#region lib/modules/datasource/jsr/common.ts
2
2
  const defaultRegistryUrls = ["https://jsr.io/"];
3
-
4
3
  //#endregion
5
4
  export { defaultRegistryUrls };
5
+
6
6
  //# sourceMappingURL=common.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","names":[],"sources":["../../../../lib/modules/datasource/jsr/common.ts"],"sourcesContent":["export const defaultRegistryUrls = [\n 'https://jsr.io/',\n // the \"https://npm.jsr.io\" npm compatible registry api url\n // it contains more information than above, but less accuracy\n // https://jsr.io/docs/api#npm-compatibility-registry-api\n // > Note: The data served from the npm compatibility registry API may not always\n // > be up to date or consistent with the data served from the JSR registry API.\n];\n"],"mappings":";AAAA,MAAa,sBAAsB,CACjC,kBAMD"}
1
+ {"version":3,"file":"common.js","names":[],"sources":["../../../../lib/modules/datasource/jsr/common.ts"],"sourcesContent":["export const defaultRegistryUrls = [\n 'https://jsr.io/',\n // the \"https://npm.jsr.io\" npm compatible registry api url\n // it contains more information than above, but less accuracy\n // https://jsr.io/docs/api#npm-compatibility-registry-api\n // > Note: The data served from the npm compatibility registry API may not always\n // > be up to date or consistent with the data served from the JSR registry API.\n];\n"],"mappings":";AAAA,MAAa,sBAAsB,CACjC,iBAMF"}
@@ -1,13 +1,12 @@
1
1
  import { logger } from "../../../logger/index.js";
2
2
  import { joinUrlParts } from "../../../util/url.js";
3
+ import { id } from "../../versioning/semver/index.js";
3
4
  import { withCache } from "../../../util/cache/package/with-cache.js";
4
5
  import { Datasource } from "../datasource.js";
5
- import { id } from "../../versioning/semver/index.js";
6
6
  import { defaultRegistryUrls } from "./common.js";
7
7
  import { JsrPackageMetadata } from "./schema.js";
8
8
  import { extractJsrPackageName } from "./util.js";
9
9
  import { isNull } from "@sindresorhus/is";
10
-
11
10
  //#region lib/modules/datasource/jsr/index.ts
12
11
  var JsrDatasource = class JsrDatasource extends Datasource {
13
12
  static id = "jsr";
@@ -50,7 +49,7 @@ var JsrDatasource = class JsrDatasource extends Datasource {
50
49
  }, () => this._getReleases(config));
51
50
  }
52
51
  };
53
-
54
52
  //#endregion
55
53
  export { JsrDatasource };
54
+
56
55
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["semverId"],"sources":["../../../../lib/modules/datasource/jsr/index.ts"],"sourcesContent":["import { isNull } from '@sindresorhus/is';\nimport { logger } from '../../../logger/index.ts';\nimport { withCache } from '../../../util/cache/package/with-cache.ts';\nimport { joinUrlParts } from '../../../util/url.ts';\nimport { id as semverId } from '../../versioning/semver/index.ts';\nimport { Datasource } from '../datasource.ts';\nimport type { GetReleasesConfig, ReleaseResult } from '../types.ts';\nimport { defaultRegistryUrls } from './common.ts';\nimport { JsrPackageMetadata } from './schema.ts';\nimport { extractJsrPackageName } from './util.ts';\n\nexport class JsrDatasource extends Datasource {\n static readonly id = 'jsr';\n\n // custom registry support is not yet supported\n // https://github.com/jsr-io/jsr/issues/203\n override readonly customRegistrySupport = false;\n\n override readonly registryStrategy = 'first';\n // https://jsr.io/docs/using-packages#semver-resolution\n override readonly defaultVersioning = semverId;\n\n // use npm compatible registry api url due to returns\n override readonly defaultRegistryUrls = defaultRegistryUrls;\n\n override readonly releaseTimestampSupport = true;\n override readonly releaseTimestampNote =\n 'The release timestamp is determined from the `createdAt` field in the results. For packages without explicit timestamps, defaults to 2025-09-18.';\n\n constructor() {\n super(JsrDatasource.id);\n }\n\n private async _getReleases({\n packageName,\n registryUrl,\n }: GetReleasesConfig): Promise<ReleaseResult | null> {\n /* v8 ignore next 3 -- should never happen */\n if (!registryUrl) {\n return null;\n }\n\n const validJsrPackageName = extractJsrPackageName(packageName);\n if (isNull(validJsrPackageName)) {\n logger.debug(`Could not extract packageName: \"${packageName}\"`);\n return null;\n }\n // construct a package metadata url\n // https://jsr.io/docs/api#package-metadata\n const packageInfoUrl = joinUrlParts(registryUrl, packageName, 'meta.json');\n\n const result: ReleaseResult = {\n homepage: joinUrlParts(registryUrl, packageName),\n registryUrl,\n releases: [],\n };\n\n try {\n const { body } = await this.http.getJson(\n packageInfoUrl,\n JsrPackageMetadata,\n );\n result.releases.push(...body);\n } catch (err) {\n logger.warn({ err }, 'JSR: failed to get package details');\n this.handleGenericErrors(err);\n }\n\n return result.releases.length ? result : null;\n }\n\n getReleases(config: GetReleasesConfig): Promise<ReleaseResult | null> {\n return withCache(\n {\n namespace: `datasource-${JsrDatasource.id}`,\n // TODO: types (#22198)\n key: `getReleases:${config.registryUrl}:${config.packageName}`,\n fallback: true,\n },\n () => this._getReleases(config),\n );\n }\n}\n"],"mappings":";;;;;;;;;;;AAWA,IAAa,gBAAb,MAAa,sBAAsB,WAAW;CAC5C,OAAgB,KAAK;CAIrB,AAAkB,wBAAwB;CAE1C,AAAkB,mBAAmB;CAErC,AAAkB,oBAAoBA;CAGtC,AAAkB,sBAAsB;CAExC,AAAkB,0BAA0B;CAC5C,AAAkB,uBAChB;CAEF,cAAc;AACZ,QAAM,cAAc,GAAG;;CAGzB,MAAc,aAAa,EACzB,aACA,eACmD;;AAEnD,MAAI,CAAC,YACH,QAAO;AAIT,MAAI,OADwB,sBAAsB,YAAY,CAC/B,EAAE;AAC/B,UAAO,MAAM,mCAAmC,YAAY,GAAG;AAC/D,UAAO;;EAIT,MAAM,iBAAiB,aAAa,aAAa,aAAa,YAAY;EAE1E,MAAM,SAAwB;GAC5B,UAAU,aAAa,aAAa,YAAY;GAChD;GACA,UAAU,EAAE;GACb;AAED,MAAI;GACF,MAAM,EAAE,SAAS,MAAM,KAAK,KAAK,QAC/B,gBACA,mBACD;AACD,UAAO,SAAS,KAAK,GAAG,KAAK;WACtB,KAAK;AACZ,UAAO,KAAK,EAAE,KAAK,EAAE,qCAAqC;AAC1D,QAAK,oBAAoB,IAAI;;AAG/B,SAAO,OAAO,SAAS,SAAS,SAAS;;CAG3C,YAAY,QAA0D;AACpE,SAAO,UACL;GACE,WAAW,cAAc,cAAc;GAEvC,KAAK,eAAe,OAAO,YAAY,GAAG,OAAO;GACjD,UAAU;GACX,QACK,KAAK,aAAa,OAAO,CAChC"}
1
+ {"version":3,"file":"index.js","names":["semverId"],"sources":["../../../../lib/modules/datasource/jsr/index.ts"],"sourcesContent":["import { isNull } from '@sindresorhus/is';\nimport { logger } from '../../../logger/index.ts';\nimport { withCache } from '../../../util/cache/package/with-cache.ts';\nimport { joinUrlParts } from '../../../util/url.ts';\nimport { id as semverId } from '../../versioning/semver/index.ts';\nimport { Datasource } from '../datasource.ts';\nimport type { GetReleasesConfig, ReleaseResult } from '../types.ts';\nimport { defaultRegistryUrls } from './common.ts';\nimport { JsrPackageMetadata } from './schema.ts';\nimport { extractJsrPackageName } from './util.ts';\n\nexport class JsrDatasource extends Datasource {\n static readonly id = 'jsr';\n\n // custom registry support is not yet supported\n // https://github.com/jsr-io/jsr/issues/203\n override readonly customRegistrySupport = false;\n\n override readonly registryStrategy = 'first';\n // https://jsr.io/docs/using-packages#semver-resolution\n override readonly defaultVersioning = semverId;\n\n // use npm compatible registry api url due to returns\n override readonly defaultRegistryUrls = defaultRegistryUrls;\n\n override readonly releaseTimestampSupport = true;\n override readonly releaseTimestampNote =\n 'The release timestamp is determined from the `createdAt` field in the results. For packages without explicit timestamps, defaults to 2025-09-18.';\n\n constructor() {\n super(JsrDatasource.id);\n }\n\n private async _getReleases({\n packageName,\n registryUrl,\n }: GetReleasesConfig): Promise<ReleaseResult | null> {\n /* v8 ignore next 3 -- should never happen */\n if (!registryUrl) {\n return null;\n }\n\n const validJsrPackageName = extractJsrPackageName(packageName);\n if (isNull(validJsrPackageName)) {\n logger.debug(`Could not extract packageName: \"${packageName}\"`);\n return null;\n }\n // construct a package metadata url\n // https://jsr.io/docs/api#package-metadata\n const packageInfoUrl = joinUrlParts(registryUrl, packageName, 'meta.json');\n\n const result: ReleaseResult = {\n homepage: joinUrlParts(registryUrl, packageName),\n registryUrl,\n releases: [],\n };\n\n try {\n const { body } = await this.http.getJson(\n packageInfoUrl,\n JsrPackageMetadata,\n );\n result.releases.push(...body);\n } catch (err) {\n logger.warn({ err }, 'JSR: failed to get package details');\n this.handleGenericErrors(err);\n }\n\n return result.releases.length ? result : null;\n }\n\n getReleases(config: GetReleasesConfig): Promise<ReleaseResult | null> {\n return withCache(\n {\n namespace: `datasource-${JsrDatasource.id}`,\n // TODO: types (#22198)\n key: `getReleases:${config.registryUrl}:${config.packageName}`,\n fallback: true,\n },\n () => this._getReleases(config),\n );\n }\n}\n"],"mappings":";;;;;;;;;;AAWA,IAAa,gBAAb,MAAa,sBAAsB,WAAW;CAC5C,OAAgB,KAAK;CAIrB,wBAA0C;CAE1C,mBAAqC;CAErC,oBAAsCA;CAGtC,sBAAwC;CAExC,0BAA4C;CAC5C,uBACE;CAEF,cAAc;EACZ,MAAM,cAAc,EAAE;CACxB;CAEA,MAAc,aAAa,EACzB,aACA,eACmD;;EAEnD,IAAI,CAAC,aACH,OAAO;EAIT,IAAI,OADwB,sBAAsB,WACrB,CAAC,GAAG;GAC/B,OAAO,MAAM,mCAAmC,YAAY,EAAE;GAC9D,OAAO;EACT;EAGA,MAAM,iBAAiB,aAAa,aAAa,aAAa,WAAW;EAEzE,MAAM,SAAwB;GAC5B,UAAU,aAAa,aAAa,WAAW;GAC/C;GACA,UAAU,CAAC;EACb;EAEA,IAAI;GACF,MAAM,EAAE,SAAS,MAAM,KAAK,KAAK,QAC/B,gBACA,kBACF;GACA,OAAO,SAAS,KAAK,GAAG,IAAI;EAC9B,SAAS,KAAK;GACZ,OAAO,KAAK,EAAE,IAAI,GAAG,oCAAoC;GACzD,KAAK,oBAAoB,GAAG;EAC9B;EAEA,OAAO,OAAO,SAAS,SAAS,SAAS;CAC3C;CAEA,YAAY,QAA0D;EACpE,OAAO,UACL;GACE,WAAW,cAAc,cAAc;GAEvC,KAAK,eAAe,OAAO,YAAY,GAAG,OAAO;GACjD,UAAU;EACZ,SACM,KAAK,aAAa,MAAM,CAChC;CACF;AACF"}
@@ -1,6 +1,5 @@
1
1
  import { MaybeTimestamp } from "../../../util/timestamp.js";
2
- import { z } from "zod/v3";
3
-
2
+ import { z } from "zod/v4";
4
3
  //#region lib/modules/datasource/jsr/schema.ts
5
4
  /**
6
5
  * In the JSR.io API, if a package has had any version published on or after 2025-09-18,
@@ -25,7 +24,7 @@ const JsrPackageMetadata = z.object({
25
24
  ...latest === version && { isLatest: true }
26
25
  }));
27
26
  });
28
-
29
27
  //#endregion
30
- export { JsrPackageMetadata };
28
+ export { JsrPackageMetadata, MINIMUM_RELEASE_TIMESTAMP };
29
+
31
30
  //# sourceMappingURL=schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","names":[],"sources":["../../../../lib/modules/datasource/jsr/schema.ts"],"sourcesContent":["import { z } from 'zod/v3';\nimport { MaybeTimestamp } from '../../../util/timestamp.ts';\nimport type { Release } from '../types.ts';\n\n/**\n * In the JSR.io API, if a package has had any version published on or after 2025-09-18,\n * the createdAt field will be returned for all versions of that package, including historical ones.\n * If a package has not been published at all since this date,\n * the createdAt field will be omitted entirely from the API response.\n * Therefore, we can assume that it published no less than that date for older versions\n * https://github.com/jsr-io/jsr/pull/1194#issuecomment-3522729482\n */\nexport const MINIMUM_RELEASE_TIMESTAMP = MaybeTimestamp.parse(\n '2025-09-18T00:00:00.000Z',\n);\n\n// https://github.com/jsr-io/jsr/blob/b8d753f4ed96f032bc494e8809065cfe8df5c641/api/src/metadata.rs#L30-L35\nexport const JsrPackageMetadata = z\n .object({\n latest: z.string().optional(),\n versions: z.record(\n z.string(),\n z.object({\n createdAt: MaybeTimestamp,\n yanked: z.boolean().optional(),\n }),\n ),\n })\n .transform(({ versions, latest }): Release[] => {\n return Object.entries(versions).map(([version, val]) => ({\n version,\n ...{\n releaseTimestamp: val.createdAt ?? MINIMUM_RELEASE_TIMESTAMP,\n },\n ...(val.yanked && { isDeprecated: true }),\n ...(latest === version && { isLatest: true }),\n }));\n });\n"],"mappings":";;;;;;;;;;;;AAYA,MAAa,4BAA4B,eAAe,MACtD,2BACD;AAGD,MAAa,qBAAqB,EAC/B,OAAO;CACN,QAAQ,EAAE,QAAQ,CAAC,UAAU;CAC7B,UAAU,EAAE,OACV,EAAE,QAAQ,EACV,EAAE,OAAO;EACP,WAAW;EACX,QAAQ,EAAE,SAAS,CAAC,UAAU;EAC/B,CAAC,CACH;CACF,CAAC,CACD,WAAW,EAAE,UAAU,aAAwB;AAC9C,QAAO,OAAO,QAAQ,SAAS,CAAC,KAAK,CAAC,SAAS,UAAU;EACvD;EAEE,kBAAkB,IAAI,aAAa;EAErC,GAAI,IAAI,UAAU,EAAE,cAAc,MAAM;EACxC,GAAI,WAAW,WAAW,EAAE,UAAU,MAAM;EAC7C,EAAE;EACH"}
1
+ {"version":3,"file":"schema.js","names":[],"sources":["../../../../lib/modules/datasource/jsr/schema.ts"],"sourcesContent":["import { z } from 'zod/v4';\nimport { MaybeTimestamp } from '../../../util/timestamp.ts';\nimport type { Release } from '../types.ts';\n\n/**\n * In the JSR.io API, if a package has had any version published on or after 2025-09-18,\n * the createdAt field will be returned for all versions of that package, including historical ones.\n * If a package has not been published at all since this date,\n * the createdAt field will be omitted entirely from the API response.\n * Therefore, we can assume that it published no less than that date for older versions\n * https://github.com/jsr-io/jsr/pull/1194#issuecomment-3522729482\n */\nexport const MINIMUM_RELEASE_TIMESTAMP = MaybeTimestamp.parse(\n '2025-09-18T00:00:00.000Z',\n);\n\n// https://github.com/jsr-io/jsr/blob/b8d753f4ed96f032bc494e8809065cfe8df5c641/api/src/metadata.rs#L30-L35\nexport const JsrPackageMetadata = z\n .object({\n latest: z.string().optional(),\n versions: z.record(\n z.string(),\n z.object({\n createdAt: MaybeTimestamp,\n yanked: z.boolean().optional(),\n }),\n ),\n })\n .transform(({ versions, latest }): Release[] => {\n return Object.entries(versions).map(([version, val]) => ({\n version,\n releaseTimestamp: val.createdAt ?? MINIMUM_RELEASE_TIMESTAMP,\n ...(val.yanked && { isDeprecated: true }),\n ...(latest === version && { isLatest: true }),\n }));\n });\n"],"mappings":";;;;;;;;;;;AAYA,MAAa,4BAA4B,eAAe,MACtD,0BACF;AAGA,MAAa,qBAAqB,EAC/B,OAAO;CACN,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,UAAU,EAAE,OACV,EAAE,OAAO,GACT,EAAE,OAAO;EACP,WAAW;EACX,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS;CAC/B,CAAC,CACH;AACF,CAAC,CAAC,CACD,WAAW,EAAE,UAAU,aAAwB;CAC9C,OAAO,OAAO,QAAQ,QAAQ,CAAC,CAAC,KAAK,CAAC,SAAS,UAAU;EACvD;EACA,kBAAkB,IAAI,aAAa;EACnC,GAAI,IAAI,UAAU,EAAE,cAAc,KAAK;EACvC,GAAI,WAAW,WAAW,EAAE,UAAU,KAAK;CAC7C,EAAE;AACJ,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import { regEx } from "../../../util/regex.js";
2
2
  import { isNull } from "@sindresorhus/is";
3
-
4
3
  //#region lib/modules/datasource/jsr/util.ts
5
4
  function extractJsrPackageName(packageName) {
6
5
  const parts = packageName.replace(regEx(/^@/), "").split("/");
@@ -26,7 +25,7 @@ function parseJsrPackageName(name) {
26
25
  if (name.startsWith("-")) return null;
27
26
  return name;
28
27
  }
29
-
30
28
  //#endregion
31
29
  export { extractJsrPackageName };
30
+
32
31
  //# sourceMappingURL=util.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"util.js","names":[],"sources":["../../../../lib/modules/datasource/jsr/util.ts"],"sourcesContent":["// Ported from jsr:\n// https://github.com/jsr-io/jsr/blob/b8d753f4ed96f032bc494e8809065cfe8df5c641/frontend/utils/ids.ts\n// Copyright 2024 the JSR authors. All rights reserved. MIT license.\n\nimport { isNull } from '@sindresorhus/is';\nimport { regEx } from '../../../util/regex.ts';\n\nexport function extractJsrPackageName(packageName: string): {\n scope: string;\n name: string;\n} | null {\n // trim first @\n const validatePackageName = packageName.replace(regEx(/^@/), '');\n const parts = validatePackageName.split('/');\n if (parts.length !== 2) {\n return null;\n }\n const [scope, name] = parts;\n if (isNull(parseJsrScopeName(scope))) {\n return null;\n }\n if (isNull(parseJsrPackageName(name))) {\n return null;\n }\n return { scope, name };\n}\n\nfunction parseJsrScopeName(name: string): string | null {\n if (name.length > 100) {\n return null;\n }\n if (name.length < 3) {\n return null;\n }\n if (!regEx(/^[a-zA-Z0-9-_]+$/).test(name)) {\n return null;\n }\n return name;\n}\n\nfunction parseJsrPackageName(name: string): string | null {\n if (name.startsWith('@')) {\n return null;\n }\n if (name.length > 58) {\n return null;\n }\n if (!regEx(/^[a-z0-9-]+$/).test(name)) {\n return null;\n }\n if (name.startsWith('-')) {\n return null;\n }\n return name;\n}\n"],"mappings":";;;;AAOA,SAAgB,sBAAsB,aAG7B;CAGP,MAAM,QADsB,YAAY,QAAQ,MAAM,KAAK,EAAE,GAAG,CAC9B,MAAM,IAAI;AAC5C,KAAI,MAAM,WAAW,EACnB,QAAO;CAET,MAAM,CAAC,OAAO,QAAQ;AACtB,KAAI,OAAO,kBAAkB,MAAM,CAAC,CAClC,QAAO;AAET,KAAI,OAAO,oBAAoB,KAAK,CAAC,CACnC,QAAO;AAET,QAAO;EAAE;EAAO;EAAM;;AAGxB,SAAS,kBAAkB,MAA6B;AACtD,KAAI,KAAK,SAAS,IAChB,QAAO;AAET,KAAI,KAAK,SAAS,EAChB,QAAO;AAET,KAAI,CAAC,MAAM,mBAAmB,CAAC,KAAK,KAAK,CACvC,QAAO;AAET,QAAO;;AAGT,SAAS,oBAAoB,MAA6B;AACxD,KAAI,KAAK,WAAW,IAAI,CACtB,QAAO;AAET,KAAI,KAAK,SAAS,GAChB,QAAO;AAET,KAAI,CAAC,MAAM,eAAe,CAAC,KAAK,KAAK,CACnC,QAAO;AAET,KAAI,KAAK,WAAW,IAAI,CACtB,QAAO;AAET,QAAO"}
1
+ {"version":3,"file":"util.js","names":[],"sources":["../../../../lib/modules/datasource/jsr/util.ts"],"sourcesContent":["// Ported from jsr:\n// https://github.com/jsr-io/jsr/blob/b8d753f4ed96f032bc494e8809065cfe8df5c641/frontend/utils/ids.ts\n// Copyright 2024 the JSR authors. All rights reserved. MIT license.\n\nimport { isNull } from '@sindresorhus/is';\nimport { regEx } from '../../../util/regex.ts';\n\nexport function extractJsrPackageName(packageName: string): {\n scope: string;\n name: string;\n} | null {\n // trim first @\n const validatePackageName = packageName.replace(regEx(/^@/), '');\n const parts = validatePackageName.split('/');\n if (parts.length !== 2) {\n return null;\n }\n const [scope, name] = parts;\n if (isNull(parseJsrScopeName(scope))) {\n return null;\n }\n if (isNull(parseJsrPackageName(name))) {\n return null;\n }\n return { scope, name };\n}\n\nfunction parseJsrScopeName(name: string): string | null {\n if (name.length > 100) {\n return null;\n }\n if (name.length < 3) {\n return null;\n }\n if (!regEx(/^[a-zA-Z0-9-_]+$/).test(name)) {\n return null;\n }\n return name;\n}\n\nfunction parseJsrPackageName(name: string): string | null {\n if (name.startsWith('@')) {\n return null;\n }\n if (name.length > 58) {\n return null;\n }\n if (!regEx(/^[a-z0-9-]+$/).test(name)) {\n return null;\n }\n if (name.startsWith('-')) {\n return null;\n }\n return name;\n}\n"],"mappings":";;;AAOA,SAAgB,sBAAsB,aAG7B;CAGP,MAAM,QADsB,YAAY,QAAQ,MAAM,IAAI,GAAG,EAC7B,CAAC,CAAC,MAAM,GAAG;CAC3C,IAAI,MAAM,WAAW,GACnB,OAAO;CAET,MAAM,CAAC,OAAO,QAAQ;CACtB,IAAI,OAAO,kBAAkB,KAAK,CAAC,GACjC,OAAO;CAET,IAAI,OAAO,oBAAoB,IAAI,CAAC,GAClC,OAAO;CAET,OAAO;EAAE;EAAO;CAAK;AACvB;AAEA,SAAS,kBAAkB,MAA6B;CACtD,IAAI,KAAK,SAAS,KAChB,OAAO;CAET,IAAI,KAAK,SAAS,GAChB,OAAO;CAET,IAAI,CAAC,MAAM,kBAAkB,CAAC,CAAC,KAAK,IAAI,GACtC,OAAO;CAET,OAAO;AACT;AAEA,SAAS,oBAAoB,MAA6B;CACxD,IAAI,KAAK,WAAW,GAAG,GACrB,OAAO;CAET,IAAI,KAAK,SAAS,IAChB,OAAO;CAET,IAAI,CAAC,MAAM,cAAc,CAAC,CAAC,KAAK,IAAI,GAClC,OAAO;CAET,IAAI,KAAK,WAAW,GAAG,GACrB,OAAO;CAET,OAAO;AACT"}
@@ -1,8 +1,7 @@
1
- import { Datasource } from "../datasource.js";
2
1
  import data from "../../../data-files.generated.js";
3
2
  import { id } from "../../versioning/kubernetes-api/index.js";
3
+ import { Datasource } from "../datasource.js";
4
4
  import JSON5 from "json5";
5
-
6
5
  //#region lib/modules/datasource/kubernetes-api/index.ts
7
6
  const apiData = JSON5.parse(data.get("data/kubernetes-api.json5"));
8
7
  const supportedApis = new Set(Object.keys(apiData));
@@ -21,7 +20,7 @@ var KubernetesApiDatasource = class KubernetesApiDatasource extends Datasource {
21
20
  return Promise.resolve(null);
22
21
  }
23
22
  };
24
-
25
23
  //#endregion
26
24
  export { KubernetesApiDatasource, supportedApis };
25
+
27
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["dataFiles","kubernetesApiVersioning.id"],"sources":["../../../../lib/modules/datasource/kubernetes-api/index.ts"],"sourcesContent":["import JSON5 from 'json5';\nimport dataFiles from '../../../data-files.generated.ts';\nimport * as kubernetesApiVersioning from '../../versioning/kubernetes-api/index.ts';\nimport { Datasource } from '../datasource.ts';\nimport type { GetReleasesConfig, ReleaseResult } from '../types.ts';\n\nconst apiData: Record<string, string[]> = JSON5.parse(\n dataFiles.get('data/kubernetes-api.json5')!,\n);\n\nexport const supportedApis = new Set(Object.keys(apiData));\n\nexport class KubernetesApiDatasource extends Datasource {\n static readonly id = 'kubernetes-api';\n\n constructor() {\n super(KubernetesApiDatasource.id);\n }\n\n override defaultVersioning = kubernetesApiVersioning.id;\n\n getReleases({\n packageName,\n }: GetReleasesConfig): Promise<ReleaseResult | null> {\n const versions = apiData[packageName];\n if (versions) {\n const releases = versions.map((version) => ({ version }));\n return Promise.resolve({ releases });\n }\n\n return Promise.resolve(null);\n }\n}\n"],"mappings":";;;;;;AAMA,MAAM,UAAoC,MAAM,MAC9CA,KAAU,IAAI,4BAA4B,CAC3C;AAED,MAAa,gBAAgB,IAAI,IAAI,OAAO,KAAK,QAAQ,CAAC;AAE1D,IAAa,0BAAb,MAAa,gCAAgC,WAAW;CACtD,OAAgB,KAAK;CAErB,cAAc;AACZ,QAAM,wBAAwB,GAAG;;CAGnC,AAAS,oBAAoBC;CAE7B,YAAY,EACV,eACmD;EACnD,MAAM,WAAW,QAAQ;AACzB,MAAI,UAAU;GACZ,MAAM,WAAW,SAAS,KAAK,aAAa,EAAE,SAAS,EAAE;AACzD,UAAO,QAAQ,QAAQ,EAAE,UAAU,CAAC;;AAGtC,SAAO,QAAQ,QAAQ,KAAK"}
1
+ {"version":3,"file":"index.js","names":["dataFiles","kubernetesApiVersioning.id"],"sources":["../../../../lib/modules/datasource/kubernetes-api/index.ts"],"sourcesContent":["import JSON5 from 'json5';\nimport dataFiles from '../../../data-files.generated.ts';\nimport * as kubernetesApiVersioning from '../../versioning/kubernetes-api/index.ts';\nimport { Datasource } from '../datasource.ts';\nimport type { GetReleasesConfig, ReleaseResult } from '../types.ts';\n\nconst apiData: Record<string, string[]> = JSON5.parse(\n dataFiles.get('data/kubernetes-api.json5')!,\n);\n\nexport const supportedApis = new Set(Object.keys(apiData));\n\nexport class KubernetesApiDatasource extends Datasource {\n static readonly id = 'kubernetes-api';\n\n constructor() {\n super(KubernetesApiDatasource.id);\n }\n\n override defaultVersioning = kubernetesApiVersioning.id;\n\n getReleases({\n packageName,\n }: GetReleasesConfig): Promise<ReleaseResult | null> {\n const versions = apiData[packageName];\n if (versions) {\n const releases = versions.map((version) => ({ version }));\n return Promise.resolve({ releases });\n }\n\n return Promise.resolve(null);\n }\n}\n"],"mappings":";;;;;AAMA,MAAM,UAAoC,MAAM,MAC9CA,KAAU,IAAI,2BAA2B,CAC3C;AAEA,MAAa,gBAAgB,IAAI,IAAI,OAAO,KAAK,OAAO,CAAC;AAEzD,IAAa,0BAAb,MAAa,gCAAgC,WAAW;CACtD,OAAgB,KAAK;CAErB,cAAc;EACZ,MAAM,wBAAwB,EAAE;CAClC;CAEA,oBAA6BC;CAE7B,YAAY,EACV,eACmD;EACnD,MAAM,WAAW,QAAQ;EACzB,IAAI,UAAU;GACZ,MAAM,WAAW,SAAS,KAAK,aAAa,EAAE,QAAQ,EAAE;GACxD,OAAO,QAAQ,QAAQ,EAAE,SAAS,CAAC;EACrC;EAEA,OAAO,QAAQ,QAAQ,IAAI;CAC7B;AACF"}
@@ -1,6 +1,15 @@
1
+ import { parseUrl } from "../../../util/url.js";
1
2
  //#region lib/modules/datasource/maven/common.ts
2
3
  const MAVEN_REPO = "https://repo.maven.apache.org/maven2";
3
-
4
+ const MAVEN_CENTRAL_MIRROR = "https://repo1.maven.org/maven2";
5
+ const MAVEN_CENTRAL_URLS = [MAVEN_REPO, MAVEN_CENTRAL_MIRROR];
6
+ function getHost(url) {
7
+ return parseUrl(url)?.host;
8
+ }
9
+ function isMavenCentral(url) {
10
+ return MAVEN_CENTRAL_URLS.some((mavenRepo) => getHost(url) === getHost(mavenRepo));
11
+ }
4
12
  //#endregion
5
- export { MAVEN_REPO };
13
+ export { MAVEN_CENTRAL_MIRROR, MAVEN_CENTRAL_URLS, MAVEN_REPO, isMavenCentral };
14
+
6
15
  //# sourceMappingURL=common.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","names":[],"sources":["../../../../lib/modules/datasource/maven/common.ts"],"sourcesContent":["export const id = 'maven';\n\nexport const MAVEN_REPO = 'https://repo.maven.apache.org/maven2';\n"],"mappings":";AAEA,MAAa,aAAa"}
1
+ {"version":3,"file":"common.js","names":[],"sources":["../../../../lib/modules/datasource/maven/common.ts"],"sourcesContent":["import { parseUrl } from '../../../util/url.ts';\nexport const id = 'maven';\n\nexport const MAVEN_REPO = 'https://repo.maven.apache.org/maven2';\nexport const MAVEN_CENTRAL_MIRROR = 'https://repo1.maven.org/maven2';\nexport const MAVEN_CENTRAL_URLS = [MAVEN_REPO, MAVEN_CENTRAL_MIRROR];\n\nfunction getHost(url: string): string | undefined {\n return parseUrl(url)?.host;\n}\n\nexport function isMavenCentral(url: string): boolean {\n return MAVEN_CENTRAL_URLS.some(\n (mavenRepo) => getHost(url) === getHost(mavenRepo),\n );\n}\n"],"mappings":";;AAGA,MAAa,aAAa;AAC1B,MAAa,uBAAuB;AACpC,MAAa,qBAAqB,CAAC,YAAY,oBAAoB;AAEnE,SAAS,QAAQ,KAAiC;CAChD,OAAO,SAAS,GAAG,CAAC,EAAE;AACxB;AAEA,SAAgB,eAAe,KAAsB;CACnD,OAAO,mBAAmB,MACvB,cAAc,QAAQ,GAAG,MAAM,QAAQ,SAAS,CACnD;AACF"}
@@ -1,20 +1,19 @@
1
1
  import { logger } from "../../../logger/index.js";
2
2
  import { ensureTrailingSlash } from "../../../util/url.js";
3
+ import { compare } from "../../versioning/maven/compare.js";
4
+ import { api, id } from "../../versioning/maven/index.js";
3
5
  import { get, set } from "../../../util/cache/package/index.js";
4
6
  import { asTimestamp } from "../../../util/timestamp.js";
5
7
  import { Datasource } from "../datasource.js";
6
- import { compare } from "../../versioning/maven/compare.js";
7
- import api, { id } from "../../versioning/maven/index.js";
8
- import { MAVEN_REPO } from "./common.js";
8
+ import { MAVEN_CENTRAL_URLS, MAVEN_REPO } from "./common.js";
9
9
  import { createUrlForDependencyPom, downloadMaven, downloadMavenXml, getDependencyInfo, getDependencyParts, getMavenUrl } from "./util.js";
10
-
11
10
  //#region lib/modules/datasource/maven/index.ts
12
11
  function getLatestSuitableVersion(releases) {
13
12
  /* v8 ignore next 3 -- TODO: add test */
14
13
  if (!releases?.length) return null;
15
14
  const allVersions = releases.map(({ version }) => version);
16
15
  const stableVersions = allVersions.filter((x) => api.isStable(x));
17
- return (stableVersions.length ? stableVersions : allVersions).reduce((latestVersion, version) => compare(version, latestVersion) === 1 ? version : latestVersion);
16
+ return (stableVersions.length ? stableVersions : allVersions).reduce((latestVersion, version) => compare(version, latestVersion) === 1 ? version : /* istanbul ignore next: hard to test */ latestVersion);
18
17
  }
19
18
  function extractVersions(metadata) {
20
19
  const res = {};
@@ -58,6 +57,10 @@ var MavenDatasource = class MavenDatasource extends Datasource {
58
57
  if (!registryUrl) return null;
59
58
  const dependency = getDependencyParts(packageName);
60
59
  const repoUrl = ensureTrailingSlash(registryUrl);
60
+ if ((packageName.includes(".gradle.plugin:") || packageName.endsWith(".gradle.plugin")) && MAVEN_CENTRAL_URLS.some((url) => repoUrl === ensureTrailingSlash(url))) {
61
+ logger.debug(`Maven: skipping Maven Central for suspected Gradle plugin "${packageName}"`);
62
+ return null;
63
+ }
61
64
  logger.debug(`Looking up ${dependency.display} in repository ${repoUrl}`);
62
65
  const metadata = await this.fetchVersionsFromMetadata(dependency, repoUrl);
63
66
  if (!metadata.versions?.length) return null;
@@ -99,7 +102,7 @@ var MavenDatasource = class MavenDatasource extends Datasource {
99
102
  return release;
100
103
  }
101
104
  };
102
-
103
105
  //#endregion
104
- export { MavenDatasource };
106
+ export { MavenDatasource, defaultRegistryUrls };
107
+
105
108
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["mavenVersion","mavenVersioning.id","packageCache.get","packageCache.set"],"sources":["../../../../lib/modules/datasource/maven/index.ts"],"sourcesContent":["import type { XmlDocument } from 'xmldoc';\nimport { logger } from '../../../logger/index.ts';\nimport * as packageCache from '../../../util/cache/package/index.ts';\nimport { asTimestamp } from '../../../util/timestamp.ts';\nimport { ensureTrailingSlash } from '../../../util/url.ts';\nimport { compare } from '../../versioning/maven/compare.ts';\nimport mavenVersion, * as mavenVersioning from '../../versioning/maven/index.ts';\nimport { Datasource } from '../datasource.ts';\nimport type {\n GetReleasesConfig,\n PostprocessReleaseConfig,\n PostprocessReleaseResult,\n RegistryStrategy,\n Release,\n ReleaseResult,\n} from '../types.ts';\nimport { MAVEN_REPO } from './common.ts';\nimport type { MavenDependency, MetadataResults } from './types.ts';\nimport {\n createUrlForDependencyPom,\n downloadMaven,\n downloadMavenXml,\n getDependencyInfo,\n getDependencyParts,\n getMavenUrl,\n} from './util.ts';\n\nfunction getLatestSuitableVersion(releases: Release[]): string | null {\n /* v8 ignore next 3 -- TODO: add test */\n if (!releases?.length) {\n return null;\n }\n const allVersions = releases.map(({ version }) => version);\n const stableVersions = allVersions.filter((x) => mavenVersion.isStable(x));\n const versions = stableVersions.length ? stableVersions : allVersions;\n return versions.reduce((latestVersion, version) =>\n compare(version, latestVersion) === 1\n ? version\n : /* istanbul ignore next: hard to test */ latestVersion,\n );\n}\n\nfunction extractVersions(metadata: XmlDocument): MetadataResults {\n const res: MetadataResults = {};\n const versions = metadata.descendantWithPath('versioning.versions');\n const elements = versions?.childrenNamed('version');\n if (!elements) {\n return res;\n }\n res.versions = elements.map((el) => el.val);\n const latest = metadata.descendantWithPath('versioning.latest');\n if (latest?.val) {\n res.tags ??= {};\n res.tags.latest = latest.val;\n }\n const release = metadata.descendantWithPath('versioning.release');\n if (release?.val) {\n res.tags ??= {};\n res.tags.release = release.val;\n }\n\n return res;\n}\n\nexport const defaultRegistryUrls = [MAVEN_REPO];\n\nexport class MavenDatasource extends Datasource {\n static id = 'maven';\n\n override readonly caching = true;\n\n override readonly defaultRegistryUrls = defaultRegistryUrls;\n\n override readonly defaultVersioning: string = mavenVersioning.id;\n\n override readonly registryStrategy: RegistryStrategy = 'merge';\n\n override readonly releaseTimestampSupport = true;\n override readonly releaseTimestampNote =\n 'The release timestamp is determined from the `Last-Modified` header or the `lastModified` field in the results.';\n override readonly sourceUrlSupport = 'package';\n override readonly sourceUrlNote =\n 'The source URL is determined from the `scm` tags in the results.';\n\n constructor(id = MavenDatasource.id) {\n super(id);\n }\n\n async fetchVersionsFromMetadata(\n dependency: MavenDependency,\n repoUrl: string,\n ): Promise<MetadataResults> {\n const metadataUrl = getMavenUrl(dependency, repoUrl, 'maven-metadata.xml');\n const metadataXmlResult = await downloadMavenXml(this.http, metadataUrl);\n return metadataXmlResult\n .transform(({ data: metadata }) => extractVersions(metadata))\n .onError((err) => {\n logger.debug(\n `Maven: error fetching versions for \"${dependency.display}\": ${err.type}`,\n );\n })\n .unwrapOr({});\n }\n\n async getReleases({\n packageName,\n registryUrl,\n }: GetReleasesConfig): Promise<ReleaseResult | null> {\n /* v8 ignore next 3 -- should never happen */\n if (!registryUrl) {\n return null;\n }\n\n const dependency = getDependencyParts(packageName);\n const repoUrl = ensureTrailingSlash(registryUrl);\n\n logger.debug(`Looking up ${dependency.display} in repository ${repoUrl}`);\n\n const metadata = await this.fetchVersionsFromMetadata(dependency, repoUrl);\n if (!metadata.versions?.length) {\n return null;\n }\n const releases = metadata.versions.map((version) => ({ version }));\n\n logger.debug(\n `Found ${releases.length} new releases for ${dependency.display} in repository ${repoUrl}`,\n );\n\n const latestSuitableVersion = getLatestSuitableVersion(releases);\n const dependencyInfo =\n latestSuitableVersion &&\n (await getDependencyInfo(\n this.http,\n dependency,\n repoUrl,\n latestSuitableVersion,\n ));\n\n const result: ReleaseResult = {\n ...dependency,\n ...dependencyInfo,\n releases,\n };\n if (metadata.tags) {\n result.tags = metadata.tags;\n if (result.tags.latest) {\n logger.debug(`Setting respectLatest=false for maven ${packageName}`);\n result.respectLatest = false;\n }\n }\n\n if (!this.defaultRegistryUrls.includes(registryUrl)) {\n result.isPrivate = true;\n }\n\n return result;\n }\n\n override async postprocessRelease(\n { packageName, registryUrl }: PostprocessReleaseConfig,\n release: Release,\n ): Promise<PostprocessReleaseResult> {\n const { version, versionOrig } = release;\n const cacheKey = versionOrig\n ? `postprocessRelease:${registryUrl}:${packageName}:${versionOrig}:${version}`\n : `postprocessRelease:${registryUrl}:${packageName}:${version}`;\n const cachedResult = await packageCache.get<PostprocessReleaseResult>(\n 'datasource-maven:postprocess-reject',\n cacheKey,\n );\n\n /* v8 ignore if: hard to test */\n if (cachedResult) {\n return cachedResult;\n }\n\n if (!packageName || !registryUrl) {\n return release;\n }\n\n const dependency = getDependencyParts(packageName);\n\n const pomUrl = await createUrlForDependencyPom(\n this.http,\n release.versionOrig ?? release.version,\n dependency,\n registryUrl,\n );\n\n const artifactUrl = getMavenUrl(dependency, registryUrl, pomUrl);\n const fetchResult = await downloadMaven(this.http, artifactUrl);\n const { val, err } = fetchResult.unwrap();\n\n if (err) {\n const result: PostprocessReleaseResult =\n err.type === 'not-found' ? 'reject' : release;\n if (result === 'reject') {\n await packageCache.set(\n 'datasource-maven:postprocess-reject',\n cacheKey,\n result,\n 24 * 60,\n );\n }\n return result;\n }\n\n if (val.lastModified) {\n release.releaseTimestamp = asTimestamp(val.lastModified);\n }\n\n return release;\n }\n}\n"],"mappings":";;;;;;;;;;;AA2BA,SAAS,yBAAyB,UAAoC;;AAEpE,KAAI,CAAC,UAAU,OACb,QAAO;CAET,MAAM,cAAc,SAAS,KAAK,EAAE,cAAc,QAAQ;CAC1D,MAAM,iBAAiB,YAAY,QAAQ,MAAMA,IAAa,SAAS,EAAE,CAAC;AAE1E,SADiB,eAAe,SAAS,iBAAiB,aAC1C,QAAQ,eAAe,YACrC,QAAQ,SAAS,cAAc,KAAK,IAChC,UACyC,cAC9C;;AAGH,SAAS,gBAAgB,UAAwC;CAC/D,MAAM,MAAuB,EAAE;CAE/B,MAAM,WADW,SAAS,mBAAmB,sBAAsB,EACxC,cAAc,UAAU;AACnD,KAAI,CAAC,SACH,QAAO;AAET,KAAI,WAAW,SAAS,KAAK,OAAO,GAAG,IAAI;CAC3C,MAAM,SAAS,SAAS,mBAAmB,oBAAoB;AAC/D,KAAI,QAAQ,KAAK;AACf,MAAI,SAAS,EAAE;AACf,MAAI,KAAK,SAAS,OAAO;;CAE3B,MAAM,UAAU,SAAS,mBAAmB,qBAAqB;AACjE,KAAI,SAAS,KAAK;AAChB,MAAI,SAAS,EAAE;AACf,MAAI,KAAK,UAAU,QAAQ;;AAG7B,QAAO;;AAGT,MAAa,sBAAsB,CAAC,WAAW;AAE/C,IAAa,kBAAb,MAAa,wBAAwB,WAAW;CAC9C,OAAO,KAAK;CAEZ,AAAkB,UAAU;CAE5B,AAAkB,sBAAsB;CAExC,AAAkB,oBAA4BC;CAE9C,AAAkB,mBAAqC;CAEvD,AAAkB,0BAA0B;CAC5C,AAAkB,uBAChB;CACF,AAAkB,mBAAmB;CACrC,AAAkB,gBAChB;CAEF,YAAY,KAAK,gBAAgB,IAAI;AACnC,QAAM,GAAG;;CAGX,MAAM,0BACJ,YACA,SAC0B;EAC1B,MAAM,cAAc,YAAY,YAAY,SAAS,qBAAqB;AAE1E,UAD0B,MAAM,iBAAiB,KAAK,MAAM,YAAY,EAErE,WAAW,EAAE,MAAM,eAAe,gBAAgB,SAAS,CAAC,CAC5D,SAAS,QAAQ;AAChB,UAAO,MACL,uCAAuC,WAAW,QAAQ,KAAK,IAAI,OACpE;IACD,CACD,SAAS,EAAE,CAAC;;CAGjB,MAAM,YAAY,EAChB,aACA,eACmD;;AAEnD,MAAI,CAAC,YACH,QAAO;EAGT,MAAM,aAAa,mBAAmB,YAAY;EAClD,MAAM,UAAU,oBAAoB,YAAY;AAEhD,SAAO,MAAM,cAAc,WAAW,QAAQ,iBAAiB,UAAU;EAEzE,MAAM,WAAW,MAAM,KAAK,0BAA0B,YAAY,QAAQ;AAC1E,MAAI,CAAC,SAAS,UAAU,OACtB,QAAO;EAET,MAAM,WAAW,SAAS,SAAS,KAAK,aAAa,EAAE,SAAS,EAAE;AAElE,SAAO,MACL,SAAS,SAAS,OAAO,oBAAoB,WAAW,QAAQ,iBAAiB,UAClF;EAED,MAAM,wBAAwB,yBAAyB,SAAS;EAChE,MAAM,iBACJ,yBACC,MAAM,kBACL,KAAK,MACL,YACA,SACA,sBACD;EAEH,MAAM,SAAwB;GAC5B,GAAG;GACH,GAAG;GACH;GACD;AACD,MAAI,SAAS,MAAM;AACjB,UAAO,OAAO,SAAS;AACvB,OAAI,OAAO,KAAK,QAAQ;AACtB,WAAO,MAAM,yCAAyC,cAAc;AACpE,WAAO,gBAAgB;;;AAI3B,MAAI,CAAC,KAAK,oBAAoB,SAAS,YAAY,CACjD,QAAO,YAAY;AAGrB,SAAO;;CAGT,MAAe,mBACb,EAAE,aAAa,eACf,SACmC;EACnC,MAAM,EAAE,SAAS,gBAAgB;EACjC,MAAM,WAAW,cACb,sBAAsB,YAAY,GAAG,YAAY,GAAG,YAAY,GAAG,YACnE,sBAAsB,YAAY,GAAG,YAAY,GAAG;EACxD,MAAM,eAAe,MAAMC,IACzB,uCACA,SACD;;AAGD,MAAI,aACF,QAAO;AAGT,MAAI,CAAC,eAAe,CAAC,YACnB,QAAO;EAGT,MAAM,aAAa,mBAAmB,YAAY;EASlD,MAAM,cAAc,YAAY,YAAY,aAP7B,MAAM,0BACnB,KAAK,MACL,QAAQ,eAAe,QAAQ,SAC/B,YACA,YACD,CAE+D;EAEhE,MAAM,EAAE,KAAK,SADO,MAAM,cAAc,KAAK,MAAM,YAAY,EAC9B,QAAQ;AAEzC,MAAI,KAAK;GACP,MAAM,SACJ,IAAI,SAAS,cAAc,WAAW;AACxC,OAAI,WAAW,SACb,OAAMC,IACJ,uCACA,UACA,QACA,KACD;AAEH,UAAO;;AAGT,MAAI,IAAI,aACN,SAAQ,mBAAmB,YAAY,IAAI,aAAa;AAG1D,SAAO"}
1
+ {"version":3,"file":"index.js","names":["mavenVersion","mavenVersioning.id","packageCache.get","packageCache.set"],"sources":["../../../../lib/modules/datasource/maven/index.ts"],"sourcesContent":["import type { XmlDocument } from 'xmldoc';\nimport { logger } from '../../../logger/index.ts';\nimport * as packageCache from '../../../util/cache/package/index.ts';\nimport { asTimestamp } from '../../../util/timestamp.ts';\nimport { ensureTrailingSlash } from '../../../util/url.ts';\nimport { compare } from '../../versioning/maven/compare.ts';\nimport mavenVersion, * as mavenVersioning from '../../versioning/maven/index.ts';\nimport { Datasource } from '../datasource.ts';\nimport type {\n GetReleasesConfig,\n PostprocessReleaseConfig,\n PostprocessReleaseResult,\n RegistryStrategy,\n Release,\n ReleaseResult,\n} from '../types.ts';\nimport { MAVEN_CENTRAL_URLS, MAVEN_REPO } from './common.ts';\nimport type { MavenDependency, MetadataResults } from './types.ts';\nimport {\n createUrlForDependencyPom,\n downloadMaven,\n downloadMavenXml,\n getDependencyInfo,\n getDependencyParts,\n getMavenUrl,\n} from './util.ts';\n\nfunction getLatestSuitableVersion(releases: Release[]): string | null {\n /* v8 ignore next 3 -- TODO: add test */\n if (!releases?.length) {\n return null;\n }\n const allVersions = releases.map(({ version }) => version);\n const stableVersions = allVersions.filter((x) => mavenVersion.isStable(x));\n const versions = stableVersions.length ? stableVersions : allVersions;\n return versions.reduce((latestVersion, version) =>\n compare(version, latestVersion) === 1\n ? version\n : /* istanbul ignore next: hard to test */ latestVersion,\n );\n}\n\nfunction extractVersions(metadata: XmlDocument): MetadataResults {\n const res: MetadataResults = {};\n const versions = metadata.descendantWithPath('versioning.versions');\n const elements = versions?.childrenNamed('version');\n if (!elements) {\n return res;\n }\n res.versions = elements.map((el) => el.val);\n const latest = metadata.descendantWithPath('versioning.latest');\n if (latest?.val) {\n res.tags ??= {};\n res.tags.latest = latest.val;\n }\n const release = metadata.descendantWithPath('versioning.release');\n if (release?.val) {\n res.tags ??= {};\n res.tags.release = release.val;\n }\n\n return res;\n}\n\nexport const defaultRegistryUrls = [MAVEN_REPO];\n\nexport class MavenDatasource extends Datasource {\n static id = 'maven';\n\n override readonly caching = true;\n\n override readonly defaultRegistryUrls = defaultRegistryUrls;\n\n override readonly defaultVersioning: string = mavenVersioning.id;\n\n override readonly registryStrategy: RegistryStrategy = 'merge';\n\n override readonly releaseTimestampSupport = true;\n override readonly releaseTimestampNote =\n 'The release timestamp is determined from the `Last-Modified` header or the `lastModified` field in the results.';\n override readonly sourceUrlSupport = 'package';\n override readonly sourceUrlNote =\n 'The source URL is determined from the `scm` tags in the results.';\n\n constructor(id = MavenDatasource.id) {\n super(id);\n }\n\n async fetchVersionsFromMetadata(\n dependency: MavenDependency,\n repoUrl: string,\n ): Promise<MetadataResults> {\n const metadataUrl = getMavenUrl(dependency, repoUrl, 'maven-metadata.xml');\n const metadataXmlResult = await downloadMavenXml(this.http, metadataUrl);\n return metadataXmlResult\n .transform(({ data: metadata }) => extractVersions(metadata))\n .onError((err) => {\n logger.debug(\n `Maven: error fetching versions for \"${dependency.display}\": ${err.type}`,\n );\n })\n .unwrapOr({});\n }\n\n async getReleases({\n packageName,\n registryUrl,\n }: GetReleasesConfig): Promise<ReleaseResult | null> {\n /* v8 ignore next 3 -- should never happen */\n if (!registryUrl) {\n return null;\n }\n\n const dependency = getDependencyParts(packageName);\n const repoUrl = ensureTrailingSlash(registryUrl);\n\n if (\n // groupId\n (packageName.includes('.gradle.plugin:') ||\n // artifactId\n packageName.endsWith('.gradle.plugin')) &&\n MAVEN_CENTRAL_URLS.some((url) => repoUrl === ensureTrailingSlash(url))\n ) {\n logger.debug(\n `Maven: skipping Maven Central for suspected Gradle plugin \"${packageName}\"`,\n );\n return null;\n }\n\n logger.debug(`Looking up ${dependency.display} in repository ${repoUrl}`);\n\n const metadata = await this.fetchVersionsFromMetadata(dependency, repoUrl);\n if (!metadata.versions?.length) {\n return null;\n }\n const releases = metadata.versions.map((version) => ({ version }));\n\n logger.debug(\n `Found ${releases.length} new releases for ${dependency.display} in repository ${repoUrl}`,\n );\n\n const latestSuitableVersion = getLatestSuitableVersion(releases);\n const dependencyInfo =\n latestSuitableVersion &&\n (await getDependencyInfo(\n this.http,\n dependency,\n repoUrl,\n latestSuitableVersion,\n ));\n\n const result: ReleaseResult = {\n ...dependency,\n ...dependencyInfo,\n releases,\n };\n if (metadata.tags) {\n result.tags = metadata.tags;\n if (result.tags.latest) {\n logger.debug(`Setting respectLatest=false for maven ${packageName}`);\n result.respectLatest = false;\n }\n }\n\n if (!this.defaultRegistryUrls.includes(registryUrl)) {\n result.isPrivate = true;\n }\n\n return result;\n }\n\n override async postprocessRelease(\n { packageName, registryUrl }: PostprocessReleaseConfig,\n release: Release,\n ): Promise<PostprocessReleaseResult> {\n const { version, versionOrig } = release;\n const cacheKey = versionOrig\n ? `postprocessRelease:${registryUrl}:${packageName}:${versionOrig}:${version}`\n : `postprocessRelease:${registryUrl}:${packageName}:${version}`;\n const cachedResult = await packageCache.get<PostprocessReleaseResult>(\n 'datasource-maven:postprocess-reject',\n cacheKey,\n );\n\n /* v8 ignore if: hard to test */\n if (cachedResult) {\n return cachedResult;\n }\n\n if (!packageName || !registryUrl) {\n return release;\n }\n\n const dependency = getDependencyParts(packageName);\n\n const pomUrl = await createUrlForDependencyPom(\n this.http,\n release.versionOrig ?? release.version,\n dependency,\n registryUrl,\n );\n\n const artifactUrl = getMavenUrl(dependency, registryUrl, pomUrl);\n const fetchResult = await downloadMaven(this.http, artifactUrl);\n const { val, err } = fetchResult.unwrap();\n\n if (err) {\n const result: PostprocessReleaseResult =\n err.type === 'not-found' ? 'reject' : release;\n if (result === 'reject') {\n await packageCache.set(\n 'datasource-maven:postprocess-reject',\n cacheKey,\n result,\n 24 * 60,\n );\n }\n return result;\n }\n\n if (val.lastModified) {\n release.releaseTimestamp = asTimestamp(val.lastModified);\n }\n\n return release;\n }\n}\n"],"mappings":";;;;;;;;;;AA2BA,SAAS,yBAAyB,UAAoC;;CAEpE,IAAI,CAAC,UAAU,QACb,OAAO;CAET,MAAM,cAAc,SAAS,KAAK,EAAE,cAAc,OAAO;CACzD,MAAM,iBAAiB,YAAY,QAAQ,MAAMA,IAAa,SAAS,CAAC,CAAC;CAEzE,QADiB,eAAe,SAAS,iBAAiB,YAAA,CAC1C,QAAQ,eAAe,YACrC,QAAQ,SAAS,aAAa,MAAM,IAChC,oDACyC,aAC/C;AACF;AAEA,SAAS,gBAAgB,UAAwC;CAC/D,MAAM,MAAuB,CAAC;CAE9B,MAAM,WADW,SAAS,mBAAmB,qBACrB,CAAC,EAAE,cAAc,SAAS;CAClD,IAAI,CAAC,UACH,OAAO;CAET,IAAI,WAAW,SAAS,KAAK,OAAO,GAAG,GAAG;CAC1C,MAAM,SAAS,SAAS,mBAAmB,mBAAmB;CAC9D,IAAI,QAAQ,KAAK;EACf,IAAI,SAAS,CAAC;EACd,IAAI,KAAK,SAAS,OAAO;CAC3B;CACA,MAAM,UAAU,SAAS,mBAAmB,oBAAoB;CAChE,IAAI,SAAS,KAAK;EAChB,IAAI,SAAS,CAAC;EACd,IAAI,KAAK,UAAU,QAAQ;CAC7B;CAEA,OAAO;AACT;AAEA,MAAa,sBAAsB,CAAC,UAAU;AAE9C,IAAa,kBAAb,MAAa,wBAAwB,WAAW;CAC9C,OAAO,KAAK;CAEZ,UAA4B;CAE5B,sBAAwC;CAExC,oBAA8CC;CAE9C,mBAAuD;CAEvD,0BAA4C;CAC5C,uBACE;CACF,mBAAqC;CACrC,gBACE;CAEF,YAAY,KAAK,gBAAgB,IAAI;EACnC,MAAM,EAAE;CACV;CAEA,MAAM,0BACJ,YACA,SAC0B;EAC1B,MAAM,cAAc,YAAY,YAAY,SAAS,oBAAoB;EAEzE,QAAO,MADyB,iBAAiB,KAAK,MAAM,WAAW,EAAA,CAEpE,WAAW,EAAE,MAAM,eAAe,gBAAgB,QAAQ,CAAC,CAAC,CAC5D,SAAS,QAAQ;GAChB,OAAO,MACL,uCAAuC,WAAW,QAAQ,KAAK,IAAI,MACrE;EACF,CAAC,CAAC,CACD,SAAS,CAAC,CAAC;CAChB;CAEA,MAAM,YAAY,EAChB,aACA,eACmD;;EAEnD,IAAI,CAAC,aACH,OAAO;EAGT,MAAM,aAAa,mBAAmB,WAAW;EACjD,MAAM,UAAU,oBAAoB,WAAW;EAE/C,KAEG,YAAY,SAAS,iBAAiB,KAErC,YAAY,SAAS,gBAAgB,MACvC,mBAAmB,MAAM,QAAQ,YAAY,oBAAoB,GAAG,CAAC,GACrE;GACA,OAAO,MACL,8DAA8D,YAAY,EAC5E;GACA,OAAO;EACT;EAEA,OAAO,MAAM,cAAc,WAAW,QAAQ,iBAAiB,SAAS;EAExE,MAAM,WAAW,MAAM,KAAK,0BAA0B,YAAY,OAAO;EACzE,IAAI,CAAC,SAAS,UAAU,QACtB,OAAO;EAET,MAAM,WAAW,SAAS,SAAS,KAAK,aAAa,EAAE,QAAQ,EAAE;EAEjE,OAAO,MACL,SAAS,SAAS,OAAO,oBAAoB,WAAW,QAAQ,iBAAiB,SACnF;EAEA,MAAM,wBAAwB,yBAAyB,QAAQ;EAC/D,MAAM,iBACJ,yBACC,MAAM,kBACL,KAAK,MACL,YACA,SACA,qBACF;EAEF,MAAM,SAAwB;GAC5B,GAAG;GACH,GAAG;GACH;EACF;EACA,IAAI,SAAS,MAAM;GACjB,OAAO,OAAO,SAAS;GACvB,IAAI,OAAO,KAAK,QAAQ;IACtB,OAAO,MAAM,yCAAyC,aAAa;IACnE,OAAO,gBAAgB;GACzB;EACF;EAEA,IAAI,CAAC,KAAK,oBAAoB,SAAS,WAAW,GAChD,OAAO,YAAY;EAGrB,OAAO;CACT;CAEA,MAAe,mBACb,EAAE,aAAa,eACf,SACmC;EACnC,MAAM,EAAE,SAAS,gBAAgB;EACjC,MAAM,WAAW,cACb,sBAAsB,YAAY,GAAG,YAAY,GAAG,YAAY,GAAG,YACnE,sBAAsB,YAAY,GAAG,YAAY,GAAG;EACxD,MAAM,eAAe,MAAMC,IACzB,uCACA,QACF;;EAGA,IAAI,cACF,OAAO;EAGT,IAAI,CAAC,eAAe,CAAC,aACnB,OAAO;EAGT,MAAM,aAAa,mBAAmB,WAAW;EASjD,MAAM,cAAc,YAAY,YAAY,aAAa,MAPpC,0BACnB,KAAK,MACL,QAAQ,eAAe,QAAQ,SAC/B,YACA,WACF,CAE+D;EAE/D,MAAM,EAAE,KAAK,SAAQ,MADK,cAAc,KAAK,MAAM,WAAW,EAAA,CAC7B,OAAO;EAExC,IAAI,KAAK;GACP,MAAM,SACJ,IAAI,SAAS,cAAc,WAAW;GACxC,IAAI,WAAW,UACb,MAAMC,IACJ,uCACA,UACA,QACA,IACF;GAEF,OAAO;EACT;EAEA,IAAI,IAAI,cACN,QAAQ,mBAAmB,YAAY,IAAI,YAAY;EAGzD,OAAO;CACT;AACF"}
@@ -0,0 +1,128 @@
1
+ import { z } from "zod/v4";
2
+ import { XmlDocument } from "xmldoc";
3
+ //#region lib/modules/datasource/maven/schema.ts
4
+ const xmlHeader = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
5
+ function escapeXml(value) {
6
+ return value.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
7
+ }
8
+ var XmlWriter = class {
9
+ lines = [];
10
+ level;
11
+ constructor(level = 0) {
12
+ this.level = level;
13
+ }
14
+ value(name, value) {
15
+ if (value === void 0) return;
16
+ this.lines.push(`${this.indent()}<${name}>${escapeXml(value)}</${name}>`);
17
+ }
18
+ node(name, renderChildren) {
19
+ this.renderNode(name, renderChildren, false);
20
+ }
21
+ nodeOrEmpty(name, renderChildren) {
22
+ this.renderNode(name, renderChildren, true);
23
+ }
24
+ hasContent() {
25
+ return this.lines.length > 0;
26
+ }
27
+ toString() {
28
+ return this.lines.join("\n");
29
+ }
30
+ renderNode(name, renderChildren, preserveEmpty) {
31
+ const contentStart = this.lines.length;
32
+ this.level += 1;
33
+ renderChildren(this);
34
+ this.level -= 1;
35
+ const content = this.lines.splice(contentStart);
36
+ if (!content.length) {
37
+ if (preserveEmpty) this.lines.push(`${this.indent()}<${name} />`);
38
+ return;
39
+ }
40
+ this.lines.push(`${this.indent()}<${name}>`, ...content, `${this.indent()}</${name}>`);
41
+ }
42
+ indent() {
43
+ return " ".repeat(this.level);
44
+ }
45
+ };
46
+ function shrinkToUsefulSize(original, trimmed) {
47
+ if (trimmed.length >= original.length) return original;
48
+ return trimmed;
49
+ }
50
+ function renderRelocationNode(xml, relocation) {
51
+ if (!relocation) return;
52
+ xml.nodeOrEmpty("relocation", () => {
53
+ xml.value("groupId", relocation.valueWithPath("groupId"));
54
+ xml.value("artifactId", relocation.valueWithPath("artifactId"));
55
+ xml.value("version", relocation.valueWithPath("version"));
56
+ xml.value("message", relocation.valueWithPath("message"));
57
+ });
58
+ }
59
+ function trimMetadataXml(metadata, input) {
60
+ const version = metadata.descendantWithPath("version")?.val;
61
+ const latest = metadata.descendantWithPath("versioning.latest")?.val;
62
+ const release = metadata.descendantWithPath("versioning.release")?.val;
63
+ const versions = metadata.descendantWithPath("versioning.versions")?.childrenNamed("version").map((child) => child.val) ?? [];
64
+ const snapshot = metadata.descendantWithPath("versioning.snapshot");
65
+ const timestamp = snapshot?.childNamed("timestamp")?.val;
66
+ const buildNumber = snapshot?.childNamed("buildNumber")?.val;
67
+ const xml = new XmlWriter();
68
+ xml.node("metadata", () => {
69
+ xml.value("version", version);
70
+ xml.node("versioning", () => {
71
+ xml.value("latest", latest);
72
+ xml.value("release", release);
73
+ xml.node("versions", () => {
74
+ for (const trimmedVersion of versions) xml.value("version", trimmedVersion);
75
+ });
76
+ xml.node("snapshot", () => {
77
+ xml.value("timestamp", timestamp);
78
+ xml.value("buildNumber", buildNumber);
79
+ });
80
+ });
81
+ });
82
+ if (!xml.hasContent()) return input;
83
+ return shrinkToUsefulSize(input, [xmlHeader, xml.toString()].join("\n"));
84
+ }
85
+ function trimPomXml(project, input) {
86
+ const homepage = project.valueWithPath("url");
87
+ const sourceUrl = project.valueWithPath("scm.url");
88
+ const groupId = project.valueWithPath("groupId");
89
+ const relocation = project.descendantWithPath("distributionManagement.relocation");
90
+ const parent = project.childNamed("parent");
91
+ const xml = new XmlWriter();
92
+ xml.node("project", () => {
93
+ xml.value("groupId", groupId);
94
+ xml.value("url", homepage);
95
+ xml.node("scm", () => {
96
+ xml.value("url", sourceUrl);
97
+ });
98
+ xml.node("distributionManagement", () => {
99
+ renderRelocationNode(xml, relocation);
100
+ });
101
+ xml.node("parent", () => {
102
+ xml.value("groupId", parent?.valueWithPath("groupId"));
103
+ xml.value("artifactId", parent?.valueWithPath("artifactId"));
104
+ xml.value("version", parent?.valueWithPath("version"));
105
+ });
106
+ });
107
+ if (!xml.hasContent()) return input;
108
+ return shrinkToUsefulSize(input, [xmlHeader, xml.toString()].join("\n"));
109
+ }
110
+ function trimMavenXml(input) {
111
+ let parsed;
112
+ try {
113
+ parsed = new XmlDocument(input);
114
+ } catch {
115
+ return input;
116
+ }
117
+ if (parsed.name.includes(":")) return input;
118
+ switch (parsed.name) {
119
+ case "metadata": return trimMetadataXml(parsed, input);
120
+ case "project": return trimPomXml(parsed, input);
121
+ default: return input;
122
+ }
123
+ }
124
+ const CachedMavenXml = z.string().transform(trimMavenXml);
125
+ //#endregion
126
+ export { CachedMavenXml, trimMavenXml };
127
+
128
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","names":[],"sources":["../../../../lib/modules/datasource/maven/schema.ts"],"sourcesContent":["import { XmlDocument, type XmlElement } from 'xmldoc';\nimport { z } from 'zod/v4';\n\nconst xmlHeader = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>';\n\nfunction escapeXml(value: string): string {\n return value\n .replaceAll('&', '&amp;')\n .replaceAll('<', '&lt;')\n .replaceAll('>', '&gt;');\n}\n\nclass XmlWriter {\n private lines: string[] = [];\n private level: number;\n\n constructor(level = 0) {\n this.level = level;\n }\n\n value(name: string, value: string | undefined): void {\n if (value === undefined) {\n return;\n }\n\n this.lines.push(`${this.indent()}<${name}>${escapeXml(value)}</${name}>`);\n }\n\n node(name: string, renderChildren: (xml: XmlWriter) => void): void {\n this.renderNode(name, renderChildren, false);\n }\n\n nodeOrEmpty(name: string, renderChildren: (xml: XmlWriter) => void): void {\n this.renderNode(name, renderChildren, true);\n }\n\n hasContent(): boolean {\n return this.lines.length > 0;\n }\n\n toString(): string {\n return this.lines.join('\\n');\n }\n\n private renderNode(\n name: string,\n renderChildren: (xml: XmlWriter) => void,\n preserveEmpty: boolean,\n ): void {\n const contentStart = this.lines.length;\n this.level += 1;\n renderChildren(this);\n this.level -= 1;\n\n const content = this.lines.splice(contentStart);\n\n if (!content.length) {\n if (preserveEmpty) {\n this.lines.push(`${this.indent()}<${name} />`);\n }\n\n return;\n }\n\n this.lines.push(\n `${this.indent()}<${name}>`,\n ...content,\n `${this.indent()}</${name}>`,\n );\n }\n\n private indent(): string {\n return ' '.repeat(this.level);\n }\n}\n\nfunction shrinkToUsefulSize(original: string, trimmed: string): string {\n if (trimmed.length >= original.length) {\n return original;\n }\n\n return trimmed;\n}\n\nfunction renderRelocationNode(\n xml: XmlWriter,\n relocation: XmlElement | undefined,\n): void {\n if (!relocation) {\n return;\n }\n\n xml.nodeOrEmpty('relocation', () => {\n xml.value('groupId', relocation.valueWithPath('groupId'));\n xml.value('artifactId', relocation.valueWithPath('artifactId'));\n xml.value('version', relocation.valueWithPath('version'));\n xml.value('message', relocation.valueWithPath('message'));\n });\n}\n\nfunction trimMetadataXml(metadata: XmlDocument, input: string): string {\n const version = metadata.descendantWithPath('version')?.val;\n const latest = metadata.descendantWithPath('versioning.latest')?.val;\n const release = metadata.descendantWithPath('versioning.release')?.val;\n const versions =\n metadata\n .descendantWithPath('versioning.versions')\n ?.childrenNamed('version')\n .map((child) => child.val) ?? [];\n const snapshot = metadata.descendantWithPath('versioning.snapshot');\n const timestamp = snapshot?.childNamed('timestamp')?.val;\n const buildNumber = snapshot?.childNamed('buildNumber')?.val;\n\n const xml = new XmlWriter();\n xml.node('metadata', () => {\n xml.value('version', version);\n xml.node('versioning', () => {\n xml.value('latest', latest);\n xml.value('release', release);\n xml.node('versions', () => {\n for (const trimmedVersion of versions) {\n xml.value('version', trimmedVersion);\n }\n });\n xml.node('snapshot', () => {\n xml.value('timestamp', timestamp);\n xml.value('buildNumber', buildNumber);\n });\n });\n });\n\n if (!xml.hasContent()) {\n return input;\n }\n\n return shrinkToUsefulSize(input, [xmlHeader, xml.toString()].join('\\n'));\n}\n\nfunction trimPomXml(project: XmlDocument, input: string): string {\n const homepage = project.valueWithPath('url');\n const sourceUrl = project.valueWithPath('scm.url');\n const groupId = project.valueWithPath('groupId');\n const relocation = project.descendantWithPath(\n 'distributionManagement.relocation',\n );\n const parent = project.childNamed('parent');\n\n const xml = new XmlWriter();\n xml.node('project', () => {\n xml.value('groupId', groupId);\n xml.value('url', homepage);\n xml.node('scm', () => {\n xml.value('url', sourceUrl);\n });\n xml.node('distributionManagement', () => {\n renderRelocationNode(xml, relocation);\n });\n xml.node('parent', () => {\n xml.value('groupId', parent?.valueWithPath('groupId'));\n xml.value('artifactId', parent?.valueWithPath('artifactId'));\n xml.value('version', parent?.valueWithPath('version'));\n });\n });\n\n if (!xml.hasContent()) {\n return input;\n }\n\n return shrinkToUsefulSize(input, [xmlHeader, xml.toString()].join('\\n'));\n}\n\nexport function trimMavenXml(input: string): string {\n let parsed: XmlDocument;\n try {\n parsed = new XmlDocument(input);\n } catch {\n return input;\n }\n\n if (parsed.name.includes(':')) {\n return input;\n }\n\n switch (parsed.name) {\n case 'metadata':\n return trimMetadataXml(parsed, input);\n case 'project':\n return trimPomXml(parsed, input);\n default:\n return input;\n }\n}\n\nexport const CachedMavenXml = z.string().transform(trimMavenXml);\n"],"mappings":";;;AAGA,MAAM,YAAY;AAElB,SAAS,UAAU,OAAuB;CACxC,OAAO,MACJ,WAAW,KAAK,OAAO,CAAC,CACxB,WAAW,KAAK,MAAM,CAAC,CACvB,WAAW,KAAK,MAAM;AAC3B;AAEA,IAAM,YAAN,MAAgB;CACd,QAA0B,CAAC;CAC3B;CAEA,YAAY,QAAQ,GAAG;EACrB,KAAK,QAAQ;CACf;CAEA,MAAM,MAAc,OAAiC;EACnD,IAAI,UAAU,KAAA,GACZ;EAGF,KAAK,MAAM,KAAK,GAAG,KAAK,OAAO,EAAE,GAAG,KAAK,GAAG,UAAU,KAAK,EAAE,IAAI,KAAK,EAAE;CAC1E;CAEA,KAAK,MAAc,gBAAgD;EACjE,KAAK,WAAW,MAAM,gBAAgB,KAAK;CAC7C;CAEA,YAAY,MAAc,gBAAgD;EACxE,KAAK,WAAW,MAAM,gBAAgB,IAAI;CAC5C;CAEA,aAAsB;EACpB,OAAO,KAAK,MAAM,SAAS;CAC7B;CAEA,WAAmB;EACjB,OAAO,KAAK,MAAM,KAAK,IAAI;CAC7B;CAEA,WACE,MACA,gBACA,eACM;EACN,MAAM,eAAe,KAAK,MAAM;EAChC,KAAK,SAAS;EACd,eAAe,IAAI;EACnB,KAAK,SAAS;EAEd,MAAM,UAAU,KAAK,MAAM,OAAO,YAAY;EAE9C,IAAI,CAAC,QAAQ,QAAQ;GACnB,IAAI,eACF,KAAK,MAAM,KAAK,GAAG,KAAK,OAAO,EAAE,GAAG,KAAK,IAAI;GAG/C;EACF;EAEA,KAAK,MAAM,KACT,GAAG,KAAK,OAAO,EAAE,GAAG,KAAK,IACzB,GAAG,SACH,GAAG,KAAK,OAAO,EAAE,IAAI,KAAK,EAC5B;CACF;CAEA,SAAyB;EACvB,OAAO,KAAK,OAAO,KAAK,KAAK;CAC/B;AACF;AAEA,SAAS,mBAAmB,UAAkB,SAAyB;CACrE,IAAI,QAAQ,UAAU,SAAS,QAC7B,OAAO;CAGT,OAAO;AACT;AAEA,SAAS,qBACP,KACA,YACM;CACN,IAAI,CAAC,YACH;CAGF,IAAI,YAAY,oBAAoB;EAClC,IAAI,MAAM,WAAW,WAAW,cAAc,SAAS,CAAC;EACxD,IAAI,MAAM,cAAc,WAAW,cAAc,YAAY,CAAC;EAC9D,IAAI,MAAM,WAAW,WAAW,cAAc,SAAS,CAAC;EACxD,IAAI,MAAM,WAAW,WAAW,cAAc,SAAS,CAAC;CAC1D,CAAC;AACH;AAEA,SAAS,gBAAgB,UAAuB,OAAuB;CACrE,MAAM,UAAU,SAAS,mBAAmB,SAAS,CAAC,EAAE;CACxD,MAAM,SAAS,SAAS,mBAAmB,mBAAmB,CAAC,EAAE;CACjE,MAAM,UAAU,SAAS,mBAAmB,oBAAoB,CAAC,EAAE;CACnE,MAAM,WACJ,SACG,mBAAmB,qBAAqB,CAAC,EACxC,cAAc,SAAS,CAAC,CACzB,KAAK,UAAU,MAAM,GAAG,KAAK,CAAC;CACnC,MAAM,WAAW,SAAS,mBAAmB,qBAAqB;CAClE,MAAM,YAAY,UAAU,WAAW,WAAW,CAAC,EAAE;CACrD,MAAM,cAAc,UAAU,WAAW,aAAa,CAAC,EAAE;CAEzD,MAAM,MAAM,IAAI,UAAU;CAC1B,IAAI,KAAK,kBAAkB;EACzB,IAAI,MAAM,WAAW,OAAO;EAC5B,IAAI,KAAK,oBAAoB;GAC3B,IAAI,MAAM,UAAU,MAAM;GAC1B,IAAI,MAAM,WAAW,OAAO;GAC5B,IAAI,KAAK,kBAAkB;IACzB,KAAK,MAAM,kBAAkB,UAC3B,IAAI,MAAM,WAAW,cAAc;GAEvC,CAAC;GACD,IAAI,KAAK,kBAAkB;IACzB,IAAI,MAAM,aAAa,SAAS;IAChC,IAAI,MAAM,eAAe,WAAW;GACtC,CAAC;EACH,CAAC;CACH,CAAC;CAED,IAAI,CAAC,IAAI,WAAW,GAClB,OAAO;CAGT,OAAO,mBAAmB,OAAO,CAAC,WAAW,IAAI,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;AACzE;AAEA,SAAS,WAAW,SAAsB,OAAuB;CAC/D,MAAM,WAAW,QAAQ,cAAc,KAAK;CAC5C,MAAM,YAAY,QAAQ,cAAc,SAAS;CACjD,MAAM,UAAU,QAAQ,cAAc,SAAS;CAC/C,MAAM,aAAa,QAAQ,mBACzB,mCACF;CACA,MAAM,SAAS,QAAQ,WAAW,QAAQ;CAE1C,MAAM,MAAM,IAAI,UAAU;CAC1B,IAAI,KAAK,iBAAiB;EACxB,IAAI,MAAM,WAAW,OAAO;EAC5B,IAAI,MAAM,OAAO,QAAQ;EACzB,IAAI,KAAK,aAAa;GACpB,IAAI,MAAM,OAAO,SAAS;EAC5B,CAAC;EACD,IAAI,KAAK,gCAAgC;GACvC,qBAAqB,KAAK,UAAU;EACtC,CAAC;EACD,IAAI,KAAK,gBAAgB;GACvB,IAAI,MAAM,WAAW,QAAQ,cAAc,SAAS,CAAC;GACrD,IAAI,MAAM,cAAc,QAAQ,cAAc,YAAY,CAAC;GAC3D,IAAI,MAAM,WAAW,QAAQ,cAAc,SAAS,CAAC;EACvD,CAAC;CACH,CAAC;CAED,IAAI,CAAC,IAAI,WAAW,GAClB,OAAO;CAGT,OAAO,mBAAmB,OAAO,CAAC,WAAW,IAAI,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;AACzE;AAEA,SAAgB,aAAa,OAAuB;CAClD,IAAI;CACJ,IAAI;EACF,SAAS,IAAI,YAAY,KAAK;CAChC,QAAQ;EACN,OAAO;CACT;CAEA,IAAI,OAAO,KAAK,SAAS,GAAG,GAC1B,OAAO;CAGT,QAAQ,OAAO,MAAf;EACE,KAAK,YACH,OAAO,gBAAgB,QAAQ,KAAK;EACtC,KAAK,WACH,OAAO,WAAW,QAAQ,KAAK;EACjC,SACE,OAAO;CACX;AACF;AAEA,MAAa,iBAAiB,EAAE,OAAO,CAAC,CAAC,UAAU,YAAY"}