Back to Explore

inspect-js/which-builtin-type

GitHub
1 watchersOpen source

Last release: 12/13/2024

which-builtin-type determines the type of a built-in JavaScript value, working across realms without relying on instanceof and without being misled by a constructor property. It is useful when you need a reliable way to classify values like arrays, typed arrays, dates, regexes, numbers, and functions.

Project status

  • The repository appears to be actively maintained in terms of ongoing upstream activity, with a last upstream push on 2026-03-16, even though the latest shown published v1.2.1 update is from 2024-12-13.
  • The apparent update cadence in the provided history is roughly every 3 to 6 months in 2024 (v1.1.4 on 2024-07-29, v1.2.0 on 2024-11-23, v1.2.1 on 2024-12-13).

AI summary generated Today

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

Recent updates

  • v1.2.1

    12/13/2024

    This release (v1.2.1) appears to be a dependency and internal refactor update, with no explicit user-facing release notes provided by the publisher. The code change is small (index.js swap from call-bind to call-bound), while package.json updates multiple dependency versions and slightly alters CI workflows.

  • v1.2.0

    11/23/2024

    v1.2.0 adds first-party TypeScript definitions (index.d.ts) and updates the runtime implementation to use call-bind/callBound for Promise.prototype.then access. There are also CI workflow changes for the Node 10-20 and 20+ test ranges, plus dependency bumps (notably is-finalizationregistry). No release notes were provided by the publisher.

    Features
  • v1.1.4

    7/29/2024

    Release v1.1.4 was published on 2024-07-29, but the publisher did not provide any release notes. No specific changes, fixes, or migration guidance are documented in the provided information.