mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
JS: Add TODO for dynamic import step
This commit is contained in:
@@ -705,6 +705,7 @@ private module DynamicImportSteps {
|
||||
*/
|
||||
class DynamicImportStep extends LegacyPreCallGraphStep {
|
||||
override predicate storeStep(DataFlow::Node pred, DataFlow::SourceNode succ, string prop) {
|
||||
// TODO: this step needs to be ported to dataflow2
|
||||
exists(DynamicImportExpr imprt |
|
||||
pred = imprt.getImportedModule().getAnExportedValue("default") and
|
||||
succ = imprt.flow() and
|
||||
|
||||
Reference in New Issue
Block a user