renovate 43.263.7 → 43.263.8

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 (71) hide show
  1. package/dist/config/defaults.d.ts +0 -1
  2. package/dist/config/global.d.ts +0 -1
  3. package/dist/config/options/index.d.ts +0 -1
  4. package/dist/config/types.d.ts +0 -1
  5. package/dist/config-validator.d.ts +1 -0
  6. package/dist/instrumentation/types.d.ts +0 -1
  7. package/dist/logger/index.d.ts +0 -1
  8. package/dist/logger/renovate-logger.d.ts +0 -1
  9. package/dist/logger/types.d.ts +0 -1
  10. package/dist/modules/datasource/common.d.ts +0 -1
  11. package/dist/modules/datasource/index.d.ts +0 -1
  12. package/dist/modules/datasource/npm/schema.d.ts +0 -1
  13. package/dist/modules/datasource/types.d.ts +4 -4
  14. package/dist/modules/manager/custom/jsonata/types.d.ts +1 -0
  15. package/dist/modules/manager/custom/regex/types.d.ts +0 -1
  16. package/dist/modules/manager/custom/types.d.ts +0 -1
  17. package/dist/modules/manager/index.d.ts +0 -1
  18. package/dist/modules/manager/types.d.ts +1 -1
  19. package/dist/modules/platform/bitbucket/index.d.ts +10 -54
  20. package/dist/modules/platform/bitbucket-server/index.d.ts +11 -58
  21. package/dist/modules/platform/bitbucket-server/types.d.ts +1 -0
  22. package/dist/modules/platform/github/schema.d.ts +0 -1
  23. package/dist/modules/platform/gitlab/code-owners.d.ts +0 -1
  24. package/dist/modules/platform/gitlab/index.d.ts +11 -64
  25. package/dist/modules/platform/gitlab/types.d.ts +0 -1
  26. package/dist/modules/platform/index.d.ts +0 -1
  27. package/dist/modules/platform/types.d.ts +1 -2
  28. package/dist/modules/versioning/generic.d.ts +1 -6
  29. package/dist/modules/versioning/index.d.ts +0 -1
  30. package/dist/modules/versioning/semver-coerced/index.d.ts +0 -2
  31. package/dist/modules/versioning/types.d.ts +1 -1
  32. package/dist/modules/versioning/ubuntu/index.d.ts +0 -1
  33. package/dist/renovate.d.ts +1 -0
  34. package/dist/types/base.d.ts +0 -1
  35. package/dist/types/index.d.ts +0 -1
  36. package/dist/types/skip-reason.d.ts +5 -5
  37. package/dist/util/cache/package/backend.d.ts +0 -1
  38. package/dist/util/cache/package/index.d.ts +0 -1
  39. package/dist/util/cache/repository/types.d.ts +0 -1
  40. package/dist/util/exec/common.d.ts +0 -1
  41. package/dist/util/exec/exec-error.d.ts +0 -1
  42. package/dist/util/exec/types.d.ts +0 -1
  43. package/dist/util/git/config.d.ts +0 -1
  44. package/dist/util/git/index.d.ts +5 -28
  45. package/dist/util/git/types.d.ts +14 -14
  46. package/dist/util/host-rules.d.ts +4 -9
  47. package/dist/util/http/cache/types.d.ts +0 -1
  48. package/dist/util/http/github.d.ts +0 -1
  49. package/dist/util/http/gitlab.d.ts +0 -1
  50. package/dist/util/http/http.d.ts +3 -7
  51. package/dist/util/http/legacy.d.ts +0 -1
  52. package/dist/util/http/types.d.ts +0 -1
  53. package/dist/util/merge-confidence/types.d.ts +0 -1
  54. package/dist/util/result.d.ts +0 -1
  55. package/dist/util/s3.d.ts +0 -1
  56. package/dist/util/schema-utils/git.d.ts +0 -1
  57. package/dist/util/schema-utils/index.d.ts +4 -1
  58. package/dist/util/timestamp.d.ts +0 -1
  59. package/dist/util/url.d.ts +0 -1
  60. package/dist/util/yaml.d.ts +2 -1
  61. package/dist/workers/global/autodiscover.d.ts +0 -1
  62. package/dist/workers/global/config/parse/index.d.ts +0 -1
  63. package/dist/workers/repository/init/types.d.ts +1 -0
  64. package/dist/workers/repository/process/extract-update.d.ts +3 -0
  65. package/dist/workers/repository/process/write.d.ts +3 -1
  66. package/dist/workers/repository/result.d.ts +9 -6
  67. package/dist/workers/repository/update/branch/index.js +8 -1
  68. package/dist/workers/repository/update/branch/index.js.map +1 -1
  69. package/dist/workers/types.d.ts +1 -1
  70. package/package.json +4 -4
  71. package/renovate-schema.json +2 -2
@@ -1,5 +1,4 @@
1
1
  import { AllConfig, RenovateOptions } from "./types.js";
2
-
3
2
  //#region lib/config/defaults.d.ts
4
3
  declare function getDefault(option: RenovateOptions): any;
5
4
  declare function getConfig(): AllConfig;
@@ -1,5 +1,4 @@
1
1
  import { RenovateConfig, RepoGlobalConfig } from "./types.js";
2
-
3
2
  //#region lib/config/global.d.ts
4
3
  declare class GlobalConfig {
5
4
  static OPTIONS: readonly (keyof RepoGlobalConfig)[];
@@ -1,5 +1,4 @@
1
1
  import { RenovateOptions } from "../types.js";
2
-
3
2
  //#region lib/config/options/index.d.ts
4
3
  declare function getOptions(): Readonly<RenovateOptions>[];
5
4
  //#endregion
@@ -12,7 +12,6 @@ import { SkipReason, StageName } from "../types/skip-reason.js";
12
12
  import { RangeStrategy } from "../types/versioning.js";
13
13
  import { AutoMergeType, Nullish } from "../types/index.js";
14
14
  import { CustomManager } from "../modules/manager/custom/types.js";
15
-
16
15
  //#region lib/config/types.d.ts
17
16
  type RenovateConfigStage = 'global' | 'inherit' | 'repository' | 'package' | 'branch' | 'pr';
18
17
  type RenovateSplit = 'init' | 'onboarding' | 'extract' | 'lookup' | 'update';
@@ -1,2 +1,3 @@
1
1
  import { require_punycode } from "./punycode.js";
2
+ import "source-map-support/register.js";
2
3
  //# sourceMappingURL=config-validator.d.ts.map
@@ -5,7 +5,6 @@ import { PackageFile } from "../modules/manager/types.js";
5
5
  import { RenovateSplit } from "../config/types.js";
6
6
  import { Attributes, SpanKind, SpanOptions } from "@opentelemetry/api";
7
7
  import { ATTR_CODE_FUNCTION_NAME } from "@opentelemetry/semantic-conventions";
8
-
9
8
  //#region lib/instrumentation/types.d.ts
10
9
  type RenovateSpanOptions = {
11
10
  attributes?: RenovateSpanAttributes;
@@ -1,5 +1,4 @@
1
1
  import { BunyanLogLevel, BunyanRecord, BunyanStream, Logger } from "./types.js";
2
-
3
2
  //#region lib/logger/index.d.ts
4
3
  declare function logLevel(): BunyanLogLevel;
5
4
  declare const logger: Logger;
@@ -1,5 +1,4 @@
1
1
  import { BunyanLogLevel, BunyanLogger, BunyanSerializers, BunyanStream, Logger } from "./types.js";
2
-
3
2
  //#region lib/logger/renovate-logger.d.ts
4
3
  declare class RenovateLogger implements Logger {
5
4
  private readonly queue;
@@ -1,6 +1,5 @@
1
1
  import { Stream } from "node:stream";
2
2
  import { LogLevel, LogLevelString, LogLevelString as BunyanLogLevel, Serializers as BunyanSerializers, Stream as BunyanStream } from "bunyan";
3
-
4
3
  //#region lib/logger/types.d.ts
5
4
  interface LogError {
6
5
  level: LogLevel;
@@ -1,5 +1,4 @@
1
1
  import { DatasourceApi, GetPkgReleasesConfig, ReleaseResult } from "./types.js";
2
-
3
2
  //#region lib/modules/datasource/common.d.ts
4
3
  declare function getDatasourceFor(datasource: string): DatasourceApi | null;
5
4
  declare function getDefaultVersioning(datasourceName: string | undefined): string;
@@ -1,7 +1,6 @@
1
1
  import { DatasourceApi, DigestConfig, GetDigestInputConfig, GetPkgReleasesConfig, GetReleasesConfig, PostprocessReleaseConfig, PostprocessReleaseResult, RegistryStrategy, Release, ReleaseResult, ReleaseTags, SourceUrlSupport } from "./types.js";
2
2
  import { AsyncResult } from "../../util/result.js";
3
3
  import { isGetPkgReleasesConfig } from "./common.js";
4
-
5
4
  //#region lib/modules/datasource/index.d.ts
6
5
  declare const getDatasources: () => Map<string, DatasourceApi>;
7
6
  declare const getDatasourceList: () => string[];
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod/v4";
2
-
3
2
  //#region lib/modules/datasource/npm/schema.d.ts
4
3
  declare const NpmResponseVersion: z.ZodObject<{
5
4
  repository: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnknown, z.ZodTransform<any, unknown>>, z.ZodUnion<readonly [z.ZodString, z.ZodType<{
@@ -1,8 +1,8 @@
1
1
  import { AdditionalConstraintName, ConstraintName } from "../../util/exec/types.js";
2
2
  import { Timestamp } from "../../util/timestamp.js";
3
3
  import { ModuleApi } from "../../types/base.js";
4
+ import "../../types/index.js";
4
5
  import { ConstraintsFilter, CustomDatasourceConfig } from "../../config/types.js";
5
-
6
6
  //#region lib/modules/datasource/types.d.ts
7
7
  interface GetDigestInputConfig {
8
8
  datasource: string;
@@ -119,7 +119,7 @@ type RegistryStrategy =
119
119
  *
120
120
  * If multiple URLs are configured a warning is logged and the rest are ignored. Returns whatever the first registry returns, including `null`.
121
121
  */
122
- 'first'
122
+ 'first' |
123
123
  /**
124
124
  * Registries are tried in order, returning the first non-null result.
125
125
  *
@@ -130,7 +130,7 @@ type RegistryStrategy =
130
130
  *
131
131
  * The default when `registryStrategy` is `undefined`.
132
132
  */
133
- | 'hunt'
133
+ 'hunt' |
134
134
  /**
135
135
  * All registries are queried.
136
136
  *
@@ -140,7 +140,7 @@ type RegistryStrategy =
140
140
  *
141
141
  * Returns `null` when all registries fail.
142
142
  */
143
- | 'merge';
143
+ 'merge';
144
144
  type SourceUrlSupport = 'package' | 'release' | 'none';
145
145
  interface DatasourceApi extends ModuleApi {
146
146
  id: string;
@@ -1,3 +1,4 @@
1
+ import "../../types.js";
1
2
  //#region lib/modules/manager/custom/jsonata/types.d.ts
2
3
  interface JSONataManagerTemplates {
3
4
  depNameTemplate?: string;
@@ -1,5 +1,4 @@
1
1
  import { MatchStringsStrategy } from "../../../../config/types.js";
2
-
3
2
  //#region lib/modules/manager/custom/regex/types.d.ts
4
3
  interface RegexManagerTemplates {
5
4
  depNameTemplate?: string;
@@ -1,6 +1,5 @@
1
1
  import { RegexManagerConfig } from "./regex/types.js";
2
2
  import { JSONataManagerConfig } from "./jsonata/types.js";
3
-
4
3
  //#region lib/modules/manager/custom/types.d.ts
5
4
  interface CustomExtractConfig extends Partial<RegexManagerConfig>, Partial<JSONataManagerConfig> {}
6
5
  type CustomManagerName = 'jsonata' | 'regex';
@@ -2,7 +2,6 @@ import { RangeStrategy } from "../../types/versioning.js";
2
2
  import { MaybePromise } from "../../types/index.js";
3
3
  import { ExtractConfig, GlobalManagerConfig, ManagerApi, PackageFile, PackageFileContent, RangeConfig } from "./types.js";
4
4
  import { hashMap } from "./fingerprint.generated.js";
5
-
6
5
  //#region lib/modules/manager/index.d.ts
7
6
  declare const getManagerList: () => string[];
8
7
  declare const getManagers: () => Map<string, ManagerApi>;
@@ -8,10 +8,10 @@ import { ModuleApi } from "../../types/base.js";
8
8
  import { SkipReason, StageName } from "../../types/skip-reason.js";
9
9
  import { RangeStrategy } from "../../types/versioning.js";
10
10
  import { MaybePromise, Nullish } from "../../types/index.js";
11
+ import "../datasource/index.js";
11
12
  import { CustomExtractConfig } from "./custom/types.js";
12
13
  import { MatchStringsStrategy, ToolSettingsOptions, UpdateType, ValidationMessage } from "../../config/types.js";
13
14
  import { ReleaseType } from "semver";
14
-
15
15
  //#region lib/modules/manager/types.d.ts
16
16
  interface ManagerData<T> {
17
17
  managerData?: T;
@@ -1,40 +1,21 @@
1
1
  import { AutodiscoverConfig, BranchStatusConfig, CreatePRConfig, EnsureCommentConfig, EnsureCommentRemovalConfig, EnsureIssueConfig, EnsureIssueResult, FindPRConfig, Issue, MergePRConfig, PlatformParams, PlatformResult, Pr, RepoParams, RepoResult, UpdatePrConfig } from "../types.js";
2
2
  import { BranchStatus } from "../../../types/branch-status.js";
3
+ import "../../../types/index.js";
3
4
  //#region lib/modules/platform/bitbucket/index.d.ts
4
5
  declare const id = "bitbucket";
5
6
  declare function resetPlatform(): void;
6
- declare function initPlatform({
7
- endpoint,
8
- username,
9
- password,
10
- token
11
- }: PlatformParams): Promise<PlatformResult>;
7
+ declare function initPlatform({ endpoint, username, password, token }: PlatformParams): Promise<PlatformResult>;
12
8
  declare function getRepos(config: AutodiscoverConfig): Promise<string[]>;
13
9
  declare function getRawFile(fileName: string, repoName?: string, branchOrTag?: string): Promise<string | null>;
14
10
  declare function getJsonFile(fileName: string, repoName?: string, branchOrTag?: string): Promise<any>;
15
- declare function initRepo({
16
- repository,
17
- cloneSubmodules,
18
- cloneSubmodulesFilter
19
- }: RepoParams): Promise<RepoResult>;
11
+ declare function initRepo({ repository, cloneSubmodules, cloneSubmodulesFilter }: RepoParams): Promise<RepoResult>;
20
12
  declare function getPrList(): Promise<Pr[]>;
21
- declare function findPr({
22
- branchName,
23
- prTitle,
24
- state,
25
- includeOtherAuthors
26
- }: FindPRConfig): Promise<Pr | null>;
13
+ declare function findPr({ branchName, prTitle, state, includeOtherAuthors }: FindPRConfig): Promise<Pr | null>;
27
14
  declare function getPr(prNo: number): Promise<Pr | null>;
28
15
  declare function getBranchPr(branchName: string): Promise<Pr | null>;
29
16
  declare function getBranchStatus(branchName: string, internalChecksAsSuccess: boolean): Promise<BranchStatus>;
30
17
  declare function getBranchStatusCheck(branchName: string, context: string): Promise<BranchStatus | null>;
31
- declare function setBranchStatus({
32
- branchName,
33
- context,
34
- description,
35
- state,
36
- url: targetUrl
37
- }: BranchStatusConfig): Promise<void>;
18
+ declare function setBranchStatus({ branchName, context, description, state, url: targetUrl }: BranchStatusConfig): Promise<void>;
38
19
  declare function findIssue(title: string): Promise<Issue | null>;
39
20
  /**
40
21
  * Remove or transform markdown into Bitbucket supported syntax.
@@ -48,42 +29,17 @@ declare function findIssue(title: string): Promise<Issue | null>;
48
29
  */
49
30
  declare function massageMarkdown(input: string): string;
50
31
  declare function maxBodyLength(): number;
51
- declare function ensureIssue({
52
- title,
53
- reuseTitle,
54
- body
55
- }: EnsureIssueConfig): Promise<EnsureIssueResult | null>;
32
+ declare function ensureIssue({ title, reuseTitle, body }: EnsureIssueConfig): Promise<EnsureIssueResult | null>;
56
33
  declare function getIssueList(): Promise<Issue[]>;
57
34
  declare function ensureIssueClosing(title: string): Promise<void>;
58
35
  declare function addAssignees(_prNr: number, _assignees: string[]): Promise<void>;
59
36
  declare function addReviewers(prId: number, reviewers: string[]): Promise<void>;
60
37
  declare function deleteLabel(): never;
61
- declare function ensureComment({
62
- number,
63
- topic,
64
- content
65
- }: EnsureCommentConfig): Promise<boolean>;
38
+ declare function ensureComment({ number, topic, content }: EnsureCommentConfig): Promise<boolean>;
66
39
  declare function ensureCommentRemoval(deleteConfig: EnsureCommentRemovalConfig): Promise<void>;
67
- declare function createPr({
68
- sourceBranch,
69
- targetBranch,
70
- prTitle: title,
71
- prBody: description,
72
- draftPR,
73
- platformPrOptions
74
- }: CreatePRConfig): Promise<Pr>;
75
- declare function updatePr({
76
- number: prNo,
77
- prTitle: title,
78
- prBody: description,
79
- state,
80
- targetBranch
81
- }: UpdatePrConfig): Promise<void>;
82
- declare function mergePr({
83
- branchName,
84
- id: prNo,
85
- strategy: mergeStrategy
86
- }: MergePRConfig): Promise<boolean>;
40
+ declare function createPr({ sourceBranch, targetBranch, prTitle: title, prBody: description, draftPR, platformPrOptions }: CreatePRConfig): Promise<Pr>;
41
+ declare function updatePr({ number: prNo, prTitle: title, prBody: description, state, targetBranch }: UpdatePrConfig): Promise<void>;
42
+ declare function mergePr({ branchName, id: prNo, strategy: mergeStrategy }: MergePRConfig): Promise<boolean>;
87
43
  //#endregion
88
44
  export { addAssignees, addReviewers, createPr, deleteLabel, ensureComment, ensureCommentRemoval, ensureIssue, ensureIssueClosing, findIssue, findPr, getBranchPr, getBranchStatus, getBranchStatusCheck, getIssueList, getJsonFile, getPr, getPrList, getRawFile, getRepos, id, initPlatform, initRepo, massageMarkdown, maxBodyLength, mergePr, resetPlatform, setBranchStatus, updatePr };
89
45
  //# sourceMappingURL=index.d.ts.map
@@ -1,49 +1,25 @@
1
1
  import { BranchStatusConfig, CreatePRConfig, EnsureCommentConfig, EnsureCommentRemovalConfig, EnsureIssueConfig, EnsureIssueResult, FileOwnerRule, FindPRConfig, Issue, MergePRConfig, PlatformParams, PlatformResult, Pr, ReattemptPlatformAutomergeConfig, RepoParams, RepoResult, UpdatePrConfig } from "../types.js";
2
2
  import { BranchStatus } from "../../../types/branch-status.js";
3
+ import "../../../types/index.js";
3
4
  import { BbsPr } from "./types.js";
4
-
5
5
  //#region lib/modules/platform/bitbucket-server/index.d.ts
6
6
  declare const id = "bitbucket-server";
7
- declare function initPlatform({
8
- endpoint,
9
- token,
10
- username,
11
- password,
12
- gitAuthor
13
- }: PlatformParams): Promise<PlatformResult>;
7
+ declare function initPlatform({ endpoint, token, username, password, gitAuthor }: PlatformParams): Promise<PlatformResult>;
14
8
  declare function getRepos(): Promise<string[]>;
15
9
  declare function getRawFile(fileName: string, repoName?: string, branchOrTag?: string): Promise<string | null>;
16
10
  declare function getJsonFile(fileName: string, repoName?: string, branchOrTag?: string): Promise<any>;
17
- declare function initRepo({
18
- repository,
19
- cloneSubmodules,
20
- cloneSubmodulesFilter,
21
- gitUrl
22
- }: RepoParams): Promise<RepoResult>;
11
+ declare function initRepo({ repository, cloneSubmodules, cloneSubmodulesFilter, gitUrl }: RepoParams): Promise<RepoResult>;
23
12
  declare function getBranchForceRebase(_branchName: string): Promise<boolean>;
24
13
  declare function getPr(prNo: number, refreshCache?: boolean): Promise<BbsPr | null>;
25
14
  declare function getPrList(): Promise<Pr[]>;
26
- declare function findPr({
27
- branchName,
28
- prTitle,
29
- state,
30
- includeOtherAuthors
31
- }: FindPRConfig): Promise<Pr | null>;
15
+ declare function findPr({ branchName, prTitle, state, includeOtherAuthors }: FindPRConfig): Promise<Pr | null>;
32
16
  declare function getBranchPr(branchName: string): Promise<BbsPr | null>;
33
17
  declare function refreshPr(number: number): Promise<void>;
34
18
  declare function getBranchStatus(branchName: string): Promise<BranchStatus>;
35
19
  declare function getBranchStatusCheck(branchName: string, context: string): Promise<BranchStatus | null>;
36
- declare function setBranchStatus({
37
- branchName,
38
- context,
39
- description,
40
- state,
41
- url: targetUrl
42
- }: BranchStatusConfig): Promise<void>;
20
+ declare function setBranchStatus({ branchName, context, description, state, url: targetUrl }: BranchStatusConfig): Promise<void>;
43
21
  declare function findIssue(title: string): Promise<Issue | null>;
44
- declare function ensureIssue({
45
- title
46
- }: EnsureIssueConfig): Promise<EnsureIssueResult | null>;
22
+ declare function ensureIssue({ title }: EnsureIssueConfig): Promise<EnsureIssueResult | null>;
47
23
  declare function getIssueList(): Promise<Issue[]>;
48
24
  declare function ensureIssueClosing(title: string): Promise<void>;
49
25
  declare function addAssignees(iid: number, assignees: string[]): Promise<void>;
@@ -57,37 +33,14 @@ declare function addReviewers(prNo: number, reviewers: string[]): Promise<void>;
57
33
  */
58
34
  declare function getUsernamesByEmail(emailAddress: string): Promise<string[]>;
59
35
  declare function deleteLabel(issueNo: number, label: string): Promise<void>;
60
- declare function ensureComment({
61
- number,
62
- topic,
63
- content
64
- }: EnsureCommentConfig): Promise<boolean>;
36
+ declare function ensureComment({ number, topic, content }: EnsureCommentConfig): Promise<boolean>;
65
37
  declare function ensureCommentRemoval(deleteConfig: EnsureCommentRemovalConfig): Promise<void>;
66
- declare function createPr({
67
- sourceBranch,
68
- targetBranch,
69
- prTitle: title,
70
- prBody: rawDescription,
71
- platformPrOptions
72
- }: CreatePRConfig): Promise<Pr>;
73
- declare function reattemptPlatformAutomerge({
74
- number,
75
- platformPrOptions
76
- }: ReattemptPlatformAutomergeConfig): Promise<void>;
77
- declare function updatePr({
78
- number: prNo,
79
- prTitle: title,
80
- prBody: rawDescription,
81
- state,
82
- bitbucketInvalidReviewers,
83
- targetBranch
84
- }: UpdatePrConfig & {
38
+ declare function createPr({ sourceBranch, targetBranch, prTitle: title, prBody: rawDescription, platformPrOptions }: CreatePRConfig): Promise<Pr>;
39
+ declare function reattemptPlatformAutomerge({ number, platformPrOptions }: ReattemptPlatformAutomergeConfig): Promise<void>;
40
+ declare function updatePr({ number: prNo, prTitle: title, prBody: rawDescription, state, bitbucketInvalidReviewers, targetBranch }: UpdatePrConfig & {
85
41
  bitbucketInvalidReviewers?: string[] | undefined;
86
42
  }): Promise<void>;
87
- declare function mergePr({
88
- branchName,
89
- id: prNo
90
- }: MergePRConfig): Promise<boolean>;
43
+ declare function mergePr({ branchName, id: prNo }: MergePRConfig): Promise<boolean>;
91
44
  declare function expandGroupMembers(reviewers: string[]): Promise<string[]>;
92
45
  declare function extractRulesFromCodeOwnersLines(cleanedLines: string[]): FileOwnerRule[];
93
46
  declare function massageMarkdown(input: string): string;
@@ -1,4 +1,5 @@
1
1
  import { Pr } from "../types.js";
2
+ import "got";
2
3
  //#region lib/modules/platform/bitbucket-server/types.d.ts
3
4
  interface BbsPr extends Pr {
4
5
  version?: number;
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod/v4";
2
-
3
2
  //#region lib/modules/platform/github/schema.d.ts
4
3
  declare const GithubVulnerabilityAlerts: z.ZodPipe<z.ZodType<{
5
4
  security_advisory: {
@@ -1,5 +1,4 @@
1
1
  import { FileOwnerRule } from "../types.js";
2
-
3
2
  //#region lib/modules/platform/gitlab/code-owners.d.ts
4
3
  declare function extractRulesFromCodeOwnersLines(cleanedLines: string[]): FileOwnerRule[];
5
4
  //#endregion
@@ -1,93 +1,40 @@
1
1
  import { AutodiscoverConfig, BranchStatusConfig, CreatePRConfig, EnsureCommentConfig, EnsureCommentRemovalConfig, EnsureIssueConfig, FindPRConfig, Issue, MergePRConfig, PlatformParams, PlatformResult, Pr, ReattemptPlatformAutomergeConfig, RepoParams, RepoResult, UpdatePrConfig } from "../types.js";
2
2
  import { BranchStatus } from "../../../types/branch-status.js";
3
+ import "../../../types/index.js";
3
4
  import { GitlabIssue, GitlabPr } from "./types.js";
4
5
  import { extractRulesFromCodeOwnersLines } from "./code-owners.js";
5
-
6
6
  //#region lib/modules/platform/gitlab/index.d.ts
7
7
  declare function resetPlatform(): void;
8
8
  declare const id = "gitlab";
9
- declare function initPlatform({
10
- endpoint,
11
- username,
12
- token,
13
- gitAuthor
14
- }: PlatformParams): Promise<PlatformResult>;
9
+ declare function initPlatform({ endpoint, username, token, gitAuthor }: PlatformParams): Promise<PlatformResult>;
15
10
  declare function getRepos(config?: AutodiscoverConfig): Promise<string[]>;
16
11
  declare function getRawFile(fileName: string, repoName?: string, branchOrTag?: string): Promise<string | null>;
17
12
  declare function getJsonFile(fileName: string, repoName?: string, branchOrTag?: string): Promise<any>;
18
- declare function initRepo({
19
- repository,
20
- cloneSubmodules,
21
- cloneSubmodulesFilter,
22
- gitUrl
23
- }: RepoParams): Promise<RepoResult>;
13
+ declare function initRepo({ repository, cloneSubmodules, cloneSubmodulesFilter, gitUrl }: RepoParams): Promise<RepoResult>;
24
14
  declare function getBranchForceRebase(): Promise<boolean>;
25
15
  declare function getBranchStatus(branchName: string, internalChecksAsSuccess: boolean): Promise<BranchStatus>;
26
16
  declare function getPrList(): Promise<Pr[]>;
27
- declare function createPr({
28
- sourceBranch,
29
- targetBranch,
30
- prTitle,
31
- prBody: rawDescription,
32
- draftPR,
33
- labels,
34
- platformPrOptions
35
- }: CreatePRConfig): Promise<Pr>;
17
+ declare function createPr({ sourceBranch, targetBranch, prTitle, prBody: rawDescription, draftPR, labels, platformPrOptions }: CreatePRConfig): Promise<Pr>;
36
18
  declare function getPr(iid: number): Promise<GitlabPr>;
37
- declare function updatePr({
38
- number: iid,
39
- prTitle,
40
- prBody: description,
41
- addLabels,
42
- removeLabels,
43
- state,
44
- platformPrOptions,
45
- targetBranch
46
- }: UpdatePrConfig): Promise<void>;
47
- declare function reattemptPlatformAutomerge({
48
- number: iid,
49
- platformPrOptions
50
- }: ReattemptPlatformAutomergeConfig): Promise<void>;
51
- declare function mergePr({
52
- id
53
- }: MergePRConfig): Promise<boolean>;
19
+ declare function updatePr({ number: iid, prTitle, prBody: description, addLabels, removeLabels, state, platformPrOptions, targetBranch }: UpdatePrConfig): Promise<void>;
20
+ declare function reattemptPlatformAutomerge({ number: iid, platformPrOptions }: ReattemptPlatformAutomergeConfig): Promise<void>;
21
+ declare function mergePr({ id }: MergePRConfig): Promise<boolean>;
54
22
  declare function massageMarkdown(input: string): string;
55
23
  declare function maxBodyLength(): number;
56
24
  declare function labelCharLimit(): number;
57
- declare function findPr({
58
- branchName,
59
- prTitle,
60
- state,
61
- includeOtherAuthors
62
- }: FindPRConfig): Promise<Pr | null>;
25
+ declare function findPr({ branchName, prTitle, state, includeOtherAuthors }: FindPRConfig): Promise<Pr | null>;
63
26
  declare function getBranchPr(branchName: string): Promise<GitlabPr | null>;
64
27
  declare function getBranchStatusCheck(branchName: string, context: string): Promise<BranchStatus | null>;
65
- declare function setBranchStatus({
66
- branchName,
67
- context,
68
- description,
69
- state: renovateState,
70
- url: targetUrl
71
- }: BranchStatusConfig): Promise<void>;
28
+ declare function setBranchStatus({ branchName, context, description, state: renovateState, url: targetUrl }: BranchStatusConfig): Promise<void>;
72
29
  declare function getIssueList(): Promise<GitlabIssue[]>;
73
30
  declare function getIssue(number: number, useCache?: boolean): Promise<Issue | null>;
74
31
  declare function findIssue(title: string): Promise<Issue | null>;
75
- declare function ensureIssue({
76
- title,
77
- reuseTitle,
78
- body,
79
- labels,
80
- confidential
81
- }: EnsureIssueConfig): Promise<'updated' | 'created' | null>;
32
+ declare function ensureIssue({ title, reuseTitle, body, labels, confidential }: EnsureIssueConfig): Promise<'updated' | 'created' | null>;
82
33
  declare function ensureIssueClosing(title: string): Promise<void>;
83
34
  declare function addAssignees(iid: number, assignees: string[]): Promise<void>;
84
35
  declare function addReviewers(iid: number, reviewers: string[]): Promise<void>;
85
36
  declare function deleteLabel(issueNo: number, label: string): Promise<void>;
86
- declare function ensureComment({
87
- number,
88
- topic,
89
- content
90
- }: EnsureCommentConfig): Promise<boolean>;
37
+ declare function ensureComment({ number, topic, content }: EnsureCommentConfig): Promise<boolean>;
91
38
  declare function ensureCommentRemoval(deleteConfig: EnsureCommentRemovalConfig): Promise<void>;
92
39
  declare function filterUnavailableUsers(users: string[]): Promise<string[]>;
93
40
  declare function expandGroupMembers(reviewersOrAssignees: string[]): Promise<string[]>;
@@ -1,5 +1,4 @@
1
1
  import { Pr } from "../types.js";
2
-
3
2
  //#region lib/modules/platform/gitlab/types.d.ts
4
3
  interface GitlabIssue {
5
4
  iid: number;
@@ -1,7 +1,6 @@
1
1
  import { PlatformId } from "../../constants/platforms.js";
2
2
  import { AutodiscoverConfig, BranchStatusConfig, CreatePRConfig, EnsureCommentConfig, EnsureCommentRemovalConfig, EnsureCommentRemovalConfigByContent, EnsureCommentRemovalConfigByTopic, EnsureIssueConfig, EnsureIssueResult, FileOwnerRule, FindPRConfig, GitUrlOption, Issue, MergePRConfig, Platform, PlatformParams, PlatformPrOptions, PlatformResult, PlatformScm, Pr, PrBodyStruct, PrDebugData, ReattemptPlatformAutomergeConfig, RepoParams, RepoResult, RepoSortMethod, SortMethod, StatusCheckConfig, UpdatePrConfig, VulnerabilityAlert } from "./types.js";
3
3
  import { AllConfig } from "../../config/types.js";
4
-
5
4
  //#region lib/modules/platform/index.d.ts
6
5
  declare const getPlatformList: () => string[];
7
6
  declare const platform: Platform;
@@ -3,9 +3,9 @@ import { CommitFilesConfig } from "../../util/git/types.js";
3
3
  import { GithubVulnerabilityAlert } from "./github/schema.js";
4
4
  import { BranchStatus } from "../../types/branch-status.js";
5
5
  import { HostRule } from "../../types/host-rules.js";
6
+ import "../../types/index.js";
6
7
  import { MergeStrategy } from "../../config/types.js";
7
8
  import { DateTime } from "luxon";
8
-
9
9
  //#region lib/modules/platform/types.d.ts
10
10
  type VulnerabilityAlert = GithubVulnerabilityAlert;
11
11
  interface PlatformParams {
@@ -221,7 +221,6 @@ interface Platform {
221
221
  * Useful for suggesting the use of rebase label when there is no better
222
222
  * way, e.g. for Gerrit.
223
223
  */
224
-
225
224
  rebaseLabel?: string): string;
226
225
  updatePr(prConfig: UpdatePrConfig): Promise<void>;
227
226
  mergePr(config: MergePRConfig): Promise<boolean>;
@@ -1,5 +1,4 @@
1
1
  import { NewValueConfig, VersioningApi } from "./types.js";
2
-
3
2
  //#region lib/modules/versioning/generic.d.ts
4
3
  interface GenericVersion {
5
4
  release: number[];
@@ -27,11 +26,7 @@ declare abstract class GenericVersioningApi<T extends GenericVersion = GenericVe
27
26
  isLessThanRange(version: string, range: string): boolean;
28
27
  getSatisfyingVersion(versions: string[], range: string): string | null;
29
28
  minSatisfyingVersion(versions: string[], range: string): string | null;
30
- getNewValue({
31
- currentValue,
32
- currentVersion,
33
- newVersion
34
- }: NewValueConfig): string | null;
29
+ getNewValue({ currentValue, currentVersion, newVersion }: NewValueConfig): string | null;
35
30
  sortVersions(version: string, other: string): number;
36
31
  matches(version: string, range: string): boolean;
37
32
  isSame(type: 'major' | 'minor' | 'patch', a: string, b: string): boolean;
@@ -1,6 +1,5 @@
1
1
  import { NewValueConfig, VersioningApi, VersioningApiConstructor } from "./types.js";
2
2
  import { index_d_exports } from "./semver-coerced/index.js";
3
-
4
3
  //#region lib/modules/versioning/index.d.ts
5
4
  declare const defaultVersioning: typeof index_d_exports;
6
5
  declare const getVersioningList: () => string[];
@@ -1,6 +1,4 @@
1
1
  import { VersioningApi } from "../types.js";
2
-
3
- //#region lib/modules/versioning/semver-coerced/index.d.ts
4
2
  declare namespace index_d_exports {
5
3
  export { api, api as default, displayName, getSatisfyingVersion, id, isVersion as isValid, isVersion, supportsRanges, urls };
6
4
  }
@@ -1,6 +1,6 @@
1
1
  import { RangeStrategy } from "../../types/versioning.js";
2
+ import "../../types/index.js";
2
3
  import { SemVer } from "semver";
3
-
4
4
  //#region lib/modules/versioning/types.d.ts
5
5
  interface NewValueConfig {
6
6
  currentValue: string;
@@ -1,5 +1,4 @@
1
1
  import { VersioningApi } from "../types.js";
2
-
3
2
  //#region lib/modules/versioning/ubuntu/index.d.ts
4
3
  declare const id = "ubuntu";
5
4
  declare const displayName = "Ubuntu";
@@ -1,2 +1,3 @@
1
1
  import { require_punycode } from "./punycode.js";
2
+ import "source-map-support/register.js";
2
3
  //# sourceMappingURL=renovate.d.ts.map
@@ -1,5 +1,4 @@
1
1
  import { PackageJson } from "type-fest";
2
-
3
2
  //#region lib/types/base.d.ts
4
3
  interface ModuleApi {
5
4
  displayName?: string;
@@ -10,7 +10,6 @@ import { PrState } from "./pr-state.js";
10
10
  import { SkipReason, StageName } from "./skip-reason.js";
11
11
  import { RangeStrategy } from "./versioning.js";
12
12
  import { MergeStrategy, RenovateSplit, UpdateType, ValidationMessage } from "../config/types.js";
13
-
14
13
  //#region lib/types/index.d.ts
15
14
  type AutoMergeType = 'branch' | 'pr' | 'pr-comment';
16
15
  type Val = NonNullable<unknown>;
@@ -1,22 +1,22 @@
1
1
  //#region lib/types/skip-reason.d.ts
2
- type SkipReason = 'contains-variable' | 'disabled' | 'empty' | 'file-dependency' | 'file' | 'git-dependency' | 'git-plugin' | 'ignored' | 'internal-error' | 'internal-package' | 'invalid-config' | 'invalid-dependency-specification' | 'invalid-name' | 'invalid-sha256' | 'invalid-url' | 'invalid-value' | 'invalid-version' | 'local-chart' | 'local-dependency' | 'local' | 'multiple-constraint-dep' | 'name-placeholder' | 'no-repository' | 'no-source-match' | 'no-source' | 'non-hex-dep-types' | 'not-a-version' | 'package-rules' | 'path-dependency' | 'placeholder-url' | 'unknown-engines' | 'unknown-registry' | 'unknown-volta' | 'unspecified-version' | 'unsupported-chart-type' | 'unsupported-datasource' | 'unsupported-remote' | 'unsupported-url' | 'unsupported-version' | 'unsupported' | 'unversioned-reference' | 'version-placeholder' | 'is-pinned' | 'missing-depname' | 'recursive-placeholder' | 'github-token-required' | 'inherited-dependency'
2
+ type SkipReason = 'contains-variable' | 'disabled' | 'empty' | 'file-dependency' | 'file' | 'git-dependency' | 'git-plugin' | 'ignored' | 'internal-error' | 'internal-package' | 'invalid-config' | 'invalid-dependency-specification' | 'invalid-name' | 'invalid-sha256' | 'invalid-url' | 'invalid-value' | 'invalid-version' | 'local-chart' | 'local-dependency' | 'local' | 'multiple-constraint-dep' | 'name-placeholder' | 'no-repository' | 'no-source-match' | 'no-source' | 'non-hex-dep-types' | 'not-a-version' | 'package-rules' | 'path-dependency' | 'placeholder-url' | 'unknown-engines' | 'unknown-registry' | 'unknown-volta' | 'unspecified-version' | 'unsupported-chart-type' | 'unsupported-datasource' | 'unsupported-remote' | 'unsupported-url' | 'unsupported-version' | 'unsupported' | 'unversioned-reference' | 'version-placeholder' | 'is-pinned' | 'missing-depname' | 'recursive-placeholder' | 'github-token-required' | 'inherited-dependency' |
3
3
  /**
4
4
  * The dependency has been detected as explicitly malicious.
5
5
  *
6
6
  * This reason should be removed before the update phase, so updates can be determined.
7
7
  */
8
- | 'malicious-version-in-use'
8
+ 'malicious-version-in-use' |
9
9
  /**
10
10
  * The dependency has a new dependency version available which has been marked as malicious.
11
11
  *
12
12
  * Renovate will not propose any updates, and leave you on the version you are currently on, which is currently known as safe.
13
13
  */
14
- | 'malicious-update-proposed';
15
- type StageName = 'current-timestamp' | 'datasource-merge' | 'extract' | 'lock-file-maintenance-merge' | 'lock-file-maintenance-merge-2' | 'lookup' | 'pre-lookup' | 'source-url' | 'update-type' | 'update-type-merge'
14
+ 'malicious-update-proposed';
15
+ type StageName = 'current-timestamp' | 'datasource-merge' | 'extract' | 'lock-file-maintenance-merge' | 'lock-file-maintenance-merge-2' | 'lookup' | 'pre-lookup' | 'source-url' | 'update-type' | 'update-type-merge' |
16
16
  /**
17
17
  * The update was skipped during one of the Enrichment modules.
18
18
  */
19
- | 'enrichment';
19
+ 'enrichment';
20
20
  //#endregion
21
21
  export { SkipReason, StageName };
22
22
  //# sourceMappingURL=skip-reason.d.ts.map