Skip to content

Commit 1a8a062

Browse files
Apply suggestions from code review
Co-authored-by: Jeongsoo Lee <[email protected]>
1 parent 9a7b00d commit 1a8a062

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5/UI5WebcomponentsReact.qll

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import semmle.javascript.security.dataflow.DomBasedXssCustomizations
22

33
/**
4+
* Classes imported from `@ui5/webcomponents-react`. e.g.
5+
*
46
* ``` javascript
57
* import { Input, Button } from '@ui5/webcomponents-react';
68
* ```
@@ -16,8 +18,11 @@ class WebComponentImport extends DataFlow::SourceNode {
1618
}
1719

1820
/**
19-
* Refers to the ref attribute
21+
* The `ref` attribute of a JSX attribute. e.g.
22+
*
23+
* ``` javascript
2024
* <SomeElement ref={x}>
25+
* ```
2126
*/
2227
class RefAttribute extends JsxAttribute {
2328
RefAttribute() { this.getName() = "ref" }

0 commit comments

Comments
 (0)