We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 700dfcc commit dbc8b9cCopy full SHA for dbc8b9c
javascript/ql/src/semmle/javascript/frameworks/Logging.qll
@@ -221,8 +221,12 @@ class AnsiColorsStep extends TaintTracking::SharedTaintStep {
221
class ColorsStep extends TaintTracking::SharedTaintStep {
222
override predicate stringManipulationStep(DataFlow::Node pred, DataFlow::Node succ) {
223
exists(API::CallNode call |
224
-
225
- call = API::moduleImport(["colors", "colors/safe" /* this variant avoids modifying the prototype methods */ ]).getAMember*().getACall()
+ call =
+ API::moduleImport([
226
+ "colors",
227
+ // the `colors/safe` variant avoids modifying the prototype methods
228
+ "colors/safe"
229
+ ]).getAMember*().getACall()
230
|
231
pred = call.getArgument(0) and
232
succ = call
0 commit comments