Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

isa.js

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isa.js - npm Package Compare versions

Comparing version 2.2.15 to 2.2.16

8

IsA.js

@@ -141,3 +141,3 @@ var boolTag = '[object Boolean]',

},
functionsOf (obj) {
functionsOf (obj, asyncOnly = false) {
let res = []

@@ -147,7 +147,7 @@ if (!obj) return res

for (let m in obj)
if ( obj[m] && this.isFunction( obj[m] ) )
if ( obj[m] && ( asyncOnly ? this.isAsyncFunction( obj[m] ) : this.isFunction( obj[m] ) ) )
res.push( obj[m] )
return res
},
functionNames (obj) {
functionNames (obj, asyncOnly = false) {
let res = []

@@ -157,3 +157,3 @@ if (!obj) return res

for (let m in obj)
if ( obj[m] && this.isFunction( obj[m] ) )
if ( obj[m] && (asyncOnly ? this.isAsyncFunction( obj[m] ) : this.isFunction( obj[m] ) ) )
res.push( m )

@@ -160,0 +160,0 @@ return res

{
"name": "isa.js",
"version": "2.2.15",
"version": "2.2.16",
"description": "Very minimal collection is isA functions. isObject, isArray, isDate...",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/imrefazekas/isa",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc