This module checks whether a given value is a JavaScript ArrayBuffer. It is designed to work across realms and iframes without relying on instanceof or mutable properties, making it useful for type checks in JavaScript codebases.
Project status
- Maintenance status: The repo shows an upstream push on 2025-12-30, which suggests ongoing maintenance activity, but the last published npm updates are older (v3.0.5 on 2024-12-16).
- Update cadence: Changes appear in bursts, with updates on 2024-02-03 (v3.0.3 and v3.0.4) and 2024-12-16 (v3.0.5). Since then, there are no new published updates through 2026-06-09.
AI summary generated
Recent updates
v3.0.5
No publisher release notes were provided for v3.0.5. The code diff shows a small internal refactor in index.js, dependency bumps (including adding call-bound), and CI and tooling changes around testing and type checking.
v3.0.4
Release v3.0.4 does not include any publisher release notes. The code diff shows a patch primarily focused on adding TypeScript type definitions and adding TypeScript-based type checking to the lint/test flow, plus small runtime detection tweaks in the ArrayBuffer check implementation.
Featuresv3.0.3
Release v3.0.3 was published on 2024-02-03, but the publisher did not provide any release notes. As a result, there is no documented information about new features, bug fixes, breaking changes, security updates, or migrations.
v3.0.2
This release updates the `is-array-buffer` type guard to better handle Node 0.8 edge cases when converting objects to typed arrays. It also bumps several dev and dependency versions and adds a targeted test for non-zero length ArrayBuffers.
v3.0.1
This release bumps is-array-buffer to v3.0.1 and includes a targeted fix for older Node behavior (notably node 0.8) around ArrayBuffer detection. The patch adds runtime logic to prevent TypedArray inputs from being incorrectly treated as ArrayBuffers, and expands the test suite to cover TypedArray cases.
v3.0.0
v3.0.0 replaces the package implementation of `is-array-buffer` with a new runtime detection approach and adds a small test suite for it. Release notes were not provided by the publisher, so the practical impact must be inferred from the code and packaging changes.
Breakingv2.0.0
v2.0.0 is a major refactor that converts the library to TypeScript and changes how the package is built and published. It also removes the prebuilt dist artifacts (including the UMD bundles) and changes the package entry points to root-level index.js files while adding a TypeScript declaration file.
Featuresv1.0.1
v1.0.1 makes mostly tooling and packaging updates (linting, tests with coverage, build metadata, and dependency upgrades). The runtime logic change in src/index.js is minimal and keeps the same exported function behavior, but package.json entrypoints for browser bundling appear to have changed.
Breakingv1.0.0
v1.0.0 restructures the package to use a source file under src/ and a Rollup build that outputs multiple module formats (UMD, CommonJS, and ESM). The release notes section is empty, so the v0.1.0 to v1.0.0 behavioral and packaging changes shown by the diff are effectively undocumented.
Breakingv0.1.0
Release v0.1.0 was published on 2015-11-28. No release notes or change details were provided by the publisher, so there is no developer-facing information available to assess features, breaking changes, or fixes.