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.
2 parents c375f24 + 26f3b40 commit f587273Copy full SHA for f587273
javascript/ql/lib/semmle/javascript/frameworks/LodashUnderscore.qll
@@ -341,6 +341,18 @@ module LodashUnderscore {
341
preservesValue = true
342
}
343
344
+
345
+ private class LodashGroupBy extends DataFlow::SummarizedCallable {
346
+ LodashGroupBy() { this = "_.groupBy" }
347
348
+ override DataFlow::CallNode getACall() { result = member("groupBy").getACall() }
349
350
+ override predicate propagatesFlow(string input, string output, boolean preservesValue) {
351
+ input = "Argument[0]" and
352
+ output = ["Argument[1].Parameter[0]", "ReturnValue"] and
353
+ preservesValue = false
354
+ }
355
356
357
358
/**
0 commit comments