JS: Add deprecated predicate alias

This commit is contained in:
Asger F
2019-09-04 13:05:47 +01:00
parent 93a3f571ec
commit 0e4c34bd81

View File

@@ -117,6 +117,11 @@ module PrototypePollution {
}
}
/**
* DEPRECATED. Use `isVulnerableVersionOfDeepExtendCall` or `isVulnerableDeepExtendCallAllVersions` instead.
*/
deprecated predicate isVulnerableDeepExtendCall = isVulnerableVersionOfDeepExtendCall/2;
/**
* Holds if `call` is vulnerable to prototype pollution because the callee is defined by `dep`.
*/