JS: Sync ApiGraphModels.qll

This commit is contained in:
Asger Feldthaus
2022-03-01 08:59:31 +01:00
parent a33e89279d
commit d808bdc028

View File

@@ -231,6 +231,12 @@ string getAPackageAlias(string package) {
* Holds if CSV rows involving `package` might be relevant for the analysis of this database.
*/
private predicate isRelevantPackage(string package) {
(
sourceModel(package, _, _, _) or
sinkModel(package, _, _, _) or
summaryModel(package, _, _, _, _, _) or
typeModel(package, _, _, _, _)
) and
Specific::isPackageUsed(package)
or
exists(string other |