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.12 to 2.2.13

15

IsA.js

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

module.exports = {
let Services = {
getPrototypeOf: Object.getPrototypeOf,

@@ -34,2 +34,11 @@ isHostObject: function (value) {

},
isDefined (value) {
return value !== undefined && value !== null
},
isIterable (obj) {
if ( !Services.isDefined(obj) )
return false
return typeof obj[Symbol.iterator] === 'function'
},
isPlainObject: function (value) {

@@ -95,3 +104,3 @@ if (!this.isObjectLike(value) || objToString.call(value) !== objectTag || this.isHostObject(value)) {

isValidPath: function (object, path) {
return !!module.exports.walk(object, path, null)
return !!Services.walk(object, path, null)
},

@@ -147,1 +156,3 @@ parameterNames: function ( func ) {

}
module.exports = Services

2

package.json
{
"name": "isa.js",
"version": "2.2.12",
"version": "2.2.13",
"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