CodeQL library for JavaScript
Search

Predicate externalDependencies

Holds if f is a file that contains n dependencies on dep (where n is non-zero), and entity is the string p<|>depid<|>depver, where p is the path of f relative to the source root, and depid and depver are the id and version, respectively, of dep.

Import path

import Metrics.Dependencies.ExternalDependencies
predicate externalDependencies(File f, Dependency dep, string entity, int n)