mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
make getTopmostPackageJSON public again, and update PackageExports test
This commit is contained in:
@@ -3,9 +3,7 @@ import semmle.javascript.PackageExports as Exports
|
||||
|
||||
query PackageJSON getTopmostPackageJSON() { result = Exports::getTopmostPackageJSON() }
|
||||
|
||||
query DataFlow::Node getAValueExportedBy(PackageJSON json) {
|
||||
result = Exports::getAValueExportedBy(json)
|
||||
}
|
||||
query DataFlow::Node getALibraryInputParameter() { result = Exports::getALibraryInputParameter() }
|
||||
|
||||
query DataFlow::Node getAnExportedValue(Module mod, string name) {
|
||||
result = mod.getAnExportedValue(name)
|
||||
|
||||
Reference in New Issue
Block a user