Back to Explore

inspect-js/is-boolean-object

GitHub
1 watchersOpen source

Last release: 2/5/2025

This module checks whether a value is a JavaScript Boolean, including boxed Boolean objects. It is useful for type validation and works across realms or iframes, even when ES6 @@toStringTag is present.

Project status

  • The repository appears actively maintained, with a recent upstream push on 2025-12-30, and tagged updates continuing into 2025 (latest tagged update v1.2.2 on 2025-02-05).
  • The apparent tagged update cadence is modest and irregular, with v1.2.0 (2024-12-02), v1.2.1 (2024-12-13), and v1.2.2 (2025-02-05).

AI summary generated Today

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

Recent updates

  • v1.2.2

    2/5/2025

    No release notes were provided by the publisher for v1.2.2. The changelog and code diff show a behavioral fix related to how fake or proxy-based "Boolean" objects are detected.

  • v1.2.1

    12/13/2024

    Release v1.2.1 contains a small internal refactor and dependency update. The only code change is switching how `callBound` is imported, and the accompanying `package.json` updates replace `call-bind` with `call-bound`.

  • v1.2.0

    12/2/2024

    Release v1.2.0 was published on 2024-12-02, but no release notes were provided. As a result, the changes introduced in this version cannot be determined from the available information.

  • v1.1.2

    8/5/2021

    v1.1.2 refactors how the library detects Symbol.toStringTag support when checking boolean wrapper objects. The change is intended to behave correctly in environments that use Symbol shams, and it includes updates to dev dependencies.

  • v1.1.1

    5/7/2021

    No release notes were provided for v1.1.1. The code diff indicates a small but real runtime logic change in boolean detection, along with mostly development and CI/test-related updates and a dependency bump.

  • v1.1.0

    12/6/2020

    Release v1.1.0 contains no publisher-provided release notes (none included). The actual code change is limited to switching the internal implementation of `isBoolean` to use `call-bind` bound versions of `Boolean.prototype.toString` and `Object.prototype.toString`, plus substantial CI and dev tooling updates.

  • v1.0.1

    12/19/2019

    Release v1.0.1 contains no publisher-provided release notes. The only actual runtime/library change is a modification to the boolean-detection logic in index.js, plus a new test file and significant project/tooling updates (eslint, CI, npm scripts).

  • v1.0.0

    4/28/2015

    No release notes were provided for v1.0.0, so specific changes, features, or fixes cannot be determined from the published information. Developers should verify the upgrade impact by reviewing the corresponding commits/tags in the repository.