Bump to v3.0.8.

This commit is contained in:
jdalton
2015-05-19 07:27:29 -07:00
committed by John-David Dalton
parent a0c2bf6074
commit ad40188e5b
19 changed files with 74 additions and 103 deletions

View File

@@ -1,4 +1,4 @@
# lodash._isiterateecall v3.0.7
# lodash._isiterateecall v3.0.8
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodashs](https://lodash.com/) internal `isIterateeCall` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var isIterateeCall = require('lodash._isiterateecall');
```
See the [package source](https://github.com/lodash/lodash/blob/3.0.7-npm-packages/lodash._isiterateecall) for more details.
See the [package source](https://github.com/lodash/lodash/blob/3.0.8-npm-packages/lodash._isiterateecall) for more details.

View File

@@ -1,5 +1,5 @@
/**
* lodash 3.0.7 (Custom Build) <https://lodash.com/>
* lodash 3.0.8 (Custom Build) <https://lodash.com/>
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
@@ -11,7 +11,7 @@
* Used as the [maximum length](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)
* of an array-like value.
*/
var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;
var MAX_SAFE_INTEGER = 9007199254740991;
/**
* The base implementation of `_.property` without support for deep paths.
@@ -58,7 +58,7 @@ function isArrayLike(value) {
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
*/
function isIndex(value, length) {
value = +value;
value = typeof value == 'number' ? value : parseFloat(value);
length = length == null ? MAX_SAFE_INTEGER : length;
return value > -1 && value % 1 == 0 && value < length;
}
@@ -123,7 +123,7 @@ 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 = isIterateeCall;

View File

@@ -1,6 +1,6 @@
{
"name": "lodash._isiterateecall",
"version": "3.0.7",
"version": "3.0.8",
"description": "The modern build of lodashs internal `isIterateeCall` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",