Unbox a boxed JavaScript primitive value (for example, Boolean, String, Number, BigInt, or Symbol) back into its underlying primitive. Useful when you need to extract the primitive safely across realms or if you want to avoid relying on `instanceof` or mutable properties.
Project status
- Maintenance status: Evidence suggests active maintenance, with an upstream push as recently as 2025-12-30, and documented updates as recently as v1.1.0 (2024-12-16).
- Update cadence: Updates appear infrequent overall, with prior documented updates at 2022-04-25 (v1.0.2) and 2021-03-25 (v1.0.1), then v1.1.0 in 2024, indicating a long gap between changes rather than a regular release rhythm.
AI summary generated Today
Recent updates
v1.1.0
12/16/2024v1.1.0 adds TypeScript type definitions for unbox-primitive, and refactors the implementation to use the `call-bound` package instead of `call-bind/callBound`. It also updates several dependencies and test fixtures, and changes CI workflows to split Node 10-20 and 20+ test jobs. The publisher release notes field contains no details, so most user-impacting changes are not described there.
BreakingFeaturesv1.0.2
4/25/2022v1.0.2 mainly refactors the internal “call a boxed primitive method” logic to use the newer `call-bind` package instead of `function-bind`. It also updates project tooling and CI workflows, and bumps a handful of dependency versions.
v1.0.1
3/25/2021Release v1.0.1 was published on 2021-03-25, but no release notes were provided by the publisher. As a result, the specific changes, fixes, or compatibility impacts are not documented in the available text.
v1.0.0
8/11/2019Release v1.0.0 was published on 2019-08-11, but no release notes were provided by the publisher. As a result, this release cannot be assessed for new features, breaking changes, bug fixes, security or performance updates based on the provided information.