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 2026-09-17 and a corresponding update v1.0.5 on 2026-09-17 that primarily improves TypeScript typings, with runtime behavior described as largely unchanged.
- Update cadence appears healthy recently (at least one update in September 2026), but historically there is a large gap between v1.0.5 (2026-09-17) and the prior published update (v1.0.4 on 2024-12-19).
AI summary generated
Recent updates
v1.0.5
Version v1.0.5 makes primarily TypeScript typing improvements around typed array byte offset calculation, switching the source of supported typed array names to derive from `available-typed-arrays`. Runtime behavior appears largely unchanged, with the main functional edits concentrated in `index.d.ts` and minor internal documentation/typing adjustments in `index.js`.
v1.0.4
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
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
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.
v1.0.1
Release v1.0.1 contains a small refactor in the main entry file and a set of dependency updates. No release notes were provided, so changes are inferred directly from the code diff and package metadata.
v1.0.0
Release v1.0.0 was published on 2023-06-06, but no release notes were provided by the publisher. As a result, the change log does not list new features, bug fixes, security updates, or migration steps, so developer impact cannot be determined from the provided documentation.