Skip to content

Commit e3440c1

Browse files
committed
JS: Cache AMD modules
1 parent aa2a49d commit e3440c1

File tree

1 file changed

+1
-0
lines changed
  • javascript/ql/src/semmle/javascript

1 file changed

+1
-0
lines changed

javascript/ql/src/semmle/javascript/AMD.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ private class AmdDependencyImport extends Import {
290290
* ```
291291
*/
292292
class AmdModule extends Module {
293+
cached
293294
AmdModule() { strictcount(AmdModuleDefinition def | amdModuleTopLevel(def, this)) = 1 }
294295

295296
/** Gets the definition of this module. */

0 commit comments

Comments
 (0)