mirror of
https://github.com/anchore/syft.git
synced 2026-10-31 06:26:30 +01:00
Signed-off-by: Rez Moss <hi@rezmoss.com> Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com> Co-authored-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
20 lines
826 B
Go
20 lines
826 B
Go
package pkg
|
|
|
|
// DenoLockEntry is a struct that rep a single entry found in the "packages" section of a Deno deno.lock file
|
|
type DenoLockEntry struct {
|
|
// Integrity is the crpto hash of the package content for verification
|
|
Integrity string `mapstructure:"integrity" json:"integrity"`
|
|
|
|
// Dependencies is the list of package specifiers that this package depends on
|
|
Dependencies []string `mapstructure:"dependencies" json:"dependencies"`
|
|
}
|
|
|
|
// DenoRemoteLockEntry is a struct that rep a single entry found in the "remote" section of a Deno deno.lock file
|
|
type DenoRemoteLockEntry struct {
|
|
// URL is the remote URL from which the module fetcef
|
|
URL string `mapstructure:"url" json:"url"`
|
|
|
|
// Integrity is the crpto hash of the package content for verification
|
|
Integrity string `mapstructure:"integrity" json:"integrity"`
|
|
}
|