Back to Explore

inspect-js/is-callable

GitHub
1 watchersOpen source

Last release: 9/23/2022

This JavaScript utility checks whether a value is callable, returning true for functions and generator functions and false for non-callable values. It is useful for validating inputs before invoking them and it includes compatibility notes across common JavaScript engines.

Project status

  • The project appears to be actively maintained, with an upstream push timestamp of 2025-12-30, though the most recent documented package updates in the provided feed date to 2022 (v1.2.5 to v1.2.7).
  • The apparent update cadence based on the provided tag history is relatively low, with multiple updates close together in mid September 2022 (v1.2.5, v1.2.6, v1.2.7), followed by no documented tagged updates in the feed after 2022.

AI summary generated Today

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

Recent updates

  • v1.2.7

    9/23/2022

    Release notes for v1.2.7 were not provided by the publisher. The code changes in this release adjust how is-callable detects callable values in older browsers, especially around document.all and HTML objects, and also tighten/alter the internal callability heuristics.

  • v1.2.6

    9/15/2022

    v1.2.6 updates the callable detection logic in is-callable, with emphasis on correctly handling legacy browser behavior around document.all (DDA). The code changes also adjust some edge-case callable heuristics and update the test suite to account for engine-specific quirks.

  • v1.2.5

    9/12/2022

    Release v1.2.5 was published, but the publisher did not provide any release notes or change log details. As a result, there is no documented information here about new features, bug fixes, breaking changes, security updates, or migration requirements.

  • v1.2.4

    8/6/2021

    v1.2.4 contains a small runtime change in index.js related to detecting Symbol.toStringTag in environments where Symbol implementations are shammed. The rest of the diff is largely CI, test, and development tooling updates (nyc coverage, GitHub Actions workflow changes, and devDependency changes). No release notes were provided in the publisher release entry.

  • v1.2.3

    1/31/2021

    v1.2.3 bumps the library version and includes a functional change to `is-callable` specifically for browser `document.all`. The release notes field in the provided data is empty, but `CHANGELOG.md` in the diff documents a `document.all` behavior fix and multiple CI/test workflow updates.

  • v1.2.2

    9/21/2020

    Release v1.2.2 updates the is-callable runtime feature detection logic around Reflect.apply, and bumps the eslint dev dependency. The provided publisher release notes contain no details, so the changelog entries and code diff are the only sources for what actually changed.

  • v1.2.1

    9/9/2020

    No publisher release notes were provided for v1.2.1. The diff shows this release is primarily a test and tooling update, plus version and devDependency bumps (eslint, eslint-config), with a related behavior intent mentioned only in the repo changelog.

  • v1.2.0

    6/2/2020

    v1.2.0 updates the is-callable package to detect callability using Reflect.apply when available, with a fallback to the previous Function.prototype.toString based strategy. The release also expands test coverage (including proxies of functions and async functions) and updates dev tooling dependencies.

    Features
  • v1.1.5

    12/19/2019

    v1.1.5 has no release-note content provided by the publisher, but the diff shows it is primarily a repository tooling and CI/test modernization release. The runtime/library code changes are not evident in the provided diff, while test and dev tooling (scripts, linting, CI, auditing) changed substantially.

    Security
  • v1.1.4

    7/2/2018

    Release v1.1.4 was published on 2018-07-02, but no release notes were provided by the publisher. As a result, the specific changes in this version cannot be determined from the available information.