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 344869f commit f6737b3Copy full SHA for f6737b3
javascript/ql/lib/semmle/javascript/frameworks/NodeJSLib.qll
@@ -765,7 +765,7 @@ module NodeJSLib {
765
* The dynamic import expression input can be a `data:` URL which loads any module from that data
766
*/
767
class DynamicImport extends CodeInjection::Sink, DataFlow::ExprNode {
768
- DynamicImport() { this = any(DynamicImportExpr e).getAChildExpr().flow() }
+ DynamicImport() { this = any(DynamicImportExpr e).getSource().flow() }
769
}
770
771
/**
0 commit comments