Skip to content

Commit 9f13b6b

Browse files
authored
Merge pull request #1234 from xiemaisi/js/customizations-qll
Approved by esben-semmle
2 parents a6cf950 + 078151f commit 9f13b6b

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/**
2+
* Contains customizations to the standard library.
3+
*
4+
* This module is imported by `javascript.qll`, so any customizations defined here automatically
5+
* apply to all queries.
6+
*
7+
* Typical examples of customizations include adding new subclasses of abstract classes such as
8+
* `FileSystemAccess`, or the `Source` and `Sink` classes associated with the security queries
9+
* to model frameworks that are not covered by the standard library.
10+
*/
11+
12+
import javascript

javascript/ql/src/javascript.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.
33
*/
44

5+
import Customizations
6+
57
import semmle.javascript.Aliases
68
import semmle.javascript.AMD
79
import semmle.javascript.AST

0 commit comments

Comments
 (0)