mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
pkg: define the Yarn package type
Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
parent
67fb1326e0
commit
57904743aa
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user