source
stringclasses
1 value
repo
stringlengths
5
63
repo_url
stringlengths
24
82
path
stringlengths
5
167
language
stringclasses
1 value
license
stringclasses
5 values
stars
int64
10
51.4k
ref
stringclasses
23 values
size_bytes
int64
200
258k
text
stringlengths
137
258k
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/spec_helper.rb
Ruby
mit
5,556
main
466
# 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" RSpec.configure do |config| config.before(:s...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer_spec.rb
Ruby
mit
5,556
main
1,390
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/composer" require_common_spec "shared_examples_for_autoloading" RSpec.describe Dependabot::Composer do it_behaves_like "it registers the required classes", "composer" it "has the same binary version of composer 2 installed as ...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer/version_spec.rb
Ruby
mit
5,556
main
1,248
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/composer/version" RSpec.describe Dependabot::Composer::Version do subject(:version) { described_class.new(version_string) } describe "#to_s" do subject { version.to_s } context "with a non-prerelease" do let(:ve...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer/file_fetcher_spec.rb
Ruby
mit
5,556
main
18,277
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/composer/file_fetcher" require_common_spec "file_fetchers/shared_examples_for_file_fetchers" RSpec.describe Dependabot::Composer::FileFetcher do let(:credentials) do [{ "type" => "git_source", "host" => "github.co...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer/helpers_spec.rb
Ruby
mit
5,556
main
6,597
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/composer/package_manager" require "dependabot/composer/language" require "dependabot/composer/helpers" RSpec.describe Dependabot::Composer::Helpers do describe ".composer_version" do let(:composer_v2_content) do <<~JSON...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer/update_checker_spec.rb
Ruby
mit
5,556
main
27,018
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/composer/update_checker" require "dependabot/dependency_file" require "dependabot/dependency" require "dependabot/requirements_update_strategy" require_common_spec "update_checkers/shared_examples_for_update_checkers" RSpec.descri...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer/requirement_spec.rb
Ruby
mit
5,556
main
3,341
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/composer/requirement" RSpec.describe Dependabot::Composer::Requirement do subject(:requirement) { described_class.new(requirement_string) } let(:requirement_string) { ">=1.0.0" } describe ".new" do it { is_expected.to b...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer/file_parser_spec.rb
Ruby
mit
5,556
main
12,131
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/source" require "dependabot/dependency_file" require "dependabot/composer/file_parser" require_common_spec "file_parsers/shared_examples_for_file_parsers" RSpec.describe Dependabot::Composer::FileParser do let(:source) do Dep...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer/language_spec.rb
Ruby
mit
5,556
main
2,798
# typed: false # frozen_string_literal: true require "dependabot/composer/language" require "dependabot/ecosystem" require "spec_helper" ComposerLanguage = Dependabot::Composer::Language RSpec.describe Dependabot::Composer::Language do let(:language) { described_class.new(version, requirement: requirement) } let...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer/metadata_finder_spec.rb
Ruby
mit
5,556
main
4,992
# typed: false # frozen_string_literal: true require "octokit" require "spec_helper" require "dependabot/dependency" require "dependabot/composer/metadata_finder" require_common_spec "metadata_finders/shared_examples_for_metadata_finders" RSpec.describe Dependabot::Composer::MetadataFinder do subject(:finder) do ...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer/package_manager_spec.rb
Ruby
mit
5,556
main
4,605
# typed: false # frozen_string_literal: true require "dependabot/composer/package_manager" require "dependabot/ecosystem" require "spec_helper" ComposerPackageManager = Dependabot::Composer::PackageManager RSpec.describe Dependabot::Composer::PackageManager do let(:package_manager) do described_class.new( ...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer/file_updater_spec.rb
Ruby
mit
5,556
main
4,321
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/composer/file_updater" require_common_spec "file_updaters/shared_examples_for_file_updaters" RSpec.describe Dependabot::Composer::FileUpdater do let(:tmp_path) ...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer/composer_error_handler_spec.rb
Ruby
mit
5,556
main
3,071
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/composer/update_checker/version_resolver" RSpec.describe Dependabot::Composer::ComposerErrorHandler do subject(:error_handler) { described_class.new } let(:e...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer/file_fetcher/path_dependency_builder_spec.rb
Ruby
mit
5,556
main
1,434
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/composer/file_fetcher/path_dependency_builder" RSpec.describe Dependabot::Composer::FileFetcher::PathDependencyBuilder do let(:builder) do described_class.n...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer/file_updater/lockfile_updater_spec.rb
Ruby
mit
5,556
main
24,658
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/composer/file_updater/lockfile_updater" RSpec.describe Dependabot::Composer::FileUpdater::LockfileUpdater do let(:updater) do described_class.new( dep...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer/file_updater/manifest_updater_spec.rb
Ruby
mit
5,556
main
5,037
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/composer/file_updater/manifest_updater" RSpec.describe Dependabot::Composer::FileUpdater::ManifestUpdater do let(:updater) do described_class.new( man...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer/update_checker/latest_version_finder_spec.rb
Ruby
mit
5,556
main
13,412
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/composer/update_checker/latest_version_finder" RSpec.describe Dependabot::Composer::UpdateChecker::LatestVersionFinder do let(:finder) do described_class.ne...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer/update_checker/version_resolver_spec.rb
Ruby
mit
5,556
main
12,840
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/composer/update_checker/version_resolver" RSpec.describe Dependabot::Composer::UpdateChecker::VersionResolver do subject(:resolver) do described_class.new( ...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer/update_checker/requirements_updater_spec.rb
Ruby
mit
5,556
main
26,864
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/composer/update_checker/requirements_updater" require "dependabot/requirements_update_strategy" RSpec.describe Dependabot::Composer::UpdateChecker::RequirementsUpdater do let(:updater) do described_class.new( requireme...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
composer/spec/dependabot/composer/package/package_details_fetcher_spec.rb
Ruby
mit
5,556
main
4,032
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/dependency_file" require "dependabot/security_advisory" require "dependabot/composer/package_manager" require "dependabot/composer/package/package_details_fetcher" RSpec.describe Dependabot::Composer...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/dependabot-npm_and_yarn.gemspec
Ruby
mit
5,556
main
1,491
# frozen_string_literal: true Gem::Specification.new do |spec| common_gemspec = Bundler.load_gemspec_uncached("../common/dependabot-common.gemspec") spec.name = "dependabot-npm_and_yarn" spec.summary = "Provides Dependabot support for Javascript (npm and yarn)" spec.description = "Dependabot...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn.rb
Ruby
mit
5,556
main
25,417
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/requirement.rb
Ruby
mit
5,556
main
7,710
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/npm_package_manager.rb
Ruby
mit
5,556
main
1,747
# 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_...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/version_selector.rb
Ruby
mit
5,556
main
1,307
# 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 # Sets up engine versions from the given manifest JSON. # ...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/registry_parser.rb
Ruby
mit
5,556
main
3,129
# 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_...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/file_parser.rb
Ruby
mit
5,556
main
19,881
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/package_name.rb
Ruby
mit
5,556
main
3,848
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/registry_helper.rb
Ruby
mit
5,556
main
7,707
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/helpers.rb
Ruby
mit
5,556
main
22,254
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/package_manager.rb
Ruby
mit
5,556
main
18,267
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/metadata_finder.rb
Ruby
mit
5,556
main
13,166
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/constraint_helper.rb
Ruby
mit
5,556
main
15,769
# 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 = "(?:-...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/native_helpers.rb
Ruby
mit
5,556
main
3,623
# 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, 'dist', 'run.js')}" end sig { returns(String) ...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/dependency_files_filterer.rb
Ruby
mit
5,556
main
5,507
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/pnpm_package_manager.rb
Ruby
mit
5,556
main
1,721
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/language.rb
Ruby
mit
5,556
main
1,213
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/file_fetcher.rb
Ruby
mit
5,556
main
28,114
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/dependency_grapher.rb
Ruby
mit
5,556
main
6,316
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/yarn_package_manager.rb
Ruby
mit
5,556
main
1,728
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/file_updater.rb
Ruby
mit
5,556
main
18,447
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/update_checker.rb
Ruby
mit
5,556
main
22,481
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/version.rb
Ruby
mit
5,556
main
4,843
# 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/ ...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/sub_dependency_files_filterer.rb
Ruby
mit
5,556
main
2,698
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/package/package_details_fetcher.rb
Ruby
mit
5,556
main
16,134
# typed: strict # frozen_string_literal: true require "json" require "excon" require "time" require "dependabot/package/package_release" require "dependabot/package/package_details" require "dependabot/npm_and_yarn/package/registry_finder" module Dependabot module NpmAndYarn module Package class PackageDe...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/package/registry_finder.rb
Ruby
mit
5,556
main
15,306
# typed: strict # frozen_string_literal: true require "excon" require "dependabot/npm_and_yarn/update_checker" require "dependabot/registry_client" require "sorbet-runtime" module Dependabot module NpmAndYarn module Package class RegistryFinder extend T::Sig GLOBAL_NPM_REGISTRY = "https:/...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/file_updater/pnpm_workspace_updater.rb
Ruby
mit
5,556
main
4,534
# typed: strict # frozen_string_literal: true require "dependabot/npm_and_yarn/helpers" require "dependabot/npm_and_yarn/package/registry_finder" require "dependabot/npm_and_yarn/registry_parser" require "dependabot/shared_helpers" class DependencyRequirement < T::Struct const :file, String const :requirement, St...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/file_updater/package_json_updater.rb
Ruby
mit
5,556
main
15,703
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/npm_and_yarn/file_updater" module Dependabot module NpmAndYarn class FileUpdater < Dependabot::FileUpdaters::Base class PackageJsonUpdater extend T::Sig LOCAL_PACKAGE = T.let([/portal:/, /file:/].f...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/file_updater/pnpm_lockfile_updater.rb
Ruby
mit
5,556
main
25,415
# typed: strict # frozen_string_literal: true require "dependabot/npm_and_yarn/helpers" require "dependabot/npm_and_yarn/package/registry_finder" require "dependabot/npm_and_yarn/registry_parser" require "dependabot/shared_helpers" module Dependabot module NpmAndYarn class FileUpdater < Dependabot::FileUpdaters...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/file_updater/npm_lockfile_updater.rb
Ruby
mit
5,556
main
58,002
# typed: strict # frozen_string_literal: true require "json" require "sorbet-runtime" require "dependabot/errors" require "dependabot/logger" require "dependabot/npm_and_yarn/version" require "dependabot/npm_and_yarn/file_parser" require "dependabot/npm_and_yarn/file_updater" require "dependabot/npm_and_yarn/helpers"...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/file_updater/package_json_preparer.rb
Ruby
mit
5,556
main
3,218
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/npm_and_yarn/file_updater" require "dependabot/npm_and_yarn/file_parser" module Dependabot module NpmAndYarn class FileUpdater < Dependabot::FileUpdaters::Base class PackageJsonPreparer extend T::Sig ...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/file_updater/yarn_lockfile_updater.rb
Ruby
mit
5,556
main
33,635
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "uri" require "dependabot/npm_and_yarn" require "dependabot/npm_and_yarn/file_updater" require "dependabot/npm_and_yarn/file_parser" require "dependabot/npm_and_yarn/helpers" require "dependabot/npm_and_yarn/package/registry_finder" requir...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/file_updater/npmrc_builder.rb
Ruby
mit
5,556
main
15,527
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/npm_and_yarn/file_updater" module Dependabot module NpmAndYarn class FileUpdater < Dependabot::FileUpdaters::Base # Build a .npmrc file from the lockfile content, credentials, and any # committed .npmrc ...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/file_fetcher/path_dependency_builder.rb
Ruby
mit
5,556
main
6,152
# typed: strict # frozen_string_literal: true require "json" require "dependabot/dependency_file" require "dependabot/errors" require "dependabot/npm_and_yarn/file_fetcher" require "sorbet-runtime" module Dependabot module NpmAndYarn class FileFetcher class PathDependencyBuilder extend T::Sig ...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/file_parser/json_lock.rb
Ruby
mit
5,556
main
3,775
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/file_parser/pnpm_lock.rb
Ruby
mit
5,556
main
4,534
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/file_parser/yarn_lock.rb
Ruby
mit
5,556
main
3,607
# 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 ...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/file_parser/lockfile_parser.rb
Ruby
mit
5,556
main
4,854
# typed: strict # frozen_string_literal: true require "dependabot/dependency_file" require "dependabot/npm_and_yarn/file_parser" require "dependabot/npm_and_yarn/helpers" require "sorbet-runtime" module Dependabot module NpmAndYarn class FileParser < Dependabot::FileParsers::Base class LockfileParser ...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/update_checker/library_detector.rb
Ruby
mit
5,556
main
3,418
# typed: strict # frozen_string_literal: true require "excon" require "sorbet-runtime" require "dependabot/npm_and_yarn/update_checker" require "dependabot/shared_helpers" module Dependabot module NpmAndYarn class UpdateChecker class LibraryDetector extend T::Sig sig do params(...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/update_checker/vulnerability_auditor.rb
Ruby
mit
5,556
main
9,290
# typed: strict # frozen_string_literal: true require "stringio" require "sorbet-runtime" require "dependabot/dependency" require "dependabot/errors" require "dependabot/logger" require "dependabot/npm_and_yarn/file_parser" require "dependabot/npm_and_yarn/helpers" require "dependabot/npm_and_yarn/native_helpers" req...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/update_checker/subdependency_version_resolver.rb
Ruby
mit
5,556
main
15,383
# typed: strict # frozen_string_literal: true require "dependabot/dependency" require "dependabot/errors" require "dependabot/logger" require "dependabot/npm_and_yarn/file_parser" require "dependabot/npm_and_yarn/helpers" require "dependabot/npm_and_yarn/native_helpers" require "dependabot/npm_and_yarn/sub_dependency_...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/update_checker/conflicting_dependency_resolver.rb
Ruby
mit
5,556
main
3,802
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/dependency" require "dependabot/errors" require "dependabot/logger" require "dependabot/npm_and_yarn/file_parser" require "dependabot/npm_and_yarn/helpers" require "dependabot/npm_and_yarn/native_helpers" require "dependabot/np...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/update_checker/latest_version_finder.rb
Ruby
mit
5,556
main
14,771
# typed: strict # frozen_string_literal: true require "excon" require "dependabot/npm_and_yarn/update_checker" require "dependabot/update_checkers/version_filters" require "dependabot/npm_and_yarn/package/registry_finder" require "dependabot/npm_and_yarn/package/package_details_fetcher" require "dependabot/package/pac...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/update_checker/version_resolver.rb
Ruby
mit
5,556
main
42,059
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/errors" require "dependabot/git_commit_checker" require "dependabot/logger" require "dependabot/npm_and_yarn/dependency_files_filterer" require "dependabot/npm_and_yarn/file_parser" require "dependabot/npm_and_yarn/file_updater...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/update_checker/requirements_updater.rb
Ruby
mit
5,556
main
9,235
# typed: strict # frozen_string_literal: true ################################################################################ # For more details on npm version constraints, see: # # https://docs.npmjs.com/misc/semver # ##############################...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/update_checker/dependency_files_builder.rb
Ruby
mit
5,556
main
9,705
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/npm_and_yarn/file_updater/npmrc_builder" require "dependabot/npm_and_yarn/file_updater/package_json_preparer" module Dependabot module NpmAndYarn class UpdateChecker class DependencyFilesBuilder extend T::S...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/lib/dependabot/npm_and_yarn/dependency_grapher/lockfile_generator.rb
Ruby
mit
5,556
main
7,038
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/dependency_file" require "dependabot/shared_helpers" require "dependabot/npm_and_yarn/helpers" require "dependabot/npm_and_yarn/package_manager" require "dependabot/npm_and_yarn/file_updater/npmrc_builder" module Dependabot ...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/npm_and_yarn_config_spec.rb
Ruby
mit
5,556
main
479
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/spec_helper.rb
Ruby
mit
5,556
main
813
# 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:, ...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn_spec.rb
Ruby
mit
5,556
main
272
# 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
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/file_parser_spec.rb
Ruby
mit
5,556
main
60,095
# 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)...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/constraint_helper_spec.rb
Ruby
mit
5,556
main
12,761
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/dependency_grapher_spec.rb
Ruby
mit
5,556
main
10,819
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/file_fetcher_spec.rb
Ruby
mit
5,556
main
91,970
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/requirement_spec.rb
Ruby
mit
5,556
main
12,304
# 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" }...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/yarn_error_handler_spec.rb
Ruby
mit
5,556
main
48,413
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/pnpm_package_manager_spec.rb
Ruby
mit
5,556
main
2,136
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/registry_helper_spec.rb
Ruby
mit
5,556
main
6,256
# 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 ...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/yarn_package_manager_spec.rb
Ruby
mit
5,556
main
2,174
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/dependency_files_filterer_spec.rb
Ruby
mit
5,556
main
7,577
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/language_spec.rb
Ruby
mit
5,556
main
1,510
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/sub_dependency_files_filterer_spec.rb
Ruby
mit
5,556
main
1,782
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/package_manager_helper_spec.rb
Ruby
mit
5,556
main
20,644
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker_spec.rb
Ruby
mit
5,556
main
81,982
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/package_manager_detector_spec.rb
Ruby
mit
5,556
main
5,677
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/file_updater_spec.rb
Ruby
mit
5,556
main
158,050
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/metadata_finder_spec.rb
Ruby
mit
5,556
main
29,567
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/package_name_spec.rb
Ruby
mit
5,556
main
5,570
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/pnpm_error_handler_spec.rb
Ruby
mit
5,556
main
2,548
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/helpers_spec.rb
Ruby
mit
5,556
main
35,849
# 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 ...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/npm_package_manager_spec.rb
Ruby
mit
5,556
main
3,148
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/version_spec.rb
Ruby
mit
5,556
main
7,846
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/requirement_parse_dep_string_spec.rb
Ruby
mit
5,556
main
4,985
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/npm_and_yarn/requirement" RSpec.describe Dependabot::NpmAndYarn::Requirement do describe ".parse_dep_string" do context "with a simple exact version" do it "parses eslint@4.15.0" do result = described_class.pars...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/package/package_details_fetcher_spec.rb
Ruby
mit
5,556
main
4,806
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/package/registry_finder_spec.rb
Ruby
mit
5,556
main
23,126
# 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:...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/dependency_grapher/lockfile_generator_spec.rb
Ruby
mit
5,556
main
9,507
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/file_parser/lockfile_parser_spec.rb
Ruby
mit
5,556
main
22,549
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/dependency_files_builder_spec.rb
Ruby
mit
5,556
main
12,661
# 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 ...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/vulnerability_auditor_spec.rb
Ruby
mit
5,556
main
11,184
# 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...
github
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core
npm_and_yarn/spec/dependabot/npm_and_yarn/update_checker/subdependency_version_resolver_spec.rb
Ruby
mit
5,556
main
17,005
# 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...