Back to Explore

ljharb/unbox-primitive

GitHub
2 watchersOpen source

Last release:

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

  • The most recent evidence of upstream activity is an upstream push on 2025-12-30, but the newest published update in the provided summaries is v1.1.0 on 2024-12-16. Overall, this looks like low-frequency maintenance rather than fast iteration.
  • Apparent update cadence: updates are spread far apart (2019 to 2021, then 2022, then 2024), with no clear steady monthly or quarterly rhythm.

AI summary generated

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

Recent updates

  • v1.1.0

    v1.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.

    BreakingFeatures
  • v1.0.2

    v1.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

    Release 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

    Release 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.