Back to Explore

inspect-js/typed-array-byte-offset

GitHub
1 watchersOpen source

Last release: 12/19/2024

typed-array-byte-offset is a small JavaScript utility that returns the byte offset of a Typed Array, or false if the input is not a Typed Array. It is designed to work robustly across realms and engines, including when a Typed Array’s byteOffset property has been overridden.

Project status

  • Actively maintained, with the most recent upstream push on 2024-12-19 and subsequent tagged updates (v1.0.4, then earlier v1.0.3 and v1.0.2), indicating ongoing work rather than abandonment.
  • Apparent update cadence is sporadic but ongoing, with updates in 2024-02-20 (v1.0.2), 2024-11-22 (v1.0.3), and 2024-12-19 (v1.0.4), suggesting a period of resumed development late in the year.

AI summary generated Today

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

Recent updates

  • v1.0.4

    12/19/2024

    Release v1.0.4 makes no stated API or behavior changes in the provided release notes (none were supplied). The diff shows mostly TypeScript typing refactors, internal test/workflow additions, and several dependency version bumps that could indirectly affect behavior.

  • v1.0.3

    11/22/2024

    v1.0.3 is a small patch release focused on removing reliance on the `__proto__` accessor when determining TypedArray `byteOffset` behavior. The runtime logic was adjusted to use a `Reflect.getPrototypeOf` polyfill approach instead, while most other changes are dev/CI related.

  • v1.0.2

    2/20/2024

    Release v1.0.2 was published on 2024-02-20, but no release notes were provided by the publisher. As a result, there is insufficient information to identify new features, breaking changes, bug fixes, security updates, or dependency changes from the provided data.