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

Member predicate NodeModule::getAnExportedValue

Get a value that is explicitly exported from this module with under name.

Note that in some module systems (notably CommonJS and AMD) modules are arbitrary objects that export all their properties. This predicate only considers properties that are explicitly defined on the module object.

Symbols defined in another module that are re-exported by this module are only sometimes considered.

Node getAnExportedValue(string name)