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

Skip to content

Commit 21c8953

Browse files
author
Esben Sparre Andreasen
committed
JS: change notes for improved inter-procedural type inference
1 parent 6f5fb2a commit 21c8953

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

change-notes/1.18/analysis-javascript.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
* The taint tracking library now recognizes additional sanitization patterns. This may give fewer false-positive results for the security queries.
1616

17+
* Type inference for simple function calls has been improved. This may give additional results for queries that rely on type inference.
18+
1719
* Support for popular libraries has been improved. Consequently, queries may produce more results on code bases that use the following libraries:
1820
- [bluebird](http://bluebirdjs.com)
1921
- [browserid-crypto](https://github.com/mozilla/browserid-crypto)
@@ -85,6 +87,7 @@
8587
| **Query** | **Expected impact** | **Change** |
8688
|----------------------------|------------------------|------------------------------------------------------------------|
8789
| Arguments redefined | Fewer results | This rule previously also flagged redefinitions of `eval`. This was an oversight that is now fixed. |
90+
| Comparison between inconvertible types | Fewer results | This rule now flags fewer comparisons involving IIFE parameters. |
8891
| Comparison between inconvertible types | Lower severity | The severity of this rule has been revised to "warning". |
8992
| CORS misconfiguration for credentials transfer | More true-positive results | This rule now treats header names case-insensitively. |
9093
| Hard-coded credentials | More true-positive results | This rule now recognizes secret cryptographic keys. |
@@ -99,6 +102,8 @@
99102
| Unused variable | Fewer results | This rule no longer flags class expressions that could be made anonymous. While technically true, these results are not interesting. |
100103
| Unused variable | Renamed | This rule has been renamed to "Unused variable, import, function or class" to reflect the fact that it flags different kinds of unused program elements. |
101104
| Use of incompletely initialized object| Fewer results | This rule now flags the constructor instead its errorneous `this` or `super` expressions. |
105+
| Useless conditional | Fewer results | This rule no longer flags uses of boolean IIFE return values. |
106+
| Useless conditional | Fewer results | This rule now flags fewer comparisons involving IIFE parameters. |
102107

103108
## Changes to QL libraries
104109

0 commit comments

Comments
 (0)