Bump to v3.2.0.

This commit is contained in:
John-David Dalton
2016-07-29 08:55:51 -07:00
parent 005ee66119
commit 0847978784
157 changed files with 2074 additions and 1403 deletions

View File

@@ -1,21 +1,19 @@
/**
* lodash 3.1.0 (Custom Build) <https://lodash.com/>
* Build: `lodash modern modularize exports="npm" -o ./`
* lodash 3.2.0 (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.3 <http://underscorejs.org/LICENSE>
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license <https://lodash.com/license>
*/
var getNative = require('lodash._getnative');
/* Native method references for those with the same name as other `lodash` methods. */
var nativeIsFinite = global.isFinite,
nativeNumIsFinite = getNative(Number, 'isFinite');
/* Built-in method references for those with the same name as other `lodash` methods. */
var nativeIsFinite = global.isFinite;
/**
* Checks if `value` is a finite primitive number.
*
* **Note:** This method is based on [`Number.isFinite`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.isfinite).
* **Note:** This method is based on [`Number.isFinite`](https://mdn.io/Number/isFinite).
*
* @static
* @memberOf _
@@ -24,23 +22,20 @@ var nativeIsFinite = global.isFinite,
* @returns {boolean} Returns `true` if `value` is a finite number, else `false`.
* @example
*
* _.isFinite(10);
* _.isFinite(3);
* // => true
*
* _.isFinite('10');
* // => false
* _.isFinite(Number.MAX_VALUE);
* // => true
*
* _.isFinite(true);
* // => false
*
* _.isFinite(Object(10));
* // => false
* _.isFinite(3.14);
* // => true
*
* _.isFinite(Infinity);
* // => false
*/
var isFinite = nativeNumIsFinite || function(value) {
function isFinite(value) {
return typeof value == 'number' && nativeIsFinite(value);
};
}
module.exports = isFinite;