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 caee3e5 commit 9e9d9d4Copy full SHA for 9e9d9d4
javascript/ql/lib/semmle/javascript/ApiGraphs.qll
@@ -775,13 +775,7 @@ module API {
775
or
776
nd = any(DataFlow::CallNode c).getReceiver()
777
778
- nd = DataFlow::valueNode(any(ExportNamedDeclaration decl).getOperand())
779
- or
780
- nd = DataFlow::valueNode(any(ExportDefaultDeclaration decl).getOperand())
781
782
- nd = any(ExportNamedDeclaration decl).getOperand().(DeclStmt).getADecl().getInit().flow()
783
784
- nd = any(ExportNamespaceSpecifier spec | exists(spec.getExportedName())).flow()
+ nd = any(ExportDeclaration decl).getDirectSourceNode(_)
785
786
nd = any(MemberDeclaration m).getInit().flow()
787
} or
0 commit comments