Skip to content

Commit cc83832

Browse files
committed
JS: Remove old bulk export access getAnExportedModule
1 parent 7daa648 commit cc83832

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

javascript/ql/lib/semmle/javascript/PackageExports.qll

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,6 @@ private DataFlow::Node getAValueExportedByPackage() {
164164
* Gets an exported node from the module `mod`.
165165
*/
166166
private DataFlow::Node getAnExportFromModule(Module mod) {
167-
result.analyze().getAValue() = mod.(NodeModule).getAModuleExportsValue()
168-
or
169-
result = mod.(Closure::ClosureModule).getExportsVariable().getAnAssignedExpr().flow()
170-
or
171-
result.analyze().getAValue() = mod.(AmdModule).getDefine().getAModuleExportsValue()
172-
or
173167
result = mod.getAnExportedValue(_)
174168
or
175169
result = mod.getABulkExportedNode()

0 commit comments

Comments
 (0)