Skip to content

Commit ccda417

Browse files
committed
JS: Add TODO for dynamic import step
1 parent 0d3cf90 commit ccda417

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

javascript/ql/lib/semmle/javascript/Promises.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,7 @@ private module DynamicImportSteps {
705705
*/
706706
class DynamicImportStep extends LegacyPreCallGraphStep {
707707
override predicate storeStep(DataFlow::Node pred, DataFlow::SourceNode succ, string prop) {
708+
// TODO: this step needs to be ported to dataflow2
708709
exists(DynamicImportExpr imprt |
709710
pred = imprt.getImportedModule().getAnExportedValue("default") and
710711
succ = imprt.flow() and

0 commit comments

Comments
 (0)