pkg: define the Yarn package type

Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
Alfredo Deza
2020-07-28 15:18:47 -04:00
parent 67fb1326e0
commit 57904743aa
+3
View File
@@ -10,6 +10,7 @@ const (
RpmPkg
WheelPkg
NpmPkg
YarnPkg
PythonRequirementsPkg
JavaPkg
JenkinsPluginPkg
@@ -28,6 +29,7 @@ var typeStr = []string{
"rpm",
"wheel",
"npm",
"yarn",
"python-requirements",
"java-archive",
"jenkins-plugin",
@@ -43,6 +45,7 @@ var AllPkgs = []Type{
RpmPkg,
WheelPkg,
NpmPkg,
YarnPkg,
PythonRequirementsPkg,
JavaPkg,
JenkinsPluginPkg,