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 source appears to be in maintenance mode rather than actively evolving: the most recent published update was v1.2.2 on 2025-02-05, and there has been no newer published update since, though the upstream repo shows a push on 2025-12-30.
- Update cadence has varied historically, with several releases clustered in late 2024 to early 2025 (v1.2.0, v1.2.1, v1.2.2), followed by a long quiet period relative to 2026-09-10 (about 19 months since v1.2.2).
AI summary generated
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.