repo
stringlengths
5
92
file_url
stringlengths
80
287
file_path
stringlengths
5
197
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:37:27
2026-01-04 17:58:21
truncated
bool
2 classes
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/lib/dependabot/git_submodules/package_manager.rb
git_submodules/lib/dependabot/git_submodules/package_manager.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/ecosystem" require "dependabot/git_submodules/version" module Dependabot module GitSubmodules ECOSYSTEM = "git_submodules" PACKAGE_MANAGER = "git_submodules" SUPPORTED_GIT_VERSIONS = T.let([].freeze, T::Array[Depe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/lib/dependabot/git_submodules/update_checker.rb
git_submodules/lib/dependabot/git_submodules/update_checker.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/update_checkers" require "dependabot/update_checkers/base" require "dependabot/git_submodules/version" require "dependabot/git_commit_checker" require "dependabot/git_submodules/requirement" module Dependabot module GitSubmo...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/lib/dependabot/git_submodules/metadata_finder.rb
git_submodules/lib/dependabot/git_submodules/metadata_finder.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/metadata_finders" require "dependabot/metadata_finders/base" module Dependabot module GitSubmodules class MetadataFinder < Dependabot::MetadataFinders::Base extend T::Sig private sig { override.return...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/lib/dependabot/git_submodules/file_parser.rb
git_submodules/lib/dependabot/git_submodules/file_parser.rb
# typed: strict # frozen_string_literal: true require "parseconfig" require "sorbet-runtime" require "dependabot/dependency" require "dependabot/file_parsers" require "dependabot/file_parsers/base" require "dependabot/shared_helpers" require "dependabot/git_submodules/package_manager" module Dependabot module GitS...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/lib/dependabot/git_submodules/package/package_details_fetcher.rb
git_submodules/lib/dependabot/git_submodules/package/package_details_fetcher.rb
# typed: strict # frozen_string_literal: true require "json" require "time" require "cgi" require "excon" require "nokogiri" require "sorbet-runtime" require "dependabot/registry_client" require "dependabot/git_submodules" require "dependabot/package/package_release" require "dependabot/package/package_details" modul...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/lib/dependabot/git_submodules/update_checker/latest_version_finder.rb
git_submodules/lib/dependabot/git_submodules/update_checker/latest_version_finder.rb
# typed: strong # frozen_string_literal: true require "excon" require "json" require "sorbet-runtime" require "dependabot/errors" require "dependabot/shared_helpers" require "dependabot/update_checkers/version_filters" require "dependabot/package/package_latest_version_finder" require "dependabot/git_submodules/updat...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/spec_helper.rb
maven/spec/spec_helper.rb
# typed: strict # frozen_string_literal: true def common_dir @common_dir ||= Gem::Specification.find_by_name("dependabot-common").gem_dir end def require_common_spec(path) require "#{common_dir}/spec/dependabot/#{path}" end require "#{common_dir}/spec/spec_helper.rb"
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven_spec.rb
maven/spec/dependabot/maven_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/maven" require_common_spec "shared_examples_for_autoloading" RSpec.describe Dependabot::Maven do it_behaves_like "it registers the required classes", "maven" describe "Dependency#display_name" do subject(:display_name) do ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/requirement_spec.rb
maven/spec/dependabot/maven/requirement_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/maven/requirement" require "dependabot/maven/version" RSpec.describe Dependabot::Maven::Requirement do subject(:requirement) { described_class.new(requirement_string) } let(:requirement_string) { ">=1.0.0" } describe ".new"...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/version_spec.rb
maven/spec/dependabot/maven/version_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/maven/version" RSpec.describe Dependabot::Maven::Version do subject(:version) { described_class.new(version_string) } let(:version_string) { "1.0.0" } describe ".correct?" do subject { described_class.correct?(version_s...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/native_helpers_spec.rb
maven/spec/dependabot/maven/native_helpers_spec.rb
# typed: strong # frozen_string_literal: true require "shellwords" require "sorbet-runtime" require "spec_helper" require "dependabot/maven/native_helpers" RSpec.describe Dependabot::Maven::NativeHelpers do describe "handle_tool_error" do context "when the output contains a 403 error" do let(:output) { "C...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/metadata_finder_spec.rb
maven/spec/dependabot/maven/metadata_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/maven/metadata_finder" require_common_spec "metadata_finders/shared_examples_for_metadata_finders" RSpec.describe Dependabot::Maven::MetadataFinder do subject(:finder) do described_class.new(de...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/file_updater_spec.rb
maven/spec/dependabot/maven/file_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/dependency" require "dependabot/maven/file_updater" require_common_spec "file_updaters/shared_examples_for_file_updaters" RSpec.describe Dependabot::Maven::FileUpdater do let(:dependency_group...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/version_parser_spec.rb
maven/spec/dependabot/maven/version_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/maven/version_parser" RSpec.describe Dependabot::Maven::VersionParser do subject(:version) { described_class.parse(version_string) } describe ".parse" do let(:valid_versions) do [ ["1.2.3", [1, 2, 3]], ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/update_checker_spec.rb
maven/spec/dependabot/maven/update_checker_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/maven/update_checker" require "dependabot/maven/version" require_common_spec "update_checkers/shared_examples_for_update_checkers" RSpec.describe Dependabot::Mave...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/package_manager_spec.rb
maven/spec/dependabot/maven/package_manager_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/maven/package_manager" require "dependabot/ecosystem" require "spec_helper" RSpec.describe Dependabot::Maven::PackageManager do subject(:package_manager) { described_class.new(version) } let(:version) { "3.9.5" } describe "#version" do it "r...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/token_bucket_spec.rb
maven/spec/dependabot/maven/token_bucket_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/maven/token_bucket" RSpec.describe Dependabot::Maven::TokenBucket do subject(:token_bucket) { described_class.new(tokens: tokens, addition: addition) } let(:tokens) { [1, 2, 3] } let(:addition) { nil } describe "#to_a" do...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/file_fetcher_spec.rb
maven/spec/dependabot/maven/file_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/maven/file_fetcher" require_common_spec "file_fetchers/shared_examples_for_file_fetchers" RSpec.describe Dependabot::Maven::FileFetcher do let(:credentials) do [{ "type" => "git_source", "host" => "github.com", ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/file_parser_spec.rb
maven/spec/dependabot/maven/file_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/source" require "dependabot/file_parsers/base/dependency_set" require "dependabot/maven/file_parser" require "dependabot/maven/file_parser/maven_dependency_parser"...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/language_spec.rb
maven/spec/dependabot/maven/language_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/maven/language" require "dependabot/ecosystem" require "spec_helper" RSpec.describe Dependabot::Maven::Language do let(:language) { described_class.new(version) } let(:version) { "3.0.0" } describe "#version" do it "returns the version" do ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/utils/auth_headers_finder_spec.rb
maven/spec/dependabot/maven/utils/auth_headers_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/maven/utils/auth_headers_finder" RSpec.describe Dependabot::Maven::Utils::AuthHeadersFinder do subject(:finder) { described_class.new(credentials) } let(:credentials) do [ { "type" => "git_source", "h...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/file_parser/maven_dependency_parser_spec.rb
maven/spec/dependabot/maven/file_parser/maven_dependency_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/source" require "dependabot/maven/file_parser/maven_dependency_parser" RSpec.describe Dependabot::Maven::FileParser::MavenDependencyParser do describe "build_dependency_set" do let(:depend...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/file_parser/repositories_finder_spec.rb
maven/spec/dependabot/maven/file_parser/repositories_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/dependency_file" require "dependabot/maven/file_parser/repositories_finder" require "dependabot/maven/file_parser/pom_fetcher" RSpec.describe Dependabot::Maven::FileParser::RepositoriesFinder do le...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/file_parser/property_value_finder_spec.rb
maven/spec/dependabot/maven/file_parser/property_value_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/maven/file_parser/property_value_finder" RSpec.describe Dependabot::Maven::FileParser::PropertyValueFinder do let(:finder) { described_class.new(dependency_files: dependency_files) } let(:d...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/file_parser/pom_fetcher_spec.rb
maven/spec/dependabot/maven/file_parser/pom_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/maven/file_parser/pom_fetcher" RSpec.describe Dependabot::Maven::FileParser::PomFetcher do let(:fetcher) { described_class.new(dependency_files: dependency_files) } let(:dependency_files) { ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/package/package_details_fetcher_spec.rb
maven/spec/dependabot/maven/package/package_details_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/maven/package/package_details_fetcher" RSpec.describe Dependabot::Maven::Package::PackageDetailsFetcher do subject(:fetcher) do ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/update_checker/version_finder_spec.rb
maven/spec/dependabot/maven/update_checker/version_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/maven/update_checker/version_finder" RSpec.describe Dependabot::Maven::UpdateChecker::VersionFinder do let(:finder) do descr...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/update_checker/requirements_updater_spec.rb
maven/spec/dependabot/maven/update_checker/requirements_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/maven/update_checker/requirements_updater" RSpec.describe Dependabot::Maven::UpdateChecker::RequirementsUpdater do let(:updater) do described_class.new( requirements: requirements, latest_version: latest_version, ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/update_checker/property_updater_spec.rb
maven/spec/dependabot/maven/update_checker/property_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/maven/update_checker/property_updater" RSpec.describe Dependabot::Maven::UpdateChecker::PropertyUpdater do let(:updater) do described_class.new( dependency: dependency, dependency_f...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/spec/dependabot/maven/file_updater/declaration_finder_spec.rb
maven/spec/dependabot/maven/file_updater/declaration_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/maven/file_updater/declaration_finder" RSpec.describe Dependabot::Maven::FileUpdater::DeclarationFinder do let(:finder) do described_class.new( depend...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven.rb
maven/lib/dependabot/maven.rb
# typed: strict # frozen_string_literal: true # These all need to be required so the various classes can be registered in a # lookup table of package manager names to concrete classes. require "dependabot/maven/file_fetcher" require "dependabot/maven/file_parser" require "dependabot/maven/update_checker" require "depe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/file_fetcher.rb
maven/lib/dependabot/maven/file_fetcher.rb
# typed: strict # frozen_string_literal: true require "nokogiri" require "sorbet-runtime" require "dependabot/file_fetchers" require "dependabot/file_fetchers/base" require "dependabot/file_filtering" module Dependabot module Maven class FileFetcher < Dependabot::FileFetchers::Base extend T::Sig ex...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/language.rb
maven/lib/dependabot/maven/language.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/ecosystem" require "dependabot/maven/version" require "dependabot/maven/requirement" module Dependabot module Maven LANGUAGE = "java" class Language < Dependabot::Ecosystem::VersionManager extend T::Sig ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/file_updater.rb
maven/lib/dependabot/maven/file_updater.rb
# typed: strict # frozen_string_literal: true require "nokogiri" require "rexml/document" require "sorbet-runtime" require "dependabot/file_updaters" require "dependabot/file_updaters/base" module Dependabot module Maven class FileUpdater < Dependabot::FileUpdaters::Base extend T::Sig require_relat...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/version.rb
maven/lib/dependabot/maven/version.rb
# typed: strict # frozen_string_literal: true require "dependabot/maven/version_parser" require "dependabot/version" require "dependabot/utils" # See https://maven.apache.org/pom.html#Version_Order_Specification for details. module Dependabot module Maven class Version < Dependabot::Version extend T::Sig...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/requirement.rb
maven/lib/dependabot/maven/requirement.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/requirement" require "dependabot/utils" require "dependabot/maven/version" module Dependabot module Maven class Requirement < Dependabot::Requirement extend T::Sig quoted = OPS.keys.map { |k| Regexp.quote k ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/package_manager.rb
maven/lib/dependabot/maven/package_manager.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/ecosystem" require "dependabot/maven/version" require "dependabot/maven/requirement" module Dependabot module Maven ECOSYSTEM = "maven" PACKAGE_MANAGER = "maven" # Supported versions specified here: https://maven...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/update_checker.rb
maven/lib/dependabot/maven/update_checker.rb
# typed: strict # frozen_string_literal: true require "dependabot/update_checkers" require "dependabot/update_checkers/base" require "dependabot/maven/file_parser/property_value_finder" module Dependabot module Maven class UpdateChecker < Dependabot::UpdateCheckers::Base require_relative "update_checker/r...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/token_bucket.rb
maven/lib/dependabot/maven/token_bucket.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/maven/version_parser" # See https://maven.apache.org/pom.html#Version_Order_Specification for details # module Dependabot module Maven class TokenBucket < T::Struct extend T::Sig extend T::Helpers includ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/native_helpers.rb
maven/lib/dependabot/maven/native_helpers.rb
# typed: strict # frozen_string_literal: true require "shellwords" require "sorbet-runtime" require "nokogiri" module Dependabot module Maven module NativeHelpers extend T::Sig pom_path = File.join(__dir__, "pom.xml") version = File.open(pom_path) do |f| doc = Nokogiri::XML(f) ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/metadata_finder.rb
maven/lib/dependabot/maven/metadata_finder.rb
# typed: strict # frozen_string_literal: true require "nokogiri" require "dependabot/metadata_finders" require "dependabot/metadata_finders/base" require "dependabot/maven/file_fetcher" require "dependabot/maven/file_parser" require "dependabot/maven/file_parser/repositories_finder" require "dependabot/maven/utils/aut...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/version_parser.rb
maven/lib/dependabot/maven/version_parser.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "strscan" require "dependabot/maven/token_bucket" # See https://maven.apache.org/pom.html#Version_Order_Specification for details # module Dependabot module Maven class VersionParser extend T::Sig extend T::Helpers ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/file_parser.rb
maven/lib/dependabot/maven/file_parser.rb
# typed: strict # frozen_string_literal: true require "nokogiri" require "sorbet-runtime" require "open3" require "dependabot/dependency" require "dependabot/file_parsers" require "dependabot/file_parsers/base" require "dependabot/maven/version" require "dependabot/maven/language" require "dependabot/maven/package_ma...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/utils/auth_headers_finder.rb
maven/lib/dependabot/maven/utils/auth_headers_finder.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" module Dependabot module Maven module Utils class AuthHeadersFinder extend T::Sig sig { params(credentials: T::Array[Dependabot::Credential]).void } def initialize(credentials) @credentials = credenti...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/file_parser/repositories_finder.rb
maven/lib/dependabot/maven/file_parser/repositories_finder.rb
# typed: strict # frozen_string_literal: true require "nokogiri" require "dependabot/dependency_file" require "dependabot/maven/file_parser" require "dependabot/registry_client" require "dependabot/errors" # For documentation, see: # - http://maven.apache.org/pom.html#Repositories # - http://maven.apache.org/guides/...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/file_parser/pom_fetcher.rb
maven/lib/dependabot/maven/file_parser/pom_fetcher.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "nokogiri" require "dependabot/dependency_file" require "dependabot/maven/file_parser" require "dependabot/registry_client" module Dependabot module Maven class FileParser class PomFetcher extend T::Sig sig { ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/file_parser/maven_dependency_parser.rb
maven/lib/dependabot/maven/file_parser/maven_dependency_parser.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/maven/file_parser" require "dependabot/maven/native_helpers" module Dependabot module Maven class FileParser class MavenDependencyParser extend T::Sig require "dependabot/file_parsers/base/dependen...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/file_parser/property_value_finder.rb
maven/lib/dependabot/maven/file_parser/property_value_finder.rb
# typed: strict # frozen_string_literal: true require "nokogiri" require "sorbet-runtime" require "dependabot/dependency_file" require "dependabot/maven/file_parser" require "dependabot/registry_client" # For documentation, see: # - http://maven.apache.org/guides/introduction/introduction-to-the-pom.html # - http://m...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/package/package_details_fetcher.rb
maven/lib/dependabot/maven/package/package_details_fetcher.rb
# typed: strict # frozen_string_literal: true require "time" require "excon" require "nokogiri" require "dependabot/registry_client" require "dependabot/package/package_release" require "dependabot/package/package_details" require "dependabot/maven/file_parser/repositories_finder" require "dependabot/maven/version" re...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/update_checker/version_finder.rb
maven/lib/dependabot/maven/update_checker/version_finder.rb
# typed: strong # frozen_string_literal: true require "dependabot/package/package_latest_version_finder" require "dependabot/package/release_cooldown_options" require "dependabot/update_checkers/version_filters" require "dependabot/maven/package/package_details_fetcher" require "dependabot/maven/update_checker" requir...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/update_checker/property_updater.rb
maven/lib/dependabot/maven/update_checker/property_updater.rb
# typed: strict # frozen_string_literal: true require "dependabot/package/release_cooldown_options" require "dependabot/maven/file_parser" require "dependabot/maven/update_checker" require "dependabot/maven/file_updater/declaration_finder" require "sorbet-runtime" module Dependabot module Maven class UpdateChec...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/update_checker/requirements_updater.rb
maven/lib/dependabot/maven/update_checker/requirements_updater.rb
# typed: strict # frozen_string_literal: true ####################################################### # For more details on Maven version constraints, see: # # https://maven.apache.org/pom.html#Dependencies # ####################################################### require "dependabot/requirements_updater/base" r...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/file_updater/declaration_finder.rb
maven/lib/dependabot/maven/file_updater/declaration_finder.rb
# typed: strict # frozen_string_literal: true require "nokogiri" require "dependabot/maven/file_updater" require "dependabot/maven/file_parser" require "dependabot/maven/file_parser/property_value_finder" module Dependabot module Maven class FileUpdater class DeclarationFinder extend T::Sig ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/maven/lib/dependabot/maven/file_updater/property_value_updater.rb
maven/lib/dependabot/maven/file_updater/property_value_updater.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "nokogiri" require "dependabot/dependency_file" require "dependabot/maven/file_updater" require "dependabot/maven/file_parser/property_value_finder" module Dependabot module Maven class FileUpdater class PropertyValueUpdater ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/spec/spec_helper.rb
bazel/spec/spec_helper.rb
# typed: false # frozen_string_literal: true def common_dir @common_dir ||= Gem::Specification.find_by_name("dependabot-common").gem_dir end def require_common_spec(path) require "#{common_dir}/spec/dependabot/#{path}" end require "#{common_dir}/spec/spec_helper.rb" def bazel_project_dependency_files(project, d...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/spec/dependabot/bazel_spec.rb
bazel/spec/dependabot/bazel_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/bazel" require_common_spec "shared_examples_for_autoloading" RSpec.describe Dependabot::Bazel do it_behaves_like "it registers the required classes", "bazel" end
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/spec/dependabot/bazel/version_spec.rb
bazel/spec/dependabot/bazel/version_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/bazel/version" RSpec.describe Dependabot::Bazel::Version do subject(:version) { described_class.new(version_string) } describe "#to_s" do context "with a standard semantic version" do let(:version_string) { "1.2.3" }...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/spec/dependabot/bazel/metadata_finder_spec.rb
bazel/spec/dependabot/bazel/metadata_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/dependency" require "dependabot/bazel/metadata_finder" require_common_spec "metadata_finders/shared_examples_for_metadata_finders" RSpec.describe Dependabot::Bazel::MetadataFinder do subject(:finde...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/spec/dependabot/bazel/file_updater_spec.rb
bazel/spec/dependabot/bazel/file_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/bazel/file_updater" require_common_spec "file_updaters/shared_examples_for_file_updaters" RSpec.describe Dependabot::Bazel::FileUpdater do subject(:file_updater...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/spec/dependabot/bazel/update_checker_spec.rb
bazel/spec/dependabot/bazel/update_checker_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/bazel" require "dependabot/bazel/update_checker" require "dependabot/bazel/version" require_common_spec "update_checkers/shared_examples_for_update_checkers" RSpec.describe Dependabot::Bazel::UpdateChecker do let(:dependency) do ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/spec/dependabot/bazel/file_fetcher_spec.rb
bazel/spec/dependabot/bazel/file_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/bazel/file_fetcher" require_common_spec "file_fetchers/shared_examples_for_file_fetchers" RSpec.describe Dependabot::Bazel::FileFetcher do let(:credentials) do [{ "type" => "git_source", "host" => "github.com", ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/spec/dependabot/bazel/file_parser_spec.rb
bazel/spec/dependabot/bazel/file_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/bazel/file_parser" require_common_spec "file_parsers/shared_examples_for_file_parsers" RSpec.describe Dependabot::Bazel::FileParser do subject(:parser) do described_class.new( depend...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/spec/dependabot/bazel/file_parser/starlark_parser_spec.rb
bazel/spec/dependabot/bazel/file_parser/starlark_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/bazel/file_parser/starlark_parser" RSpec.describe Dependabot::Bazel::FileParser::StarlarkParser do let(:parser) { described_class.new(content) } describe "#parse_function_calls" do context "with simple function calls" do ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/spec/dependabot/bazel/update_checker/requirements_updater_spec.rb
bazel/spec/dependabot/bazel/update_checker/requirements_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/bazel/update_checker/requirements_updater" RSpec.describe Dependabot::Bazel::UpdateChecker::RequirementsUpdater do let(:updater) do described_class.new( requirements: requirements, latest_version: latest_version ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/spec/dependabot/bazel/update_checker/registry_client_spec.rb
bazel/spec/dependabot/bazel/update_checker/registry_client_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "ostruct" require "base64" require "octokit" require "dependabot/bazel/update_checker" RSpec.describe Dependabot::Bazel::UpdateChecker::RegistryClient do let(:credentials) { [] } let(:client) { described_class.new(credentials: credentials)...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/spec/dependabot/bazel/file_updater/lockfile_updater_spec.rb
bazel/spec/dependabot/bazel/file_updater/lockfile_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/bazel/file_updater/lockfile_updater" RSpec.describe Dependabot::Bazel::FileUpdater::LockfileUpdater do let(:lockfile_updater) do described_class.new( dependency_files: dependency_files, dependencies: dependencies,...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel.rb
bazel/lib/dependabot/bazel.rb
# typed: strong # frozen_string_literal: true # These all need to be required so the various classes can be registered in a # lookup table of package manager names to concrete classes. require "dependabot/bazel/file_fetcher" require "dependabot/bazel/file_parser" require "dependabot/bazel/update_checker" require "depe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/file_fetcher.rb
bazel/lib/dependabot/bazel/file_fetcher.rb
# typed: strict # frozen_string_literal: true require "dependabot/file_fetchers" require "dependabot/file_fetchers/base" module Dependabot module Bazel class FileFetcher < Dependabot::FileFetchers::Base extend T::Sig require_relative "file_fetcher/path_converter" require_relative "file_fetche...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/language.rb
bazel/lib/dependabot/bazel/language.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/bazel/version" require "dependabot/bazel/requirement" require "dependabot/ecosystem" module Dependabot module Bazel LANGUAGE = "bazel" class Language < Dependabot::Ecosystem::VersionManager extend T::Sig ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/file_updater.rb
bazel/lib/dependabot/bazel/file_updater.rb
# typed: strict # frozen_string_literal: true require "dependabot/file_updaters" require "dependabot/file_updaters/base" module Dependabot module Bazel class FileUpdater < Dependabot::FileUpdaters::Base extend T::Sig require_relative "file_updater/bzlmod_file_updater" require_relative "file_u...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/version.rb
bazel/lib/dependabot/bazel/version.rb
# typed: strong # frozen_string_literal: true require "dependabot/version" require "dependabot/utils" # Bazel pre-release versions use 1.0.1-rc1 syntax, which Gem::Version # converts into 1.0.1.pre.rc1. We override the `to_s` method to stop that # alteration. module Dependabot module Bazel class Version < Depe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/requirement.rb
bazel/lib/dependabot/bazel/requirement.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/requirement" require "dependabot/utils" module Dependabot module Bazel class Requirement < Dependabot::Requirement extend T::Sig sig { params(requirement_string: String).returns(String) } def self.norma...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/package_manager.rb
bazel/lib/dependabot/bazel/package_manager.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/bazel/version" require "dependabot/ecosystem" require "dependabot/bazel/requirement" module Dependabot module Bazel ECOSYSTEM = "bazel" PACKAGE_MANAGER = "bazel" DEFAULT_BAZEL_VERSION = "8.4.2" # Keep version...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/update_checker.rb
bazel/lib/dependabot/bazel/update_checker.rb
# typed: strong # frozen_string_literal: true require "time" require "dependabot/update_checkers" require "dependabot/update_checkers/base" require "dependabot/bazel/version" require "dependabot/package/package_release" module Dependabot module Bazel class UpdateChecker < Dependabot::UpdateCheckers::Base ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/metadata_finder.rb
bazel/lib/dependabot/bazel/metadata_finder.rb
# typed: strict # frozen_string_literal: true require "dependabot/metadata_finders" require "dependabot/metadata_finders/base" module Dependabot module Bazel class MetadataFinder < Dependabot::MetadataFinders::Base extend T::Sig require_relative "update_checker/registry_client" GITHUB_URL_PA...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/file_parser.rb
bazel/lib/dependabot/bazel/file_parser.rb
# typed: strict # frozen_string_literal: true require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/file_parsers" require "dependabot/file_parsers/base" require "dependabot/file_parsers/base/dependency_set" require "dependabot/bazel/version" require "dependabot/bazel/package_manager"...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/file_parser/starlark_parser.rb
bazel/lib/dependabot/bazel/file_parser/starlark_parser.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/bazel/file_parser" module Dependabot module Bazel class FileParser class StarlarkParser extend T::Sig class FunctionCall < T::Struct const :name, String const :arguments, T::Hash...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/update_checker/registry_client.rb
bazel/lib/dependabot/bazel/update_checker/registry_client.rb
# typed: strict # frozen_string_literal: true require "json" require "base64" require "sorbet-runtime" require "dependabot/shared_helpers" require "dependabot/clients/github_with_retries" require "dependabot/dependency" require "dependabot/errors" require "dependabot/bazel/update_checker" module Dependabot module B...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/update_checker/requirements_updater.rb
bazel/lib/dependabot/bazel/update_checker/requirements_updater.rb
# typed: strong # frozen_string_literal: true require "dependabot/bazel/update_checker" module Dependabot module Bazel class UpdateChecker < Dependabot::UpdateCheckers::Base class RequirementsUpdater extend T::Sig sig { params(requirements: T::Array[T::Hash[Symbol, T.untyped]], latest_ver...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/file_fetcher/downloader_config_fetcher.rb
bazel/lib/dependabot/bazel/file_fetcher/downloader_config_fetcher.rb
# typed: strict # frozen_string_literal: true require "dependabot/bazel/file_fetcher" require "sorbet-runtime" module Dependabot module Bazel class FileFetcher < Dependabot::FileFetchers::Base # Fetches downloader configuration files referenced in .bazelrc. # Parses .bazelrc for --downloader_config ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/file_fetcher/module_path_extractor.rb
bazel/lib/dependabot/bazel/file_fetcher/module_path_extractor.rb
# typed: strict # frozen_string_literal: true require "dependabot/bazel/file_fetcher" require "dependabot/bazel/file_fetcher/path_converter" require "sorbet-runtime" module Dependabot module Bazel class FileFetcher < Dependabot::FileFetchers::Base # Extracts file and directory paths referenced in MODULE.b...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/file_fetcher/directory_tree_fetcher.rb
bazel/lib/dependabot/bazel/file_fetcher/directory_tree_fetcher.rb
# typed: strict # frozen_string_literal: true require "dependabot/bazel/file_fetcher" require "sorbet-runtime" module Dependabot module Bazel class FileFetcher < Dependabot::FileFetchers::Base # Fetches entire directory trees, typically for local_path_override directories. # Includes BUILD files to ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/file_fetcher/bzl_file_fetcher.rb
bazel/lib/dependabot/bazel/file_fetcher/bzl_file_fetcher.rb
# typed: strict # frozen_string_literal: true require "dependabot/bazel/file_fetcher" require "sorbet-runtime" module Dependabot module Bazel class FileFetcher < Dependabot::FileFetchers::Base # Fetches .bzl files and their dependencies recursively. # Handles load() and Label() statements to build a...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/file_fetcher/path_converter.rb
bazel/lib/dependabot/bazel/file_fetcher/path_converter.rb
# typed: strict # frozen_string_literal: true require "dependabot/bazel/file_fetcher" require "sorbet-runtime" module Dependabot module Bazel class FileFetcher < Dependabot::FileFetchers::Base # Converts Bazel label syntax to filesystem paths class PathConverter extend T::Sig sig { ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/file_fetcher/include_extractor.rb
bazel/lib/dependabot/bazel/file_fetcher/include_extractor.rb
# typed: strict # frozen_string_literal: true require "dependabot/bazel/file_fetcher" require "dependabot/bazel/file_fetcher/path_converter" require "sorbet-runtime" module Dependabot module Bazel class FileFetcher < Dependabot::FileFetchers::Base # Extracts include() statements from MODULE.bazel files an...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/file_updater/workspace_file_updater.rb
bazel/lib/dependabot/bazel/file_updater/workspace_file_updater.rb
# typed: strict # frozen_string_literal: true require "dependabot/bazel/file_updater" module Dependabot module Bazel class FileUpdater < Dependabot::FileUpdaters::Base class WorkspaceFileUpdater extend T::Sig sig do params( dependency_files: T::Array[Dependabot::Depe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/file_updater/lockfile_updater.rb
bazel/lib/dependabot/bazel/file_updater/lockfile_updater.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/bazel/file_updater" require "dependabot/bazel/package_manager" require "dependabot/shared_helpers" require "pathname" require "fileutils" module Dependabot module Bazel class FileUpdater < Dependabot::FileUpdaters::Base ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/file_updater/declaration_parser.rb
bazel/lib/dependabot/bazel/file_updater/declaration_parser.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/bazel/file_updater" module Dependabot module Bazel class FileUpdater < Dependabot::FileUpdaters::Base class DeclarationParser extend T::Sig sig { params(declaration_text: String).returns(T::Hash[Sym...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bazel/lib/dependabot/bazel/file_updater/bzlmod_file_updater.rb
bazel/lib/dependabot/bazel/file_updater/bzlmod_file_updater.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/bazel/file_updater" module Dependabot module Bazel class FileUpdater < Dependabot::FileUpdaters::Base class BzlmodFileUpdater extend T::Sig require_relative "lockfile_updater" sig do ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bun/spec/bun_config_spec.rb
bun/spec/bun_config_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" # NOTE: This test does not have a corresponding class. It is testing the npm configuration. RSpec.describe "bun config" do # rubocop:disable RSpec/DescribeClass it "silences warning messages that aren't useful within the dependabot context" do n...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bun/spec/spec_helper.rb
bun/spec/spec_helper.rb
# typed: false # frozen_string_literal: true def common_dir @common_dir ||= Gem::Specification.find_by_name("dependabot-common").gem_dir end def require_common_spec(path) require "#{common_dir}/spec/dependabot/#{path}" end require "#{common_dir}/spec/spec_helper.rb" def create_dependency(name:, version:, requir...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bun/spec/dependabot/bun_spec.rb
bun/spec/dependabot/bun_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/bun" require_common_spec "shared_examples_for_autoloading" RSpec.describe Dependabot::Bun do it_behaves_like "it registers the required classes", "bun" end
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bun/spec/dependabot/bun/requirement_spec.rb
bun/spec/dependabot/bun/requirement_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/bun" RSpec.describe Dependabot::Bun::Requirement do it "inherits initialization from Javascript::Requirement" do requirement = described_class.new("1.0.0") expect(requirement).to be_a(described_class) expect(requireme...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bun/spec/dependabot/bun/version_spec.rb
bun/spec/dependabot/bun/version_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/bun/version" RSpec.describe Dependabot::Bun::Version do subject(:version) { described_class.new(version_string) } let(:version_string) { "1.0.0" } describe ".correct?" do subject { described_class.correct?(version_strin...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bun/spec/dependabot/bun/bun_package_manager_spec.rb
bun/spec/dependabot/bun/bun_package_manager_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/bun" RSpec.describe Dependabot::Bun::BunPackageManager do let(:package_manager) do described_class.new( detected_version: detected_version, raw_version: raw_version ) end let(:detected_version) { "1" } ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bun/spec/dependabot/bun/metadata_finder_spec.rb
bun/spec/dependabot/bun/metadata_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/bun/metadata_finder" require_common_spec "metadata_finders/shared_examples_for_metadata_finders" RSpec.describe Dependabot::Bun::MetadataFinder do subject(:finder) do described_class.new(dependency: dependency, credentials: c...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bun/spec/dependabot/bun/file_updater_spec.rb
bun/spec/dependabot/bun/file_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/bun" RSpec.describe Dependabot::Bun::FileUpdater do let(:repo_contents_path) { nil } let(:tmp_path) { Dependabot::Utils::BUMP_TMP_DIR_PATH } let(:source) { nil } let(:previous_requirements) do [{ file: "package.js...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bun/spec/dependabot/bun/update_checker_spec.rb
bun/spec/dependabot/bun/update_checker_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/dependency" require "dependabot/bun/metadata_finder" require "dependabot/bun/update_checker" require "dependabot/requirements_update_strategy" require_common_spec "update_checkers/shared_example...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bun/spec/dependabot/bun/file_fetcher_spec.rb
bun/spec/dependabot/bun/file_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/file_fetchers" require "dependabot/bun" require_common_spec "file_fetchers/shared_examples_for_file_fetchers" RSpec.describe Dependabot::Bun::FileFetcher do let(:json_header) { { "content-type" => "application/json" } } let(:cr...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bun/spec/dependabot/bun/file_parser_spec.rb
bun/spec/dependabot/bun/file_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/bun" RSpec.describe Dependabot::Bun::FileParser do let(:credentials) do [Dependabot::Credential.new( { "type" => "git_source", "host" => "github.com", "username" => "x-access-token", "pas...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false