Back to Explore

inspect-js/which-typed-array

GitHub
3 watchersOpen source

Last release:

which-typed-array is a small JavaScript utility that identifies what kind of Typed Array a given value is (for example, Int8Array, Float32Array, or BigInt64Array). It works across realms without using instanceof, and it still detects Typed Arrays even when Symbol.toStringTag is involved.

Project status

  • Maintenance status: Evidence suggests the repo is actively maintained, with recent updates in 2026 (last upstream push and latest observed update on 2026-06-05).
  • Update cadence: The most recent cadence is fairly frequent (v1.1.22 on 2026-06-05, v1.1.21 on 2026-05-26), but earlier updates show longer gaps (for example, v1.1.20 on 2026-01-14, then v1.1.19 on 2025-03-09).

AI summary generated

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

Recent updates

  • v1.1.22

    Release v1.1.22 does not include any publisher release notes. The code diff shows mostly TypeScript typing improvements plus small internal refactors, along with some dev dependency/tooling bumps.

  • v1.1.21

    v1.1.21 (2026-05-26) ships with no publisher-provided release notes. The diff shows primarily TypeScript declaration (index.d.ts) changes, plus developer tooling and dependency adjustments.

  • v1.1.20

    v1.1.20 makes a small change to TypeScript typings by adding Float16Array to the supported TypedArray set, and adjusts runtime binding logic to be more defensive when descriptor.get is missing. It also updates the project version metadata and bumps several development dependencies.

    BreakingFeatures
  • v1.1.19

    Release v1.1.19 was published on 2025-03-09. No release notes were provided by the publisher, so the developer impact (new features, fixes, breaking changes, security or dependency updates) is not documented here.

  • v1.1.18

    Release v1.1.18 does not include any publisher release notes in the provided data. The code diff shows primarily TypeScript declaration changes (index.d.ts) plus a dev dependency version bump and a changelog entry for the release version.

  • v1.1.17

    v1.1.17 updates the implementation and TypeScript typings for which-typed-array. The release notes provided are empty, but the diff shows dependency bumps and a change in how the call-bound helper is imported and used.

  • v1.1.16

    v1.1.16 is a maintenance release that updates TypeScript typings, refines the CI Node.js test matrix, and refreshes several dev dependencies. The only user-facing change indicated by the repo documentation is an added TypeScript overload for whichTypedArray.

    SecurityFeatures
  • v1.1.15

    v1.1.15 updates TypeScript type definitions for `which-typed-array`, changing how typed array related types are exposed and how return types are inferred. It also bumps a few runtime dependencies and adjusts CI tooling, with no functional runtime JS logic changes evident from the provided diff.

  • v1.1.14

    This release (v1.1.14) does not include publisher-provided release notes. The code diff shows the primary change is adding TypeScript support via a new index.d.ts file and introducing TypeScript type checking into the project tooling, alongside some dependency bumps.

    Features
  • v1.1.13

    This release updates the package version to v1.1.13 with a small internal refactor in the typed array detection/caching logic. The release notes provided externally are empty, so the only stated changes come from the repo’s changelog entry.

  • v1.1.12

    Release v1.1.12 was published on 2023-10-19, but the publisher did not provide any release notes. As a result, there is no documented information here about new features, bug fixes, breaking changes, security updates, or migration requirements.