Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d808bdc

Browse files
committed
JS: Sync ApiGraphModels.qll
1 parent a33e892 commit d808bdc

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

javascript/ql/lib/semmle/javascript/frameworks/data/internal/ApiGraphModels.qll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,12 @@ string getAPackageAlias(string package) {
231231
* Holds if CSV rows involving `package` might be relevant for the analysis of this database.
232232
*/
233233
private predicate isRelevantPackage(string package) {
234+
(
235+
sourceModel(package, _, _, _) or
236+
sinkModel(package, _, _, _) or
237+
summaryModel(package, _, _, _, _, _) or
238+
typeModel(package, _, _, _, _)
239+
) and
234240
Specific::isPackageUsed(package)
235241
or
236242
exists(string other |

0 commit comments

Comments
 (0)