Skip to content

Commit 0e4c34b

Browse files
committed
JS: Add deprecated predicate alias
1 parent 93a3f57 commit 0e4c34b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

javascript/ql/src/semmle/javascript/security/dataflow/PrototypePollutionCustomizations.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ module PrototypePollution {
117117
}
118118
}
119119

120+
/**
121+
* DEPRECATED. Use `isVulnerableVersionOfDeepExtendCall` or `isVulnerableDeepExtendCallAllVersions` instead.
122+
*/
123+
deprecated predicate isVulnerableDeepExtendCall = isVulnerableVersionOfDeepExtendCall/2;
124+
120125
/**
121126
* Holds if `call` is vulnerable to prototype pollution because the callee is defined by `dep`.
122127
*/

0 commit comments

Comments
 (0)