CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.9.0 (changelog, source)
Search

Predicate loadAsFile

Gets the resolution target with the given priority of req when resolved from the root with priority rootPriority.

Import path

import semmle.javascript.NodeModuleResolutionImpl
File loadAsFile(Require req, int rootPriority, int priority)