Comparing version 1.7.6 to 1.8.0
@@ -122,3 +122,3 @@ module.exports = { | ||
"valid-typeof": 2, | ||
"wrap-iife": [2, "any", { "functionPrototypeMethods": true }], | ||
"wrap-iife": [2, "any"], | ||
"yield-star-spacing": [2, "both"], | ||
@@ -125,0 +125,0 @@ "yoda": [2, "never"], |
@@ -7,2 +7,3 @@ 'use strict' | ||
funcTag = '[object Function]', | ||
afuncTag = '[object AsyncFunction]', | ||
numberTag = '[object Number]', | ||
@@ -62,2 +63,5 @@ objectTag = '[object Object]', | ||
}, | ||
isAsyncFunction: function (value) { | ||
return this.isObject(value) && objToString.call(value) === afuncTag | ||
}, | ||
isBoolean: function (value) { | ||
@@ -64,0 +68,0 @@ return value === true || value === false || (this.isObjectLike(value) && objToString.call(value) === boolTag) |
{ | ||
"name": "isa.js", | ||
"version": "1.7.6", | ||
"version": "1.8.0", | ||
"description": "Very minimal collection is isA functions. isObject, isArray, isDate...", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/imrefazekas/isa", |
@@ -28,2 +28,2 @@ ISA - dependency-free very minimal collection of IsA.. functions | ||
isArray, isObject, isError, isNumber, isDate, isFunction, isBoolean, isString, isRegExp | ||
isArray, isObject, isError, isNumber, isDate, isFunction, isAsyncFunction, isBoolean, isString, isRegExp |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
10615
248
0