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 b2720c4 commit ba73337Copy full SHA for ba73337
javascript/ql/lib/semmle/javascript/ApiGraphs.qll
@@ -783,14 +783,6 @@ module API {
783
784
private predicate hasSemantics(DataFlow::Node nd) { not nd.getTopLevel().isExterns() }
785
786
- /** Holds if `imp` is an import of module `m`. */
787
- private predicate imports(DataFlow::Node imp, string m) {
788
- imp = DataFlow::moduleImport(m) and
789
- // path must not start with a dot or a slash
790
- m.regexpMatch("[^./].*") and
791
- hasSemantics(imp)
792
- }
793
-
794
private signature module StageInputSig {
795
/** Holds if `node` should be seen as a use-node root, in addition to module imports (which are the usual roots). */
796
predicate isAdditionalUseRoot(Node node);
0 commit comments