Socket
Socket
Sign inDemoInstall

lodash-es

Package Overview
Dependencies
Maintainers
3
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash-es - npm Package Compare versions

Comparing version 4.3.0 to 4.4.0

_baseCastArrayLikeObject.js

17

_baseCreate.js
import isObject from './isObject';
/** Built-in value references. */
var objectCreate = Object.create;
/**

@@ -11,14 +14,6 @@ * The base implementation of `_.create` without support for assigning

*/
var baseCreate = (function() {
function object() {}
return function(prototype) {
if (isObject(prototype)) {
object.prototype = prototype;
var result = new object;
object.prototype = undefined;
}
return result || {};
};
}());
function baseCreate(proto) {
return isObject(proto) ? objectCreate(proto) : {};
}
export default baseCreate;

@@ -11,3 +11,3 @@ import arrayPush from './_arrayPush';

* @param {Array} array The array to flatten.
* @param {boolean} [isDeep] Specify a deep flatten.
* @param {number} depth The maximum recursion depth.
* @param {boolean} [isStrict] Restrict flattening to arrays-like objects.

@@ -17,3 +17,3 @@ * @param {Array} [result=[]] The initial result value.

*/
function baseFlatten(array, isDeep, isStrict, result) {
function baseFlatten(array, depth, isStrict, result) {
result || (result = []);

@@ -26,7 +26,7 @@

var value = array[index];
if (isArrayLikeObject(value) &&
if (depth > 0 && isArrayLikeObject(value) &&
(isStrict || isArray(value) || isArguments(value))) {
if (isDeep) {
if (depth > 1) {
// Recursively flatten arrays (susceptible to call stack limits).
baseFlatten(value, isDeep, isStrict, result);
baseFlatten(value, depth - 1, isStrict, result);
} else {

@@ -33,0 +33,0 @@ arrayPush(result, value);

@@ -1,2 +0,2 @@

import baseToPath from './_baseToPath';
import baseCastPath from './_baseCastPath';
import isKey from './_isKey';

@@ -13,3 +13,3 @@

function baseGet(object, path) {
path = isKey(path, object) ? [path + ''] : baseToPath(path);
path = isKey(path, object) ? [path + ''] : baseCastPath(path);

@@ -16,0 +16,0 @@ var index = 0,

@@ -45,7 +45,13 @@ import SetCache from './_SetCache';

if (!(seen ? cacheHas(seen, computed) : includes(result, computed, comparator))) {
if (!(seen
? cacheHas(seen, computed)
: includes(result, computed, comparator)
)) {
var othIndex = othLength;
while (--othIndex) {
var cache = caches[othIndex];
if (!(cache ? cacheHas(cache, computed) : includes(arrays[othIndex], computed, comparator))) {
if (!(cache
? cacheHas(cache, computed)
: includes(arrays[othIndex], computed, comparator))
) {
continue outer;

@@ -52,0 +58,0 @@ }

import apply from './_apply';
import baseToPath from './_baseToPath';
import baseCastPath from './_baseCastPath';
import isKey from './_isKey';

@@ -19,3 +19,3 @@ import last from './last';

if (!isKey(path, object)) {
path = baseToPath(path);
path = baseCastPath(path);
object = parent(object, path);

@@ -22,0 +22,0 @@ path = last(path);

@@ -9,3 +9,2 @@ /* Built-in method references for those with the same name as other `lodash` methods. */

* @private
* @type Function
* @param {Object} object The object to query.

@@ -12,0 +11,0 @@ * @returns {Array} Returns the array of property names.

@@ -24,3 +24,6 @@ import Stack from './_Stack';

}
var props = (isArray(source) || isTypedArray(source)) ? undefined : keysIn(source);
var props = (isArray(source) || isTypedArray(source))
? undefined
: keysIn(source);
arrayEach(props || source, function(srcValue, key) {

@@ -36,3 +39,6 @@ if (props) {

else {
var newValue = customizer ? customizer(object[key], srcValue, (key + ''), object, source, stack) : undefined;
var newValue = customizer
? customizer(object[key], srcValue, (key + ''), object, source, stack)
: undefined;
if (newValue === undefined) {

@@ -39,0 +45,0 @@ newValue = srcValue;

@@ -36,5 +36,8 @@ import assignMergeValue from './_assignMergeValue';

}
var newValue = customizer ? customizer(objValue, srcValue, (key + ''), object, source, stack) : undefined,
isCommon = newValue === undefined;
var newValue = customizer
? customizer(objValue, srcValue, (key + ''), object, source, stack)
: undefined;
var isCommon = newValue === undefined;
if (isCommon) {

@@ -44,3 +47,3 @@ newValue = srcValue;

if (isArray(objValue)) {
newValue = srcIndex ? copyArray(objValue) : objValue;
newValue = objValue;
}

@@ -52,3 +55,3 @@ else if (isArrayLikeObject(objValue)) {

isCommon = false;
newValue = baseClone(srcValue);
newValue = baseClone(srcValue, true);
}

@@ -62,6 +65,6 @@ }

isCommon = false;
newValue = baseClone(srcValue);
newValue = baseClone(srcValue, true);
}
else {
newValue = srcIndex ? baseClone(objValue) : objValue;
newValue = objValue;
}

@@ -68,0 +71,0 @@ }

@@ -1,2 +0,2 @@

import baseToPath from './_baseToPath';
import baseCastPath from './_baseCastPath';
import isIndex from './_isIndex';

@@ -34,3 +34,3 @@ import isKey from './_isKey';

else if (!isKey(index, array)) {
var path = baseToPath(index),
var path = baseCastPath(index),
object = parent(array, path);

@@ -37,0 +37,0 @@

import assignValue from './_assignValue';
import baseToPath from './_baseToPath';
import baseCastPath from './_baseCastPath';
import isIndex from './_isIndex';

@@ -18,3 +18,3 @@ import isKey from './_isKey';

function baseSet(object, path, value, customizer) {
path = isKey(path, object) ? [path + ''] : baseToPath(path);
path = isKey(path, object) ? [path + ''] : baseCastPath(path);

@@ -34,3 +34,5 @@ var index = -1,

if (newValue === undefined) {
newValue = objValue == null ? (isIndex(path[index + 1]) ? [] : {}) : objValue;
newValue = objValue == null
? (isIndex(path[index + 1]) ? [] : {})
: objValue;
}

@@ -37,0 +39,0 @@ }

@@ -1,2 +0,2 @@

import baseToPath from './_baseToPath';
import baseCastPath from './_baseCastPath';
import has from './has';

@@ -16,3 +16,3 @@ import isKey from './_isKey';

function baseUnset(object, path) {
path = isKey(path, object) ? [path + ''] : baseToPath(path);
path = isKey(path, object) ? [path + ''] : baseCastPath(path);
object = parent(object, path);

@@ -19,0 +19,0 @@ var key = last(path);

@@ -12,8 +12,9 @@ import cloneArrayBuffer from './_cloneArrayBuffer';

function cloneTypedArray(typedArray, isDeep) {
var buffer = typedArray.buffer,
var arrayBuffer = typedArray.buffer,
buffer = isDeep ? cloneArrayBuffer(arrayBuffer) : arrayBuffer,
Ctor = typedArray.constructor;
return new Ctor(isDeep ? cloneArrayBuffer(buffer) : buffer, typedArray.byteOffset, typedArray.length);
return new Ctor(buffer, typedArray.byteOffset, typedArray.length);
}
export default cloneTypedArray;

@@ -21,5 +21,8 @@ import assignValue from './_assignValue';

while (++index < length) {
var key = props[index],
newValue = customizer ? customizer(object[key], source[key], key, object, source) : source[key];
var key = props[index];
var newValue = customizer
? customizer(object[key], source[key], key, object, source)
: source[key];
assignValue(object, key, newValue);

@@ -26,0 +29,0 @@ }

@@ -18,3 +18,6 @@ import isIterateeCall from './_isIterateeCall';

customizer = typeof customizer == 'function' ? (length--, customizer) : undefined;
customizer = typeof customizer == 'function'
? (length--, customizer)
: undefined;
if (guard && isIterateeCall(sources[0], sources[1], guard)) {

@@ -21,0 +24,0 @@ customizer = length < 3 ? undefined : customizer;

@@ -27,4 +27,7 @@ import stringToArray from './_stringToArray';

var strSymbols = reHasComplexSymbol.test(string) ? stringToArray(string) : undefined,
chr = strSymbols ? strSymbols[0] : string.charAt(0),
var strSymbols = reHasComplexSymbol.test(string)
? stringToArray(string)
: undefined;
var chr = strSymbols ? strSymbols[0] : string.charAt(0),
trailing = strSymbols ? strSymbols.slice(1).join('') : string.slice(1);

@@ -31,0 +34,0 @@

@@ -30,3 +30,3 @@ import LodashWrapper from './_LodashWrapper';

return rest(function(funcs) {
funcs = baseFlatten(funcs);
funcs = baseFlatten(funcs, 1);

@@ -56,3 +56,6 @@ var length = funcs.length,

if (data && isLaziable(data[0]) && data[1] == (ARY_FLAG | CURRY_FLAG | PARTIAL_FLAG | REARG_FLAG) && !data[4].length && data[9] == 1) {
if (data && isLaziable(data[0]) &&
data[1] == (ARY_FLAG | CURRY_FLAG | PARTIAL_FLAG | REARG_FLAG) &&
!data[4].length && data[9] == 1
) {
wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);

@@ -67,3 +70,4 @@ } else {

if (wrapper && args.length == 1 && isArray(value) && value.length >= LARGE_ARRAY_SIZE) {
if (wrapper && args.length == 1 &&
isArray(value) && value.length >= LARGE_ARRAY_SIZE) {
return wrapper.plant(value).value();

@@ -70,0 +74,0 @@ }

@@ -63,3 +63,6 @@ import composeArgs from './_composeArgs';

if (length < arity) {
return createRecurryWrapper(func, bitmask, createHybridWrapper, placeholder, thisArg, args, argsHolders, argPos, ary, arity - length);
return createRecurryWrapper(
func, bitmask, createHybridWrapper, placeholder, thisArg, args,
argsHolders, argPos, ary, arity - length
);
}

@@ -66,0 +69,0 @@ }

@@ -16,3 +16,3 @@ import apply from './_apply';

return rest(function(iteratees) {
iteratees = arrayMap(baseFlatten(iteratees), baseIteratee);
iteratees = arrayMap(baseFlatten(iteratees, 1), baseIteratee);
return rest(function(args) {

@@ -19,0 +19,0 @@ var thisArg = this;

@@ -43,5 +43,8 @@ import copyArray from './_copyArray';

}
var newData = [func, bitmask, thisArg, newPartials, newsHolders, newPartialsRight, newHoldersRight, newArgPos, ary, arity],
result = wrapFunc.apply(undefined, newData);
var newData = [
func, bitmask, thisArg, newPartials, newsHolders, newPartialsRight,
newHoldersRight, newArgPos, ary, arity
];
var result = wrapFunc.apply(undefined, newData);
if (isLaziable(func)) {

@@ -48,0 +51,0 @@ setData(result, newData);

@@ -70,5 +70,9 @@ import baseSetData from './_baseSetData';

}
var data = isBindKey ? undefined : getData(func),
newData = [func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity];
var data = isBindKey ? undefined : getData(func);
var newData = [
func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,
argPos, ary, arity
];
if (data) {

@@ -75,0 +79,0 @@ mergeData(newData, data);

@@ -10,2 +10,3 @@ import nativeCreate from './_nativeCreate';

* @private
* @constructor
* @returns {Object} Returns the new hash object.

@@ -12,0 +13,0 @@ */

@@ -1,2 +0,2 @@

import baseToPath from './_baseToPath';
import baseCastPath from './_baseCastPath';
import isArguments from './isArguments';

@@ -26,3 +26,3 @@ import isArray from './isArray';

if (!result && !isKey(path)) {
path = baseToPath(path);
path = baseCastPath(path);
object = parent(object, path);

@@ -29,0 +29,0 @@ if (object != null) {

@@ -11,5 +11,5 @@ /**

return type == 'number' || type == 'boolean' ||
(type == 'string' && value !== '__proto__') || value == null;
(type == 'string' && value != '__proto__') || value == null;
}
export default isKeyable;

@@ -39,3 +39,4 @@ import baseWrapperValue from './_baseWrapperValue';

if (!isArr || arrLength < LARGE_ARRAY_SIZE || (arrLength == length && takeCount == length)) {
if (!isArr || arrLength < LARGE_ARRAY_SIZE ||
(arrLength == length && takeCount == length)) {
return baseWrapperValue(array, this.__actions__);

@@ -42,0 +43,0 @@ }

@@ -11,2 +11,3 @@ import baseCreate from './_baseCreate';

* @private
* @constructor
* @param {*} value The value to wrap.

@@ -13,0 +14,0 @@ */

@@ -11,2 +11,3 @@ import mapClear from './_mapClear';

* @private
* @constructor
* @param {Array} [values] The values to cache.

@@ -13,0 +14,0 @@ */

@@ -12,5 +12,9 @@ import Hash from './_Hash';

function mapClear() {
this.__data__ = { 'hash': new Hash, 'map': Map ? new Map : [], 'string': new Hash };
this.__data__ = {
'hash': new Hash,
'map': Map ? new Map : [],
'string': new Hash
};
}
export default mapClear;

@@ -10,6 +10,10 @@ import checkGlobal from './_checkGlobal';

/** Detect free variable `exports`. */
var freeExports = (objectTypes[typeof exports] && exports && !exports.nodeType) ? exports : null;
var freeExports = (objectTypes[typeof exports] && exports && !exports.nodeType)
? exports
: undefined;
/** Detect free variable `module`. */
var freeModule = (objectTypes[typeof module] && module && !module.nodeType) ? module : null;
var freeModule = (objectTypes[typeof module] && module && !module.nodeType)
? module
: undefined;

@@ -34,4 +38,6 @@ /** Detect free variable `global` from Node.js. */

*/
var root = freeGlobal || ((freeWindow !== (thisGlobal && thisGlobal.window)) && freeWindow) || freeSelf || thisGlobal || Function('return this')();
var root = freeGlobal ||
((freeWindow !== (thisGlobal && thisGlobal.window)) && freeWindow) ||
freeSelf || thisGlobal || Function('return this')();
export default root;

@@ -9,2 +9,3 @@ import MapCache from './_MapCache';

* @private
* @constructor
* @param {Array} [values] The values to cache.

@@ -11,0 +12,0 @@ */

@@ -11,2 +11,3 @@ import stackClear from './_stackClear';

* @private
* @constructor
* @param {Array} [values] The values to cache.

@@ -13,0 +14,0 @@ */

@@ -16,2 +16,3 @@ import chunk from './chunk';

import flattenDeep from './flattenDeep';
import flattenDepth from './flattenDepth';
import fromPairs from './fromPairs';

@@ -68,12 +69,12 @@ import head from './head';

fill, findIndex, findLastIndex, flatten, flattenDeep,
fromPairs, head, indexOf, initial, intersection,
intersectionBy, intersectionWith, join, last, lastIndexOf,
pull, pullAll, pullAllBy, pullAt, remove,
reverse, slice, sortedIndex, sortedIndexBy, sortedIndexOf,
sortedLastIndex, sortedLastIndexBy, sortedLastIndexOf, sortedUniq, sortedUniqBy,
tail, take, takeRight, takeRightWhile, takeWhile,
union, unionBy, unionWith, uniq, uniqBy,
uniqWith, unzip, unzipWith, without, xor,
xorBy, xorWith, zip, zipObject, zipObjectDeep,
zipWith
flattenDepth, fromPairs, head, indexOf, initial,
intersection, intersectionBy, intersectionWith, join, last,
lastIndexOf, pull, pullAll, pullAllBy, pullAt,
remove, reverse, slice, sortedIndex, sortedIndexBy,
sortedIndexOf, sortedLastIndex, sortedLastIndexBy, sortedLastIndexOf, sortedUniq,
sortedUniqBy, tail, take, takeRight, takeRightWhile,
takeWhile, union, unionBy, unionWith, uniq,
uniqBy, uniqWith, unzip, unzipWith, without,
xor, xorBy, xorWith, zip, zipObject,
zipObjectDeep, zipWith
};

@@ -16,2 +16,3 @@ export { default as chunk } from './chunk';

export { default as flattenDeep } from './flattenDeep';
export { default as flattenDepth } from './flattenDepth';
export { default as fromPairs } from './fromPairs';

@@ -18,0 +19,0 @@ export { default as head } from './head';

@@ -26,5 +26,5 @@ import baseAt from './_baseAt';

var at = rest(function(object, paths) {
return baseAt(object, baseFlatten(paths));
return baseAt(object, baseFlatten(paths, 1));
});
export default at;
import apply from './_apply';
import isObject from './isObject';
import isError from './isError';
import rest from './rest';

@@ -29,3 +29,3 @@

} catch (e) {
return isObject(e) ? e : new Error(e);
return isError(e) ? e : new Error(e);
}

@@ -32,0 +32,0 @@ });

@@ -33,3 +33,3 @@ import arrayEach from './_arrayEach';

var bindAll = rest(function(object, methodNames) {
arrayEach(baseFlatten(methodNames), function(key) {
arrayEach(baseFlatten(methodNames, 1), function(key) {
object[key] = bind(object[key], object);

@@ -36,0 +36,0 @@ });

@@ -31,3 +31,3 @@ import arrayConcat from './_arrayConcat';

}
values = baseFlatten(values);
values = baseFlatten(values, 1);
return arrayConcat(array, values);

@@ -34,0 +34,0 @@ });

@@ -141,5 +141,7 @@ import isObject from './isObject';

}
var remaining = maxWait - (stamp - lastCalled),
isCalled = remaining <= 0 || remaining > maxWait;
var remaining = maxWait - (stamp - lastCalled);
var isCalled = (remaining <= 0 || remaining > maxWait) &&
(leading || maxTimeoutId);
if (isCalled) {

@@ -146,0 +148,0 @@ if (maxTimeoutId) {

@@ -24,3 +24,3 @@ import baseDifference from './_baseDifference';

return isArrayLikeObject(array)
? baseDifference(array, baseFlatten(values, false, true))
? baseDifference(array, baseFlatten(values, 1, true))
: [];

@@ -27,0 +27,0 @@ });

@@ -35,3 +35,3 @@ import baseDifference from './_baseDifference';

return isArrayLikeObject(array)
? baseDifference(array, baseFlatten(values, false, true), baseIteratee(iteratee))
? baseDifference(array, baseFlatten(values, 1, true), baseIteratee(iteratee))
: [];

@@ -38,0 +38,0 @@ });

@@ -32,3 +32,3 @@ import baseDifference from './_baseDifference';

return isArrayLikeObject(array)
? baseDifference(array, baseFlatten(values, false, true), undefined, comparator)
? baseDifference(array, baseFlatten(values, 1, true), undefined, comparator)
: [];

@@ -35,0 +35,0 @@ });

@@ -25,5 +25,5 @@ import baseFlatten from './_baseFlatten';

function flatMap(collection, iteratee) {
return baseFlatten(map(collection, iteratee));
return baseFlatten(map(collection, iteratee), 1);
}
export default flatMap;
import baseFlatten from './_baseFlatten';
/**
* Flattens `array` a single level.
* Flattens `array` a single level deep.
*

@@ -13,10 +13,10 @@ * @static

*
* _.flatten([1, [2, 3, [4]]]);
* // => [1, 2, 3, [4]]
* _.flatten([1, [2, [3, [4]], 5]]);
* // => [1, 2, [3, [4]], 5]
*/
function flatten(array) {
var length = array ? array.length : 0;
return length ? baseFlatten(array) : [];
return length ? baseFlatten(array, 1) : [];
}
export default flatten;
import baseFlatten from './_baseFlatten';
/** Used as references for various `Number` constants. */
var INFINITY = 1 / 0;
/**
* This method is like `_.flatten` except that it recursively flattens `array`.
* Recursively flattens `array`.
*

@@ -9,14 +12,14 @@ * @static

* @category Array
* @param {Array} array The array to recursively flatten.
* @param {Array} array The array to flatten.
* @returns {Array} Returns the new flattened array.
* @example
*
* _.flattenDeep([1, [2, 3, [4]]]);
* // => [1, 2, 3, 4]
* _.flattenDeep([1, [2, [3, [4]], 5]]);
* // => [1, 2, 3, 4, 5]
*/
function flattenDeep(array) {
var length = array ? array.length : 0;
return length ? baseFlatten(array, true) : [];
return length ? baseFlatten(array, INFINITY) : [];
}
export default flattenDeep;
import arrayEach from './_arrayEach';
import baseCastFunction from './_baseCastFunction';
import baseEach from './_baseEach';
import isArray from './isArray';
import toFunction from './_toFunction';

@@ -37,5 +37,5 @@ /**

? arrayEach(collection, iteratee)
: baseEach(collection, toFunction(iteratee));
: baseEach(collection, baseCastFunction(iteratee));
}
export default forEach;
import arrayEachRight from './_arrayEachRight';
import baseCastFunction from './_baseCastFunction';
import baseEachRight from './_baseEachRight';
import isArray from './isArray';
import toFunction from './_toFunction';

@@ -27,5 +27,5 @@ /**

? arrayEachRight(collection, iteratee)
: baseEachRight(collection, toFunction(iteratee));
: baseEachRight(collection, baseCastFunction(iteratee));
}
export default forEachRight;

@@ -0,4 +1,4 @@

import baseCastFunction from './_baseCastFunction';
import baseFor from './_baseFor';
import keysIn from './keysIn';
import toFunction from './_toFunction';

@@ -32,5 +32,7 @@ /**

function forIn(object, iteratee) {
return object == null ? object : baseFor(object, toFunction(iteratee), keysIn);
return object == null
? object
: baseFor(object, baseCastFunction(iteratee), keysIn);
}
export default forIn;

@@ -0,4 +1,4 @@

import baseCastFunction from './_baseCastFunction';
import baseForRight from './_baseForRight';
import keysIn from './keysIn';
import toFunction from './_toFunction';

@@ -30,5 +30,7 @@ /**

function forInRight(object, iteratee) {
return object == null ? object : baseForRight(object, toFunction(iteratee), keysIn);
return object == null
? object
: baseForRight(object, baseCastFunction(iteratee), keysIn);
}
export default forInRight;

@@ -0,3 +1,3 @@

import baseCastFunction from './_baseCastFunction';
import baseForOwn from './_baseForOwn';
import toFunction from './_toFunction';

@@ -31,5 +31,5 @@ /**

function forOwn(object, iteratee) {
return object && baseForOwn(object, toFunction(iteratee));
return object && baseForOwn(object, baseCastFunction(iteratee));
}
export default forOwn;

@@ -0,3 +1,3 @@

import baseCastFunction from './_baseCastFunction';
import baseForOwnRight from './_baseForOwnRight';
import toFunction from './_toFunction';

@@ -29,5 +29,5 @@ /**

function forOwnRight(object, iteratee) {
return object && baseForOwnRight(object, toFunction(iteratee));
return object && baseForOwnRight(object, baseCastFunction(iteratee));
}
export default forOwnRight;
import arrayMap from './_arrayMap';
import baseCastArrayLikeObject from './_baseCastArrayLikeObject';
import baseIntersection from './_baseIntersection';
import rest from './rest';
import toArrayLikeObject from './_toArrayLikeObject';

@@ -22,3 +22,3 @@ /**

var intersection = rest(function(arrays) {
var mapped = arrayMap(arrays, toArrayLikeObject);
var mapped = arrayMap(arrays, baseCastArrayLikeObject);
return (mapped.length && mapped[0] === arrays[0])

@@ -25,0 +25,0 @@ ? baseIntersection(mapped)

import arrayMap from './_arrayMap';
import baseCastArrayLikeObject from './_baseCastArrayLikeObject';
import baseIntersection from './_baseIntersection';

@@ -6,3 +7,2 @@ import baseIteratee from './_baseIteratee';

import rest from './rest';
import toArrayLikeObject from './_toArrayLikeObject';

@@ -31,3 +31,3 @@ /**

var iteratee = last(arrays),
mapped = arrayMap(arrays, toArrayLikeObject);
mapped = arrayMap(arrays, baseCastArrayLikeObject);

@@ -34,0 +34,0 @@ if (iteratee === last(mapped)) {

import arrayMap from './_arrayMap';
import baseCastArrayLikeObject from './_baseCastArrayLikeObject';
import baseIntersection from './_baseIntersection';
import last from './last';
import rest from './rest';
import toArrayLikeObject from './_toArrayLikeObject';

@@ -28,3 +28,3 @@ /**

var comparator = last(arrays),
mapped = arrayMap(arrays, toArrayLikeObject);
mapped = arrayMap(arrays, baseCastArrayLikeObject);

@@ -31,0 +31,0 @@ if (comparator === last(mapped)) {

@@ -6,3 +6,3 @@ /**

* @memberOf _
* @type Function
* @type {Function}
* @category Lang

@@ -9,0 +9,0 @@ * @param {*} value The value to check.

@@ -19,3 +19,2 @@ import isObjectLike from './isObjectLike';

* @memberOf _
* @type Function
* @category Lang

@@ -22,0 +21,0 @@ * @param {*} value The value to check.

@@ -12,3 +12,2 @@ import getLength from './_getLength';

* @memberOf _
* @type Function
* @category Lang

@@ -15,0 +14,0 @@ * @param {*} value The value to check.

@@ -10,3 +10,2 @@ import isArrayLike from './isArrayLike';

* @memberOf _
* @type Function
* @category Lang

@@ -13,0 +12,0 @@ * @param {*} value The value to check.

@@ -11,9 +11,15 @@ import constant from './constant';

/** Detect free variable `exports`. */
var freeExports = (objectTypes[typeof exports] && exports && !exports.nodeType) ? exports : null;
var freeExports = (objectTypes[typeof exports] && exports && !exports.nodeType)
? exports
: undefined;
/** Detect free variable `module`. */
var freeModule = (objectTypes[typeof module] && module && !module.nodeType) ? module : null;
var freeModule = (objectTypes[typeof module] && module && !module.nodeType)
? module
: undefined;
/** Detect the popular CommonJS extension `module.exports`. */
var moduleExports = (freeModule && freeModule.exports === freeExports) ? freeExports : null;
var moduleExports = (freeModule && freeModule.exports === freeExports)
? freeExports
: undefined;

@@ -20,0 +26,0 @@ /** Built-in value references. */

@@ -42,3 +42,4 @@ import isArguments from './isArguments';

if (isArrayLike(value) &&
(isArray(value) || isString(value) || isFunction(value.splice) || isArguments(value))) {
(isArray(value) || isString(value) ||
isFunction(value.splice) || isArguments(value))) {
return !value.length;

@@ -45,0 +46,0 @@ }

import baseIsEqual from './_baseIsEqual';
/**
* This method is like `_.isEqual` except that it accepts `customizer` which is
* invoked to compare values. If `customizer` returns `undefined` comparisons are
* handled by the method instead. The `customizer` is invoked with up to six arguments:
* (objValue, othValue [, index|key, object, other, stack]).
* This method is like `_.isEqual` except that it accepts `customizer` which
* is invoked to compare values. If `customizer` returns `undefined` comparisons
* are handled by the method instead. The `customizer` is invoked with up to
* six arguments: (objValue, othValue [, index|key, object, other, stack]).
*

@@ -9,0 +9,0 @@ * @static

@@ -33,6 +33,10 @@ import isObjectLike from './isObjectLike';

function isError(value) {
return isObjectLike(value) &&
typeof value.message == 'string' && objectToString.call(value) == errorTag;
if (!isObjectLike(value)) {
return false;
}
var Ctor = value.constructor;
return (objectToString.call(value) == errorTag) ||
(typeof Ctor == 'function' && objectToString.call(Ctor.prototype) == errorTag);
}
export default isError;

@@ -29,5 +29,6 @@ /** Used as references for various `Number` constants. */

function isLength(value) {
return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
return typeof value == 'number' &&
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
}
export default isLength;

@@ -5,4 +5,5 @@ import baseIsMatch from './_baseIsMatch';

/**
* Performs a deep comparison between `object` and `source` to determine if
* `object` contains equivalent property values.
* Performs a partial deep comparison between `object` and `source` to
* determine if `object` contains equivalent property values. This method is
* equivalent to a `_.matches` function when `source` is partially applied.
*

@@ -9,0 +10,0 @@ * **Note:** This method supports comparing the same values as `_.isEqual`.

@@ -53,3 +53,4 @@ import isHostObject from './_isHostObject';

function isPlainObject(value) {
if (!isObjectLike(value) || objectToString.call(value) != objectTag || isHostObject(value)) {
if (!isObjectLike(value) ||
objectToString.call(value) != objectTag || isHostObject(value)) {
return false;

@@ -56,0 +57,0 @@ }

@@ -71,5 +71,6 @@ import isLength from './isLength';

function isTypedArray(value) {
return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[objectToString.call(value)];
return isObjectLike(value) &&
isLength(value.length) && !!typedArrayTags[objectToString.call(value)];
}
export default isTypedArray;

@@ -8,3 +8,4 @@ import baseClone from './_baseClone';

* property value for a given element. If `func` is an object the created
* callback returns `true` for elements that contain the equivalent object properties, otherwise it returns `false`.
* callback returns `true` for elements that contain the equivalent object
* properties, otherwise it returns `false`.
*

@@ -11,0 +12,0 @@ * @static

@@ -0,1 +1,2 @@

import castArray from './castArray';
import clone from './clone';

@@ -56,13 +57,13 @@ import cloneDeep from './cloneDeep';

export default {
clone, cloneDeep, cloneDeepWith, cloneWith, eq,
gt, gte, isArguments, isArray, isArrayBuffer,
isArrayLike, isArrayLikeObject, isBoolean, isBuffer, isDate,
isElement, isEmpty, isEqual, isEqualWith, isError,
isFinite, isFunction, isInteger, isLength, isMap,
isMatch, isMatchWith, isNaN, isNative, isNil,
isNull, isNumber, isObject, isObjectLike, isPlainObject,
isRegExp, isSafeInteger, isSet, isString, isSymbol,
isTypedArray, isUndefined, isWeakMap, isWeakSet, lt,
lte, toArray, toInteger, toLength, toNumber,
toPlainObject, toSafeInteger, toString
castArray, clone, cloneDeep, cloneDeepWith, cloneWith,
eq, gt, gte, isArguments, isArray,
isArrayBuffer, isArrayLike, isArrayLikeObject, isBoolean, isBuffer,
isDate, isElement, isEmpty, isEqual, isEqualWith,
isError, isFinite, isFunction, isInteger, isLength,
isMap, isMatch, isMatchWith, isNaN, isNative,
isNil, isNull, isNumber, isObject, isObjectLike,
isPlainObject, isRegExp, isSafeInteger, isSet, isString,
isSymbol, isTypedArray, isUndefined, isWeakMap, isWeakSet,
lt, lte, toArray, toInteger, toLength,
toNumber, toPlainObject, toSafeInteger, toString
};

@@ -0,1 +1,2 @@

export { default as castArray } from './castArray';
export { default as clone } from './clone';

@@ -2,0 +3,0 @@ export { default as cloneDeep } from './cloneDeep';

/**
* @license
* lodash 4.3.0 (Custom Build) <https://lodash.com/>
* lodash 4.4.0 (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="es" -o ./`

@@ -47,3 +47,3 @@ * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>

/** Used as the semantic version number. */
var VERSION = '4.3.0';
var VERSION = '4.4.0';

@@ -104,2 +104,3 @@ /** Used to compose bitmasks for wrapper metadata. */

lodash.bindKey = func.bindKey;
lodash.castArray = lang.castArray;
lodash.chain = seq.chain;

@@ -133,2 +134,3 @@ lodash.chunk = array.chunk;

lodash.flattenDeep = array.flattenDeep;
lodash.flattenDepth = array.flattenDepth;
lodash.flip = func.flip;

@@ -402,3 +404,3 @@ lodash.flow = util.flow;

* @memberOf _
* @type string
* @type {string}
*/

@@ -426,3 +428,6 @@ lodash.VERSION = VERSION;

} else {
result.__views__.push({ 'size': nativeMin(n, MAX_ARRAY_LENGTH), 'type': methodName + (result.__dir__ < 0 ? 'Right' : '') });
result.__views__.push({
'size': nativeMin(n, MAX_ARRAY_LENGTH),
'type': methodName + (result.__dir__ < 0 ? 'Right' : '')
});
}

@@ -444,3 +449,6 @@ return result;

var result = this.clone();
result.__iteratees__.push({ 'iteratee': baseIteratee(iteratee, 3), 'type': type });
result.__iteratees__.push({
'iteratee': baseIteratee(iteratee, 3),
'type': type
});
result.__filtered__ = result.__filtered__ || isFilter;

@@ -597,3 +605,6 @@ return result;

realNames[createHybridWrapper(undefined, BIND_KEY_FLAG).name] = [{ 'name': 'wrapper', 'func': undefined }];
realNames[createHybridWrapper(undefined, BIND_KEY_FLAG).name] = [{
'name': 'wrapper',
'func': undefined
}];

@@ -600,0 +611,0 @@ // Add functions to the lazy wrapper.

/**
* @license
* lodash 4.3.0 (Custom Build) <https://lodash.com/>
* lodash 4.4.0 (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="es" -o ./`

@@ -25,2 +25,3 @@ * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>

export { default as capitalize } from './capitalize';
export { default as castArray } from './castArray';
export { default as ceil } from './ceil';

@@ -77,2 +78,3 @@ export { default as chain } from './chain';

export { default as flattenDeep } from './flattenDeep';
export { default as flattenDepth } from './flattenDepth';
export { default as flip } from './flip';

@@ -79,0 +81,0 @@ export { default as floor } from './floor';

@@ -5,5 +5,6 @@ import baseClone from './_baseClone';

/**
* Creates a function that performs a deep partial comparison between a given
* Creates a function that performs a partial deep comparison between a given
* object and `source`, returning `true` if the given object has equivalent
* property values, else `false`.
* property values, else `false`. The created function is equivalent to
* `_.isMatch` with a `source` partially applied.
*

@@ -10,0 +11,0 @@ * **Note:** This method supports comparing the same values as `_.isEqual`.

@@ -5,3 +5,3 @@ import baseClone from './_baseClone';

/**
* Creates a function that performs a deep partial comparison between the
* Creates a function that performs a partial deep comparison between the
* value at `path` of a given object to `srcValue`, returning `true` if the

@@ -8,0 +8,0 @@ * object value is equivalent, else `false`.

@@ -5,8 +5,8 @@ import baseMerge from './_baseMerge';

/**
* Recursively merges own and inherited enumerable properties of source
* objects into the destination object, skipping source properties that resolve
* to `undefined`. Array and plain object properties are merged recursively.
* Other objects and value types are overridden by assignment. Source objects
* are applied from left to right. Subsequent sources overwrite property
* assignments of previous sources.
* Recursively merges own and inherited enumerable properties of source objects
* into the destination object. Source properties that resolve to `undefined`
* are skipped if a destination value exists. Array and plain object properties
* are merged recursively. Other objects and value types are overridden by
* assignment. Source objects are applied from left to right. Subsequent
* sources overwrite property assignments of previous sources.
*

@@ -13,0 +13,0 @@ * **Note:** This method mutates `object`.

@@ -7,3 +7,3 @@ /**

* @memberOf _
* @type Function
* @type {Function}
* @category Date

@@ -10,0 +10,0 @@ * @returns {number} Returns the timestamp.

@@ -17,3 +17,3 @@ import arrayMap from './_arrayMap';

* @param {...(string|string[])} [props] The property names to omit, specified
* individually or in arrays..
* individually or in arrays.
* @returns {Object} Returns the new object.

@@ -31,3 +31,3 @@ * @example

}
props = arrayMap(baseFlatten(props), String);
props = arrayMap(baseFlatten(props, 1), String);
return basePick(object, baseDifference(keysIn(object), props));

@@ -34,0 +34,0 @@ });

@@ -42,3 +42,3 @@ import apply from './_apply';

var overArgs = rest(function(func, transforms) {
transforms = arrayMap(baseFlatten(transforms), baseIteratee);
transforms = arrayMap(baseFlatten(transforms, 1), baseIteratee);

@@ -45,0 +45,0 @@ var funcsLength = transforms.length;

{
"name": "lodash-es",
"version": "4.3.0",
"version": "4.4.0",
"description": "Lodash exported as ES modules.",

@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/custom-builds",

@@ -25,3 +25,3 @@ import root from './_root';

* @param {string} string The string to convert.
* @param {number} [radix] The radix to interpret `value` by.
* @param {number} [radix=10] The radix to interpret `value` by.
* @param- {Object} [guard] Enables use as an iteratee for functions like `_.map`.

@@ -28,0 +28,0 @@ * @returns {number} Returns the converted integer.

@@ -23,5 +23,5 @@ import baseFlatten from './_baseFlatten';

var pick = rest(function(object, props) {
return object == null ? {} : basePick(object, baseFlatten(props));
return object == null ? {} : basePick(object, baseFlatten(props, 1));
});
export default pick;

@@ -33,3 +33,3 @@ import arrayMap from './_arrayMap';

var pullAt = rest(function(array, indexes) {
indexes = arrayMap(baseFlatten(indexes), String);
indexes = arrayMap(baseFlatten(indexes, 1), String);

@@ -36,0 +36,0 @@ var result = baseAt(array, indexes);

@@ -1,2 +0,2 @@

# lodash-es v4.3.0
# lodash-es v4.4.0

@@ -10,2 +10,2 @@ The [lodash](https://lodash.com/) library exported as [ES](http://www.ecma-international.org/ecma-262/6.0/) modules.

See the [package source](https://github.com/lodash/lodash/tree/4.3.0-es) for more details.
See the [package source](https://github.com/lodash/lodash/tree/4.4.0-es) for more details.

@@ -31,5 +31,5 @@ import baseFlatten from './_baseFlatten';

var rearg = rest(function(func, indexes) {
return createWrapper(func, REARG_FLAG, undefined, undefined, undefined, baseFlatten(indexes));
return createWrapper(func, REARG_FLAG, undefined, undefined, undefined, baseFlatten(indexes, 1));
});
export default rearg;

@@ -1,2 +0,2 @@

import baseToPath from './_baseToPath';
import baseCastPath from './_baseCastPath';
import get from './get';

@@ -37,3 +37,3 @@ import isFunction from './isFunction';

if (!isKey(path, object)) {
path = baseToPath(path);
path = baseCastPath(path);
var result = get(object, path);

@@ -40,0 +40,0 @@ object = parent(object, path);

@@ -49,5 +49,5 @@ import baseFlatten from './_baseFlatten';

}
return baseOrderBy(collection, baseFlatten(iteratees), []);
return baseOrderBy(collection, baseFlatten(iteratees, 1), []);
});
export default sortBy;

@@ -213,3 +213,4 @@ import assignInDefaults from './_assignInDefaults';

var result = attempt(function() {
return Function(importsKeys, sourceURL + 'return ' + source).apply(undefined, importsValues);
return Function(importsKeys, sourceURL + 'return ' + source)
.apply(undefined, importsValues);
});

@@ -216,0 +217,0 @@

@@ -13,3 +13,3 @@ import escape from './escape';

* @memberOf _
* @type Object
* @type {Object}
*/

@@ -22,3 +22,3 @@ var templateSettings = {

* @memberOf _.templateSettings
* @type RegExp
* @type {RegExp}
*/

@@ -31,3 +31,3 @@ 'escape': reEscape,

* @memberOf _.templateSettings
* @type RegExp
* @type {RegExp}
*/

@@ -40,3 +40,3 @@ 'evaluate': reEvaluate,

* @memberOf _.templateSettings
* @type RegExp
* @type {RegExp}
*/

@@ -49,3 +49,3 @@ 'interpolate': reInterpolate,

* @memberOf _.templateSettings
* @type string
* @type {string}
*/

@@ -58,3 +58,3 @@ 'variable': '',

* @memberOf _.templateSettings
* @type Object
* @type {Object}
*/

@@ -67,3 +67,3 @@ 'imports': {

* @memberOf _.templateSettings.imports
* @type Function
* @type {Function}
*/

@@ -70,0 +70,0 @@ '_': { 'escape': escape }

@@ -58,5 +58,9 @@ import debounce from './debounce';

}
return debounce(func, wait, { 'leading': leading, 'maxWait': wait, 'trailing': trailing });
return debounce(func, wait, {
'leading': leading,
'maxWait': wait,
'trailing': trailing
});
}
export default throttle;

@@ -0,3 +1,3 @@

import baseCastFunction from './_baseCastFunction';
import baseTimes from './_baseTimes';
import toFunction from './_toFunction';
import toInteger from './toInteger';

@@ -40,3 +40,3 @@

iteratee = toFunction(iteratee);
iteratee = baseCastFunction(iteratee);
n -= MAX_ARRAY_LENGTH;

@@ -43,0 +43,0 @@

@@ -5,3 +5,4 @@ import baseToPairs from './_baseToPairs';

/**
* Creates an array of own enumerable key-value pairs for `object`.
* Creates an array of own enumerable key-value pairs for `object` which
* can be consumed by `_.fromPairs`.
*

@@ -8,0 +9,0 @@ * @static

@@ -5,3 +5,4 @@ import baseToPairs from './_baseToPairs';

/**
* Creates an array of own and inherited enumerable key-value pairs for `object`.
* Creates an array of own and inherited enumerable key-value pairs for
* `object` which can be consumed by `_.fromPairs`.
*

@@ -8,0 +9,0 @@ * @static

@@ -45,5 +45,7 @@ import charsEndIndex from './_charsEndIndex';

return strSymbols.slice(charsStartIndex(strSymbols, chrSymbols), charsEndIndex(strSymbols, chrSymbols) + 1).join('');
return strSymbols
.slice(charsStartIndex(strSymbols, chrSymbols), charsEndIndex(strSymbols, chrSymbols) + 1)
.join('');
}
export default trim;

@@ -39,5 +39,7 @@ import charsEndIndex from './_charsEndIndex';

var strSymbols = stringToArray(string);
return strSymbols.slice(0, charsEndIndex(strSymbols, stringToArray(chars)) + 1).join('');
return strSymbols
.slice(0, charsEndIndex(strSymbols, stringToArray(chars)) + 1)
.join('');
}
export default trimEnd;

@@ -39,5 +39,7 @@ import charsStartIndex from './_charsStartIndex';

var strSymbols = stringToArray(string);
return strSymbols.slice(charsStartIndex(strSymbols, stringToArray(chars))).join('');
return strSymbols
.slice(charsStartIndex(strSymbols, stringToArray(chars)))
.join('');
}
export default trimStart;

@@ -36,3 +36,3 @@ import isObject from './isObject';

* @param {string} [string=''] The string to truncate.
* @param {Object} [options] The options object.
* @param {Object} [options=({})] The options object.
* @param {number} [options.length=30] The maximum string length.

@@ -39,0 +39,0 @@ * @param {string} [options.omission='...'] The string to indicate text is omitted.

@@ -21,5 +21,5 @@ import baseFlatten from './_baseFlatten';

var union = rest(function(arrays) {
return baseUniq(baseFlatten(arrays, false, true));
return baseUniq(baseFlatten(arrays, 1, true));
});
export default union;

@@ -33,5 +33,5 @@ import baseFlatten from './_baseFlatten';

}
return baseUniq(baseFlatten(arrays, false, true), baseIteratee(iteratee));
return baseUniq(baseFlatten(arrays, 1, true), baseIteratee(iteratee));
});
export default unionBy;

@@ -31,5 +31,5 @@ import baseFlatten from './_baseFlatten';

}
return baseUniq(baseFlatten(arrays, false, true), undefined, comparator);
return baseUniq(baseFlatten(arrays, 1, true), undefined, comparator);
});
export default unionWith;

@@ -12,3 +12,3 @@ import toString from './toString';

* @category Util
* @param {string} [prefix] The value to prefix the ID with.
* @param {string} [prefix=''] The value to prefix the ID with.
* @returns {string} Returns the unique ID.

@@ -15,0 +15,0 @@ * @example

@@ -27,5 +27,5 @@ import baseValues from './_baseValues';

function valuesIn(object) {
return object == null ? baseValues(object, keysIn(object)) : [];
return object == null ? [] : baseValues(object, keysIn(object));
}
export default valuesIn;

@@ -14,3 +14,3 @@ import identity from './identity';

* @param {*} value The value to wrap.
* @param {Function} wrapper The wrapper function.
* @param {Function} [wrapper=identity] The wrapper function.
* @returns {Function} Returns the new function.

@@ -17,0 +17,0 @@ * @example

@@ -29,3 +29,3 @@ import LazyWrapper from './_LazyWrapper';

var wrapperAt = rest(function(paths) {
paths = baseFlatten(paths);
paths = baseFlatten(paths, 1);
var length = paths.length,

@@ -36,7 +36,12 @@ start = length ? paths[0] : 0,

if (length > 1 || this.__actions__.length || !(value instanceof LazyWrapper) || !isIndex(start)) {
if (length > 1 || this.__actions__.length ||
!(value instanceof LazyWrapper) || !isIndex(start)) {
return this.thru(interceptor);
}
value = value.slice(start, +start + (length ? 1 : 0));
value.__actions__.push({ 'func': thru, 'args': [interceptor], 'thisArg': undefined });
value.__actions__.push({
'func': thru,
'args': [interceptor],
'thisArg': undefined
});
return new LodashWrapper(value, this.__chain__).thru(function(array) {

@@ -43,0 +48,0 @@ if (length && !array.length) {

@@ -53,24 +53,24 @@ import LazyWrapper from './_LazyWrapper';

* The chainable wrapper methods are:
* `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`,
* `at`, `before`, `bind`, `bindAll`, `bindKey`, `chain`, `chunk`, `commit`,
* `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`, `curry`,
* `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`, `difference`,
* `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,
* `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,
* `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,
* `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`, `difference`,
* `differenceBy`, `differenceWith`, `drop`, `dropRight`, `dropRightWhile`,
* `dropWhile`, `fill`, `filter`, `flatten`, `flattenDeep`, `flip`, `flow`,
* `flowRight`, `fromPairs`, `functions`, `functionsIn`, `groupBy`, `initial`,
* `intersection`, `intersectionBy`, `intersectionWith`, `invert`, `invertBy`,
* `invokeMap`, `iteratee`, `keyBy`, `keys`, `keysIn`, `map`, `mapKeys`,
* `mapValues`, `matches`, `matchesProperty`, `memoize`, `merge`, `mergeWith`,
* `method`, `methodOf`, `mixin`, `negate`, `nthArg`, `omit`, `omitBy`, `once`,
* `orderBy`, `over`, `overArgs`, `overEvery`, `overSome`, `partial`,
* `partialRight`, `partition`, `pick`, `pickBy`, `plant`, `property`,
* `propertyOf`, `pull`, `pullAll`, `pullAllBy`, `pullAt`, `push`, `range`,
* `rangeRight`, `rearg`, `reject`, `remove`, `rest`, `reverse`, `sampleSize`,
* `set`, `setWith`, `shuffle`, `slice`, `sort`, `sortBy`, `splice`, `spread`,
* `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, `tap`, `throttle`,
* `thru`, `toArray`, `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`,
* `transform`, `unary`, `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`,
* `uniqWith`, `unset`, `unshift`, `unzip`, `unzipWith`, `values`, `valuesIn`,
* `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`, `zipObject`,
* `zipObjectDeep`, and `zipWith`
* `dropWhile`, `fill`, `filter`, `flatten`, `flattenDeep`, `flattenDepth`,
* `flip`, `flow`, `flowRight`, `fromPairs`, `functions`, `functionsIn`,
* `groupBy`, `initial`, `intersection`, `intersectionBy`, `intersectionWith`,
* `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`, `keys`, `keysIn`,
* `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`, `memoize`,
* `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`, `nthArg`,
* `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`, `overEvery`,
* `overSome`, `partial`, `partialRight`, `partition`, `pick`, `pickBy`, `plant`,
* `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`, `pullAt`, `push`,
* `range`, `rangeRight`, `rearg`, `reject`, `remove`, `rest`, `reverse`,
* `sampleSize`, `set`, `setWith`, `shuffle`, `slice`, `sort`, `sortBy`,
* `splice`, `spread`, `tail`, `take`, `takeRight`, `takeRightWhile`,
* `takeWhile`, `tap`, `throttle`, `thru`, `toArray`, `toPairs`, `toPairsIn`,
* `toPath`, `toPlainObject`, `transform`, `unary`, `union`, `unionBy`,
* `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`, `unshift`, `unzip`,
* `unzipWith`, `values`, `valuesIn`, `without`, `wrap`, `xor`, `xorBy`,
* `xorWith`, `zip`, `zipObject`, `zipObjectDeep`, and `zipWith`
*

@@ -77,0 +77,0 @@ * The wrapper methods that are **not** chainable by default are:

@@ -33,3 +33,7 @@ import LazyWrapper from './_LazyWrapper';

wrapped = wrapped.reverse();
wrapped.__actions__.push({ 'func': thru, 'args': [reverse], 'thisArg': undefined });
wrapped.__actions__.push({
'func': thru,
'args': [reverse],
'thisArg': undefined
});
return new LodashWrapper(wrapped, this.__chain__);

@@ -36,0 +40,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc