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 {
|
||||
GraphLock struct {
|
||||
Nodes map[string]struct {
|
||||
Ref string `json:"ref"`
|
||||
PackageID string `json:"package_id"`
|
||||
Context string `json:"context"`
|
||||
Prev string `json:"prev"`
|
||||
Requires string `json:"requires"`
|
||||
BuildRequires string `json:"build_requires"`
|
||||
PythonRequires string `json:"py_requires"`
|
||||
Options string `json:"options"`
|
||||
Path string `json:"path"`
|
||||
Ref string `json:"ref"`
|
||||
PackageID string `json:"package_id"`
|
||||
Context string `json:"context"`
|
||||
Prev string `json:"prev"`
|
||||
Requires []string `json:"requires"`
|
||||
PythonRequires string `json:"py_requires"`
|
||||
Options string `json:"options"`
|
||||
Path string `json:"path"`
|
||||
} `json:"nodes"`
|
||||
} `json:"graph_lock"`
|
||||
Version string `json:"version"`
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
"0": {
|
||||
"ref": "zlib/1.2.12",
|
||||
"options": "fPIC=True\nshared=False",
|
||||
"requires": [],
|
||||
"path": "all/conanfile.py",
|
||||
"context": "host"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user