add support for the synchronous-promise library

This commit is contained in:
Erik Krogh Kristensen
2021-06-20 19:37:02 +02:00
parent 5cb3c2c650
commit cb82cdf6e9
4 changed files with 14 additions and 2 deletions

View File

@@ -87,6 +87,8 @@ private DataFlow::SourceNode getAPromiseObject() {
result = DataFlow::moduleImport("pinkie-promise")
or
result = DataFlow::moduleImport("pinkie")
or
result = DataFlow::moduleMember("synchronous-promise", "SynchronousPromise")
}
/**