This commit is contained in:
amammad
2023-09-25 21:09:19 +10:00
parent 344869f0d7
commit f6737b3d90

View File

@@ -765,7 +765,7 @@ module NodeJSLib {
* The dynamic import expression input can be a `data:` URL which loads any module from that data
*/
class DynamicImport extends CodeInjection::Sink, DataFlow::ExprNode {
DynamicImport() { this = any(DynamicImportExpr e).getAChildExpr().flow() }
DynamicImport() { this = any(DynamicImportExpr e).getSource().flow() }
}
/**