Back to Explore

inspect-js/typed-array-byte-length

GitHub
1 watchersOpen source

Last release: 12/17/2024

This project provides a function to get the byte length (and byte offset handling) of a Typed Array, returning false if the value is not a Typed Array. It is useful for cross-realm and engine compatibility, including environments where Typed Arrays do not expose a usable byteLength method.

Project status

  • The repo appears to be actively maintained, with the most recent activity on 2024-12-17 and three published update tags in the past year (v1.0.1, v1.0.2, v1.0.3).
  • Update cadence looks bursty but recent, v1.0.2 and v1.0.3 were published on the same day (2024-12-17, a few minutes apart), while the prior update was much earlier (v1.0.1 on 2024-02-21).

AI summary generated Today

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

Recent updates

  • v1.0.3

    12/17/2024

    Release v1.0.3 contains essentially no runtime changes. The only meaningful change in the diff is a TypeScript declaration update in index.d.ts, plus the version bump in package.json and a corresponding changelog entry.

  • v1.0.2

    12/17/2024

    v1.0.2 mainly updates TypeScript typings and development tooling, along with several dependency bumps. The runtime implementation of `typedArrayByteLength` appears mostly intact, with small internal refactors around how TypedArray constructors are introspected and how a `getters` lookup object is initialized.

  • v1.0.1

    2/21/2024

    Release v1.0.1 was published on 2024-02-21, but no release notes were provided. As a result, there is no stated information about new features, fixes, breaking changes, security updates, or dependency changes in this release.