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 04fbb8c commit 2d1f2dbCopy full SHA for 2d1f2db
javascript/ql/lib/semmle/javascript/internal/NameResolution.qll
@@ -333,6 +333,8 @@ module NameResolution {
333
exprt.getContainer() = mod and
334
result = exprt.getOperand()
335
)
336
+ or
337
+ result = mod.(AmdModule).getDefine().getFactoryFunction().getAReturnedExpr()
338
}
339
340
/** Gets a node that is bulk-exported from the given module. */
@@ -352,6 +354,8 @@ module NameResolution {
352
354
or
353
355
readStep(moduleObjectRef(mod), "exports", result)
356
357
+ result = mod.(AmdModule).getDefine().getExportsParameter()
358
359
result = exportsObjectRhsPred(mod)
360
361
commonStep(exportsObjectAlias(mod), result)
0 commit comments