Through the Docs only goggle Turn it offSee its rules

3 matching pages, found in 89 ms

Summary

The Promises site on codeql.github.com is a CodeQL library for JavaScript/TypeScript that models promise behavior and data-flow, including classes like PromiseDefinition and AggregateES2015PromiseDefinition 1. It supports analysis of promise creation, resolution, and handling, including for libraries like Bluebird 5. The library also includes queries for detecting issues like missing await, which can lead to unexpected behavior when using promise objects instead of their resolved values 2. Classes such as PromiseCreationCall and ResolvedPromiseDefinition help track promise lifecycle and resolution handlers 3.

Written by qwen3-vl-abliterated 8b on your GPU machine from 6 sources, Nov 20. It can be wrong: check the sources.

  1. codeql.github.comhttps://codeql.github.com › … › codeql-changelog › codeql-cli-2.26.3
    More about codeql.github.com
    CodeQL 2.26.3 (2026-08-12) — CodeQL

    … threat model now track promise-wrapped client response data into promise fulfillment values. This may improve results for queries such as js/xss when response data is consumed through .then(...) chains. The …

    0 points
  2. codeql.github.comhttps://codeql.github.com › … › codeql-changelog › codeql-cli-2.14.1
    More about codeql.github.com
    CodeQL 2.14.1 (2023-07-27) — CodeQL

    … JavaScript/TypeScript ¶ The fs/promises package is now recognised as an alias for require('fs').promises . The js/path-injection query can now track taint through calls to path.join() with a spread …

    0 points
  3. codeql.github.comhttps://codeql.github.com › docs › codeql-language-guides › codeql-library-for-typescript
    More about codeql.github.com
    CodeQL library for TypeScript — CodeQL

    CodeQL » CodeQL language guides » CodeQL for JavaScript and TypeScript » CodeQL library for TypeScript ¶ When you’re analyzing a TypeScript program, you can make use of the large collection of classes in the CodeQL …

    0 points

Search for “promises site:codeql.github.com” on Google, or add !ddg, !w and other shortcuts to any search.