Bump to v4.3.1.

This commit is contained in:
John-David Dalton
2016-02-16 00:58:24 -08:00
parent 607a8b4075
commit 5b0364fb20
131 changed files with 715 additions and 8345 deletions

View File

@@ -1,4 +1,4 @@
# lodash.some v4.3.0
# lodash.some v4.3.1
The [lodash](https://lodash.com/) method `_.some` exported as a [Node.js](https://nodejs.org/) module.
@@ -15,4 +15,4 @@ In Node.js:
var some = require('lodash.some');
```
See the [documentation](https://lodash.com/docs#some) or [package source](https://github.com/lodash/lodash/blob/4.3.0-npm-packages/lodash.some) for more details.
See the [documentation](https://lodash.com/docs#some) or [package source](https://github.com/lodash/lodash/blob/4.3.1-npm-packages/lodash.some) for more details.

View File

@@ -1,5 +1,5 @@
/**
* lodash 4.3.0 (Custom Build) <https://lodash.com/>
* lodash (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
* Released under MIT license <https://lodash.com/license>
@@ -41,20 +41,6 @@ function arraySome(array, predicate) {
return false;
}
/**
* Checks if `value` is a valid array-like index.
*
* @private
* @param {*} value The value to check.
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
*/
function isIndex(value, length) {
value = (typeof value == 'number' || reIsUint.test(value)) ? +value : -1;
length = length == null ? MAX_SAFE_INTEGER : length;
return value > -1 && value % 1 == 0 && value < length;
}
/** Used for built-in method references. */
var objectProto = Object.prototype;
@@ -70,7 +56,7 @@ var objectToString = objectProto.toString;
*
* @private
* @param {string} key The key of the property to get.
* @returns {Function} Returns the new function.
* @returns {Function} Returns the new accessor function.
*/
function baseProperty(key) {
return function(object) {
@@ -110,6 +96,21 @@ function baseSome(collection, predicate) {
*/
var getLength = baseProperty('length');
/**
* Checks if `value` is a valid array-like index.
*
* @private
* @param {*} value The value to check.
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
*/
function isIndex(value, length) {
length = length == null ? MAX_SAFE_INTEGER : length;
return !!length &&
(typeof value == 'number' || reIsUint.test(value)) &&
(value > -1 && value % 1 == 0 && value < length);
}
/**
* Checks if the given arguments are from an iteratee call.
*

View File

@@ -1,6 +1,6 @@
{
"name": "lodash.some",
"version": "4.3.0",
"version": "4.3.1",
"description": "The lodash method `_.some` exported as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",