Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4f801b commit e2cbf47Copy full SHA for e2cbf47
1 file changed
javascript/ql/lib/semmle/javascript/frameworks/data/internal/Impl.qll
@@ -29,7 +29,7 @@ predicate isPackageUsed(string package) {
29
or
30
package = "global"
31
32
- exists(API::Node::ofType(package, _))
+ any(DataFlow::SourceNode sn).hasUnderlyingType(package, _)
33
}
34
35
/** Holds if `global` is a global variable referenced via a the `global` package in a CSV row. */
0 commit comments