renovate 44.115.3 → 44.115.5

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 (94) hide show
  1. package/dist/config/defaults.d.ts +2 -3
  2. package/dist/config/global.d.ts +1 -2
  3. package/dist/config/options/env-options.d.ts +3 -4
  4. package/dist/config/options/index.d.ts +1 -2
  5. package/dist/config/types.d.ts +63 -63
  6. package/dist/config/utils.d.ts +1 -2
  7. package/dist/config/validation-helpers/types.d.ts +2 -3
  8. package/dist/config-validator.d.ts +1 -0
  9. package/dist/constants/category.d.ts +2 -3
  10. package/dist/constants/error-messages.d.ts +57 -58
  11. package/dist/constants/platforms.d.ts +2 -3
  12. package/dist/instrumentation/types.d.ts +13 -14
  13. package/dist/logger/err-serializer.d.ts +1 -2
  14. package/dist/logger/index.d.ts +13 -14
  15. package/dist/logger/renovate-logger.d.ts +1 -2
  16. package/dist/logger/types.d.ts +7 -7
  17. package/dist/manager-list.generated.d.ts +2 -3
  18. package/dist/modules/datasource/common.d.ts +8 -9
  19. package/dist/modules/datasource/index.d.ts +9 -9
  20. package/dist/modules/datasource/npm/schema.d.ts +5 -6
  21. package/dist/modules/datasource/rubygems/metadata-cache.js +5 -1
  22. package/dist/modules/datasource/rubygems/metadata-cache.js.map +1 -1
  23. package/dist/modules/datasource/types.d.ts +12 -13
  24. package/dist/modules/manager/custom/jsonata/types.d.ts +2 -3
  25. package/dist/modules/manager/custom/regex/types.d.ts +2 -3
  26. package/dist/modules/manager/custom/types.d.ts +3 -4
  27. package/dist/modules/manager/fingerprint.generated.d.ts +1 -2
  28. package/dist/modules/manager/index.d.ts +12 -12
  29. package/dist/modules/manager/types.d.ts +26 -27
  30. package/dist/modules/platform/bitbucket/index.d.ts +28 -29
  31. package/dist/modules/platform/bitbucket-server/index.d.ts +33 -34
  32. package/dist/modules/platform/bitbucket-server/types.d.ts +1 -2
  33. package/dist/modules/platform/github/schema.d.ts +3 -4
  34. package/dist/modules/platform/gitlab/code-owners.d.ts +1 -2
  35. package/dist/modules/platform/gitlab/index.d.ts +37 -37
  36. package/dist/modules/platform/gitlab/types.d.ts +2 -3
  37. package/dist/modules/platform/index.d.ts +5 -5
  38. package/dist/modules/platform/types.d.ts +30 -31
  39. package/dist/modules/versioning/generic.d.ts +1 -2
  40. package/dist/modules/versioning/index.d.ts +5 -5
  41. package/dist/modules/versioning/semver-coerced/index.d.ts +7 -7
  42. package/dist/modules/versioning/types.d.ts +11 -12
  43. package/dist/modules/versioning/ubuntu/index.d.ts +6 -6
  44. package/dist/proxy.d.ts +2 -3
  45. package/dist/renovate.d.ts +1 -0
  46. package/dist/types/base.d.ts +2 -3
  47. package/dist/types/branch-status.d.ts +1 -2
  48. package/dist/types/commit-message-json.d.ts +1 -2
  49. package/dist/types/git.d.ts +2 -3
  50. package/dist/types/host-rules.d.ts +3 -4
  51. package/dist/types/index.d.ts +5 -5
  52. package/dist/types/pr-state.d.ts +1 -2
  53. package/dist/types/skip-reason.d.ts +2 -3
  54. package/dist/types/versioning.d.ts +1 -2
  55. package/dist/util/cache/package/backend.d.ts +9 -7
  56. package/dist/util/cache/package/index.d.ts +7 -8
  57. package/dist/util/cache/package/namespaces.d.ts +2 -3
  58. package/dist/util/cache/repository/types.d.ts +10 -11
  59. package/dist/util/compress.d.ts +4 -5
  60. package/dist/util/exec/common.d.ts +2 -3
  61. package/dist/util/exec/common.js +1 -1
  62. package/dist/util/exec/common.js.map +1 -1
  63. package/dist/util/exec/exec-error.d.ts +2 -3
  64. package/dist/util/exec/types.d.ts +30 -27
  65. package/dist/util/exec/types.js.map +1 -1
  66. package/dist/util/git/config.d.ts +1 -2
  67. package/dist/util/git/index.d.ts +56 -56
  68. package/dist/util/git/private-key.d.ts +1 -2
  69. package/dist/util/git/types.d.ts +13 -13
  70. package/dist/util/host-rules.d.ts +14 -15
  71. package/dist/util/http/cache/types.d.ts +1 -2
  72. package/dist/util/http/errors.d.ts +1 -2
  73. package/dist/util/http/github.d.ts +6 -7
  74. package/dist/util/http/gitlab.d.ts +3 -4
  75. package/dist/util/http/http.d.ts +3 -4
  76. package/dist/util/http/legacy.d.ts +1 -2
  77. package/dist/util/http/types.d.ts +20 -21
  78. package/dist/util/merge-confidence/common.d.ts +1 -2
  79. package/dist/util/merge-confidence/types.d.ts +1 -2
  80. package/dist/util/result.d.ts +2 -3
  81. package/dist/util/s3.d.ts +3 -4
  82. package/dist/util/schema-utils/git.d.ts +2 -3
  83. package/dist/util/string-match.d.ts +9 -10
  84. package/dist/util/timestamp.d.ts +4 -5
  85. package/dist/util/url.d.ts +18 -19
  86. package/dist/versioning-list.generated.d.ts +2 -3
  87. package/dist/workers/global/autodiscover.d.ts +2 -3
  88. package/dist/workers/global/config/parse/index.d.ts +2 -3
  89. package/dist/workers/repository/init/types.d.ts +3 -4
  90. package/dist/workers/repository/result.d.ts +4 -5
  91. package/dist/workers/repository/update/pr/changelog/types.d.ts +7 -8
  92. package/dist/workers/types.d.ts +17 -18
  93. package/package.json +3 -3
  94. package/renovate-schema.json +2 -2
@@ -1,7 +1,6 @@
1
1
  import { AllConfig, RenovateOptions } from "./types.js";
2
2
  //#region lib/config/defaults.d.ts
3
- declare function getDefault(option: RenovateOptions): any;
4
- declare function getConfig(): AllConfig;
3
+ export declare function getDefault(option: RenovateOptions): any;
4
+ export declare function getConfig(): AllConfig;
5
5
  //#endregion
6
- export { getConfig, getDefault };
7
6
  //# sourceMappingURL=defaults.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { InternalGlobalConfigOptions, RenovateConfig, RepoGlobalConfig } from "./types.js";
2
2
  //#region lib/config/global.d.ts
3
- declare class GlobalConfig {
3
+ export declare class GlobalConfig {
4
4
  static OPTIONS: readonly ["allowCustomCrateRegistries", "allowPlugins", "allowScripts", "allowShellExecutorForPostUpgradeCommands", "allowedCommands", "allowedEnv", "allowedHeaders", "allowedUnsafeExecutions", "autodiscoverRepoOrder", "autodiscoverRepoSort", "bbUseDevelopmentBranch", "binarySource", "cacheDir", "cacheHardTtlMinutes", "cachePrivatePackages", "cacheTtlOverride", "checkedBranches", "configFileNames", "containerbaseDir", "customEnvVariables", "dockerChildPrefix", "dockerCliOptions", "dockerMaxPages", "dockerSidecarImage", "dockerUser", "dryRun", "encryptedWarning", "endpoint", "executionTimeout", "exposeAllEnv", "gitTimeout", "githubTokenWarn", "httpCacheTtlDays", "ignorePrAuthor", "includeMirrors", "inheritConfigTrusted", "internalHostAccess", "localDir", "migratePresets", "onboarding", "onboardingAutoCloseAge", "onboardingBranch", "onboardingCommitMessage", "onboardingConfig", "onboardingConfigFileName", "onboardingNoDeps", "onboardingPrTitle", "platform", "prCacheSyncMaxPages", "presetCachePersistence", "productLinks", "rebaseAllOpenBranches", "repositoryCacheForceLocal", "requireConfig", "s3Endpoint", "s3PathStyle", "toolSettings", "userAgent"];
5
5
  private static config;
6
6
  static get(): RepoGlobalConfig & InternalGlobalConfigOptions;
@@ -9,5 +9,4 @@ declare class GlobalConfig {
9
9
  static reset(): void;
10
10
  }
11
11
  //#endregion
12
- export { GlobalConfig };
13
12
  //# sourceMappingURL=global.d.ts.map
@@ -1,12 +1,11 @@
1
1
  //#region lib/config/options/env-options.d.ts
2
- interface EnvOptionInfo {
2
+ export interface EnvOptionInfo {
3
3
  configName: string;
4
4
  globalOnly: boolean;
5
5
  inheritConfigSupport: boolean;
6
6
  type: string;
7
7
  }
8
- type EnvOptionsMap = Record<string, EnvOptionInfo>;
9
- declare function getEnvOptionsMap(): EnvOptionsMap;
8
+ export type EnvOptionsMap = Record<string, EnvOptionInfo>;
9
+ export declare function getEnvOptionsMap(): EnvOptionsMap;
10
10
  //#endregion
11
- export { EnvOptionInfo, EnvOptionsMap, getEnvOptionsMap };
12
11
  //# sourceMappingURL=env-options.d.ts.map
@@ -1,6 +1,5 @@
1
1
  import { RenovateOptions } from "../types.js";
2
2
  //#region lib/config/options/index.d.ts
3
- declare function getOptions(): Readonly<RenovateOptions>[];
3
+ export declare function getOptions(): Readonly<RenovateOptions>[];
4
4
  //#endregion
5
- export { getOptions };
6
5
  //# sourceMappingURL=index.d.ts.map
@@ -14,21 +14,21 @@ import { AutoMergeType, Nullish } from "../types/index.js";
14
14
  import { CustomManager } from "../modules/manager/custom/types.js";
15
15
  import { ConfigValidationTopic } from "./validation-helpers/types.js";
16
16
  //#region lib/config/types.d.ts
17
- type RenovateConfigStage = 'global' | 'inherit' | 'repository' | 'package' | 'branch' | 'pr';
18
- type RenovateSplit = 'init' | 'onboarding' | 'extract' | 'lookup' | 'update';
19
- type RepositoryCacheConfig = 'disabled' | 'enabled' | 'reset';
20
- type RepositoryCacheType = 'local' | (string & {});
21
- type DryRunConfig = 'extract' | 'lookup' | 'full';
22
- type InternalHostAccess = 'allow' | 'warn' | 'block';
23
- type RequiredConfig = 'required' | 'optional' | 'ignored';
24
- interface GroupConfig extends Record<string, unknown> {
17
+ export type RenovateConfigStage = 'global' | 'inherit' | 'repository' | 'package' | 'branch' | 'pr';
18
+ export type RenovateSplit = 'init' | 'onboarding' | 'extract' | 'lookup' | 'update';
19
+ export type RepositoryCacheConfig = 'disabled' | 'enabled' | 'reset';
20
+ export type RepositoryCacheType = 'local' | (string & {});
21
+ export type DryRunConfig = 'extract' | 'lookup' | 'full';
22
+ export type InternalHostAccess = 'allow' | 'warn' | 'block';
23
+ export type RequiredConfig = 'required' | 'optional' | 'ignored';
24
+ export interface GroupConfig extends Record<string, unknown> {
25
25
  branchName?: string;
26
26
  branchTopic?: string;
27
27
  }
28
- type RecreateWhen = 'auto' | 'never' | 'always';
29
- type StatusCheckWhen = 'always' | 'never' | 'failed';
30
- type PlatformCommitOptions = 'auto' | 'disabled' | 'enabled';
31
- type BinarySource = 'docker' | 'global' | 'install' | 'hermit';
28
+ export type RecreateWhen = 'auto' | 'never' | 'always';
29
+ export type StatusCheckWhen = 'always' | 'never' | 'failed';
30
+ export type PlatformCommitOptions = 'auto' | 'disabled' | 'enabled';
31
+ export type BinarySource = 'docker' | 'global' | 'install' | 'hermit';
32
32
  /**
33
33
  * Any configuration that could be used either top-level in a repository config (or Global, Inherited or Shareable Preset configuration), or:
34
34
  *
@@ -39,7 +39,7 @@ type BinarySource = 'docker' | 'global' | 'install' | 'hermit';
39
39
  * @see RenovateConfig for the superset of all configuration allowed in a given repository
40
40
  *
41
41
  */
42
- interface RenovateSharedConfig {
42
+ export interface RenovateSharedConfig {
43
43
  $schema?: string;
44
44
  abandonmentThreshold?: Nullish<string>;
45
45
  addLabels?: string[];
@@ -146,7 +146,7 @@ interface RenovateSharedConfig {
146
146
  /**
147
147
  * Contains all options with globalOnly=true && inheritConfigSupport=true
148
148
  */
149
- interface GlobalInheritableConfig {
149
+ export interface GlobalInheritableConfig {
150
150
  bbUseDevelopmentBranch?: boolean;
151
151
  configFileNames?: string[];
152
152
  onboarding?: boolean;
@@ -160,7 +160,7 @@ interface GlobalInheritableConfig {
160
160
  requireConfig?: RequiredConfig;
161
161
  }
162
162
  /** @deprecated use `RepoGlobalConfig` instead **/
163
- interface GlobalOnlyConfigLegacy {
163
+ export interface GlobalOnlyConfigLegacy {
164
164
  autodiscover?: boolean;
165
165
  autodiscoverFilter?: string[] | string;
166
166
  autodiscoverNamespaces?: string[];
@@ -201,7 +201,7 @@ interface GlobalOnlyConfigLegacy {
201
201
  *
202
202
  * Should only contain config options where globalOnly=true.
203
203
  */
204
- interface RepoGlobalConfig extends GlobalInheritableConfig {
204
+ export interface RepoGlobalConfig extends GlobalInheritableConfig {
205
205
  allowedCommands?: string[];
206
206
  allowCustomCrateRegistries?: boolean;
207
207
  allowPlugins?: boolean;
@@ -254,7 +254,7 @@ interface RepoGlobalConfig extends GlobalInheritableConfig {
254
254
  /**
255
255
  * Internal variables which are referenced from `GlobalConfig`, but are *not* user-configurable options.
256
256
  */
257
- interface InternalGlobalConfigOptions {
257
+ export interface InternalGlobalConfigOptions {
258
258
  localDir?: string;
259
259
  }
260
260
  /**
@@ -262,7 +262,7 @@ interface InternalGlobalConfigOptions {
262
262
  *
263
263
  * @deprecated https://github.com/renovatebot/renovate/issues/39693
264
264
  */
265
- interface LegacyAdminConfig {
265
+ export interface LegacyAdminConfig {
266
266
  baseDir?: string;
267
267
  localDir?: string;
268
268
  logContext?: string;
@@ -279,8 +279,8 @@ interface LegacyAdminConfig {
279
279
  useCloudMetadataServices?: boolean;
280
280
  writeDiscoveredRepos?: string;
281
281
  }
282
- type ExecutionMode = 'branch' | 'update';
283
- interface PostUpgradeTasks {
282
+ export type ExecutionMode = 'branch' | 'update';
283
+ export interface PostUpgradeTasks {
284
284
  commands?: string[];
285
285
  workingDirTemplate?: string;
286
286
  dataFileTemplate?: string;
@@ -288,21 +288,21 @@ interface PostUpgradeTasks {
288
288
  executionMode: ExecutionMode;
289
289
  installTools?: Partial<Record<ToolName, Record<never, never>>>;
290
290
  }
291
- type UpdateConfig<T extends RenovateSharedConfig = RenovateSharedConfig> = Partial<Record<UpdateType, T | null>>;
292
- type RenovateRepositoryEntry = AllConfig & {
291
+ export type UpdateConfig<T extends RenovateSharedConfig = RenovateSharedConfig> = Partial<Record<UpdateType, T | null>>;
292
+ export type RenovateRepositoryEntry = AllConfig & {
293
293
  repository: string;
294
294
  };
295
- type RenovateRepository = string | RenovateRepositoryEntry;
296
- type UseBaseBranchConfigType = 'merge' | 'none';
297
- type ConstraintsFilter = 'strict' | 'none';
298
- type MinimumReleaseAgeBehaviour = 'timestamp-required' | 'timestamp-optional';
299
- declare const allowedStatusCheckStrings: readonly ['minimumReleaseAge', 'mergeConfidence', 'configValidation', 'artifactError'];
300
- type StatusCheckKey = (typeof allowedStatusCheckStrings)[number];
295
+ export type RenovateRepository = string | RenovateRepositoryEntry;
296
+ export type UseBaseBranchConfigType = 'merge' | 'none';
297
+ export type ConstraintsFilter = 'strict' | 'none';
298
+ export type MinimumReleaseAgeBehaviour = 'timestamp-required' | 'timestamp-optional';
299
+ export declare const allowedStatusCheckStrings: readonly ['minimumReleaseAge', 'mergeConfidence', 'configValidation', 'artifactError'];
300
+ export type StatusCheckKey = (typeof allowedStatusCheckStrings)[number];
301
301
  type UserEnv = Record<string, string>;
302
302
  /**
303
303
  * Computed properties, for internal use only
304
304
  */
305
- interface RenovateInternalConfig {
305
+ export interface RenovateInternalConfig {
306
306
  /** computed base branch from patterns - for internal use only */
307
307
  baseBranches?: string[];
308
308
  currentCompatibility?: string;
@@ -320,7 +320,7 @@ interface RenovateInternalConfig {
320
320
  *
321
321
  * This is a superset of any configuration that a Renovate user (not self-hosted administrator) can set.
322
322
  */
323
- interface RenovateConfig extends LegacyAdminConfig, RenovateSharedConfig, UpdateConfig<PackageRule>, AssigneesAndReviewersConfig, ConfigMigration, RenovateInternalConfig {
323
+ export interface RenovateConfig extends LegacyAdminConfig, RenovateSharedConfig, UpdateConfig<PackageRule>, AssigneesAndReviewersConfig, ConfigMigration, RenovateInternalConfig {
324
324
  s3Endpoint?: string;
325
325
  s3PathStyle?: boolean;
326
326
  reportFormatting?: boolean;
@@ -419,7 +419,7 @@ interface RenovateConfig extends LegacyAdminConfig, RenovateSharedConfig, Update
419
419
  }
420
420
  declare const CustomDatasourceFormats: readonly ['html', 'json', 'plain', 'toml', 'yaml'];
421
421
  type CustomDatasourceFormats = (typeof CustomDatasourceFormats)[number];
422
- interface CustomDatasourceConfig {
422
+ export interface CustomDatasourceConfig {
423
423
  defaultRegistryUrlTemplate?: string;
424
424
  format?: CustomDatasourceFormats;
425
425
  transformTemplates?: string[];
@@ -428,13 +428,13 @@ interface CustomDatasourceConfig {
428
428
  * The superset of all configuration that a self-hosted administrator can set, alongside all repository-level configuration.
429
429
  *
430
430
  */
431
- interface AllConfig extends RenovateConfig, GlobalOnlyConfigLegacy, RepoGlobalConfig {
431
+ export interface AllConfig extends RenovateConfig, GlobalOnlyConfigLegacy, RepoGlobalConfig {
432
432
  gitUrl?: GitUrlOption;
433
433
  password?: string;
434
434
  token?: string;
435
435
  username?: string;
436
436
  }
437
- interface AssigneesAndReviewersConfig {
437
+ export interface AssigneesAndReviewersConfig {
438
438
  assigneesFromCodeOwners?: boolean;
439
439
  expandCodeOwnersGroups?: boolean;
440
440
  assignees?: string[];
@@ -446,14 +446,14 @@ interface AssigneesAndReviewersConfig {
446
446
  additionalReviewers?: string[];
447
447
  filterUnavailableUsers?: boolean;
448
448
  }
449
- type UpdateType = 'major' | 'minor' | 'patch' | 'pin' | 'digest' | 'pinDigest' | 'lockFileMaintenance' | 'lockfileUpdate' | 'rollback' | 'bump' | 'replacement';
450
- declare const UpdateTypesOptions: readonly ['major', 'minor', 'patch', 'pin', 'digest', 'pinDigest', 'lockFileMaintenance', 'rollback', 'replacement'];
451
- type UpdateTypeOptions = (typeof UpdateTypesOptions)[number];
452
- type FetchChangeLogsOptions = 'off' | 'branch' | 'pr';
453
- type MatchStringsStrategy = 'any' | 'recursive' | 'combination';
454
- type MergeStrategy = 'auto' | 'fast-forward' | 'merge-commit' | 'rebase' | 'rebase-merge' | 'squash';
455
- type AllowedUnsafeExecution = 'bazelModDeps' | 'goGenerate' | 'gradleWrapper' | 'mise' | 'pixi';
456
- interface PackageRule extends RenovateSharedConfig, RenovateInternalConfig, UpdateConfig {
449
+ export type UpdateType = 'major' | 'minor' | 'patch' | 'pin' | 'digest' | 'pinDigest' | 'lockFileMaintenance' | 'lockfileUpdate' | 'rollback' | 'bump' | 'replacement';
450
+ export declare const UpdateTypesOptions: readonly ['major', 'minor', 'patch', 'pin', 'digest', 'pinDigest', 'lockFileMaintenance', 'rollback', 'replacement'];
451
+ export type UpdateTypeOptions = (typeof UpdateTypesOptions)[number];
452
+ export type FetchChangeLogsOptions = 'off' | 'branch' | 'pr';
453
+ export type MatchStringsStrategy = 'any' | 'recursive' | 'combination';
454
+ export type MergeStrategy = 'auto' | 'fast-forward' | 'merge-commit' | 'rebase' | 'rebase-merge' | 'squash';
455
+ export type AllowedUnsafeExecution = 'bazelModDeps' | 'goGenerate' | 'gradleWrapper' | 'mise' | 'pixi';
456
+ export interface PackageRule extends RenovateSharedConfig, RenovateInternalConfig, UpdateConfig {
457
457
  allowedVersions?: string;
458
458
  description?: string | string[];
459
459
  matchBaseBranches?: string[];
@@ -486,12 +486,12 @@ interface PackageRule extends RenovateSharedConfig, RenovateInternalConfig, Upda
486
486
  vulnerabilitySeverity?: string;
487
487
  vulnerabilityFixVersion?: string;
488
488
  }
489
- interface ValidationMessage {
489
+ export interface ValidationMessage {
490
490
  topic: ConfigValidationTopic | (string & {});
491
491
  message: string;
492
492
  }
493
- type AllowedParents = '.' | 'bumpVersions' | 'customDatasources' | 'customManagers' | 'hostRules' | 'logLevelRemap' | 'packageRules' | 'postUpgradeTasks' | 'vulnerabilityAlerts' | 'toolSettings' | ManagerName | UpdateTypeOptions;
494
- interface RenovateOptionBase {
493
+ export type AllowedParents = '.' | 'bumpVersions' | 'customDatasources' | 'customManagers' | 'hostRules' | 'logLevelRemap' | 'packageRules' | 'postUpgradeTasks' | 'vulnerabilityAlerts' | 'toolSettings' | ManagerName | UpdateTypeOptions;
494
+ export interface RenovateOptionBase {
495
495
  /**
496
496
  * If true, the option can only be configured by people with access to the Renovate instance.
497
497
  * Furthermore, the option should be documented in docs/usage/self-hosted-configuration.md.
@@ -556,47 +556,47 @@ interface RenovateOptionBase {
556
556
  */
557
557
  supportsTemplating?: boolean;
558
558
  }
559
- interface RenovateRequiredOption {
559
+ export interface RenovateRequiredOption {
560
560
  siblingProperties: {
561
561
  property: string;
562
562
  value: string;
563
563
  }[];
564
564
  }
565
- interface RenovateArrayOption<T extends string | number | Record<string, unknown> = Record<string, unknown>> extends RenovateOptionBase {
565
+ export interface RenovateArrayOption<T extends string | number | Record<string, unknown> = Record<string, unknown>> extends RenovateOptionBase {
566
566
  default?: T[] | null;
567
567
  mergeable?: boolean;
568
568
  type: 'array';
569
569
  subType?: 'string' | 'object' | 'number';
570
570
  }
571
- interface RenovateStringArrayOption extends RenovateArrayOption<string> {
571
+ export interface RenovateStringArrayOption extends RenovateArrayOption<string> {
572
572
  format?: 'regex';
573
573
  subType: 'string';
574
574
  }
575
- interface RenovateNumberArrayOption extends RenovateArrayOption<number> {
575
+ export interface RenovateNumberArrayOption extends RenovateArrayOption<number> {
576
576
  subType: 'number';
577
577
  }
578
- interface RenovateBooleanOption extends RenovateOptionBase {
578
+ export interface RenovateBooleanOption extends RenovateOptionBase {
579
579
  default?: boolean | null;
580
580
  type: 'boolean';
581
581
  }
582
- interface RenovateIntegerOption extends RenovateOptionBase {
582
+ export interface RenovateIntegerOption extends RenovateOptionBase {
583
583
  default?: number | null;
584
584
  type: 'integer';
585
585
  }
586
- interface RenovateStringOption extends RenovateOptionBase {
586
+ export interface RenovateStringOption extends RenovateOptionBase {
587
587
  default?: string | null;
588
588
  format?: 'regex';
589
589
  replaceLineReturns?: boolean;
590
590
  type: 'string';
591
591
  }
592
- interface RenovateObjectOption extends RenovateOptionBase {
592
+ export interface RenovateObjectOption extends RenovateOptionBase {
593
593
  default?: any;
594
594
  additionalProperties?: Record<string, unknown> | boolean;
595
595
  mergeable?: boolean;
596
596
  type: 'object';
597
597
  }
598
- type RenovateOptions = RenovateStringOption | RenovateNumberArrayOption | RenovateStringArrayOption | RenovateIntegerOption | RenovateBooleanOption | RenovateArrayOption | RenovateObjectOption;
599
- interface PackageRuleInputConfig extends RenovateConfig {
598
+ export type RenovateOptions = RenovateStringOption | RenovateNumberArrayOption | RenovateStringArrayOption | RenovateIntegerOption | RenovateBooleanOption | RenovateArrayOption | RenovateObjectOption;
599
+ export interface PackageRuleInputConfig extends RenovateConfig {
600
600
  versioning?: string;
601
601
  packageFile?: string;
602
602
  lockFiles?: string[];
@@ -626,10 +626,10 @@ interface PackageRuleInputConfig extends RenovateConfig {
626
626
  skipReason?: SkipReason;
627
627
  skipStage?: StageName;
628
628
  }
629
- interface ConfigMigration {
629
+ export interface ConfigMigration {
630
630
  configMigration?: boolean;
631
631
  }
632
- interface MigratedConfig {
632
+ export interface MigratedConfig {
633
633
  /**
634
634
  * Indicates whether there was a migration applied to the configuration.
635
635
  *
@@ -640,7 +640,7 @@ interface MigratedConfig {
640
640
  isMigrated: boolean;
641
641
  migratedConfig: RenovateConfig;
642
642
  }
643
- interface MigratedRenovateConfig extends RenovateConfig {
643
+ export interface MigratedRenovateConfig extends RenovateConfig {
644
644
  endpoints?: HostRule[];
645
645
  pathRules: PackageRule[];
646
646
  packages: PackageRule[];
@@ -648,15 +648,15 @@ interface MigratedRenovateConfig extends RenovateConfig {
648
648
  travis?: RenovateConfig;
649
649
  gradle?: RenovateConfig;
650
650
  }
651
- interface ManagerConfig extends RenovateConfig {
651
+ export interface ManagerConfig extends RenovateConfig {
652
652
  manager: string;
653
653
  categories?: Category[];
654
654
  }
655
- interface ValidationResult {
655
+ export interface ValidationResult {
656
656
  errors: ValidationMessage[];
657
657
  warnings: ValidationMessage[];
658
658
  }
659
- interface BumpVersionConfig {
659
+ export interface BumpVersionConfig {
660
660
  bumpType?: string;
661
661
  filePatterns: string[];
662
662
  matchStrings: string[];
@@ -666,7 +666,7 @@ interface BumpVersionConfig {
666
666
  * Global Config for specified `toolSettings` options.
667
667
  *
668
668
  */
669
- interface GlobalToolSettingsOptions {
669
+ export interface GlobalToolSettingsOptions {
670
670
  /** An upper limit on what the Java Virtual Machine's maximum memory can be set to. Repositories can specify <= this value */
671
671
  jvmMaxMemory?: number;
672
672
  /** An upper limit on what the Java Virtual Machine's starting memory can be set to. Repositories can specify <= this value */
@@ -677,7 +677,7 @@ interface GlobalToolSettingsOptions {
677
677
  /**
678
678
  * Repository config options for `toolSettings` options.
679
679
  */
680
- interface RepoToolSettingsOptions {
680
+ export interface RepoToolSettingsOptions {
681
681
  /** The maximum memory the Java Virtual Machine can use. If greater than the Global Self-Hosted configuration setting, it will be set to that limit **/
682
682
  jvmMaxMemory?: number;
683
683
  /** The starting memory the Java Virtual Machine can use. If greater than the Global Self-Hosted configuration setting, it will be set to that limit **/
@@ -686,5 +686,5 @@ interface RepoToolSettingsOptions {
686
686
  nodeMaxMemory?: number;
687
687
  }
688
688
  //#endregion
689
- export { AllConfig, AllowedParents, AllowedUnsafeExecution, AssigneesAndReviewersConfig, BinarySource, BumpVersionConfig, ConfigMigration, ConstraintsFilter, CustomDatasourceConfig, CustomDatasourceFormats, DryRunConfig, ExecutionMode, FetchChangeLogsOptions, GlobalInheritableConfig, GlobalOnlyConfigLegacy, GlobalToolSettingsOptions, GroupConfig, InternalGlobalConfigOptions, InternalHostAccess, LegacyAdminConfig, ManagerConfig, MatchStringsStrategy, MergeStrategy, MigratedConfig, MigratedRenovateConfig, MinimumReleaseAgeBehaviour, PackageRule, PackageRuleInputConfig, PlatformCommitOptions, PostUpgradeTasks, RecreateWhen, RenovateArrayOption, RenovateBooleanOption, RenovateConfig, RenovateConfigStage, RenovateIntegerOption, RenovateInternalConfig, RenovateNumberArrayOption, RenovateObjectOption, RenovateOptionBase, RenovateOptions, RenovateRepository, RenovateRepositoryEntry, RenovateRequiredOption, RenovateSharedConfig, RenovateSplit, RenovateStringArrayOption, RenovateStringOption, RepoGlobalConfig, RepoToolSettingsOptions, RepositoryCacheConfig, RepositoryCacheType, RequiredConfig, StatusCheckKey, StatusCheckWhen, UpdateConfig, UpdateType, UpdateTypeOptions, UpdateTypesOptions, UseBaseBranchConfigType, ValidationMessage, ValidationResult, allowedStatusCheckStrings };
689
+ export { CustomDatasourceFormats };
690
690
  //# sourceMappingURL=types.d.ts.map
@@ -1,5 +1,4 @@
1
1
  //#region lib/config/utils.d.ts
2
- declare function mergeChildConfig<T extends Record<string, any>, TChild extends Record<string, any> | undefined>(parent: T, child: TChild): T & TChild;
2
+ export declare function mergeChildConfig<T extends Record<string, any>, TChild extends Record<string, any> | undefined>(parent: T, child: TChild): T & TChild;
3
3
  //#endregion
4
- export { mergeChildConfig };
5
4
  //# sourceMappingURL=utils.d.ts.map
@@ -5,13 +5,12 @@ import "../types.js";
5
5
  *
6
6
  * This is particularly important for `Security`, which callers use to decide that a violation must always fail validation.
7
7
  */
8
- declare const ConfigValidationTopic: {
8
+ export declare const ConfigValidationTopic: {
9
9
  readonly Error: 'Configuration Error';
10
10
  readonly Warning: 'Configuration Warning';
11
11
  readonly Deprecation: 'Deprecation Warning';
12
12
  readonly Security: 'Config security error';
13
13
  };
14
- type ConfigValidationTopic = (typeof ConfigValidationTopic)[keyof typeof ConfigValidationTopic];
14
+ export type ConfigValidationTopic = (typeof ConfigValidationTopic)[keyof typeof ConfigValidationTopic];
15
15
  //#endregion
16
- export { ConfigValidationTopic };
17
16
  //# sourceMappingURL=types.d.ts.map
@@ -1,3 +1,4 @@
1
1
  import { require_punycode } from "./punycode.js";
2
2
  import "source-map-support/register.js";
3
+ //#endregion
3
4
  //# sourceMappingURL=config-validator.d.ts.map
@@ -1,6 +1,5 @@
1
1
  //#region lib/constants/category.d.ts
2
- declare const Categories: readonly ['ansible', 'batect', 'bazel', 'c', 'cd', 'ci', 'custom', 'dart', 'docker', 'dotnet', 'elixir', 'golang', 'haskell', 'helm', 'iac', 'java', 'js', 'kubernetes', 'node', 'perl', 'php', 'python', 'ruby', 'rust', 'swift', 'terraform'];
3
- type Category = (typeof Categories)[number];
2
+ export declare const Categories: readonly ['ansible', 'batect', 'bazel', 'c', 'cd', 'ci', 'custom', 'dart', 'docker', 'dotnet', 'elixir', 'golang', 'haskell', 'helm', 'iac', 'java', 'js', 'kubernetes', 'node', 'perl', 'php', 'python', 'ruby', 'rust', 'swift', 'terraform'];
3
+ export type Category = (typeof Categories)[number];
4
4
  //#endregion
5
- export { Categories, Category };
6
5
  //# sourceMappingURL=category.d.ts.map
@@ -1,63 +1,62 @@
1
1
  //#region lib/constants/error-messages.d.ts
2
- declare const SYSTEM_INSUFFICIENT_DISK_SPACE = "disk-space";
3
- declare const SYSTEM_INSUFFICIENT_MEMORY = "out-of-memory";
4
- declare const SystemErrors: readonly ["disk-space", "out-of-memory"];
5
- declare const PLATFORM_AUTHENTICATION_ERROR = "authentication-error";
6
- declare const PLATFORM_BAD_CREDENTIALS = "bad-credentials";
7
- declare const PLATFORM_GPG_FAILED = "gpg-failed";
8
- declare const PLATFORM_INTEGRATION_UNAUTHORIZED = "integration-unauthorized";
9
- declare const PLATFORM_NOT_FOUND = "platform-not-found";
10
- declare const PLATFORM_RATE_LIMIT_EXCEEDED = "rate-limit-exceeded";
11
- declare const PLATFORM_UNKNOWN_ERROR = "platform-unknown-error";
12
- declare const PlatformErrors: readonly ["authentication-error", "bad-credentials", "gpg-failed", "integration-unauthorized", "platform-not-found", "rate-limit-exceeded", "platform-unknown-error"];
13
- declare const CONFIG_VALIDATION = "config-validation";
14
- declare const CONFIG_PRESETS_INVALID = "config-presets-invalid";
15
- declare const CONFIG_SECRETS_EXPOSED = "config-secrets-exposed";
16
- declare const CONFIG_SECRETS_INVALID = "config-secrets-invalid";
17
- declare const CONFIG_VARIABLES_INVALID = "config-variables-invalid";
18
- declare const CONFIG_GIT_URL_UNAVAILABLE = "config-git-url-unavailable";
19
- declare const CONFIG_INHERIT_NOT_FOUND = "config-inherit-not-found";
20
- declare const CONFIG_INHERIT_PARSE_ERROR = "config-inherit-parse-error";
21
- declare const ConfigErrors: readonly ["config-validation", "config-presets-invalid", "config-secrets-exposed", "config-secrets-invalid", "config-variables-invalid", "config-git-url-unavailable", "config-inherit-not-found", "config-inherit-parse-error"];
22
- declare const REPOSITORY_ACCESS_FORBIDDEN = "forbidden";
23
- declare const REPOSITORY_ARCHIVED = "archived";
24
- declare const REPOSITORY_BLOCKED = "blocked";
25
- declare const REPOSITORY_CANNOT_FORK = "cannot-fork";
26
- declare const REPOSITORY_DISABLED = "disabled";
27
- declare const REPOSITORY_CLOSED_ONBOARDING = "disabled-closed-onboarding";
28
- declare const REPOSITORY_DISABLED_BY_CONFIG = "disabled-by-config";
29
- declare const REPOSITORY_NO_CONFIG = "disabled-no-config";
30
- declare const REPOSITORY_EMPTY = "empty";
31
- declare const REPOSITORY_FORK_MISSING = "fork-missing";
32
- declare const REPOSITORY_FORK_MODE_FORKED = "fork-mode-forked";
33
- declare const REPOSITORY_FORKED = "fork";
34
- declare const REPOSITORY_MIRRORED = "mirror";
35
- declare const REPOSITORY_NOT_FOUND = "not-found";
36
- declare const REPOSITORY_NO_PACKAGE_FILES = "no-package-files";
37
- declare const REPOSITORY_PENDING_DELETION = "pending-deletion";
38
- declare const REPOSITORY_RENAMED = "renamed";
39
- declare const REPOSITORY_UNINITIATED = "uninitiated";
2
+ export declare const SYSTEM_INSUFFICIENT_DISK_SPACE = "disk-space";
3
+ export declare const SYSTEM_INSUFFICIENT_MEMORY = "out-of-memory";
4
+ export declare const SystemErrors: readonly ["disk-space", "out-of-memory"];
5
+ export declare const PLATFORM_AUTHENTICATION_ERROR = "authentication-error";
6
+ export declare const PLATFORM_BAD_CREDENTIALS = "bad-credentials";
7
+ export declare const PLATFORM_GPG_FAILED = "gpg-failed";
8
+ export declare const PLATFORM_INTEGRATION_UNAUTHORIZED = "integration-unauthorized";
9
+ export declare const PLATFORM_NOT_FOUND = "platform-not-found";
10
+ export declare const PLATFORM_RATE_LIMIT_EXCEEDED = "rate-limit-exceeded";
11
+ export declare const PLATFORM_UNKNOWN_ERROR = "platform-unknown-error";
12
+ export declare const PlatformErrors: readonly ["authentication-error", "bad-credentials", "gpg-failed", "integration-unauthorized", "platform-not-found", "rate-limit-exceeded", "platform-unknown-error"];
13
+ export declare const CONFIG_VALIDATION = "config-validation";
14
+ export declare const CONFIG_PRESETS_INVALID = "config-presets-invalid";
15
+ export declare const CONFIG_SECRETS_EXPOSED = "config-secrets-exposed";
16
+ export declare const CONFIG_SECRETS_INVALID = "config-secrets-invalid";
17
+ export declare const CONFIG_VARIABLES_INVALID = "config-variables-invalid";
18
+ export declare const CONFIG_GIT_URL_UNAVAILABLE = "config-git-url-unavailable";
19
+ export declare const CONFIG_INHERIT_NOT_FOUND = "config-inherit-not-found";
20
+ export declare const CONFIG_INHERIT_PARSE_ERROR = "config-inherit-parse-error";
21
+ export declare const ConfigErrors: readonly ["config-validation", "config-presets-invalid", "config-secrets-exposed", "config-secrets-invalid", "config-variables-invalid", "config-git-url-unavailable", "config-inherit-not-found", "config-inherit-parse-error"];
22
+ export declare const REPOSITORY_ACCESS_FORBIDDEN = "forbidden";
23
+ export declare const REPOSITORY_ARCHIVED = "archived";
24
+ export declare const REPOSITORY_BLOCKED = "blocked";
25
+ export declare const REPOSITORY_CANNOT_FORK = "cannot-fork";
26
+ export declare const REPOSITORY_DISABLED = "disabled";
27
+ export declare const REPOSITORY_CLOSED_ONBOARDING = "disabled-closed-onboarding";
28
+ export declare const REPOSITORY_DISABLED_BY_CONFIG = "disabled-by-config";
29
+ export declare const REPOSITORY_NO_CONFIG = "disabled-no-config";
30
+ export declare const REPOSITORY_EMPTY = "empty";
31
+ export declare const REPOSITORY_FORK_MISSING = "fork-missing";
32
+ export declare const REPOSITORY_FORK_MODE_FORKED = "fork-mode-forked";
33
+ export declare const REPOSITORY_FORKED = "fork";
34
+ export declare const REPOSITORY_MIRRORED = "mirror";
35
+ export declare const REPOSITORY_NOT_FOUND = "not-found";
36
+ export declare const REPOSITORY_NO_PACKAGE_FILES = "no-package-files";
37
+ export declare const REPOSITORY_PENDING_DELETION = "pending-deletion";
38
+ export declare const REPOSITORY_RENAMED = "renamed";
39
+ export declare const REPOSITORY_UNINITIATED = "uninitiated";
40
40
  /** cause repo to be considered as disabled */
41
- declare const RepositoryErrors: readonly ["forbidden", "archived", "blocked", "cannot-fork", "disabled", "disabled-closed-onboarding", "disabled-by-config", "disabled-no-config", "empty", "fork-missing", "fork-mode-forked", "fork", "mirror", "not-found", "no-package-files", "pending-deletion", "renamed", "uninitiated"];
42
- declare const REPOSITORY_CHANGED = "repository-changed";
43
- declare const TEMPORARY_ERROR = "temporary-error";
44
- declare const NO_VULNERABILITY_ALERTS = "no-vulnerability-alerts";
45
- declare const TemporaryErrors: readonly ["repository-changed", "temporary-error", "no-vulnerability-alerts"];
46
- declare const MANAGER_LOCKFILE_ERROR = "lockfile-error";
47
- declare const FILE_ACCESS_VIOLATION_ERROR = "file-access-violation-error";
48
- declare const EXTERNAL_HOST_ERROR = "external-host-error";
49
- declare const IGNORABLE_HOST_ERROR = "ignorable-host-error";
50
- declare const HOST_BLOCKED = "host-blocked";
51
- declare const HOST_DISABLED = "host-disabled";
52
- declare const WORKER_FILE_UPDATE_FAILED = "update-failure";
53
- declare const PR_ALREADY_IN_MERGE_QUEUE = "pr-already-in-merge-queue";
54
- declare const BUNDLER_INVALID_CREDENTIALS = "bundler-credentials";
55
- declare const UNKNOWN_ERROR = "unknown-error";
56
- declare const INVALID_PATH = "invalid-path";
57
- declare const PAGE_NOT_FOUND_ERROR = "page-not-found";
58
- declare const MISSING_API_CREDENTIALS = "missing-api-credentials";
41
+ export declare const RepositoryErrors: readonly ["forbidden", "archived", "blocked", "cannot-fork", "disabled", "disabled-closed-onboarding", "disabled-by-config", "disabled-no-config", "empty", "fork-missing", "fork-mode-forked", "fork", "mirror", "not-found", "no-package-files", "pending-deletion", "renamed", "uninitiated"];
42
+ export declare const REPOSITORY_CHANGED = "repository-changed";
43
+ export declare const TEMPORARY_ERROR = "temporary-error";
44
+ export declare const NO_VULNERABILITY_ALERTS = "no-vulnerability-alerts";
45
+ export declare const TemporaryErrors: readonly ["repository-changed", "temporary-error", "no-vulnerability-alerts"];
46
+ export declare const MANAGER_LOCKFILE_ERROR = "lockfile-error";
47
+ export declare const FILE_ACCESS_VIOLATION_ERROR = "file-access-violation-error";
48
+ export declare const EXTERNAL_HOST_ERROR = "external-host-error";
49
+ export declare const IGNORABLE_HOST_ERROR = "ignorable-host-error";
50
+ export declare const HOST_BLOCKED = "host-blocked";
51
+ export declare const HOST_DISABLED = "host-disabled";
52
+ export declare const WORKER_FILE_UPDATE_FAILED = "update-failure";
53
+ export declare const PR_ALREADY_IN_MERGE_QUEUE = "pr-already-in-merge-queue";
54
+ export declare const BUNDLER_INVALID_CREDENTIALS = "bundler-credentials";
55
+ export declare const UNKNOWN_ERROR = "unknown-error";
56
+ export declare const INVALID_PATH = "invalid-path";
57
+ export declare const PAGE_NOT_FOUND_ERROR = "page-not-found";
58
+ export declare const MISSING_API_CREDENTIALS = "missing-api-credentials";
59
59
  /** Logger not initialized */
60
- declare const LOGGER_NOT_INITIALIZED = "logger-not-initialized";
60
+ export declare const LOGGER_NOT_INITIALIZED = "logger-not-initialized";
61
61
  //#endregion
62
- export { BUNDLER_INVALID_CREDENTIALS, CONFIG_GIT_URL_UNAVAILABLE, CONFIG_INHERIT_NOT_FOUND, CONFIG_INHERIT_PARSE_ERROR, CONFIG_PRESETS_INVALID, CONFIG_SECRETS_EXPOSED, CONFIG_SECRETS_INVALID, CONFIG_VALIDATION, CONFIG_VARIABLES_INVALID, ConfigErrors, EXTERNAL_HOST_ERROR, FILE_ACCESS_VIOLATION_ERROR, HOST_BLOCKED, HOST_DISABLED, IGNORABLE_HOST_ERROR, INVALID_PATH, LOGGER_NOT_INITIALIZED, MANAGER_LOCKFILE_ERROR, MISSING_API_CREDENTIALS, NO_VULNERABILITY_ALERTS, PAGE_NOT_FOUND_ERROR, PLATFORM_AUTHENTICATION_ERROR, PLATFORM_BAD_CREDENTIALS, PLATFORM_GPG_FAILED, PLATFORM_INTEGRATION_UNAUTHORIZED, PLATFORM_NOT_FOUND, PLATFORM_RATE_LIMIT_EXCEEDED, PLATFORM_UNKNOWN_ERROR, PR_ALREADY_IN_MERGE_QUEUE, PlatformErrors, REPOSITORY_ACCESS_FORBIDDEN, REPOSITORY_ARCHIVED, REPOSITORY_BLOCKED, REPOSITORY_CANNOT_FORK, REPOSITORY_CHANGED, REPOSITORY_CLOSED_ONBOARDING, REPOSITORY_DISABLED, REPOSITORY_DISABLED_BY_CONFIG, REPOSITORY_EMPTY, REPOSITORY_FORKED, REPOSITORY_FORK_MISSING, REPOSITORY_FORK_MODE_FORKED, REPOSITORY_MIRRORED, REPOSITORY_NOT_FOUND, REPOSITORY_NO_CONFIG, REPOSITORY_NO_PACKAGE_FILES, REPOSITORY_PENDING_DELETION, REPOSITORY_RENAMED, REPOSITORY_UNINITIATED, RepositoryErrors, SYSTEM_INSUFFICIENT_DISK_SPACE, SYSTEM_INSUFFICIENT_MEMORY, SystemErrors, TEMPORARY_ERROR, TemporaryErrors, UNKNOWN_ERROR, WORKER_FILE_UPDATE_FAILED };
63
62
  //# sourceMappingURL=error-messages.d.ts.map
@@ -1,6 +1,5 @@
1
1
  //#region lib/constants/platforms.d.ts
2
- declare const PLATFORM_HOST_TYPES: readonly ['azure', 'bitbucket', 'bitbucket-server', 'codecommit', 'forgejo', 'gerrit', 'gitea', 'github', 'gitlab', 'local', 'scm-manager'];
3
- type PlatformId = (typeof PLATFORM_HOST_TYPES)[number];
2
+ export declare const PLATFORM_HOST_TYPES: readonly ['azure', 'bitbucket', 'bitbucket-server', 'codecommit', 'forgejo', 'gerrit', 'gitea', 'github', 'gitlab', 'local', 'scm-manager'];
3
+ export type PlatformId = (typeof PLATFORM_HOST_TYPES)[number];
4
4
  //#endregion
5
- export { PLATFORM_HOST_TYPES, PlatformId };
6
5
  //# sourceMappingURL=platforms.d.ts.map