Types.ScanPackageCallContext
ScanPackageCallContext: Object
Name | Type | Description |
---|---|---|
dependencyType |
DependencyType |
Information on what is the source of the dependency on the package to be scanned |
parentPackageName? |
string |
The name of the package that introduced the package to be scanned as a dependency (of any type); undefined if the package to be scanned is a dependency of the root package |
parentPackageRequiredVersion? |
string |
The required version, as specified in package.json of the package that introduced the package to be scanned as a dependency (of any type) |
parentPackageResolvedVersion? |
string |
The resolved (actually installed by the package manager) version of the package that introduced the package to be scanned as a dependency (of any type) |
parentPackageRoot? |
string |
The installation directory of the package that introduced the package to be scanned as a dependency (of any type); undefined if the package to be scanned is a dependency of the root package |