renovate 44.222.4 → 44.238.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/decrypt/bcpgp.js +1 -1
- package/dist/config/decrypt/openpgp.js +1 -1
- package/dist/config/decrypt.js +2 -2
- package/dist/config/defaults.js +1 -1
- package/dist/config/index.js +2 -2
- package/dist/config/migrate-validate.js +1 -1
- package/dist/config/migration.js +4 -4
- package/dist/config/migrations/custom/dependency-dashboard-migration.js +38 -0
- package/dist/config/migrations/custom/dependency-dashboard-migration.js.map +1 -0
- package/dist/config/migrations/custom/extends-migration.js +1 -1
- package/dist/config/migrations/custom/host-rules-migration.js +1 -1
- package/dist/config/migrations/migrations-service.js +3 -1
- package/dist/config/migrations/migrations-service.js.map +1 -1
- package/dist/config/options/env-options.js +1 -1
- package/dist/config/options/index.js +124 -62
- package/dist/config/options/index.js.map +1 -1
- package/dist/config/options/scopes.js +4 -4
- package/dist/config/options/scopes.js.map +1 -1
- package/dist/config/parse.js +1 -1
- package/dist/config/presets/gitea/common.js +3 -3
- package/dist/config/presets/github/index.js +3 -3
- package/dist/config/presets/gitlab/index.js +2 -2
- package/dist/config/presets/http/index.js +3 -3
- package/dist/config/presets/index.js +12 -10
- package/dist/config/presets/index.js.map +1 -1
- package/dist/config/presets/internal/default.preset.js +8 -4
- package/dist/config/presets/internal/default.preset.js.map +1 -1
- package/dist/config/presets/internal/index.js +20 -20
- package/dist/config/presets/internal/index.js.map +1 -1
- package/dist/config/presets/internal/monorepos.preset.js +1 -1
- package/dist/config/presets/internal/security.preset.js +17 -12
- package/dist/config/presets/internal/security.preset.js.map +1 -1
- package/dist/config/presets/internal/workarounds.preset.js +12 -1
- package/dist/config/presets/internal/workarounds.preset.js.map +1 -1
- package/dist/config/presets/npm/index.js +4 -4
- package/dist/config/presets/relative.js +2 -2
- package/dist/config/presets/util.js +2 -2
- package/dist/config/secrets.js +1 -1
- package/dist/config/types.d.ts +24 -18
- package/dist/config/types.js +1 -0
- package/dist/config/types.js.map +1 -1
- package/dist/config/utils.js +1 -1
- package/dist/config/validation-helpers/utils.js +1 -1
- package/dist/config/validation.js +22 -20
- package/dist/config/validation.js.map +1 -1
- package/dist/config-validator.js +6 -6
- package/dist/constants/platforms.js.map +1 -1
- package/dist/data/replacements.js +13 -0
- package/dist/data-files.generated.js +1 -1
- package/dist/data-files.generated.js.map +1 -1
- package/dist/datasource-list.generated.d.ts +1 -1
- package/dist/datasource-list.generated.js +1 -0
- package/dist/datasource-list.generated.js.map +1 -1
- package/dist/global-config-option-defaults.generated.js +1 -1
- package/dist/global-config-option-defaults.generated.js.map +1 -1
- package/dist/instrumentation/reporting.js +2 -2
- package/dist/instrumentation/types.d.ts +3 -3
- package/dist/instrumentation/utils.js.map +1 -1
- package/dist/logger/bunyan.js +3 -3
- package/dist/logger/index.js +1 -1
- package/dist/logger/utils.js +1 -1
- package/dist/logger/with-sanitizer.js +1 -1
- package/dist/manager-default-configs.generated.js +7 -0
- package/dist/manager-default-configs.generated.js.map +1 -1
- package/dist/manager-list.generated.d.ts +1 -1
- package/dist/manager-list.generated.js +1 -0
- package/dist/manager-list.generated.js.map +1 -1
- package/dist/modules/datasource/api.js +6 -4
- package/dist/modules/datasource/api.js.map +1 -1
- package/dist/modules/datasource/apk/index.js +5 -5
- package/dist/modules/datasource/apk/url.js +1 -1
- package/dist/modules/datasource/artifactory/index.js +3 -3
- package/dist/modules/datasource/aws-eks-addon/index.js +1 -1
- package/dist/modules/datasource/aws-machine-image/index.js +1 -1
- package/dist/modules/datasource/aws-rds/index.js +1 -1
- package/dist/modules/datasource/azure-pipelines-tasks/index.js +3 -2
- package/dist/modules/datasource/azure-pipelines-tasks/index.js.map +1 -1
- package/dist/modules/datasource/bazel/index.js +5 -5
- package/dist/modules/datasource/bitbucket-server-tags/index.js +2 -2
- package/dist/modules/datasource/bitbucket-tags/index.js +3 -3
- package/dist/modules/datasource/bitrise/index.js +4 -4
- package/dist/modules/datasource/cdnjs/index.js +3 -3
- package/dist/modules/datasource/common.js +2 -2
- package/dist/modules/datasource/conan/index.js +2 -2
- package/dist/modules/datasource/conda/index.js +4 -4
- package/dist/modules/datasource/conda/prefix-dev.js +1 -1
- package/dist/modules/datasource/cpan/index.js +1 -1
- package/dist/modules/datasource/crate/index.js +12 -12
- package/dist/modules/datasource/custom/formats/plain.js +1 -1
- package/dist/modules/datasource/custom/formats/toml.js +1 -1
- package/dist/modules/datasource/custom/formats/yaml.js +1 -1
- package/dist/modules/datasource/custom/index.js +1 -1
- package/dist/modules/datasource/custom/utils.js +1 -1
- package/dist/modules/datasource/dart/index.js +1 -1
- package/dist/modules/datasource/datasource.js +4 -4
- package/dist/modules/datasource/datasource.js.map +1 -1
- package/dist/modules/datasource/deb/checksum.js +2 -2
- package/dist/modules/datasource/deb/index.js +1 -1
- package/dist/modules/datasource/deb/packages.js +3 -3
- package/dist/modules/datasource/deb/url.js +1 -1
- package/dist/modules/datasource/deno/index.js +4 -4
- package/dist/modules/datasource/deno/schema.js +1 -1
- package/dist/modules/datasource/devbox/index.js +4 -4
- package/dist/modules/datasource/docker/common.js +11 -11
- package/dist/modules/datasource/docker/ecr.js +2 -2
- package/dist/modules/datasource/docker/index.js +13 -13
- package/dist/modules/datasource/docker/schema.js +3 -1
- package/dist/modules/datasource/docker/schema.js.map +1 -1
- package/dist/modules/datasource/dotnet-version/index.js +1 -1
- package/dist/modules/datasource/elm-package/index.js +1 -1
- package/dist/modules/datasource/flutter-version/index.js +1 -1
- package/dist/modules/datasource/galaxy/index.js +1 -1
- package/dist/modules/datasource/galaxy-collection/index.js +2 -2
- package/dist/modules/datasource/git-refs/base.js +3 -3
- package/dist/modules/datasource/gitea-releases/index.js +1 -1
- package/dist/modules/datasource/gitea-tags/base.js +2 -2
- package/dist/modules/datasource/gitea-tags/index.js +1 -1
- package/dist/modules/datasource/github-digest/index.js +3 -3
- package/dist/modules/datasource/github-release-attachments/index.js +3 -3
- package/dist/modules/datasource/github-releases/index.js +3 -3
- package/dist/modules/datasource/github-runners/index.js +1 -1
- package/dist/modules/datasource/github-tags/index.js +4 -4
- package/dist/modules/datasource/gitlab-packages/index.js +2 -2
- package/dist/modules/datasource/gitlab-releases/index.js +3 -3
- package/dist/modules/datasource/gitlab-tags/index.js +3 -3
- package/dist/modules/datasource/glasskube-packages/index.js +1 -1
- package/dist/modules/datasource/go/base.js +4 -4
- package/dist/modules/datasource/go/common.js +4 -4
- package/dist/modules/datasource/go/env.js +4 -4
- package/dist/modules/datasource/go/env.js.map +1 -1
- package/dist/modules/datasource/go/goproxy-parser.js +1 -1
- package/dist/modules/datasource/go/index.js +7 -7
- package/dist/modules/datasource/go/releases-direct.js +3 -3
- package/dist/modules/datasource/go/releases-goproxy.js +12 -12
- package/dist/modules/datasource/go/timestamp-cache.js +2 -2
- package/dist/modules/datasource/golang-version/index.js +2 -2
- package/dist/modules/datasource/gradle-version/index.js +2 -2
- package/dist/modules/datasource/helm/index.js +6 -6
- package/dist/modules/datasource/helm/schema.js +2 -2
- package/dist/modules/datasource/hermit/index.js +6 -6
- package/dist/modules/datasource/hex/index.js +2 -2
- package/dist/modules/datasource/hex/v2/package.js +0 -43
- package/dist/modules/datasource/hex/v2/package.js.map +1 -1
- package/dist/modules/datasource/hex/v2/signed.js +0 -9
- package/dist/modules/datasource/hex/v2/signed.js.map +1 -1
- package/dist/modules/datasource/hexpm-bob/index.js +5 -5
- package/dist/modules/datasource/index.d.ts +1 -1
- package/dist/modules/datasource/index.js +19 -19
- package/dist/modules/datasource/java-version/adoptium.js +2 -2
- package/dist/modules/datasource/java-version/common.js +11 -2
- package/dist/modules/datasource/java-version/common.js.map +1 -1
- package/dist/modules/datasource/java-version/graalvm.js +3 -3
- package/dist/modules/datasource/java-version/index.js +1 -1
- package/dist/modules/datasource/jenkins-plugins/index.js +2 -2
- package/dist/modules/datasource/jsr/index.js +1 -1
- package/dist/modules/datasource/julia-general-metadata/index.js +1 -1
- package/dist/modules/datasource/maven/index.js +4 -3
- package/dist/modules/datasource/maven/index.js.map +1 -1
- package/dist/modules/datasource/maven/util.js +8 -8
- package/dist/modules/datasource/metadata.js +4 -4
- package/dist/modules/datasource/nextcloud/index.js +2 -2
- package/dist/modules/datasource/node-version/index.js +1 -1
- package/dist/modules/datasource/npm/get.js +4 -4
- package/dist/modules/datasource/npm/npmrc.js +4 -4
- package/dist/modules/datasource/nuget/common.js +1 -1
- package/dist/modules/datasource/nuget/v2.js +1 -1
- package/dist/modules/datasource/nuget/v3.js +10 -10
- package/dist/modules/datasource/orb/index.js +1 -1
- package/dist/modules/datasource/packagist/index.js +5 -5
- package/dist/modules/datasource/packagist/schema.js +1 -1
- package/dist/modules/datasource/pod/index.js +4 -4
- package/dist/modules/datasource/pypi/host-rules.js +1 -1
- package/dist/modules/datasource/pypi/index.js +9 -9
- package/dist/modules/datasource/pypi/index.js.map +1 -1
- package/dist/modules/datasource/python-version/index.js +1 -1
- package/dist/modules/datasource/repology/index.js +3 -3
- package/dist/modules/datasource/rpm/providers/common.js +3 -3
- package/dist/modules/datasource/rpm/repomd.js +1 -1
- package/dist/modules/datasource/ruby-version/index.js +3 -3
- package/dist/modules/datasource/rubygems/common.js +1 -1
- package/dist/modules/datasource/rubygems/index.js +4 -4
- package/dist/modules/datasource/rubygems/metadata-cache.js +2 -2
- package/dist/modules/datasource/rubygems/schema.js +1 -1
- package/dist/modules/datasource/rubygems/versions-endpoint-cache.js +6 -6
- package/dist/modules/datasource/rust-version/index.js +1 -1
- package/dist/modules/datasource/sbt-package/index.js +9 -7
- package/dist/modules/datasource/sbt-package/index.js.map +1 -1
- package/dist/modules/datasource/sbt-package/util.js +1 -1
- package/dist/modules/datasource/sbt-plugin/index.js +3 -3
- package/dist/modules/datasource/swift-package-registry/index.js +44 -0
- package/dist/modules/datasource/swift-package-registry/index.js.map +1 -0
- package/dist/modules/datasource/swift-package-registry/schema.js +14 -0
- package/dist/modules/datasource/swift-package-registry/schema.js.map +1 -0
- package/dist/modules/datasource/terraform-module/base.js +2 -2
- package/dist/modules/datasource/terraform-module/index.js +1 -1
- package/dist/modules/datasource/terraform-module/schema.js +1 -1
- package/dist/modules/datasource/terraform-provider/index.js +4 -4
- package/dist/modules/datasource/terraform-provider/schema.js +1 -1
- package/dist/modules/datasource/types.d.ts +3 -3
- package/dist/modules/datasource/typst/index.js +2 -2
- package/dist/modules/datasource/unity3d/index.js +1 -1
- package/dist/modules/datasource/unity3d-packages/index.js +1 -1
- package/dist/modules/datasource/util.js +1 -1
- package/dist/modules/manager/ansible/extract.js +1 -1
- package/dist/modules/manager/ansible-galaxy/extract.js +1 -1
- package/dist/modules/manager/api.js +3 -1
- package/dist/modules/manager/api.js.map +1 -1
- package/dist/modules/manager/apm/artifacts.js +2 -2
- package/dist/modules/manager/apm/extract.js +6 -6
- package/dist/modules/manager/apm/extract.js.map +1 -1
- package/dist/modules/manager/argocd/extract.js +3 -3
- package/dist/modules/manager/asdf/extract.js +1 -1
- package/dist/modules/manager/asdf/upgradeable-tooling.js +2 -2
- package/dist/modules/manager/azure-pipelines/extract.js +2 -2
- package/dist/modules/manager/batect/schema.js +1 -1
- package/dist/modules/manager/batect-wrapper/extract.js +2 -2
- package/dist/modules/manager/batect-wrapper/index.js +1 -1
- package/dist/modules/manager/bazel/artifacts.js +3 -3
- package/dist/modules/manager/bazel/extract.js +2 -2
- package/dist/modules/manager/bazel/parser.js +1 -1
- package/dist/modules/manager/bazel/rules/docker.js +1 -1
- package/dist/modules/manager/bazel/rules/git.js +1 -1
- package/dist/modules/manager/bazel/rules/maven.js +1 -1
- package/dist/modules/manager/bazel/rules/oci.js +1 -1
- package/dist/modules/manager/bazel-module/bazelrc.js +2 -2
- package/dist/modules/manager/bazel-module/extract.js +3 -3
- package/dist/modules/manager/bazel-module/index.js +1 -1
- package/dist/modules/manager/bazel-module/lockfile.js +2 -2
- package/dist/modules/manager/bazel-module/parser/extension-tags.js +1 -1
- package/dist/modules/manager/bazel-module/parser/maven.js +1 -1
- package/dist/modules/manager/bazel-module/rules.js +2 -2
- package/dist/modules/manager/bazelisk/artifacts.js +1 -1
- package/dist/modules/manager/bazelisk/index.js +1 -1
- package/dist/modules/manager/bitbucket-pipelines/extract.js +1 -1
- package/dist/modules/manager/bitrise/schema.js +1 -1
- package/dist/modules/manager/buildkite/extract.js +2 -2
- package/dist/modules/manager/buildpacks/extract.js +2 -2
- package/dist/modules/manager/bun/artifacts.js +4 -4
- package/dist/modules/manager/bun/extract.js +1 -1
- package/dist/modules/manager/bun/utils.js +1 -1
- package/dist/modules/manager/bun-version/index.js +1 -1
- package/dist/modules/manager/bundler/artifacts.js +5 -128
- package/dist/modules/manager/bundler/artifacts.js.map +1 -1
- package/dist/modules/manager/bundler/common.js +8 -12
- package/dist/modules/manager/bundler/common.js.map +1 -1
- package/dist/modules/manager/bundler/extract.js +4 -4
- package/dist/modules/manager/bundler/extract.js.map +1 -1
- package/dist/modules/manager/bundler/index.js +1 -1
- package/dist/modules/manager/bundler/lock.js +131 -0
- package/dist/modules/manager/bundler/lock.js.map +1 -0
- package/dist/modules/manager/bundler/locked-version.js +1 -1
- package/dist/modules/manager/cargo/artifacts.js +44 -14
- package/dist/modules/manager/cargo/artifacts.js.map +1 -1
- package/dist/modules/manager/cargo/extract.js +48 -31
- package/dist/modules/manager/cargo/extract.js.map +1 -1
- package/dist/modules/manager/cargo/index.js +10 -1
- package/dist/modules/manager/cargo/index.js.map +1 -1
- package/dist/modules/manager/cargo/locked-version.js +11 -5
- package/dist/modules/manager/cargo/locked-version.js.map +1 -1
- package/dist/modules/manager/cargo/minimum-release-age.js +216 -0
- package/dist/modules/manager/cargo/minimum-release-age.js.map +1 -0
- package/dist/modules/manager/cargo/schema.js +6 -1
- package/dist/modules/manager/cargo/schema.js.map +1 -1
- package/dist/modules/manager/cargo/update.js +1 -1
- package/dist/modules/manager/cargo/utils.js +23 -1
- package/dist/modules/manager/cargo/utils.js.map +1 -1
- package/dist/modules/manager/cdnurl/index.js +1 -1
- package/dist/modules/manager/circleci/extract.js +3 -3
- package/dist/modules/manager/cocoapods/artifacts.js +3 -3
- package/dist/modules/manager/cocoapods/extract.js +2 -2
- package/dist/modules/manager/cocoapods/index.js +1 -1
- package/dist/modules/manager/composer/artifacts.js +10 -10
- package/dist/modules/manager/composer/index.js +1 -1
- package/dist/modules/manager/composer/schema.js +4 -4
- package/dist/modules/manager/composer/utils.js +1 -1
- package/dist/modules/manager/conan/artifacts.js +1 -1
- package/dist/modules/manager/conan/index.js +2 -2
- package/dist/modules/manager/copier/artifacts.js +2 -2
- package/dist/modules/manager/copier/extract.js +1 -1
- package/dist/modules/manager/copier/index.js +1 -1
- package/dist/modules/manager/cpanfile/parser.js +1 -1
- package/dist/modules/manager/crossplane/extract.js +1 -1
- package/dist/modules/manager/crow/extract.js +1 -1
- package/dist/modules/manager/custom/jsonata/utils.js +4 -3
- package/dist/modules/manager/custom/jsonata/utils.js.map +1 -1
- package/dist/modules/manager/custom/regex/index.js.map +1 -1
- package/dist/modules/manager/custom/regex/strategies.js.map +1 -1
- package/dist/modules/manager/custom/regex/types.d.ts +1 -0
- package/dist/modules/manager/custom/regex/utils.js +5 -4
- package/dist/modules/manager/custom/regex/utils.js.map +1 -1
- package/dist/modules/manager/custom/types.d.ts +1 -1
- package/dist/modules/manager/custom/utils.js +19 -1
- package/dist/modules/manager/custom/utils.js.map +1 -1
- package/dist/modules/manager/deno/artifacts.js +4 -4
- package/dist/modules/manager/deno/compat.js +1 -1
- package/dist/modules/manager/deno/extract.js +4 -2
- package/dist/modules/manager/deno/extract.js.map +1 -1
- package/dist/modules/manager/deno/post.js +2 -2
- package/dist/modules/manager/deno/schema.js +2 -2
- package/dist/modules/manager/deno/update.js +1 -1
- package/dist/modules/manager/deps-edn/extract.js +1 -1
- package/dist/modules/manager/deps-edn/index.js +1 -1
- package/dist/modules/manager/devbox/artifacts.js +1 -1
- package/dist/modules/manager/devbox/schema.js +1 -1
- package/dist/modules/manager/devbox/tool-versioning.js +17 -17
- package/dist/modules/manager/devbox/tool-versioning.js.map +1 -1
- package/dist/modules/manager/devcontainer/extract.js +1 -1
- package/dist/modules/manager/docker-compose/extract.js +1 -1
- package/dist/modules/manager/dockerfile/apk.js +2 -2
- package/dist/modules/manager/dockerfile/deb.js +2 -2
- package/dist/modules/manager/dockerfile/extract.js +2 -2
- package/dist/modules/manager/dockerfile/run-command.js +1 -1
- package/dist/modules/manager/droneci/extract.js +1 -1
- package/dist/modules/manager/fingerprint.generated.js +13 -12
- package/dist/modules/manager/fingerprint.generated.js.map +1 -1
- package/dist/modules/manager/flux/artifacts.js +1 -1
- package/dist/modules/manager/flux/extract.js +5 -5
- package/dist/modules/manager/fvm/index.js +1 -1
- package/dist/modules/manager/gemspec/artifacts.js +12 -0
- package/dist/modules/manager/gemspec/artifacts.js.map +1 -0
- package/dist/modules/manager/gemspec/dep-types.js +11 -0
- package/dist/modules/manager/gemspec/dep-types.js.map +1 -0
- package/dist/modules/manager/gemspec/extract.js +118 -0
- package/dist/modules/manager/gemspec/extract.js.map +1 -0
- package/dist/modules/manager/gemspec/index.js +30 -0
- package/dist/modules/manager/gemspec/index.js.map +1 -0
- package/dist/modules/manager/gemspec/lockfile.js +56 -0
- package/dist/modules/manager/gemspec/lockfile.js.map +1 -0
- package/dist/modules/manager/git-submodules/extract.js +5 -4
- package/dist/modules/manager/git-submodules/extract.js.map +1 -1
- package/dist/modules/manager/git-submodules/index.js +1 -1
- package/dist/modules/manager/github-actions/artifacts.js +7 -7
- package/dist/modules/manager/github-actions/extract.js +11 -9
- package/dist/modules/manager/github-actions/extract.js.map +1 -1
- package/dist/modules/manager/github-actions/known-actions/dotnet-version.js +1 -1
- package/dist/modules/manager/github-actions/known-actions/github-releases-dynamic.js +1 -1
- package/dist/modules/manager/github-actions/known-actions/github-releases.js +5 -5
- package/dist/modules/manager/github-actions/known-actions/gradle-version.js +1 -1
- package/dist/modules/manager/github-actions/known-actions/java-version-dynamic.js +1 -1
- package/dist/modules/manager/github-actions/known-actions/multiple.js +2 -2
- package/dist/modules/manager/github-actions/known-actions/npm.js +1 -1
- package/dist/modules/manager/github-actions/known-actions/utils.js +1 -1
- package/dist/modules/manager/github-actions/known-actions/utils.js.map +1 -1
- package/dist/modules/manager/github-actions/known-actions.js +1 -1
- package/dist/modules/manager/gitlabci/extract.js +17 -5
- package/dist/modules/manager/gitlabci/extract.js.map +1 -1
- package/dist/modules/manager/gitlabci/schema.js +1 -1
- package/dist/modules/manager/gitlabci-include/extract.js +1 -1
- package/dist/modules/manager/glasskube/extract.js +1 -1
- package/dist/modules/manager/gleam/artifacts.js +1 -1
- package/dist/modules/manager/gleam/extract.js +4 -4
- package/dist/modules/manager/gleam/index.js +1 -1
- package/dist/modules/manager/gleam/locked-version.js +1 -1
- package/dist/modules/manager/gomod/artifacts.js +8 -8
- package/dist/modules/manager/gomod/line-parser.js +2 -2
- package/dist/modules/manager/gomod/package-tree.js +2 -2
- package/dist/modules/manager/gomod/update.js +1 -1
- package/dist/modules/manager/gradle/artifacts.js +5 -5
- package/dist/modules/manager/gradle/extract/consistent-versions-plugin.js +2 -2
- package/dist/modules/manager/gradle/extract.js +8 -7
- package/dist/modules/manager/gradle/extract.js.map +1 -1
- package/dist/modules/manager/gradle/index.js +1 -1
- package/dist/modules/manager/gradle/parser/assignments.js +1 -1
- package/dist/modules/manager/gradle/parser/common.js +1 -1
- package/dist/modules/manager/gradle/parser/handlers.js +3 -3
- package/dist/modules/manager/gradle/parser/objects.js +2 -2
- package/dist/modules/manager/gradle/parser/registry-urls.js +2 -2
- package/dist/modules/manager/gradle/parser.js +4 -4
- package/dist/modules/manager/gradle-wrapper/artifacts.js +6 -6
- package/dist/modules/manager/gradle-wrapper/extract.js +1 -1
- package/dist/modules/manager/gradle-wrapper/index.js +1 -1
- package/dist/modules/manager/gradle-wrapper/utils.js +1 -1
- package/dist/modules/manager/haskell-cabal/index.js +1 -1
- package/dist/modules/manager/helm-requirements/extract.js +1 -1
- package/dist/modules/manager/helmfile/artifacts.js +5 -5
- package/dist/modules/manager/helmfile/extract.js +5 -3
- package/dist/modules/manager/helmfile/extract.js.map +1 -1
- package/dist/modules/manager/helmsman/extract.js +1 -1
- package/dist/modules/manager/helmv3/artifacts.js +5 -5
- package/dist/modules/manager/helmv3/common.js +4 -4
- package/dist/modules/manager/helmv3/extract.js +1 -1
- package/dist/modules/manager/helmv3/update.js +1 -1
- package/dist/modules/manager/helmv3/utils.js +1 -1
- package/dist/modules/manager/hermit/artifacts.js +3 -3
- package/dist/modules/manager/hermit/extract.js +2 -2
- package/dist/modules/manager/hermit/index.js +1 -1
- package/dist/modules/manager/homebrew/extract.js +1 -1
- package/dist/modules/manager/homebrew/handlers/npm.js +1 -1
- package/dist/modules/manager/html/index.js +1 -1
- package/dist/modules/manager/index.js +12 -12
- package/dist/modules/manager/index.js.map +1 -1
- package/dist/modules/manager/jenkins/extract.js +3 -3
- package/dist/modules/manager/jsonnet-bundler/artifacts.js +3 -3
- package/dist/modules/manager/jsonnet-bundler/extract.js +2 -2
- package/dist/modules/manager/julia/extract.js +1 -1
- package/dist/modules/manager/kubernetes/extract.js +2 -12
- package/dist/modules/manager/kubernetes/extract.js.map +1 -1
- package/dist/modules/manager/kustomize/artifacts.js +3 -3
- package/dist/modules/manager/kustomize/extract.js +2 -2
- package/dist/modules/manager/kustomize/index.js +1 -1
- package/dist/modules/manager/leiningen/extract.js +1 -1
- package/dist/modules/manager/leiningen/index.js +1 -1
- package/dist/modules/manager/maven/extract.js +6 -6
- package/dist/modules/manager/maven/extract.js.map +1 -1
- package/dist/modules/manager/maven/index.js +1 -1
- package/dist/modules/manager/maven/update.js +1 -1
- package/dist/modules/manager/maven/update.js.map +1 -1
- package/dist/modules/manager/maven-wrapper/artifacts.js +6 -6
- package/dist/modules/manager/maven-wrapper/extract.js +2 -2
- package/dist/modules/manager/meteor/extract.js +1 -1
- package/dist/modules/manager/mise/artifacts.js +8 -8
- package/dist/modules/manager/mise/backends.js +1 -1
- package/dist/modules/manager/mise/constraints.js +1 -1
- package/dist/modules/manager/mise/extract.js +6 -6
- package/dist/modules/manager/mise/extract.js.map +1 -1
- package/dist/modules/manager/mise/git-reference.js +2 -2
- package/dist/modules/manager/mise/update-locked.js +1 -1
- package/dist/modules/manager/mise/upgradeable-tooling.js +4 -4
- package/dist/modules/manager/mix/artifacts.js +6 -5
- package/dist/modules/manager/mix/artifacts.js.map +1 -1
- package/dist/modules/manager/mix/extract.js +1 -1
- package/dist/modules/manager/nix/artifacts.js +4 -4
- package/dist/modules/manager/nix/extract.js +2 -2
- package/dist/modules/manager/nodenv/index.js +1 -1
- package/dist/modules/manager/npm/artifacts.js +7 -5
- package/dist/modules/manager/npm/artifacts.js.map +1 -1
- package/dist/modules/manager/npm/constants.js +3 -1
- package/dist/modules/manager/npm/constants.js.map +1 -1
- package/dist/modules/manager/npm/extract/common/dependency.js +4 -4
- package/dist/modules/manager/npm/extract/common/package-file.js +2 -2
- package/dist/modules/manager/npm/extract/index.js +11 -7
- package/dist/modules/manager/npm/extract/index.js.map +1 -1
- package/dist/modules/manager/npm/extract/npmrc.js +93 -0
- package/dist/modules/manager/npm/extract/npmrc.js.map +1 -0
- package/dist/modules/manager/npm/extract/pnpm-minimum-release-age.js +149 -0
- package/dist/modules/manager/npm/extract/pnpm-minimum-release-age.js.map +1 -0
- package/dist/modules/manager/npm/extract/pnpm.js +91 -5
- package/dist/modules/manager/npm/extract/pnpm.js.map +1 -1
- package/dist/modules/manager/npm/extract/post/index.js +7 -1
- package/dist/modules/manager/npm/extract/post/index.js.map +1 -1
- package/dist/modules/manager/npm/extract/post/locked-versions.js +2 -2
- package/dist/modules/manager/npm/extract/post/monorepo.js +1 -1
- package/dist/modules/manager/npm/extract/utils.js +26 -2
- package/dist/modules/manager/npm/extract/utils.js.map +1 -1
- package/dist/modules/manager/npm/extract/yarn-minimum-release-age.js +181 -0
- package/dist/modules/manager/npm/extract/yarn-minimum-release-age.js.map +1 -0
- package/dist/modules/manager/npm/extract/yarnrc.js +1 -1
- package/dist/modules/manager/npm/index.js +21 -7
- package/dist/modules/manager/npm/index.js.map +1 -1
- package/dist/modules/manager/npm/minimum-release-age.js +93 -0
- package/dist/modules/manager/npm/minimum-release-age.js.map +1 -0
- package/dist/modules/manager/npm/npmrc.js +4 -4
- package/dist/modules/manager/npm/npmrc.js.map +1 -1
- package/dist/modules/manager/npm/post-update/index.js +32 -21
- package/dist/modules/manager/npm/post-update/index.js.map +1 -1
- package/dist/modules/manager/npm/post-update/node-version.js +12 -4
- package/dist/modules/manager/npm/post-update/node-version.js.map +1 -1
- package/dist/modules/manager/npm/post-update/npm.js +103 -65
- package/dist/modules/manager/npm/post-update/npm.js.map +1 -1
- package/dist/modules/manager/npm/post-update/pnpm.js +138 -90
- package/dist/modules/manager/npm/post-update/pnpm.js.map +1 -1
- package/dist/modules/manager/npm/post-update/rules.js +2 -2
- package/dist/modules/manager/npm/post-update/utils.js +7 -1
- package/dist/modules/manager/npm/post-update/utils.js.map +1 -1
- package/dist/modules/manager/npm/post-update/yarn.js +92 -14
- package/dist/modules/manager/npm/post-update/yarn.js.map +1 -1
- package/dist/modules/manager/npm/schema.js +23 -4
- package/dist/modules/manager/npm/schema.js.map +1 -1
- package/dist/modules/manager/npm/update/dependency/index.js +1 -1
- package/dist/modules/manager/npm/update/dependency/pnpm.js +9 -7
- package/dist/modules/manager/npm/update/dependency/pnpm.js.map +1 -1
- package/dist/modules/manager/npm/update/dependency/yarn.js +1 -1
- package/dist/modules/manager/npm/update/locked-dependency/common/parent-version.js +1 -1
- package/dist/modules/manager/npm/update/locked-dependency/package-lock/dep-constraints.js +1 -1
- package/dist/modules/manager/npm/update/locked-dependency/yarn-lock/get-locked.js +1 -1
- package/dist/modules/manager/npm/update/locked-dependency/yarn-lock/replace.js +1 -1
- package/dist/modules/manager/npm/update/package-version/index.js +1 -1
- package/dist/modules/manager/npmrc.js +2 -2
- package/dist/modules/manager/nuget/artifacts.js +4 -4
- package/dist/modules/manager/nuget/config-formatter.js +1 -1
- package/dist/modules/manager/nuget/extract.js +4 -4
- package/dist/modules/manager/nuget/package-tree.js +1 -1
- package/dist/modules/manager/nuget/update.js +1 -1
- package/dist/modules/manager/nuget/util.js +2 -2
- package/dist/modules/manager/nvm/index.js +1 -1
- package/dist/modules/manager/ocb/extract.js +1 -1
- package/dist/modules/manager/ocb/update.js +1 -1
- package/dist/modules/manager/osgi/extract.js +2 -2
- package/dist/modules/manager/paket/index.js +1 -1
- package/dist/modules/manager/pep621/artifacts.js +1 -1
- package/dist/modules/manager/pep621/extract.js +2 -2
- package/dist/modules/manager/pep621/index.js +1 -1
- package/dist/modules/manager/pep621/processors/pdm.js +3 -3
- package/dist/modules/manager/pep621/processors/pixi.js +1 -1
- package/dist/modules/manager/pep621/processors/uv.js +8 -7
- package/dist/modules/manager/pep621/processors/uv.js.map +1 -1
- package/dist/modules/manager/pep621/schema.js +2 -2
- package/dist/modules/manager/pep621/update.js +1 -1
- package/dist/modules/manager/pep621/utils.js +1 -1
- package/dist/modules/manager/pep723/utils.js +1 -1
- package/dist/modules/manager/pip-compile/artifacts.js +3 -3
- package/dist/modules/manager/pip-compile/common.js +4 -4
- package/dist/modules/manager/pip-compile/extract.js +7 -7
- package/dist/modules/manager/pip_requirements/artifacts.js +2 -2
- package/dist/modules/manager/pip_requirements/common.js +1 -1
- package/dist/modules/manager/pip_requirements/extract.js +2 -2
- package/dist/modules/manager/pip_requirements/index.js +1 -1
- package/dist/modules/manager/pipenv/artifacts.js +5 -5
- package/dist/modules/manager/pipenv/extract.js +3 -3
- package/dist/modules/manager/pipenv/index.js +1 -1
- package/dist/modules/manager/pixi/artifacts.js +1 -1
- package/dist/modules/manager/pixi/extract.js +2 -2
- package/dist/modules/manager/pixi/index.js +1 -1
- package/dist/modules/manager/pixi/lockfile.js +2 -2
- package/dist/modules/manager/pixi/schema.js +5 -5
- package/dist/modules/manager/poetry/artifacts.js +15 -19
- package/dist/modules/manager/poetry/artifacts.js.map +1 -1
- package/dist/modules/manager/poetry/extract.js +14 -10
- package/dist/modules/manager/poetry/extract.js.map +1 -1
- package/dist/modules/manager/poetry/index.js +4 -2
- package/dist/modules/manager/poetry/index.js.map +1 -1
- package/dist/modules/manager/poetry/minimum-release-age.js +117 -0
- package/dist/modules/manager/poetry/minimum-release-age.js.map +1 -0
- package/dist/modules/manager/poetry/schema.js +18 -8
- package/dist/modules/manager/poetry/schema.js.map +1 -1
- package/dist/modules/manager/pre-commit/extract.js +5 -5
- package/dist/modules/manager/proto/upgradeable-tooling.js +1 -1
- package/dist/modules/manager/pub/artifacts.js +1 -1
- package/dist/modules/manager/puppet/puppetfile-parser.js +1 -1
- package/dist/modules/manager/pyenv/index.js +1 -1
- package/dist/modules/manager/quadlet/extract.js +1 -1
- package/dist/modules/manager/renovate-config/extract.js +5 -5
- package/dist/modules/manager/ruby-version/index.js +1 -1
- package/dist/modules/manager/rust-toolchain/extract.js +3 -3
- package/dist/modules/manager/sbt/extract.js +8 -8
- package/dist/modules/manager/sbt/extract.js.map +1 -1
- package/dist/modules/manager/sbt/index.js +2 -2
- package/dist/modules/manager/sbt/update.js +1 -1
- package/dist/modules/manager/sbt/util.js +1 -1
- package/dist/modules/manager/scalafmt/extract.js +1 -1
- package/dist/modules/manager/setup-cfg/extract.js +2 -2
- package/dist/modules/manager/setup-cfg/index.js +1 -1
- package/dist/modules/manager/swift/artifacts.js +11 -4
- package/dist/modules/manager/swift/artifacts.js.map +1 -1
- package/dist/modules/manager/swift/extract.js +70 -23
- package/dist/modules/manager/swift/extract.js.map +1 -1
- package/dist/modules/manager/swift/index.js +7 -4
- package/dist/modules/manager/swift/index.js.map +1 -1
- package/dist/modules/manager/swift/registries-json.js +50 -0
- package/dist/modules/manager/swift/registries-json.js.map +1 -0
- package/dist/modules/manager/tekton/extract.js +2 -2
- package/dist/modules/manager/terraform/base.js +1 -1
- package/dist/modules/manager/terraform/extract.js +1 -1
- package/dist/modules/manager/terraform/extractors/others/modules.js +2 -2
- package/dist/modules/manager/terraform/extractors/terraform-block/terraform-version.js +1 -1
- package/dist/modules/manager/terraform/extractors.js +1 -1
- package/dist/modules/manager/terraform/lockfile/hash.js +3 -3
- package/dist/modules/manager/terraform/lockfile/index.js +5 -5
- package/dist/modules/manager/terraform/lockfile/update-locked.js +1 -1
- package/dist/modules/manager/terraform/lockfile/util.js +1 -1
- package/dist/modules/manager/terraform-version/index.js +1 -1
- package/dist/modules/manager/terragrunt/extract.js +2 -2
- package/dist/modules/manager/terragrunt/index.js +1 -1
- package/dist/modules/manager/terragrunt/modules.js +3 -3
- package/dist/modules/manager/terragrunt-version/index.js +1 -1
- package/dist/modules/manager/tflint-plugin/extract.js +2 -2
- package/dist/modules/manager/tflint-plugin/plugins.js +2 -2
- package/dist/modules/manager/travis/index.js +1 -1
- package/dist/modules/manager/types.d.ts +45 -9
- package/dist/modules/manager/util.js +3 -3
- package/dist/modules/manager/velaci/extract.js +2 -2
- package/dist/modules/manager/vendir/artifacts.js +2 -2
- package/dist/modules/manager/vendir/extract.js +1 -1
- package/dist/modules/manager/woodpecker/extract.js +1 -1
- package/dist/modules/manager/xcodegen/extract.js +1 -1
- package/dist/modules/platform/api.js +16 -16
- package/dist/modules/platform/api.js.map +1 -1
- package/dist/modules/platform/azure/azure-got-wrapper.js +1 -1
- package/dist/modules/platform/azure/azure-got-wrapper.js.map +1 -1
- package/dist/modules/platform/azure/index.js +18 -12
- package/dist/modules/platform/azure/index.js.map +1 -1
- package/dist/modules/platform/azure/issue.js +2 -2
- package/dist/modules/platform/azure/issue.js.map +1 -1
- package/dist/modules/platform/azure/util.js +2 -2
- package/dist/modules/platform/bitbucket/index.d.ts +2 -2
- package/dist/modules/platform/bitbucket/index.js +14 -12
- package/dist/modules/platform/bitbucket/index.js.map +1 -1
- package/dist/modules/platform/bitbucket/pr-cache.js +2 -2
- package/dist/modules/platform/bitbucket/schema.js +1 -1
- package/dist/modules/platform/bitbucket-server/index.d.ts +2 -2
- package/dist/modules/platform/bitbucket-server/index.js +20 -12
- package/dist/modules/platform/bitbucket-server/index.js.map +1 -1
- package/dist/modules/platform/bitbucket-server/pr-cache.js +9 -2
- package/dist/modules/platform/bitbucket-server/pr-cache.js.map +1 -1
- package/dist/modules/platform/bitbucket-server/utils.js +3 -3
- package/dist/modules/platform/codecommit/codecommit-client.js +1 -1
- package/dist/modules/platform/codecommit/index.js +3 -3
- package/dist/modules/platform/comment.js +1 -1
- package/dist/modules/platform/gerrit/client.js +1 -1
- package/dist/modules/platform/gerrit/index.js +12 -10
- package/dist/modules/platform/gerrit/index.js.map +1 -1
- package/dist/modules/platform/gerrit/pr-cache.js +2 -2
- package/dist/modules/platform/gerrit/scm.js +3 -3
- package/dist/modules/platform/gerrit/utils.js +3 -3
- package/dist/modules/platform/gitea/gitea-helper.js +2 -2
- package/dist/modules/platform/gitea/index.js +13 -11
- package/dist/modules/platform/gitea/index.js.map +1 -1
- package/dist/modules/platform/gitea/pr-cache.js +2 -2
- package/dist/modules/platform/gitea/schema.js +2 -2
- package/dist/modules/platform/gitea/utils.js +3 -3
- package/dist/modules/platform/github/graphql.js +52 -1
- package/dist/modules/platform/github/graphql.js.map +1 -1
- package/dist/modules/platform/github/index.js +113 -37
- package/dist/modules/platform/github/index.js.map +1 -1
- package/dist/modules/platform/github/issue.js +1 -1
- package/dist/modules/platform/github/massage-markdown-links.js +9 -2
- package/dist/modules/platform/github/massage-markdown-links.js.map +1 -1
- package/dist/modules/platform/github/pr.js +4 -4
- package/dist/modules/platform/github/schema.js +24 -7
- package/dist/modules/platform/github/schema.js.map +1 -1
- package/dist/modules/platform/github/scm.js +8 -2
- package/dist/modules/platform/github/scm.js.map +1 -1
- package/dist/modules/platform/github/utils.js +1 -1
- package/dist/modules/platform/gitlab/index.d.ts +2 -2
- package/dist/modules/platform/gitlab/index.js +12 -12
- package/dist/modules/platform/gitlab/pr-cache.js +3 -3
- package/dist/modules/platform/gitlab/schema.js +1 -1
- package/dist/modules/platform/gitlab/utils.js +2 -2
- package/dist/modules/platform/index.d.ts +3 -3
- package/dist/modules/platform/index.js +4 -4
- package/dist/modules/platform/local/scm.js +2 -1
- package/dist/modules/platform/local/scm.js.map +1 -1
- package/dist/modules/platform/pr-body.js +3 -3
- package/dist/modules/platform/scm-manager/index.js +3 -3
- package/dist/modules/platform/scm-manager/utils.js +2 -2
- package/dist/modules/platform/types.d.ts +17 -4
- package/dist/modules/platform/utils/pr-body.js +1 -1
- package/dist/modules/versioning/api.js +84 -84
- package/dist/modules/versioning/api.js.map +1 -1
- package/dist/modules/versioning/apk/index.js +1 -1
- package/dist/modules/versioning/cargo/index.js +1 -1
- package/dist/modules/versioning/common.js +14 -2
- package/dist/modules/versioning/common.js.map +1 -1
- package/dist/modules/versioning/composer/index.js +1 -1
- package/dist/modules/versioning/conan/range.js +1 -1
- package/dist/modules/versioning/debian/common.js +1 -1
- package/dist/modules/versioning/debian/index.js +1 -1
- package/dist/modules/versioning/distro.js +1 -1
- package/dist/modules/versioning/github-actions/index.js +1 -1
- package/dist/modules/versioning/gradle/compare.js +1 -1
- package/dist/modules/versioning/hashicorp/convertor.js +1 -1
- package/dist/modules/versioning/hashicorp/index.js +1 -1
- package/dist/modules/versioning/index.d.ts +1 -1
- package/dist/modules/versioning/index.js +1 -1
- package/dist/modules/versioning/julia/index.js +3 -2
- package/dist/modules/versioning/julia/index.js.map +1 -1
- package/dist/modules/versioning/lambda-node/schedule.js +1 -1
- package/dist/modules/versioning/node/schedule.js +1 -1
- package/dist/modules/versioning/npm/range.js +1 -1
- package/dist/modules/versioning/nuget/index.js +1 -1
- package/dist/modules/versioning/paket/index.js +1 -1
- package/dist/modules/versioning/paket/range.js +1 -1
- package/dist/modules/versioning/pep440/range.js +2 -2
- package/dist/modules/versioning/perl/index.js +1 -1
- package/dist/modules/versioning/pvp/index.js +1 -1
- package/dist/modules/versioning/rpm/index.js +1 -1
- package/dist/modules/versioning/ruby/index.js +3 -3
- package/dist/modules/versioning/ruby/range.js +1 -1
- package/dist/modules/versioning/ruby/strategies/index.js +1 -1
- package/dist/modules/versioning/ruby/version.js +1 -1
- package/dist/modules/versioning/rust-release-channel/index.js +21 -0
- package/dist/modules/versioning/rust-release-channel/index.js.map +1 -1
- package/dist/modules/versioning/same-major/index.js +1 -1
- package/dist/modules/versioning/same-major/index.js.map +1 -1
- package/dist/modules/versioning/schema.js +4 -4
- package/dist/modules/versioning/schema.js.map +1 -1
- package/dist/modules/versioning/semver-extended/index.js +1 -1
- package/dist/modules/versioning/vcpkg/index.js +5 -5
- package/dist/proxy.js +1 -1
- package/dist/types/base.d.ts +0 -4
- package/dist/types/index.d.ts +5 -5
- package/dist/util/cache/package/backend.js +1 -1
- package/dist/util/cache/package/impl/redis.js +1 -1
- package/dist/util/cache/package/impl/sqlite.js +2 -2
- package/dist/util/cache/package/index.d.ts +1 -1
- package/dist/util/cache/package/index.js +2 -2
- package/dist/util/cache/package/with-cache.js +2 -2
- package/dist/util/cache/repository/http-cache.js +1 -1
- package/dist/util/cache/repository/impl/base.js +2 -2
- package/dist/util/cache/repository/index.js +1 -1
- package/dist/util/cache/repository/init.js +1 -1
- package/dist/util/cache/repository/types.d.ts +2 -2
- package/dist/util/cache/sanitize-key.js +2 -2
- package/dist/util/check-token.js +3 -3
- package/dist/util/clone.js +1 -1
- package/dist/util/common.js +4 -4
- package/dist/util/emoji.js +4 -4
- package/dist/util/exec/common.js +3 -3
- package/dist/util/exec/containerbase.js +3 -3
- package/dist/util/exec/docker/index.js +5 -5
- package/dist/util/exec/env.js +1 -1
- package/dist/util/exec/hermit.js +2 -2
- package/dist/util/exec/index.js +7 -7
- package/dist/util/exec/utils.js +1 -1
- package/dist/util/fs/index.js +3 -1
- package/dist/util/fs/index.js.map +1 -1
- package/dist/util/fs/util.js +2 -2
- package/dist/util/git/auth.js +5 -5
- package/dist/util/git/author.js +1 -1
- package/dist/util/git/commit-trailers.js +1 -1
- package/dist/util/git/config.d.ts +1 -1
- package/dist/util/git/config.js +1 -1
- package/dist/util/git/error.js +1 -1
- package/dist/util/git/exec.js +3 -3
- package/dist/util/git/index.d.ts +2 -2
- package/dist/util/git/index.js +29 -25
- package/dist/util/git/index.js.map +1 -1
- package/dist/util/git/instrument.js +1 -1
- package/dist/util/git/private-key.js +6 -6
- package/dist/util/git/private-key.js.map +1 -1
- package/dist/util/git/semantic.js +1 -1
- package/dist/util/git/types.d.ts +1 -1
- package/dist/util/git/url.js +3 -3
- package/dist/util/github/graphql/datasource-fetcher.js +3 -3
- package/dist/util/host-rules.d.ts +2 -2
- package/dist/util/host-rules.js +8 -8
- package/dist/util/host-rules.js.map +1 -1
- package/dist/util/http/bitbucket.js +2 -2
- package/dist/util/http/cache/memory-http-cache-provider.js +1 -1
- package/dist/util/http/cache/package-http-cache-provider.js +3 -3
- package/dist/util/http/cache/repository-http-cache-provider.js +1 -1
- package/dist/util/http/gerrit.js +1 -1
- package/dist/util/http/github.d.ts +1 -1
- package/dist/util/http/github.js +10 -10
- package/dist/util/http/gitlab.d.ts +1 -1
- package/dist/util/http/gitlab.js +3 -3
- package/dist/util/http/got.js +3 -3
- package/dist/util/http/host-guard.js +4 -4
- package/dist/util/http/host-guard.js.map +1 -1
- package/dist/util/http/host-rules.js +4 -4
- package/dist/util/http/http.js +12 -12
- package/dist/util/ignore.js +1 -1
- package/dist/util/interpolator.js +1 -1
- package/dist/util/jsonata.js +2 -2
- package/dist/util/merge-confidence/index.js +9 -9
- package/dist/util/minimum-release-age.js +77 -5
- package/dist/util/minimum-release-age.js.map +1 -1
- package/dist/util/package-rules/current-version.js +1 -1
- package/dist/util/package-rules/index.js +2 -2
- package/dist/util/package-rules/managers.js +1 -1
- package/dist/util/package-rules/merge-confidence.js +1 -1
- package/dist/util/pretty-time.js +1 -1
- package/dist/util/schema-utils/index.d.ts +1 -1
- package/dist/util/schema-utils/index.js.map +1 -1
- package/dist/util/stats.js +2 -2
- package/dist/util/string-match.js +1 -1
- package/dist/util/template/index.js +3 -3
- package/dist/util/unicode.js +1 -1
- package/dist/util/url.d.ts +4 -0
- package/dist/util/url.js +9 -4
- package/dist/util/url.js.map +1 -1
- package/dist/util/vulnerability/ecosystem.js +1 -1
- package/dist/util/yaml.js +1 -1
- package/dist/workers/global/autodiscover.js +1 -1
- package/dist/workers/global/config/parse/cli.js +3 -3
- package/dist/workers/global/config/parse/cli.js.map +1 -1
- package/dist/workers/global/config/parse/env.js +29 -14
- package/dist/workers/global/config/parse/env.js.map +1 -1
- package/dist/workers/global/config/parse/host-rules-from-env.js +1 -1
- package/dist/workers/global/config/parse/index.js +22 -22
- package/dist/workers/global/config/parse/index.js.map +1 -1
- package/dist/workers/global/config/parse/util.js +3 -3
- package/dist/workers/global/index.js +14 -14
- package/dist/workers/global/initialize.js +7 -7
- package/dist/workers/repository/cache.js +3 -3
- package/dist/workers/repository/config-migration/branch/create.js +2 -2
- package/dist/workers/repository/config-migration/branch/index.js +1 -1
- package/dist/workers/repository/config-migration/branch/migrated-data.js +3 -3
- package/dist/workers/repository/config-migration/branch/rebase.js +3 -3
- package/dist/workers/repository/config-migration/index.js +1 -1
- package/dist/workers/repository/config-migration/pr/index.js +4 -4
- package/dist/workers/repository/dependency-dashboard.js +27 -24
- package/dist/workers/repository/dependency-dashboard.js.map +1 -1
- package/dist/workers/repository/error-config.js +1 -1
- package/dist/workers/repository/error.js +1 -1
- package/dist/workers/repository/errors-warnings.js +3 -3
- package/dist/workers/repository/extract/extract-fingerprint-config.js +3 -3
- package/dist/workers/repository/extract/file-match.js +2 -2
- package/dist/workers/repository/extract/index.js +7 -7
- package/dist/workers/repository/extract/manager-files.js +1 -1
- package/dist/workers/repository/extract/shared-constraints.js +2 -2
- package/dist/workers/repository/finalize/index.js +3 -3
- package/dist/workers/repository/finalize/prune.js +6 -6
- package/dist/workers/repository/finalize/repository-statistics.js +4 -4
- package/dist/workers/repository/index.js +17 -15
- package/dist/workers/repository/index.js.map +1 -1
- package/dist/workers/repository/init/cache.js +2 -2
- package/dist/workers/repository/init/config.js +2 -2
- package/dist/workers/repository/init/filter-allowed-env.js +1 -1
- package/dist/workers/repository/init/index.js +6 -6
- package/dist/workers/repository/init/inherited.js +9 -9
- package/dist/workers/repository/init/merge.js +26 -26
- package/dist/workers/repository/init/merge.js.map +1 -1
- package/dist/workers/repository/init/vulnerability.js +8 -8
- package/dist/workers/repository/model/commit-body.js +2 -2
- package/dist/workers/repository/onboarding/branch/check.js +15 -11
- package/dist/workers/repository/onboarding/branch/check.js.map +1 -1
- package/dist/workers/repository/onboarding/branch/config.js +2 -2
- package/dist/workers/repository/onboarding/branch/create.js +1 -1
- package/dist/workers/repository/onboarding/branch/index.js +11 -11
- package/dist/workers/repository/onboarding/branch/onboarding-branch-cache.js +1 -1
- package/dist/workers/repository/onboarding/branch/rebase.js +2 -2
- package/dist/workers/repository/onboarding/common.js +1 -1
- package/dist/workers/repository/onboarding/pr/index.js +10 -10
- package/dist/workers/repository/onboarding/pr/index.js.map +1 -1
- package/dist/workers/repository/onboarding/pr/pr-list.js +5 -5
- package/dist/workers/repository/package-files.js +2 -2
- package/dist/workers/repository/package-files.js.map +1 -1
- package/dist/workers/repository/process/extract-update.js +24 -12
- package/dist/workers/repository/process/extract-update.js.map +1 -1
- package/dist/workers/repository/process/fetch.js +8 -8
- package/dist/workers/repository/process/index.js +12 -12
- package/dist/workers/repository/process/libyear.js +1 -1
- package/dist/workers/repository/process/limits.js +8 -6
- package/dist/workers/repository/process/limits.js.map +1 -1
- package/dist/workers/repository/process/lookup/digest.js +4 -4
- package/dist/workers/repository/process/lookup/digest.js.map +1 -1
- package/dist/workers/repository/process/lookup/filter-checks.js +3 -3
- package/dist/workers/repository/process/lookup/filter.js +1 -1
- package/dist/workers/repository/process/lookup/index.js +10 -10
- package/dist/workers/repository/process/lookup/utils.js +2 -2
- package/dist/workers/repository/process/lookup/version-compatibility.js +1 -1
- package/dist/workers/repository/process/vulnerabilities.js +9 -9
- package/dist/workers/repository/process/write.js +11 -9
- package/dist/workers/repository/process/write.js.map +1 -1
- package/dist/workers/repository/reconfigure/comment.js +1 -1
- package/dist/workers/repository/reconfigure/comment.js.map +1 -1
- package/dist/workers/repository/reconfigure/index.js +6 -5
- package/dist/workers/repository/reconfigure/index.js.map +1 -1
- package/dist/workers/repository/reconfigure/utils.js +2 -2
- package/dist/workers/repository/reconfigure/validate.js +4 -4
- package/dist/workers/repository/result.d.ts +1 -1
- package/dist/workers/repository/result.js +1 -1
- package/dist/workers/repository/update/branch/auto-replace.js +11 -9
- package/dist/workers/repository/update/branch/auto-replace.js.map +1 -1
- package/dist/workers/repository/update/branch/automerge.js +2 -2
- package/dist/workers/repository/update/branch/bump-versions.js +5 -5
- package/dist/workers/repository/update/branch/check-existing.js +8 -3
- package/dist/workers/repository/update/branch/check-existing.js.map +1 -1
- package/dist/workers/repository/update/branch/commit.js +3 -3
- package/dist/workers/repository/update/branch/errors.js +1 -1
- package/dist/workers/repository/update/branch/execute-post-upgrade-commands.js +8 -8
- package/dist/workers/repository/update/branch/get-updated.js +6 -5
- package/dist/workers/repository/update/branch/get-updated.js.map +1 -1
- package/dist/workers/repository/update/branch/handle-existing.js +3 -3
- package/dist/workers/repository/update/branch/index.js +25 -19
- package/dist/workers/repository/update/branch/index.js.map +1 -1
- package/dist/workers/repository/update/branch/reuse.js +1 -1
- package/dist/workers/repository/update/branch/schedule.js +1 -1
- package/dist/workers/repository/update/branch/status-checks.js +14 -5
- package/dist/workers/repository/update/branch/status-checks.js.map +1 -1
- package/dist/workers/repository/update/pr/automerge.js +35 -11
- package/dist/workers/repository/update/pr/automerge.js.map +1 -1
- package/dist/workers/repository/update/pr/body/changelogs.js +2 -2
- package/dist/workers/repository/update/pr/body/config-description.js +1 -1
- package/dist/workers/repository/update/pr/body/index.js +7 -7
- package/dist/workers/repository/update/pr/body/index.js.map +1 -1
- package/dist/workers/repository/update/pr/body/notes.js +1 -1
- package/dist/workers/repository/update/pr/body/updates-table.js +1 -1
- package/dist/workers/repository/update/pr/changelog/api.js +1 -1
- package/dist/workers/repository/update/pr/changelog/bitbucket/source.js +3 -3
- package/dist/workers/repository/update/pr/changelog/bitbucket-server/source.js +3 -3
- package/dist/workers/repository/update/pr/changelog/gitea/source.js +1 -1
- package/dist/workers/repository/update/pr/changelog/github/source.js +4 -4
- package/dist/workers/repository/update/pr/changelog/index.js +3 -3
- package/dist/workers/repository/update/pr/changelog/release-notes.js +11 -11
- package/dist/workers/repository/update/pr/changelog/release-notes.js.map +1 -1
- package/dist/workers/repository/update/pr/changelog/releases.js +3 -3
- package/dist/workers/repository/update/pr/changelog/source.js +7 -6
- package/dist/workers/repository/update/pr/changelog/source.js.map +1 -1
- package/dist/workers/repository/update/pr/code-owners.js +17 -5
- package/dist/workers/repository/update/pr/code-owners.js.map +1 -1
- package/dist/workers/repository/update/pr/ensure-config-pr.js +3 -3
- package/dist/workers/repository/update/pr/index.js +27 -18
- package/dist/workers/repository/update/pr/index.js.map +1 -1
- package/dist/workers/repository/update/pr/labels.js +2 -2
- package/dist/workers/repository/update/pr/participants.js +4 -3
- package/dist/workers/repository/update/pr/participants.js.map +1 -1
- package/dist/workers/repository/updates/branch-name.js +2 -2
- package/dist/workers/repository/updates/flatten.js +21 -7
- package/dist/workers/repository/updates/flatten.js.map +1 -1
- package/dist/workers/repository/updates/generate.js +6 -6
- package/dist/workers/types.d.ts +17 -9
- package/package.json +35 -34
- package/readme.md +1 -1
- package/renovate-schema.json +1806 -123
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { logger } from "../../logger/index.js";
|
|
1
2
|
import { getEnv } from "../../util/env.js";
|
|
2
3
|
import { regEx } from "../../util/regex.js";
|
|
3
|
-
import { logger } from "../../logger/index.js";
|
|
4
4
|
import { decrypt, isSupportedRuntime } from "@renovatebot/pgp";
|
|
5
5
|
// lib/config/decrypt/bcpgp.ts
|
|
6
6
|
async function tryDecryptBcPgp(privateKey, encryptedStr) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { openpgp } from "../../expose.js";
|
|
2
|
-
import { regEx } from "../../util/regex.js";
|
|
3
2
|
import { logger } from "../../logger/index.js";
|
|
3
|
+
import { regEx } from "../../util/regex.js";
|
|
4
4
|
// lib/config/decrypt/openpgp.ts
|
|
5
5
|
let pgp = void 0;
|
|
6
6
|
async function tryDecryptOpenPgp(privateKey, encryptedStr) {
|
package/dist/config/decrypt.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { CONFIG_VALIDATION } from "../constants/error-messages.js";
|
|
2
|
+
import { logger } from "../logger/index.js";
|
|
2
3
|
import { getEnv } from "../util/env.js";
|
|
3
4
|
import { regEx } from "../util/regex.js";
|
|
4
|
-
import { GlobalConfig } from "./global.js";
|
|
5
5
|
import { addSecretForSanitizing } from "../util/sanitize.js";
|
|
6
|
-
import { logger } from "../logger/index.js";
|
|
7
6
|
import { ensureTrailingSlash, parseUrl, trimSlashes } from "../util/url.js";
|
|
8
7
|
import { tryDecryptBcPgp } from "./decrypt/bcpgp.js";
|
|
9
8
|
import { tryDecryptOpenPgp } from "./decrypt/openpgp.js";
|
|
9
|
+
import { GlobalConfig } from "./global.js";
|
|
10
10
|
import { DecryptedObject } from "./schema.js";
|
|
11
11
|
import { isArray, isNonEmptyString, isObject, isString } from "@sindresorhus/is";
|
|
12
12
|
// lib/config/decrypt.ts
|
package/dist/config/defaults.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { clone } from "../util/clone.js";
|
|
2
|
-
import { getAllowedParents } from "./options/scopes.js";
|
|
3
2
|
import { getOptions } from "./options/index.js";
|
|
3
|
+
import { getAllowedParents } from "./options/scopes.js";
|
|
4
4
|
// lib/config/defaults.ts
|
|
5
5
|
const defaultValueFactories = {
|
|
6
6
|
boolean: () => true,
|
package/dist/config/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { logger } from "../logger/index.js";
|
|
2
|
-
import { getOptions } from "./options/index.js";
|
|
3
|
-
import { mergeChildConfig } from "./utils.js";
|
|
4
2
|
import { getDefaultConfig } from "../modules/datasource/index.js";
|
|
5
3
|
import { allManagersList, get } from "../modules/manager/index.js";
|
|
4
|
+
import { getOptions } from "./options/index.js";
|
|
5
|
+
import { mergeChildConfig } from "./utils.js";
|
|
6
6
|
// lib/config/index.ts
|
|
7
7
|
function getManagerConfig(config, manager) {
|
|
8
8
|
let managerConfig = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { coerceArray } from "../util/array.js";
|
|
2
1
|
import { logger } from "../logger/index.js";
|
|
2
|
+
import { coerceArray } from "../util/array.js";
|
|
3
3
|
import { massageConfig } from "./massage.js";
|
|
4
4
|
import { migrateConfig } from "./migration.js";
|
|
5
5
|
import { validateConfig } from "./validation.js";
|
package/dist/config/migration.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { coerceObject } from "../util/object.js";
|
|
2
|
-
import { regEx } from "../util/regex.js";
|
|
3
1
|
import { logger } from "../logger/index.js";
|
|
4
2
|
import { clone } from "../util/clone.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { coerceObject } from "../util/object.js";
|
|
4
|
+
import { regEx } from "../util/regex.js";
|
|
7
5
|
import "./migrations/index.js";
|
|
6
|
+
import { MigrationsService } from "./migrations/migrations-service.js";
|
|
7
|
+
import { getOptions } from "./options/index.js";
|
|
8
8
|
import { mergeChildConfig } from "./utils.js";
|
|
9
9
|
import { isArray, isBoolean, isNonEmptyArray, isNonEmptyObject, isObject, isString } from "@sindresorhus/is";
|
|
10
10
|
import { dequal } from "dequal";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { AbstractMigration } from "../base/abstract-migration.js";
|
|
2
|
+
import { isBoolean, isNullOrUndefined, isPlainObject } from "@sindresorhus/is";
|
|
3
|
+
// lib/config/migrations/custom/dependency-dashboard-migration.ts
|
|
4
|
+
const dependencyDashboardFields = {
|
|
5
|
+
customizeDashboard: "customize",
|
|
6
|
+
dependencyDashboardAutoclose: "autoclose",
|
|
7
|
+
dependencyDashboardFooter: "footer",
|
|
8
|
+
dependencyDashboardHeader: "header",
|
|
9
|
+
dependencyDashboardLabels: "labels",
|
|
10
|
+
dependencyDashboardOSVVulnerabilitySummary: "osvVulnerabilitySummary",
|
|
11
|
+
dependencyDashboardReportAbandonment: "reportAbandonment",
|
|
12
|
+
dependencyDashboardTitle: "title"
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Converts a `dependencyDashboard` value from before it was an object, including the strings which were accepted for the boolean.
|
|
16
|
+
*
|
|
17
|
+
* Returns `undefined` for a value which can't be converted, so it's left for validation to report.
|
|
18
|
+
*/
|
|
19
|
+
function toObject(value) {
|
|
20
|
+
if (isNullOrUndefined(value)) return {};
|
|
21
|
+
if (isPlainObject(value)) return { ...value };
|
|
22
|
+
if (isBoolean(value) || value === "true" || value === "false") return { enabled: value === true || value === "true" };
|
|
23
|
+
}
|
|
24
|
+
var DependencyDashboardMigration = class extends AbstractMigration {
|
|
25
|
+
propertyName = /^(?:customizeDashboard|dependencyDashboard(?:Autoclose|Footer|Header|Labels|OSVVulnerabilitySummary|ReportAbandonment|Title)?)$/;
|
|
26
|
+
run(value, key) {
|
|
27
|
+
const dependencyDashboard = toObject(this.get("dependencyDashboard"));
|
|
28
|
+
if (!dependencyDashboard) return;
|
|
29
|
+
if (key !== "dependencyDashboard") {
|
|
30
|
+
dependencyDashboard[dependencyDashboardFields[key]] ??= value;
|
|
31
|
+
this.delete(key);
|
|
32
|
+
}
|
|
33
|
+
this.setHard("dependencyDashboard", dependencyDashboard);
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
export { DependencyDashboardMigration };
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=dependency-dashboard-migration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dependency-dashboard-migration.js","names":[],"sources":["../../../../lib/config/migrations/custom/dependency-dashboard-migration.ts"],"sourcesContent":["import { isBoolean, isNullOrUndefined, isPlainObject } from '@sindresorhus/is';\nimport type { DependencyDashboardConfig } from '../../types.ts';\nimport { AbstractMigration } from '../base/abstract-migration.ts';\n\nconst dependencyDashboardFields: Record<\n string,\n keyof DependencyDashboardConfig\n> = {\n customizeDashboard: 'customize',\n dependencyDashboardAutoclose: 'autoclose',\n dependencyDashboardFooter: 'footer',\n dependencyDashboardHeader: 'header',\n dependencyDashboardLabels: 'labels',\n dependencyDashboardOSVVulnerabilitySummary: 'osvVulnerabilitySummary',\n dependencyDashboardReportAbandonment: 'reportAbandonment',\n dependencyDashboardTitle: 'title',\n};\n\n/**\n * Converts a `dependencyDashboard` value from before it was an object, including the strings which were accepted for the boolean.\n *\n * Returns `undefined` for a value which can't be converted, so it's left for validation to report.\n */\nfunction toObject(value: unknown): Record<string, unknown> | undefined {\n if (isNullOrUndefined(value)) {\n return {};\n }\n if (isPlainObject(value)) {\n return { ...value };\n }\n if (isBoolean(value) || value === 'true' || value === 'false') {\n return { enabled: value === true || value === 'true' };\n }\n return undefined;\n}\n\nexport class DependencyDashboardMigration extends AbstractMigration {\n override readonly propertyName =\n // oxlint-disable-next-line renovate/require-regex-util -- must stay a native RegExp: MigrationsService matches propertyName via isRegExp(), which RE2 instances fail\n /^(?:customizeDashboard|dependencyDashboard(?:Autoclose|Footer|Header|Labels|OSVVulnerabilitySummary|ReportAbandonment|Title)?)$/;\n\n override run(value: unknown, key: string): void {\n const dependencyDashboard = toObject(this.get('dependencyDashboard'));\n if (!dependencyDashboard) {\n return;\n }\n\n if (key !== 'dependencyDashboard') {\n dependencyDashboard[dependencyDashboardFields[key]] ??= value;\n this.delete(key);\n }\n this.setHard('dependencyDashboard', dependencyDashboard);\n }\n}\n"],"mappings":";;;AAIA,MAAM,4BAGF;CACF,oBAAoB;CACpB,8BAA8B;CAC9B,2BAA2B;CAC3B,2BAA2B;CAC3B,2BAA2B;CAC3B,4CAA4C;CAC5C,sCAAsC;CACtC,0BAA0B;AAC5B;;;;;;AAOA,SAAS,SAAS,OAAqD;CACrE,IAAI,kBAAkB,KAAK,GACzB,OAAO,CAAC;CAEV,IAAI,cAAc,KAAK,GACrB,OAAO,EAAE,GAAG,MAAM;CAEpB,IAAI,UAAU,KAAK,KAAK,UAAU,UAAU,UAAU,SACpD,OAAO,EAAE,SAAS,UAAU,QAAQ,UAAU,OAAO;AAGzD;AAEA,IAAa,+BAAb,cAAkD,kBAAkB;CAClE,eAEE;CAEF,IAAa,OAAgB,KAAmB;EAC9C,MAAM,sBAAsB,SAAS,KAAK,IAAI,qBAAqB,CAAC;EACpE,IAAI,CAAC,qBACH;EAGF,IAAI,QAAQ,uBAAuB;GACjC,oBAAoB,0BAA0B,UAAU;GACxD,KAAK,OAAO,GAAG;EACjB;EACA,KAAK,QAAQ,uBAAuB,mBAAmB;CACzD;AACF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GlobalConfig } from "../../global.js";
|
|
2
|
-
import { AbstractMigration } from "../base/abstract-migration.js";
|
|
3
2
|
import { removedPresets } from "../../presets/common.js";
|
|
3
|
+
import { AbstractMigration } from "../base/abstract-migration.js";
|
|
4
4
|
import { isNonEmptyString, isString } from "@sindresorhus/is";
|
|
5
5
|
// lib/config/migrations/custom/extends-migration.ts
|
|
6
6
|
var ExtendsMigration = class extends AbstractMigration {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CONFIG_VALIDATION } from "../../../constants/error-messages.js";
|
|
2
2
|
import { logger } from "../../../logger/index.js";
|
|
3
|
+
import { massageHostUrl } from "../../../util/url.js";
|
|
3
4
|
import { AbstractMigration } from "../base/abstract-migration.js";
|
|
4
5
|
import { migrateDatasource } from "./datasource-migration.js";
|
|
5
|
-
import { massageHostUrl } from "../../../util/url.js";
|
|
6
6
|
import { isString } from "@sindresorhus/is";
|
|
7
7
|
// lib/config/migrations/custom/host-rules-migration.ts
|
|
8
8
|
var HostRulesMigration = class extends AbstractMigration {
|
|
@@ -16,6 +16,7 @@ import { ConstraintsMigration } from "./custom/constraints-migration.js";
|
|
|
16
16
|
import { CustomManagersMigration } from "./custom/custom-managers-migration.js";
|
|
17
17
|
import { DatasourceMigration } from "./custom/datasource-migration.js";
|
|
18
18
|
import { DepTypesMigration } from "./custom/dep-types-migration.js";
|
|
19
|
+
import { DependencyDashboardMigration } from "./custom/dependency-dashboard-migration.js";
|
|
19
20
|
import { DryRunMigration } from "./custom/dry-run-migration.js";
|
|
20
21
|
import { EnabledManagersMigration } from "./custom/enabled-managers-migration.js";
|
|
21
22
|
import { ExtendsMigration } from "./custom/extends-migration.js";
|
|
@@ -166,7 +167,8 @@ var MigrationsService = class MigrationsService {
|
|
|
166
167
|
PlatformCommitMigration,
|
|
167
168
|
FileMatchMigration,
|
|
168
169
|
UpdateLockFilesMigration,
|
|
169
|
-
ConstraintsMigration
|
|
170
|
+
ConstraintsMigration,
|
|
171
|
+
DependencyDashboardMigration
|
|
170
172
|
];
|
|
171
173
|
static run(originalConfig, parentKey) {
|
|
172
174
|
const migratedConfig = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrations-service.js","names":[],"sources":["../../../lib/config/migrations/migrations-service.ts"],"sourcesContent":["import { isRegExp } from '@sindresorhus/is';\nimport { dequal } from 'dequal';\nimport type { RenovateConfig } from '../types.ts';\nimport { RemovePropertyMigration } from './base/remove-property-migration.ts';\nimport { RenamePropertyMigration } from './base/rename-property-migration.ts';\nimport { AutomergeMajorMigration } from './custom/automerge-major-migration.ts';\nimport { AutomergeMigration } from './custom/automerge-migration.ts';\nimport { AutomergeMinorMigration } from './custom/automerge-minor-migration.ts';\nimport { AutomergePatchMigration } from './custom/automerge-patch-migration.ts';\nimport { AutomergeTypeMigration } from './custom/automerge-type-migration.ts';\nimport { AzureGitLabAutomergeMigration } from './custom/azure-gitlab-automerge-migration.ts';\nimport { BaseBranchMigration } from './custom/base-branch-migration.ts';\nimport { BinarySourceMigration } from './custom/binary-source-migration.ts';\nimport { BranchNameMigration } from './custom/branch-name-migration.ts';\nimport { BranchPrefixMigration } from './custom/branch-prefix-migration.ts';\nimport { CompatibilityMigration } from './custom/compatibility-migration.ts';\nimport { ComposerIgnorePlatformReqsMigration } from './custom/composer-ignore-platform-reqs-migration.ts';\nimport { ConstraintsMigration } from './custom/constraints-migration.ts';\nimport { CustomManagersMigration } from './custom/custom-managers-migration.ts';\nimport { DatasourceMigration } from './custom/datasource-migration.ts';\nimport { DepTypesMigration } from './custom/dep-types-migration.ts';\nimport { DryRunMigration } from './custom/dry-run-migration.ts';\nimport { EnabledManagersMigration } from './custom/enabled-managers-migration.ts';\nimport { ExtendsMigration } from './custom/extends-migration.ts';\nimport { FetchReleaseNotesMigration } from './custom/fetch-release-notes-migration.ts';\nimport { FileMatchMigration } from './custom/file-match-migration.ts';\nimport { GoModTidyMigration } from './custom/go-mod-tidy-migration.ts';\nimport { HostRulesMigration } from './custom/host-rules-migration.ts';\nimport { IgnoreNodeModulesMigration } from './custom/ignore-node-modules-migration.ts';\nimport { IgnoreNpmrcFileMigration } from './custom/ignore-npmrc-file-migration.ts';\nimport { IncludeForksMigration } from './custom/include-forks-migration.ts';\nimport { MatchDatasourcesMigration } from './custom/match-datasources-migration.ts';\nimport { MatchManagersMigration } from './custom/match-managers-migration.ts';\nimport { MatchStringsMigration } from './custom/match-strings-migration.ts';\nimport { NodeMigration } from './custom/node-migration.ts';\nimport { PackageFilesMigration } from './custom/package-files-migration.ts';\nimport { PackageNameMigration } from './custom/package-name-migration.ts';\nimport { PackagePatternMigration } from './custom/package-pattern-migration.ts';\nimport { PackageRulesMigration } from './custom/package-rules-migration.ts';\nimport { PackagesMigration } from './custom/packages-migration.ts';\nimport { PathRulesMigration } from './custom/path-rules-migration.ts';\nimport { PinVersionsMigration } from './custom/pin-versions-migration.ts';\nimport { PlatformCommitMigration } from './custom/platform-commit-migration.ts';\nimport { PostUpdateOptionsMigration } from './custom/post-update-options-migration.ts';\nimport { RebaseConflictedPrs } from './custom/rebase-conflicted-prs-migration.ts';\nimport { RebaseStalePrsMigration } from './custom/rebase-stale-prs-migration.ts';\nimport { RecreateClosedMigration } from './custom/recreate-closed-migration.ts';\nimport { RenovateForkMigration } from './custom/renovate-fork-migration.ts';\nimport { RequireConfigMigration } from './custom/require-config-migration.ts';\nimport { RequiredStatusChecksMigration } from './custom/required-status-checks-migration.ts';\nimport { ScheduleMigration } from './custom/schedule-migration.ts';\nimport { SemanticCommitsMigration } from './custom/semantic-commits-migration.ts';\nimport { SemanticPrefixMigration } from './custom/semantic-prefix-migration.ts';\nimport { SeparateMajorReleasesMigration } from './custom/separate-major-release-migration.ts';\nimport { SeparateMultipleMajorMigration } from './custom/separate-multiple-major-migration.ts';\nimport { StabilityDaysMigration } from './custom/stability-days-migration.ts';\nimport { SuppressNotificationsMigration } from './custom/suppress-notifications-migration.ts';\nimport { TrustLevelMigration } from './custom/trust-level-migration.ts';\nimport { UnpublishSafeMigration } from './custom/unpublish-safe-migration.ts';\nimport { UpdateLockFilesMigration } from './custom/update-lock-files-migration.ts';\nimport { UpgradeInRangeMigration } from './custom/upgrade-in-range-migration.ts';\nimport { VersionStrategyMigration } from './custom/version-strategy-migration.ts';\nimport type {\n MigratableConfig,\n Migration,\n MigrationConstructor,\n} from './types.ts';\n\nexport class MigrationsService {\n static readonly removedProperties: ReadonlySet<string> = new Set([\n 'allowCommandTemplating',\n 'allowPostUpgradeCommandTemplating',\n 'deepExtract',\n 'gitFs',\n 'groupBranchName',\n 'groupCommitMessage',\n 'groupPrBody',\n 'groupPrTitle',\n 'lazyGrouping',\n 'maintainYarnLock',\n 'raiseDeprecationWarnings',\n 'statusCheckVerify',\n 'supportPolicy',\n 'transitiveRemediation',\n 'yarnCacheFolder',\n 'yarnMaintenanceBranchName',\n 'yarnMaintenanceCommitMessage',\n 'yarnMaintenancePrBody',\n 'yarnMaintenancePrTitle',\n ]);\n\n static readonly renamedProperties: ReadonlyMap<string, string> = new Map([\n ['adoptium-java', 'java-version'],\n ['allowCustomCrateRegistries', 'allowCustomCrateGitRegistries'],\n ['allowedPostUpgradeCommands', 'allowedCommands'],\n ['azureAutoApprove', 'autoApprove'],\n ['customChangelogUrl', 'changelogUrl'],\n ['endpoints', 'hostRules'],\n ['excludedPackageNames', 'excludePackageNames'],\n ['exposeEnv', 'exposeAllEnv'],\n ['keepalive', 'keepAlive'],\n ['managerBranchPrefix', 'additionalBranchPrefix'],\n ['multipleMajorPrs', 'separateMultipleMajor'],\n ['separatePatchReleases', 'separateMinorPatch'],\n ['versionScheme', 'versioning'],\n ['lookupNameTemplate', 'packageNameTemplate'],\n ['aliases', 'registryAliases'],\n ['masterIssue', 'dependencyDashboard'],\n ['masterIssueApproval', 'dependencyDashboardApproval'],\n ['masterIssueAutoclose', 'dependencyDashboardAutoclose'],\n ['masterIssueHeader', 'dependencyDashboardHeader'],\n ['masterIssueFooter', 'dependencyDashboardFooter'],\n ['masterIssueTitle', 'dependencyDashboardTitle'],\n ['masterIssueLabels', 'dependencyDashboardLabels'],\n ['regexManagers', 'customManagers'],\n ['baseBranches', 'baseBranchPatterns'],\n ['renovate-config-presets', 'renovate-config'],\n ]);\n\n static readonly customMigrations: readonly MigrationConstructor[] = [\n AutomergeMajorMigration,\n AutomergeMigration,\n AutomergeMinorMigration,\n AutomergePatchMigration,\n AutomergeTypeMigration,\n AzureGitLabAutomergeMigration,\n BaseBranchMigration,\n BinarySourceMigration,\n BranchNameMigration,\n BranchPrefixMigration,\n CompatibilityMigration,\n ComposerIgnorePlatformReqsMigration,\n EnabledManagersMigration,\n ExtendsMigration,\n GoModTidyMigration,\n HostRulesMigration,\n IgnoreNodeModulesMigration,\n IgnoreNpmrcFileMigration,\n IncludeForksMigration,\n MatchStringsMigration,\n PackageNameMigration,\n PackagePatternMigration,\n PackagesMigration,\n PathRulesMigration,\n PinVersionsMigration,\n PostUpdateOptionsMigration,\n RebaseConflictedPrs,\n RebaseStalePrsMigration,\n RenovateForkMigration,\n RequiredStatusChecksMigration,\n ScheduleMigration,\n SemanticCommitsMigration,\n SeparateMajorReleasesMigration,\n SeparateMultipleMajorMigration,\n SuppressNotificationsMigration,\n TrustLevelMigration,\n UnpublishSafeMigration,\n UpgradeInRangeMigration,\n VersionStrategyMigration,\n DryRunMigration,\n RequireConfigMigration,\n PackageFilesMigration,\n DepTypesMigration,\n PackageRulesMigration,\n NodeMigration,\n SemanticPrefixMigration,\n MatchDatasourcesMigration,\n DatasourceMigration,\n RecreateClosedMigration,\n StabilityDaysMigration,\n FetchReleaseNotesMigration,\n MatchManagersMigration,\n CustomManagersMigration,\n PlatformCommitMigration,\n FileMatchMigration,\n UpdateLockFilesMigration,\n ConstraintsMigration,\n ];\n\n static run(\n originalConfig: MigratableConfig,\n parentKey?: string,\n ): RenovateConfig {\n const migratedConfig: RenovateConfig = {};\n const migrations = this.getMigrations(originalConfig, migratedConfig);\n\n for (const [key, value] of Object.entries(originalConfig) as [\n keyof RenovateConfig,\n unknown,\n ][]) {\n // @ts-expect-error -- can't be narrowed\n migratedConfig[key] ??= value;\n const migration = MigrationsService.getMigration(migrations, key);\n\n if (migration) {\n migration.run(value, key, parentKey);\n\n if (migration.deprecated) {\n delete migratedConfig[key];\n }\n }\n }\n\n return migratedConfig;\n }\n\n static isMigrated(\n originalConfig: MigratableConfig,\n migratedConfig: RenovateConfig,\n ): boolean {\n return !dequal(originalConfig, migratedConfig);\n }\n\n public static getMigrations(\n originalConfig: MigratableConfig,\n migratedConfig: RenovateConfig,\n ): readonly Migration[] {\n const migrations: Migration[] = [];\n\n for (const propertyName of MigrationsService.removedProperties) {\n migrations.push(\n new RemovePropertyMigration(\n propertyName,\n originalConfig,\n migratedConfig,\n ),\n );\n }\n\n for (const [\n oldPropertyName,\n newPropertyName,\n ] of MigrationsService.renamedProperties.entries()) {\n migrations.push(\n new RenamePropertyMigration(\n oldPropertyName,\n newPropertyName,\n originalConfig,\n migratedConfig,\n ),\n );\n }\n\n for (const CustomMigration of this.customMigrations) {\n migrations.push(new CustomMigration(originalConfig, migratedConfig));\n }\n\n return migrations;\n }\n\n private static getMigration(\n migrations: readonly Migration[],\n key: string,\n ): Migration | undefined {\n return migrations.find((migration) => {\n if (isRegExp(migration.propertyName)) {\n return migration.propertyName.test(key);\n }\n\n return migration.propertyName === key;\n });\n }\n}\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"migrations-service.js","names":[],"sources":["../../../lib/config/migrations/migrations-service.ts"],"sourcesContent":["import { isRegExp } from '@sindresorhus/is';\nimport { dequal } from 'dequal';\nimport type { RenovateConfig } from '../types.ts';\nimport { RemovePropertyMigration } from './base/remove-property-migration.ts';\nimport { RenamePropertyMigration } from './base/rename-property-migration.ts';\nimport { AutomergeMajorMigration } from './custom/automerge-major-migration.ts';\nimport { AutomergeMigration } from './custom/automerge-migration.ts';\nimport { AutomergeMinorMigration } from './custom/automerge-minor-migration.ts';\nimport { AutomergePatchMigration } from './custom/automerge-patch-migration.ts';\nimport { AutomergeTypeMigration } from './custom/automerge-type-migration.ts';\nimport { AzureGitLabAutomergeMigration } from './custom/azure-gitlab-automerge-migration.ts';\nimport { BaseBranchMigration } from './custom/base-branch-migration.ts';\nimport { BinarySourceMigration } from './custom/binary-source-migration.ts';\nimport { BranchNameMigration } from './custom/branch-name-migration.ts';\nimport { BranchPrefixMigration } from './custom/branch-prefix-migration.ts';\nimport { CompatibilityMigration } from './custom/compatibility-migration.ts';\nimport { ComposerIgnorePlatformReqsMigration } from './custom/composer-ignore-platform-reqs-migration.ts';\nimport { ConstraintsMigration } from './custom/constraints-migration.ts';\nimport { CustomManagersMigration } from './custom/custom-managers-migration.ts';\nimport { DatasourceMigration } from './custom/datasource-migration.ts';\nimport { DepTypesMigration } from './custom/dep-types-migration.ts';\nimport { DependencyDashboardMigration } from './custom/dependency-dashboard-migration.ts';\nimport { DryRunMigration } from './custom/dry-run-migration.ts';\nimport { EnabledManagersMigration } from './custom/enabled-managers-migration.ts';\nimport { ExtendsMigration } from './custom/extends-migration.ts';\nimport { FetchReleaseNotesMigration } from './custom/fetch-release-notes-migration.ts';\nimport { FileMatchMigration } from './custom/file-match-migration.ts';\nimport { GoModTidyMigration } from './custom/go-mod-tidy-migration.ts';\nimport { HostRulesMigration } from './custom/host-rules-migration.ts';\nimport { IgnoreNodeModulesMigration } from './custom/ignore-node-modules-migration.ts';\nimport { IgnoreNpmrcFileMigration } from './custom/ignore-npmrc-file-migration.ts';\nimport { IncludeForksMigration } from './custom/include-forks-migration.ts';\nimport { MatchDatasourcesMigration } from './custom/match-datasources-migration.ts';\nimport { MatchManagersMigration } from './custom/match-managers-migration.ts';\nimport { MatchStringsMigration } from './custom/match-strings-migration.ts';\nimport { NodeMigration } from './custom/node-migration.ts';\nimport { PackageFilesMigration } from './custom/package-files-migration.ts';\nimport { PackageNameMigration } from './custom/package-name-migration.ts';\nimport { PackagePatternMigration } from './custom/package-pattern-migration.ts';\nimport { PackageRulesMigration } from './custom/package-rules-migration.ts';\nimport { PackagesMigration } from './custom/packages-migration.ts';\nimport { PathRulesMigration } from './custom/path-rules-migration.ts';\nimport { PinVersionsMigration } from './custom/pin-versions-migration.ts';\nimport { PlatformCommitMigration } from './custom/platform-commit-migration.ts';\nimport { PostUpdateOptionsMigration } from './custom/post-update-options-migration.ts';\nimport { RebaseConflictedPrs } from './custom/rebase-conflicted-prs-migration.ts';\nimport { RebaseStalePrsMigration } from './custom/rebase-stale-prs-migration.ts';\nimport { RecreateClosedMigration } from './custom/recreate-closed-migration.ts';\nimport { RenovateForkMigration } from './custom/renovate-fork-migration.ts';\nimport { RequireConfigMigration } from './custom/require-config-migration.ts';\nimport { RequiredStatusChecksMigration } from './custom/required-status-checks-migration.ts';\nimport { ScheduleMigration } from './custom/schedule-migration.ts';\nimport { SemanticCommitsMigration } from './custom/semantic-commits-migration.ts';\nimport { SemanticPrefixMigration } from './custom/semantic-prefix-migration.ts';\nimport { SeparateMajorReleasesMigration } from './custom/separate-major-release-migration.ts';\nimport { SeparateMultipleMajorMigration } from './custom/separate-multiple-major-migration.ts';\nimport { StabilityDaysMigration } from './custom/stability-days-migration.ts';\nimport { SuppressNotificationsMigration } from './custom/suppress-notifications-migration.ts';\nimport { TrustLevelMigration } from './custom/trust-level-migration.ts';\nimport { UnpublishSafeMigration } from './custom/unpublish-safe-migration.ts';\nimport { UpdateLockFilesMigration } from './custom/update-lock-files-migration.ts';\nimport { UpgradeInRangeMigration } from './custom/upgrade-in-range-migration.ts';\nimport { VersionStrategyMigration } from './custom/version-strategy-migration.ts';\nimport type {\n MigratableConfig,\n Migration,\n MigrationConstructor,\n} from './types.ts';\n\nexport class MigrationsService {\n static readonly removedProperties: ReadonlySet<string> = new Set([\n 'allowCommandTemplating',\n 'allowPostUpgradeCommandTemplating',\n 'deepExtract',\n 'gitFs',\n 'groupBranchName',\n 'groupCommitMessage',\n 'groupPrBody',\n 'groupPrTitle',\n 'lazyGrouping',\n 'maintainYarnLock',\n 'raiseDeprecationWarnings',\n 'statusCheckVerify',\n 'supportPolicy',\n 'transitiveRemediation',\n 'yarnCacheFolder',\n 'yarnMaintenanceBranchName',\n 'yarnMaintenanceCommitMessage',\n 'yarnMaintenancePrBody',\n 'yarnMaintenancePrTitle',\n ]);\n\n static readonly renamedProperties: ReadonlyMap<string, string> = new Map([\n ['adoptium-java', 'java-version'],\n ['allowCustomCrateRegistries', 'allowCustomCrateGitRegistries'],\n ['allowedPostUpgradeCommands', 'allowedCommands'],\n ['azureAutoApprove', 'autoApprove'],\n ['customChangelogUrl', 'changelogUrl'],\n ['endpoints', 'hostRules'],\n ['excludedPackageNames', 'excludePackageNames'],\n ['exposeEnv', 'exposeAllEnv'],\n ['keepalive', 'keepAlive'],\n ['managerBranchPrefix', 'additionalBranchPrefix'],\n ['multipleMajorPrs', 'separateMultipleMajor'],\n ['separatePatchReleases', 'separateMinorPatch'],\n ['versionScheme', 'versioning'],\n ['lookupNameTemplate', 'packageNameTemplate'],\n ['aliases', 'registryAliases'],\n ['masterIssue', 'dependencyDashboard'],\n ['masterIssueApproval', 'dependencyDashboardApproval'],\n ['masterIssueAutoclose', 'dependencyDashboardAutoclose'],\n ['masterIssueHeader', 'dependencyDashboardHeader'],\n ['masterIssueFooter', 'dependencyDashboardFooter'],\n ['masterIssueTitle', 'dependencyDashboardTitle'],\n ['masterIssueLabels', 'dependencyDashboardLabels'],\n ['regexManagers', 'customManagers'],\n ['baseBranches', 'baseBranchPatterns'],\n ['renovate-config-presets', 'renovate-config'],\n ]);\n\n static readonly customMigrations: readonly MigrationConstructor[] = [\n AutomergeMajorMigration,\n AutomergeMigration,\n AutomergeMinorMigration,\n AutomergePatchMigration,\n AutomergeTypeMigration,\n AzureGitLabAutomergeMigration,\n BaseBranchMigration,\n BinarySourceMigration,\n BranchNameMigration,\n BranchPrefixMigration,\n CompatibilityMigration,\n ComposerIgnorePlatformReqsMigration,\n EnabledManagersMigration,\n ExtendsMigration,\n GoModTidyMigration,\n HostRulesMigration,\n IgnoreNodeModulesMigration,\n IgnoreNpmrcFileMigration,\n IncludeForksMigration,\n MatchStringsMigration,\n PackageNameMigration,\n PackagePatternMigration,\n PackagesMigration,\n PathRulesMigration,\n PinVersionsMigration,\n PostUpdateOptionsMigration,\n RebaseConflictedPrs,\n RebaseStalePrsMigration,\n RenovateForkMigration,\n RequiredStatusChecksMigration,\n ScheduleMigration,\n SemanticCommitsMigration,\n SeparateMajorReleasesMigration,\n SeparateMultipleMajorMigration,\n SuppressNotificationsMigration,\n TrustLevelMigration,\n UnpublishSafeMigration,\n UpgradeInRangeMigration,\n VersionStrategyMigration,\n DryRunMigration,\n RequireConfigMigration,\n PackageFilesMigration,\n DepTypesMigration,\n PackageRulesMigration,\n NodeMigration,\n SemanticPrefixMigration,\n MatchDatasourcesMigration,\n DatasourceMigration,\n RecreateClosedMigration,\n StabilityDaysMigration,\n FetchReleaseNotesMigration,\n MatchManagersMigration,\n CustomManagersMigration,\n PlatformCommitMigration,\n FileMatchMigration,\n UpdateLockFilesMigration,\n ConstraintsMigration,\n DependencyDashboardMigration,\n ];\n\n static run(\n originalConfig: MigratableConfig,\n parentKey?: string,\n ): RenovateConfig {\n const migratedConfig: RenovateConfig = {};\n const migrations = this.getMigrations(originalConfig, migratedConfig);\n\n for (const [key, value] of Object.entries(originalConfig) as [\n keyof RenovateConfig,\n unknown,\n ][]) {\n // @ts-expect-error -- can't be narrowed\n migratedConfig[key] ??= value;\n const migration = MigrationsService.getMigration(migrations, key);\n\n if (migration) {\n migration.run(value, key, parentKey);\n\n if (migration.deprecated) {\n delete migratedConfig[key];\n }\n }\n }\n\n return migratedConfig;\n }\n\n static isMigrated(\n originalConfig: MigratableConfig,\n migratedConfig: RenovateConfig,\n ): boolean {\n return !dequal(originalConfig, migratedConfig);\n }\n\n public static getMigrations(\n originalConfig: MigratableConfig,\n migratedConfig: RenovateConfig,\n ): readonly Migration[] {\n const migrations: Migration[] = [];\n\n for (const propertyName of MigrationsService.removedProperties) {\n migrations.push(\n new RemovePropertyMigration(\n propertyName,\n originalConfig,\n migratedConfig,\n ),\n );\n }\n\n for (const [\n oldPropertyName,\n newPropertyName,\n ] of MigrationsService.renamedProperties.entries()) {\n migrations.push(\n new RenamePropertyMigration(\n oldPropertyName,\n newPropertyName,\n originalConfig,\n migratedConfig,\n ),\n );\n }\n\n for (const CustomMigration of this.customMigrations) {\n migrations.push(new CustomMigration(originalConfig, migratedConfig));\n }\n\n return migrations;\n }\n\n private static getMigration(\n migrations: readonly Migration[],\n key: string,\n ): Migration | undefined {\n return migrations.find((migration) => {\n if (isRegExp(migration.propertyName)) {\n return migration.propertyName.test(key);\n }\n\n return migration.propertyName === key;\n });\n }\n}\n"],"mappings":"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"}
|
|
@@ -3,8 +3,8 @@ import { PLATFORM_HOST_TYPES } from "../../constants/platforms.js";
|
|
|
3
3
|
import { AllDatasourcesListLiteral } from "../../datasource-list.generated.js";
|
|
4
4
|
import { managerDefaultConfigs } from "../../manager-default-configs.generated.js";
|
|
5
5
|
import { AllManagersListLiteral, CustomManagersListLiteral } from "../../manager-list.generated.js";
|
|
6
|
-
import { additionalConstraintDefinitions, toolDefinitionDocumentation } from "../../util/exec/types.js";
|
|
7
6
|
import { getSupportedToolNames } from "../../util/exec/containerbase.js";
|
|
7
|
+
import { additionalConstraintDefinitions, toolDefinitionDocumentation } from "../../util/exec/types.js";
|
|
8
8
|
import { AllVersioningsListLiteral } from "../../versioning-list.generated.js";
|
|
9
9
|
import { supportedDatasources } from "../presets/internal/merge-confidence.preset.js";
|
|
10
10
|
import { CustomDatasourceFormats, allowedStatusCheckStrings, allowedStatusCheckWhenValues } from "../types.js";
|
|
@@ -549,7 +549,11 @@ const options = [
|
|
|
549
549
|
"manager",
|
|
550
550
|
"updateType"
|
|
551
551
|
],
|
|
552
|
-
parents: [
|
|
552
|
+
parents: [
|
|
553
|
+
"dependencyDashboard",
|
|
554
|
+
"hostRules",
|
|
555
|
+
"vulnerabilityAlerts"
|
|
556
|
+
]
|
|
553
557
|
},
|
|
554
558
|
{
|
|
555
559
|
name: "constraintsFiltering",
|
|
@@ -763,7 +767,7 @@ const options = [
|
|
|
763
767
|
name: "dockerSidecarImage",
|
|
764
768
|
description: "Change this value to override the default Renovate sidecar image.",
|
|
765
769
|
type: "string",
|
|
766
|
-
default: "ghcr.io/renovatebot/base-image:13.
|
|
770
|
+
default: "ghcr.io/renovatebot/base-image:13.166.3",
|
|
767
771
|
globalOnly: true,
|
|
768
772
|
deprecationMsg: "The usage of `binarySource=docker` is deprecated, and will be removed in the future"
|
|
769
773
|
},
|
|
@@ -967,75 +971,118 @@ const options = [
|
|
|
967
971
|
{
|
|
968
972
|
name: "dependencyDashboard",
|
|
969
973
|
scopes: ["repo"],
|
|
970
|
-
description: "
|
|
971
|
-
type: "
|
|
972
|
-
default:
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
974
|
+
description: "Configuration for the \"Dependency Dashboard\" issue.",
|
|
975
|
+
type: "object",
|
|
976
|
+
default: {
|
|
977
|
+
enabled: false,
|
|
978
|
+
autoclose: false,
|
|
979
|
+
title: "Dependency Dashboard",
|
|
980
|
+
header: "This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.",
|
|
981
|
+
osvVulnerabilitySummary: "none",
|
|
982
|
+
reportAbandonment: true,
|
|
983
|
+
pinned: false,
|
|
984
|
+
customize: {}
|
|
985
|
+
},
|
|
986
|
+
mergeable: true,
|
|
987
|
+
additionalProperties: false
|
|
980
988
|
},
|
|
981
989
|
{
|
|
982
|
-
name: "
|
|
983
|
-
scopes: ["repo"],
|
|
990
|
+
name: "autoclose",
|
|
984
991
|
description: "Set to `true` to let Renovate close the Dependency Dashboard issue if there are no more updates.",
|
|
985
992
|
type: "boolean",
|
|
986
|
-
|
|
993
|
+
parents: ["dependencyDashboard"],
|
|
994
|
+
default: false,
|
|
995
|
+
cli: false,
|
|
996
|
+
env: false
|
|
987
997
|
},
|
|
988
998
|
{
|
|
989
|
-
name: "
|
|
990
|
-
scopes: ["repo"],
|
|
999
|
+
name: "title",
|
|
991
1000
|
description: "Title for the Dependency Dashboard issue.",
|
|
992
1001
|
type: "string",
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
{
|
|
996
|
-
name: "dependencyDashboardCategory",
|
|
997
|
-
scopes: sharedScopes,
|
|
998
|
-
description: "The category to group branches on the Dependency Dashboard issue.",
|
|
999
|
-
type: "string",
|
|
1000
|
-
default: null,
|
|
1002
|
+
parents: ["dependencyDashboard"],
|
|
1003
|
+
default: `Dependency Dashboard`,
|
|
1001
1004
|
cli: false,
|
|
1002
1005
|
env: false
|
|
1003
1006
|
},
|
|
1004
1007
|
{
|
|
1005
|
-
name: "
|
|
1006
|
-
scopes: ["repo"],
|
|
1008
|
+
name: "header",
|
|
1007
1009
|
description: "Any text added here will be placed first in the Dependency Dashboard issue body.",
|
|
1008
1010
|
type: "string",
|
|
1011
|
+
parents: ["dependencyDashboard"],
|
|
1009
1012
|
default: "This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.",
|
|
1010
|
-
supportsTemplating: true
|
|
1013
|
+
supportsTemplating: true,
|
|
1014
|
+
cli: false,
|
|
1015
|
+
env: false
|
|
1011
1016
|
},
|
|
1012
1017
|
{
|
|
1013
|
-
name: "
|
|
1014
|
-
scopes: ["repo"],
|
|
1018
|
+
name: "footer",
|
|
1015
1019
|
description: "Any text added here will be placed last in the Dependency Dashboard issue body, with a divider separator before it.",
|
|
1016
1020
|
type: "string",
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
scopes: ["repo"],
|
|
1022
|
-
description: "These labels will always be applied on the Dependency Dashboard issue, even when they have been removed manually.",
|
|
1023
|
-
type: "array",
|
|
1024
|
-
subType: "string",
|
|
1025
|
-
default: null
|
|
1021
|
+
parents: ["dependencyDashboard"],
|
|
1022
|
+
supportsTemplating: true,
|
|
1023
|
+
cli: false,
|
|
1024
|
+
env: false
|
|
1026
1025
|
},
|
|
1027
1026
|
{
|
|
1028
|
-
name: "
|
|
1029
|
-
scopes: ["repo"],
|
|
1027
|
+
name: "osvVulnerabilitySummary",
|
|
1030
1028
|
description: "Control if the Dependency Dashboard issue lists CVEs supplied by [osv.dev](https://osv.dev).",
|
|
1031
1029
|
type: "string",
|
|
1030
|
+
parents: ["dependencyDashboard"],
|
|
1032
1031
|
allowedValues: [
|
|
1033
1032
|
"none",
|
|
1034
1033
|
"all",
|
|
1035
1034
|
"unresolved"
|
|
1036
1035
|
],
|
|
1037
1036
|
default: "none",
|
|
1038
|
-
experimental: true
|
|
1037
|
+
experimental: true,
|
|
1038
|
+
cli: false,
|
|
1039
|
+
env: false
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
name: "pinned",
|
|
1043
|
+
description: "Controls whether the Dependency Dashboard should be pinned.",
|
|
1044
|
+
type: "boolean",
|
|
1045
|
+
parents: ["dependencyDashboard"],
|
|
1046
|
+
supportedPlatforms: ["github"],
|
|
1047
|
+
default: false,
|
|
1048
|
+
cli: false,
|
|
1049
|
+
env: false
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
name: "reportAbandonment",
|
|
1053
|
+
description: "Controls whether abandoned packages are reported in the Dependency Dashboard issue.",
|
|
1054
|
+
type: "boolean",
|
|
1055
|
+
parents: ["dependencyDashboard"],
|
|
1056
|
+
default: true,
|
|
1057
|
+
cli: false,
|
|
1058
|
+
env: false
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
name: "customize",
|
|
1062
|
+
description: "Customize sections in the Dependency Dashboard issue.",
|
|
1063
|
+
type: "object",
|
|
1064
|
+
parents: ["dependencyDashboard"],
|
|
1065
|
+
default: {},
|
|
1066
|
+
freeChoice: true,
|
|
1067
|
+
additionalProperties: { type: "string" },
|
|
1068
|
+
cli: false,
|
|
1069
|
+
env: false
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
name: "dependencyDashboardApproval",
|
|
1073
|
+
scopes: sharedScopes,
|
|
1074
|
+
description: "Controls if updates need manual approval from the Dependency Dashboard issue before PRs are created.",
|
|
1075
|
+
type: "boolean",
|
|
1076
|
+
default: false
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
name: "dependencyDashboardCategory",
|
|
1080
|
+
scopes: sharedScopes,
|
|
1081
|
+
description: "The category to group branches on the Dependency Dashboard issue.",
|
|
1082
|
+
type: "string",
|
|
1083
|
+
default: null,
|
|
1084
|
+
cli: false,
|
|
1085
|
+
env: false
|
|
1039
1086
|
},
|
|
1040
1087
|
{
|
|
1041
1088
|
name: "configWarningReuseIssue",
|
|
@@ -1486,9 +1533,11 @@ const options = [
|
|
|
1486
1533
|
"helmfile",
|
|
1487
1534
|
"helmsman",
|
|
1488
1535
|
"helmv3",
|
|
1536
|
+
"jsonata",
|
|
1489
1537
|
"kubernetes",
|
|
1490
1538
|
"kustomize",
|
|
1491
1539
|
"maven",
|
|
1540
|
+
"regex",
|
|
1492
1541
|
"terraform",
|
|
1493
1542
|
"vendir",
|
|
1494
1543
|
"woodpecker"
|
|
@@ -1669,7 +1718,7 @@ const options = [
|
|
|
1669
1718
|
type: "array",
|
|
1670
1719
|
subType: "string",
|
|
1671
1720
|
allowString: true,
|
|
1672
|
-
|
|
1721
|
+
allowedValues: [...AllManagersListLiteral, ...CustomManagersListLiteral.map((manager) => `custom.${manager}`)],
|
|
1673
1722
|
parents: ["packageRules"],
|
|
1674
1723
|
stage: "package",
|
|
1675
1724
|
mergeable: true,
|
|
@@ -2372,6 +2421,26 @@ const options = [
|
|
|
2372
2421
|
default: "30 minutes",
|
|
2373
2422
|
nullable: true
|
|
2374
2423
|
},
|
|
2424
|
+
{
|
|
2425
|
+
name: "minimumReleaseAgePackageManager",
|
|
2426
|
+
scopes: ["repo", "manager"],
|
|
2427
|
+
description: "Lower bound for the minimum release age which Renovate passes to package managers if `minimumReleaseAgePackageManagerSync` is enabled.",
|
|
2428
|
+
type: "string",
|
|
2429
|
+
default: null,
|
|
2430
|
+
experimental: true,
|
|
2431
|
+
experimentalDescription: "The behavior may change while the integration with each package manager is completed.",
|
|
2432
|
+
experimentalIssues: [41652]
|
|
2433
|
+
},
|
|
2434
|
+
{
|
|
2435
|
+
name: "minimumReleaseAgePackageManagerSync",
|
|
2436
|
+
scopes: ["repo", "manager"],
|
|
2437
|
+
description: "Opt early into the new `minimumReleaseAge` behavior: Renovate uses the minimum release age of the package manager's config and passes `minimumReleaseAge` of the repository to the package manager.",
|
|
2438
|
+
type: "boolean",
|
|
2439
|
+
default: false,
|
|
2440
|
+
experimental: true,
|
|
2441
|
+
experimentalDescription: "The behavior may change while the integration with each package manager is completed.",
|
|
2442
|
+
experimentalIssues: [41652]
|
|
2443
|
+
},
|
|
2375
2444
|
{
|
|
2376
2445
|
name: "abandonmentThreshold",
|
|
2377
2446
|
scopes: lookupScopes,
|
|
@@ -2379,13 +2448,6 @@ const options = [
|
|
|
2379
2448
|
type: "string",
|
|
2380
2449
|
default: null
|
|
2381
2450
|
},
|
|
2382
|
-
{
|
|
2383
|
-
name: "dependencyDashboardReportAbandonment",
|
|
2384
|
-
scopes: ["repo"],
|
|
2385
|
-
description: "Controls whether abandoned packages are reported in the dependency dashboard.",
|
|
2386
|
-
type: "boolean",
|
|
2387
|
-
default: true
|
|
2388
|
-
},
|
|
2389
2451
|
{
|
|
2390
2452
|
name: "internalChecksAsSuccess",
|
|
2391
2453
|
scopes: sharedScopes,
|
|
@@ -2544,7 +2606,8 @@ const options = [
|
|
|
2544
2606
|
allowedValues: [
|
|
2545
2607
|
"branch",
|
|
2546
2608
|
"pr",
|
|
2547
|
-
"pr-comment"
|
|
2609
|
+
"pr-comment",
|
|
2610
|
+
"label"
|
|
2548
2611
|
],
|
|
2549
2612
|
default: "pr"
|
|
2550
2613
|
},
|
|
@@ -2577,6 +2640,13 @@ const options = [
|
|
|
2577
2640
|
type: "string",
|
|
2578
2641
|
default: "automergeComment"
|
|
2579
2642
|
},
|
|
2643
|
+
{
|
|
2644
|
+
name: "automergeLabel",
|
|
2645
|
+
scopes: sharedScopes,
|
|
2646
|
+
description: "Label to add to the PR to trigger automerge. Only used if `automergeType=label`.",
|
|
2647
|
+
type: "string",
|
|
2648
|
+
default: "automerge"
|
|
2649
|
+
},
|
|
2580
2650
|
{
|
|
2581
2651
|
name: "ignoreTests",
|
|
2582
2652
|
scopes: sharedScopes,
|
|
@@ -2794,15 +2864,6 @@ const options = [
|
|
|
2794
2864
|
default: `This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).`,
|
|
2795
2865
|
supportsTemplating: true
|
|
2796
2866
|
},
|
|
2797
|
-
{
|
|
2798
|
-
name: "customizeDashboard",
|
|
2799
|
-
scopes: ["repo"],
|
|
2800
|
-
description: "Customize sections in the Dependency Dashboard issue.",
|
|
2801
|
-
type: "object",
|
|
2802
|
-
default: {},
|
|
2803
|
-
freeChoice: true,
|
|
2804
|
-
additionalProperties: { type: "string" }
|
|
2805
|
-
},
|
|
2806
2867
|
{
|
|
2807
2868
|
name: "lockFileMaintenance",
|
|
2808
2869
|
scopes: [
|
|
@@ -2880,7 +2941,8 @@ const options = [
|
|
|
2880
2941
|
{
|
|
2881
2942
|
name: "labels",
|
|
2882
2943
|
scopes: sharedScopes,
|
|
2883
|
-
|
|
2944
|
+
parents: ["dependencyDashboard"],
|
|
2945
|
+
description: "Labels to set in Pull Request, or on the Dependency Dashboard issue when used in `dependencyDashboard`.",
|
|
2884
2946
|
type: "array",
|
|
2885
2947
|
subType: "string",
|
|
2886
2948
|
supportsTemplating: true
|