Back to Explore

inspect-js/typed-array-length

GitHub
1 updates · last 90 days2 watchersOpen source

Last release:

typed-array-length provides a JavaScript helper that returns the length of a Typed Array, or false if the value is not a Typed Array. It is designed to work across realms and engines, including cases where the length property is overridden.

Project status

  • Actively maintained: The most recent upstream push is 2026-05-28, and the latest published item shown is v1.0.8 on 2026-05-28, indicating continued maintenance activity.
  • Update cadence: Earlier updates are spread across years (for example, v1.0.5 in 2024-02, v1.0.7 in 2024-11, then v1.0.8 in 2026-05), suggesting an infrequent cadence with long intervals between updates.

AI summary generated

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

Recent updates

  • v1.0.8

    No release notes were provided by the publisher for v1.0.8. The only documented changes in-repo appear in CHANGELOG.md, but the <release_notes> section provided to this analysis contains none, so changes below are effectively undocumented from the perspective of the release notes.

  • v1.0.7

    v1.0.7 makes a targeted change to how the library finds TypedArray prototype information when the direct property descriptor lookup fails. The main code change removes reliance on the `__proto__` accessor by switching to a `reflect.getprototypeof` polyfill approach.

  • v1.0.6

    This release is v1.0.6, published on 2024-03-21. The publisher did not provide release notes (“none provided”), so the specific code changes, fixes, or potential breaking changes are not described.

  • v1.0.5

    v1.0.5 adds published TypeScript typings for `typed-array-length` and refactors the implementation to use shared typed array name detection. The release notes provided with the release are empty, so most of the changes are not documented there.

    Features
  • v1.0.4

    Release v1.0.4 updates the typed-array-length package metadata and dependencies, and changes an internal iteration dependency from `foreach` to `for-each`. It also refactors package publishing behavior by adding `npmignore` auto-generation and `safe-publish-latest`, and significantly changes CI workflow wiring for Node version ranges.

    Breaking
  • v1.0.3

    v1.0.3 bumps the package version and makes an internal refactor to use the standalone `call-bind` package. Most other changes are in the repository maintenance layer, including CI workflow additions and switching the test command to run under `nyc` (with additional harmony coverage).

    Features
  • v1.0.2

    v1.0.2 contains no publisher-provided release notes. The observable changes are limited to the test suite and package metadata, along with multiple dependency and devDependency version bumps.

  • v1.0.1

    v1.0.1 appears to be primarily a packaging and documentation update. The runtime API is likely unchanged, but the package.json module exports and linting workflow were modified.

  • v1.0.0

    This release (v1.0.0) does not include any published release notes, so there is no described information about changes. Developers should review the diff from the previous version, run the test suite, and validate API and configuration compatibility before upgrading.