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)