Socket
Socket
Sign inDemoInstall

isobject

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isobject - npm Package Compare versions

Comparing version 1.0.2 to 2.0.0

7

index.js

@@ -10,5 +10,6 @@ /*!

module.exports = function isObject(val) {
return val != null && typeof val === 'object'
&& !Array.isArray(val);
var isArray = require('isarray');
module.exports = function isObject(o) {
return o != null && typeof o === 'object' && !isArray(o);
};
{
"name": "isobject",
"description": "Returns true if the value is an object and not an array or null.",
"version": "1.0.2",
"version": "2.0.0",
"homepage": "https://github.com/jonschlinkert/isobject",
"author": {
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
},
"repository": {
"type": "git",
"url": "git://github.com/jonschlinkert/isobject.git"
},
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"repository": "jonschlinkert/isobject",
"bugs": {
"url": "https://github.com/jonschlinkert/isobject/issues"
},
"license": {
"type": "MIT",
"url": "https://github.com/jonschlinkert/isobject/blob/master/LICENSE"
},
"license": "MIT",
"files": [

@@ -31,2 +22,5 @@ "index.js"

},
"dependencies": {
"isarray": "0.0.1"
},
"devDependencies": {

@@ -37,7 +31,5 @@ "mocha": "*"

"check",
"function",
"is",
"is-object",
"isobject",
"javascript",
"kind",

@@ -48,8 +40,18 @@ "kind-of",

"object",
"of",
"type",
"typeof",
"validate",
"value"
]
],
"verb": {
"related": {
"list": [
"is-plain-object",
"kind-of",
"is-extendable",
"is-equal-shallow",
"extend-shallow",
"assign-deep"
]
}
}
}

@@ -77,6 +77,6 @@ # isobject [![NPM version](https://badge.fury.io/js/isobject.svg)](http://badge.fury.io/js/isobject) [![Build Status](https://travis-ci.org/jonschlinkert/isobject.svg)](https://travis-ci.org/jonschlinkert/isobject)

Copyright © 2014-2015 [Jon Schlinkert](https://github.com/jonschlinkert)
Released under the [MIT](https://github.com/jonschlinkert/isobject/blob/master/LICENSE) license.
Released under the MIT license.
***
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on July 13, 2015._
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on July 20, 2015._
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