Back to Explore

inspect-js/typed-array-length

GitHub
1 updates · last 90 days1 watchersOpen source

Last release: 5 days ago

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

  • The source appears actively maintained, with a recent update (v1.0.8) on 2026-05-28, and earlier updates still present in the project history.
  • The update cadence looks infrequent, with notable gaps between versions (v1.0.6 on 2024-03-21, v1.0.7 on 2024-11-23, then v1.0.8 on 2026-05-28).

AI summary generated Today

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

Recent updates

  • v1.0.8

    5 days ago

    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

    11/23/2024

    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

    3/21/2024

    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

    2/20/2024

    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

    5/24/2022

    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

    12/6/2020

    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

    4/23/2020

    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

    1/19/2020

    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

    1/19/2020

    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.