mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
JS: Add modeling for thenify-all
This commit is contained in:
@@ -728,7 +728,8 @@ module Promisify {
|
||||
this =
|
||||
[
|
||||
DataFlow::moduleMember("bluebird", "promisifyAll"),
|
||||
DataFlow::moduleImport(["util-promisifyall", "pify"])
|
||||
DataFlow::moduleMember("thenify-all", "withCallback"),
|
||||
DataFlow::moduleImport(["util-promisifyall", "pify", "thenify-all"])
|
||||
].getACall()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user