renovate 40.0.0-next.2 → 40.0.0-next.21

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 (294) 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/migrate-validate.js +3 -2
  7. package/dist/config/migrate-validate.js.map +1 -1
  8. package/dist/config/migration.js +2 -1
  9. package/dist/config/migration.js.map +1 -1
  10. package/dist/config/migrations/custom/rebase-stale-prs-migration.js +1 -1
  11. package/dist/config/migrations/custom/rebase-stale-prs-migration.js.map +1 -1
  12. package/dist/config/options/index.js +3 -3
  13. package/dist/config/options/index.js.map +1 -1
  14. package/dist/config/parse.js +2 -2
  15. package/dist/config/parse.js.map +1 -1
  16. package/dist/config/presets/gitea/index.js +0 -1
  17. package/dist/config/presets/gitea/index.js.map +1 -1
  18. package/dist/config/presets/github/index.js +0 -1
  19. package/dist/config/presets/github/index.js.map +1 -1
  20. package/dist/config/presets/gitlab/index.js +1 -1
  21. package/dist/config/presets/gitlab/index.js.map +1 -1
  22. package/dist/config/presets/http/index.js +1 -2
  23. package/dist/config/presets/http/index.js.map +1 -1
  24. package/dist/config/presets/index.js +0 -7
  25. package/dist/config/presets/index.js.map +1 -1
  26. package/dist/config/presets/internal/custom-managers.js +3 -4
  27. package/dist/config/presets/internal/custom-managers.js.map +1 -1
  28. package/dist/config/presets/internal/index.js +1 -3
  29. package/dist/config/presets/internal/index.js.map +1 -1
  30. package/dist/config/schema.d.ts +2 -2
  31. package/dist/config/validation.js +3 -5
  32. package/dist/config/validation.js.map +1 -1
  33. package/dist/config-validator.js +0 -1
  34. package/dist/config-validator.js.map +1 -1
  35. package/dist/constants/category.js +0 -1
  36. package/dist/constants/category.js.map +1 -1
  37. package/dist/data/monorepo.json +2 -1
  38. package/dist/instrumentation/index.js +5 -3
  39. package/dist/instrumentation/index.js.map +1 -1
  40. package/dist/instrumentation/utils.js +1 -1
  41. package/dist/instrumentation/utils.js.map +1 -1
  42. package/dist/logger/cmd-serializer.js +0 -1
  43. package/dist/logger/cmd-serializer.js.map +1 -1
  44. package/dist/logger/config-serializer.js +0 -1
  45. package/dist/logger/config-serializer.js.map +1 -1
  46. package/dist/logger/index.js +0 -3
  47. package/dist/logger/index.js.map +1 -1
  48. package/dist/logger/once.js +4 -2
  49. package/dist/logger/once.js.map +1 -1
  50. package/dist/logger/pretty-stdout.js +0 -1
  51. package/dist/logger/pretty-stdout.js.map +1 -1
  52. package/dist/logger/renovate-logger.js +1 -1
  53. package/dist/logger/renovate-logger.js.map +1 -1
  54. package/dist/logger/utils.js +6 -11
  55. package/dist/logger/utils.js.map +1 -1
  56. package/dist/modules/datasource/artifactory/index.js +1 -1
  57. package/dist/modules/datasource/artifactory/index.js.map +1 -1
  58. package/dist/modules/datasource/azure-pipelines-tasks/index.js +11 -1
  59. package/dist/modules/datasource/azure-pipelines-tasks/index.js.map +1 -1
  60. package/dist/modules/datasource/azure-pipelines-tasks/schema.d.ts +16 -0
  61. package/dist/modules/datasource/azure-pipelines-tasks/schema.js +2 -0
  62. package/dist/modules/datasource/azure-pipelines-tasks/schema.js.map +1 -1
  63. package/dist/modules/datasource/crate/index.js +1 -1
  64. package/dist/modules/datasource/crate/index.js.map +1 -1
  65. package/dist/modules/datasource/custom/formats/html.js +1 -1
  66. package/dist/modules/datasource/custom/formats/html.js.map +1 -1
  67. package/dist/modules/datasource/custom/formats/yaml.js +1 -1
  68. package/dist/modules/datasource/custom/formats/yaml.js.map +1 -1
  69. package/dist/modules/datasource/custom/schema.d.ts +5 -5
  70. package/dist/modules/datasource/deb/index.js +1 -1
  71. package/dist/modules/datasource/deb/index.js.map +1 -1
  72. package/dist/modules/datasource/deno/schema.d.ts +8 -8
  73. package/dist/modules/datasource/docker/common.js +1 -1
  74. package/dist/modules/datasource/docker/common.js.map +1 -1
  75. package/dist/modules/datasource/docker/index.js +5 -3
  76. package/dist/modules/datasource/docker/index.js.map +1 -1
  77. package/dist/modules/datasource/docker/schema.d.ts +32 -32
  78. package/dist/modules/datasource/galaxy/schema.d.ts +1 -1
  79. package/dist/modules/datasource/galaxy-collection/schema.d.ts +3 -3
  80. package/dist/modules/datasource/gitea-releases/schema.d.ts +4 -4
  81. package/dist/modules/datasource/gitea-tags/schema.d.ts +4 -4
  82. package/dist/modules/datasource/github-release-attachments/index.js +2 -2
  83. package/dist/modules/datasource/github-release-attachments/index.js.map +1 -1
  84. package/dist/modules/datasource/go/base.js +1 -1
  85. package/dist/modules/datasource/go/base.js.map +1 -1
  86. package/dist/modules/datasource/go/releases-goproxy.js +1 -1
  87. package/dist/modules/datasource/go/releases-goproxy.js.map +1 -1
  88. package/dist/modules/datasource/golang-version/index.js +1 -1
  89. package/dist/modules/datasource/golang-version/index.js.map +1 -1
  90. package/dist/modules/datasource/hex/schema.d.ts +11 -11
  91. package/dist/modules/datasource/hexpm-bob/index.js +1 -1
  92. package/dist/modules/datasource/hexpm-bob/index.js.map +1 -1
  93. package/dist/modules/datasource/index.js +2 -2
  94. package/dist/modules/datasource/index.js.map +1 -1
  95. package/dist/modules/datasource/maven/util.js +1 -1
  96. package/dist/modules/datasource/maven/util.js.map +1 -1
  97. package/dist/modules/datasource/nuget/v2.js +1 -1
  98. package/dist/modules/datasource/nuget/v2.js.map +1 -1
  99. package/dist/modules/datasource/nuget/v3.js +1 -1
  100. package/dist/modules/datasource/nuget/v3.js.map +1 -1
  101. package/dist/modules/datasource/packagist/schema.d.ts +30 -30
  102. package/dist/modules/datasource/pod/index.js +1 -1
  103. package/dist/modules/datasource/pod/index.js.map +1 -1
  104. package/dist/modules/datasource/pypi/index.js +1 -1
  105. package/dist/modules/datasource/pypi/index.js.map +1 -1
  106. package/dist/modules/datasource/ruby-version/index.js +1 -1
  107. package/dist/modules/datasource/ruby-version/index.js.map +1 -1
  108. package/dist/modules/datasource/rubygems/index.js +1 -1
  109. package/dist/modules/datasource/rubygems/index.js.map +1 -1
  110. package/dist/modules/datasource/rubygems/versions-endpoint-cache.js +2 -2
  111. package/dist/modules/datasource/rubygems/versions-endpoint-cache.js.map +1 -1
  112. package/dist/modules/datasource/terraform-provider/index.js +1 -1
  113. package/dist/modules/datasource/terraform-provider/index.js.map +1 -1
  114. package/dist/modules/datasource/unity3d/index.d.ts +4 -1
  115. package/dist/modules/datasource/unity3d/index.js +36 -42
  116. package/dist/modules/datasource/unity3d/index.js.map +1 -1
  117. package/dist/modules/datasource/unity3d/schema.d.ts +47 -0
  118. package/dist/modules/datasource/unity3d/schema.js +17 -0
  119. package/dist/modules/datasource/unity3d/schema.js.map +1 -0
  120. package/dist/modules/manager/argocd/schema.d.ts +10 -10
  121. package/dist/modules/manager/azure-pipelines/schema.d.ts +10 -10
  122. package/dist/modules/manager/batect/schema.d.ts +6 -6
  123. package/dist/modules/manager/batect-wrapper/artifacts.js +1 -1
  124. package/dist/modules/manager/batect-wrapper/artifacts.js.map +1 -1
  125. package/dist/modules/manager/bazel/rules/docker.d.ts +9 -9
  126. package/dist/modules/manager/bazel/rules/git.d.ts +10 -10
  127. package/dist/modules/manager/bazel/rules/git.js +7 -1
  128. package/dist/modules/manager/bazel/rules/git.js.map +1 -1
  129. package/dist/modules/manager/bazel/rules/go.d.ts +5 -5
  130. package/dist/modules/manager/bazel/rules/oci.d.ts +3 -3
  131. package/dist/modules/manager/bazel-module/parser/fragments.d.ts +40 -40
  132. package/dist/modules/manager/bazel-module/parser/maven.d.ts +27 -27
  133. package/dist/modules/manager/bazel-module/parser/oci.d.ts +17 -17
  134. package/dist/modules/manager/bazel-module/rules.d.ts +40 -40
  135. package/dist/modules/manager/bundler/artifacts.js.map +1 -1
  136. package/dist/modules/manager/cargo/schema.d.ts +100 -100
  137. package/dist/modules/manager/circleci/schema.d.ts +6 -6
  138. package/dist/modules/manager/composer/schema.d.ts +40 -40
  139. package/dist/modules/manager/composer/utils.js +9 -6
  140. package/dist/modules/manager/composer/utils.js.map +1 -1
  141. package/dist/modules/manager/crossplane/schema.d.ts +2 -2
  142. package/dist/modules/manager/custom/jsonata/index.js +4 -0
  143. package/dist/modules/manager/custom/jsonata/index.js.map +1 -1
  144. package/dist/modules/manager/custom/jsonata/schema.d.ts +7 -7
  145. package/dist/modules/manager/devbox/artifacts.d.ts +1 -1
  146. package/dist/modules/manager/devbox/artifacts.js +29 -11
  147. package/dist/modules/manager/devbox/artifacts.js.map +1 -1
  148. package/dist/modules/manager/fingerprint.generated.js +68 -68
  149. package/dist/modules/manager/fingerprint.generated.js.map +1 -1
  150. package/dist/modules/manager/fleet/schema.d.ts +12 -12
  151. package/dist/modules/manager/flux/schema.d.ts +50 -50
  152. package/dist/modules/manager/glasskube/schema.d.ts +8 -8
  153. package/dist/modules/manager/gradle-wrapper/artifacts.js +1 -1
  154. package/dist/modules/manager/gradle-wrapper/artifacts.js.map +1 -1
  155. package/dist/modules/manager/maven/extract.js +3 -1
  156. package/dist/modules/manager/maven/extract.js.map +1 -1
  157. package/dist/modules/manager/mise/extract.js +1 -1
  158. package/dist/modules/manager/mise/extract.js.map +1 -1
  159. package/dist/modules/manager/nix/schema.d.ts +24 -24
  160. package/dist/modules/manager/npm/schema.d.ts +13 -13
  161. package/dist/modules/manager/nuget/schema.d.ts +8 -8
  162. package/dist/modules/manager/ocb/schema.d.ts +6 -6
  163. package/dist/modules/manager/pep621/schema.d.ts +55 -55
  164. package/dist/modules/manager/pep621/utils.js +1 -1
  165. package/dist/modules/manager/pep621/utils.js.map +1 -1
  166. package/dist/modules/manager/poetry/artifacts.js +3 -3
  167. package/dist/modules/manager/poetry/artifacts.js.map +1 -1
  168. package/dist/modules/manager/poetry/extract.js +2 -1
  169. package/dist/modules/manager/poetry/extract.js.map +1 -1
  170. package/dist/modules/manager/poetry/schema.d.ts +48 -48
  171. package/dist/modules/manager/sveltos/schema.d.ts +12 -12
  172. package/dist/modules/manager/terraform/lockfile/hash.d.ts +1 -1
  173. package/dist/modules/manager/vendir/schema.d.ts +27 -27
  174. package/dist/modules/platform/api.d.ts +1 -1
  175. package/dist/modules/platform/bitbucket/index.d.ts +1 -0
  176. package/dist/modules/platform/bitbucket/index.js +6 -1
  177. package/dist/modules/platform/bitbucket/index.js.map +1 -1
  178. package/dist/modules/platform/bitbucket/schema.d.ts +17 -17
  179. package/dist/modules/platform/bitbucket-server/index.d.ts +1 -1
  180. package/dist/modules/platform/bitbucket-server/index.js +13 -11
  181. package/dist/modules/platform/bitbucket-server/index.js.map +1 -1
  182. package/dist/modules/platform/bitbucket-server/schema.d.ts +75 -0
  183. package/dist/modules/platform/bitbucket-server/schema.js +14 -1
  184. package/dist/modules/platform/bitbucket-server/schema.js.map +1 -1
  185. package/dist/modules/platform/bitbucket-server/types.d.ts +2 -1
  186. package/dist/modules/platform/bitbucket-server/types.js.map +1 -1
  187. package/dist/modules/platform/bitbucket-server/utils.d.ts +0 -2
  188. package/dist/modules/platform/bitbucket-server/utils.js +1 -51
  189. package/dist/modules/platform/bitbucket-server/utils.js.map +1 -1
  190. package/dist/modules/platform/gerrit/client.js +1 -1
  191. package/dist/modules/platform/gerrit/client.js.map +1 -1
  192. package/dist/modules/platform/gitea/index.d.ts +1 -0
  193. package/dist/modules/platform/gitea/index.js +11 -0
  194. package/dist/modules/platform/gitea/index.js.map +1 -1
  195. package/dist/modules/platform/gitea/schema.d.ts +8 -8
  196. package/dist/modules/platform/github/common.d.ts +2 -0
  197. package/dist/modules/platform/github/common.js +16 -0
  198. package/dist/modules/platform/github/common.js.map +1 -1
  199. package/dist/modules/platform/github/index.d.ts +1 -1
  200. package/dist/modules/platform/github/index.js +6 -4
  201. package/dist/modules/platform/github/index.js.map +1 -1
  202. package/dist/modules/platform/github/issue.d.ts +12 -12
  203. package/dist/modules/platform/github/schema.d.ts +65 -65
  204. package/dist/modules/platform/gitlab/index.d.ts +1 -0
  205. package/dist/modules/platform/gitlab/index.js +9 -0
  206. package/dist/modules/platform/gitlab/index.js.map +1 -1
  207. package/dist/modules/platform/scm.d.ts +1 -1
  208. package/dist/modules/versioning/composer/index.js +10 -0
  209. package/dist/modules/versioning/composer/index.js.map +1 -1
  210. package/dist/modules/versioning/npm/index.js +2 -1
  211. package/dist/modules/versioning/npm/index.js.map +1 -1
  212. package/dist/modules/versioning/schema.js +1 -1
  213. package/dist/modules/versioning/schema.js.map +1 -1
  214. package/dist/modules/versioning/types.d.ts +4 -0
  215. package/dist/modules/versioning/types.js.map +1 -1
  216. package/dist/proxy.js +2 -1
  217. package/dist/proxy.js.map +1 -1
  218. package/dist/renovate.js +2 -2
  219. package/dist/renovate.js.map +1 -1
  220. package/dist/util/cache/package/decorator.js +2 -2
  221. package/dist/util/cache/package/decorator.js.map +1 -1
  222. package/dist/util/cache/package/redis.js +0 -1
  223. package/dist/util/cache/package/redis.js.map +1 -1
  224. package/dist/util/cache/repository/impl/base.d.ts +1 -1
  225. package/dist/util/exec/containerbase.js +12 -12
  226. package/dist/util/exec/containerbase.js.map +1 -1
  227. package/dist/util/github/graphql/query-adapters/releases-query-adapter.d.ts +5 -5
  228. package/dist/util/http/auth.js +0 -1
  229. package/dist/util/http/auth.js.map +1 -1
  230. package/dist/util/http/bitbucket-server.d.ts +5 -4
  231. package/dist/util/http/bitbucket-server.js +17 -20
  232. package/dist/util/http/bitbucket-server.js.map +1 -1
  233. package/dist/util/http/bitbucket.d.ts +6 -5
  234. package/dist/util/http/bitbucket.js +30 -31
  235. package/dist/util/http/bitbucket.js.map +1 -1
  236. package/dist/util/http/cache/abstract-http-cache-provider.js +1 -1
  237. package/dist/util/http/cache/abstract-http-cache-provider.js.map +1 -1
  238. package/dist/util/http/cache/schema.d.ts +2 -2
  239. package/dist/util/http/errors.d.ts +2 -0
  240. package/dist/util/http/errors.js +8 -0
  241. package/dist/util/http/errors.js.map +1 -0
  242. package/dist/util/http/gerrit.d.ts +6 -4
  243. package/dist/util/http/gerrit.js +11 -12
  244. package/dist/util/http/gerrit.js.map +1 -1
  245. package/dist/util/http/gitea.d.ts +5 -4
  246. package/dist/util/http/gitea.js +12 -13
  247. package/dist/util/http/gitea.js.map +1 -1
  248. package/dist/util/http/github.d.ts +14 -8
  249. package/dist/util/http/github.js +64 -60
  250. package/dist/util/http/github.js.map +1 -1
  251. package/dist/util/http/gitlab.d.ts +7 -5
  252. package/dist/util/http/gitlab.js +56 -46
  253. package/dist/util/http/gitlab.js.map +1 -1
  254. package/dist/util/http/got.d.ts +9 -0
  255. package/dist/util/http/got.js +54 -0
  256. package/dist/util/http/got.js.map +1 -0
  257. package/dist/util/http/host-rules.d.ts +2 -1
  258. package/dist/util/http/host-rules.js.map +1 -1
  259. package/dist/util/http/http.d.ts +93 -0
  260. package/dist/util/http/http.js +339 -0
  261. package/dist/util/http/http.js.map +1 -0
  262. package/dist/util/http/index.d.ts +6 -74
  263. package/dist/util/http/index.js +5 -359
  264. package/dist/util/http/index.js.map +1 -1
  265. package/dist/util/http/legacy.js +4 -1
  266. package/dist/util/http/legacy.js.map +1 -1
  267. package/dist/util/http/types.d.ts +9 -16
  268. package/dist/util/http/types.js.map +1 -1
  269. package/dist/util/string.d.ts +15 -0
  270. package/dist/util/string.js +75 -0
  271. package/dist/util/string.js.map +1 -1
  272. package/dist/util/toml.d.ts +1 -0
  273. package/dist/util/toml.js +6 -0
  274. package/dist/util/toml.js.map +1 -1
  275. package/dist/util/url.js +3 -8
  276. package/dist/util/url.js.map +1 -1
  277. package/dist/util/yaml.js +2 -6
  278. package/dist/util/yaml.js.map +1 -1
  279. package/dist/workers/global/config/parse/env.js +3 -2
  280. package/dist/workers/global/config/parse/env.js.map +1 -1
  281. package/dist/workers/global/config/parse/file.js +19 -9
  282. package/dist/workers/global/config/parse/file.js.map +1 -1
  283. package/dist/workers/global/config/parse/host-rules-from-env.js +6 -2
  284. package/dist/workers/global/config/parse/host-rules-from-env.js.map +1 -1
  285. package/dist/workers/repository/cache.js +0 -1
  286. package/dist/workers/repository/cache.js.map +1 -1
  287. package/dist/workers/repository/onboarding/pr/config-description.js +3 -1
  288. package/dist/workers/repository/onboarding/pr/config-description.js.map +1 -1
  289. package/dist/workers/repository/update/pr/changelog/bitbucket/index.js +1 -1
  290. package/dist/workers/repository/update/pr/changelog/bitbucket/index.js.map +1 -1
  291. package/dist/workers/repository/update/pr/changelog/gitlab/index.js +1 -1
  292. package/dist/workers/repository/update/pr/changelog/gitlab/index.js.map +1 -1
  293. package/package.json +44 -49
  294. package/renovate-schema.json +2 -1
@@ -8,21 +8,21 @@ export declare const PoetrySource: z.ZodObject<{
8
8
  priority: z.ZodDefault<z.ZodEnum<["default", "primary", "secondary", "supplemental", "explicit"]>>;
9
9
  }, "strip", z.ZodTypeAny, {
10
10
  name: string;
11
- priority: "explicit" | "default" | "primary" | "secondary" | "supplemental";
11
+ priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
12
12
  url?: string | undefined;
13
13
  }, {
14
14
  name: string;
15
15
  url?: string | undefined;
16
- priority?: "explicit" | "default" | "primary" | "secondary" | "supplemental" | undefined;
16
+ priority?: "default" | "explicit" | "primary" | "secondary" | "supplemental" | undefined;
17
17
  }>;
18
18
  export type PoetrySource = z.infer<typeof PoetrySource>;
19
19
  export declare const PoetrySources: z.ZodCatch<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodAny, "many">, {
20
20
  name: string;
21
- priority: "explicit" | "default" | "primary" | "secondary" | "supplemental";
21
+ priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
22
22
  url?: string | undefined;
23
23
  }[], any[]>, {
24
24
  name: string;
25
- priority: "explicit" | "default" | "primary" | "secondary" | "supplemental";
25
+ priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
26
26
  url?: string | undefined;
27
27
  }[], any[]>>;
28
28
  export declare const PoetrySectionSchema: z.ZodEffects<z.ZodObject<{
@@ -32,34 +32,34 @@ export declare const PoetrySectionSchema: z.ZodEffects<z.ZodObject<{
32
32
  group: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, PackageDependency<Record<string, any>>[]>, Record<string, any>>, PackageDependency<Record<string, any>>[], Record<string, any>>>;
33
33
  source: z.ZodCatch<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodAny, "many">, {
34
34
  name: string;
35
- priority: "explicit" | "default" | "primary" | "secondary" | "supplemental";
35
+ priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
36
36
  url?: string | undefined;
37
37
  }[], any[]>, {
38
38
  name: string;
39
- priority: "explicit" | "default" | "primary" | "secondary" | "supplemental";
39
+ priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
40
40
  url?: string | undefined;
41
41
  }[], any[]>>;
42
42
  }, "strip", z.ZodTypeAny, {
43
43
  source: {
44
44
  name: string;
45
- priority: "explicit" | "default" | "primary" | "secondary" | "supplemental";
45
+ priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
46
46
  url?: string | undefined;
47
47
  }[];
48
48
  group?: PackageDependency<Record<string, any>>[] | undefined;
49
- version?: string | undefined;
50
49
  dependencies?: PackageDependency<Record<string, any>>[] | undefined;
50
+ version?: string | undefined;
51
51
  'dev-dependencies'?: PackageDependency<Record<string, any>>[] | undefined;
52
52
  }, {
53
- source?: unknown;
54
53
  group?: Record<string, any> | undefined;
55
- version?: unknown;
56
54
  dependencies?: Record<string, any> | undefined;
55
+ version?: unknown;
56
+ source?: unknown;
57
57
  'dev-dependencies'?: Record<string, any> | undefined;
58
58
  }>, PackageFileContent<Record<string, any>>, {
59
- source?: unknown;
60
59
  group?: Record<string, any> | undefined;
61
- version?: unknown;
62
60
  dependencies?: Record<string, any> | undefined;
61
+ version?: unknown;
62
+ source?: unknown;
63
63
  'dev-dependencies'?: Record<string, any> | undefined;
64
64
  }>;
65
65
  export type PoetrySectionSchema = z.infer<typeof PoetrySectionSchema>;
@@ -72,52 +72,52 @@ export declare const PoetrySchema: z.ZodEffects<z.ZodObject<{
72
72
  group: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, PackageDependency<Record<string, any>>[]>, Record<string, any>>, PackageDependency<Record<string, any>>[], Record<string, any>>>;
73
73
  source: z.ZodCatch<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodAny, "many">, {
74
74
  name: string;
75
- priority: "explicit" | "default" | "primary" | "secondary" | "supplemental";
75
+ priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
76
76
  url?: string | undefined;
77
77
  }[], any[]>, {
78
78
  name: string;
79
- priority: "explicit" | "default" | "primary" | "secondary" | "supplemental";
79
+ priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
80
80
  url?: string | undefined;
81
81
  }[], any[]>>;
82
82
  }, "strip", z.ZodTypeAny, {
83
83
  source: {
84
84
  name: string;
85
- priority: "explicit" | "default" | "primary" | "secondary" | "supplemental";
85
+ priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
86
86
  url?: string | undefined;
87
87
  }[];
88
88
  group?: PackageDependency<Record<string, any>>[] | undefined;
89
- version?: string | undefined;
90
89
  dependencies?: PackageDependency<Record<string, any>>[] | undefined;
90
+ version?: string | undefined;
91
91
  'dev-dependencies'?: PackageDependency<Record<string, any>>[] | undefined;
92
92
  }, {
93
- source?: unknown;
94
93
  group?: Record<string, any> | undefined;
95
- version?: unknown;
96
94
  dependencies?: Record<string, any> | undefined;
95
+ version?: unknown;
96
+ source?: unknown;
97
97
  'dev-dependencies'?: Record<string, any> | undefined;
98
98
  }>, PackageFileContent<Record<string, any>>, {
99
- source?: unknown;
100
99
  group?: Record<string, any> | undefined;
101
- version?: unknown;
102
100
  dependencies?: Record<string, any> | undefined;
101
+ version?: unknown;
102
+ source?: unknown;
103
103
  'dev-dependencies'?: Record<string, any> | undefined;
104
104
  }>;
105
105
  }, "strip", z.ZodTypeAny, {
106
106
  poetry: PackageFileContent<Record<string, any>>;
107
107
  }, {
108
108
  poetry: {
109
- source?: unknown;
110
109
  group?: Record<string, any> | undefined;
111
- version?: unknown;
112
110
  dependencies?: Record<string, any> | undefined;
111
+ version?: unknown;
112
+ source?: unknown;
113
113
  'dev-dependencies'?: Record<string, any> | undefined;
114
114
  };
115
115
  }>, PackageFileContent<Record<string, any>>, {
116
116
  poetry: {
117
- source?: unknown;
118
117
  group?: Record<string, any> | undefined;
119
- version?: unknown;
120
118
  dependencies?: Record<string, any> | undefined;
119
+ version?: unknown;
120
+ source?: unknown;
121
121
  'dev-dependencies'?: Record<string, any> | undefined;
122
122
  };
123
123
  }>;
@@ -143,10 +143,10 @@ export declare const PoetrySchema: z.ZodEffects<z.ZodObject<{
143
143
  }, {
144
144
  tool: {
145
145
  poetry: {
146
- source?: unknown;
147
146
  group?: Record<string, any> | undefined;
148
- version?: unknown;
149
147
  dependencies?: Record<string, any> | undefined;
148
+ version?: unknown;
149
+ source?: unknown;
150
150
  'dev-dependencies'?: Record<string, any> | undefined;
151
151
  };
152
152
  };
@@ -157,10 +157,10 @@ export declare const PoetrySchema: z.ZodEffects<z.ZodObject<{
157
157
  }, {
158
158
  tool: {
159
159
  poetry: {
160
- source?: unknown;
161
160
  group?: Record<string, any> | undefined;
162
- version?: unknown;
163
161
  dependencies?: Record<string, any> | undefined;
162
+ version?: unknown;
163
+ source?: unknown;
164
164
  'dev-dependencies'?: Record<string, any> | undefined;
165
165
  };
166
166
  };
@@ -176,52 +176,52 @@ export declare const PoetrySchemaToml: z.ZodPipeline<z.ZodEffects<z.ZodString, u
176
176
  group: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, PackageDependency<Record<string, any>>[]>, Record<string, any>>, PackageDependency<Record<string, any>>[], Record<string, any>>>;
177
177
  source: z.ZodCatch<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodAny, "many">, {
178
178
  name: string;
179
- priority: "explicit" | "default" | "primary" | "secondary" | "supplemental";
179
+ priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
180
180
  url?: string | undefined;
181
181
  }[], any[]>, {
182
182
  name: string;
183
- priority: "explicit" | "default" | "primary" | "secondary" | "supplemental";
183
+ priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
184
184
  url?: string | undefined;
185
185
  }[], any[]>>;
186
186
  }, "strip", z.ZodTypeAny, {
187
187
  source: {
188
188
  name: string;
189
- priority: "explicit" | "default" | "primary" | "secondary" | "supplemental";
189
+ priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
190
190
  url?: string | undefined;
191
191
  }[];
192
192
  group?: PackageDependency<Record<string, any>>[] | undefined;
193
- version?: string | undefined;
194
193
  dependencies?: PackageDependency<Record<string, any>>[] | undefined;
194
+ version?: string | undefined;
195
195
  'dev-dependencies'?: PackageDependency<Record<string, any>>[] | undefined;
196
196
  }, {
197
- source?: unknown;
198
197
  group?: Record<string, any> | undefined;
199
- version?: unknown;
200
198
  dependencies?: Record<string, any> | undefined;
199
+ version?: unknown;
200
+ source?: unknown;
201
201
  'dev-dependencies'?: Record<string, any> | undefined;
202
202
  }>, PackageFileContent<Record<string, any>>, {
203
- source?: unknown;
204
203
  group?: Record<string, any> | undefined;
205
- version?: unknown;
206
204
  dependencies?: Record<string, any> | undefined;
205
+ version?: unknown;
206
+ source?: unknown;
207
207
  'dev-dependencies'?: Record<string, any> | undefined;
208
208
  }>;
209
209
  }, "strip", z.ZodTypeAny, {
210
210
  poetry: PackageFileContent<Record<string, any>>;
211
211
  }, {
212
212
  poetry: {
213
- source?: unknown;
214
213
  group?: Record<string, any> | undefined;
215
- version?: unknown;
216
214
  dependencies?: Record<string, any> | undefined;
215
+ version?: unknown;
216
+ source?: unknown;
217
217
  'dev-dependencies'?: Record<string, any> | undefined;
218
218
  };
219
219
  }>, PackageFileContent<Record<string, any>>, {
220
220
  poetry: {
221
- source?: unknown;
222
221
  group?: Record<string, any> | undefined;
223
- version?: unknown;
224
222
  dependencies?: Record<string, any> | undefined;
223
+ version?: unknown;
224
+ source?: unknown;
225
225
  'dev-dependencies'?: Record<string, any> | undefined;
226
226
  };
227
227
  }>;
@@ -247,10 +247,10 @@ export declare const PoetrySchemaToml: z.ZodPipeline<z.ZodEffects<z.ZodString, u
247
247
  }, {
248
248
  tool: {
249
249
  poetry: {
250
- source?: unknown;
251
250
  group?: Record<string, any> | undefined;
252
- version?: unknown;
253
251
  dependencies?: Record<string, any> | undefined;
252
+ version?: unknown;
253
+ source?: unknown;
254
254
  'dev-dependencies'?: Record<string, any> | undefined;
255
255
  };
256
256
  };
@@ -261,10 +261,10 @@ export declare const PoetrySchemaToml: z.ZodPipeline<z.ZodEffects<z.ZodString, u
261
261
  }, {
262
262
  tool: {
263
263
  poetry: {
264
- source?: unknown;
265
264
  group?: Record<string, any> | undefined;
266
- version?: unknown;
267
265
  dependencies?: Record<string, any> | undefined;
266
+ version?: unknown;
267
+ source?: unknown;
268
268
  'dev-dependencies'?: Record<string, any> | undefined;
269
269
  };
270
270
  };
@@ -291,16 +291,16 @@ export declare const Lockfile: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodStri
291
291
  'python-versions'?: unknown;
292
292
  }>>;
293
293
  }, "strip", z.ZodTypeAny, {
294
+ package: {
295
+ [k: string]: string;
296
+ };
294
297
  metadata: {
295
298
  poetryConstraint: string | undefined;
296
299
  pythonVersions: string | undefined;
297
300
  };
298
- package: {
299
- [k: string]: string;
300
- };
301
301
  }, {
302
- metadata?: unknown;
303
302
  package?: unknown;
303
+ metadata?: unknown;
304
304
  }>>, {
305
305
  lock: {
306
306
  [k: string]: string;
@@ -68,12 +68,12 @@ export declare const ClusterProfile: z.ZodObject<z.objectUtil.extendShape<{
68
68
  helmCharts?: any[] | undefined;
69
69
  }>;
70
70
  }>, "strip", z.ZodTypeAny, {
71
+ apiVersion: string;
71
72
  metadata: {
72
73
  name: string;
73
74
  namespace?: string | undefined;
74
75
  };
75
76
  kind: "ClusterProfile";
76
- apiVersion: string;
77
77
  spec: {
78
78
  helmCharts?: {
79
79
  repositoryName: string;
@@ -83,12 +83,12 @@ export declare const ClusterProfile: z.ZodObject<z.objectUtil.extendShape<{
83
83
  }[] | undefined;
84
84
  };
85
85
  }, {
86
+ apiVersion: string;
86
87
  metadata: {
87
88
  name: string;
88
89
  namespace?: string | undefined;
89
90
  };
90
91
  kind: "ClusterProfile";
91
- apiVersion: string;
92
92
  spec: {
93
93
  helmCharts?: any[] | undefined;
94
94
  };
@@ -127,12 +127,12 @@ export declare const Profile: z.ZodObject<z.objectUtil.extendShape<{
127
127
  helmCharts?: any[] | undefined;
128
128
  }>;
129
129
  }>, "strip", z.ZodTypeAny, {
130
+ apiVersion: string;
130
131
  metadata: {
131
132
  name: string;
132
133
  namespace?: string | undefined;
133
134
  };
134
135
  kind: "Profile";
135
- apiVersion: string;
136
136
  spec: {
137
137
  helmCharts?: {
138
138
  repositoryName: string;
@@ -142,12 +142,12 @@ export declare const Profile: z.ZodObject<z.objectUtil.extendShape<{
142
142
  }[] | undefined;
143
143
  };
144
144
  }, {
145
+ apiVersion: string;
145
146
  metadata: {
146
147
  name: string;
147
148
  namespace?: string | undefined;
148
149
  };
149
150
  kind: "Profile";
150
- apiVersion: string;
151
151
  spec: {
152
152
  helmCharts?: any[] | undefined;
153
153
  };
@@ -186,12 +186,12 @@ export declare const EventTrigger: z.ZodObject<z.objectUtil.extendShape<{
186
186
  helmCharts?: any[] | undefined;
187
187
  }>;
188
188
  }>, "strip", z.ZodTypeAny, {
189
+ apiVersion: string;
189
190
  metadata: {
190
191
  name: string;
191
192
  namespace?: string | undefined;
192
193
  };
193
194
  kind: "EventTrigger";
194
- apiVersion: string;
195
195
  spec: {
196
196
  helmCharts?: {
197
197
  repositoryName: string;
@@ -201,12 +201,12 @@ export declare const EventTrigger: z.ZodObject<z.objectUtil.extendShape<{
201
201
  }[] | undefined;
202
202
  };
203
203
  }, {
204
+ apiVersion: string;
204
205
  metadata: {
205
206
  name: string;
206
207
  namespace?: string | undefined;
207
208
  };
208
209
  kind: "EventTrigger";
209
- apiVersion: string;
210
210
  spec: {
211
211
  helmCharts?: any[] | undefined;
212
212
  };
@@ -245,12 +245,12 @@ export declare const ProfileDefinition: z.ZodUnion<[z.ZodObject<z.objectUtil.ext
245
245
  helmCharts?: any[] | undefined;
246
246
  }>;
247
247
  }>, "strip", z.ZodTypeAny, {
248
+ apiVersion: string;
248
249
  metadata: {
249
250
  name: string;
250
251
  namespace?: string | undefined;
251
252
  };
252
253
  kind: "Profile";
253
- apiVersion: string;
254
254
  spec: {
255
255
  helmCharts?: {
256
256
  repositoryName: string;
@@ -260,12 +260,12 @@ export declare const ProfileDefinition: z.ZodUnion<[z.ZodObject<z.objectUtil.ext
260
260
  }[] | undefined;
261
261
  };
262
262
  }, {
263
+ apiVersion: string;
263
264
  metadata: {
264
265
  name: string;
265
266
  namespace?: string | undefined;
266
267
  };
267
268
  kind: "Profile";
268
- apiVersion: string;
269
269
  spec: {
270
270
  helmCharts?: any[] | undefined;
271
271
  };
@@ -303,12 +303,12 @@ export declare const ProfileDefinition: z.ZodUnion<[z.ZodObject<z.objectUtil.ext
303
303
  helmCharts?: any[] | undefined;
304
304
  }>;
305
305
  }>, "strip", z.ZodTypeAny, {
306
+ apiVersion: string;
306
307
  metadata: {
307
308
  name: string;
308
309
  namespace?: string | undefined;
309
310
  };
310
311
  kind: "ClusterProfile";
311
- apiVersion: string;
312
312
  spec: {
313
313
  helmCharts?: {
314
314
  repositoryName: string;
@@ -318,12 +318,12 @@ export declare const ProfileDefinition: z.ZodUnion<[z.ZodObject<z.objectUtil.ext
318
318
  }[] | undefined;
319
319
  };
320
320
  }, {
321
+ apiVersion: string;
321
322
  metadata: {
322
323
  name: string;
323
324
  namespace?: string | undefined;
324
325
  };
325
326
  kind: "ClusterProfile";
326
- apiVersion: string;
327
327
  spec: {
328
328
  helmCharts?: any[] | undefined;
329
329
  };
@@ -361,12 +361,12 @@ export declare const ProfileDefinition: z.ZodUnion<[z.ZodObject<z.objectUtil.ext
361
361
  helmCharts?: any[] | undefined;
362
362
  }>;
363
363
  }>, "strip", z.ZodTypeAny, {
364
+ apiVersion: string;
364
365
  metadata: {
365
366
  name: string;
366
367
  namespace?: string | undefined;
367
368
  };
368
369
  kind: "EventTrigger";
369
- apiVersion: string;
370
370
  spec: {
371
371
  helmCharts?: {
372
372
  repositoryName: string;
@@ -376,12 +376,12 @@ export declare const ProfileDefinition: z.ZodUnion<[z.ZodObject<z.objectUtil.ext
376
376
  }[] | undefined;
377
377
  };
378
378
  }, {
379
+ apiVersion: string;
379
380
  metadata: {
380
381
  name: string;
381
382
  namespace?: string | undefined;
382
383
  };
383
384
  kind: "EventTrigger";
384
- apiVersion: string;
385
385
  spec: {
386
386
  helmCharts?: any[] | undefined;
387
387
  };
@@ -2,7 +2,7 @@ import { Http } from '../../../../util/http';
2
2
  import { TerraformProviderDatasource } from '../../../datasource/terraform-provider';
3
3
  import type { TerraformBuild } from '../../../datasource/terraform-provider/types';
4
4
  export declare class TerraformProviderHash {
5
- static http: Http<import("../../../../util/http/types").HttpOptions>;
5
+ static http: Http;
6
6
  static terraformDatasource: TerraformProviderDatasource;
7
7
  static hashCacheTTL: number;
8
8
  private static hashElementList;
@@ -3,11 +3,11 @@ export declare const VendirResource: z.ZodObject<{
3
3
  apiVersion: z.ZodLiteral<"vendir.k14s.io/v1alpha1">;
4
4
  kind: z.ZodLiteral<"Config">;
5
5
  }, "strip", z.ZodTypeAny, {
6
- kind: "Config";
7
6
  apiVersion: "vendir.k14s.io/v1alpha1";
8
- }, {
9
7
  kind: "Config";
8
+ }, {
10
9
  apiVersion: "vendir.k14s.io/v1alpha1";
10
+ kind: "Config";
11
11
  }>;
12
12
  export declare const GitRef: z.ZodObject<{
13
13
  ref: z.ZodString;
@@ -43,17 +43,17 @@ export declare const HelmChart: z.ZodObject<{
43
43
  url: string;
44
44
  }>;
45
45
  }, "strip", z.ZodTypeAny, {
46
- name: string;
47
- version: string;
48
46
  repository: {
49
47
  url: string;
50
48
  };
51
- }, {
52
49
  name: string;
53
50
  version: string;
51
+ }, {
54
52
  repository: {
55
53
  url: string;
56
54
  };
55
+ name: string;
56
+ version: string;
57
57
  }>;
58
58
  export declare const HelmChartContent: z.ZodObject<{
59
59
  path: z.ZodString;
@@ -68,35 +68,35 @@ export declare const HelmChartContent: z.ZodObject<{
68
68
  url: string;
69
69
  }>;
70
70
  }, "strip", z.ZodTypeAny, {
71
- name: string;
72
- version: string;
73
71
  repository: {
74
72
  url: string;
75
73
  };
76
- }, {
77
74
  name: string;
78
75
  version: string;
76
+ }, {
79
77
  repository: {
80
78
  url: string;
81
79
  };
80
+ name: string;
81
+ version: string;
82
82
  }>;
83
83
  }, "strip", z.ZodTypeAny, {
84
84
  path: string;
85
85
  helmChart: {
86
- name: string;
87
- version: string;
88
86
  repository: {
89
87
  url: string;
90
88
  };
89
+ name: string;
90
+ version: string;
91
91
  };
92
92
  }, {
93
93
  path: string;
94
94
  helmChart: {
95
- name: string;
96
- version: string;
97
95
  repository: {
98
96
  url: string;
99
97
  };
98
+ name: string;
99
+ version: string;
100
100
  };
101
101
  }>;
102
102
  export declare const GitRefContent: z.ZodObject<{
@@ -167,35 +167,35 @@ export declare const Contents: z.ZodUnion<[z.ZodObject<{
167
167
  url: string;
168
168
  }>;
169
169
  }, "strip", z.ZodTypeAny, {
170
- name: string;
171
- version: string;
172
170
  repository: {
173
171
  url: string;
174
172
  };
175
- }, {
176
173
  name: string;
177
174
  version: string;
175
+ }, {
178
176
  repository: {
179
177
  url: string;
180
178
  };
179
+ name: string;
180
+ version: string;
181
181
  }>;
182
182
  }, "strip", z.ZodTypeAny, {
183
183
  path: string;
184
184
  helmChart: {
185
- name: string;
186
- version: string;
187
185
  repository: {
188
186
  url: string;
189
187
  };
188
+ name: string;
189
+ version: string;
190
190
  };
191
191
  }, {
192
192
  path: string;
193
193
  helmChart: {
194
- name: string;
195
- version: string;
196
194
  repository: {
197
195
  url: string;
198
196
  };
197
+ name: string;
198
+ version: string;
199
199
  };
200
200
  }>, z.ZodObject<{
201
201
  path: z.ZodString;
@@ -260,11 +260,11 @@ export declare const Vendir: z.ZodObject<z.objectUtil.extendShape<{
260
260
  contents: z.ZodEffects<z.ZodArray<z.ZodAny, "many">, ({
261
261
  path: string;
262
262
  helmChart: {
263
- name: string;
264
- version: string;
265
263
  repository: {
266
264
  url: string;
267
265
  };
266
+ name: string;
267
+ version: string;
268
268
  };
269
269
  } | {
270
270
  path: string;
@@ -285,11 +285,11 @@ export declare const Vendir: z.ZodObject<z.objectUtil.extendShape<{
285
285
  contents: ({
286
286
  path: string;
287
287
  helmChart: {
288
- name: string;
289
- version: string;
290
288
  repository: {
291
289
  url: string;
292
290
  };
291
+ name: string;
292
+ version: string;
293
293
  };
294
294
  } | {
295
295
  path: string;
@@ -310,18 +310,18 @@ export declare const Vendir: z.ZodObject<z.objectUtil.extendShape<{
310
310
  contents: any[];
311
311
  }>, "many">;
312
312
  }>, "strip", z.ZodTypeAny, {
313
- kind: "Config";
314
313
  apiVersion: "vendir.k14s.io/v1alpha1";
314
+ kind: "Config";
315
315
  directories: {
316
316
  path: string;
317
317
  contents: ({
318
318
  path: string;
319
319
  helmChart: {
320
- name: string;
321
- version: string;
322
320
  repository: {
323
321
  url: string;
324
322
  };
323
+ name: string;
324
+ version: string;
325
325
  };
326
326
  } | {
327
327
  path: string;
@@ -339,8 +339,8 @@ export declare const Vendir: z.ZodObject<z.objectUtil.extendShape<{
339
339
  })[];
340
340
  }[];
341
341
  }, {
342
- kind: "Config";
343
342
  apiVersion: "vendir.k14s.io/v1alpha1";
343
+ kind: "Config";
344
344
  directories: {
345
345
  path: string;
346
346
  contents: any[];
@@ -1,3 +1,3 @@
1
1
  import type { Platform } from './types';
2
- declare const api: Map<"local" | "azure" | "bitbucket" | "bitbucket-server" | "codecommit" | "gerrit" | "gitea" | "github" | "gitlab", Platform>;
2
+ declare const api: Map<"azure" | "bitbucket" | "bitbucket-server" | "codecommit" | "gerrit" | "gitea" | "github" | "gitlab" | "local", Platform>;
3
3
  export default api;
@@ -1,6 +1,7 @@
1
1
  import type { BranchStatus } from '../../../types';
2
2
  import type { AutodiscoverConfig, BranchStatusConfig, CreatePRConfig, EnsureCommentConfig, EnsureCommentRemovalConfig, EnsureIssueConfig, EnsureIssueResult, FindPRConfig, Issue, MergePRConfig, PlatformParams, PlatformResult, Pr, RepoParams, RepoResult, UpdatePrConfig } from '../types';
3
3
  export declare const id = "bitbucket";
4
+ export declare function resetPlatform(): void;
4
5
  export declare function initPlatform({ endpoint, username, password, token, }: PlatformParams): Promise<PlatformResult>;
5
6
  export declare function getRepos(config: AutodiscoverConfig): Promise<string[]>;
6
7
  export declare function getRawFile(fileName: string, repoName?: string, branchOrTag?: string): Promise<string | null>;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.id = void 0;
4
+ exports.resetPlatform = resetPlatform;
4
5
  exports.initPlatform = initPlatform;
5
6
  exports.getRepos = getRepos;
6
7
  exports.getRawFile = getRawFile;
@@ -52,6 +53,10 @@ exports.id = 'bitbucket';
52
53
  const bitbucketHttp = new bitbucket_1.BitbucketHttp();
53
54
  const BITBUCKET_PROD_ENDPOINT = 'https://api.bitbucket.org/';
54
55
  let config = {};
56
+ function resetPlatform() {
57
+ config = {};
58
+ renovateUserUuid = null;
59
+ }
55
60
  const defaults = { endpoint: BITBUCKET_PROD_ENDPOINT };
56
61
  const pathSeparator = '/';
57
62
  let renovateUserUuid = null;
@@ -126,7 +131,7 @@ async function getRawFile(fileName, repoName, branchOrTag) {
126
131
  const url = `/2.0/repositories/${repo}/src/` +
127
132
  (finalBranchOrTag ?? `HEAD`) +
128
133
  `/${path}`;
129
- const res = await bitbucketHttp.get(url, {
134
+ const res = await bitbucketHttp.getText(url, {
130
135
  cacheProvider: repository_http_cache_provider_1.repoCacheProvider,
131
136
  memCache: true,
132
137
  });