CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.13 (changelog, source)
Search

Predicate LodashUnderscore::member

Gets a data flow node that accesses the given member of lodash or underscore.

In addition to normal imports, this supports per-method imports such as require("lodash.map") and require("lodash/map"). In addition, the global variable _ is assumed to refer to lodash or underscore.

Import path

import javascript
SourceNode member(string name)