mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
update requires to use list; remove field (#1234)
This commit is contained in:
parent
b9b13d5525
commit
dd7c654ed0
@ -16,15 +16,14 @@ var _ common.ParserFn = parseConanlock
|
|||||||
type conanLock struct {
|
type conanLock struct {
|
||||||
GraphLock struct {
|
GraphLock struct {
|
||||||
Nodes map[string]struct {
|
Nodes map[string]struct {
|
||||||
Ref string `json:"ref"`
|
Ref string `json:"ref"`
|
||||||
PackageID string `json:"package_id"`
|
PackageID string `json:"package_id"`
|
||||||
Context string `json:"context"`
|
Context string `json:"context"`
|
||||||
Prev string `json:"prev"`
|
Prev string `json:"prev"`
|
||||||
Requires string `json:"requires"`
|
Requires []string `json:"requires"`
|
||||||
BuildRequires string `json:"build_requires"`
|
PythonRequires string `json:"py_requires"`
|
||||||
PythonRequires string `json:"py_requires"`
|
Options string `json:"options"`
|
||||||
Options string `json:"options"`
|
Path string `json:"path"`
|
||||||
Path string `json:"path"`
|
|
||||||
} `json:"nodes"`
|
} `json:"nodes"`
|
||||||
} `json:"graph_lock"`
|
} `json:"graph_lock"`
|
||||||
Version string `json:"version"`
|
Version string `json:"version"`
|
||||||
|
|||||||
@ -4,6 +4,7 @@
|
|||||||
"0": {
|
"0": {
|
||||||
"ref": "zlib/1.2.12",
|
"ref": "zlib/1.2.12",
|
||||||
"options": "fPIC=True\nshared=False",
|
"options": "fPIC=True\nshared=False",
|
||||||
|
"requires": [],
|
||||||
"path": "all/conanfile.py",
|
"path": "all/conanfile.py",
|
||||||
"context": "host"
|
"context": "host"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user