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
|
RpmPkg
|
||||||
WheelPkg
|
WheelPkg
|
||||||
NpmPkg
|
NpmPkg
|
||||||
|
YarnPkg
|
||||||
PythonRequirementsPkg
|
PythonRequirementsPkg
|
||||||
JavaPkg
|
JavaPkg
|
||||||
JenkinsPluginPkg
|
JenkinsPluginPkg
|
||||||
@ -28,6 +29,7 @@ var typeStr = []string{
|
|||||||
"rpm",
|
"rpm",
|
||||||
"wheel",
|
"wheel",
|
||||||
"npm",
|
"npm",
|
||||||
|
"yarn",
|
||||||
"python-requirements",
|
"python-requirements",
|
||||||
"java-archive",
|
"java-archive",
|
||||||
"jenkins-plugin",
|
"jenkins-plugin",
|
||||||
@ -43,6 +45,7 @@ var AllPkgs = []Type{
|
|||||||
RpmPkg,
|
RpmPkg,
|
||||||
WheelPkg,
|
WheelPkg,
|
||||||
NpmPkg,
|
NpmPkg,
|
||||||
|
YarnPkg,
|
||||||
PythonRequirementsPkg,
|
PythonRequirementsPkg,
|
||||||
JavaPkg,
|
JavaPkg,
|
||||||
JenkinsPluginPkg,
|
JenkinsPluginPkg,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user