|
2 | 2 |
|
3 | 3 | ## General improvements |
4 | 4 |
|
| 5 | +* TypeScript 3.8 is now supported. |
| 6 | + |
5 | 7 | * Alert suppression can now be done with single-line block comments (`/* ... */`) as well as line comments (`// ...`). |
6 | 8 |
|
7 | 9 | * Imports with the `.js` extension can now be resolved to a TypeScript file, |
|
13 | 15 |
|
14 | 16 | * The analysis of sanitizer guards has improved, leading to fewer false-positive results from the security queries. |
15 | 17 |
|
| 18 | +* The call graph construction has been improved, leading to more results from the security queries: |
| 19 | + - Calls can now be resolved to indirectly-defined class members in more cases. |
| 20 | + - Calls through partial invocations such as `.bind` can now be resolved in more cases. |
| 21 | + |
16 | 22 | * Support for the following frameworks and libraries has been improved: |
17 | 23 | - [Electron](https://electronjs.org/) |
18 | 24 | - [Handlebars](https://www.npmjs.com/package/handlebars) |
|
37 | 43 | | Cross-site scripting through exception (`js/xss-through-exception`) | security, external/cwe/cwe-079, external/cwe/cwe-116 | Highlights potential XSS vulnerabilities where an exception is written to the DOM. Results are not shown on LGTM by default. | |
38 | 44 | | Regular expression always matches (`js/regex/always-matches`) | correctness, regular-expressions | Highlights regular expression checks that trivially succeed by matching an empty substring. Results are shown on LGTM by default. | |
39 | 45 | | Missing await (`js/missing-await`) | correctness | Highlights expressions that operate directly on a promise object in a nonsensical way, instead of awaiting its result. Results are shown on LGTM by default. | |
| 46 | +| Polynomial regular expression used on uncontrolled data (`js/polynomial-redos`) | security, external/cwe/cwe-730, external/cwe/cwe-400 | Highlights expensive regular expressions that may be used on malicious input. Results are shown on LGTM by default. | |
40 | 47 | | Prototype pollution in utility function (`js/prototype-pollution-utility`) | security, external/cwe/cwe-400, external/cwe/cwe-471 | Highlights recursive copying operations that are susceptible to prototype pollution. Results are shown on LGTM by default. | |
41 | 48 | | Unsafe jQuery plugin (`js/unsafe-jquery-plugin`) | Highlights potential XSS vulnerabilities in unsafely designed jQuery plugins. Results are shown on LGTM by default. | |
42 | 49 | | Useless use of cat (`js/useless-use-of-cat`) | correctness, security, maintainability | Highlights command executions of `cat` where the fs API should be used instead. Results are shown on LGTM by default. | |
|
0 commit comments