Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func YarnWhyAll ¶
func YarnWhyAll(locate string, packages []PackageDetails) map[string]bool
YarnWhyAll Returns list of packages that caused the specified package to be pulled in NOTE: this is a full flattened list, without the hierarchy included (for speed)
Types ¶
type Dependency ¶
type PackageDetails ¶
type PackageDetails struct { Name string `json:"name"` Version string `json:"version"` Commit string `json:"commit,omitempty"` Ecosystem Ecosystem `json:"ecosystem,omitempty"` CompareAs Ecosystem `json:"compareAs,omitempty"` Dependencies []Dependency `json:"dependencies,omitempty"` }
func ParseYarnLock ¶
func ParseYarnLock(pathToLockfile string) ([]PackageDetails, error)
type PackageDetailsParser ¶
type PackageDetailsParser = func(pathToLockfile string) ([]PackageDetails, error)
Click to show internal directories.
Click to hide internal directories.