|
2 | 2 |
|
3 | 3 | ## General improvements |
4 | 4 |
|
5 | | -* Suppor for `globalThis` has been added. |
| 5 | +* Support for `globalThis` has been added. |
6 | 6 |
|
7 | 7 | * Support for the following frameworks and libraries has been improved: |
8 | 8 | - [firebase](https://www.npmjs.com/package/firebase) |
|
12 | 12 |
|
13 | 13 | * The call graph has been improved to resolve method calls in more cases. This may produce more security alerts. |
14 | 14 |
|
15 | | -* TypeScript 3.6 features are supported. |
| 15 | +* TypeScript 3.6 and 3.7 features are now supported. |
16 | 16 |
|
| 17 | +* Automatic classification of generated files has been improved, in particular files generated by Doxygen are now recognized. |
17 | 18 |
|
18 | 19 | ## New queries |
19 | 20 |
|
|
26 | 27 | | Use of returnless function (`js/use-of-returnless-function`) | maintainability, correctness | Highlights calls where the return value is used, but the callee never returns a value. Results are shown on LGTM by default. | |
27 | 28 | | Useless regular expression character escape (`js/useless-regexp-character-escape`) | correctness, security, external/cwe/cwe-20 | Highlights regular expression strings with useless character escapes, indicating a possible violation of [CWE-20](https://cwe.mitre.org/data/definitions/20.html). Results are shown on LGTM by default. | |
28 | 29 | | Unreachable method overloads (`js/unreachable-method-overloads`) | correctness, typescript | Highlights method overloads that are impossible to use from client code. Results are shown on LGTM by default. | |
| 30 | +| Ignoring result from pure array method (`js/ignore-array-result`) | maintainability, correctness | Highlights calls to array methods without side effects where the return value is ignored. Results are shown on LGTM by default. | |
29 | 31 |
|
30 | 32 | ## Changes to existing queries |
31 | 33 |
|
32 | 34 | | **Query** | **Expected impact** | **Change** | |
33 | 35 | |--------------------------------|------------------------------|---------------------------------------------------------------------------| |
| 36 | +| Double escaping or unescaping (`js/double-escaping`) | More results | This rule now detects additional escaping and unescaping functions. | |
34 | 37 | | Incomplete string escaping or encoding (`js/incomplete-sanitization`) | Fewer false-positive results | This rule now recognizes additional ways delimiters can be stripped away. | |
35 | 38 | | Client-side cross-site scripting (`js/xss`) | More results, fewer false-positive results | More potential vulnerabilities involving functions that manipulate DOM attributes are now recognized, and more sanitizers are detected. | |
36 | 39 | | Code injection (`js/code-injection`) | More results | More potential vulnerabilities involving functions that manipulate DOM event handler attributes are now recognized. | |
|
0 commit comments