Comparing version 3.10.0 to 3.10.1
@@ -6,3 +6,3 @@ import baseFlatten from '../internal/baseFlatten'; | ||
* Flattens a nested array. If `isDeep` is `true` the array is recursively | ||
* flattened, otherwise it is only flattened a single level. | ||
* flattened, otherwise it's only flattened a single level. | ||
* | ||
@@ -9,0 +9,0 @@ * @static |
@@ -10,3 +10,3 @@ import baseIndexOf from '../internal/baseIndexOf'; | ||
* using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) | ||
* for equality comparisons. If `fromIndex` is negative, it is used as the offset | ||
* for equality comparisons. If `fromIndex` is negative, it's used as the offset | ||
* from the end of `array`. If `array` is sorted providing `true` for `fromIndex` | ||
@@ -13,0 +13,0 @@ * performs a faster binary search. |
@@ -6,3 +6,3 @@ import createSortedIndex from '../internal/createSortedIndex'; | ||
* be inserted into `array` in order to maintain its sort order. If an iteratee | ||
* function is provided it is invoked for `value` and each element of `array` | ||
* function is provided it's invoked for `value` and each element of `array` | ||
* to compute their sort ranking. The iteratee is bound to `thisArg` and | ||
@@ -9,0 +9,0 @@ * invoked with one argument; (value). |
@@ -11,3 +11,3 @@ import baseCallback from '../internal/baseCallback'; | ||
* is kept. Providing `true` for `isSorted` performs a faster search algorithm | ||
* for sorted arrays. If an iteratee function is provided it is invoked for | ||
* for sorted arrays. If an iteratee function is provided it's invoked for | ||
* each element in the array to generate the criterion by which uniqueness | ||
@@ -14,0 +14,0 @@ * is computed. The `iteratee` is bound to `thisArg` and invoked with three |
@@ -29,3 +29,3 @@ import LazyWrapper from '../internal/LazyWrapper'; | ||
var interceptor = function(value) { | ||
return (wrapped && wrapped.__dir__ < 0) ? value : value.reverse(); | ||
return value.reverse(); | ||
}; | ||
@@ -32,0 +32,0 @@ if (value instanceof LazyWrapper) { |
@@ -13,5 +13,5 @@ import baseIndexOf from '../internal/baseIndexOf'; | ||
/** | ||
* Checks if `value` is in `collection` using | ||
* Checks if `target` is in `collection` using | ||
* [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) | ||
* for equality comparisons. If `fromIndex` is negative, it is used as the offset | ||
* for equality comparisons. If `fromIndex` is negative, it's used as the offset | ||
* from the end of `collection`. | ||
@@ -18,0 +18,0 @@ * |
@@ -10,3 +10,3 @@ import baseEach from '../internal/baseEach'; | ||
* an array of the results of each invoked method. Any additional arguments | ||
* are provided to each invoked method. If `methodName` is a function it is | ||
* are provided to each invoked method. If `methodName` is a function it's | ||
* invoked for, and `this` bound to, each element in `collection`. | ||
@@ -13,0 +13,0 @@ * |
@@ -11,3 +11,3 @@ import root from '../internal/root'; | ||
* The opposite of `_.before`; this method creates a function that invokes | ||
* `func` once it is called `n` or more times. | ||
* `func` once it's called `n` or more times. | ||
* | ||
@@ -14,0 +14,0 @@ * @static |
@@ -6,3 +6,3 @@ /** Used as the `TypeError` message for "Functions" methods. */ | ||
* Creates a function that invokes `func`, with the `this` binding and arguments | ||
* of the created function, while it is called less than `n` times. Subsequent | ||
* of the created function, while it's called less than `n` times. Subsequent | ||
* calls to the created function return the result of the last `func` invocation. | ||
@@ -9,0 +9,0 @@ * |
@@ -35,3 +35,3 @@ import isObject from '../lang/isObject'; | ||
* @param {number} [options.maxWait] The maximum time `func` is allowed to be | ||
* delayed before it is invoked. | ||
* delayed before it's invoked. | ||
* @param {boolean} [options.trailing=true] Specify invoking on the trailing | ||
@@ -38,0 +38,0 @@ * edge of the timeout. |
@@ -6,3 +6,3 @@ import baseDelay from '../internal/baseDelay'; | ||
* Defers invoking the `func` until the current call stack has cleared. Any | ||
* additional arguments are provided to `func` when it is invoked. | ||
* additional arguments are provided to `func` when it's invoked. | ||
* | ||
@@ -9,0 +9,0 @@ * @static |
@@ -6,3 +6,3 @@ import baseDelay from '../internal/baseDelay'; | ||
* Invokes `func` after `wait` milliseconds. Any additional arguments are | ||
* provided to `func` when it is invoked. | ||
* provided to `func` when it's invoked. | ||
* | ||
@@ -9,0 +9,0 @@ * @static |
@@ -11,3 +11,3 @@ /** Used as the `TypeError` message for "Functions" methods. */ | ||
* | ||
* **Note:** This method is based on the [rest parameter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters). | ||
* **Note:** This method is based on the [rest parameter](https://developer.mozilla.org/Web/JavaScript/Reference/Functions/rest_parameters). | ||
* | ||
@@ -14,0 +14,0 @@ * @static |
@@ -8,3 +8,3 @@ /** Used as the `TypeError` message for "Functions" methods. */ | ||
* | ||
* **Note:** This method is based on the [spread operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator). | ||
* **Note:** This method is based on the [spread operator](https://developer.mozilla.org/Web/JavaScript/Reference/Operators/Spread_operator). | ||
* | ||
@@ -11,0 +11,0 @@ * @static |
@@ -15,3 +15,3 @@ import baseIndexOf from './baseIndexOf'; | ||
* @param {Function} [iteratee] The function invoked per iteration. | ||
* @returns {Array} Returns the new duplicate-value-free array. | ||
* @returns {Array} Returns the new duplicate free array. | ||
*/ | ||
@@ -18,0 +18,0 @@ function baseUniq(array, iteratee) { |
@@ -11,3 +11,3 @@ import realNames from './realNames'; | ||
function getFuncName(func) { | ||
var result = func.name, | ||
var result = (func.name + ''), | ||
array = realNames[result], | ||
@@ -14,0 +14,0 @@ length = array ? array.length : 0; |
@@ -14,7 +14,8 @@ import LazyWrapper from './LazyWrapper'; | ||
function isLaziable(func) { | ||
var funcName = getFuncName(func); | ||
if (!(funcName in LazyWrapper.prototype)) { | ||
var funcName = getFuncName(func), | ||
other = lodash[funcName]; | ||
if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) { | ||
return false; | ||
} | ||
var other = lodash[funcName]; | ||
if (func === other) { | ||
@@ -21,0 +22,0 @@ return true; |
@@ -40,3 +40,3 @@ import baseWrapperValue from './baseWrapperValue'; | ||
if (!isArr || arrLength < LARGE_ARRAY_SIZE || (arrLength == length && takeCount == length)) { | ||
return baseWrapperValue((isRight && isArr) ? array.reverse() : array, this.__actions__); | ||
return baseWrapperValue(array, this.__actions__); | ||
} | ||
@@ -43,0 +43,0 @@ var result = []; |
@@ -8,3 +8,3 @@ /** | ||
* @param {Function} [iteratee] The function invoked per iteration. | ||
* @returns {Array} Returns the new duplicate-value-free array. | ||
* @returns {Array} Returns the new duplicate free array. | ||
*/ | ||
@@ -11,0 +11,0 @@ function sortedUniq(array, iteratee) { |
@@ -7,6 +7,6 @@ import baseClone from '../internal/baseClone'; | ||
* Creates a clone of `value`. If `isDeep` is `true` nested objects are cloned, | ||
* otherwise they are assigned by reference. If `customizer` is provided it is | ||
* otherwise they are assigned by reference. If `customizer` is provided it's | ||
* invoked to produce the cloned values. If `customizer` returns `undefined` | ||
* cloning is handled by the method instead. The `customizer` is bound to | ||
* `thisArg` and invoked with two argument; (value [, index|key, object]). | ||
* `thisArg` and invoked with up to three argument; (value [, index|key, object]). | ||
* | ||
@@ -67,3 +67,3 @@ * **Note:** This method is loosely based on the | ||
return typeof customizer == 'function' | ||
? baseClone(value, isDeep, bindCallback(customizer, thisArg, 1)) | ||
? baseClone(value, isDeep, bindCallback(customizer, thisArg, 3)) | ||
: baseClone(value, isDeep); | ||
@@ -70,0 +70,0 @@ } |
@@ -5,6 +5,6 @@ import baseClone from '../internal/baseClone'; | ||
/** | ||
* Creates a deep clone of `value`. If `customizer` is provided it is invoked | ||
* Creates a deep clone of `value`. If `customizer` is provided it's invoked | ||
* to produce the cloned values. If `customizer` returns `undefined` cloning | ||
* is handled by the method instead. The `customizer` is bound to `thisArg` | ||
* and invoked with two argument; (value [, index|key, object]). | ||
* and invoked with up to three argument; (value [, index|key, object]). | ||
* | ||
@@ -52,3 +52,3 @@ * **Note:** This method is loosely based on the | ||
return typeof customizer == 'function' | ||
? baseClone(value, true, bindCallback(customizer, thisArg, 1)) | ||
? baseClone(value, true, bindCallback(customizer, thisArg, 3)) | ||
: baseClone(value, true); | ||
@@ -55,0 +55,0 @@ } |
@@ -10,3 +10,3 @@ import isArguments from './isArguments'; | ||
/** | ||
* Checks if `value` is empty. A value is considered empty unless it is an | ||
* Checks if `value` is empty. A value is considered empty unless it's an | ||
* `arguments` object, array, string, or jQuery-like collection with a length | ||
@@ -13,0 +13,0 @@ * greater than `0` or an object with own enumerable properties. |
@@ -6,6 +6,6 @@ import baseIsEqual from '../internal/baseIsEqual'; | ||
* Performs a deep comparison between two values to determine if they are | ||
* equivalent. If `customizer` is provided it is invoked to compare values. | ||
* equivalent. If `customizer` is provided it's invoked to compare values. | ||
* If `customizer` returns `undefined` comparisons are handled by the method | ||
* instead. The `customizer` is bound to `thisArg` and invoked with three | ||
* arguments: (value, other [, index|key]). | ||
* instead. The `customizer` is bound to `thisArg` and invoked with up to | ||
* three arguments: (value, other [, index|key]). | ||
* | ||
@@ -12,0 +12,0 @@ * **Note:** This method supports comparing arrays, booleans, `Date` objects, |
@@ -34,3 +34,3 @@ import isObject from './isObject'; | ||
// in older versions of Chrome and Safari which return 'function' for regexes | ||
// and Safari 8 equivalents which return 'object' for typed array constructors. | ||
// and Safari 8 which returns 'object' for typed array constructors. | ||
return isObject(value) && objToString.call(value) == funcTag; | ||
@@ -37,0 +37,0 @@ } |
@@ -8,3 +8,3 @@ import baseIsMatch from '../internal/baseIsMatch'; | ||
* `object` contains equivalent property values. If `customizer` is provided | ||
* it is invoked to compare values. If `customizer` returns `undefined` | ||
* it's invoked to compare values. If `customizer` returns `undefined` | ||
* comparisons are handled by the method instead. The `customizer` is bound | ||
@@ -11,0 +11,0 @@ * to `thisArg` and invoked with three arguments: (value, other, index|key). |
/** | ||
* @license | ||
* lodash 3.10.0 (Custom Build) <https://lodash.com/> | ||
* lodash 3.10.1 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modularize modern exports="es" -o ./` | ||
@@ -46,3 +46,3 @@ * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> | ||
/** Used as the semantic version number. */ | ||
var VERSION = '3.10.0'; | ||
var VERSION = '3.10.1'; | ||
@@ -523,3 +523,3 @@ /** Used to compose bitmasks for wrapper metadata. */ | ||
if (lodashFunc) { | ||
var key = lodashFunc.name, | ||
var key = (lodashFunc.name + ''), | ||
names = realNames[key] || (realNames[key] = []); | ||
@@ -526,0 +526,0 @@ |
@@ -9,3 +9,3 @@ import createExtremum from '../internal/createExtremum'; | ||
* Gets the maximum value of `collection`. If `collection` is empty or falsey | ||
* `-Infinity` is returned. If an iteratee function is provided it is invoked | ||
* `-Infinity` is returned. If an iteratee function is provided it's invoked | ||
* for each value in `collection` to generate the criterion by which the value | ||
@@ -12,0 +12,0 @@ * is ranked. The `iteratee` is bound to `thisArg` and invoked with three |
@@ -9,3 +9,3 @@ import createExtremum from '../internal/createExtremum'; | ||
* Gets the minimum value of `collection`. If `collection` is empty or falsey | ||
* `Infinity` is returned. If an iteratee function is provided it is invoked | ||
* `Infinity` is returned. If an iteratee function is provided it's invoked | ||
* for each value in `collection` to generate the criterion by which the value | ||
@@ -12,0 +12,0 @@ * is ranked. The `iteratee` is bound to `thisArg` and invoked with three |
@@ -7,3 +7,3 @@ /* Native method references for those with the same name as other `lodash` methods. */ | ||
* Checks if `n` is between `start` and up to but not including, `end`. If | ||
* `end` is not specified it is set to `start` with `start` then set to `0`. | ||
* `end` is not specified it's set to `start` with `start` then set to `0`. | ||
* | ||
@@ -10,0 +10,0 @@ * @static |
@@ -8,3 +8,3 @@ import assignWith from '../internal/assignWith'; | ||
* object. Subsequent sources overwrite property assignments of previous sources. | ||
* If `customizer` is provided it is invoked to produce the assigned values. | ||
* If `customizer` is provided it's invoked to produce the assigned values. | ||
* The `customizer` is bound to `thisArg` and invoked with five arguments: | ||
@@ -11,0 +11,0 @@ * (objectValue, sourceValue, key, object, source). |
@@ -29,3 +29,3 @@ import baseGet from '../internal/baseGet'; | ||
function get(object, path, defaultValue) { | ||
var result = object == null ? undefined : baseGet(object, toPath(path), path + ''); | ||
var result = object == null ? undefined : baseGet(object, toPath(path), (path + '')); | ||
return result === undefined ? defaultValue : result; | ||
@@ -32,0 +32,0 @@ } |
@@ -8,3 +8,3 @@ import baseMerge from '../internal/baseMerge'; | ||
* overwrite property assignments of previous sources. If `customizer` is | ||
* provided it is invoked to produce the merged values of the destination and | ||
* provided it's invoked to produce the merged values of the destination and | ||
* source properties. If `customizer` returns `undefined` merging is handled | ||
@@ -11,0 +11,0 @@ * by the method instead. The `customizer` is bound to `thisArg` and invoked |
@@ -10,3 +10,3 @@ import baseFlatten from '../internal/baseFlatten'; | ||
* names may be specified as individual arguments or as arrays of property | ||
* names. If `predicate` is provided it is invoked for each property of `object` | ||
* names. If `predicate` is provided it's invoked for each property of `object` | ||
* picking the properties `predicate` returns truthy for. The predicate is | ||
@@ -13,0 +13,0 @@ * bound to `thisArg` and invoked with three arguments: (value, key, object). |
@@ -10,3 +10,3 @@ import baseGet from '../internal/baseGet'; | ||
* This method is like `_.get` except that if the resolved value is a function | ||
* it is invoked with the `this` binding of its parent object and its result | ||
* it's invoked with the `this` binding of its parent object and its result | ||
* is returned. | ||
@@ -13,0 +13,0 @@ * |
@@ -8,3 +8,3 @@ import isIndex from '../internal/isIndex'; | ||
* Sets the property value of `path` on `object`. If a portion of `path` | ||
* does not exist it is created. | ||
* does not exist it's created. | ||
* | ||
@@ -11,0 +11,0 @@ * @static |
{ | ||
"name": "lodash-es", | ||
"version": "3.10.0", | ||
"version": "3.10.1", | ||
"description": "The modern build of lodash exported as ES modules.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/custom-builds", |
@@ -1,2 +0,2 @@ | ||
# lodash-es v3.10.0 | ||
# lodash-es v3.10.1 | ||
@@ -10,2 +10,2 @@ The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash](https://lodash.com/) exported as [ES](https://people.mozilla.org/~jorendorff/es6-draft.html) modules. | ||
See the [package source](https://github.com/lodash/lodash/tree/3.10.0-es) for more details. | ||
See the [package source](https://github.com/lodash/lodash/tree/3.10.1-es) for more details. |
@@ -6,3 +6,3 @@ import isError from '../lang/isError'; | ||
* Attempts to invoke `func`, returning either the result or the caught error | ||
* object. Any additional arguments are provided to `func` when it is invoked. | ||
* object. Any additional arguments are provided to `func` when it's invoked. | ||
* | ||
@@ -9,0 +9,0 @@ * @static |
@@ -26,3 +26,3 @@ import baseGet from '../internal/baseGet'; | ||
return function(path) { | ||
return baseGet(object, toPath(path), path + ''); | ||
return baseGet(object, toPath(path), (path + '')); | ||
}; | ||
@@ -29,0 +29,0 @@ } |
@@ -9,3 +9,3 @@ import isIterateeCall from '../internal/isIterateeCall'; | ||
* Creates an array of numbers (positive and/or negative) progressing from | ||
* `start` up to, but not including, `end`. If `end` is not specified it is | ||
* `start` up to, but not including, `end`. If `end` is not specified it's | ||
* set to `start` with `start` then set to `0`. If `end` is less than `start` | ||
@@ -12,0 +12,0 @@ * a zero-length range is created unless a negative `step` is specified. |
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
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
441647