JS: make moduleImport() work for named imports

This commit is contained in:
Asger F
2019-02-12 17:12:05 +00:00
parent c133362660
commit be10f24de7
13 changed files with 122 additions and 8 deletions

View File

@@ -0,0 +1,4 @@
import javascript
from string path, string prop
select path, prop, DataFlow::moduleImport(path).getAPropertyRead(prop)