Skip to content

Commit

Permalink
feat: add more lockfile extractors
Browse files Browse the repository at this point in the history
  • Loading branch information
cuixq committed Jan 21, 2025
1 parent 14686b9 commit 515614e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/osvscanner/internal/scanners/lockfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,15 @@ var lockfileExtractorMapping = map[string]string{
"composer.lock": "php/composerlock",
"mix.lock": "erlang/mixlock",
"renv.lock": "r/renvlock",
"deps.json": "dotnet/depsjson",
"packages.lock.json": "dotnet/packageslockjson",
"conan.lock": "cpp/conanlock",
"go.mod": "go/gomod",
"Gemfile.lock": "ruby/gemfilelock",
"cabal.project.freeze": "haskell/cabal",
"stack.yaml.lock": "haskell/stacklock",
"Package.resolved": "swift/packageresolved",
"Podfile.lock": "swift/podfilelock",
}

// ScanSingleFile is similar to ScanSingleFileWithMapping, just without supporting the <lockfileformat>:/path/to/lockfile prefix identifier
Expand Down

0 comments on commit 515614e

Please sign in to comment.