JavaScript: Deprecate multi-argument isBarrier and isSanitizer predicates.

We informally deprecated them in 1.21, this commit deprecates them properly and removes support from the implementation. The predicates themselves will be removed in a future release.
This commit is contained in:
Max Schaefer
2019-07-30 12:43:02 +01:00
parent bf0201a36e
commit 3e6629d007
3 changed files with 7 additions and 11 deletions

View File

@@ -31,3 +31,6 @@
- The `getName()` predicate on functions and classes now gets a name
inferred from the context if the function or class was not declared with a name.
- The two-argument and three-argument variants of `DataFlow::Configuration::isBarrier` and
`TaintTracking::Configuration::isSanitizer` have been deprecated. Overriding them no
longer has any effect. Use `isBarrierEdge` and `isSanitizerEdge` instead.