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 7486742 commit 804a1a6Copy full SHA for 804a1a6
javascript/ql/lib/semmle/javascript/frameworks/LodashUnderscore.qll
@@ -278,7 +278,11 @@ module LodashUnderscore {
278
279
override predicate propagatesFlow(string input, string output, boolean preservesValue) {
280
input = "Argument[0].ArrayElement" and
281
- output = ["Argument[1].Parameter[0]", "ReturnValue.ArrayElement"] and
+ output =
282
+ [
283
+ "Argument[1].Parameter[0]", "Argument[1].ArrayElement.Parameter[0]",
284
+ "ReturnValue.ArrayElement"
285
+ ] and
286
preservesValue = true
287
}
288
0 commit comments