Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e37751e

Browse files
authored
Merge pull request #1816 from felicity-semmle/1.22/js-finalize-change-notes
Approved by asger-semmle
2 parents f17c670 + 0ef81b5 commit e37751e

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

change-notes/1.22/analysis-javascript.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
* Support for tracking data flow and taint through getter functions (that is, functions that return a property of one of their arguments) and through the receiver object of method calls has been improved. This may produce more security alerts.
1717

1818
* Taint tracking through object property names has been made more precise, resulting in fewer false positive results.
19-
19+
20+
* Method calls are now resolved in more cases, due to improved class hierarchy analysis. This may produce more security alerts.
21+
2022
## New queries
2123

2224
| **Query** | **Tags** | **Purpose** |
@@ -28,14 +30,14 @@
2830

2931
| **Query** | **Expected impact** | **Change** |
3032
|--------------------------------|------------------------------|---------------------------------------------------------------------------|
31-
| Shift out of range | Fewer false positive results | This rule now correctly handles BigInt shift operands. |
32-
| Conflicting HTML element attributes | Fewer results | Results are no longer shown on LGTM by default. |
33-
| Superfluous trailing arguments | Fewer false-positive results. | This rule no longer flags calls to placeholder functions that trivially throw an exception. |
34-
| Undocumented parameter | No changes to results | This rule is now run on LGTM, although its results are still not shown by default. |
33+
| Conflicting HTML element attributes (`js/conflicting-html-attribute`) | No changes to results | Results are no longer shown on LGTM by default. |
34+
| Shift out of range (`js/shift-out-of-range`| Fewer false positive results | This rule now correctly handles BigInt shift operands. |
35+
| Superfluous trailing arguments (`js/superfluous-trailing-arguments`) | Fewer false-positive results. | This rule no longer flags calls to placeholder functions that trivially throw an exception. |
36+
| Undocumented parameter (`js/jsdoc/missing-parameter`) | No changes to results | This rule is now run on LGTM, although its results are still not shown by default. |
3537

3638
## Changes to QL libraries
3739

38-
- The `getName()` predicate on functions and classes now gets a name
40+
- The `getName()` predicate on functions and classes now gets a name that is
3941
inferred from the context if the function or class was not declared with a name.
4042
- The two-argument and three-argument variants of `DataFlow::Configuration::isBarrier` and
4143
`TaintTracking::Configuration::isSanitizer` have been deprecated. Overriding them no

0 commit comments

Comments
 (0)