We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ed0f36 commit 6c00a7fCopy full SHA for 6c00a7f
1 file changed
javascript/ql/lib/semmle/javascript/ApiGraphs.qll
@@ -791,14 +791,6 @@ module API {
791
792
private predicate hasSemantics(DataFlow::Node nd) { not nd.getTopLevel().isExterns() }
793
794
- /** Holds if `imp` is an import of module `m`. */
795
- private predicate imports(DataFlow::Node imp, string m) {
796
- imp = DataFlow::moduleImport(m) and
797
- // path must not start with a dot or a slash
798
- m.regexpMatch("[^./].*") and
799
- hasSemantics(imp)
800
- }
801
-
802
private signature module StageInputSig {
803
/** Holds if `node` should be seen as a use-node root, in addition to module imports (which are the usual roots). */
804
predicate isAdditionalUseRoot(Node node);
0 commit comments