Predicate UnusedDependency::declaresDependency

Holds if the NPM package pkg declares a dependency on package name, and dep is the corresponding declaration in the package.json file.

predicate declaresDependency(NPMPackage pkg, string name, JSONValue dep)