add model of the thenify library

This commit is contained in:
Erik Krogh Kristensen
2021-06-20 22:49:19 +02:00
parent 61cc415a32
commit 4360e5dcbc
4 changed files with 58 additions and 1 deletions

View File

@@ -686,6 +686,10 @@ module Promisify {
this = DataFlow::moduleImport(["util", "bluebird"]).getAMemberCall("promisify")
or
this = DataFlow::moduleImport(["pify", "util.promisify"]).getACall()
or
this = DataFlow::moduleImport("thenify").getACall()
or
this = DataFlow::moduleMember("thenify", "withCallback").getACall()
}
}
}