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

Predicate DataFlow::ContentSet::promiseFilter

A content set that should only be used in withContent and withoutContent steps, which matches the two promise-related contents, Awaited[value] and Awaited[error].

Import path

import javascript
ContentSet promiseFilter()