Back to Explore

ljharb/get-proto

GitHub
1 watchersOpen source

Last release: 1/2/2025

get-proto is a JavaScript utility that robustly retrieves an object's [[Prototype]] (its prototype), using the best available method. It is useful when you need a reliable way to access an object's prototype in Node.js or similar environments, including cases where __proto__ is set or is null.

Project status

  • Maintenance status: The upstream repo shows an active last push on 2026-01-13, indicating the project is being maintained, though the most recent tagged updates in the provided history are from Jan 2025.
  • Update cadence (inferred from tags): Only v1.0.0 and v1.0.1 appear in the provided recent update summaries, both dated 2025-01-02, so there is not enough evidence to establish a regular cadence, but tagged updates appear infrequent.

AI summary generated Today

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

Recent updates

  • v1.0.1

    1/2/2025

    No release notes were provided for v1.0.1 in the <release_notes> section. The diff and repository CHANGELOG entry indicate this release focuses on correcting behavior of get-proto when using Object.getPrototypeOf across windows/realms, specifically around throwing on non-object inputs.

  • v1.0.0

    1/2/2025

    This release is tagged v1.0.0, but the publisher provided no release notes, so there is no documented information about changes, fixes, or migrations. Developers should review the changelog and diff between the previous version and v1.0.0 to identify any potential breaking changes or undocumented behavior.