mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
JS: Add more deprecation annotations in tests
This commit is contained in:
@@ -21,7 +21,7 @@ deprecated class LegacyConfig extends DataFlow::Configuration {
|
||||
|
||||
deprecated import testUtilities.LegacyDataFlowDiff::DataFlowDiff<TestFlow, LegacyConfig>
|
||||
|
||||
class Consistency extends ConsistencyConfiguration {
|
||||
deprecated class Consistency extends ConsistencyConfiguration {
|
||||
Consistency() { this = "Consistency" }
|
||||
|
||||
override DataFlow::Node getAnAlert() { TestFlow::flowTo(result) }
|
||||
|
||||
@@ -37,7 +37,7 @@ query predicate typetrack(DataFlow::SourceNode succ, DataFlow::SourceNode pred,
|
||||
succ = PromiseTypeTracking::promiseStep(pred, summary)
|
||||
}
|
||||
|
||||
class LegacyValueConfig extends DataFlow::Configuration {
|
||||
deprecated class LegacyValueConfig extends DataFlow::Configuration {
|
||||
LegacyValueConfig() { this = "LegacyValueConfig" }
|
||||
|
||||
override predicate isSource(DataFlow::Node source) { ValueFlowConfig::isSource(source) }
|
||||
@@ -48,7 +48,7 @@ class LegacyValueConfig extends DataFlow::Configuration {
|
||||
deprecated query predicate valueFlowDifference =
|
||||
DataFlowDiff<ValueFlow, LegacyValueConfig>::legacyDataFlowDifference/3;
|
||||
|
||||
class LegacyTaintConfig extends TaintTracking::Configuration {
|
||||
deprecated class LegacyTaintConfig extends TaintTracking::Configuration {
|
||||
LegacyTaintConfig() { this = "LegacyTaintConfig" }
|
||||
|
||||
override predicate isSource(DataFlow::Node source) { TaintConfig::isSource(source) }
|
||||
|
||||
Reference in New Issue
Block a user