Back to Explore

inspect-js/is-boolean-object

GitHub
2 watchersOpen source

Last release:

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

  • Active maintenance: Evidence shows at least some ongoing upstream activity (last upstream push on 2025-12-30), but no new published update is listed after v1.2.2 (2025-02-05), so from a consumer perspective it looks more like low-frequency maintenance than active day-to-day releases.
  • Update cadence: Updates are infrequent, with gaps of many months to years (for example, from 2021-08-05 to 2024-12-02, then to 2025-02-05). The most recent upstream push in late 2025 suggests cadence may have resumed, but the evidence provided does not confirm a regular pattern.

AI summary generated

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

Recent updates

  • v1.2.2

    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

    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

    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

    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

    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

    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

    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

    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.