Bump to v3.0.2.

This commit is contained in:
jdalton
2015-02-03 00:40:12 -08:00
committed by John-David Dalton
parent 60b8329a73
commit e2db58867b
278 changed files with 1137 additions and 1434 deletions

View File

@@ -1,4 +1,4 @@
# lodash.isobject v3.0.1
# lodash.isobject v3.0.2
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodashs](https://lodash.com/) `_.isObject` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var isObject = require('lodash.isobject');
```
See the [documentation](https://lodash.com/docs#isObject) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.isobject) for more details.
See the [documentation](https://lodash.com/docs#isObject) or [package source](https://github.com/lodash/lodash/blob/3.0.2-npm-packages/lodash.isobject) for more details.

View File

@@ -1,18 +1,20 @@
/**
* lodash 3.0.1 (Custom Build) <https://lodash.com/>
* Build: `lodash modern modularize exports="npm" -o ./`
* lodash (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.8.2 <http://underscorejs.org/LICENSE>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license <https://lodash.com/license>
*/
/**
* Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.
* (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
* Checks if `value` is the
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
*
* @static
* @memberOf _
* @since 0.1.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
@@ -24,14 +26,15 @@
* _.isObject([1, 2, 3]);
* // => true
*
* _.isObject(1);
* _.isObject(_.noop);
* // => true
*
* _.isObject(null);
* // => false
*/
function isObject(value) {
// Avoid a V8 JIT bug in Chrome 19-20.
// See https://code.google.com/p/v8/issues/detail?id=2291 for more details.
var type = typeof value;
return type == 'function' || (!!value && type == 'object');
return !!value && (type == 'object' || type == 'function');
}
module.exports = isObject;

View File

@@ -1,6 +1,6 @@
{
"name": "lodash.isobject",
"version": "3.0.1",
"version": "3.0.2",
"description": "The modern build of lodashs `_.isObject` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",