mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
JS: Add modeling for @gar/promisify
This commit is contained in:
@@ -729,7 +729,7 @@ module Promisify {
|
||||
[
|
||||
DataFlow::moduleMember(["bluebird", "@google-cloud/promisify"], "promisifyAll"),
|
||||
DataFlow::moduleMember("thenify-all", "withCallback"),
|
||||
DataFlow::moduleImport(["util-promisifyall", "pify", "thenify-all"])
|
||||
DataFlow::moduleImport(["util-promisifyall", "pify", "thenify-all", "@gar/promisify"])
|
||||
].getACall()
|
||||
}
|
||||
}
|
||||
@@ -744,7 +744,7 @@ module Promisify {
|
||||
or
|
||||
this = DataFlow::moduleImport(["pify", "util.promisify"]).getACall()
|
||||
or
|
||||
this = DataFlow::moduleImport("thenify").getACall()
|
||||
this = DataFlow::moduleImport(["thenify", "@gar/promisify"]).getACall()
|
||||
or
|
||||
this = DataFlow::moduleMember("thenify", "withCallback").getACall()
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user