Skip to content

Commit

Permalink
update purl
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Oct 30, 2023
1 parent db74b90 commit 21e3707
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/purl/purl.go
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,8 @@ func purlType(t ftypes.TargetType) string {
return packageurl.TypeHex
case ftypes.Conan:
return packageurl.TypeConan
case ftypes.Composer, ftypes.ComposerInstalled:
return packageurl.TypeComposer
case ftypes.Pub:
return TypeDart // TODO: replace with packageurl.TypeDart once they add it.
case ftypes.RustBinary, ftypes.Cargo:
Expand Down

0 comments on commit 21e3707

Please sign in to comment.