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

Member predicate API::Node::getAValueReachingSink

Get a data-flow node that transitively flows to an external library (or in general, any external codebase).

This is similar to asSink() but additionally includes nodes that transitively reach a sink by data flow. See asSink() for examples.

Node getAValueReachingSink()