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

Skip to content

Commit bfbf686

Browse files
author
Esben Sparre Andreasen
committed
JS: fixup changenote for js/unbound-event-handler-receiver
1 parent a0c12c4 commit bfbf686

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

change-notes/1.20/analysis-javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
| Incomplete URL substring sanitization | correctness, security, external/cwe/cwe-020 | Highlights URL sanitizers that are likely to be incomplete, indicating a violation of [CWE-020](https://cwe.mitre.org/data/definitions/20.html). Results shown on LGTM by default. |
2727
| Incorrect suffix check (`js/incorrect-suffix-check`) | correctness, security, external/cwe/cwe-020 | Highlights error-prone suffix checks based on `indexOf`, indicating a potential violation of [CWE-20](https://cwe.mitre.org/data/definitions/20.html). Results are shown on LGTM by default. |
2828
| Loop iteration skipped due to shifting (`js/loop-iteration-skipped-due-to-shifting`) | correctness | Highlights code that removes an element from an array while iterating over it, causing the loop to skip over some elements. Results are shown on LGTM by default. |
29-
| Unbound event handler receiver (`js/unbound-event-handler-receiver`) | Fewer false positive results | Additional ways that class methods can be bound are recognized. |
3029
| Useless comparison test (`js/useless-comparison-test`) | correctness | Highlights code that is unreachable due to a numeric comparison that is always true or always false. Results are shown on LGTM by default. |
3130

3231
## Changes to existing queries
@@ -39,6 +38,7 @@
3938
| Insecure randomness | More results | This rule now flags insecure uses of `crypto.pseudoRandomBytes`. |
4039
| Reflected cross-site scripting | Fewer false-positive results. | This rule now recognizes custom sanitizers. |
4140
| Stored cross-site scripting | Fewer false-positive results. | This rule now recognizes custom sanitizers. |
41+
| Unbound event handler receiver (`js/unbound-event-handler-receiver`) | Fewer false positive results | Additional ways that class methods can be bound are recognized. |
4242
| Uncontrolled data used in network request | More results | This rule now recognizes host values that are vulnerable to injection. |
4343
| Unused parameter | Fewer false-positive results | This rule no longer flags parameters with leading underscore. |
4444
| Unused variable, import, function or class | Fewer false-positive results | This rule now flags fewer variables that are implictly used by JSX elements, and no longer flags variables with leading underscore. |

0 commit comments

Comments
 (0)