Comparing version 1.0.2 to 2.0.0
@@ -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._ |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
4914
1
1
+ Addedisarray@0.0.1
+ Addedisarray@0.0.1(transitive)