Class: Dependabot::Dep::FileParser

Inherits:
FileParsers::Base
  • Object
show all
Defined in:
lib/dependabot/dep/file_parser.rb

Constant Summary collapse

REQUIREMENT_TYPES =
%w(constraint override).freeze

Instance Method Summary collapse

Instance Method Details

#parseObject



25
26
27
28
29
30
# File 'lib/dependabot/dep/file_parser.rb', line 25

def parse
  dependency_set = DependencySet.new
  dependency_set += manifest_dependencies
  dependency_set += lockfile_dependencies
  dependency_set.dependencies
end