renovate 40.0.0-next.9 → 40.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 (816) hide show
  1. package/dist/config/decrypt/legacy.js +0 -1
  2. package/dist/config/decrypt/legacy.js.map +1 -1
  3. package/dist/config/decrypt.d.ts +3 -1
  4. package/dist/config/decrypt.js +56 -13
  5. package/dist/config/decrypt.js.map +1 -1
  6. package/dist/config/global.js +0 -1
  7. package/dist/config/global.js.map +1 -1
  8. package/dist/config/migrate-validate.js +3 -2
  9. package/dist/config/migrate-validate.js.map +1 -1
  10. package/dist/config/migration.js +2 -1
  11. package/dist/config/migration.js.map +1 -1
  12. package/dist/config/migrations/custom/rebase-stale-prs-migration.js +1 -1
  13. package/dist/config/migrations/custom/rebase-stale-prs-migration.js.map +1 -1
  14. package/dist/config/migrations/migrations-service.js +3 -2
  15. package/dist/config/migrations/migrations-service.js.map +1 -1
  16. package/dist/config/options/index.js +18 -11
  17. package/dist/config/options/index.js.map +1 -1
  18. package/dist/config/parse.js +2 -2
  19. package/dist/config/parse.js.map +1 -1
  20. package/dist/config/presets/common.js +1 -0
  21. package/dist/config/presets/common.js.map +1 -1
  22. package/dist/config/presets/gitea/index.js +0 -1
  23. package/dist/config/presets/gitea/index.js.map +1 -1
  24. package/dist/config/presets/github/index.js +4 -2
  25. package/dist/config/presets/github/index.js.map +1 -1
  26. package/dist/config/presets/gitlab/index.js +1 -1
  27. package/dist/config/presets/gitlab/index.js.map +1 -1
  28. package/dist/config/presets/http/index.js +2 -2
  29. package/dist/config/presets/http/index.js.map +1 -1
  30. package/dist/config/presets/index.js +0 -7
  31. package/dist/config/presets/index.js.map +1 -1
  32. package/dist/config/presets/internal/custom-managers.js +18 -4
  33. package/dist/config/presets/internal/custom-managers.js.map +1 -1
  34. package/dist/config/presets/internal/group.js +30 -1
  35. package/dist/config/presets/internal/group.js.map +1 -1
  36. package/dist/config/presets/internal/index.js +1 -3
  37. package/dist/config/presets/internal/index.js.map +1 -1
  38. package/dist/config/presets/internal/workarounds.js +1 -0
  39. package/dist/config/presets/internal/workarounds.js.map +1 -1
  40. package/dist/config/presets/npm/index.js +4 -1
  41. package/dist/config/presets/npm/index.js.map +1 -1
  42. package/dist/config/presets/parse.js +2 -1
  43. package/dist/config/presets/parse.js.map +1 -1
  44. package/dist/config/schema.d.ts +2 -2
  45. package/dist/config/types.d.ts +4 -2
  46. package/dist/config/types.js.map +1 -1
  47. package/dist/config/validation.js +3 -5
  48. package/dist/config/validation.js.map +1 -1
  49. package/dist/config-validator.js +0 -1
  50. package/dist/config-validator.js.map +1 -1
  51. package/dist/constants/category.js +0 -1
  52. package/dist/constants/category.js.map +1 -1
  53. package/dist/constants/platforms.js +5 -1
  54. package/dist/constants/platforms.js.map +1 -1
  55. package/dist/data/monorepo.json +9 -2
  56. package/dist/data/replacements.json +13 -0
  57. package/dist/data/source-urls.json +1 -0
  58. package/dist/data-files.generated.js +2 -2
  59. package/dist/data-files.generated.js.map +1 -1
  60. package/dist/instrumentation/index.js +39 -15
  61. package/dist/instrumentation/index.js.map +1 -1
  62. package/dist/instrumentation/utils.js +1 -1
  63. package/dist/instrumentation/utils.js.map +1 -1
  64. package/dist/logger/cmd-serializer.js +0 -1
  65. package/dist/logger/cmd-serializer.js.map +1 -1
  66. package/dist/logger/config-serializer.js +0 -1
  67. package/dist/logger/config-serializer.js.map +1 -1
  68. package/dist/logger/index.js +1 -4
  69. package/dist/logger/index.js.map +1 -1
  70. package/dist/logger/once.js +4 -2
  71. package/dist/logger/once.js.map +1 -1
  72. package/dist/logger/pretty-stdout.js +0 -1
  73. package/dist/logger/pretty-stdout.js.map +1 -1
  74. package/dist/logger/renovate-logger.js +1 -1
  75. package/dist/logger/renovate-logger.js.map +1 -1
  76. package/dist/logger/utils.js +5 -10
  77. package/dist/logger/utils.js.map +1 -1
  78. package/dist/modules/datasource/api.js +4 -0
  79. package/dist/modules/datasource/api.js.map +1 -1
  80. package/dist/modules/datasource/artifactory/index.js +1 -2
  81. package/dist/modules/datasource/artifactory/index.js.map +1 -1
  82. package/dist/modules/datasource/aws-eks-addon/index.d.ts +11 -0
  83. package/dist/modules/datasource/aws-eks-addon/index.js +75 -0
  84. package/dist/modules/datasource/aws-eks-addon/index.js.map +1 -0
  85. package/dist/modules/datasource/aws-eks-addon/schema.d.ts +40 -0
  86. package/dist/modules/datasource/aws-eks-addon/schema.js +31 -0
  87. package/dist/modules/datasource/aws-eks-addon/schema.js.map +1 -0
  88. package/dist/modules/datasource/aws-machine-image/index.js +6 -5
  89. package/dist/modules/datasource/aws-machine-image/index.js.map +1 -1
  90. package/dist/modules/datasource/azure-pipelines-tasks/index.js +15 -1
  91. package/dist/modules/datasource/azure-pipelines-tasks/index.js.map +1 -1
  92. package/dist/modules/datasource/azure-pipelines-tasks/schema.d.ts +24 -0
  93. package/dist/modules/datasource/azure-pipelines-tasks/schema.js +3 -0
  94. package/dist/modules/datasource/azure-pipelines-tasks/schema.js.map +1 -1
  95. package/dist/modules/datasource/bazel/index.js +18 -2
  96. package/dist/modules/datasource/bazel/index.js.map +1 -1
  97. package/dist/modules/datasource/bazel/schema.d.ts +1 -0
  98. package/dist/modules/datasource/bazel/schema.js.map +1 -1
  99. package/dist/modules/datasource/bitbucket-server-tags/index.d.ts +19 -0
  100. package/dist/modules/datasource/bitbucket-server-tags/index.js +133 -0
  101. package/dist/modules/datasource/bitbucket-server-tags/index.js.map +1 -0
  102. package/dist/modules/datasource/bitbucket-server-tags/schema.d.ts +28 -0
  103. package/dist/modules/datasource/bitbucket-server-tags/schema.js +13 -0
  104. package/dist/modules/datasource/bitbucket-server-tags/schema.js.map +1 -0
  105. package/dist/modules/datasource/bitrise/index.js +1 -1
  106. package/dist/modules/datasource/bitrise/index.js.map +1 -1
  107. package/dist/modules/datasource/cdnjs/schema.d.ts +2 -2
  108. package/dist/modules/datasource/conda/index.js +18 -1
  109. package/dist/modules/datasource/conda/index.js.map +1 -1
  110. package/dist/modules/datasource/conda/prefix-dev.d.ts +3 -0
  111. package/dist/modules/datasource/conda/prefix-dev.js +81 -0
  112. package/dist/modules/datasource/conda/prefix-dev.js.map +1 -0
  113. package/dist/modules/datasource/conda/schema/prefix-dev.d.ts +189 -0
  114. package/dist/modules/datasource/conda/schema/prefix-dev.js +31 -0
  115. package/dist/modules/datasource/conda/schema/prefix-dev.js.map +1 -0
  116. package/dist/modules/datasource/conda/types.d.ts +1 -20
  117. package/dist/modules/datasource/conda/types.js.map +1 -1
  118. package/dist/modules/datasource/cpan/index.js +2 -4
  119. package/dist/modules/datasource/cpan/index.js.map +1 -1
  120. package/dist/modules/datasource/crate/index.js +3 -3
  121. package/dist/modules/datasource/crate/index.js.map +1 -1
  122. package/dist/modules/datasource/custom/formats/html.js +1 -1
  123. package/dist/modules/datasource/custom/formats/html.js.map +1 -1
  124. package/dist/modules/datasource/custom/formats/yaml.js +1 -1
  125. package/dist/modules/datasource/custom/formats/yaml.js.map +1 -1
  126. package/dist/modules/datasource/custom/index.js +4 -2
  127. package/dist/modules/datasource/custom/index.js.map +1 -1
  128. package/dist/modules/datasource/custom/schema.d.ts +22 -22
  129. package/dist/modules/datasource/custom/utils.js +1 -0
  130. package/dist/modules/datasource/custom/utils.js.map +1 -1
  131. package/dist/modules/datasource/dart/index.js +1 -1
  132. package/dist/modules/datasource/dart/index.js.map +1 -1
  133. package/dist/modules/datasource/dart-version/index.js +1 -1
  134. package/dist/modules/datasource/dart-version/index.js.map +1 -1
  135. package/dist/modules/datasource/datasource.js +0 -1
  136. package/dist/modules/datasource/datasource.js.map +1 -1
  137. package/dist/modules/datasource/deb/index.d.ts +4 -5
  138. package/dist/modules/datasource/deb/index.js +10 -11
  139. package/dist/modules/datasource/deb/index.js.map +1 -1
  140. package/dist/modules/datasource/deb/url.d.ts +3 -3
  141. package/dist/modules/datasource/deb/url.js +17 -13
  142. package/dist/modules/datasource/deb/url.js.map +1 -1
  143. package/dist/modules/datasource/deno/index.js +1 -1
  144. package/dist/modules/datasource/deno/index.js.map +1 -1
  145. package/dist/modules/datasource/deno/schema.d.ts +1 -1
  146. package/dist/modules/datasource/devbox/index.js +0 -1
  147. package/dist/modules/datasource/devbox/index.js.map +1 -1
  148. package/dist/modules/datasource/docker/common.js +5 -2
  149. package/dist/modules/datasource/docker/common.js.map +1 -1
  150. package/dist/modules/datasource/docker/index.js +8 -6
  151. package/dist/modules/datasource/docker/index.js.map +1 -1
  152. package/dist/modules/datasource/docker/schema.d.ts +77 -101
  153. package/dist/modules/datasource/docker/schema.js +2 -1
  154. package/dist/modules/datasource/docker/schema.js.map +1 -1
  155. package/dist/modules/datasource/flutter-version/index.js +1 -1
  156. package/dist/modules/datasource/flutter-version/index.js.map +1 -1
  157. package/dist/modules/datasource/galaxy/schema.d.ts +1 -1
  158. package/dist/modules/datasource/galaxy-collection/schema.d.ts +8 -8
  159. package/dist/modules/datasource/git-refs/index.js +1 -1
  160. package/dist/modules/datasource/git-refs/index.js.map +1 -1
  161. package/dist/modules/datasource/gitea-releases/schema.d.ts +6 -6
  162. package/dist/modules/datasource/gitea-tags/schema.d.ts +4 -4
  163. package/dist/modules/datasource/github-release-attachments/index.js +2 -2
  164. package/dist/modules/datasource/github-release-attachments/index.js.map +1 -1
  165. package/dist/modules/datasource/github-runners/index.js +2 -2
  166. package/dist/modules/datasource/github-runners/index.js.map +1 -1
  167. package/dist/modules/datasource/github-tags/index.js +4 -1
  168. package/dist/modules/datasource/github-tags/index.js.map +1 -1
  169. package/dist/modules/datasource/gitlab-packages/index.js +1 -1
  170. package/dist/modules/datasource/gitlab-packages/index.js.map +1 -1
  171. package/dist/modules/datasource/gitlab-releases/index.js +1 -3
  172. package/dist/modules/datasource/gitlab-releases/index.js.map +1 -1
  173. package/dist/modules/datasource/go/base.js +1 -1
  174. package/dist/modules/datasource/go/base.js.map +1 -1
  175. package/dist/modules/datasource/go/index.js +1 -1
  176. package/dist/modules/datasource/go/index.js.map +1 -1
  177. package/dist/modules/datasource/go/releases-direct.js +7 -4
  178. package/dist/modules/datasource/go/releases-direct.js.map +1 -1
  179. package/dist/modules/datasource/go/releases-goproxy.js +1 -1
  180. package/dist/modules/datasource/go/releases-goproxy.js.map +1 -1
  181. package/dist/modules/datasource/golang-version/index.js +2 -2
  182. package/dist/modules/datasource/golang-version/index.js.map +1 -1
  183. package/dist/modules/datasource/gradle-version/index.js +1 -1
  184. package/dist/modules/datasource/gradle-version/index.js.map +1 -1
  185. package/dist/modules/datasource/helm/index.js +1 -1
  186. package/dist/modules/datasource/helm/index.js.map +1 -1
  187. package/dist/modules/datasource/hex/index.js +1 -1
  188. package/dist/modules/datasource/hex/index.js.map +1 -1
  189. package/dist/modules/datasource/hex/schema.d.ts +11 -11
  190. package/dist/modules/datasource/hexpm-bob/index.js +1 -1
  191. package/dist/modules/datasource/hexpm-bob/index.js.map +1 -1
  192. package/dist/modules/datasource/index.js +46 -5
  193. package/dist/modules/datasource/index.js.map +1 -1
  194. package/dist/modules/datasource/java-version/index.js +0 -1
  195. package/dist/modules/datasource/java-version/index.js.map +1 -1
  196. package/dist/modules/datasource/jenkins-plugins/index.js +1 -1
  197. package/dist/modules/datasource/jenkins-plugins/index.js.map +1 -1
  198. package/dist/modules/datasource/maven/index.d.ts +2 -2
  199. package/dist/modules/datasource/maven/index.js +56 -33
  200. package/dist/modules/datasource/maven/index.js.map +1 -1
  201. package/dist/modules/datasource/maven/types.d.ts +7 -6
  202. package/dist/modules/datasource/maven/types.js.map +1 -1
  203. package/dist/modules/datasource/maven/util.d.ts +4 -5
  204. package/dist/modules/datasource/maven/util.js +94 -157
  205. package/dist/modules/datasource/maven/util.js.map +1 -1
  206. package/dist/modules/datasource/metadata.js +9 -1
  207. package/dist/modules/datasource/metadata.js.map +1 -1
  208. package/dist/modules/datasource/node-version/index.js +1 -1
  209. package/dist/modules/datasource/node-version/index.js.map +1 -1
  210. package/dist/modules/datasource/npm/get.d.ts +0 -1
  211. package/dist/modules/datasource/npm/get.js +14 -68
  212. package/dist/modules/datasource/npm/get.js.map +1 -1
  213. package/dist/modules/datasource/npm/index.js +1 -1
  214. package/dist/modules/datasource/npm/index.js.map +1 -1
  215. package/dist/modules/datasource/npm/npmrc.js +1 -1
  216. package/dist/modules/datasource/npm/npmrc.js.map +1 -1
  217. package/dist/modules/datasource/npm/types.d.ts +0 -8
  218. package/dist/modules/datasource/npm/types.js.map +1 -1
  219. package/dist/modules/datasource/nuget/index.js +1 -1
  220. package/dist/modules/datasource/nuget/index.js.map +1 -1
  221. package/dist/modules/datasource/nuget/v2.js +1 -1
  222. package/dist/modules/datasource/nuget/v2.js.map +1 -1
  223. package/dist/modules/datasource/nuget/v3.js +8 -6
  224. package/dist/modules/datasource/nuget/v3.js.map +1 -1
  225. package/dist/modules/datasource/orb/index.js +1 -1
  226. package/dist/modules/datasource/orb/index.js.map +1 -1
  227. package/dist/modules/datasource/packagist/index.js +2 -2
  228. package/dist/modules/datasource/packagist/index.js.map +1 -1
  229. package/dist/modules/datasource/packagist/schema.d.ts +32 -32
  230. package/dist/modules/datasource/pod/index.js +2 -2
  231. package/dist/modules/datasource/pod/index.js.map +1 -1
  232. package/dist/modules/datasource/postprocess-release.js +1 -1
  233. package/dist/modules/datasource/postprocess-release.js.map +1 -1
  234. package/dist/modules/datasource/pypi/index.js +1 -1
  235. package/dist/modules/datasource/pypi/index.js.map +1 -1
  236. package/dist/modules/datasource/python-version/index.js +1 -1
  237. package/dist/modules/datasource/python-version/index.js.map +1 -1
  238. package/dist/modules/datasource/repology/index.js +1 -1
  239. package/dist/modules/datasource/repology/index.js.map +1 -1
  240. package/dist/modules/datasource/ruby-version/index.js +1 -1
  241. package/dist/modules/datasource/ruby-version/index.js.map +1 -1
  242. package/dist/modules/datasource/rubygems/index.js +2 -2
  243. package/dist/modules/datasource/rubygems/index.js.map +1 -1
  244. package/dist/modules/datasource/rubygems/versions-endpoint-cache.js +2 -2
  245. package/dist/modules/datasource/rubygems/versions-endpoint-cache.js.map +1 -1
  246. package/dist/modules/datasource/sbt-package/index.js +1 -1
  247. package/dist/modules/datasource/sbt-package/index.js.map +1 -1
  248. package/dist/modules/datasource/sbt-plugin/index.js +1 -1
  249. package/dist/modules/datasource/sbt-plugin/index.js.map +1 -1
  250. package/dist/modules/datasource/schema.d.ts +4 -4
  251. package/dist/modules/datasource/terraform-module/index.js +1 -1
  252. package/dist/modules/datasource/terraform-module/index.js.map +1 -1
  253. package/dist/modules/datasource/terraform-provider/index.js +2 -3
  254. package/dist/modules/datasource/terraform-provider/index.js.map +1 -1
  255. package/dist/modules/datasource/types.d.ts +2 -0
  256. package/dist/modules/datasource/types.js.map +1 -1
  257. package/dist/modules/manager/api.js +2 -0
  258. package/dist/modules/manager/api.js.map +1 -1
  259. package/dist/modules/manager/argocd/extract.js +1 -1
  260. package/dist/modules/manager/argocd/extract.js.map +1 -1
  261. package/dist/modules/manager/argocd/schema.d.ts +22 -22
  262. package/dist/modules/manager/asdf/upgradeable-tooling.js +94 -0
  263. package/dist/modules/manager/asdf/upgradeable-tooling.js.map +1 -1
  264. package/dist/modules/manager/azure-pipelines/schema.d.ts +32 -32
  265. package/dist/modules/manager/batect/schema.d.ts +4 -4
  266. package/dist/modules/manager/batect-wrapper/artifacts.js +1 -1
  267. package/dist/modules/manager/batect-wrapper/artifacts.js.map +1 -1
  268. package/dist/modules/manager/bazel/rules/docker.d.ts +6 -6
  269. package/dist/modules/manager/bazel/rules/git.d.ts +10 -10
  270. package/dist/modules/manager/bazel/rules/git.js +9 -2
  271. package/dist/modules/manager/bazel/rules/git.js.map +1 -1
  272. package/dist/modules/manager/bazel/rules/go.d.ts +5 -5
  273. package/dist/modules/manager/bazel/rules/maven.d.ts +7 -7
  274. package/dist/modules/manager/bazel/rules/oci.d.ts +6 -6
  275. package/dist/modules/manager/bazel-module/parser/fragments.d.ts +40 -40
  276. package/dist/modules/manager/bazel-module/parser/maven.d.ts +44 -90
  277. package/dist/modules/manager/bazel-module/parser/oci.d.ts +19 -42
  278. package/dist/modules/manager/bazel-module/rules.d.ts +50 -160
  279. package/dist/modules/manager/buildpacks/extract.d.ts +6 -1
  280. package/dist/modules/manager/buildpacks/extract.js +24 -14
  281. package/dist/modules/manager/buildpacks/extract.js.map +1 -1
  282. package/dist/modules/manager/bun/artifacts.js +0 -1
  283. package/dist/modules/manager/bun/artifacts.js.map +1 -1
  284. package/dist/modules/manager/bun/extract.d.ts +1 -0
  285. package/dist/modules/manager/bun/extract.js +53 -27
  286. package/dist/modules/manager/bun/extract.js.map +1 -1
  287. package/dist/modules/manager/bun/index.js +1 -1
  288. package/dist/modules/manager/bun/index.js.map +1 -1
  289. package/dist/modules/manager/bun/utils.d.ts +2 -0
  290. package/dist/modules/manager/bun/utils.js +22 -0
  291. package/dist/modules/manager/bun/utils.js.map +1 -0
  292. package/dist/modules/manager/bundler/artifacts.js +0 -1
  293. package/dist/modules/manager/bundler/artifacts.js.map +1 -1
  294. package/dist/modules/manager/bundler/extract.js +2 -1
  295. package/dist/modules/manager/bundler/extract.js.map +1 -1
  296. package/dist/modules/manager/cake/index.js +4 -2
  297. package/dist/modules/manager/cake/index.js.map +1 -1
  298. package/dist/modules/manager/cargo/artifacts.js +5 -7
  299. package/dist/modules/manager/cargo/artifacts.js.map +1 -1
  300. package/dist/modules/manager/cargo/schema.d.ts +166 -166
  301. package/dist/modules/manager/circleci/extract.js +21 -30
  302. package/dist/modules/manager/circleci/extract.js.map +1 -1
  303. package/dist/modules/manager/circleci/schema.d.ts +33 -144
  304. package/dist/modules/manager/circleci/schema.js +21 -17
  305. package/dist/modules/manager/circleci/schema.js.map +1 -1
  306. package/dist/modules/manager/cocoapods/artifacts.js +1 -2
  307. package/dist/modules/manager/cocoapods/artifacts.js.map +1 -1
  308. package/dist/modules/manager/composer/artifacts.js +1 -2
  309. package/dist/modules/manager/composer/artifacts.js.map +1 -1
  310. package/dist/modules/manager/composer/schema.d.ts +32 -34
  311. package/dist/modules/manager/composer/schema.js +1 -1
  312. package/dist/modules/manager/composer/schema.js.map +1 -1
  313. package/dist/modules/manager/composer/utils.d.ts +1 -0
  314. package/dist/modules/manager/composer/utils.js +18 -6
  315. package/dist/modules/manager/composer/utils.js.map +1 -1
  316. package/dist/modules/manager/conan/artifacts.d.ts +2 -0
  317. package/dist/modules/manager/conan/artifacts.js +76 -0
  318. package/dist/modules/manager/conan/artifacts.js.map +1 -0
  319. package/dist/modules/manager/conan/index.d.ts +2 -0
  320. package/dist/modules/manager/conan/index.js +4 -1
  321. package/dist/modules/manager/conan/index.js.map +1 -1
  322. package/dist/modules/manager/copier/artifacts.js +0 -1
  323. package/dist/modules/manager/copier/artifacts.js.map +1 -1
  324. package/dist/modules/manager/crossplane/schema.d.ts +2 -2
  325. package/dist/modules/manager/custom/jsonata/schema.d.ts +21 -21
  326. package/dist/modules/manager/custom/regex/index.js +2 -0
  327. package/dist/modules/manager/custom/regex/index.js.map +1 -1
  328. package/dist/modules/manager/deps-edn/extract.js +2 -1
  329. package/dist/modules/manager/deps-edn/extract.js.map +1 -1
  330. package/dist/modules/manager/devbox/artifacts.d.ts +1 -1
  331. package/dist/modules/manager/devbox/artifacts.js +35 -11
  332. package/dist/modules/manager/devbox/artifacts.js.map +1 -1
  333. package/dist/modules/manager/devbox/schema.js +1 -1
  334. package/dist/modules/manager/devbox/schema.js.map +1 -1
  335. package/dist/modules/manager/devcontainer/extract.js +43 -1
  336. package/dist/modules/manager/devcontainer/extract.js.map +1 -1
  337. package/dist/modules/manager/devcontainer/index.js +11 -1
  338. package/dist/modules/manager/devcontainer/index.js.map +1 -1
  339. package/dist/modules/manager/devcontainer/schema.d.ts +7 -3
  340. package/dist/modules/manager/devcontainer/schema.js +3 -1
  341. package/dist/modules/manager/devcontainer/schema.js.map +1 -1
  342. package/dist/modules/manager/docker-compose/schema.d.ts +6 -6
  343. package/dist/modules/manager/dockerfile/extract.js +2 -6
  344. package/dist/modules/manager/dockerfile/extract.js.map +1 -1
  345. package/dist/modules/manager/fingerprint.generated.js +86 -85
  346. package/dist/modules/manager/fingerprint.generated.js.map +1 -1
  347. package/dist/modules/manager/fleet/schema.d.ts +4 -4
  348. package/dist/modules/manager/flux/artifacts.js +0 -1
  349. package/dist/modules/manager/flux/artifacts.js.map +1 -1
  350. package/dist/modules/manager/flux/extract.js +27 -24
  351. package/dist/modules/manager/flux/extract.js.map +1 -1
  352. package/dist/modules/manager/flux/schema.d.ts +130 -154
  353. package/dist/modules/manager/github-actions/extract.js +60 -39
  354. package/dist/modules/manager/github-actions/extract.js.map +1 -1
  355. package/dist/modules/manager/github-actions/schema.d.ts +66 -0
  356. package/dist/modules/manager/github-actions/schema.js +38 -0
  357. package/dist/modules/manager/github-actions/schema.js.map +1 -0
  358. package/dist/modules/manager/gitlabci/extract.d.ts +1 -5
  359. package/dist/modules/manager/gitlabci/extract.js +27 -126
  360. package/dist/modules/manager/gitlabci/extract.js.map +1 -1
  361. package/dist/modules/manager/gitlabci/schema.d.ts +55 -0
  362. package/dist/modules/manager/gitlabci/schema.js +63 -0
  363. package/dist/modules/manager/gitlabci/schema.js.map +1 -0
  364. package/dist/modules/manager/gitlabci-include/extract.js +6 -54
  365. package/dist/modules/manager/gitlabci-include/extract.js.map +1 -1
  366. package/dist/modules/manager/gitlabci-include/schema.d.ts +13 -0
  367. package/dist/modules/manager/gitlabci-include/schema.js +46 -0
  368. package/dist/modules/manager/gitlabci-include/schema.js.map +1 -0
  369. package/dist/modules/manager/glasskube/schema.d.ts +8 -8
  370. package/dist/modules/manager/gomod/artifacts-extra.js +12 -4
  371. package/dist/modules/manager/gomod/artifacts-extra.js.map +1 -1
  372. package/dist/modules/manager/gomod/artifacts.js +24 -10
  373. package/dist/modules/manager/gomod/artifacts.js.map +1 -1
  374. package/dist/modules/manager/gomod/extract.js +23 -0
  375. package/dist/modules/manager/gomod/extract.js.map +1 -1
  376. package/dist/modules/manager/gomod/line-parser.js +16 -0
  377. package/dist/modules/manager/gomod/line-parser.js.map +1 -1
  378. package/dist/modules/manager/gomod/update.js +5 -3
  379. package/dist/modules/manager/gomod/update.js.map +1 -1
  380. package/dist/modules/manager/gradle/artifacts.js +0 -1
  381. package/dist/modules/manager/gradle/artifacts.js.map +1 -1
  382. package/dist/modules/manager/gradle/extract/catalog.js +1 -1
  383. package/dist/modules/manager/gradle/extract/catalog.js.map +1 -1
  384. package/dist/modules/manager/gradle/extract.js +8 -13
  385. package/dist/modules/manager/gradle/extract.js.map +1 -1
  386. package/dist/modules/manager/gradle/parser/assignments.js +2 -2
  387. package/dist/modules/manager/gradle/parser/assignments.js.map +1 -1
  388. package/dist/modules/manager/gradle/parser/handlers.d.ts +1 -2
  389. package/dist/modules/manager/gradle/parser/handlers.js +17 -24
  390. package/dist/modules/manager/gradle/parser/handlers.js.map +1 -1
  391. package/dist/modules/manager/gradle/parser/registry-urls.js +46 -12
  392. package/dist/modules/manager/gradle/parser/registry-urls.js.map +1 -1
  393. package/dist/modules/manager/gradle/types.d.ts +1 -0
  394. package/dist/modules/manager/gradle/types.js.map +1 -1
  395. package/dist/modules/manager/gradle-wrapper/artifacts.js +1 -2
  396. package/dist/modules/manager/gradle-wrapper/artifacts.js.map +1 -1
  397. package/dist/modules/manager/helmfile/artifacts.js +0 -1
  398. package/dist/modules/manager/helmfile/artifacts.js.map +1 -1
  399. package/dist/modules/manager/helmfile/extract.js +4 -0
  400. package/dist/modules/manager/helmfile/extract.js.map +1 -1
  401. package/dist/modules/manager/helmfile/schema.d.ts +9 -9
  402. package/dist/modules/manager/helmv3/artifacts.js +0 -1
  403. package/dist/modules/manager/helmv3/artifacts.js.map +1 -1
  404. package/dist/modules/manager/helmv3/utils.js +3 -1
  405. package/dist/modules/manager/helmv3/utils.js.map +1 -1
  406. package/dist/modules/manager/hermit/artifacts.js +0 -1
  407. package/dist/modules/manager/hermit/artifacts.js.map +1 -1
  408. package/dist/modules/manager/homebrew/extract.js +0 -1
  409. package/dist/modules/manager/homebrew/extract.js.map +1 -1
  410. package/dist/modules/manager/jsonnet-bundler/artifacts.js +0 -1
  411. package/dist/modules/manager/jsonnet-bundler/artifacts.js.map +1 -1
  412. package/dist/modules/manager/kustomize/artifacts.d.ts +2 -0
  413. package/dist/modules/manager/kustomize/artifacts.js +154 -0
  414. package/dist/modules/manager/kustomize/artifacts.js.map +1 -0
  415. package/dist/modules/manager/kustomize/common.d.ts +3 -0
  416. package/dist/modules/manager/kustomize/common.js +22 -0
  417. package/dist/modules/manager/kustomize/common.js.map +1 -0
  418. package/dist/modules/manager/kustomize/index.d.ts +1 -0
  419. package/dist/modules/manager/kustomize/index.js +3 -1
  420. package/dist/modules/manager/kustomize/index.js.map +1 -1
  421. package/dist/modules/manager/kustomize/types.d.ts +4 -0
  422. package/dist/modules/manager/kustomize/types.js.map +1 -1
  423. package/dist/modules/manager/maven/extract.d.ts +2 -2
  424. package/dist/modules/manager/maven/extract.js +14 -9
  425. package/dist/modules/manager/maven/extract.js.map +1 -1
  426. package/dist/modules/manager/maven-wrapper/artifacts.js +0 -1
  427. package/dist/modules/manager/maven-wrapper/artifacts.js.map +1 -1
  428. package/dist/modules/manager/mise/extract.js +1 -1
  429. package/dist/modules/manager/mise/extract.js.map +1 -1
  430. package/dist/modules/manager/mix/artifacts.js +64 -14
  431. package/dist/modules/manager/mix/artifacts.js.map +1 -1
  432. package/dist/modules/manager/mix/index.d.ts +1 -0
  433. package/dist/modules/manager/mix/index.js +2 -1
  434. package/dist/modules/manager/mix/index.js.map +1 -1
  435. package/dist/modules/manager/nix/artifacts.js +0 -1
  436. package/dist/modules/manager/nix/artifacts.js.map +1 -1
  437. package/dist/modules/manager/nix/extract.js +1 -1
  438. package/dist/modules/manager/nix/extract.js.map +1 -1
  439. package/dist/modules/manager/nix/schema.d.ts +20 -20
  440. package/dist/modules/manager/nix/schema.js +1 -0
  441. package/dist/modules/manager/nix/schema.js.map +1 -1
  442. package/dist/modules/manager/npm/artifacts.js +0 -1
  443. package/dist/modules/manager/npm/artifacts.js.map +1 -1
  444. package/dist/modules/manager/npm/extract/common/package-file.js +1 -0
  445. package/dist/modules/manager/npm/extract/common/package-file.js.map +1 -1
  446. package/dist/modules/manager/npm/extract/yarn.js +2 -2
  447. package/dist/modules/manager/npm/extract/yarn.js.map +1 -1
  448. package/dist/modules/manager/npm/post-update/npm.js +0 -1
  449. package/dist/modules/manager/npm/post-update/npm.js.map +1 -1
  450. package/dist/modules/manager/npm/post-update/pnpm.js +13 -2
  451. package/dist/modules/manager/npm/post-update/pnpm.js.map +1 -1
  452. package/dist/modules/manager/npm/post-update/rules.js +11 -1
  453. package/dist/modules/manager/npm/post-update/rules.js.map +1 -1
  454. package/dist/modules/manager/npm/post-update/yarn.js +0 -1
  455. package/dist/modules/manager/npm/post-update/yarn.js.map +1 -1
  456. package/dist/modules/manager/npm/schema.d.ts +13 -13
  457. package/dist/modules/manager/npm/update/dependency/index.js +1 -1
  458. package/dist/modules/manager/npm/update/dependency/index.js.map +1 -1
  459. package/dist/modules/manager/nuget/artifacts.js +1 -2
  460. package/dist/modules/manager/nuget/artifacts.js.map +1 -1
  461. package/dist/modules/manager/nuget/extract.js +21 -18
  462. package/dist/modules/manager/nuget/extract.js.map +1 -1
  463. package/dist/modules/manager/nuget/package-tree.js +4 -0
  464. package/dist/modules/manager/nuget/package-tree.js.map +1 -1
  465. package/dist/modules/manager/nuget/schema.d.ts +8 -8
  466. package/dist/modules/manager/nuget/util.js +4 -1
  467. package/dist/modules/manager/nuget/util.js.map +1 -1
  468. package/dist/modules/manager/ocb/schema.d.ts +6 -6
  469. package/dist/modules/manager/pep621/extract.js +19 -3
  470. package/dist/modules/manager/pep621/extract.js.map +1 -1
  471. package/dist/modules/manager/pep621/processors/pdm.js +3 -2
  472. package/dist/modules/manager/pep621/processors/pdm.js.map +1 -1
  473. package/dist/modules/manager/pep621/processors/uv.js +4 -1
  474. package/dist/modules/manager/pep621/processors/uv.js.map +1 -1
  475. package/dist/modules/manager/pep621/schema.d.ts +341 -49
  476. package/dist/modules/manager/pep621/schema.js +3 -1
  477. package/dist/modules/manager/pep621/schema.js.map +1 -1
  478. package/dist/modules/manager/pep621/utils.js +1 -1
  479. package/dist/modules/manager/pep621/utils.js.map +1 -1
  480. package/dist/modules/manager/pip-compile/common.js +0 -1
  481. package/dist/modules/manager/pip-compile/common.js.map +1 -1
  482. package/dist/modules/manager/pip_requirements/artifacts.js +0 -1
  483. package/dist/modules/manager/pip_requirements/artifacts.js.map +1 -1
  484. package/dist/modules/manager/pip_requirements/common.js +2 -6
  485. package/dist/modules/manager/pip_requirements/common.js.map +1 -1
  486. package/dist/modules/manager/pipenv/artifacts.js +0 -1
  487. package/dist/modules/manager/pipenv/artifacts.js.map +1 -1
  488. package/dist/modules/manager/pixi/artifacts.d.ts +3 -0
  489. package/dist/modules/manager/pixi/artifacts.js +78 -0
  490. package/dist/modules/manager/pixi/artifacts.js.map +1 -0
  491. package/dist/modules/manager/pixi/extract.d.ts +4 -0
  492. package/dist/modules/manager/pixi/extract.js +131 -0
  493. package/dist/modules/manager/pixi/extract.js.map +1 -0
  494. package/dist/modules/manager/pixi/index.d.ts +10 -0
  495. package/dist/modules/manager/pixi/index.js +20 -0
  496. package/dist/modules/manager/pixi/index.js.map +1 -0
  497. package/dist/modules/manager/pixi/schema.d.ts +405 -0
  498. package/dist/modules/manager/pixi/schema.js +147 -0
  499. package/dist/modules/manager/pixi/schema.js.map +1 -0
  500. package/dist/modules/manager/poetry/artifacts.js +3 -4
  501. package/dist/modules/manager/poetry/artifacts.js.map +1 -1
  502. package/dist/modules/manager/poetry/extract.js +2 -1
  503. package/dist/modules/manager/poetry/extract.js.map +1 -1
  504. package/dist/modules/manager/poetry/schema.d.ts +44 -44
  505. package/dist/modules/manager/pub/artifacts.js +0 -1
  506. package/dist/modules/manager/pub/artifacts.js.map +1 -1
  507. package/dist/modules/manager/pub/schema.d.ts +8 -8
  508. package/dist/modules/manager/scalafmt/extract.js +1 -1
  509. package/dist/modules/manager/scalafmt/extract.js.map +1 -1
  510. package/dist/modules/manager/sveltos/schema.d.ts +30 -42
  511. package/dist/modules/manager/terraform/lockfile/hash.d.ts +1 -1
  512. package/dist/modules/manager/terraform/util.js +1 -3
  513. package/dist/modules/manager/terraform/util.js.map +1 -1
  514. package/dist/modules/manager/types.d.ts +6 -2
  515. package/dist/modules/manager/types.js.map +1 -1
  516. package/dist/modules/manager/vendir/schema.d.ts +7 -7
  517. package/dist/modules/platform/api.d.ts +1 -1
  518. package/dist/modules/platform/azure/azure-helper.js +2 -2
  519. package/dist/modules/platform/azure/azure-helper.js.map +1 -1
  520. package/dist/modules/platform/azure/index.js +14 -14
  521. package/dist/modules/platform/azure/index.js.map +1 -1
  522. package/dist/modules/platform/bitbucket/comments.js +4 -4
  523. package/dist/modules/platform/bitbucket/comments.js.map +1 -1
  524. package/dist/modules/platform/bitbucket/index.js +49 -44
  525. package/dist/modules/platform/bitbucket/index.js.map +1 -1
  526. package/dist/modules/platform/bitbucket/schema.d.ts +14 -14
  527. package/dist/modules/platform/bitbucket/utils.js +3 -3
  528. package/dist/modules/platform/bitbucket/utils.js.map +1 -1
  529. package/dist/modules/platform/bitbucket-server/index.d.ts +2 -2
  530. package/dist/modules/platform/bitbucket-server/index.js +81 -81
  531. package/dist/modules/platform/bitbucket-server/index.js.map +1 -1
  532. package/dist/modules/platform/bitbucket-server/pr-cache.d.ts +23 -0
  533. package/dist/modules/platform/bitbucket-server/pr-cache.js +125 -0
  534. package/dist/modules/platform/bitbucket-server/pr-cache.js.map +1 -0
  535. package/dist/modules/platform/bitbucket-server/schema.d.ts +76 -0
  536. package/dist/modules/platform/bitbucket-server/schema.js +15 -1
  537. package/dist/modules/platform/bitbucket-server/schema.js.map +1 -1
  538. package/dist/modules/platform/bitbucket-server/types.d.ts +8 -2
  539. package/dist/modules/platform/bitbucket-server/types.js.map +1 -1
  540. package/dist/modules/platform/bitbucket-server/utils.d.ts +0 -2
  541. package/dist/modules/platform/bitbucket-server/utils.js +6 -52
  542. package/dist/modules/platform/bitbucket-server/utils.js.map +1 -1
  543. package/dist/modules/platform/codecommit/codecommit-client.js +6 -6
  544. package/dist/modules/platform/codecommit/codecommit-client.js.map +1 -1
  545. package/dist/modules/platform/codecommit/index.js +24 -24
  546. package/dist/modules/platform/codecommit/index.js.map +1 -1
  547. package/dist/modules/platform/gerrit/client.d.ts +0 -3
  548. package/dist/modules/platform/gerrit/client.js +20 -29
  549. package/dist/modules/platform/gerrit/client.js.map +1 -1
  550. package/dist/modules/platform/gerrit/index.js +0 -6
  551. package/dist/modules/platform/gerrit/index.js.map +1 -1
  552. package/dist/modules/platform/gerrit/scm.js +5 -6
  553. package/dist/modules/platform/gerrit/scm.js.map +1 -1
  554. package/dist/modules/platform/gerrit/types.d.ts +1 -4
  555. package/dist/modules/platform/gerrit/types.js.map +1 -1
  556. package/dist/modules/platform/gerrit/utils.d.ts +3 -2
  557. package/dist/modules/platform/gerrit/utils.js +4 -8
  558. package/dist/modules/platform/gerrit/utils.js.map +1 -1
  559. package/dist/modules/platform/gitea/gitea-helper.d.ts +1 -0
  560. package/dist/modules/platform/gitea/gitea-helper.js +16 -0
  561. package/dist/modules/platform/gitea/gitea-helper.js.map +1 -1
  562. package/dist/modules/platform/gitea/index.js +22 -16
  563. package/dist/modules/platform/gitea/index.js.map +1 -1
  564. package/dist/modules/platform/gitea/schema.d.ts +8 -8
  565. package/dist/modules/platform/gitea/types.d.ts +1 -1
  566. package/dist/modules/platform/gitea/types.js.map +1 -1
  567. package/dist/modules/platform/github/common.d.ts +2 -0
  568. package/dist/modules/platform/github/common.js +16 -0
  569. package/dist/modules/platform/github/common.js.map +1 -1
  570. package/dist/modules/platform/github/index.d.ts +1 -1
  571. package/dist/modules/platform/github/index.js +87 -82
  572. package/dist/modules/platform/github/index.js.map +1 -1
  573. package/dist/modules/platform/github/issue.d.ts +18 -18
  574. package/dist/modules/platform/github/massage-markdown-links.js +2 -2
  575. package/dist/modules/platform/github/massage-markdown-links.js.map +1 -1
  576. package/dist/modules/platform/github/pr.js +3 -3
  577. package/dist/modules/platform/github/pr.js.map +1 -1
  578. package/dist/modules/platform/github/schema.d.ts +128 -128
  579. package/dist/modules/platform/github/schema.js +3 -1
  580. package/dist/modules/platform/github/schema.js.map +1 -1
  581. package/dist/modules/platform/gitlab/index.js +63 -49
  582. package/dist/modules/platform/gitlab/index.js.map +1 -1
  583. package/dist/modules/platform/index.js +0 -1
  584. package/dist/modules/platform/index.js.map +1 -1
  585. package/dist/modules/platform/scm.d.ts +1 -1
  586. package/dist/modules/versioning/api.js +2 -0
  587. package/dist/modules/versioning/api.js.map +1 -1
  588. package/dist/modules/versioning/composer/index.js +10 -0
  589. package/dist/modules/versioning/composer/index.js.map +1 -1
  590. package/dist/modules/versioning/conda/index.d.ts +41 -0
  591. package/dist/modules/versioning/conda/index.js +178 -0
  592. package/dist/modules/versioning/conda/index.js.map +1 -0
  593. package/dist/modules/versioning/distro.js +1 -3
  594. package/dist/modules/versioning/distro.js.map +1 -1
  595. package/dist/modules/versioning/hashicorp/convertor.d.ts +2 -1
  596. package/dist/modules/versioning/hashicorp/convertor.js +13 -8
  597. package/dist/modules/versioning/hashicorp/convertor.js.map +1 -1
  598. package/dist/modules/versioning/hex/index.js +3 -3
  599. package/dist/modules/versioning/hex/index.js.map +1 -1
  600. package/dist/modules/versioning/npm/index.js +2 -1
  601. package/dist/modules/versioning/npm/index.js.map +1 -1
  602. package/dist/modules/versioning/types.d.ts +4 -0
  603. package/dist/modules/versioning/types.js.map +1 -1
  604. package/dist/proxy.js +2 -1
  605. package/dist/proxy.js.map +1 -1
  606. package/dist/renovate.js +2 -2
  607. package/dist/renovate.js.map +1 -1
  608. package/dist/util/cache/package/redis.js +0 -1
  609. package/dist/util/cache/package/redis.js.map +1 -1
  610. package/dist/util/cache/package/types.d.ts +1 -1
  611. package/dist/util/cache/package/types.js.map +1 -1
  612. package/dist/util/cache/repository/impl/base.d.ts +1 -1
  613. package/dist/util/cache/repository/impl/base.js +4 -0
  614. package/dist/util/cache/repository/impl/base.js.map +1 -1
  615. package/dist/util/cache/repository/schema.d.ts +4 -4
  616. package/dist/util/cache/repository/types.d.ts +3 -0
  617. package/dist/util/cache/repository/types.js.map +1 -1
  618. package/dist/util/common.d.ts +4 -2
  619. package/dist/util/common.js +17 -3
  620. package/dist/util/common.js.map +1 -1
  621. package/dist/util/env.d.ts +4 -0
  622. package/dist/util/env.js +22 -0
  623. package/dist/util/env.js.map +1 -0
  624. package/dist/util/exec/containerbase.js +19 -14
  625. package/dist/util/exec/containerbase.js.map +1 -1
  626. package/dist/util/exec/index.js +5 -2
  627. package/dist/util/exec/index.js.map +1 -1
  628. package/dist/util/exec/types.d.ts +0 -2
  629. package/dist/util/exec/types.js.map +1 -1
  630. package/dist/util/exec/utils.d.ts +1 -1
  631. package/dist/util/exec/utils.js +6 -5
  632. package/dist/util/exec/utils.js.map +1 -1
  633. package/dist/util/git/auth.js +8 -5
  634. package/dist/util/git/auth.js.map +1 -1
  635. package/dist/util/git/author.js +1 -1
  636. package/dist/util/git/author.js.map +1 -1
  637. package/dist/util/git/config.js +0 -1
  638. package/dist/util/git/config.js.map +1 -1
  639. package/dist/util/git/error.js +4 -2
  640. package/dist/util/git/error.js.map +1 -1
  641. package/dist/util/git/index.js +75 -52
  642. package/dist/util/git/index.js.map +1 -1
  643. package/dist/util/git/private-key.js +2 -4
  644. package/dist/util/git/private-key.js.map +1 -1
  645. package/dist/util/git/types.d.ts +2 -0
  646. package/dist/util/git/types.js.map +1 -1
  647. package/dist/util/git/url.js +1 -1
  648. package/dist/util/git/url.js.map +1 -1
  649. package/dist/util/github/graphql/datasource-fetcher.js +3 -5
  650. package/dist/util/github/graphql/datasource-fetcher.js.map +1 -1
  651. package/dist/util/github/graphql/query-adapters/releases-query-adapter.d.ts +2 -2
  652. package/dist/util/github/graphql/query-adapters/tags-query-adapter.d.ts +2 -2
  653. package/dist/util/http/auth.js +0 -1
  654. package/dist/util/http/auth.js.map +1 -1
  655. package/dist/util/http/bitbucket-server.d.ts +7 -5
  656. package/dist/util/http/bitbucket-server.js +26 -23
  657. package/dist/util/http/bitbucket-server.js.map +1 -1
  658. package/dist/util/http/bitbucket.d.ts +6 -5
  659. package/dist/util/http/bitbucket.js +34 -31
  660. package/dist/util/http/bitbucket.js.map +1 -1
  661. package/dist/util/http/cache/abstract-http-cache-provider.js +2 -2
  662. package/dist/util/http/cache/abstract-http-cache-provider.js.map +1 -1
  663. package/dist/util/http/cache/memory-http-cache-provider.d.ts +10 -0
  664. package/dist/util/http/cache/memory-http-cache-provider.js +29 -0
  665. package/dist/util/http/cache/memory-http-cache-provider.js.map +1 -0
  666. package/dist/util/http/cache/package-http-cache-provider.d.ts +23 -0
  667. package/dist/util/http/cache/package-http-cache-provider.js +80 -0
  668. package/dist/util/http/cache/package-http-cache-provider.js.map +1 -0
  669. package/dist/util/http/cache/schema.d.ts +2 -2
  670. package/dist/util/http/errors.d.ts +2 -0
  671. package/dist/util/http/errors.js +8 -0
  672. package/dist/util/http/errors.js.map +1 -0
  673. package/dist/util/http/gerrit.d.ts +6 -4
  674. package/dist/util/http/gerrit.js +11 -12
  675. package/dist/util/http/gerrit.js.map +1 -1
  676. package/dist/util/http/gitea.d.ts +5 -4
  677. package/dist/util/http/gitea.js +14 -13
  678. package/dist/util/http/gitea.js.map +1 -1
  679. package/dist/util/http/github.d.ts +14 -8
  680. package/dist/util/http/github.js +65 -60
  681. package/dist/util/http/github.js.map +1 -1
  682. package/dist/util/http/gitlab.d.ts +7 -5
  683. package/dist/util/http/gitlab.js +58 -46
  684. package/dist/util/http/gitlab.js.map +1 -1
  685. package/dist/util/http/got.d.ts +9 -0
  686. package/dist/util/http/got.js +54 -0
  687. package/dist/util/http/got.js.map +1 -0
  688. package/dist/util/http/host-rules.d.ts +2 -1
  689. package/dist/util/http/host-rules.js +17 -4
  690. package/dist/util/http/host-rules.js.map +1 -1
  691. package/dist/util/http/http.d.ts +93 -0
  692. package/dist/util/http/http.js +346 -0
  693. package/dist/util/http/http.js.map +1 -0
  694. package/dist/util/http/index.d.ts +6 -74
  695. package/dist/util/http/index.js +5 -359
  696. package/dist/util/http/index.js.map +1 -1
  697. package/dist/util/http/legacy.js +4 -1
  698. package/dist/util/http/legacy.js.map +1 -1
  699. package/dist/util/http/types.d.ts +9 -16
  700. package/dist/util/http/types.js.map +1 -1
  701. package/dist/util/schema-utils.d.ts +1 -0
  702. package/dist/util/schema-utils.js +43 -8
  703. package/dist/util/schema-utils.js.map +1 -1
  704. package/dist/util/stats.d.ts +10 -0
  705. package/dist/util/stats.js +45 -1
  706. package/dist/util/stats.js.map +1 -1
  707. package/dist/util/string.d.ts +16 -0
  708. package/dist/util/string.js +79 -0
  709. package/dist/util/string.js.map +1 -1
  710. package/dist/util/toml.d.ts +1 -0
  711. package/dist/util/toml.js +6 -0
  712. package/dist/util/toml.js.map +1 -1
  713. package/dist/util/url.js +3 -8
  714. package/dist/util/url.js.map +1 -1
  715. package/dist/util/yaml.js +3 -8
  716. package/dist/util/yaml.js.map +1 -1
  717. package/dist/workers/global/autodiscover.js +1 -19
  718. package/dist/workers/global/autodiscover.js.map +1 -1
  719. package/dist/workers/global/config/parse/env.js +3 -3
  720. package/dist/workers/global/config/parse/env.js.map +1 -1
  721. package/dist/workers/global/config/parse/file.js +18 -8
  722. package/dist/workers/global/config/parse/file.js.map +1 -1
  723. package/dist/workers/global/config/parse/host-rules-from-env.js +6 -2
  724. package/dist/workers/global/config/parse/host-rules-from-env.js.map +1 -1
  725. package/dist/workers/global/config/parse/index.js +15 -0
  726. package/dist/workers/global/config/parse/index.js.map +1 -1
  727. package/dist/workers/global/index.js +4 -2
  728. package/dist/workers/global/index.js.map +1 -1
  729. package/dist/workers/repository/cache.js +1 -2
  730. package/dist/workers/repository/cache.js.map +1 -1
  731. package/dist/workers/repository/config-migration/branch/migrated-data.js +2 -0
  732. package/dist/workers/repository/config-migration/branch/migrated-data.js.map +1 -1
  733. package/dist/workers/repository/index.js +1 -0
  734. package/dist/workers/repository/index.js.map +1 -1
  735. package/dist/workers/repository/init/merge.js +6 -3
  736. package/dist/workers/repository/init/merge.js.map +1 -1
  737. package/dist/workers/repository/onboarding/pr/config-description.js +3 -1
  738. package/dist/workers/repository/onboarding/pr/config-description.js.map +1 -1
  739. package/dist/workers/repository/onboarding/pr/index.js +4 -0
  740. package/dist/workers/repository/onboarding/pr/index.js.map +1 -1
  741. package/dist/workers/repository/process/extract-update.js +0 -1
  742. package/dist/workers/repository/process/extract-update.js.map +1 -1
  743. package/dist/workers/repository/process/fingerprint-fields.js +0 -1
  744. package/dist/workers/repository/process/fingerprint-fields.js.map +1 -1
  745. package/dist/workers/repository/process/libyear.js +2 -2
  746. package/dist/workers/repository/process/libyear.js.map +1 -1
  747. package/dist/workers/repository/process/lookup/index.js +15 -4
  748. package/dist/workers/repository/process/lookup/index.js.map +1 -1
  749. package/dist/workers/repository/process/lookup/timestamps.d.ts +18 -0
  750. package/dist/workers/repository/process/lookup/timestamps.js +69 -0
  751. package/dist/workers/repository/process/lookup/timestamps.js.map +1 -0
  752. package/dist/workers/repository/process/lookup/types.d.ts +1 -0
  753. package/dist/workers/repository/process/lookup/types.js.map +1 -1
  754. package/dist/workers/repository/process/lookup/utils.js +20 -9
  755. package/dist/workers/repository/process/lookup/utils.js.map +1 -1
  756. package/dist/workers/repository/process/sort.js +1 -1
  757. package/dist/workers/repository/process/sort.js.map +1 -1
  758. package/dist/workers/repository/process/vulnerabilities.js +1 -1
  759. package/dist/workers/repository/process/vulnerabilities.js.map +1 -1
  760. package/dist/workers/repository/process/write.js +1 -8
  761. package/dist/workers/repository/process/write.js.map +1 -1
  762. package/dist/workers/repository/reconfigure/utils.d.ts +2 -0
  763. package/dist/workers/repository/reconfigure/utils.js +16 -0
  764. package/dist/workers/repository/reconfigure/utils.js.map +1 -1
  765. package/dist/workers/repository/reconfigure/validate.js +6 -17
  766. package/dist/workers/repository/reconfigure/validate.js.map +1 -1
  767. package/dist/workers/repository/update/branch/auto-replace.js +25 -5
  768. package/dist/workers/repository/update/branch/auto-replace.js.map +1 -1
  769. package/dist/workers/repository/update/branch/commit.js +2 -0
  770. package/dist/workers/repository/update/branch/commit.js.map +1 -1
  771. package/dist/workers/repository/update/branch/execute-post-upgrade-commands.js +17 -8
  772. package/dist/workers/repository/update/branch/execute-post-upgrade-commands.js.map +1 -1
  773. package/dist/workers/repository/update/pr/body/config-description.js +26 -1
  774. package/dist/workers/repository/update/pr/body/config-description.js.map +1 -1
  775. package/dist/workers/repository/update/pr/body/index.js +21 -14
  776. package/dist/workers/repository/update/pr/body/index.js.map +1 -1
  777. package/dist/workers/repository/update/pr/changelog/api.js +8 -6
  778. package/dist/workers/repository/update/pr/changelog/api.js.map +1 -1
  779. package/dist/workers/repository/update/pr/changelog/bitbucket/index.js +1 -1
  780. package/dist/workers/repository/update/pr/changelog/bitbucket/index.js.map +1 -1
  781. package/dist/workers/repository/update/pr/changelog/bitbucket-server/index.d.ts +3 -0
  782. package/dist/workers/repository/update/pr/changelog/bitbucket-server/index.js +39 -0
  783. package/dist/workers/repository/update/pr/changelog/bitbucket-server/index.js.map +1 -0
  784. package/dist/workers/repository/update/pr/changelog/bitbucket-server/source.d.ts +8 -0
  785. package/dist/workers/repository/update/pr/changelog/bitbucket-server/source.js +31 -0
  786. package/dist/workers/repository/update/pr/changelog/bitbucket-server/source.js.map +1 -0
  787. package/dist/workers/repository/update/pr/changelog/github/index.js +6 -3
  788. package/dist/workers/repository/update/pr/changelog/github/index.js.map +1 -1
  789. package/dist/workers/repository/update/pr/changelog/gitlab/index.js +1 -1
  790. package/dist/workers/repository/update/pr/changelog/gitlab/index.js.map +1 -1
  791. package/dist/workers/repository/update/pr/changelog/release-notes.js +12 -8
  792. package/dist/workers/repository/update/pr/changelog/release-notes.js.map +1 -1
  793. package/dist/workers/repository/update/pr/changelog/source.d.ts +1 -1
  794. package/dist/workers/repository/update/pr/changelog/source.js +1 -0
  795. package/dist/workers/repository/update/pr/changelog/source.js.map +1 -1
  796. package/dist/workers/repository/update/pr/changelog/types.d.ts +1 -1
  797. package/dist/workers/repository/update/pr/changelog/types.js.map +1 -1
  798. package/dist/workers/repository/update/pr/index.js +2 -4
  799. package/dist/workers/repository/update/pr/index.js.map +1 -1
  800. package/dist/workers/repository/updates/flatten.js +8 -4
  801. package/dist/workers/repository/updates/flatten.js.map +1 -1
  802. package/dist/workers/repository/updates/generate.js +3 -2
  803. package/dist/workers/repository/updates/generate.js.map +1 -1
  804. package/dist/workers/types.d.ts +1 -4
  805. package/dist/workers/types.js.map +1 -1
  806. package/package.json +86 -83
  807. package/renovate-schema.json +25 -10
  808. package/dist/modules/manager/github-actions/types.d.ts +0 -30
  809. package/dist/modules/manager/github-actions/types.js +0 -3
  810. package/dist/modules/manager/github-actions/types.js.map +0 -1
  811. package/dist/modules/manager/gitlabci/common.d.ts +0 -6
  812. package/dist/modules/manager/gitlabci/common.js +0 -30
  813. package/dist/modules/manager/gitlabci/common.js.map +0 -1
  814. package/dist/modules/manager/gitlabci/types.d.ts +0 -35
  815. package/dist/modules/manager/gitlabci/types.js +0 -3
  816. package/dist/modules/manager/gitlabci/types.js.map +0 -1
@@ -38,7 +38,7 @@ export declare function ensureCommentRemoval(deleteConfig: EnsureCommentRemovalC
38
38
  export declare function createPr({ sourceBranch, targetBranch, prTitle: title, prBody: rawBody, labels, draftPR, platformPrOptions, milestone, }: CreatePRConfig): Promise<GhPr | null>;
39
39
  export declare function updatePr({ number: prNo, prTitle: title, prBody: rawBody, addLabels: labelsToAdd, removeLabels, state, targetBranch, }: UpdatePrConfig): Promise<void>;
40
40
  export declare function reattemptPlatformAutomerge({ number, platformPrOptions, }: ReattemptPlatformAutomergeConfig): Promise<void>;
41
- export declare function mergePr({ branchName, id: prNo, }: MergePRConfig): Promise<boolean>;
41
+ export declare function mergePr({ branchName, id: prNo, strategy, }: MergePRConfig): Promise<boolean>;
42
42
  export declare function massageMarkdown(input: string): string;
43
43
  export declare function maxBodyLength(): number;
44
44
  export declare function getVulnerabilityAlerts(): Promise<VulnerabilityAlert[]>;
@@ -54,6 +54,7 @@ const common_1 = require("../../../util/common");
54
54
  const git = tslib_1.__importStar(require("../../../util/git"));
55
55
  const git_1 = require("../../../util/git");
56
56
  const hostRules = tslib_1.__importStar(require("../../../util/host-rules"));
57
+ const memory_http_cache_provider_1 = require("../../../util/http/cache/memory-http-cache-provider");
57
58
  const repository_http_cache_provider_1 = require("../../../util/http/cache/repository-http-cache-provider");
58
59
  const githubHttp = tslib_1.__importStar(require("../../../util/http/github"));
59
60
  const object_1 = require("../../../util/object");
@@ -208,10 +209,10 @@ async function fetchRepositories() {
208
209
  return res.body;
209
210
  }
210
211
  }
211
- catch (err) /* istanbul ignore next */ {
212
+ catch (err) /* v8 ignore start */ {
212
213
  logger_1.logger.error({ err }, `GitHub getRepos error`);
213
214
  throw err;
214
- }
215
+ } /* v8 ignore stop */
215
216
  }
216
217
  // Get all repositories that the user has access to
217
218
  async function getRepos(config) {
@@ -232,10 +233,10 @@ async function getRepos(config) {
232
233
  return topicRepositories.map((repo) => repo.full_name);
233
234
  }
234
235
  async function getBranchProtection(branchName) {
235
- // istanbul ignore if
236
+ /* v8 ignore start */
236
237
  if (config.parentRepo) {
237
238
  return {};
238
- }
239
+ } /* v8 ignore stop */
239
240
  const res = await common_2.githubApi.getJsonUnchecked(`repos/${config.repository}/branches/${escapeHash(branchName)}/protection`, { cacheProvider: repository_http_cache_provider_1.repoCacheProvider });
240
241
  return res.body;
241
242
  }
@@ -341,13 +342,13 @@ async function initRepo({ endpoint, repository, forkCreation, forkOrg, forkToken
341
342
  cloneSubmodulesFilter,
342
343
  ignorePrAuthor,
343
344
  };
344
- // istanbul ignore if
345
+ /* v8 ignore start */
345
346
  if (endpoint) {
346
347
  // Necessary for Renovate Pro - do not remove
347
348
  logger_1.logger.debug(`Overriding default GitHub endpoint with ${endpoint}`);
348
349
  platformConfig.endpoint = endpoint;
349
350
  githubHttp.setBaseUrl(endpoint);
350
- }
351
+ } /* v8 ignore stop */
351
352
  const opts = hostRules.find({
352
353
  hostType: 'github',
353
354
  url: platformConfig.endpoint,
@@ -389,16 +390,16 @@ async function initRepo({ endpoint, repository, forkCreation, forkOrg, forkToken
389
390
  throw new Error(error_messages_1.PLATFORM_UNKNOWN_ERROR);
390
391
  }
391
392
  repo = res?.data?.repository;
392
- // istanbul ignore if
393
+ /* v8 ignore start */
393
394
  if (!repo) {
394
395
  logger_1.logger.debug({ res }, 'No repository returned');
395
396
  throw new Error(error_messages_1.REPOSITORY_NOT_FOUND);
396
- }
397
- // istanbul ignore if
397
+ } /* v8 ignore stop */
398
+ /* v8 ignore start */
398
399
  if (!repo.defaultBranchRef?.name) {
399
400
  logger_1.logger.debug({ res }, 'No default branch returned - treating repo as empty');
400
401
  throw new Error(error_messages_1.REPOSITORY_EMPTY);
401
- }
402
+ } /* v8 ignore stop */
402
403
  if (repo.nameWithOwner &&
403
404
  repo.nameWithOwner.toUpperCase() !== repository.toUpperCase()) {
404
405
  logger_1.logger.debug({ desiredRepo: repository, foundRepo: repo.nameWithOwner }, 'Repository has been renamed');
@@ -434,7 +435,7 @@ async function initRepo({ endpoint, repository, forkCreation, forkOrg, forkToken
434
435
  .parse(res?.data?.repository?.issues?.nodes);
435
436
  issue_1.GithubIssueCache.addIssuesToReconcile(recentIssues);
436
437
  }
437
- catch (err) /* istanbul ignore next */ {
438
+ catch (err) /* v8 ignore start */ {
438
439
  logger_1.logger.debug({ err }, 'Caught initRepo error');
439
440
  if (err.message === error_messages_1.REPOSITORY_ARCHIVED ||
440
441
  err.message === error_messages_1.REPOSITORY_RENAMED ||
@@ -464,7 +465,7 @@ async function initRepo({ endpoint, repository, forkCreation, forkOrg, forkToken
464
465
  }
465
466
  logger_1.logger.debug({ err }, 'Unknown GitHub initRepo error');
466
467
  throw err;
467
- }
468
+ } /* v8 ignore stop */
468
469
  // This shouldn't be necessary, but occasional strange errors happened until it was added
469
470
  config.prList = null;
470
471
  if (forkToken) {
@@ -500,14 +501,14 @@ async function initRepo({ endpoint, repository, forkCreation, forkOrg, forkToken
500
501
  });
501
502
  logger_1.logger.debug('Created new default branch in fork');
502
503
  }
503
- catch (err) /* istanbul ignore next */ {
504
+ catch (err) /* v8 ignore start */ {
504
505
  if (err.response?.body?.message === 'Reference already exists') {
505
506
  logger_1.logger.debug(`Branch ${config.defaultBranch} already exists in the fork`);
506
507
  }
507
508
  else {
508
509
  logger_1.logger.warn({ err, body: err.response?.body }, 'Could not create parent defaultBranch in fork');
509
510
  }
510
- }
511
+ } /* v8 ignore stop */
511
512
  logger_1.logger.debug(`Setting ${config.defaultBranch} as default branch for ${config.repository}`);
512
513
  try {
513
514
  await common_2.githubApi.patchJson(`repos/${config.repository}`, {
@@ -519,9 +520,9 @@ async function initRepo({ endpoint, repository, forkCreation, forkOrg, forkToken
519
520
  });
520
521
  logger_1.logger.debug('Successfully changed default branch for fork');
521
522
  }
522
- catch (err) /* istanbul ignore next */ {
523
+ catch (err) /* v8 ignore start */ {
523
524
  logger_1.logger.warn({ err }, 'Could not set default branch');
524
- }
525
+ } /* v8 ignore stop */
525
526
  }
526
527
  // This is a lovely "hack" by GitHub that lets us force update our fork's default branch
527
528
  // with the base commit from the parent repository
@@ -537,13 +538,13 @@ async function initRepo({ endpoint, repository, forkCreation, forkOrg, forkToken
537
538
  token: (0, string_1.coerceString)(forkToken, opts.token),
538
539
  });
539
540
  }
540
- catch (err) /* istanbul ignore next */ {
541
- logger_1.logger.warn({ url, sha, err: err.err || err }, 'Error updating fork from upstream - cannot continue');
541
+ catch (err) /* v8 ignore start */ {
542
+ logger_1.logger.warn({ url, sha, err: err.err ?? err }, 'Error updating fork from upstream - cannot continue');
542
543
  if (err instanceof external_host_error_1.ExternalHostError) {
543
544
  throw err;
544
545
  }
545
546
  throw new external_host_error_1.ExternalHostError(err);
546
- }
547
+ } /* v8 ignore stop */
547
548
  }
548
549
  else if (forkCreation) {
549
550
  logger_1.logger.debug('Forked repo is not found - attempting to create it');
@@ -556,18 +557,17 @@ async function initRepo({ endpoint, repository, forkCreation, forkOrg, forkToken
556
557
  }
557
558
  }
558
559
  const parsedEndpoint = node_url_1.default.parse(platformConfig.endpoint);
559
- // istanbul ignore else
560
560
  if (forkToken) {
561
561
  logger_1.logger.debug('Using forkToken for git init');
562
562
  parsedEndpoint.auth = (0, coerce_1.coerceToNull)(config.forkToken);
563
- }
563
+ } /* v8 ignore start */
564
564
  else {
565
565
  const tokenType = opts.token?.startsWith('x-access-token:')
566
566
  ? 'app'
567
567
  : 'personal access';
568
568
  logger_1.logger.debug(`Using ${tokenType} token for git init`);
569
569
  parsedEndpoint.auth = opts.token ?? null;
570
- }
570
+ } /* v8 ignore stop */
571
571
  // TODO: null checks (#22198)
572
572
  parsedEndpoint.host = parsedEndpoint.host.replace('api.github.com', 'github.com');
573
573
  parsedEndpoint.pathname = `${config.repository}.git`;
@@ -792,14 +792,14 @@ async function getBranchStatus(branchName, internalChecksAsSuccess) {
792
792
  try {
793
793
  commitStatus = await getStatus(branchName);
794
794
  }
795
- catch (err) /* istanbul ignore next */ {
795
+ catch (err) /* v8 ignore start */ {
796
796
  if (err.statusCode === 404) {
797
797
  logger_1.logger.debug('Received 404 when checking branch status, assuming that branch has been deleted');
798
798
  throw new Error(error_messages_1.REPOSITORY_CHANGED);
799
799
  }
800
800
  logger_1.logger.debug('Unknown error when checking branch status');
801
801
  throw err;
802
- }
802
+ } /* v8 ignore stop */
803
803
  logger_1.logger.debug({ state: commitStatus.state, statuses: commitStatus.statuses }, 'branch status check result');
804
804
  if (commitStatus.statuses && !internalChecksAsSuccess) {
805
805
  commitStatus.statuses = commitStatus.statuses.filter((status) => status.state !== 'success' || !status.context?.startsWith('renovate/'));
@@ -818,6 +818,7 @@ async function getBranchStatus(branchName, internalChecksAsSuccess) {
818
818
  },
819
819
  paginate: true,
820
820
  paginationField: 'check_runs',
821
+ cacheProvider: memory_http_cache_provider_1.memCacheProvider,
821
822
  };
822
823
  const checkRunsRaw = (await common_2.githubApi.getJsonUnchecked(checkRunsUrl, opts)).body;
823
824
  if (checkRunsRaw.check_runs?.length) {
@@ -827,13 +828,12 @@ async function getBranchStatus(branchName, internalChecksAsSuccess) {
827
828
  conclusion: run.conclusion,
828
829
  }));
829
830
  logger_1.logger.debug({ checkRuns }, 'check runs result');
830
- }
831
+ } /* v8 ignore start */
831
832
  else {
832
- // istanbul ignore next
833
833
  logger_1.logger.debug({ result: checkRunsRaw }, 'No check runs found');
834
- }
834
+ } /* v8 ignore stop */
835
835
  }
836
- catch (err) /* istanbul ignore next */ {
836
+ catch (err) /* v8 ignore start */ {
837
837
  if (err instanceof external_host_error_1.ExternalHostError) {
838
838
  throw err;
839
839
  }
@@ -844,7 +844,7 @@ async function getBranchStatus(branchName, internalChecksAsSuccess) {
844
844
  else {
845
845
  logger_1.logger.warn({ err }, 'Error retrieving check runs');
846
846
  }
847
- }
847
+ } /* v8 ignore stop */
848
848
  if (checkRuns.length === 0) {
849
849
  if (commitStatus.state === 'success') {
850
850
  return 'green';
@@ -867,9 +867,10 @@ async function getBranchStatus(branchName, internalChecksAsSuccess) {
867
867
  async function getStatusCheck(branchName, useCache = true) {
868
868
  const branchCommit = git.getBranchCommit(branchName);
869
869
  const url = `repos/${config.repository}/commits/${branchCommit}/statuses`;
870
- return (await common_2.githubApi.getJsonUnchecked(url, {
871
- memCache: useCache,
872
- })).body;
870
+ const opts = useCache
871
+ ? { cacheProvider: memory_http_cache_provider_1.memCacheProvider }
872
+ : { memCache: false };
873
+ return (await common_2.githubApi.getJsonUnchecked(url, opts)).body;
873
874
  }
874
875
  const githubToRenovateStatusMapping = {
875
876
  success: 'green',
@@ -887,20 +888,20 @@ async function getBranchStatusCheck(branchName, context) {
887
888
  }
888
889
  return null;
889
890
  }
890
- catch (err) /* istanbul ignore next */ {
891
+ catch (err) /* v8 ignore start */ {
891
892
  if (err.statusCode === 404) {
892
893
  logger_1.logger.debug('Commit not found when checking statuses');
893
894
  throw new Error(error_messages_1.REPOSITORY_CHANGED);
894
895
  }
895
896
  throw err;
896
- }
897
+ } /* v8 ignore stop */
897
898
  }
898
899
  async function setBranchStatus({ branchName, context, description, state, url: targetUrl, }) {
899
- // istanbul ignore if
900
+ /* v8 ignore start */
900
901
  if (config.parentRepo) {
901
902
  logger_1.logger.debug('Cannot set branch status when in forking mode');
902
903
  return;
903
- }
904
+ } /* v8 ignore stop */
904
905
  const existingStatus = await getBranchStatusCheck(branchName, context);
905
906
  if (existingStatus === state) {
906
907
  return;
@@ -928,10 +929,10 @@ async function setBranchStatus({ branchName, context, description, state, url: t
928
929
  await getStatus(branchName, false);
929
930
  await getStatusCheck(branchName, false);
930
931
  }
931
- catch (err) /* istanbul ignore next */ {
932
+ catch (err) /* v8 ignore start */ {
932
933
  logger_1.logger.debug({ err, url }, 'Caught error setting branch status - aborting');
933
934
  throw new Error(error_messages_1.REPOSITORY_CHANGED);
934
- }
935
+ } /* v8 ignore stop */
935
936
  }
936
937
  // Issue
937
938
  async function getIssues() {
@@ -947,10 +948,10 @@ async function getIssues() {
947
948
  return issue_1.GithubIssue.array().parse(result);
948
949
  }
949
950
  async function getIssueList() {
950
- // istanbul ignore if
951
+ /* v8 ignore start */
951
952
  if (config.hasIssuesEnabled === false) {
952
953
  return [];
953
- }
954
+ } /* v8 ignore stop */
954
955
  let issueList = issue_1.GithubIssueCache.getIssues();
955
956
  if (!issueList) {
956
957
  logger_1.logger.debug('Retrieving issueList');
@@ -997,11 +998,11 @@ async function closeIssue(issueNumber) {
997
998
  }
998
999
  async function ensureIssue({ title, reuseTitle, body: rawBody, labels, once = false, shouldReOpen = true, }) {
999
1000
  logger_1.logger.debug(`ensureIssue(${title})`);
1000
- // istanbul ignore if
1001
+ /* v8 ignore start */
1001
1002
  if (config.hasIssuesEnabled === false) {
1002
1003
  logger_1.logger.info('Cannot ensure issue because issues are disabled in this repository');
1003
1004
  return null;
1004
- }
1005
+ } /* v8 ignore stop */
1005
1006
  const body = (0, sanitize_1.sanitize)(rawBody);
1006
1007
  try {
1007
1008
  const issueList = await getIssueList();
@@ -1064,22 +1065,22 @@ async function ensureIssue({ title, reuseTitle, body: rawBody, labels, once = fa
1064
1065
  issue_1.GithubIssueCache.updateIssue(createdIssue);
1065
1066
  return 'created';
1066
1067
  }
1067
- catch (err) /* istanbul ignore next */ {
1068
+ catch (err) /* v8 ignore start */ {
1068
1069
  if (err.body?.message?.startsWith('Issues are disabled for this repo')) {
1069
1070
  logger_1.logger.debug(`Issues are disabled, so could not create issue: ${title}`);
1070
1071
  }
1071
1072
  else {
1072
1073
  logger_1.logger.warn({ err }, 'Could not ensure issue');
1073
1074
  }
1074
- }
1075
+ } /* v8 ignore stop */
1075
1076
  return null;
1076
1077
  }
1077
1078
  async function ensureIssueClosing(title) {
1078
1079
  logger_1.logger.trace(`ensureIssueClosing(${title})`);
1079
- // istanbul ignore if
1080
+ /* v8 ignore start */
1080
1081
  if (config.hasIssuesEnabled === false) {
1081
1082
  return;
1082
- }
1083
+ } /* v8 ignore stop */
1083
1084
  const issueList = await getIssueList();
1084
1085
  for (const issue of issueList) {
1085
1086
  if (issue.state === 'open' && issue.title === title) {
@@ -1102,7 +1103,8 @@ async function tryAddMilestone(issueNo, milestoneNo) {
1102
1103
  issue_1.GithubIssueCache.updateIssue(updatedIssue);
1103
1104
  }
1104
1105
  catch (err) {
1105
- const actualError = err.response?.body || /* istanbul ignore next */ err;
1106
+ /* v8 ignore next */
1107
+ const actualError = err.response?.body ?? err;
1106
1108
  logger_1.logger.warn({
1107
1109
  milestone: milestoneNo,
1108
1110
  pr: issueNo,
@@ -1130,9 +1132,9 @@ async function addReviewers(prNo, reviewers) {
1130
1132
  },
1131
1133
  });
1132
1134
  }
1133
- catch (err) /* istanbul ignore next */ {
1135
+ catch (err) /* v8 ignore start */ {
1134
1136
  logger_1.logger.warn({ err }, 'Failed to assign reviewer');
1135
- }
1137
+ } /* v8 ignore stop */
1136
1138
  }
1137
1139
  async function addLabels(issueNo, labels) {
1138
1140
  logger_1.logger.debug(`Adding labels '${labels?.join(', ')}' to #${issueNo}`);
@@ -1144,9 +1146,9 @@ async function addLabels(issueNo, labels) {
1144
1146
  });
1145
1147
  }
1146
1148
  }
1147
- catch (err) {
1149
+ catch (err) /* v8 ignore start */ {
1148
1150
  logger_1.logger.warn({ err, issueNo, labels }, 'Error while adding labels. Skipping');
1149
- }
1151
+ } /* v8 ignore stop */
1150
1152
  }
1151
1153
  async function deleteLabel(issueNo, label) {
1152
1154
  logger_1.logger.debug(`Deleting label ${label} from #${issueNo}`);
@@ -1154,9 +1156,9 @@ async function deleteLabel(issueNo, label) {
1154
1156
  try {
1155
1157
  await common_2.githubApi.deleteJson(`repos/${repository}/issues/${issueNo}/labels/${label}`);
1156
1158
  }
1157
- catch (err) /* istanbul ignore next */ {
1159
+ catch (err) /* v8 ignore start */ {
1158
1160
  logger_1.logger.warn({ err, issueNo, label }, 'Failed to delete label');
1159
- }
1161
+ } /* v8 ignore stop */
1160
1162
  }
1161
1163
  async function addComment(issueNo, body) {
1162
1164
  // POST /repos/:owner/:repo/issues/:number/comments
@@ -1187,13 +1189,13 @@ async function getComments(issueNo) {
1187
1189
  logger_1.logger.debug(`Found ${comments.length} comments`);
1188
1190
  return comments;
1189
1191
  }
1190
- catch (err) /* istanbul ignore next */ {
1192
+ catch (err) /* v8 ignore start */ {
1191
1193
  if (err.statusCode === 404) {
1192
1194
  logger_1.logger.debug('404 response when retrieving comments');
1193
1195
  throw new external_host_error_1.ExternalHostError(err, 'github');
1194
1196
  }
1195
1197
  throw err;
1196
- }
1198
+ } /* v8 ignore stop */
1197
1199
  }
1198
1200
  async function ensureComment({ number, topic, content, }) {
1199
1201
  const sanitizedContent = (0, sanitize_1.sanitize)(content);
@@ -1235,7 +1237,7 @@ async function ensureComment({ number, topic, content, }) {
1235
1237
  }
1236
1238
  return true;
1237
1239
  }
1238
- catch (err) /* istanbul ignore next */ {
1240
+ catch (err) /* v8 ignore start */ {
1239
1241
  if (err instanceof external_host_error_1.ExternalHostError) {
1240
1242
  throw err;
1241
1243
  }
@@ -1246,7 +1248,7 @@ async function ensureComment({ number, topic, content, }) {
1246
1248
  logger_1.logger.warn({ err }, 'Error ensuring comment');
1247
1249
  }
1248
1250
  return false;
1249
- }
1251
+ } /* v8 ignore stop */
1250
1252
  }
1251
1253
  async function ensureCommentRemoval(deleteConfig) {
1252
1254
  const { number: issueNo } = deleteConfig;
@@ -1270,9 +1272,9 @@ async function ensureCommentRemoval(deleteConfig) {
1270
1272
  await deleteComment(commentId);
1271
1273
  }
1272
1274
  }
1273
- catch (err) /* istanbul ignore next */ {
1275
+ catch (err) /* v8 ignore start */ {
1274
1276
  logger_1.logger.warn({ err }, 'Error deleting comment');
1275
- }
1277
+ } /* v8 ignore stop */
1276
1278
  }
1277
1279
  // Pull Request
1278
1280
  async function tryPrAutomerge(prNumber, prNodeId, platformPrOptions) {
@@ -1303,9 +1305,9 @@ async function tryPrAutomerge(prNumber, prNodeId, platformPrOptions) {
1303
1305
  }
1304
1306
  logger_1.logger.debug(`GitHub-native automerge: success...PrNo: ${prNumber}`);
1305
1307
  }
1306
- catch (err) /* istanbul ignore next: missing test #22198 */ {
1308
+ catch (err) /* v8 ignore start: missing test #22198 */ {
1307
1309
  logger_1.logger.warn({ prNumber, err }, 'GitHub-native automerge: REST API error');
1308
- }
1310
+ } /* v8 ignore stop */
1309
1311
  }
1310
1312
  // Creates PR and returns PR number
1311
1313
  async function createPr({ sourceBranch, targetBranch, prTitle: title, prBody: rawBody, labels, draftPR = false, platformPrOptions, milestone, }) {
@@ -1323,13 +1325,13 @@ async function createPr({ sourceBranch, targetBranch, prTitle: title, prBody: ra
1323
1325
  draft: draftPR,
1324
1326
  },
1325
1327
  };
1326
- // istanbul ignore if
1328
+ /* v8 ignore start */
1327
1329
  if (config.forkToken) {
1328
1330
  options.token = config.forkToken;
1329
1331
  options.body.maintainer_can_modify =
1330
1332
  !config.forkOrg &&
1331
1333
  platformPrOptions?.forkModeDisallowMaintainerEdits !== true;
1332
- }
1334
+ } /* v8 ignore stop */
1333
1335
  logger_1.logger.debug({ title, head, base, draft: draftPR }, 'Creating PR');
1334
1336
  const ghPr = (await common_2.githubApi.postJson(`repos/${config.parentRepo ?? config.repository}/pulls`, options)).body;
1335
1337
  logger_1.logger.debug({ branch: sourceBranch, pr: ghPr.number, draft: draftPR }, 'PR created');
@@ -1357,10 +1359,10 @@ async function updatePr({ number: prNo, prTitle: title, prBody: rawBody, addLabe
1357
1359
  const options = {
1358
1360
  body: patchBody,
1359
1361
  };
1360
- // istanbul ignore if
1362
+ /* v8 ignore start */
1361
1363
  if (config.forkToken) {
1362
1364
  options.token = config.forkToken;
1363
- }
1365
+ } /* v8 ignore stop */
1364
1366
  // Update PR labels
1365
1367
  try {
1366
1368
  if (labelsToAdd) {
@@ -1376,12 +1378,12 @@ async function updatePr({ number: prNo, prTitle: title, prBody: rawBody, addLabe
1376
1378
  cachePr(result);
1377
1379
  logger_1.logger.debug(`PR updated...prNo: ${prNo}`);
1378
1380
  }
1379
- catch (err) /* istanbul ignore next */ {
1381
+ catch (err) /* v8 ignore start */ {
1380
1382
  if (err instanceof external_host_error_1.ExternalHostError) {
1381
1383
  throw err;
1382
1384
  }
1383
1385
  logger_1.logger.warn({ err }, 'Error updating PR');
1384
- }
1386
+ } /* v8 ignore stop */
1385
1387
  }
1386
1388
  async function reattemptPlatformAutomerge({ number, platformPrOptions, }) {
1387
1389
  try {
@@ -1390,31 +1392,33 @@ async function reattemptPlatformAutomerge({ number, platformPrOptions, }) {
1390
1392
  await tryPrAutomerge(number, node_id, platformPrOptions);
1391
1393
  logger_1.logger.debug(`PR platform automerge re-attempted...prNo: ${number}`);
1392
1394
  }
1393
- catch (err) {
1395
+ catch (err) /* v8 ignore start */ {
1394
1396
  logger_1.logger.warn({ err }, 'Error re-attempting PR platform automerge');
1395
- }
1397
+ } /* v8 ignore stop */
1396
1398
  }
1397
- async function mergePr({ branchName, id: prNo, }) {
1399
+ async function mergePr({ branchName, id: prNo, strategy, }) {
1398
1400
  logger_1.logger.debug(`mergePr(${prNo}, ${branchName})`);
1399
1401
  const url = `repos/${config.parentRepo ?? config.repository}/pulls/${prNo}/merge`;
1400
1402
  const options = {
1401
1403
  body: {},
1402
1404
  };
1403
- // istanbul ignore if
1405
+ /* v8 ignore start */
1404
1406
  if (config.forkToken) {
1405
1407
  options.token = config.forkToken;
1406
- }
1408
+ } /* v8 ignore stop */
1407
1409
  let automerged = false;
1408
1410
  let automergeResult;
1409
- if (config.mergeMethod) {
1410
- // This path is taken if we have auto-detected the allowed merge types from the repo
1411
- options.body.merge_method = config.mergeMethod;
1411
+ const mergeStrategy = (0, common_2.mapMergeStartegy)(strategy) ?? config.mergeMethod;
1412
+ if (mergeStrategy) {
1413
+ // This path is taken if we have auto-detected the allowed merge types from the repo or
1414
+ // automergeStrategy is configured by user
1415
+ options.body.merge_method = mergeStrategy;
1412
1416
  try {
1413
1417
  logger_1.logger.debug({ options, url }, `mergePr`);
1414
1418
  automergeResult = await common_2.githubApi.putJson(url, options);
1415
1419
  automerged = true;
1416
1420
  }
1417
- catch (err) {
1421
+ catch (err) /* v8 ignore start */ {
1418
1422
  if (err.statusCode === 404 || err.statusCode === 405) {
1419
1423
  const body = err.response?.body;
1420
1424
  if (is_1.default.nonEmptyString(body?.message) &&
@@ -1434,7 +1438,7 @@ async function mergePr({ branchName, id: prNo, }) {
1434
1438
  logger_1.logger.warn({ mergeMethod: config.mergeMethod, err }, 'Failed to merge PR');
1435
1439
  return false;
1436
1440
  }
1437
- }
1441
+ } /* v8 ignore stop */
1438
1442
  }
1439
1443
  if (!automerged) {
1440
1444
  // We need to guess the merge method and try squash -> merge -> rebase
@@ -1491,10 +1495,11 @@ function maxBodyLength() {
1491
1495
  return GitHubMaxPrBodyLen;
1492
1496
  }
1493
1497
  async function getVulnerabilityAlerts() {
1498
+ /* v8 ignore start */
1494
1499
  if (config.hasVulnerabilityAlertsEnabled === false) {
1495
1500
  logger_1.logger.debug('No vulnerability alerts enabled for repo');
1496
1501
  return [];
1497
- }
1502
+ } /* v8 ignore stop */
1498
1503
  let vulnerabilityAlerts;
1499
1504
  try {
1500
1505
  vulnerabilityAlerts = (await common_2.githubApi.getJson(`/repos/${config.repositoryOwner}/${config.repositoryName}/dependabot/alerts?state=open&direction=asc&per_page=100`, {
@@ -1503,12 +1508,12 @@ async function getVulnerabilityAlerts() {
1503
1508
  cacheProvider: repository_http_cache_provider_1.repoCacheProvider,
1504
1509
  }, schema_1.VulnerabilityAlertSchema)).body;
1505
1510
  }
1506
- catch (err) {
1511
+ catch (err) /* v8 ignore start */ {
1507
1512
  logger_1.logger.debug({ err }, 'Error retrieving vulnerability alerts');
1508
1513
  logger_1.logger.warn({
1509
1514
  url: 'https://docs.renovatebot.com/configuration-options/#vulnerabilityalerts',
1510
1515
  }, 'Cannot access vulnerability alerts. Please ensure permissions have been granted.');
1511
- }
1516
+ } /* v8 ignore stop */
1512
1517
  try {
1513
1518
  if (vulnerabilityAlerts?.length) {
1514
1519
  const shortAlerts = {};
@@ -1536,9 +1541,9 @@ async function getVulnerabilityAlerts() {
1536
1541
  logger_1.logger.debug('No vulnerability alerts found');
1537
1542
  }
1538
1543
  }
1539
- catch (err) /* istanbul ignore next */ {
1544
+ catch (err) /* v8 ignore start */ {
1540
1545
  logger_1.logger.error({ err }, 'Error processing vulnerabity alerts');
1541
- }
1546
+ } /* v8 ignore stop */
1542
1547
  return vulnerabilityAlerts ?? [];
1543
1548
  }
1544
1549
  async function pushFiles({ branchName, message }, { parentCommitSha, commitSha }) {