Skip to content

Commit fd5b889

Browse files
authored
Merge pull request #10063 from erik-krogh/fixRbDep
re-deprecate ReDoSUtil in ruby
2 parents 3677522 + 2fbae81 commit fd5b889

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

java/ql/lib/semmle/code/java/security/OverlyLargeRangeQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// We don't need the NFA utils, just the regexp tree.
66
// but the below is a nice shared library that exposes the API we need.
7-
import performance.ReDoSUtil
7+
import regexp.NfaUtils
88

99
/**
1010
* Gets a rank for `range` that is unique for ranges in the same file.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// We don't need the NFA utils, just the regexp tree.
66
// but the below is a nice shared library that exposes the API we need.
7-
import performance.ReDoSUtil
7+
import regexp.NfaUtils
88

99
/**
1010
* Gets a rank for `range` that is unique for ranges in the same file.

python/ql/lib/semmle/python/security/OverlyLargeRangeQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// We don't need the NFA utils, just the regexp tree.
66
// but the below is a nice shared library that exposes the API we need.
7-
import performance.ReDoSUtil
7+
import regexp.NfaUtils
88

99
/**
1010
* Gets a rank for `range` that is unique for ranges in the same file.

ruby/ql/lib/codeql/ruby/security/OverlyLargeRangeQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// We don't need the NFA utils, just the regexp tree.
66
// but the below is a nice shared library that exposes the API we need.
7-
import performance.ReDoSUtil
7+
import regexp.NfaUtils
88

99
/**
1010
* Gets a rank for `range` that is unique for ranges in the same file.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
/** DEPRECATED. Import `codeql.ruby.security.regexp.NfaUtils` instead. */
22

3-
import codeql.ruby.security.regexp.NfaUtils as Dep
3+
deprecated import codeql.ruby.security.regexp.NfaUtils as Dep
44
import Dep

0 commit comments

Comments
 (0)