Back to Explore

ljharb/get-intrinsic

GitHub
1 watchersOpen source

Last release: 8 months ago

get-intrinsic is a JavaScript utility that retrieves and robustly caches JS language-level intrinsics when it is first required. It is useful for looking up well-known intrinsic objects and functions, including handling missing intrinsics in a predictable way.

Project status

  • The repository appears actively maintained, with recent tags including v1.3.1 dated 2025-09-29 and an upstream push on 2026-01-13.
  • Apparent update cadence is moderate, with updates roughly every few months to about a year based on the visible sequence (v1.2.7 in 2025-01, v1.3.0 in 2025-02, v1.3.1 in 2025-09).

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.3.1

    8 months ago

    v1.3.1 is a small internal refactor of get-intrinsic. The main change is how the library obtains the %AsyncFunction%, %GeneratorFunction%, and %AsyncGeneratorFunction% intrinsics, shifting away from dynamically constructing code with the Function constructor.

    Security
  • v1.3.0

    2/22/2025

    v1.3.0 introduces support for an additional JavaScript intrinsic, Float16Array, and bumps several dependencies. The provided release notes contain no published change description, so the actual behavior/API impact must be inferred from the code diff.

  • v1.2.7

    1/2/2025

    Release v1.2.7 was published on 2025-01-02. No release notes or change details were provided, so the impact of this upgrade (API compatibility, behavior changes, bug fixes, or security updates) cannot be determined from the publisher text.