is-callable
Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.
1.2.7
396M downloads/mo
#398 most downloaded on npm
inspect-js/is-callable
What this package is like to depend on
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 2.3 years
This project publishes no release notes
the list below is its commits, not an announcement
Nothing withdrawn
no release was ever pulled
12 years old
18 releases · first in 2015
0 releases in the last 12 months
see the full history below
Release timeline
18 releases · Jan 2015 to Sep 2022Releases
latest 18-
1.2.723 Sep 2022Commits, not release notes
This project publishes no release notes. Between
v1.2.6andv1.2.7there were 9 commits, 8 of them substantive:- [Tests] fix inverted logic in FF3 test
- [Fix] handle
document.allin FF 27 (and +, probably) - [Tests] improve logic for FF 20-35
- [Fix] detect
document.allin Opera 12.16 - [Fix] HTML elements: properly report as callable in Opera 12.16
- [Fix] recognize
document.allin IE 6-10 - [Tests] fix proxy tests in FF 42-63
- [readme] update tested browsers
-
1.2.615 Sep 2022Commits, not release notes
This project publishes no release notes. Between
v1.2.5andv1.2.6there were 8 commits, 7 of them substantive:- [Fix] properly recognize
document.allin Safari 4 - [Fix] Safari 4: regexes should not be considered callable
- [Fix] work for
document.allin Firefox 3 and IE 6-8 - [Tests] allow
classconstructor tests to fail in FF v45 - v54, which has undetectable classes - [Tests] skip one of the fixture objects in FF 3.6
- [Test] skip function toString check for nullish values
- [readme] add "supported engines" section
- [Fix] properly recognize
-
1.2.512 Sep 2022Commits, not release notes
This project publishes no release notes. Between
v1.2.4andv1.2.5there were 13 commits, 12 of them substantive:- [meta] npmignore coverage output
- [actions] update codecov uploader
- [Dev Deps] update
eslint,@ljharb/eslint-config,available-typed-arrays,object-inspect,safe-publish-latest,tape - [actions] reuse common workflows
- [meta] better
eccheckcommand - [Dev Deps] update
eslint,@ljharb/eslint-config,aud,object-inspect,tape - [meta] remove greenkeeper config
- [Dev Deps] update
eslint,@ljharb/eslint-config,es-value-fixtures,object-inspect,tape - [meta] add
auto-changelog - [meta] use
npmignoreto autogenerate an npmignore file - [Fix] properly report
document.all - [Fix] for HTML constructors, always use
tryFunctionObjecteven in pre-toStringTag browsers
-
1.2.406 Aug 2021Commits, not release notes
This project publishes no release notes. Between
v1.2.3andv1.2.4there were 14 commits, 13 of them substantive:- [actions] remove unused workflow file
- [Dev Deps] update
eslint,@ljharb/eslint-config,aud,tape - [Tests] use
available-typed-arrays,for-each,has-symbols,object-inspect - [readme] remove defunct badges
- [Tests] run
nycon all tests; usetaperunner - [meta] use
prepublishOnlyscript for npm 7+ - [actions] use
node/installinstead ofnode/run; usecodecovaction - [Dev Deps] update
eslint,@ljharb/eslint-config,aud,object-inspect - [readme] add actions and codecov badges
- [meta] ignore eclint checking coverage output
- [readme] fix repo URLs
- [Fix] use
has-tostringtagapproach to behave correctly in the presence of symbol shams - [Dev Deps] update
available-typed-arrays,eslint,object-inspect,tape
-
1.2.331 Jan 2021Commits, not release notes
This project publishes no release notes. Between
v1.2.2andv1.2.3there were 15 commits, 14 of them substantive:- [Dev Deps] update
eslint - [Dev Deps] update
eslint - [actions] switch Automatic Rebase workflow to
pull_request_targetevent - [actions] add "Allow Edits" workflow
- [Fix]
document.allis callable (do not usedocument.all!) - [eslint] fix eslint error
- [Tests] migrate tests to Github Actions
- [actions] update rebase action to use checkout v2
- [actions] skip
npm lscheck on older nodes; add missing newlines - [actions] remove unneeded github token
- [Dev Deps] update
eslint,@ljharb/eslint-config,aud,tape - [actions] update workflows
- [Dev Deps] update
eslint - [meta] do not publish github action workflow files
- [Dev Deps] update
-
1.2.221 Sep 2020Commits, not release notes
This project publishes no release notes. Between
v1.2.1andv1.2.2there were 3 commits, 2 of them substantive:- [Fix] include actual fix from 579179e
- [Dev Deps] update
eslint
-
1.2.109 Sep 2020Commits, not release notes
This project publishes no release notes. Between
v1.2.0andv1.2.1there were 4 commits, 3 of them substantive:- [meta] fix eclint error
- [Fix] phantomjs‘ Reflect.apply does not throw properly on a bad array-like
- [Dev Deps] update
eslint,@ljharb/eslint-config
-
1.2.002 Jun 2020Commits, not release notes
This project publishes no release notes. Between
v1.1.5andv1.2.0there were 10 commits, 9 of them substantive:- [Dev Deps] update
eslint,@ljharb/eslint-config - [Dev Deps] update
eslint,@ljharb/eslint-config,tape,make-arrow-function,make-generator-function; addsafe-publish-latest,make-async-function - [meta] only run
audon prod deps - [Dev Deps] update
eslint,@ljharb/eslint-config,tape - [Tests] add tests for function proxies
- [Dev Deps] update
@@ljharb/eslint-config; addaud - [Dev Deps] update
eslint,tape - [readme] add install instructions
- [New] use
Reflect.apply‑based callability detection
- [Dev Deps] update
-
1.1.519 Dec 2019Commits, not release notes
This project publishes no release notes. Between
v1.1.4andv1.1.5there were 63 commits, 62 of them substantive:- [Tests] up to
nodev10.6 - [Tests] on
nodev10.7 - [Tests] on
nodev10.8 - [Tests] on
nodev10.9 - [Tests] on
nodev10.10,v8.12 - [Dev Deps] update
eslint,@ljharb/eslint-config,semver - [Dev Deps] update
eslint - [Tests] on
nodev10.11 - [Dev Deps] update
eslint - [Tests] on
nodev11.0,v10.12 - [Tests] on
nodev10.13 - [Tests] on
nodev11.1 - [Tests] on
nodev11.2 - [Tests] on
nodev8.13 - [Tests] up to
nodev11.3,v10.14,v8.14,v6.15 - [Dev Deps] update
eslint,semver - [Tests] up to
nodev11.6,v10.15,v8.15,v6.16 - [Dev Deps] update
eslint - [Tests] use
npm auditinstead ofnsp - [Tests] up to
nodev11.7
…and 42 more.
- [Tests] up to
-
1.1.403 Jul 2018Nothing published for this version
-
1.1.328 Feb 2016Nothing published for this version
-
1.1.216 Jan 2016Nothing published for this version
-
1.1.130 Nov 2015Nothing published for this version
-
1.1.002 Oct 2015Nothing published for this version
-
1.0.430 Jan 2015Nothing published for this version
-
1.0.329 Jan 2015Nothing published for this version
-
1.0.229 Jan 2015Nothing published for this version
-
1.0.029 Jan 2015Nothing published for this version