Skip to content

Commit

Permalink
pkg: define the Yarn package type
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Deza <adeza@anchore.com>
  • Loading branch information
Alfredo Deza committed Jul 28, 2020
1 parent 67fb132 commit 5790474
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions syft/pkg/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const (
RpmPkg
WheelPkg
NpmPkg
YarnPkg
PythonRequirementsPkg
JavaPkg
JenkinsPluginPkg
Expand All @@ -28,6 +29,7 @@ var typeStr = []string{
"rpm",
"wheel",
"npm",
"yarn",
"python-requirements",
"java-archive",
"jenkins-plugin",
Expand All @@ -43,6 +45,7 @@ var AllPkgs = []Type{
RpmPkg,
WheelPkg,
NpmPkg,
YarnPkg,
PythonRequirementsPkg,
JavaPkg,
JenkinsPluginPkg,
Expand Down

0 comments on commit 5790474

Please # to comment.