CodeQL library for JavaScript
Search

Member predicate NPMPackage::getAFile

Gets a file belonging to this package.

We only consider files to belong to the nearest enclosing package, and files inside the node_modules folder of a package are not considered to belong to that package.

File getAFile()