is-callable
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -0,1 +1,7 @@ | ||
1.2.1 / 2020-09-09 | ||
================= | ||
* [Fix] phantomjs‘ Reflect.apply does not throw properly on a bad array-like | ||
* [Dev Deps] update `eslint`, `@ljharb/eslint-config` | ||
* [meta] fix eclint error | ||
1.2.0 / 2020-06-02 | ||
@@ -2,0 +8,0 @@ ================= |
{ | ||
"name": "is-callable", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"author": { | ||
@@ -59,7 +59,7 @@ "name": "Jordan Harband", | ||
"devDependencies": { | ||
"@ljharb/eslint-config": "^17.1.0", | ||
"@ljharb/eslint-config": "^17.2.0", | ||
"aud": "^1.1.2", | ||
"covert": "^1.1.1", | ||
"eclint": "^2.8.1", | ||
"eslint": "^7.1.0", | ||
"eslint": "^7.8.1", | ||
"foreach": "^2.0.5", | ||
@@ -66,0 +66,0 @@ "istanbul": "1.1.0-alpha.1", |
@@ -184,1 +184,8 @@ 'use strict'; | ||
}); | ||
test('throwing functions', function (t) { | ||
t.plan(1); | ||
var thrower = function (a) { return a.b; }; | ||
t.ok(isCallable(thrower), 'a function that throws is callable'); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
20256
228
13