Socket
Socket
Sign inDemoInstall

lodash

Package Overview
Dependencies
0
Maintainers
3
Versions
114
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.12.0 to 4.13.0

_baseFindKey.js

4

_arrayAggregator.js

@@ -5,3 +5,3 @@ /**

* @private
* @param {Array} array The array to iterate over.
* @param {Array} [array] The array to iterate over.
* @param {Function} setter The function to set `accumulator` values.

@@ -14,3 +14,3 @@ * @param {Function} iteratee The iteratee to transform keys.

var index = -1,
length = array.length;
length = array ? array.length : 0;

@@ -17,0 +17,0 @@ while (++index < length) {

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

* @private
* @param {Array} array The array to iterate over.
* @param {Array} [array] The array to iterate over.
* @param {Function} iteratee The function invoked per iteration.

@@ -13,3 +13,3 @@ * @returns {Array} Returns `array`.

var index = -1,
length = array.length;
length = array ? array.length : 0;

@@ -16,0 +16,0 @@ while (++index < length) {

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

* @private
* @param {Array} array The array to iterate over.
* @param {Array} [array] The array to iterate over.
* @param {Function} iteratee The function invoked per iteration.

@@ -12,3 +12,3 @@ * @returns {Array} Returns `array`.

function arrayEachRight(array, iteratee) {
var length = array.length;
var length = array ? array.length : 0;

@@ -15,0 +15,0 @@ while (length--) {

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

* @private
* @param {Array} array The array to iterate over.
* @param {Array} [array] The array to iterate over.
* @param {Function} predicate The function invoked per iteration.

@@ -14,3 +14,3 @@ * @returns {boolean} Returns `true` if all elements pass the predicate check,

var index = -1,
length = array.length;
length = array ? array.length : 0;

@@ -17,0 +17,0 @@ while (++index < length) {

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

* @private
* @param {Array} array The array to iterate over.
* @param {Array} [array] The array to iterate over.
* @param {Function} predicate The function invoked per iteration.

@@ -13,3 +13,3 @@ * @returns {Array} Returns the new filtered array.

var index = -1,
length = array.length,
length = array ? array.length : 0,
resIndex = 0,

@@ -16,0 +16,0 @@ result = [];

@@ -8,3 +8,3 @@ var baseIndexOf = require('./_baseIndexOf');

* @private
* @param {Array} array The array to search.
* @param {Array} [array] The array to search.
* @param {*} target The value to search for.

@@ -14,5 +14,6 @@ * @returns {boolean} Returns `true` if `target` is found, else `false`.

function arrayIncludes(array, value) {
return !!array.length && baseIndexOf(array, value, 0) > -1;
var length = array ? array.length : 0;
return !!length && baseIndexOf(array, value, 0) > -1;
}
module.exports = arrayIncludes;

@@ -5,3 +5,3 @@ /**

* @private
* @param {Array} array The array to search.
* @param {Array} [array] The array to search.
* @param {*} target The value to search for.

@@ -13,3 +13,3 @@ * @param {Function} comparator The comparator invoked per element.

var index = -1,
length = array.length;
length = array ? array.length : 0;

@@ -16,0 +16,0 @@ while (++index < length) {

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

* @private
* @param {Array} array The array to iterate over.
* @param {Array} [array] The array to iterate over.
* @param {Function} iteratee The function invoked per iteration.

@@ -13,3 +13,3 @@ * @returns {Array} Returns the new mapped array.

var index = -1,
length = array.length,
length = array ? array.length : 0,
result = Array(length);

@@ -16,0 +16,0 @@

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

* @private
* @param {Array} array The array to iterate over.
* @param {Array} [array] The array to iterate over.
* @param {Function} iteratee The function invoked per iteration.

@@ -16,3 +16,3 @@ * @param {*} [accumulator] The initial value.

var index = -1,
length = array.length;
length = array ? array.length : 0;

@@ -19,0 +19,0 @@ if (initAccum && length) {

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

* @private
* @param {Array} array The array to iterate over.
* @param {Array} [array] The array to iterate over.
* @param {Function} iteratee The function invoked per iteration.

@@ -15,3 +15,3 @@ * @param {*} [accumulator] The initial value.

function arrayReduceRight(array, iteratee, accumulator, initAccum) {
var length = array.length;
var length = array ? array.length : 0;
if (initAccum && length) {

@@ -18,0 +18,0 @@ accumulator = array[--length];

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

* @private
* @param {Array} array The array to iterate over.
* @param {Array} [array] The array to iterate over.
* @param {Function} predicate The function invoked per iteration.

@@ -14,3 +14,3 @@ * @returns {boolean} Returns `true` if any element passes the predicate check,

var index = -1,
length = array.length;
length = array ? array.length : 0;

@@ -17,0 +17,0 @@ while (++index < length) {

@@ -8,8 +8,9 @@ /**

* @param {Function} predicate The function invoked per iteration.
* @param {number} fromIndex The index to search from.
* @param {boolean} [fromRight] Specify iterating from right to left.
* @returns {number} Returns the index of the matched value, else `-1`.
*/
function baseFindIndex(array, predicate, fromRight) {
function baseFindIndex(array, predicate, fromIndex, fromRight) {
var length = array.length,
index = fromRight ? length : -1;
index = fromIndex + (fromRight ? 1 : -1);

@@ -16,0 +17,0 @@ while ((fromRight ? index-- : ++index < length)) {

@@ -13,3 +13,3 @@ var getPrototype = require('./_getPrototype');

* @private
* @param {Object} object The object to query.
* @param {Object} [object] The object to query.
* @param {Array|string} key The key to check.

@@ -22,6 +22,7 @@ * @returns {boolean} Returns `true` if `key` exists, else `false`.

// `hasOwnProperty` checks of them.
return hasOwnProperty.call(object, key) ||
(typeof object == 'object' && key in object && getPrototype(object) === null);
return object != null &&
(hasOwnProperty.call(object, key) ||
(typeof object == 'object' && key in object && getPrototype(object) === null));
}
module.exports = baseHas;

@@ -5,3 +5,3 @@ /**

* @private
* @param {Object} object The object to query.
* @param {Object} [object] The object to query.
* @param {Array|string} key The key to check.

@@ -11,5 +11,5 @@ * @returns {boolean} Returns `true` if `key` exists, else `false`.

function baseHasIn(object, key) {
return key in Object(object);
return object != null && key in Object(object);
}
module.exports = baseHasIn;
var arrayMap = require('./_arrayMap'),
baseIndexOf = require('./_baseIndexOf'),
baseIndexOfWith = require('./_baseIndexOfWith'),
baseUnary = require('./_baseUnary');
baseUnary = require('./_baseUnary'),
copyArray = require('./_copyArray');

@@ -29,2 +30,5 @@ /** Used for built-in method references. */

if (array === values) {
values = copyArray(values);
}
if (iteratee) {

@@ -31,0 +35,0 @@ seen = arrayMap(array, baseUnary(iteratee));

@@ -5,2 +5,5 @@ var toInteger = require('./toInteger'),

/* Built-in method references for those with the same name as other `lodash` methods. */
var nativeMin = Math.min;
/**

@@ -17,3 +20,3 @@ * Creates a function like `_.round`.

number = toNumber(number);
precision = toInteger(precision);
precision = nativeMin(toInteger(precision), 292);
if (precision) {

@@ -20,0 +23,0 @@ // Shift with exponential notation to avoid floating-point issues.

var isStrictComparable = require('./_isStrictComparable'),
toPairs = require('./toPairs');
keys = require('./keys');

@@ -12,7 +12,10 @@ /**

function getMatchData(object) {
var result = toPairs(object),
var result = keys(object),
length = result.length;
while (length--) {
result[length][2] = isStrictComparable(result[length][1]);
var key = result[length],
value = object[key];
result[length] = [key, value, isStrictComparable(value)];
}

@@ -19,0 +22,0 @@ return result;

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

var isNative = require('./isNative');
var baseIsNative = require('./_baseIsNative'),
getValue = require('./_getValue');

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

function getNative(object, key) {
var value = object[key];
return isNative(value) ? value : undefined;
var value = getValue(object, key);
return baseIsNative(value) ? value : undefined;
}
module.exports = getNative;

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

var stubArray = require('./stubArray');
/** Built-in value references. */

@@ -19,7 +21,5 @@ var getOwnPropertySymbols = Object.getOwnPropertySymbols;

if (!getOwnPropertySymbols) {
getSymbols = function() {
return [];
};
getSymbols = stubArray;
}
module.exports = getSymbols;

@@ -12,3 +12,3 @@ /**

var length = array.length,
index = fromIndex + (fromRight ? 0 : -1);
index = fromIndex + (fromRight ? 1 : -1);

@@ -15,0 +15,0 @@ while ((fromRight ? index-- : ++index < length)) {

var checkGlobal = require('./_checkGlobal');
/** Used to determine if values are of the language type `Object`. */
var objectTypes = {
'function': true,
'object': true
};
/** Detect free variable `exports`. */
var freeExports = (objectTypes[typeof exports] && exports && !exports.nodeType)
? exports
: undefined;
/** Detect free variable `module`. */
var freeModule = (objectTypes[typeof module] && module && !module.nodeType)
? module
: undefined;
/** Detect free variable `global` from Node.js. */
var freeGlobal = checkGlobal(freeExports && freeModule && typeof global == 'object' && global);
var freeGlobal = checkGlobal(typeof global == 'object' && global);
/** Detect free variable `self`. */
var freeSelf = checkGlobal(objectTypes[typeof self] && self);
var freeSelf = checkGlobal(typeof self == 'object' && self);
/** Detect free variable `window`. */
var freeWindow = checkGlobal(objectTypes[typeof window] && window);
/** Detect `this` as the global object. */
var thisGlobal = checkGlobal(objectTypes[typeof this] && this);
var thisGlobal = checkGlobal(typeof this == 'object' && this);
/**
* Used as a reference to the global object.
*
* The `this` value is used if it's the global object to avoid Greasemonkey's
* restricted `window` object, otherwise the `window` object is used.
*/
var root = freeGlobal ||
((freeWindow !== (thisGlobal && thisGlobal.window)) && freeWindow) ||
freeSelf || thisGlobal || Function('return this')();
/** Used as a reference to the global object. */
var root = freeGlobal || freeSelf || thisGlobal || Function('return this')();
module.exports = root;

@@ -5,3 +5,3 @@ var memoize = require('./memoize'),

/** Used to match property names within property paths. */
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]/g;
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(\.|\[\])(?:\4|$))/g;

@@ -8,0 +8,0 @@ /** Used to match backslashes in property paths. */

@@ -21,5 +21,2 @@ var baseAt = require('./_baseAt'),

* // => [3, 4]
*
* _.at(['a', 'b', 'c'], 0, 2);
* // => ['a', 'c']
*/

@@ -26,0 +23,0 @@ var at = rest(function(object, paths) {

@@ -17,3 +17,3 @@ var createWrapper = require('./_createWrapper'),

*
* **Note:** Unlike native `Function#bind` this method doesn't set the "length"
* **Note:** Unlike native `Function#bind`, this method doesn't set the "length"
* property of bound functions.

@@ -20,0 +20,0 @@ *

@@ -29,3 +29,3 @@ var arrayEach = require('./_arrayEach'),

*
* _.bindAll(view, 'onClick');
* _.bindAll(view, ['onClick']);
* jQuery(element).on('click', view.onClick);

@@ -32,0 +32,0 @@ * // => Logs 'clicked docs' when clicked.

@@ -22,3 +22,3 @@ var baseClone = require('./_baseClone'),

*
* _.filter(users, _.conforms({ 'age': _.partial(_.gt, _, 38) }));
* _.filter(users, _.conforms({ 'age': function(n) { return n > 38; } }));
* // => [{ 'user': 'fred', 'age': 40 }]

@@ -25,0 +25,0 @@ */

@@ -12,6 +12,8 @@ /**

*
* var object = { 'user': 'fred' };
* var getter = _.constant(object);
* var objects = _.times(2, _.constant({ 'a': 1 }));
*
* getter() === object;
* console.log(objects);
* // => [{ 'a': 1 }, { 'a': 1 }]
*
* console.log(objects[0] === objects[1]);
* // => true

@@ -18,0 +20,0 @@ */

/**
* @license
* lodash lodash.com/license | Underscore.js 1.8.3 underscorejs.org/LICENSE
* lodash (Custom Build) /license | Underscore.js 1.8.3 underscorejs.org/LICENSE
* Build: `lodash core -o ./dist/lodash.core.js`
*/
;(function(){function n(n,t){return n.push.apply(n,t),n}function t(n,t,r){var e;return r(n,function(n,r,u){return t(n,r,u)?(e=n,false):void 0}),e}function r(n,t,r,e,u){return u(n,function(n,u,o){r=e?(e=false,n):t(r,n,u,o)}),r}function e(n,t){return O(t,function(t){return n[t]})}function u(n){return n&&n.Object===Object?n:null}function o(n){return gn[n]}function i(n){var t=false;if(null!=n&&typeof n.toString!="function")try{t=!!(n+"")}catch(r){}return t}function c(n){return n instanceof f?n:new f(n)}function f(n,t){
this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t}function a(n,t,r,e){var u;return(u=n===pn)||(u=En[r],u=(n===u||n!==n&&u!==u)&&!kn.call(e,r)),u?t:n}function l(n){return nn(n)?Bn(n):{}}function p(n,t,r){if(typeof n!="function")throw new TypeError("Expected a function");return setTimeout(function(){n.apply(pn,r)},t)}function s(n,t){var r=true;return zn(n,function(n,e,u){return r=!!t(n,e,u)}),r}function h(n,t,r){for(var e=-1,u=n.length;++e<u;){var o=n[e],i=t(o);if(null!=i&&(c===pn?i===i:r(i,c)))var c=i,f=o;
}return f}function v(n,t){var r=[];return zn(n,function(n,e,u){t(n,e,u)&&r.push(n)}),r}function y(t,r,e,u,o){var i=-1,c=t.length;for(e||(e=G),o||(o=[]);++i<c;){var f=t[i];r>0&&e(f)?r>1?y(f,r-1,e,u,o):n(o,f):u||(o[o.length]=f)}return o}function g(n,t){return n&&Cn(n,t,on)}function b(n,t){return v(t,function(t){return Y(n[t])})}function _(n,t){return n>t}function d(n,t,r,e,u){return n===t?true:null==n||null==t||!nn(n)&&!tn(t)?n!==n&&t!==t:j(n,t,d,r,e,u)}function j(n,t,r,e,u,o){var c=Vn(n),f=Vn(t),a="[object Array]",l="[object Array]";
c||(a=Sn.call(n),a="[object Arguments]"==a?"[object Object]":a),f||(l=Sn.call(t),l="[object Arguments]"==l?"[object Object]":l);var p="[object Object]"==a&&!i(n),f="[object Object]"==l&&!i(t),l=a==l;o||(o=[]);var s=V(o,function(t){return t[0]===n});return s&&s[1]?s[1]==t:(o.push([n,t]),l&&!p?(r=c||isTypedArray(n)?$(n,t,r,e,u,o):q(n,t,a),o.pop(),r):2&u||(c=p&&kn.call(n,"__wrapped__"),a=f&&kn.call(t,"__wrapped__"),!c&&!a)?l?(r=z(n,t,r,e,u,o),o.pop(),r):false:(c=c?n.value():n,t=a?t.value():t,r=r(c,t,e,u,o),
o.pop(),r))}function m(n){return typeof n=="function"?n:null==n?an:(typeof n=="object"?A:k)(n)}function w(n){n=null==n?n:Object(n);var t,r=[];for(t in n)r.push(t);return r}function x(n,t){return t>n}function O(n,t){var r=-1,e=X(n)?Array(n.length):[];return zn(n,function(n,u,o){e[++r]=t(n,u,o)}),e}function A(n){var t=on(n);return function(r){var e=t.length;if(null==r)return!e;for(r=Object(r);e--;){var u=t[e];if(!(u in r&&d(n[u],r[u],pn,3)))return false}return true}}function E(n,t){return n=Object(n),K(t,function(t,r){
return r in n&&(t[r]=n[r]),t},{})}function k(n){return function(t){return null==t?pn:t[n]}}function N(n,t,r){var e=-1,u=n.length;for(0>t&&(t=-t>u?0:u+t),r=r>u?u:r,0>r&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0,r=Array(u);++e<u;)r[e]=n[e+t];return r}function S(n){return N(n,0,n.length)}function T(n,t){var r;return zn(n,function(n,e,u){return r=t(n,e,u),!r}),!!r}function F(t,r){return K(r,function(t,r){return r.func.apply(r.thisArg,n([t],r.args))},t)}function R(n,t,r,e){r||(r={});for(var u=-1,o=t.length;++u<o;){
var i=t[u],c=e?e(r[i],n[i],i,r,n):n[i],f=r,a=f[i];kn.call(f,i)&&(a===c||a!==a&&c!==c)&&(c!==pn||i in f)||(f[i]=c)}return r}function B(n){return Q(function(t,r){var e=-1,u=r.length,o=u>1?r[u-1]:pn,o=n.length>3&&typeof o=="function"?(u--,o):pn;for(t=Object(t);++e<u;){var i=r[e];i&&n(t,i,e,o)}return t})}function D(n){return function(){var t=arguments,r=l(n.prototype),t=n.apply(r,t);return nn(t)?t:r}}function I(n,t,r){function e(){for(var o=-1,i=arguments.length,c=-1,f=r.length,a=Array(f+i),l=this&&this!==On&&this instanceof e?u:n;++c<f;)a[c]=r[c];
for(;i--;)a[c++]=arguments[++o];return l.apply(t,a)}if(typeof n!="function")throw new TypeError("Expected a function");var u=D(n);return e}function $(n,t,r,e,u,o){var i=n.length,c=t.length;if(i!=c&&!(2&u&&c>i))return false;for(var c=-1,f=true,a=1&u?[]:pn;++c<i;){var l=n[c],p=t[c];if(void 0!==pn){f=false;break}if(a){if(!T(t,function(n,t){return U(a,t)||l!==n&&!r(l,n,e,u,o)?void 0:a.push(t)})){f=false;break}}else if(l!==p&&!r(l,p,e,u,o)){f=false;break}}return f}function q(n,t,r){switch(r){case"[object Boolean]":case"[object Date]":
return+n==+t;case"[object Error]":return n.name==t.name&&n.message==t.message;case"[object Number]":return n!=+n?t!=+t:n==+t;case"[object RegExp]":case"[object String]":return n==t+""}return false}function z(n,t,r,e,u,o){var i=2&u,c=on(n),f=c.length,a=on(t).length;if(f!=a&&!i)return false;for(var l=f;l--;){var p=c[l];if(!(i?p in t:kn.call(t,p)))return false}for(a=true;++l<f;){var p=c[l],s=n[p],h=t[p];if(void 0!==pn||s!==h&&!r(s,h,e,u,o)){a=false;break}i||(i="constructor"==p)}return a&&!i&&(r=n.constructor,e=t.constructor,
r!=e&&"constructor"in n&&"constructor"in t&&!(typeof r=="function"&&r instanceof r&&typeof e=="function"&&e instanceof e)&&(a=false)),a}function C(n){var t=n?n.length:pn;if(Z(t)&&(Vn(n)||en(n)||W(n))){n=String;for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);t=e}else t=null;return t}function G(n){return Vn(n)||W(n)}function J(n,t){return t=null==t?9007199254740991:t,!!t&&(typeof n=="number"||yn.test(n))&&n>-1&&0==n%1&&t>n}function M(n){var t=n&&n.constructor;return n===(typeof t=="function"&&t.prototype||En);
}function P(n){return n&&n.length?n[0]:pn}function U(n,t,r){var e=n?n.length:0;r=typeof r=="number"?0>r?qn(e+r,0):r:0,r=(r||0)-1;for(var u=t===t;++r<e;){var o=n[r];if(u?o===t:o!==o)return r}return-1}function V(n,r){return t(n,m(r),zn)}function H(n,t){return zn(n,m(t))}function K(n,t,e){return r(n,m(t),e,3>arguments.length,zn)}function L(n,t){var r;if(typeof t!="function")throw new TypeError("Expected a function");return n=Hn(n),function(){return 0<--n&&(r=t.apply(this,arguments)),1>=n&&(t=pn),r}}
function Q(n){var t;if(typeof n!="function")throw new TypeError("Expected a function");return t=qn(t===pn?n.length-1:Hn(t),0),function(){for(var r=arguments,e=-1,u=qn(r.length-t,0),o=Array(u);++e<u;)o[e]=r[t+e];for(u=Array(t+1),e=-1;++e<t;)u[e]=r[e];return u[t]=o,n.apply(this,u)}}function W(n){return tn(n)&&X(n)&&kn.call(n,"callee")&&(!Dn.call(n,"callee")||"[object Arguments]"==Sn.call(n))}function X(n){return null!=n&&Z(Gn(n))&&!Y(n)}function Y(n){return n=nn(n)?Sn.call(n):"","[object Function]"==n||"[object GeneratorFunction]"==n;
}function Z(n){return typeof n=="number"&&n>-1&&0==n%1&&9007199254740991>=n}function nn(n){var t=typeof n;return!!n&&("object"==t||"function"==t)}function tn(n){return!!n&&typeof n=="object"}function rn(n){return typeof n=="number"||tn(n)&&"[object Number]"==Sn.call(n)}function en(n){return typeof n=="string"||!Vn(n)&&tn(n)&&"[object String]"==Sn.call(n)}function un(n){return typeof n=="string"?n:null==n?"":n+""}function on(n){var t=M(n);if(!t&&!X(n))return $n(Object(n));var r,e=C(n),u=!!e,e=e||[],o=e.length;
for(r in n)!kn.call(n,r)||u&&("length"==r||J(r,o))||t&&"constructor"==r||e.push(r);return e}function cn(n){for(var t=-1,r=M(n),e=w(n),u=e.length,o=C(n),i=!!o,o=o||[],c=o.length;++t<u;){var f=e[t];i&&("length"==f||J(f,c))||"constructor"==f&&(r||!kn.call(n,f))||o.push(f)}return o}function fn(n){return n?e(n,on(n)):[]}function an(n){return n}function ln(t,r,e){var u=on(r),o=b(r,u);null!=e||nn(r)&&(o.length||!u.length)||(e=r,r=t,t=this,o=b(r,on(r)));var i=!(nn(e)&&"chain"in e&&!e.chain),c=Y(t);return zn(o,function(e){
var u=r[e];t[e]=u,c&&(t.prototype[e]=function(){var r=this.__chain__;if(i||r){var e=t(this.__wrapped__);return(e.__actions__=S(this.__actions__)).push({func:u,args:arguments,thisArg:t}),e.__chain__=r,e}return u.apply(t,n([this.value()],arguments))})}),t}var pn,sn=1/0,hn=/[&<>"'`]/g,vn=RegExp(hn.source),yn=/^(?:0|[1-9]\d*)$/,gn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},bn={"function":true,object:true},_n=bn[typeof exports]&&exports&&!exports.nodeType?exports:pn,dn=bn[typeof module]&&module&&!module.nodeType?module:pn,jn=dn&&dn.exports===_n?_n:pn,mn=u(bn[typeof self]&&self),wn=u(bn[typeof window]&&window),xn=u(bn[typeof this]&&this),On=u(_n&&dn&&typeof global=="object"&&global)||wn!==(xn&&xn.window)&&wn||mn||xn||Function("return this")(),An=Array.prototype,En=Object.prototype,kn=En.hasOwnProperty,Nn=0,Sn=En.toString,Tn=On._,Fn=On.Reflect,Rn=Fn?Fn.a:pn,Bn=Object.create,Dn=En.propertyIsEnumerable,In=On.isFinite,$n=Object.keys,qn=Math.max;
f.prototype=l(c.prototype),f.prototype.constructor=f;var zn=function(n,t){return function(r,e){if(null==r)return r;if(!X(r))return n(r,e);for(var u=r.length,o=t?u:-1,i=Object(r);(t?o--:++o<u)&&false!==e(i[o],o,i););return r}}(g),Cn=function(n){return function(t,r,e){var u=-1,o=Object(t);e=e(t);for(var i=e.length;i--;){var c=e[n?i:++u];if(false===r(o[c],c,o))break}return t}}();Rn&&!Dn.call({valueOf:1},"valueOf")&&(w=function(n){n=Rn(n);for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r});var Gn=k("length"),Jn=String,Mn=Q(function(n,t,r){
return I(n,t,r)}),Pn=Q(function(n,t){return p(n,1,t)}),Un=Q(function(n,t,r){return p(n,Kn(t)||0,r)}),Vn=Array.isArray,Hn=Number,Kn=Number,Ln=B(function(n,t){R(t,on(t),n)}),Qn=B(function(n,t){R(t,cn(t),n)}),Wn=B(function(n,t,r,e){R(t,cn(t),n,e)}),Xn=Q(function(n){return n.push(pn,a),Wn.apply(pn,n)}),Yn=Q(function(n,t){return null==n?{}:E(n,O(y(t,1),Jn))}),Zn=m;c.assignIn=Qn,c.before=L,c.bind=Mn,c.chain=function(n){return n=c(n),n.__chain__=true,n},c.compact=function(n){return v(n,Boolean)},c.concat=function(){
for(var t=arguments.length,r=Array(t?t-1:0),e=arguments[0],u=t;u--;)r[u-1]=arguments[u];return t?n(Vn(e)?S(e):[e],y(r,1)):[]},c.create=function(n,t){var r=l(n);return t?Ln(r,t):r},c.defaults=Xn,c.defer=Pn,c.delay=Un,c.filter=function(n,t){return v(n,m(t))},c.flatten=function(n){return n&&n.length?y(n,1):[]},c.flattenDeep=function(n){return n&&n.length?y(n,sn):[]},c.iteratee=Zn,c.keys=on,c.map=function(n,t){return O(n,m(t))},c.matches=function(n){return A(Ln({},n))},c.mixin=ln,c.negate=function(n){
if(typeof n!="function")throw new TypeError("Expected a function");return function(){return!n.apply(this,arguments)}},c.once=function(n){return L(2,n)},c.pick=Yn,c.slice=function(n,t,r){var e=n?n.length:0;return r=r===pn?e:+r,e?N(n,null==t?0:+t,r):[]},c.sortBy=function(n,t){var r=0;return t=m(t),O(O(n,function(n,e,u){return{value:n,index:r++,criteria:t(n,e,u)}}).sort(function(n,t){var r;n:{r=n.criteria;var e=t.criteria;if(r!==e){var u=r!==pn,o=null===r,i=r===r,c=e!==pn,f=null===e,a=e===e;if(!f&&r>e||o&&c&&a||!u&&a||!i){
r=1;break n}if(!o&&e>r||f&&u&&i||!c&&i||!a){r=-1;break n}}r=0}return r||n.index-t.index}),k("value"))},c.tap=function(n,t){return t(n),n},c.thru=function(n,t){return t(n)},c.toArray=function(n){return X(n)?n.length?S(n):[]:fn(n)},c.values=fn,c.extend=Qn,ln(c,c),c.clone=function(n){return nn(n)?Vn(n)?S(n):R(n,on(n)):n},c.escape=function(n){return(n=un(n))&&vn.test(n)?n.replace(hn,o):n},c.every=function(n,t,r){return t=r?pn:t,s(n,m(t))},c.find=V,c.forEach=H,c.has=function(n,t){return null!=n&&kn.call(n,t);
},c.head=P,c.identity=an,c.indexOf=U,c.isArguments=W,c.isArray=Vn,c.isBoolean=function(n){return true===n||false===n||tn(n)&&"[object Boolean]"==Sn.call(n)},c.isDate=function(n){return tn(n)&&"[object Date]"==Sn.call(n)},c.isEmpty=function(n){return X(n)&&(Vn(n)||en(n)||Y(n.splice)||W(n))?!n.length:!on(n).length},c.isEqual=function(n,t){return d(n,t)},c.isFinite=function(n){return typeof n=="number"&&In(n)},c.isFunction=Y,c.isNaN=function(n){return rn(n)&&n!=+n},c.isNull=function(n){return null===n},c.isNumber=rn,
c.isObject=nn,c.isRegExp=function(n){return nn(n)&&"[object RegExp]"==Sn.call(n)},c.isString=en,c.isUndefined=function(n){return n===pn},c.last=function(n){var t=n?n.length:0;return t?n[t-1]:pn},c.max=function(n){return n&&n.length?h(n,an,_):pn},c.min=function(n){return n&&n.length?h(n,an,x):pn},c.noConflict=function(){return On._===this&&(On._=Tn),this},c.noop=function(){},c.reduce=K,c.result=function(n,t,r){return t=null==n?pn:n[t],t===pn&&(t=r),Y(t)?t.call(n):t},c.size=function(n){return null==n?0:(n=X(n)?n:on(n),
n.length)},c.some=function(n,t,r){return t=r?pn:t,T(n,m(t))},c.uniqueId=function(n){var t=++Nn;return un(n)+t},c.each=H,c.first=P,ln(c,function(){var n={};return g(c,function(t,r){kn.call(c.prototype,r)||(n[r]=t)}),n}(),{chain:false}),c.VERSION="4.12.0",zn("pop join replace reverse split push shift sort splice unshift".split(" "),function(n){var t=(/^(?:replace|split)$/.test(n)?String.prototype:An)[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|join|replace|shift)$/.test(n);c.prototype[n]=function(){
var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(Vn(u)?u:[],n)}return this[r](function(r){return t.apply(Vn(r)?r:[],n)})}}),c.prototype.toJSON=c.prototype.valueOf=c.prototype.value=function(){return F(this.__wrapped__,this.__actions__)},(wn||mn||{})._=c,typeof define=="function"&&typeof define.amd=="object"&&define.amd? define(function(){return c}):_n&&dn?(jn&&((dn.exports=c)._=c),_n._=c):On._=c}).call(this);
;(function(){function n(n){n=null==n?n:Object(n);var t,r=[];for(t in n)r.push(t);return r}function t(n){return On(Object(n))}function r(n,t){return n.push.apply(n,t),n}function e(n,t,r,e,u){return u(n,function(n,u,o){r=e?(e=false,n):t(r,n,u,o)}),r}function u(n,t){return x(t,function(t){return n[t]})}function o(n){return n&&n.Object===Object?n:null}function i(n){return fn[n]}function c(n){return n instanceof f?n:new f(n)}function f(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t}function a(n,t,r,e){
var u;return(u=n===en)||(u=vn[r],u=(n===u||n!==n&&u!==u)&&!yn.call(e,r)),u?t:n}function l(n){return Q(n)?jn(n):{}}function p(n,t,r){if(typeof n!="function")throw new TypeError("Expected a function");return setTimeout(function(){n.apply(en,r)},t)}function s(n,t){var r=true;return En(n,function(n,e,u){return r=!!t(n,e,u)}),r}function h(n,t,r){for(var e=-1,u=n.length;++e<u;){var o=n[e],i=t(o);if(null!=i&&(c===en?i===i:r(i,c)))var c=i,f=o}return f}function v(n,t){var r=[];return En(n,function(n,e,u){t(n,e,u)&&r.push(n);
}),r}function y(n,t,e,u,o){var i=-1,c=n.length;for(e||(e=z),o||(o=[]);++i<c;){var f=n[i];t>0&&e(f)?t>1?y(f,t-1,e,u,o):r(o,f):u||(o[o.length]=f)}return o}function b(n,r){return n&&An(n,r,t)}function g(n,t){return v(t,function(t){return L(n[t])})}function _(n,t){return n>t}function j(n,t,r,e,u){return n===t?true:null==n||null==t||!Q(n)&&!W(t)?n!==n&&t!==t:d(n,t,j,r,e,u)}function d(n,t,r,e,u,o){var i=Tn(n),c=Tn(t),f="[object Array]",a="[object Array]";i||(f=gn.call(n),f="[object Arguments]"==f?"[object Object]":f),
c||(a=gn.call(t),a="[object Arguments]"==a?"[object Object]":a);var l="[object Object]"==f&&true,c="[object Object]"==a&&true,a=f==a;o||(o=[]);var p=J(o,function(t){return t[0]===n});return p&&p[1]?p[1]==t:(o.push([n,t]),a&&!l?(r=i?I(n,t,r,e,u,o):q(n,t,f),o.pop(),r):2&u||(i=l&&yn.call(n,"__wrapped__"),f=c&&yn.call(t,"__wrapped__"),!i&&!f)?a?(r=$(n,t,r,e,u,o),o.pop(),r):false:(i=i?n.value():n,t=f?t.value():t,r=r(i,t,e,u,o),o.pop(),r))}function m(n){return typeof n=="function"?n:null==n?tn:(typeof n=="object"?E:w)(n);
}function O(n,t){return t>n}function x(n,t){var r=-1,e=K(n)?Array(n.length):[];return En(n,function(n,u,o){e[++r]=t(n,u,o)}),e}function E(n){var r=t(n);return function(t){var e=r.length;if(null==t)return!e;for(t=Object(t);e--;){var u=r[e];if(!(u in t&&j(n[u],t[u],en,3)))return false}return true}}function A(n,t){return n=Object(n),P(t,function(t,r){return r in n&&(t[r]=n[r]),t},{})}function w(n){return function(t){return null==t?en:t[n]}}function k(n,t,r){var e=-1,u=n.length;for(0>t&&(t=-t>u?0:u+t),r=r>u?u:r,
0>r&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0,r=Array(u);++e<u;)r[e]=n[e+t];return r}function N(n){return k(n,0,n.length)}function S(n,t){var r;return En(n,function(n,e,u){return r=t(n,e,u),!r}),!!r}function F(n,t){return P(t,function(n,t){return t.func.apply(t.thisArg,r([n],t.args))},n)}function T(n,t,r,e){r||(r={});for(var u=-1,o=t.length;++u<o;){var i=t[u],c=e?e(r[i],n[i],i,r,n):n[i],f=r,a=f[i];yn.call(f,i)&&(a===c||a!==a&&c!==c)&&(c!==en||i in f)||(f[i]=c)}return r}function B(n){return V(function(t,r){var e=-1,u=r.length,o=u>1?r[u-1]:en,o=n.length>3&&typeof o=="function"?(u--,
o):en;for(t=Object(t);++e<u;){var i=r[e];i&&n(t,i,e,o)}return t})}function R(n){return function(){var t=arguments,r=l(n.prototype),t=n.apply(r,t);return Q(t)?t:r}}function D(n,t,r){function e(){for(var o=-1,i=arguments.length,c=-1,f=r.length,a=Array(f+i),l=this&&this!==sn&&this instanceof e?u:n;++c<f;)a[c]=r[c];for(;i--;)a[c++]=arguments[++o];return l.apply(t,a)}if(typeof n!="function")throw new TypeError("Expected a function");var u=R(n);return e}function I(n,t,r,e,u,o){var i=n.length,c=t.length;
if(i!=c&&!(2&u&&c>i))return false;for(var c=-1,f=true,a=1&u?[]:en;++c<i;){var l=n[c],p=t[c];if(void 0!==en){f=false;break}if(a){if(!S(t,function(n,t){return G(a,t)||l!==n&&!r(l,n,e,u,o)?void 0:a.push(t)})){f=false;break}}else if(l!==p&&!r(l,p,e,u,o)){f=false;break}}return f}function q(n,t,r){switch(r){case"[object Boolean]":case"[object Date]":return+n==+t;case"[object Error]":return n.name==t.name&&n.message==t.message;case"[object Number]":return n!=+n?t!=+t:n==+t;case"[object RegExp]":case"[object String]":return n==t+"";
}return false}function $(n,r,e,u,o,i){var c=2&o,f=t(n),a=f.length,l=t(r).length;if(a!=l&&!c)return false;for(var p=a;p--;){var s=f[p];if(!(c?s in r:yn.call(r,s)))return false}for(l=true;++p<a;){var s=f[p],h=n[s],v=r[s];if(void 0!==en||h!==v&&!e(h,v,u,o,i)){l=false;break}c||(c="constructor"==s)}return l&&!c&&(e=n.constructor,u=r.constructor,e!=u&&"constructor"in n&&"constructor"in r&&!(typeof e=="function"&&e instanceof e&&typeof u=="function"&&u instanceof u)&&(l=false)),l}function z(n){return Tn(n)||H(n)}function C(n){
return n&&n.length?n[0]:en}function G(n,t,r){var e=n?n.length:0;r=typeof r=="number"?0>r?xn(e+r,0):r:0,r=(r||0)-1;for(var u=t===t;++r<e;){var o=n[r];if(u?o===t:o!==o)return r}return-1}function J(n,t,r){n=K(n)?n:nn(n);var e,u=(e=n)?e.length:0;if(u)n:{for(r=null==r?0:Bn(r),0>r&&(r=xn(u+r,0)),t=m(t),u=e.length,r+=-1;++r<u;)if(t(e[r],r,e)){e=r;break n}e=-1}else e=-1;return e>-1?n[e]:en}function M(n,t){return En(n,m(t))}function P(n,t,r){return e(n,m(t),r,3>arguments.length,En)}function U(n,t){var r;if(typeof t!="function")throw new TypeError("Expected a function");
return n=Bn(n),function(){return 0<--n&&(r=t.apply(this,arguments)),1>=n&&(t=en),r}}function V(n){var t;if(typeof n!="function")throw new TypeError("Expected a function");return t=xn(t===en?n.length-1:Bn(t),0),function(){for(var r=arguments,e=-1,u=xn(r.length-t,0),o=Array(u);++e<u;)o[e]=r[t+e];for(u=Array(t+1),e=-1;++e<t;)u[e]=r[e];return u[t]=o,n.apply(this,u)}}function H(n){return W(n)&&K(n)&&yn.call(n,"callee")&&(!dn.call(n,"callee")||"[object Arguments]"==gn.call(n))}function K(n){var t;return(t=null!=n)&&(t=wn(n),
t=typeof t=="number"&&t>-1&&0==t%1&&9007199254740991>=t),t&&!L(n)}function L(n){return n=Q(n)?gn.call(n):"","[object Function]"==n||"[object GeneratorFunction]"==n}function Q(n){var t=typeof n;return!!n&&("object"==t||"function"==t)}function W(n){return!!n&&typeof n=="object"}function X(n){return typeof n=="number"||W(n)&&"[object Number]"==gn.call(n)}function Y(n){return typeof n=="string"||!Tn(n)&&W(n)&&"[object String]"==gn.call(n)}function Z(n){return typeof n=="string"?n:null==n?"":n+""}function nn(n){
return n?u(n,t(n)):[]}function tn(n){return n}function rn(n,e,u){var o=t(e),i=g(e,o);null!=u||Q(e)&&(i.length||!o.length)||(u=e,e=n,n=this,i=g(e,t(e)));var c=!(Q(u)&&"chain"in u&&!u.chain),f=L(n);return En(i,function(t){var u=e[t];n[t]=u,f&&(n.prototype[t]=function(){var t=this.__chain__;if(c||t){var e=n(this.__wrapped__);return(e.__actions__=N(this.__actions__)).push({func:u,args:arguments,thisArg:n}),e.__chain__=t,e}return u.apply(n,r([this.value()],arguments))})}),n}var en,un=1/0,on=/[&<>"'`]/g,cn=RegExp(on.source),fn={
"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},an=typeof exports=="object"&&exports,ln=an&&typeof module=="object"&&module,pn=o(typeof self=="object"&&self),sn=o(typeof global=="object"&&global)||pn||o(typeof this=="object"&&this)||Function("return this")(),hn=Array.prototype,vn=Object.prototype,yn=vn.hasOwnProperty,bn=0,gn=vn.toString,_n=sn._,jn=Object.create,dn=vn.propertyIsEnumerable,mn=sn.isFinite,On=Object.keys,xn=Math.max;f.prototype=l(c.prototype),f.prototype.constructor=f;
var En=function(n,t){return function(r,e){if(null==r)return r;if(!K(r))return n(r,e);for(var u=r.length,o=t?u:-1,i=Object(r);(t?o--:++o<u)&&false!==e(i[o],o,i););return r}}(b),An=function(n){return function(t,r,e){var u=-1,o=Object(t);e=e(t);for(var i=e.length;i--;){var c=e[n?i:++u];if(false===r(o[c],c,o))break}return t}}(),wn=w("length"),kn=String,Nn=V(function(n,t,r){return D(n,t,r)}),Sn=V(function(n,t){return p(n,1,t)}),Fn=V(function(n,t,r){return p(n,Rn(t)||0,r)}),Tn=Array.isArray,Bn=Number,Rn=Number,Dn=B(function(n,r){
T(r,t(r),n)}),In=B(function(t,r){T(r,n(r),t)}),qn=B(function(t,r,e,u){T(r,n(r),t,u)}),$n=V(function(n){return n.push(en,a),qn.apply(en,n)}),zn=V(function(n,t){return null==n?{}:A(n,x(y(t,1),kn))});c.assignIn=In,c.before=U,c.bind=Nn,c.chain=function(n){return n=c(n),n.__chain__=true,n},c.compact=function(n){return v(n,Boolean)},c.concat=function(){for(var n=arguments.length,t=Array(n?n-1:0),e=arguments[0],u=n;u--;)t[u-1]=arguments[u];return n?r(Tn(e)?N(e):[e],y(t,1)):[]},c.create=function(n,t){var r=l(n);
return t?Dn(r,t):r},c.defaults=$n,c.defer=Sn,c.delay=Fn,c.filter=function(n,t){return v(n,m(t))},c.flatten=function(n){return n&&n.length?y(n,1):[]},c.flattenDeep=function(n){return n&&n.length?y(n,un):[]},c.iteratee=m,c.keys=t,c.map=function(n,t){return x(n,m(t))},c.matches=function(n){return E(Dn({},n))},c.mixin=rn,c.negate=function(n){if(typeof n!="function")throw new TypeError("Expected a function");return function(){return!n.apply(this,arguments)}},c.once=function(n){return U(2,n)},c.pick=zn,
c.slice=function(n,t,r){var e=n?n.length:0;return r=r===en?e:+r,e?k(n,null==t?0:+t,r):[]},c.sortBy=function(n,t){var r=0;return t=m(t),x(x(n,function(n,e,u){return{value:n,index:r++,criteria:t(n,e,u)}}).sort(function(n,t){var r;n:{r=n.criteria;var e=t.criteria;if(r!==e){var u=r!==en,o=null===r,i=r===r,c=e!==en,f=null===e,a=e===e;if(!f&&r>e||o&&c&&a||!u&&a||!i){r=1;break n}if(!o&&e>r||f&&u&&i||!c&&i||!a){r=-1;break n}}r=0}return r||n.index-t.index}),w("value"))},c.tap=function(n,t){return t(n),n},
c.thru=function(n,t){return t(n)},c.toArray=function(n){return K(n)?n.length?N(n):[]:nn(n)},c.values=nn,c.extend=In,rn(c,c),c.clone=function(n){return Q(n)?Tn(n)?N(n):T(n,t(n)):n},c.escape=function(n){return(n=Z(n))&&cn.test(n)?n.replace(on,i):n},c.every=function(n,t,r){return t=r?en:t,s(n,m(t))},c.find=J,c.forEach=M,c.has=function(n,t){return null!=n&&yn.call(n,t)},c.head=C,c.identity=tn,c.indexOf=G,c.isArguments=H,c.isArray=Tn,c.isBoolean=function(n){return true===n||false===n||W(n)&&"[object Boolean]"==gn.call(n);
},c.isDate=function(n){return W(n)&&"[object Date]"==gn.call(n)},c.isEmpty=function(n){return K(n)&&(Tn(n)||Y(n)||L(n.splice)||H(n))?!n.length:!t(n).length},c.isEqual=function(n,t){return j(n,t)},c.isFinite=function(n){return typeof n=="number"&&mn(n)},c.isFunction=L,c.isNaN=function(n){return X(n)&&n!=+n},c.isNull=function(n){return null===n},c.isNumber=X,c.isObject=Q,c.isRegExp=function(n){return Q(n)&&"[object RegExp]"==gn.call(n)},c.isString=Y,c.isUndefined=function(n){return n===en},c.last=function(n){
var t=n?n.length:0;return t?n[t-1]:en},c.max=function(n){return n&&n.length?h(n,tn,_):en},c.min=function(n){return n&&n.length?h(n,tn,O):en},c.noConflict=function(){return sn._===this&&(sn._=_n),this},c.noop=function(){},c.reduce=P,c.result=function(n,t,r){return t=null==n?en:n[t],t===en&&(t=r),L(t)?t.call(n):t},c.size=function(n){return null==n?0:(n=K(n)?n:t(n),n.length)},c.some=function(n,t,r){return t=r?en:t,S(n,m(t))},c.uniqueId=function(n){var t=++bn;return Z(n)+t},c.each=M,c.first=C,rn(c,function(){
var n={};return b(c,function(t,r){yn.call(c.prototype,r)||(n[r]=t)}),n}(),{chain:false}),c.VERSION="4.13.0",En("pop join replace reverse split push shift sort splice unshift".split(" "),function(n){var t=(/^(?:replace|split)$/.test(n)?String.prototype:hn)[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|join|replace|shift)$/.test(n);c.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(Tn(u)?u:[],n)}return this[r](function(r){return t.apply(Tn(r)?r:[],n);
})}}),c.prototype.toJSON=c.prototype.valueOf=c.prototype.value=function(){return F(this.__wrapped__,this.__actions__)},(pn||{})._=c,typeof define=="function"&&typeof define.amd=="object"&&define.amd? define(function(){return c}):ln?((ln.exports=c)._=c,an._=c):sn._=c}).call(this);

@@ -28,2 +28,3 @@ var createAggregator = require('./_createAggregator');

*
* // The `_.property` iteratee shorthand.
* _.countBy(['one', 'two', 'three'], 'length');

@@ -30,0 +31,0 @@ * // => { '3': 2, '5': 1 }

@@ -68,3 +68,3 @@ var isObject = require('./isObject'),

timerId,
lastCallTime = 0,
lastCallTime,
lastInvokeTime = 0,

@@ -120,3 +120,3 @@ leading = false,

// it as the trailing edge, or we've hit the `maxWait` limit.
return (!lastCallTime || (timeSinceLastCall >= wait) ||
return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
(timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));

@@ -135,3 +135,2 @@ }

function trailingEdge(time) {
clearTimeout(timerId);
timerId = undefined;

@@ -149,7 +148,4 @@

function cancel() {
if (timerId !== undefined) {
clearTimeout(timerId);
}
lastCallTime = lastInvokeTime = 0;
lastArgs = lastThis = timerId = undefined;
lastInvokeTime = 0;
lastArgs = lastCallTime = lastThis = timerId = undefined;
}

@@ -175,3 +171,2 @@

// Handle invocations in a tight loop.
clearTimeout(timerId);
timerId = setTimeout(timerExpired, wait);

@@ -178,0 +173,0 @@ return invokeFunc(lastCallTime);

@@ -22,4 +22,4 @@ var baseDifference = require('./_baseDifference'),

*
* _.difference([3, 2, 1], [4, 2]);
* // => [3, 1]
* _.difference([2, 1], [2, 3]);
* // => [1]
*/

@@ -26,0 +26,0 @@ var difference = rest(function(array, values) {

@@ -25,4 +25,4 @@ var baseDifference = require('./_baseDifference'),

*
* _.differenceBy([3.1, 2.2, 1.3], [4.4, 2.5], Math.floor);
* // => [3.1, 1.3]
* _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);
* // => [1.2]
*

@@ -29,0 +29,0 @@ * // The `_.property` iteratee shorthand.

@@ -15,3 +15,3 @@ var baseClamp = require('./_baseClamp'),

* @param {string} [target] The string to search for.
* @param {number} [position=string.length] The position to search from.
* @param {number} [position=string.length] The position to search up to.
* @returns {boolean} Returns `true` if `string` ends with `target`,

@@ -18,0 +18,0 @@ * else `false`.

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

var baseEach = require('./_baseEach'),
baseFind = require('./_baseFind'),
baseFindIndex = require('./_baseFindIndex'),
baseIteratee = require('./_baseIteratee'),
isArray = require('./isArray');
var findIndex = require('./findIndex'),
isArrayLike = require('./isArrayLike'),
values = require('./values');

@@ -19,2 +17,3 @@ /**

* The function invoked per iteration.
* @param {number} [fromIndex=0] The index to search from.
* @returns {*} Returns the matched element, else `undefined`.

@@ -44,11 +43,8 @@ * @example

*/
function find(collection, predicate) {
predicate = baseIteratee(predicate, 3);
if (isArray(collection)) {
var index = baseFindIndex(collection, predicate);
return index > -1 ? collection[index] : undefined;
}
return baseFind(collection, predicate, baseEach);
function find(collection, predicate, fromIndex) {
collection = isArrayLike(collection) ? collection : values(collection);
var index = findIndex(collection, predicate, fromIndex);
return index > -1 ? collection[index] : undefined;
}
module.exports = find;
var baseFindIndex = require('./_baseFindIndex'),
baseIteratee = require('./_baseIteratee');
baseIteratee = require('./_baseIteratee'),
toInteger = require('./toInteger');
/* Built-in method references for those with the same name as other `lodash` methods. */
var nativeMax = Math.max;
/**

@@ -15,2 +19,3 @@ * This method is like `_.find` except that it returns the index of the first

* The function invoked per iteration.
* @param {number} [fromIndex=0] The index to search from.
* @returns {number} Returns the index of the found element, else `-1`.

@@ -40,8 +45,14 @@ * @example

*/
function findIndex(array, predicate) {
return (array && array.length)
? baseFindIndex(array, baseIteratee(predicate, 3))
: -1;
function findIndex(array, predicate, fromIndex) {
var length = array ? array.length : 0;
if (!length) {
return -1;
}
var index = fromIndex == null ? 0 : toInteger(fromIndex);
if (index < 0) {
index = nativeMax(length + index, 0);
}
return baseFindIndex(array, baseIteratee(predicate, 3), index);
}
module.exports = findIndex;

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

var baseFind = require('./_baseFind'),
var baseFindKey = require('./_baseFindKey'),
baseForOwn = require('./_baseForOwn'),

@@ -42,5 +42,5 @@ baseIteratee = require('./_baseIteratee');

function findKey(object, predicate) {
return baseFind(object, baseIteratee(predicate, 3), baseForOwn, true);
return baseFindKey(object, baseIteratee(predicate, 3), baseForOwn);
}
module.exports = findKey;

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

var baseEachRight = require('./_baseEachRight'),
baseFind = require('./_baseFind'),
baseFindIndex = require('./_baseFindIndex'),
baseIteratee = require('./_baseIteratee'),
isArray = require('./isArray');
var findLastIndex = require('./findLastIndex'),
isArrayLike = require('./isArrayLike'),
values = require('./values');

@@ -18,2 +16,3 @@ /**

* The function invoked per iteration.
* @param {number} [fromIndex=collection.length-1] The index to search from.
* @returns {*} Returns the matched element, else `undefined`.

@@ -27,11 +26,8 @@ * @example

*/
function findLast(collection, predicate) {
predicate = baseIteratee(predicate, 3);
if (isArray(collection)) {
var index = baseFindIndex(collection, predicate, true);
return index > -1 ? collection[index] : undefined;
}
return baseFind(collection, predicate, baseEachRight);
function findLast(collection, predicate, fromIndex) {
collection = isArrayLike(collection) ? collection : values(collection);
var index = findLastIndex(collection, predicate, fromIndex);
return index > -1 ? collection[index] : undefined;
}
module.exports = findLast;
var baseFindIndex = require('./_baseFindIndex'),
baseIteratee = require('./_baseIteratee');
baseIteratee = require('./_baseIteratee'),
toInteger = require('./toInteger');
/* Built-in method references for those with the same name as other `lodash` methods. */
var nativeMax = Math.max,
nativeMin = Math.min;
/**

@@ -15,2 +20,3 @@ * This method is like `_.findIndex` except that it iterates over elements

* The function invoked per iteration.
* @param {number} [fromIndex=array.length-1] The index to search from.
* @returns {number} Returns the index of the found element, else `-1`.

@@ -40,8 +46,17 @@ * @example

*/
function findLastIndex(array, predicate) {
return (array && array.length)
? baseFindIndex(array, baseIteratee(predicate, 3), true)
: -1;
function findLastIndex(array, predicate, fromIndex) {
var length = array ? array.length : 0;
if (!length) {
return -1;
}
var index = length - 1;
if (fromIndex !== undefined) {
index = toInteger(fromIndex);
index = fromIndex < 0
? nativeMax(length + index, 0)
: nativeMin(index, length - 1);
}
return baseFindIndex(array, baseIteratee(predicate, 3), index, true);
}
module.exports = findLastIndex;

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

var baseFind = require('./_baseFind'),
var baseFindKey = require('./_baseFindKey'),
baseForOwnRight = require('./_baseForOwnRight'),

@@ -42,5 +42,5 @@ baseIteratee = require('./_baseIteratee');

function findLastKey(object, predicate) {
return baseFind(object, baseIteratee(predicate, 3), baseForOwnRight, true);
return baseFindKey(object, baseIteratee(predicate, 3), baseForOwnRight);
}
module.exports = findLastKey;

@@ -21,3 +21,3 @@ var createFlow = require('./_createFlow');

*
* var addSquare = _.flow(_.add, square);
* var addSquare = _.flow([_.add, square]);
* addSquare(1, 2);

@@ -24,0 +24,0 @@ * // => 9

@@ -20,3 +20,3 @@ var createFlow = require('./_createFlow');

*
* var addSquare = _.flowRight(square, _.add);
* var addSquare = _.flowRight([square, _.add]);
* addSquare(1, 2);

@@ -23,0 +23,0 @@ * // => 9

@@ -87,8 +87,9 @@ /** Used to map aliases to their real names. */

'assignInWith', 'assignWith', 'clamp', 'differenceBy', 'differenceWith',
'getOr', 'inRange', 'intersectionBy', 'intersectionWith', 'invokeArgs',
'invokeArgsMap', 'isEqualWith', 'isMatchWith', 'flatMapDepth', 'mergeWith',
'orderBy', 'padChars', 'padCharsEnd', 'padCharsStart', 'pullAllBy',
'pullAllWith', 'reduce', 'reduceRight', 'replace', 'set', 'slice',
'sortedIndexBy', 'sortedLastIndexBy', 'transform', 'unionBy', 'unionWith',
'update', 'xorBy', 'xorWith', 'zipWith'
'findFrom', 'findIndexFrom', 'findLastFrom', 'findLastIndexFrom', 'getOr',
'includesFrom', 'indexOfFrom', 'inRange', 'intersectionBy', 'intersectionWith',
'invokeArgs', 'invokeArgsMap', 'isEqualWith', 'isMatchWith', 'flatMapDepth',
'lastIndexOfFrom', 'mergeWith', 'orderBy', 'padChars', 'padCharsEnd',
'padCharsStart', 'pullAllBy', 'pullAllWith', 'reduce', 'reduceRight', 'replace',
'set', 'slice', 'sortedIndexBy', 'sortedLastIndexBy', 'transform', 'unionBy',
'unionWith', 'update', 'xorBy', 'xorWith', 'zipWith'
],

@@ -114,6 +115,10 @@ '4': [

'find': 1,
'findFrom': 1,
'findIndex': 1,
'findIndexFrom': 1,
'findKey': 1,
'findLast': 1,
'findLastFrom': 1,
'findLastIndex': 1,
'findLastIndexFrom': 1,
'findLastKey': 1,

@@ -153,3 +158,7 @@ 'flatMap': 1,

'assignWith': [1, 2, 0],
'differenceBy': [1, 2, 0],
'differenceWith': [1, 2, 0],
'getOr': [2, 1, 0],
'intersectionBy': [1, 2, 0],
'intersectionWith': [1, 2, 0],
'isEqualWith': [1, 2, 0],

@@ -166,3 +175,7 @@ 'isMatchWith': [2, 1, 0],

'sortedLastIndexBy': [2, 1, 0],
'unionBy': [1, 2, 0],
'unionWith': [1, 2, 0],
'updateWith': [3, 1, 2, 0],
'xorBy': [1, 2, 0],
'xorWith': [1, 2, 0],
'zipWith': [1, 2, 0]

@@ -242,5 +255,12 @@ };

'curryRightN': 'curryRight',
'findFrom': 'find',
'findIndexFrom': 'findIndex',
'findLastFrom': 'findLast',
'findLastIndexFrom': 'findLastIndex',
'getOr': 'get',
'includesFrom': 'includes',
'indexOfFrom': 'indexOf',
'invokeArgs': 'invoke',
'invokeArgsMap': 'invokeMap',
'lastIndexOfFrom': 'lastIndexOf',
'padChars': 'pad',

@@ -292,5 +312,4 @@ 'padCharsEnd': 'padEnd',

'subtract': true,
'without': true,
'zip': true,
'zipObject': true
};

@@ -14,3 +14,3 @@ /**

*
* _.identity(object) === object;
* console.log(_.identity(object) === object);
* // => true

@@ -17,0 +17,0 @@ */

@@ -35,9 +35,9 @@ var baseIndexOf = require('./_baseIndexOf'),

}
fromIndex = toInteger(fromIndex);
if (fromIndex < 0) {
fromIndex = nativeMax(length + fromIndex, 0);
var index = fromIndex == null ? 0 : toInteger(fromIndex);
if (index < 0) {
index = nativeMax(length + index, 0);
}
return baseIndexOf(array, value, fromIndex);
return baseIndexOf(array, value, index);
}
module.exports = indexOf;

@@ -20,3 +20,3 @@ var arrayMap = require('./_arrayMap'),

*
* _.intersection([2, 1], [4, 2], [1, 2]);
* _.intersection([2, 1], [2, 3]);
* // => [2]

@@ -23,0 +23,0 @@ */

@@ -24,3 +24,3 @@ var arrayMap = require('./_arrayMap'),

*
* _.intersectionBy([2.1, 1.2], [4.3, 2.4], Math.floor);
* _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);
* // => [2.1]

@@ -27,0 +27,0 @@ *

@@ -1,24 +0,12 @@

var constant = require('./constant'),
root = require('./_root');
var root = require('./_root'),
stubFalse = require('./stubFalse');
/** Used to determine if values are of the language type `Object`. */
var objectTypes = {
'function': true,
'object': true
};
/** Detect free variable `exports`. */
var freeExports = (objectTypes[typeof exports] && exports && !exports.nodeType)
? exports
: undefined;
var freeExports = typeof exports == 'object' && exports;
/** Detect free variable `module`. */
var freeModule = (objectTypes[typeof module] && module && !module.nodeType)
? module
: undefined;
var freeModule = freeExports && typeof module == 'object' && module;
/** Detect the popular CommonJS extension `module.exports`. */
var moduleExports = (freeModule && freeModule.exports === freeExports)
? freeExports
: undefined;
var moduleExports = freeModule && freeModule.exports === freeExports;

@@ -45,3 +33,3 @@ /** Built-in value references. */

*/
var isBuffer = !Buffer ? constant(false) : function(value) {
var isBuffer = !Buffer ? stubFalse : function(value) {
return value instanceof Buffer;

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

@@ -1,33 +0,15 @@

var isFunction = require('./isFunction'),
isHostObject = require('./_isHostObject'),
isObject = require('./isObject'),
toSource = require('./_toSource');
var baseIsNative = require('./_baseIsNative'),
isMaskable = require('./_isMaskable');
/**
* Used to match `RegExp`
* [syntax characters](http://ecma-international.org/ecma-262/6.0/#sec-patterns).
*/
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
/** Used to detect host constructors (Safari). */
var reIsHostCtor = /^\[object .+?Constructor\]$/;
/** Used for built-in method references. */
var objectProto = Object.prototype;
/** Used to resolve the decompiled source of functions. */
var funcToString = Function.prototype.toString;
/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;
/** Used to detect if a method is native. */
var reIsNative = RegExp('^' +
funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
);
/**
* Checks if `value` is a native function.
* Checks if `value` is a pristine native function.
*
* **Note:** This method can't reliably detect native functions in the
* presence of the `core-js` package because `core-js` circumvents this kind
* of detection. Despite multiple requests, the `core-js` maintainer has made
* it clear: any attempt to fix the detection will be obstructed. As a result,
* we're left with little choice but to throw an error. Unfortunately, this
* also affects packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),
* which rely on `core-js`.
*
* @static

@@ -49,9 +31,8 @@ * @memberOf _

function isNative(value) {
if (!isObject(value)) {
return false;
if (isMaskable(value)) {
throw new Error('This method is not supported with `core-js`. Try https://github.com/es-shims.');
}
var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
return pattern.test(toSource(value));
return baseIsNative(value);
}
module.exports = isNative;

@@ -44,3 +44,3 @@ var indexOfNaN = require('./_indexOfNaN'),

if (value !== value) {
return indexOfNaN(array, index, true);
return indexOfNaN(array, index - 1, true);
}

@@ -47,0 +47,0 @@ while (index--) {

/**
* A no-operation function that returns `undefined` regardless of the
* arguments it receives.
* A method that returns `undefined`.
*

@@ -11,6 +10,4 @@ * @static

*
* var object = { 'user': 'fred' };
*
* _.noop(object) === undefined;
* // => true
* _.times(2, _.noop);
* // => [undefined, undefined]
*/

@@ -17,0 +14,0 @@ function noop() {

@@ -8,3 +8,2 @@ /**

* @since 2.4.0
* @type {Function}
* @category Date

@@ -17,6 +16,8 @@ * @returns {number} Returns the timestamp.

* }, _.now());
* // => Logs the number of milliseconds it took for the deferred function to be invoked.
* // => Logs the number of milliseconds it took for the deferred invocation.
*/
var now = Date.now;
function now() {
return Date.now();
}
module.exports = now;

@@ -5,3 +5,3 @@ var baseNth = require('./_baseNth'),

/**
* Gets the element at `n` index of `array`. If `n` is negative, the nth
* Gets the element at index `n` of `array`. If `n` is negative, the nth
* element from the end is returned.

@@ -8,0 +8,0 @@ *

@@ -6,3 +6,3 @@ var baseNth = require('./_baseNth'),

/**
* Creates a function that gets the argument at `n` index. If `n` is negative,
* Creates a function that gets the argument at index `n`. If `n` is negative,
* the nth argument from the end is returned.

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

@@ -17,3 +17,3 @@ var arrayMap = require('./_arrayMap'),

*
* var func = _.over(Math.max, Math.min);
* var func = _.over([Math.max, Math.min]);
*

@@ -20,0 +20,0 @@ * func(1, 2, 3, 4);

@@ -37,3 +37,3 @@ var apply = require('./_apply'),

* return [x, y];
* }, square, doubled);
* }, [square, doubled]);
*

@@ -40,0 +40,0 @@ * func(9, 3);

@@ -17,3 +17,3 @@ var arrayEvery = require('./_arrayEvery'),

*
* var func = _.overEvery(Boolean, isFinite);
* var func = _.overEvery([Boolean, isFinite]);
*

@@ -20,0 +20,0 @@ * func('1');

@@ -17,3 +17,3 @@ var arraySome = require('./_arraySome'),

*
* var func = _.overSome(Boolean, isFinite);
* var func = _.overSome([Boolean, isFinite]);
*

@@ -20,0 +20,0 @@ * func('1');

{
"name": "lodash",
"version": "4.12.0",
"version": "4.13.0",
"description": "Lodash modular utilities.",

@@ -5,0 +5,0 @@ "keywords": "modules, stdlib, util",

@@ -21,7 +21,7 @@ var pullAll = require('./pullAll'),

*
* var array = [1, 2, 3, 1, 2, 3];
* var array = ['a', 'b', 'c', 'a', 'b', 'c'];
*
* _.pull(array, 2, 3);
* _.pull(array, 'a', 'c');
* console.log(array);
* // => [1, 1]
* // => ['b', 'b']
*/

@@ -28,0 +28,0 @@ var pull = rest(pullAll);

@@ -17,7 +17,7 @@ var basePullAll = require('./_basePullAll');

*
* var array = [1, 2, 3, 1, 2, 3];
* var array = ['a', 'b', 'c', 'a', 'b', 'c'];
*
* _.pullAll(array, [2, 3]);
* _.pullAll(array, ['a', 'c']);
* console.log(array);
* // => [1, 1]
* // => ['b', 'b']
*/

@@ -24,0 +24,0 @@ function pullAll(array, values) {

@@ -24,10 +24,10 @@ var arrayMap = require('./_arrayMap'),

*
* var array = [5, 10, 15, 20];
* var evens = _.pullAt(array, 1, 3);
* var array = ['a', 'b', 'c', 'd'];
* var pulled = _.pullAt(array, [1, 3]);
*
* console.log(array);
* // => [5, 15]
* // => ['a', 'c']
*
* console.log(evens);
* // => [10, 20]
* console.log(pulled);
* // => ['b', 'd']
*/

@@ -34,0 +34,0 @@ var pullAt = rest(function(array, indexes) {

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

# lodash v4.12.0
# lodash v4.13.0

@@ -31,3 +31,3 @@ The [Lodash](https://lodash.com/) library exported as [Node.js](https://nodejs.org/) modules.

See the [package source](https://github.com/lodash/lodash/tree/4.12.0-npm) for more details.
See the [package source](https://github.com/lodash/lodash/tree/4.13.0-npm) for more details.

@@ -34,0 +34,0 @@ **Note:**<br>

@@ -25,3 +25,3 @@ var baseFlatten = require('./_baseFlatten'),

* return [a, b, c];
* }, 2, 0, 1);
* }, [2, 0, 1]);
*

@@ -28,0 +28,0 @@ * rearged('b', 'c', 'a')

@@ -19,5 +19,2 @@ var baseSortedIndex = require('./_baseSortedIndex');

* // => 1
*
* _.sortedIndex([4, 5], 4);
* // => 0
*/

@@ -24,0 +21,0 @@ function sortedIndex(array, value) {

@@ -21,9 +21,9 @@ var baseIteratee = require('./_baseIteratee'),

*
* var dict = { 'thirty': 30, 'forty': 40, 'fifty': 50 };
* var objects = [{ 'x': 4 }, { 'x': 5 }];
*
* _.sortedIndexBy(['thirty', 'fifty'], 'forty', _.propertyOf(dict));
* // => 1
* _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });
* // => 0
*
* // The `_.property` iteratee shorthand.
* _.sortedIndexBy([{ 'x': 4 }, { 'x': 5 }], { 'x': 4 }, 'x');
* _.sortedIndexBy(objects, { 'x': 4 }, 'x');
* // => 0

@@ -30,0 +30,0 @@ */

@@ -17,4 +17,4 @@ var baseSortedIndex = require('./_baseSortedIndex'),

*
* _.sortedIndexOf([1, 1, 2, 2], 2);
* // => 2
* _.sortedIndexOf([4, 5, 5, 5, 6], 5);
* // => 1
*/

@@ -21,0 +21,0 @@ function sortedIndexOf(array, value) {

@@ -18,4 +18,4 @@ var baseSortedIndex = require('./_baseSortedIndex');

*
* _.sortedLastIndex([4, 5], 4);
* // => 1
* _.sortedLastIndex([4, 5, 5, 5, 6], 5);
* // => 4
*/

@@ -22,0 +22,0 @@ function sortedLastIndex(array, value) {

@@ -21,4 +21,9 @@ var baseIteratee = require('./_baseIteratee'),

*
* var objects = [{ 'x': 4 }, { 'x': 5 }];
*
* _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });
* // => 1
*
* // The `_.property` iteratee shorthand.
* _.sortedLastIndexBy([{ 'x': 4 }, { 'x': 5 }], { 'x': 4 }, 'x');
* _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');
* // => 1

@@ -25,0 +30,0 @@ */

@@ -17,3 +17,3 @@ var baseSortedIndex = require('./_baseSortedIndex'),

*
* _.sortedLastIndexOf([1, 1, 2, 2], 2);
* _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);
* // => 3

@@ -20,0 +20,0 @@ */

@@ -30,4 +30,4 @@ var baseIteratee = require('./_baseIteratee'),

*
* _.times(4, _.constant(true));
* // => [true, true, true, true]
* _.times(4, _.constant(0));
* // => [0, 0, 0, 0]
*/

@@ -34,0 +34,0 @@ function times(n, iteratee) {

@@ -6,3 +6,3 @@ var toFinite = require('./toFinite');

*
* **Note:** This function is loosely based on
* **Note:** This method is loosely based on
* [`ToInteger`](http://www.ecma-international.org/ecma-262/6.0/#sec-tointeger).

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

@@ -24,11 +24,2 @@ var arrayMap = require('./_arrayMap'),

* // => ['a', '0', 'b', 'c']
*
* var path = ['a', 'b', 'c'],
* newPath = _.toPath(path);
*
* console.log(newPath);
* // => ['a', 'b', 'c']
*
* console.log(path === newPath);
* // => false
*/

@@ -35,0 +26,0 @@ function toPath(value) {

@@ -15,5 +15,6 @@ var arrayEach = require('./_arrayEach'),

* enumerable string keyed properties thru `iteratee`, with each invocation
* potentially mutating the `accumulator` object. The iteratee is invoked
* with four arguments: (accumulator, value, key, object). Iteratee functions
* may exit iteration early by explicitly returning `false`.
* potentially mutating the `accumulator` object. If `accumulator` is not
* provided, a new object with the same `[[Prototype]]` will be used. The
* iteratee is invoked with four arguments: (accumulator, value, key, object).
* Iteratee functions may exit iteration early by explicitly returning `false`.
*

@@ -24,3 +25,3 @@ * @static

* @category Object
* @param {Array|Object} object The object to iterate over.
* @param {Object} object The object to iterate over.
* @param {Function} [iteratee=_.identity] The function invoked per iteration.

@@ -27,0 +28,0 @@ * @param {*} [accumulator] The custom accumulator value.

@@ -19,4 +19,4 @@ var baseFlatten = require('./_baseFlatten'),

*
* _.union([2, 1], [4, 2], [1, 2]);
* // => [2, 1, 4]
* _.union([2], [1, 2]);
* // => [2, 1]
*/

@@ -23,0 +23,0 @@ var union = rest(function(arrays) {

@@ -24,4 +24,4 @@ var baseFlatten = require('./_baseFlatten'),

*
* _.unionBy([2.1, 1.2], [4.3, 2.4], Math.floor);
* // => [2.1, 1.2, 4.3]
* _.unionBy([2.1], [1.2, 2.3], Math.floor);
* // => [2.1, 1.2]
*

@@ -28,0 +28,0 @@ * // The `_.property` iteratee shorthand.

@@ -17,3 +17,3 @@ var baseUniq = require('./_baseUniq');

*
* var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];
* var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];
*

@@ -20,0 +20,0 @@ * _.uniqWith(objects, _.isEqual);

@@ -25,2 +25,7 @@ module.exports = {

'rangeRight': require('./rangeRight'),
'stubArray': require('./stubArray'),
'stubFalse': require('./stubFalse'),
'stubObject': require('./stubObject'),
'stubString': require('./stubString'),
'stubTrue': require('./stubTrue'),
'times': require('./times'),

@@ -27,0 +32,0 @@ 'toPath': require('./toPath'),

@@ -20,3 +20,3 @@ var baseDifference = require('./_baseDifference'),

*
* _.without([1, 2, 1, 3], 1, 2);
* _.without([2, 1, 2, 3], 1, 2);
* // => [3]

@@ -23,0 +23,0 @@ */

@@ -24,5 +24,2 @@ var LazyWrapper = require('./_LazyWrapper'),

* // => [3, 4]
*
* _(['a', 'b', 'c']).at(0, 2).value();
* // => ['a', 'c']
*/

@@ -29,0 +26,0 @@ var wrapperAt = rest(function(paths) {

@@ -89,15 +89,17 @@ var LazyWrapper = require('./_LazyWrapper'),

* `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`, `isMap`,
* `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`, `isNumber`,
* `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`, `isSafeInteger`,
* `isSet`, `isString`, `isUndefined`, `isTypedArray`, `isWeakMap`, `isWeakSet`,
* `join`, `kebabCase`, `last`, `lastIndexOf`, `lowerCase`, `lowerFirst`,
* `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`, `min`, `minBy`, `multiply`,
* `noConflict`, `noop`, `now`, `nth`, `pad`, `padEnd`, `padStart`, `parseInt`,
* `pop`, `random`, `reduce`, `reduceRight`, `repeat`, `result`, `round`,
* `runInContext`, `sample`, `shift`, `size`, `snakeCase`, `some`, `sortedIndex`,
* `sortedIndexBy`, `sortedLastIndex`, `sortedLastIndexBy`, `startCase`,
* `startsWith`, `subtract`, `sum`, `sumBy`, `template`, `times`, `toFinite`,
* `toInteger`, `toJSON`, `toLength`, `toLower`, `toNumber`, `toSafeInteger`,
* `toString`, `toUpper`, `trim`, `trimEnd`, `trimStart`, `truncate`, `unescape`,
* `uniqueId`, `upperCase`, `upperFirst`, `value`, and `words`
* `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,
* `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,
* `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,
* `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,
* `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,
* `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,
* `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,
* `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,
* `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,
* `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,
* `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,
* `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,
* `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,
* `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,
* `upperFirst`, `value`, and `words`
*

@@ -104,0 +106,0 @@ * @name _

@@ -21,4 +21,4 @@ var arrayFilter = require('./_arrayFilter'),

*
* _.xor([2, 1], [4, 2]);
* // => [1, 4]
* _.xor([2, 1], [2, 3]);
* // => [1, 3]
*/

@@ -25,0 +25,0 @@ var xor = rest(function(arrays) {

@@ -24,4 +24,4 @@ var arrayFilter = require('./_arrayFilter'),

*
* _.xorBy([2.1, 1.2], [4.3, 2.4], Math.floor);
* // => [1.2, 4.3]
* _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);
* // => [1.2, 3.4]
*

@@ -28,0 +28,0 @@ * // The `_.property` iteratee shorthand.

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc