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

Module Sources

Provides support for intra-procedural tracking of a customizable set of data flow nodes.

Note that unlike TypeTracking.qll, this library only performs local tracking within a function.

Import path

import semmle.javascript.dataflow.Sources

Predicates

exportsVarNode

Gets the CommonJS/AMD exports variable for module m.

moduleVarNode

Gets the CommonJS/AMD module variable for module m.

Classes

SourceNode

A source node for local data flow, that is, a node from which local data flow is tracked.

Modules

Aliases

LocalSourceNode

An alias for SourceNode.