renovate 43.263.7 → 43.263.9

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 (73) 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/azure/issue.js +16 -0
  20. package/dist/modules/platform/azure/issue.js.map +1 -1
  21. package/dist/modules/platform/bitbucket/index.d.ts +10 -54
  22. package/dist/modules/platform/bitbucket-server/index.d.ts +11 -58
  23. package/dist/modules/platform/bitbucket-server/types.d.ts +1 -0
  24. package/dist/modules/platform/github/schema.d.ts +0 -1
  25. package/dist/modules/platform/gitlab/code-owners.d.ts +0 -1
  26. package/dist/modules/platform/gitlab/index.d.ts +11 -64
  27. package/dist/modules/platform/gitlab/types.d.ts +0 -1
  28. package/dist/modules/platform/index.d.ts +0 -1
  29. package/dist/modules/platform/types.d.ts +1 -2
  30. package/dist/modules/versioning/generic.d.ts +1 -6
  31. package/dist/modules/versioning/index.d.ts +0 -1
  32. package/dist/modules/versioning/semver-coerced/index.d.ts +0 -2
  33. package/dist/modules/versioning/types.d.ts +1 -1
  34. package/dist/modules/versioning/ubuntu/index.d.ts +0 -1
  35. package/dist/renovate.d.ts +1 -0
  36. package/dist/types/base.d.ts +0 -1
  37. package/dist/types/index.d.ts +0 -1
  38. package/dist/types/skip-reason.d.ts +5 -5
  39. package/dist/util/cache/package/backend.d.ts +0 -1
  40. package/dist/util/cache/package/index.d.ts +0 -1
  41. package/dist/util/cache/repository/types.d.ts +0 -1
  42. package/dist/util/exec/common.d.ts +0 -1
  43. package/dist/util/exec/exec-error.d.ts +0 -1
  44. package/dist/util/exec/types.d.ts +0 -1
  45. package/dist/util/git/config.d.ts +0 -1
  46. package/dist/util/git/index.d.ts +5 -28
  47. package/dist/util/git/types.d.ts +14 -14
  48. package/dist/util/host-rules.d.ts +4 -9
  49. package/dist/util/http/cache/types.d.ts +0 -1
  50. package/dist/util/http/github.d.ts +0 -1
  51. package/dist/util/http/gitlab.d.ts +0 -1
  52. package/dist/util/http/http.d.ts +3 -7
  53. package/dist/util/http/legacy.d.ts +0 -1
  54. package/dist/util/http/types.d.ts +0 -1
  55. package/dist/util/merge-confidence/types.d.ts +0 -1
  56. package/dist/util/result.d.ts +0 -1
  57. package/dist/util/s3.d.ts +0 -1
  58. package/dist/util/schema-utils/git.d.ts +0 -1
  59. package/dist/util/schema-utils/index.d.ts +4 -1
  60. package/dist/util/timestamp.d.ts +0 -1
  61. package/dist/util/url.d.ts +0 -1
  62. package/dist/util/yaml.d.ts +2 -1
  63. package/dist/workers/global/autodiscover.d.ts +0 -1
  64. package/dist/workers/global/config/parse/index.d.ts +0 -1
  65. package/dist/workers/repository/init/types.d.ts +1 -0
  66. package/dist/workers/repository/process/extract-update.d.ts +3 -0
  67. package/dist/workers/repository/process/write.d.ts +3 -1
  68. package/dist/workers/repository/result.d.ts +9 -6
  69. package/dist/workers/repository/update/branch/index.js +8 -1
  70. package/dist/workers/repository/update/branch/index.js.map +1 -1
  71. package/dist/workers/types.d.ts +1 -1
  72. package/package.json +4 -4
  73. package/renovate-schema.json +2 -2
@@ -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
@@ -1,6 +1,5 @@
1
1
  import { AllConfig } from "../../../config/types.js";
2
2
  import { PackageCacheNamespace } from "./namespaces.js";
3
-
4
3
  //#region lib/util/cache/package/backend.d.ts
5
4
  declare let cacheType: 'redis' | 'sqlite' | 'file' | undefined;
6
5
  declare function getCacheType(): typeof cacheType;
@@ -1,7 +1,6 @@
1
1
  import { AllConfig } from "../../../config/types.js";
2
2
  import { PackageCacheNamespace } from "./namespaces.js";
3
3
  import { getCacheType as getCacheType$1 } from "./backend.js";
4
-
5
4
  //#region lib/util/cache/package/index.d.ts
6
5
  declare function getCacheType(): ReturnType<typeof getCacheType$1>;
7
6
  declare function get<T = any>(namespace: PackageCacheNamespace, key: string): Promise<T | undefined>;
@@ -3,7 +3,6 @@ import { PrBlockedBy } from "../../../workers/types.js";
3
3
  import { ExtractResult } from "../../../workers/repository/process/extract-update.js";
4
4
  import { PackageFile } from "../../../modules/manager/types.js";
5
5
  import { RepositoryCacheConfig, RepositoryCacheType, UpdateType } from "../../../config/types.js";
6
-
7
6
  //#region lib/util/cache/repository/types.d.ts
8
7
  interface BaseBranchCache {
9
8
  revision?: number;
@@ -1,5 +1,4 @@
1
1
  import { CommandWithOptions, ExecResult, RawExecOptions } from "./types.js";
2
-
3
2
  //#region lib/util/exec/common.d.ts
4
3
  declare function exec(commandArgument: string | CommandWithOptions, opts: RawExecOptions): Promise<ExecResult>;
5
4
  declare const rawExec: (cmd: string | CommandWithOptions, opts: RawExecOptions) => Promise<ExecResult>;
@@ -1,5 +1,4 @@
1
1
  import { RawExecOptions } from "./types.js";
2
-
3
2
  //#region lib/util/exec/exec-error.d.ts
4
3
  interface ExecErrorData {
5
4
  cmd: string;
@@ -1,6 +1,5 @@
1
1
  import { VersioningName } from "../../versioning-list.generated.js";
2
2
  import { Options } from "execa";
3
-
4
3
  //#region lib/util/exec/types.d.ts
5
4
  interface ConstraintDefinition {
6
5
  name: string;
@@ -1,6 +1,5 @@
1
1
  import { GitNoVerifyOption } from "./types.js";
2
2
  import { SimpleGitOptions } from "simple-git";
3
-
4
3
  //#region lib/util/git/config.d.ts
5
4
  declare function setNoVerify(value: GitNoVerifyOption[]): void;
6
5
  //#endregion
@@ -7,13 +7,9 @@ import { setNoVerify } from "./config.js";
7
7
  import { setPrivateKey } from "./private-key.js";
8
8
  import { DateTime } from "luxon";
9
9
  import { SimpleGit, SimpleGitOptions } from "simple-git";
10
-
11
10
  //#region lib/util/git/index.d.ts
12
11
  declare const RENOVATE_FORK_UPSTREAM = "renovate-fork-upstream";
13
- declare function createSimpleGit({
14
- config,
15
- env
16
- }?: {
12
+ declare function createSimpleGit({ config, env }?: {
17
13
  config?: Partial<SimpleGitOptions>;
18
14
  env?: ExtraEnv;
19
15
  }): SimpleGit;
@@ -25,10 +21,7 @@ declare function initRepo(args: StorageConfig): Promise<void>;
25
21
  declare function resetToCommit(commit: LongCommitSha): Promise<void>;
26
22
  declare function setGitAuthor(gitAuthor: string | undefined): void;
27
23
  declare function writeGitAuthor(): Promise<void>;
28
- declare function setUserRepoConfig({
29
- gitIgnoredAuthors,
30
- gitAuthor
31
- }: RenovateConfig): void;
24
+ declare function setUserRepoConfig({ gitIgnoredAuthors, gitAuthor }: RenovateConfig): void;
32
25
  declare function getSubmodules(): Promise<string[]>;
33
26
  declare function cloneSubmodules(shouldClone: boolean, cloneSubmodulesFilter: string[] | undefined): Promise<void>;
34
27
  declare function isCloned(): boolean;
@@ -72,27 +65,11 @@ declare function hasDiff(sourceRef: string, targetRef: string): Promise<boolean>
72
65
  * 5. If not empty, return commit info for further processing
73
66
  *
74
67
  */
75
- declare function prepareCommit({
76
- branchName,
77
- files,
78
- message,
79
- force
80
- }: CommitFilesConfig): Promise<CommitResult | null>;
81
- declare function pushCommit({
82
- sourceRef,
83
- targetRef,
84
- files,
85
- pushOptions
86
- }: PushFilesConfig): Promise<boolean>;
68
+ declare function prepareCommit({ branchName, files, message, force }: CommitFilesConfig): Promise<CommitResult | null>;
69
+ declare function pushCommit({ sourceRef, targetRef, files, pushOptions }: PushFilesConfig): Promise<boolean>;
87
70
  declare function fetchBranch(branchName: string): Promise<LongCommitSha | null>;
88
71
  declare function commitFiles(commitConfig: CommitFilesConfig): Promise<LongCommitSha | null>;
89
- declare function getUrl({
90
- protocol,
91
- auth,
92
- hostname,
93
- host,
94
- repository
95
- }: {
72
+ declare function getUrl({ protocol, auth, hostname, host, repository }: {
96
73
  protocol?: GitProtocol;
97
74
  auth?: string;
98
75
  hostname?: string;
@@ -1,8 +1,8 @@
1
1
  import { GitOptions } from "../../types/git.js";
2
2
  import { LongCommitSha } from "../schema-utils/git.js";
3
+ import "../schema-utils/index.js";
3
4
  import { PlatformCommitOptions } from "../../config/types.js";
4
5
  import { StatusResult } from "simple-git";
5
-
6
6
  //#region lib/util/git/types.d.ts
7
7
  type GitNoVerifyOption = 'commit' | 'push';
8
8
  interface StorageConfig {
@@ -79,47 +79,47 @@ type GitOperationType =
79
79
  /**
80
80
  * The `git clone` sub-command.
81
81
  */
82
- 'clone'
82
+ 'clone' |
83
83
  /**
84
84
  * The `git reset` sub-command.
85
85
  */
86
- | 'reset'
86
+ 'reset' |
87
87
  /**
88
88
  * The `git checkout` sub-command.
89
89
  */
90
- | 'checkout'
90
+ 'checkout' |
91
91
  /**
92
92
  * The `git fetch` sub-command.
93
93
  */
94
- | 'fetch'
94
+ 'fetch' |
95
95
  /**
96
96
  * The `git pull` sub-command.
97
97
  */
98
- | 'pull'
98
+ 'pull' |
99
99
  /**
100
100
  * The `git push` sub-command.
101
101
  */
102
- | 'push'
102
+ 'push' |
103
103
  /**
104
104
  * The `git clean` sub-command.
105
105
  */
106
- | 'clean'
106
+ 'clean' |
107
107
  /**
108
108
  * The `git merge` sub-command.
109
109
  */
110
- | 'merge'
110
+ 'merge' |
111
111
  /**
112
112
  * The `git submodule` sub-command.
113
113
  */
114
- | 'submodule'
114
+ 'submodule' |
115
115
  /**
116
116
  * The `git commit` sub-command.
117
117
  */
118
- | 'commit'
118
+ 'commit' |
119
119
  /**
120
120
  * The `git branch` sub-command.
121
121
  */
122
- | 'branch'
122
+ 'branch' |
123
123
  /**
124
124
  * Any internal "plumbing" commands
125
125
  *
@@ -127,7 +127,7 @@ type GitOperationType =
127
127
  *
128
128
  * See also: https://git-scm.com/book/en/v2/Git-Internals-Plumbing-and-Porcelain
129
129
  */
130
- | 'plumbing'
130
+ 'plumbing' |
131
131
  /**
132
132
  * Any other operations i.e.
133
133
  *
@@ -143,7 +143,7 @@ type GitOperationType =
143
143
  *
144
144
  * See also: https://git-scm.com/book/en/v2/Git-Internals-Plumbing-and-Porcelain
145
145
  */
146
- | 'other';
146
+ 'other';
147
147
  //#endregion
148
148
  export { CommitFilesConfig, CommitResult, DiffTreeItem, FileAddition, FileChange, FileDeletion, GitNoVerifyOption, GitObjectType, GitOperationType, PushFilesConfig, type StatusResult, StorageConfig };
149
149
  //# sourceMappingURL=types.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import { CombinedHostRule, HostRule } from "../types/host-rules.js";
2
+ import "../types/index.js";
2
3
  //#region lib/util/host-rules.d.ts
3
4
  interface LegacyHostRule {
4
5
  hostName?: string;
@@ -16,19 +17,13 @@ interface HostRuleSearch {
16
17
  }
17
18
  declare function matchesHost(url: string, matchHost: string): boolean;
18
19
  declare function find(search: HostRuleSearch): CombinedHostRule;
19
- declare function hosts({
20
- hostType
21
- }: {
20
+ declare function hosts({ hostType }: {
22
21
  hostType: string;
23
22
  }): string[];
24
- declare function hostType({
25
- url
26
- }: {
23
+ declare function hostType({ url }: {
27
24
  url: string;
28
25
  }): string | null;
29
- declare function findAll({
30
- hostType
31
- }: {
26
+ declare function findAll({ hostType }: {
32
27
  hostType: string;
33
28
  }): HostRule[];
34
29
  /**
@@ -1,5 +1,4 @@
1
1
  import { GotOptions, HttpResponse } from "../types.js";
2
-
3
2
  //#region lib/util/http/cache/types.d.ts
4
3
  interface HttpCacheProvider {
5
4
  setCacheHeaders<T extends Pick<GotOptions, 'headers'>>(method: string, url: string, opts: T): Promise<void>;
@@ -1,7 +1,6 @@
1
1
  import { GraphqlOptions, HttpMethod, HttpOptions, HttpResponse } from "./types.js";
2
2
  import { HttpBase, InternalHttpOptions, InternalJsonUnsafeOptions } from "./http.js";
3
3
  import { GotLegacyError } from "./legacy.js";
4
-
5
4
  //#region lib/util/http/github.d.ts
6
5
  declare const setBaseUrl: (url: string) => void;
7
6
  interface GithubBaseHttpOptions extends HttpOptions {
@@ -1,7 +1,6 @@
1
1
  import { HttpMethod, HttpOptions, HttpResponse } from "./types.js";
2
2
  import { HttpBase, InternalJsonUnsafeOptions } from "./http.js";
3
3
  import { RetryObject } from "got";
4
-
5
4
  //#region lib/util/http/gitlab.d.ts
6
5
  declare const setBaseUrl: (url: string) => void;
7
6
  interface GitlabHttpOptions extends HttpOptions {
@@ -2,6 +2,7 @@ import { AsyncResult } from "../result.js";
2
2
  import { HttpMethod, HttpOptions, HttpResponse, SafeJsonError } from "./types.js";
3
3
  import { Options, OptionsInit, RetryObject } from "got";
4
4
  import { ZodType, z } from "zod/v4";
5
+ import "type-fest";
5
6
  //#region lib/util/http/http.d.ts
6
7
  interface InternalJsonUnsafeOptions<Opts extends HttpOptions = HttpOptions> {
7
8
  url: string | URL;
@@ -27,17 +28,12 @@ declare abstract class HttpBase<JSONOpts extends HttpOptions = HttpOptions, Opts
27
28
  protected processOptions(_url: URL, _options: InternalHttpOptions): void;
28
29
  protected handleError(_url: string | URL, _httpOptions: HttpOptions, err: Error): never;
29
30
  resolveUrl(requestUrl: string | URL, options?: HttpOptions): URL;
30
- protected calculateRetryDelay({
31
- computedValue
32
- }: RetryObject): number;
31
+ protected calculateRetryDelay({ computedValue }: RetryObject): number;
33
32
  get(url: string, options?: HttpOptions): Promise<HttpResponse<string | Buffer>>;
34
33
  head(url: string, options?: HttpOptions): Promise<HttpResponse<never>>;
35
34
  getText(url: string | URL, options?: HttpOptions): Promise<HttpResponse>;
36
35
  getBuffer(url: string | URL, options?: HttpOptions): Promise<HttpResponse<Buffer>>;
37
- protected requestJsonUnsafe<ResT>(method: HttpMethod, {
38
- url,
39
- httpOptions: requestOptions
40
- }: InternalJsonUnsafeOptions<JSONOpts>): Promise<HttpResponse<ResT>>;
36
+ protected requestJsonUnsafe<ResT>(method: HttpMethod, { url, httpOptions: requestOptions }: InternalJsonUnsafeOptions<JSONOpts>): Promise<HttpResponse<ResT>>;
41
37
  private requestJson;
42
38
  private resolveArgs;
43
39
  getPlain(url: string, options?: Opts): Promise<HttpResponse>;
@@ -1,5 +1,4 @@
1
1
  import { RequestError } from "got";
2
-
3
2
  //#region lib/util/http/legacy.d.ts
4
3
  type GotLegacyError<E = unknown, T = unknown> = RequestError & {
5
4
  statusCode?: number;
@@ -3,7 +3,6 @@ import { EmptyResultError } from "./errors.js";
3
3
  import { OptionsInit, OptionsOfBufferResponseBody, OptionsOfJSONResponseBody, OptionsOfTextResponseBody, RequestError } from "got";
4
4
  import { ZodError } from "zod/v4";
5
5
  import { IncomingHttpHeaders } from "node:http";
6
-
7
6
  //#region lib/util/http/types.d.ts
8
7
  type GotContextOptions = {
9
8
  authType?: string;
@@ -1,5 +1,4 @@
1
1
  import { MERGE_CONFIDENCE } from "./common.js";
2
-
3
2
  //#region lib/util/merge-confidence/types.d.ts
4
3
  type MergeConfidence = (typeof MERGE_CONFIDENCE)[number];
5
4
  //#endregion
@@ -1,6 +1,5 @@
1
1
  import { Nullish } from "../types/index.js";
2
2
  import { ZodError, ZodType, output } from "zod/v4";
3
-
4
3
  //#region lib/util/result.d.ts
5
4
  type Val = NonNullable<unknown>;
6
5
  type ZodSafeParseResult<T> = ReturnType<ZodType<T>['safeParse']>;
package/dist/util/s3.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { S3Client } from "@aws-sdk/client-s3";
2
-
3
2
  //#region lib/util/s3.d.ts
4
3
  declare function getS3Client(s3Endpoint?: string, s3PathStyle?: boolean): S3Client;
5
4
  interface S3UrlParts {
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod/v4";
2
-
3
2
  //#region lib/util/schema-utils/git.d.ts
4
3
  declare const LongCommitSha: z.core.$ZodBranded<z.ZodString, "LongCommitSha", "out">;
5
4
  type LongCommitSha = z.infer<typeof LongCommitSha>;
@@ -1,2 +1,5 @@
1
+ import "../yaml.js";
2
+ import "../../modules/manager/types.js";
1
3
  import { DateTime } from "luxon";
2
- import { z } from "zod/v4";
4
+ import { z } from "zod/v4";
5
+ import "type-fest";
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod/v4";
2
-
3
2
  //#region lib/util/timestamp.d.ts
4
3
  type Timestamp = string & {
5
4
  __timestamp: never;
@@ -1,5 +1,4 @@
1
1
  import _parseLinkHeader from "parse-link-header";
2
-
3
2
  //#region lib/util/url.d.ts
4
3
  declare function joinUrlParts(...parts: string[]): string;
5
4
  declare function ensurePathPrefix(url: string, prefix: string): string;
@@ -1 +1,2 @@
1
- import { ZodType } from "zod/v4";
1
+ import { ZodType } from "zod/v4";
2
+ import "yaml";
@@ -1,5 +1,4 @@
1
1
  import { AllConfig } from "../../config/types.js";
2
-
3
2
  //#region lib/workers/global/autodiscover.d.ts
4
3
  declare function autodiscoverRepositories(config: AllConfig): Promise<AllConfig>;
5
4
  declare function applyFilters(repos: string[], filters: string[]): string[];
@@ -1,5 +1,4 @@
1
1
  import { AllConfig } from "../../../../config/types.js";
2
-
3
2
  //#region lib/workers/global/config/parse/index.d.ts
4
3
  declare function resolveGlobalExtends(globalExtends: string[], ignorePresets?: string[]): Promise<AllConfig>;
5
4
  declare function parseConfigs(env: NodeJS.ProcessEnv, argv: string[]): Promise<AllConfig>;
@@ -1,3 +1,4 @@
1
+ import "../../../config/types.js";
1
2
  //#region lib/workers/repository/init/types.d.ts
2
3
  interface RepoConfigError {
3
4
  validationError: string;
@@ -1,5 +1,8 @@
1
1
  import { BranchConfig } from "../../types.js";
2
+ import "./write.js";
3
+ import "../../../util/cache/repository/types.js";
2
4
  import { PackageFile } from "../../../modules/manager/types.js";
5
+ import "../../../config/types.js";
3
6
  //#region lib/workers/repository/process/extract-update.d.ts
4
7
  interface ExtractResult {
5
8
  branches: BranchConfig[];
@@ -1 +1,3 @@
1
- export { };
1
+ import "../../types.js";
2
+ import "../../../util/cache/repository/types.js";
3
+ import "../../../config/types.js";
@@ -1,6 +1,5 @@
1
1
  import { ConfigErrors, EXTERNAL_HOST_ERROR, MANAGER_LOCKFILE_ERROR, MISSING_API_CREDENTIALS, PlatformErrors, RepositoryErrors, SystemErrors, TemporaryErrors, UNKNOWN_ERROR } from "../../constants/error-messages.js";
2
2
  import { RenovateConfig } from "../../config/types.js";
3
-
4
3
  //#region lib/workers/repository/result.d.ts
5
4
  type ProcessStatus =
6
5
  /**
@@ -8,23 +7,23 @@ type ProcessStatus =
8
7
  *
9
8
  * See {@link RepositoryErrors} for information on which statuses lead to this.
10
9
  */
11
- 'disabled'
10
+ 'disabled' |
12
11
  /**
13
12
  * The repository has onboarded to Renovate, so will see PRs and/or branches raised by Renovate.
14
13
  *
15
14
  * The repository has not yet merged any PRs, or the repository performs branch-based automerge and those have not been detected (TODO #40635).
16
15
  */
17
- | 'onboarded'
16
+ 'onboarded' |
18
17
  /**
19
18
  * The repository has onboarded to Renovate, and has merged at least 1 Renovate PR.
20
19
  *
21
20
  * The repository may also perform branch-based automerge which has not been detected (TODO #40635).
22
21
  */
23
- | 'activated'
22
+ 'activated' |
24
23
  /**
25
24
  * The repository has an onboarding PR from Renovate that has not yet been reviewed and merged.
26
25
  */
27
- | 'onboarding' | 'unknown';
26
+ 'onboarding' | 'unknown';
28
27
  interface ProcessResult {
29
28
  res: RepositoryResult;
30
29
  status: ProcessStatus;
@@ -32,7 +31,11 @@ interface ProcessResult {
32
31
  onboarded: boolean | undefined;
33
32
  }
34
33
  /** a strong type for any repository result status that Renovate may report */
35
- type RepositoryResult = /** repository was processed successfully */'done' /** Renovate performed branch-based automerge on one branch during its run */ | 'automerged' | (typeof SystemErrors)[number] | (typeof RepositoryErrors)[number] | (typeof TemporaryErrors)[number] | (typeof ConfigErrors)[number] | (typeof PlatformErrors)[number] | typeof EXTERNAL_HOST_ERROR | typeof MISSING_API_CREDENTIALS | typeof MANAGER_LOCKFILE_ERROR | typeof UNKNOWN_ERROR;
34
+ type RepositoryResult =
35
+ /** repository was processed successfully */
36
+ 'done' |
37
+ /** Renovate performed branch-based automerge on one branch during its run */
38
+ 'automerged' | (typeof SystemErrors)[number] | (typeof RepositoryErrors)[number] | (typeof TemporaryErrors)[number] | (typeof ConfigErrors)[number] | (typeof PlatformErrors)[number] | typeof EXTERNAL_HOST_ERROR | typeof MISSING_API_CREDENTIALS | typeof MANAGER_LOCKFILE_ERROR | typeof UNKNOWN_ERROR;
36
39
  declare function processResult(config: RenovateConfig, res: RepositoryResult): ProcessResult;
37
40
  //#endregion
38
41
  export { ProcessResult, ProcessStatus, RepositoryResult, processResult };