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/julia/spec/dependabot/julia_spec.rb
julia/spec/dependabot/julia_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/julia" require_common_spec "shared_examples_for_autoloading" RSpec.describe Dependabot::Julia do it_behaves_like "it registers the required classes", "julia" it "has a version number" do expect(Dependabot::Julia::VERSION)....
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/spec/dependabot/julia/requirement_spec.rb
julia/spec/dependabot/julia/requirement_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/julia/requirement" require "dependabot/julia/version" RSpec.describe Dependabot::Julia::Requirement do describe ".requirements_array" do subject(:requirement) { described_class.requirements_array(requirement_string).first } ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/spec/dependabot/julia/file_updater_integration_spec.rb
julia/spec/dependabot/julia/file_updater_integration_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/julia" RSpec.describe Dependabot::Julia::FileUpdater do let(:project_file) do Dependabot::DependencyFile.new( name: "Project.toml", content: fixture("projects", "basic", "Project.toml") ) end let(:manifes...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/spec/dependabot/julia/requirements_updater_spec.rb
julia/spec/dependabot/julia/requirements_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/julia/update_checker/requirements_updater" require "dependabot/julia/version" RSpec.describe Dependabot::Julia::RequirementsUpdater do let(:updater) do described_class.new( requirements: requirements, target_versi...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/spec/dependabot/julia/metadata_finder_spec.rb
julia/spec/dependabot/julia/metadata_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/julia/metadata_finder" require_common_spec "metadata_finders/shared_examples_for_metadata_finders" RSpec.describe Dependabot::Julia::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/julia/spec/dependabot/julia/registry_client_batch_spec.rb
julia/spec/dependabot/julia/registry_client_batch_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/julia/registry_client" require "dependabot/dependency" RSpec.describe Dependabot::Julia::RegistryClient do let(:credentials) { [] } let(:custom_registries) { [] } let(:client) do described_class.new( credentials: cr...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/spec/dependabot/julia/file_updater_spec.rb
julia/spec/dependabot/julia/file_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/julia" RSpec.describe Dependabot::Julia::FileUpdater do let(:project_file) do Dependabot::DependencyFile.new( name: "Project.toml", content: fixture("projects", "basic", "Project.toml") ) end let(:manifes...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/spec/dependabot/julia/update_checker_spec.rb
julia/spec/dependabot/julia/update_checker_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/julia/update_checker" require "dependabot/julia/package/package_details_fetcher" RSpec.describe Dependabot::Julia::UpdateChecker do let(:checker) do describ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/spec/dependabot/julia/package_manager_spec.rb
julia/spec/dependabot/julia/package_manager_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/julia/package_manager" RSpec.describe Dependabot::Julia::PackageManager do describe "#ecosystem" do subject(:package_manager) { described_class.new } let(:expected_minimum_version) { Dependabot::Julia::PackageManager::MI...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/spec/dependabot/julia/registry_client_batch_integration_spec.rb
julia/spec/dependabot/julia/registry_client_batch_integration_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/julia/registry_client" require "dependabot/dependency" RSpec.describe Dependabot::Julia::RegistryClient, :julia_helpers do subject(:client) { described_class.new(credentials: credentials, custom_registries: []) } let(:credenti...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/spec/dependabot/julia/file_fetcher_spec.rb
julia/spec/dependabot/julia/file_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/julia/file_fetcher" require_common_spec "file_fetchers/shared_examples_for_file_fetchers" RSpec.describe Dependabot::Julia::FileFetcher do let(:credentials) do # Basic git credentials for testing - the file fetcher uses these...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/spec/dependabot/julia/file_parser_spec.rb
julia/spec/dependabot/julia/file_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/julia/file_parser" RSpec.describe Dependabot::Julia::FileParser do describe "#parse with actual fixtures" do subject(:dependencies) { parser.parse } le...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/spec/dependabot/julia/registry_client_spec.rb
julia/spec/dependabot/julia/registry_client_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/julia/registry_client" RSpec.describe Dependabot::Julia::RegistryClient do let(:registry_client) { described_class.new(credentials: []) } describe "#find_environment_files" do let(:directory) { "/tmp/test_project" } c...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/spec/dependabot/julia/package/package_details_fetcher_spec.rb
julia/spec/dependabot/julia/package/package_details_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/julia/package/package_details_fetcher" require "dependabot/julia/version" RSpec.describe Dependabot::Julia::Package::PackageDetailsFetcher do subject(:fetcher) do described_class.new( dependency: dependency, crede...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/lib/dependabot/julia.rb
julia/lib/dependabot/julia.rb
# typed: strong # frozen_string_literal: true require "dependabot/version" require "dependabot/utils" # Register Julia version and requirement classes require "dependabot/julia/version" require "dependabot/julia/requirement" module Dependabot module Julia extend T::Sig VERSION = "0.1.0" sig { returns...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/lib/dependabot/julia/file_fetcher.rb
julia/lib/dependabot/julia/file_fetcher.rb
# typed: strong # frozen_string_literal: true require "dependabot/file_fetchers" require "dependabot/file_fetchers/base" require "dependabot/julia/registry_client" require "dependabot/shared_helpers" require "pathname" module Dependabot module Julia class FileFetcher < Dependabot::FileFetchers::Base sig {...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/lib/dependabot/julia/language.rb
julia/lib/dependabot/julia/language.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/julia/version" require "dependabot/julia/requirement" require "dependabot/ecosystem" module Dependabot module Julia LANGUAGE = "julia" 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/julia/lib/dependabot/julia/file_updater.rb
julia/lib/dependabot/julia/file_updater.rb
# typed: strict # frozen_string_literal: true require "toml-rb" require "tempfile" require "fileutils" require "pathname" require "dependabot/file_updaters" require "dependabot/file_updaters/base" require "dependabot/julia/registry_client" require "dependabot/notices" module Dependabot module Julia class FileUp...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/lib/dependabot/julia/version.rb
julia/lib/dependabot/julia/version.rb
# typed: strong # frozen_string_literal: true require "dependabot/version" module Dependabot module Julia class Version < Dependabot::Version # Julia follows semantic versioning for most packages # See: https://docs.julialang.org/en/v1/stdlib/Pkg/#Version-specifier-format VERSION_PATTERN = T.l...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/lib/dependabot/julia/requirement.rb
julia/lib/dependabot/julia/requirement.rb
# typed: strong # frozen_string_literal: true require "dependabot/requirement" require "dependabot/utils" module Dependabot module Julia class Requirement < Dependabot::Requirement sig { override.params(requirement_string: T.nilable(String)).returns(T::Array[Dependabot::Julia::Requirement]) } def se...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/lib/dependabot/julia/package_manager.rb
julia/lib/dependabot/julia/package_manager.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/ecosystem" require "dependabot/shared_helpers" require "dependabot/version" module Dependabot module Julia class PackageManager < Ecosystem::VersionManager extend T::Sig ECOSYSTEM = T.let("julia", String) ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/lib/dependabot/julia/update_checker.rb
julia/lib/dependabot/julia/update_checker.rb
# typed: strict # frozen_string_literal: true require "dependabot/update_checkers" require "dependabot/update_checkers/base" require "dependabot/julia/registry_client" require "dependabot/julia/requirement" module Dependabot module Julia # Load helper classes autoload :LatestVersionFinder, "dependabot/julia...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/lib/dependabot/julia/registry_client.rb
julia/lib/dependabot/julia/registry_client.rb
# Julia Registry Client with DependabotHelper.jl integration # typed: strict # frozen_string_literal: true require "time" require "dependabot/credential" require "dependabot/julia/version" require "dependabot/shared_helpers" require "dependabot/errors" module Dependabot module Julia class RegistryClient e...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/lib/dependabot/julia/metadata_finder.rb
julia/lib/dependabot/julia/metadata_finder.rb
# typed: strong # frozen_string_literal: true require "dependabot/metadata_finders" require "dependabot/metadata_finders/base" require "dependabot/julia/registry_client" require "uri" # Required for URI.parse module Dependabot module Julia class MetadataFinder < Dependabot::MetadataFinders::Base extend T:...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/lib/dependabot/julia/dependency.rb
julia/lib/dependabot/julia/dependency.rb
# typed: strong # frozen_string_literal: true require "dependabot/dependency" require "dependabot/julia/version" require "sorbet-runtime" module Dependabot module Julia class Dependency < Dependabot::Dependency extend T::Sig # This class intentionally delegates most functionality to the base ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/lib/dependabot/julia/file_parser.rb
julia/lib/dependabot/julia/file_parser.rb
# typed: strict # frozen_string_literal: true require "tempfile" require "fileutils" require "dependabot/dependency" require "dependabot/file_parsers" require "dependabot/file_parsers/base" require "dependabot/julia/version" require "dependabot/julia/requirement" require "dependabot/julia/registry_client" require "dep...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/lib/dependabot/julia/package/package_details_fetcher.rb
julia/lib/dependabot/julia/package/package_details_fetcher.rb
# typed: strict # frozen_string_literal: true require "time" require "dependabot/julia/registry_client" require "dependabot/julia/version" require "dependabot/package/package_release" require "dependabot/package/package_language" module Dependabot module Julia module Package class PackageDetailsFetcher ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/lib/dependabot/julia/update_checker/latest_version_finder.rb
julia/lib/dependabot/julia/update_checker/latest_version_finder.rb
# typed: strong # frozen_string_literal: true require "time" require "dependabot/julia/package/package_details_fetcher" require "dependabot/julia/version" require "dependabot/update_checkers/version_filters" module Dependabot module Julia class LatestVersionFinder extend T::Sig sig do param...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/julia/lib/dependabot/julia/update_checker/requirements_updater.rb
julia/lib/dependabot/julia/update_checker/requirements_updater.rb
# typed: strict # frozen_string_literal: true require "dependabot/julia/requirement" require "dependabot/julia/version" module Dependabot module Julia class RequirementsUpdater extend T::Sig sig do params( requirements: T::Array[T::Hash[Symbol, T.untyped]], target_versio...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/npm_and_yarn_config_spec.rb
npm_and_yarn/spec/npm_and_yarn_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 and yarn configuration. RSpec.describe "npm and yarn config" do # rubocop:disable RSpec/DescribeClass it "silences warning messages that aren't useful within the dependabot...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/spec_helper.rb
npm_and_yarn/spec/spec_helper.rb
# typed: true # 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:, require...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/npm_and_yarn" require_common_spec "shared_examples_for_autoloading" RSpec.describe Dependabot::NpmAndYarn do it_behaves_like "it registers the required classes", "npm_and_yarn" end
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/requirement_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/requirement_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/npm_and_yarn/requirement" require "dependabot/npm_and_yarn/version" RSpec.describe Dependabot::NpmAndYarn::Requirement do subject(:requirement) { described_class.new(requirement_string) } let(:requirement_string) { ">=1.0.0" }...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/version_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/version_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/npm_and_yarn/version" RSpec.describe Dependabot::NpmAndYarn::Version do subject(:version) { described_class.new(version_string) } let(:version_string) { "1.0.0" } describe ".correct?" do subject { described_class.correc...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/sub_dependency_files_filterer_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/sub_dependency_files_filterer_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/npm_and_yarn/sub_dependency_files_filterer" RSpec.describe Dependabot::NpmAndYarn::SubDependencyFilesFilterer do subject(:files_requiring_update) do describ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/metadata_finder_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/metadata_finder_spec.rb
# typed: false # frozen_string_literal: true require "octokit" require "spec_helper" require "dependabot/credential" require "dependabot/dependency" require "dependabot/npm_and_yarn/metadata_finder" require_common_spec "metadata_finders/shared_examples_for_metadata_finders" RSpec.describe Dependabot::NpmAndYarn::Meta...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/file_updater_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/file_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/npm_and_yarn/file_updater" require "dependabot/npm_and_yarn/version" require_common_spec "file_updaters/shared_examples_for_file_updaters" RSpec.describe Dependab...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/pnpm_error_handler_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/pnpm_error_handler_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/npm_and_yarn/file_updater/pnpm_lockfile_updater" require "dependabot/npm_and_yarn/dependency_files_filterer" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/shared_helpers" require "dependabo...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/constraint_helper_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/constraint_helper_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/npm_and_yarn/constraint_helper" RSpec.describe Dependabot::NpmAndYarn::ConstraintHelper do let(:helper) { described_class } let(:version_regex) { /^#{helper::VERSION}$/o } let(:dependabot_versions) do [] end describe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/dependency" require "dependabot/npm_and_yarn/metadata_finder" require "dependabot/npm_and_yarn/update_checker" require "dependabot/requirements_update_strategy" require_common_spec "update_check...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/dependency_files_filterer_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/dependency_files_filterer_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/npm_and_yarn/dependency_files_filterer" RSpec.describe Dependabot::NpmAndYarn::DependencyFilesFilterer do subject(:files_requiring_update) do described_clas...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/package_manager_detector_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/package_manager_detector_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/npm_and_yarn/package_manager" require "spec_helper" RSpec.describe Dependabot::NpmAndYarn::PackageManagerDetector do let(:npm_lockfile) do instance_double( Dependabot::DependencyFile, name: "package-lock.json", content: <<~LOCKFI...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/npm_package_manager_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/npm_package_manager_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/npm_and_yarn/package_manager" require "dependabot/ecosystem" require "spec_helper" RSpec.describe Dependabot::NpmAndYarn::NpmPackageManager do let(:package_manager) do described_class.new( detected_version: detected_version, raw_versio...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/file_fetcher_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/file_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/npm_and_yarn/file_fetcher" require_common_spec "file_fetchers/shared_examples_for_file_fetchers" RSpec.describe Dependabot::NpmAndYarn::FileFetcher do let(:json_header) { { "content-type" => "application/json" } } let(:credenti...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/package_manager_helper_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/package_manager_helper_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/npm_and_yarn/package_manager" require "dependabot/npm_and_yarn/helpers" require "spec_helper" RSpec.describe Dependabot::NpmAndYarn::PackageManagerHelper do let(:npm_lockfile) do instance_double( Dependabot::DependencyFile, name: "pack...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/pnpm_package_manager_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/pnpm_package_manager_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/npm_and_yarn/package_manager" require "dependabot/ecosystem" require "spec_helper" RSpec.describe Dependabot::NpmAndYarn::PNPMPackageManager do let(:package_manager) do described_class.new( detected_version: detected_version, raw_versi...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/file_parser_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/file_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/source" require "dependabot/dependency_file" require "dependabot/npm_and_yarn/file_parser" require_common_spec "file_parsers/shared_examples_for_file_parsers" RSpec.describe Dependabot::NpmAndYarn::FileParser do let(:credentials)...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/helpers_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/helpers_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/npm_and_yarn/file_parser" require "dependabot/npm_and_yarn/helpers" require "dependabot/shared_helpers" RSpec.describe Dependabot::NpmAndYarn::Helpers do describe "::dependencies_with_all_versions_metadata" do let(:foo_a) do ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/yarn_error_handler_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/yarn_error_handler_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/npm_and_yarn/file_updater/yarn_lockfile_updater" require "dependabot/npm_and_yarn/dependency_files_filterer" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/shared_helpers" require "dependabo...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/package_name_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/package_name_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/npm_and_yarn/package_name" RSpec.describe Dependabot::NpmAndYarn::PackageName do describe "initialization" do it "allows valid package names" do expect { described_class.new("some-package") }.not_to raise_error ex...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/registry_helper_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/registry_helper_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/dependency_file" require "dependabot/npm_and_yarn/registry_helper" require "spec_helper" RSpec.describe Dependabot::NpmAndYarn::RegistryHelper do let(:npmrc_file) do Dependabot::DependencyFile.new( name: ".npmrc", content: <<~NPMRC ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/language_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/language_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/npm_and_yarn/package_manager" require "dependabot/ecosystem" require "spec_helper" RSpec.describe Dependabot::NpmAndYarn::Language do let(:language) do described_class.new( raw_version: raw_version, requirement: requirement ) end...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/yarn_package_manager_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/yarn_package_manager_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/npm_and_yarn/package_manager" require "dependabot/ecosystem" require "spec_helper" RSpec.describe Dependabot::NpmAndYarn::YarnPackageManager do let(:package_manager) do described_class.new( detected_version: detected_version, raw_versi...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/dependency_grapher_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/dependency_grapher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/npm_and_yarn" require "dependabot/dependency_graphers" RSpec.describe Dependabot::NpmAndYarn::DependencyGrapher do subject(:grapher) do Dependabot::DependencyGraphers.for_package_manager("npm_and_yarn").new( file_parser...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/file_parser/lockfile_parser_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/file_parser/lockfile_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/npm_and_yarn/file_parser/lockfile_parser" RSpec.describe Dependabot::NpmAndYarn::FileParser::LockfileParser do subject(:lockfile_parser) do described_class.new(dependency_files: dependency...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/dependency_grapher/lockfile_generator_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/dependency_grapher/lockfile_generator_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/npm_and_yarn/dependency_grapher" require "dependabot/npm_and_yarn/dependency_grapher/lockfile_generator" RSpec.describe Dependabot::NpmAndYarn::DependencyGrapher::LockfileGenerator do subject(:generator) do described_class.ne...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/package/registry_finder_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/package/registry_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/npm_and_yarn/package/registry_finder" RSpec.describe Dependabot::NpmAndYarn::Package::RegistryFinder do subject(:finder) do described_class.new( dependency: dependency, credentials:...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/package/package_details_fetcher_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/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/npm_and_yarn/package/package_details_fetcher" require "dependabot/npm_and_yarn/version" require "dependabot/npm_and_yarn/requiremen...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/subdependency_version_resolver_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/subdependency_version_resolver_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/npm_and_yarn/update_checker/version_resolver" namespace = Dependabot::NpmAndYarn::UpdateChecker RSpec.describe namespace::SubdependencyVersionResolver do let(:r...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/library_detector_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/library_detector_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/npm_and_yarn/update_checker/library_detector" RSpec.describe Dependabot::NpmAndYarn::UpdateChecker::LibraryDetector do subject(:finder) do described_class.new( package_json_file: pac...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/requirements_updater_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/requirements_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/npm_and_yarn/update_checker/requirements_updater" require "dependabot/requirements_update_strategy" RSpec.describe Dependabot::NpmAndYarn::UpdateChecker::RequirementsUpdater do let(:updater) do described_class.new( req...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/package_latest_version_finder_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/package_latest_version_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/npm_and_yarn/update_checker/latest_version_finder" require "dependabot/credential" require "dependabot/security_advisory" require "dependabot/package/release_coold...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/conflicting_dependency_resolver_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/conflicting_dependency_resolver_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/npm_and_yarn/update_checker/conflicting_dependency_resolver" RSpec.describe(Dependabot::NpmAndYarn::UpdateChecker::ConflictingDependencyResolver) do let(:resolv...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/version_resolver_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/version_resolver_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/npm_and_yarn/update_checker/version_resolver" RSpec.describe Dependabot::NpmAndYarn::UpdateChecker::VersionResolver do let(:resolver) do described_class.new...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/dependency_files_builder_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/dependency_files_builder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/npm_and_yarn/update_checker/dependency_files_builder" require "dependabot/shared_helpers" RSpec.describe(Dependabot::NpmAndYarn::UpdateChecker::DependencyFilesBuilder) do let(:builder) do ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/vulnerability_auditor_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/vulnerability_auditor_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/security_advisory" require "dependabot/npm_and_yarn/native_helpers" require "dependabot/npm_and_yarn/update_checker/vulnerability_auditor" RSpec.describe Dependabot::NpmAndYarn::UpdateChecker::Vulner...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/file_fetcher/path_dependency_builder_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/file_fetcher/path_dependency_builder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/npm_and_yarn/file_fetcher/path_dependency_builder" RSpec.describe Dependabot::NpmAndYarn::FileFetcher::PathDependencyBuilder do let(:builder) do described_c...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/file_updater/package_json_updater_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/file_updater/package_json_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/npm_and_yarn/file_updater/package_json_updater" RSpec.describe Dependabot::NpmAndYarn::FileUpdater::PackageJsonUpdater do let(:package_json_updater) do desc...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/file_updater/yarn_lockfile_updater_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/file_updater/yarn_lockfile_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/npm_and_yarn/file_updater/yarn_lockfile_updater" RSpec.describe Dependabot::NpmAndYarn::FileUpdater::YarnLockfileUpdater do subject(:updated_yarn_lock_content) { updater.updated_yarn_lock_content(yarn_lock) } let(:updater) do ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/file_updater/npm_lockfile_updater_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/file_updater/npm_lockfile_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/npm_and_yarn/file_updater/npm_lockfile_updater" RSpec.describe Dependabot::NpmAndYarn::FileUpdater::NpmLockfileUpdater do subject(:updated_npm_lock_content) { updater.updated_lockfile.content } ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/file_updater/pnpm_lockfile_updater_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/file_updater/pnpm_lockfile_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/npm_and_yarn/file_updater/pnpm_lockfile_updater" RSpec.describe Dependabot::NpmAndYarn::FileUpdater::PnpmLockfileUpdater do subject(:updated_pnpm_lock_content) do updater.updated_pnpm_lock_content(pnpm_lock, updated_pnpm_work...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/file_updater/npmrc_builder_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/file_updater/npmrc_builder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/dependency_file" require "dependabot/npm_and_yarn/file_updater/npmrc_builder" RSpec.describe Dependabot::NpmAndYarn::FileUpdater::NpmrcBuilder do let(:npmrc_builder) do described_class.new( ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/file_updater/pnpm_workspace_updater_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/file_updater/pnpm_workspace_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/npm_and_yarn/file_updater/pnpm_workspace_updater" RSpec.describe Dependabot::NpmAndYarn::FileUpdater::PnpmWorkspaceUpdater do let(:pnpm_workspace_updater) do ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/spec/dependabot/npm_and_yarn/file_updater/package_json_preparer_spec.rb
npm_and_yarn/spec/dependabot/npm_and_yarn/file_updater/package_json_preparer_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/npm_and_yarn/file_updater/package_json_preparer" RSpec.describe Dependabot::NpmAndYarn::FileUpdater::PackageJsonPreparer do describe "#prepared_content" do it "does not craash when finding null dependencies" do original...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn.rb
npm_and_yarn/lib/dependabot/npm_and_yarn.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/npm_and_yarn/file_fetcher" require "dependabot/npm_and_yarn/file_parser" require "dependabot/npm_and_yarn/update_c...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/file_fetcher.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/file_fetcher.rb
# typed: strict # frozen_string_literal: true require "json" require "sorbet-runtime" require "dependabot/experiments" require "dependabot/logger" require "dependabot/file_fetchers" require "dependabot/file_fetchers/base" require "dependabot/file_filtering" require "dependabot/npm_and_yarn/helpers" require "dependabot...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/dependency_grapher.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/dependency_grapher.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/dependency_graphers" require "dependabot/dependency_graphers/base" require "dependabot/npm_and_yarn/file_parser" require "dependabot/npm_and_yarn/package_manager" require "dependabot/npm_and_yarn/helpers" module Dependabot m...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/constraint_helper.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/constraint_helper.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" module Dependabot module NpmAndYarn module ConstraintHelper extend T::Sig # Regex Components for Semantic Versioning DIGIT = "\\d+" # Matches a single number (e.g., "1") PRERELEASE = "(?:-...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/language.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/language.rb
# typed: strong # frozen_string_literal: true require "dependabot/npm_and_yarn/package_manager" module Dependabot module NpmAndYarn class Language < Ecosystem::VersionManager extend T::Sig NAME = "node" SUPPORTED_VERSIONS = T.let([].freeze, T::Array[Dependabot::Version]) DEPRECATED_VE...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/file_updater.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/file_updater.rb
# typed: strict # frozen_string_literal: true require "dependabot/file_updaters" require "dependabot/file_updaters/base" require "dependabot/file_updaters/vendor_updater" require "dependabot/file_updaters/artifact_updater" require "dependabot/npm_and_yarn/dependency_files_filterer" require "dependabot/npm_and_yarn/sub...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/version.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/version.rb
# typed: strict # frozen_string_literal: true require "dependabot/version" require "dependabot/utils" require "sorbet-runtime" # JavaScript 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. # # See https://semver.org/ ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/requirement.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/requirement.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/requirement" require "dependabot/utils" require "dependabot/npm_and_yarn/version" module Dependabot module NpmAndYarn class Requirement < Dependabot::Requirement extend T::Sig AND_SEPARATOR = T.let(/(?<=[a-z...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/npm_package_manager.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/npm_package_manager.rb
# typed: strong # frozen_string_literal: true require "dependabot/npm_and_yarn/package_manager" module Dependabot module NpmAndYarn class NpmPackageManager < Ecosystem::VersionManager extend T::Sig NAME = "npm" RC_FILENAME = ".npmrc" LOCKFILE_NAME = "package-lock.json" SHRINKWRAP_...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/version_selector.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/version_selector.rb
# typed: strict # frozen_string_literal: true require "dependabot/shared_helpers" require "dependabot/npm_and_yarn/constraint_helper" module Dependabot module NpmAndYarn class VersionSelector extend T::Sig extend T::Helpers # For limited testing, allowing only specific versions defined in eng...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/package_manager.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/package_manager.rb
# typed: strict # frozen_string_literal: true require "dependabot/shared_helpers" require "dependabot/ecosystem" require "dependabot/npm_and_yarn/requirement" require "dependabot/npm_and_yarn/version_selector" require "dependabot/npm_and_yarn/registry_helper" require "dependabot/npm_and_yarn/npm_package_manager" requi...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/sub_dependency_files_filterer.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/sub_dependency_files_filterer.rb
# typed: strong # frozen_string_literal: true require "dependabot/utils" require "dependabot/npm_and_yarn/version" require "dependabot/npm_and_yarn/file_parser/lockfile_parser" require "sorbet-runtime" # Used in the sub dependency version resolver and file updater to only run # yarn/npm helpers on dependency files th...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/update_checker.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/update_checker.rb
# typed: strict # frozen_string_literal: true require "dependabot/git_commit_checker" require "dependabot/requirements_update_strategy" require "dependabot/shared_helpers" require "dependabot/update_checkers" require "dependabot/update_checkers/base" module Dependabot module NpmAndYarn class UpdateChecker < Dep...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/package_name.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/package_name.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" module Dependabot module NpmAndYarn class PackageName extend T::Sig # NPM package naming rules are defined by the following projects: # - https://github.com/npm/npm-user-validate # - https://github.com/npm/validate-n...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/helpers.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/helpers.rb
# typed: strict # frozen_string_literal: true require "dependabot/dependency" require "dependabot/file_parsers" require "dependabot/file_parsers/base" require "dependabot/shared_helpers" require "dependabot/npm_and_yarn/registry_helper" require "dependabot/experiments" require "sorbet-runtime" module Dependabot mod...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/registry_parser.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/registry_parser.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" module Dependabot module NpmAndYarn class RegistryParser extend T::Sig sig { params(resolved_url: String, credentials: T::Array[Dependabot::Credential]).void } def initialize(resolved_url:, credentials:) @resolved_...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/native_helpers.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/native_helpers.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" module Dependabot module NpmAndYarn module NativeHelpers extend T::Sig sig { returns(String) } def self.helper_path "node #{File.join(native_helpers_root, 'run.js')}" end sig { returns(String) } ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/pnpm_package_manager.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/pnpm_package_manager.rb
# typed: strong # frozen_string_literal: true require "dependabot/npm_and_yarn/package_manager" module Dependabot module NpmAndYarn class PNPMPackageManager < Ecosystem::VersionManager extend T::Sig NAME = "pnpm" LOCKFILE_NAME = "pnpm-lock.yaml" PNPM_WS_YML_FILENAME = "pnpm-workspace.ya...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/metadata_finder.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/metadata_finder.rb
# typed: strict # frozen_string_literal: true require "excon" require "time" require "sorbet-runtime" require "dependabot/metadata_finders" require "dependabot/metadata_finders/base" require "dependabot/registry_client" require "dependabot/npm_and_yarn/package/registry_finder" require "dependabot/npm_and_yarn/version...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/registry_helper.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/registry_helper.rb
# typed: strict # frozen_string_literal: true require "yaml" require "dependabot/dependency_file" require "sorbet-runtime" module Dependabot module NpmAndYarn class RegistryHelper extend T::Sig # Keys for configurations REGISTRY_KEY = "registry" AUTH_KEY = "authToken" # Yarn-spec...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/file_parser.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/file_parser.rb
# typed: strict # frozen_string_literal: true # See https://docs.npmjs.com/files/package.json for package.json format docs. require "dependabot/dependency" require "dependabot/file_parsers" require "dependabot/file_parsers/base" require "dependabot/shared_helpers" require "dependabot/npm_and_yarn/helpers" require "de...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/yarn_package_manager.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/yarn_package_manager.rb
# typed: strong # frozen_string_literal: true require "dependabot/npm_and_yarn/package_manager" module Dependabot module NpmAndYarn class YarnPackageManager < Ecosystem::VersionManager extend T::Sig NAME = "yarn" RC_FILENAME = ".yarnrc" RC_YML_FILENAME = ".yarnrc.yml" LOCKFILE_NAM...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/dependency_files_filterer.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/dependency_files_filterer.rb
# typed: strict # frozen_string_literal: true require "dependabot/utils" require "dependabot/npm_and_yarn/file_parser/lockfile_parser" require "sorbet-runtime" # Used in the version resolver and file updater to only run yarn/npm helpers on # dependency files that require updates. This is useful for large monorepos wi...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/file_parser/pnpm_lock.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/file_parser/pnpm_lock.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/errors" require "dependabot/dependency" require "dependabot/file_parsers/base" require "dependabot/npm_and_yarn/native_helpers" require "dependabot/shared_helpers" module Dependabot module NpmAndYarn class FileParser < D...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/file_parser/json_lock.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/file_parser/json_lock.rb
# typed: strict # frozen_string_literal: true require "json" require "dependabot/errors" require "dependabot/npm_and_yarn/helpers" require "sorbet-runtime" module Dependabot module NpmAndYarn class FileParser < Dependabot::FileParsers::Base class JsonLock extend T::Sig sig { params(depend...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/npm_and_yarn/lib/dependabot/npm_and_yarn/file_parser/yarn_lock.rb
npm_and_yarn/lib/dependabot/npm_and_yarn/file_parser/yarn_lock.rb
# typed: strict # frozen_string_literal: true require "dependabot/shared_helpers" require "dependabot/errors" require "dependabot/npm_and_yarn/native_helpers" require "sorbet-runtime" module Dependabot module NpmAndYarn class FileParser < Dependabot::FileParsers::Base class YarnLock extend T::Sig ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false