We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55636b3 commit 90c3098Copy full SHA for 90c3098
javascript/ql/lib/semmle/javascript/ApiGraphs.qll
@@ -778,14 +778,6 @@ module API {
778
779
private predicate hasSemantics(DataFlow::Node nd) { not nd.getTopLevel().isExterns() }
780
781
- /** Holds if `imp` is an import of module `m`. */
782
- private predicate imports(DataFlow::Node imp, string m) {
783
- imp = DataFlow::moduleImport(m) and
784
- // path must not start with a dot or a slash
785
- m.regexpMatch("[^./].*") and
786
- hasSemantics(imp)
787
- }
788
-
789
private signature module StageInputSig {
790
predicate isAdditionalUseRoot(Node node);
791
0 commit comments