Skip to content

Commit 84ffbbe

Browse files
committed
Added missing doc strings
1 parent 95743d7 commit 84ffbbe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

javascript/ql/lib/semmle/javascript/security/CorsPermissiveConfigurationCustomizations.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ module CorsPermissiveConfiguration {
2626
this = TWildcard() and result = "wildcard"
2727
}
2828

29+
/** DEPRECATED: Converts this flow state to a flow label. */
2930
deprecated DataFlow::FlowLabel toFlowLabel() {
3031
this = TTaint() and result.isTaint()
3132
or
@@ -37,6 +38,7 @@ module CorsPermissiveConfiguration {
3738

3839
/** Predicates for working with flow states. */
3940
module FlowState {
41+
/** DEPRECATED: Gets a flow state from a flow label. */
4042
deprecated FlowState fromFlowLabel(DataFlow::FlowLabel label) { result.toFlowLabel() = label }
4143

4244
/** A tainted value. */
@@ -81,13 +83,15 @@ module CorsPermissiveConfiguration {
8183
TrueAndNull() { this = "TrueAndNull" }
8284
}
8385

86+
/** DEPRECATED: Gets a flow label representing `true` and `null` values. */
8487
deprecated TrueAndNull truenullLabel() { any() }
8588

8689
/** A flow label representing `*` value. */
8790
abstract deprecated class Wildcard extends DataFlow::FlowLabel {
8891
Wildcard() { this = "Wildcard" }
8992
}
9093

94+
/** DEPRECATED: Gets a flow label representing `*` value. */
9195
deprecated Wildcard wildcardLabel() { any() }
9296

9397
/** An overly permissive value for `origin` (Apollo) */

0 commit comments

Comments
 (0)