Comparing version 4.0.1 to 4.1.0
@@ -62,3 +62,4 @@ module.exports = { | ||
'zipObject': require('./zipObject'), | ||
'zipObjectDeep': require('./zipObjectDeep'), | ||
'zipWith': require('./zipWith') | ||
}; |
@@ -1,2 +0,2 @@ | ||
var createWrapper = require('./internal/createWrapper'); | ||
var createWrapper = require('./_createWrapper'); | ||
@@ -3,0 +3,0 @@ /** Used to compose bitmasks for wrapper metadata. */ |
@@ -1,3 +0,3 @@ | ||
var copyObject = require('./internal/copyObject'), | ||
createAssigner = require('./internal/createAssigner'), | ||
var copyObject = require('./_copyObject'), | ||
createAssigner = require('./_createAssigner'), | ||
keys = require('./keys'); | ||
@@ -4,0 +4,0 @@ |
@@ -1,3 +0,3 @@ | ||
var copyObject = require('./internal/copyObject'), | ||
createAssigner = require('./internal/createAssigner'), | ||
var copyObject = require('./_copyObject'), | ||
createAssigner = require('./_createAssigner'), | ||
keysIn = require('./keysIn'); | ||
@@ -4,0 +4,0 @@ |
@@ -1,3 +0,3 @@ | ||
var copyObjectWith = require('./internal/copyObjectWith'), | ||
createAssigner = require('./internal/createAssigner'), | ||
var copyObjectWith = require('./_copyObjectWith'), | ||
createAssigner = require('./_createAssigner'), | ||
keysIn = require('./keysIn'); | ||
@@ -4,0 +4,0 @@ |
@@ -1,3 +0,3 @@ | ||
var copyObjectWith = require('./internal/copyObjectWith'), | ||
createAssigner = require('./internal/createAssigner'), | ||
var copyObjectWith = require('./_copyObjectWith'), | ||
createAssigner = require('./_createAssigner'), | ||
keys = require('./keys'); | ||
@@ -4,0 +4,0 @@ |
@@ -1,3 +0,3 @@ | ||
var baseAt = require('./internal/baseAt'), | ||
baseFlatten = require('./internal/baseFlatten'), | ||
var baseAt = require('./_baseAt'), | ||
baseFlatten = require('./_baseFlatten'), | ||
rest = require('./rest'); | ||
@@ -4,0 +4,0 @@ |
@@ -1,2 +0,2 @@ | ||
var apply = require('./internal/apply'), | ||
var apply = require('./_apply'), | ||
isError = require('./isError'), | ||
@@ -3,0 +3,0 @@ rest = require('./rest'); |
@@ -1,3 +0,3 @@ | ||
var createWrapper = require('./internal/createWrapper'), | ||
replaceHolders = require('./internal/replaceHolders'), | ||
var createWrapper = require('./_createWrapper'), | ||
replaceHolders = require('./_replaceHolders'), | ||
rest = require('./rest'); | ||
@@ -4,0 +4,0 @@ |
@@ -1,3 +0,3 @@ | ||
var arrayEach = require('./internal/arrayEach'), | ||
baseFlatten = require('./internal/baseFlatten'), | ||
var arrayEach = require('./_arrayEach'), | ||
baseFlatten = require('./_baseFlatten'), | ||
bind = require('./bind'), | ||
@@ -4,0 +4,0 @@ rest = require('./rest'); |
@@ -1,3 +0,3 @@ | ||
var createWrapper = require('./internal/createWrapper'), | ||
replaceHolders = require('./internal/replaceHolders'), | ||
var createWrapper = require('./_createWrapper'), | ||
replaceHolders = require('./_replaceHolders'), | ||
rest = require('./rest'); | ||
@@ -4,0 +4,0 @@ |
var capitalize = require('./capitalize'), | ||
createCompounder = require('./internal/createCompounder'); | ||
createCompounder = require('./_createCompounder'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var createRound = require('./internal/createRound'); | ||
var createRound = require('./_createRound'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseSlice = require('./internal/baseSlice'), | ||
var baseSlice = require('./_baseSlice'), | ||
toInteger = require('./toInteger'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseClamp = require('./internal/baseClamp'), | ||
var baseClamp = require('./_baseClamp'), | ||
toNumber = require('./toNumber'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseClone = require('./internal/baseClone'); | ||
var baseClone = require('./_baseClone'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseClone = require('./internal/baseClone'); | ||
var baseClone = require('./_baseClone'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseClone = require('./internal/baseClone'); | ||
var baseClone = require('./_baseClone'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseClone = require('./internal/baseClone'); | ||
var baseClone = require('./_baseClone'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var LodashWrapper = require('./internal/LodashWrapper'); | ||
var LodashWrapper = require('./_LodashWrapper'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var arrayConcat = require('./internal/arrayConcat'), | ||
baseFlatten = require('./internal/baseFlatten'), | ||
var arrayConcat = require('./_arrayConcat'), | ||
baseFlatten = require('./_baseFlatten'), | ||
isArray = require('./isArray'), | ||
@@ -4,0 +4,0 @@ rest = require('./rest'); |
@@ -1,4 +0,4 @@ | ||
var apply = require('./internal/apply'), | ||
arrayMap = require('./internal/arrayMap'), | ||
baseIteratee = require('./internal/baseIteratee'), | ||
var apply = require('./_apply'), | ||
arrayMap = require('./_arrayMap'), | ||
baseIteratee = require('./_baseIteratee'), | ||
rest = require('./rest'); | ||
@@ -5,0 +5,0 @@ |
@@ -1,3 +0,3 @@ | ||
var baseClone = require('./internal/baseClone'), | ||
baseConforms = require('./internal/baseConforms'); | ||
var baseClone = require('./_baseClone'), | ||
baseConforms = require('./_baseConforms'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var createAggregator = require('./internal/createAggregator'); | ||
var createAggregator = require('./_createAggregator'); | ||
@@ -3,0 +3,0 @@ /** Used for built-in method references. */ |
@@ -1,3 +0,3 @@ | ||
var baseAssign = require('./internal/baseAssign'), | ||
baseCreate = require('./internal/baseCreate'); | ||
var baseAssign = require('./_baseAssign'), | ||
baseCreate = require('./_baseCreate'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var createWrapper = require('./internal/createWrapper'); | ||
var createWrapper = require('./_createWrapper'); | ||
@@ -3,0 +3,0 @@ /** Used to compose bitmasks for wrapper metadata. */ |
@@ -1,2 +0,2 @@ | ||
var createWrapper = require('./internal/createWrapper'); | ||
var createWrapper = require('./_createWrapper'); | ||
@@ -3,0 +3,0 @@ /** Used to compose bitmasks for wrapper metadata. */ |
@@ -1,2 +0,2 @@ | ||
var deburrLetter = require('./internal/deburrLetter'), | ||
var deburrLetter = require('./_deburrLetter'), | ||
toString = require('./toString'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,3 +0,3 @@ | ||
var apply = require('./internal/apply'), | ||
assignInDefaults = require('./internal/assignInDefaults'), | ||
var apply = require('./_apply'), | ||
assignInDefaults = require('./_assignInDefaults'), | ||
assignInWith = require('./assignInWith'), | ||
@@ -4,0 +4,0 @@ rest = require('./rest'); |
@@ -1,3 +0,3 @@ | ||
var apply = require('./internal/apply'), | ||
mergeDefaults = require('./internal/mergeDefaults'), | ||
var apply = require('./_apply'), | ||
mergeDefaults = require('./_mergeDefaults'), | ||
mergeWith = require('./mergeWith'), | ||
@@ -4,0 +4,0 @@ rest = require('./rest'); |
@@ -1,2 +0,2 @@ | ||
var baseDelay = require('./internal/baseDelay'), | ||
var baseDelay = require('./_baseDelay'), | ||
rest = require('./rest'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseDelay = require('./internal/baseDelay'), | ||
var baseDelay = require('./_baseDelay'), | ||
rest = require('./rest'), | ||
@@ -3,0 +3,0 @@ toNumber = require('./toNumber'); |
@@ -1,3 +0,3 @@ | ||
var baseDifference = require('./internal/baseDifference'), | ||
baseFlatten = require('./internal/baseFlatten'), | ||
var baseDifference = require('./_baseDifference'), | ||
baseFlatten = require('./_baseFlatten'), | ||
isArrayLikeObject = require('./isArrayLikeObject'), | ||
@@ -4,0 +4,0 @@ rest = require('./rest'); |
@@ -1,4 +0,4 @@ | ||
var baseDifference = require('./internal/baseDifference'), | ||
baseFlatten = require('./internal/baseFlatten'), | ||
baseIteratee = require('./internal/baseIteratee'), | ||
var baseDifference = require('./_baseDifference'), | ||
baseFlatten = require('./_baseFlatten'), | ||
baseIteratee = require('./_baseIteratee'), | ||
isArrayLikeObject = require('./isArrayLikeObject'), | ||
@@ -5,0 +5,0 @@ last = require('./last'), |
@@ -1,3 +0,3 @@ | ||
var baseDifference = require('./internal/baseDifference'), | ||
baseFlatten = require('./internal/baseFlatten'), | ||
var baseDifference = require('./_baseDifference'), | ||
baseFlatten = require('./_baseFlatten'), | ||
isArrayLikeObject = require('./isArrayLikeObject'), | ||
@@ -4,0 +4,0 @@ last = require('./last'), |
@@ -1,2 +0,2 @@ | ||
var baseSlice = require('./internal/baseSlice'), | ||
var baseSlice = require('./_baseSlice'), | ||
toInteger = require('./toInteger'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseSlice = require('./internal/baseSlice'), | ||
var baseSlice = require('./_baseSlice'), | ||
toInteger = require('./toInteger'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,3 +0,3 @@ | ||
var baseIteratee = require('./internal/baseIteratee'), | ||
baseWhile = require('./internal/baseWhile'); | ||
var baseIteratee = require('./_baseIteratee'), | ||
baseWhile = require('./_baseWhile'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseIteratee = require('./internal/baseIteratee'), | ||
baseWhile = require('./internal/baseWhile'); | ||
var baseIteratee = require('./_baseIteratee'), | ||
baseWhile = require('./_baseWhile'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseClamp = require('./internal/baseClamp'), | ||
var baseClamp = require('./_baseClamp'), | ||
toInteger = require('./toInteger'), | ||
@@ -3,0 +3,0 @@ toString = require('./toString'); |
@@ -1,2 +0,2 @@ | ||
var escapeHtmlChar = require('./internal/escapeHtmlChar'), | ||
var escapeHtmlChar = require('./_escapeHtmlChar'), | ||
toString = require('./toString'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,6 +0,6 @@ | ||
var arrayEvery = require('./internal/arrayEvery'), | ||
baseEvery = require('./internal/baseEvery'), | ||
baseIteratee = require('./internal/baseIteratee'), | ||
var arrayEvery = require('./_arrayEvery'), | ||
baseEvery = require('./_baseEvery'), | ||
baseIteratee = require('./_baseIteratee'), | ||
isArray = require('./isArray'), | ||
isIterateeCall = require('./internal/isIterateeCall'); | ||
isIterateeCall = require('./_isIterateeCall'); | ||
@@ -7,0 +7,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseFill = require('./internal/baseFill'), | ||
isIterateeCall = require('./internal/isIterateeCall'); | ||
var baseFill = require('./_baseFill'), | ||
isIterateeCall = require('./_isIterateeCall'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
var arrayFilter = require('./internal/arrayFilter'), | ||
baseFilter = require('./internal/baseFilter'), | ||
baseIteratee = require('./internal/baseIteratee'), | ||
var arrayFilter = require('./_arrayFilter'), | ||
baseFilter = require('./_baseFilter'), | ||
baseIteratee = require('./_baseIteratee'), | ||
isArray = require('./isArray'); | ||
@@ -5,0 +5,0 @@ |
@@ -1,5 +0,5 @@ | ||
var baseEach = require('./internal/baseEach'), | ||
baseFind = require('./internal/baseFind'), | ||
baseFindIndex = require('./internal/baseFindIndex'), | ||
baseIteratee = require('./internal/baseIteratee'), | ||
var baseEach = require('./_baseEach'), | ||
baseFind = require('./_baseFind'), | ||
baseFindIndex = require('./_baseFindIndex'), | ||
baseIteratee = require('./_baseIteratee'), | ||
isArray = require('./isArray'); | ||
@@ -6,0 +6,0 @@ |
@@ -1,3 +0,3 @@ | ||
var baseFindIndex = require('./internal/baseFindIndex'), | ||
baseIteratee = require('./internal/baseIteratee'); | ||
var baseFindIndex = require('./_baseFindIndex'), | ||
baseIteratee = require('./_baseIteratee'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
var baseFind = require('./internal/baseFind'), | ||
baseForOwn = require('./internal/baseForOwn'), | ||
baseIteratee = require('./internal/baseIteratee'); | ||
var baseFind = require('./_baseFind'), | ||
baseForOwn = require('./_baseForOwn'), | ||
baseIteratee = require('./_baseIteratee'); | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
var baseEachRight = require('./internal/baseEachRight'), | ||
baseFind = require('./internal/baseFind'), | ||
baseFindIndex = require('./internal/baseFindIndex'), | ||
baseIteratee = require('./internal/baseIteratee'), | ||
var baseEachRight = require('./_baseEachRight'), | ||
baseFind = require('./_baseFind'), | ||
baseFindIndex = require('./_baseFindIndex'), | ||
baseIteratee = require('./_baseIteratee'), | ||
isArray = require('./isArray'); | ||
@@ -6,0 +6,0 @@ |
@@ -1,3 +0,3 @@ | ||
var baseFindIndex = require('./internal/baseFindIndex'), | ||
baseIteratee = require('./internal/baseIteratee'); | ||
var baseFindIndex = require('./_baseFindIndex'), | ||
baseIteratee = require('./_baseIteratee'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
var baseFind = require('./internal/baseFind'), | ||
baseForOwnRight = require('./internal/baseForOwnRight'), | ||
baseIteratee = require('./internal/baseIteratee'); | ||
var baseFind = require('./_baseFind'), | ||
baseForOwnRight = require('./_baseForOwnRight'), | ||
baseIteratee = require('./_baseIteratee'); | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
var arrayMap = require('./internal/arrayMap'), | ||
baseFlatten = require('./internal/baseFlatten'), | ||
baseIteratee = require('./internal/baseIteratee'); | ||
var arrayMap = require('./_arrayMap'), | ||
baseFlatten = require('./_baseFlatten'), | ||
baseIteratee = require('./_baseIteratee'); | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseFlatten = require('./internal/baseFlatten'); | ||
var baseFlatten = require('./_baseFlatten'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseFlatten = require('./internal/baseFlatten'); | ||
var baseFlatten = require('./_baseFlatten'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var createWrapper = require('./internal/createWrapper'); | ||
var createWrapper = require('./_createWrapper'); | ||
@@ -3,0 +3,0 @@ /** Used to compose bitmasks for wrapper metadata. */ |
@@ -1,2 +0,2 @@ | ||
var createRound = require('./internal/createRound'); | ||
var createRound = require('./_createRound'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var createFlow = require('./internal/createFlow'); | ||
var createFlow = require('./_createFlow'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var createFlow = require('./internal/createFlow'); | ||
var createFlow = require('./_createFlow'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
var arrayEach = require('./internal/arrayEach'), | ||
baseEach = require('./internal/baseEach'), | ||
var arrayEach = require('./_arrayEach'), | ||
baseEach = require('./_baseEach'), | ||
isArray = require('./isArray'), | ||
toFunction = require('./internal/toFunction'); | ||
toFunction = require('./_toFunction'); | ||
@@ -6,0 +6,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
var arrayEachRight = require('./internal/arrayEachRight'), | ||
baseEachRight = require('./internal/baseEachRight'), | ||
var arrayEachRight = require('./_arrayEachRight'), | ||
baseEachRight = require('./_baseEachRight'), | ||
isArray = require('./isArray'), | ||
toFunction = require('./internal/toFunction'); | ||
toFunction = require('./_toFunction'); | ||
@@ -6,0 +6,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
var baseFor = require('./internal/baseFor'), | ||
var baseFor = require('./_baseFor'), | ||
keysIn = require('./keysIn'), | ||
toFunction = require('./internal/toFunction'); | ||
toFunction = require('./_toFunction'); | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
var baseForRight = require('./internal/baseForRight'), | ||
var baseForRight = require('./_baseForRight'), | ||
keysIn = require('./keysIn'), | ||
toFunction = require('./internal/toFunction'); | ||
toFunction = require('./_toFunction'); | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseForOwn = require('./internal/baseForOwn'), | ||
toFunction = require('./internal/toFunction'); | ||
var baseForOwn = require('./_baseForOwn'), | ||
toFunction = require('./_toFunction'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseForOwnRight = require('./internal/baseForOwnRight'), | ||
toFunction = require('./internal/toFunction'); | ||
var baseForOwnRight = require('./_baseForOwnRight'), | ||
toFunction = require('./_toFunction'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -152,2 +152,3 @@ var mapping = require('./_mapping'), | ||
var wrap = function(name, func) { | ||
name = mapping.aliasToReal[name] || name; | ||
var wrapper = wrappers[name]; | ||
@@ -219,3 +220,3 @@ if (wrapper) { | ||
each(keys(_), function(key) { | ||
each(mapping.alias[key] || [], function(alias) { | ||
each(mapping.realToAlias[key] || [], function(alias) { | ||
_[alias] = _[key]; | ||
@@ -222,0 +223,0 @@ }); |
@@ -1,202 +0,220 @@ | ||
module.exports = { | ||
/** Used to map aliases to their real names. */ | ||
exports.aliasToReal = { | ||
'all': 'some', | ||
'allPass': 'overEvery', | ||
'apply': 'spread', | ||
'compose': 'flowRight', | ||
'contains': 'includes', | ||
'dissoc': 'omit', | ||
'each': 'forEach', | ||
'eachRight': 'forEachRight', | ||
'equals': 'isEqual', | ||
'extend': 'assignIn', | ||
'extendWith': 'assignInWith', | ||
'first': 'head', | ||
'init': 'initial', | ||
'mapObj': 'mapValues', | ||
'omitAll': 'omit', | ||
'nAry': 'ary', | ||
'path': 'get', | ||
'pathEq': 'matchesProperty', | ||
'pathOr': 'getOr', | ||
'pickAll': 'pick', | ||
'pipe': 'flow', | ||
'prop': 'get', | ||
'propOf': 'propertyOf', | ||
'propOr': 'getOr', | ||
'somePass': 'overSome', | ||
'unapply': 'rest', | ||
'unnest': 'flatten', | ||
'useWith': 'overArgs', | ||
'whereEq': 'filter', | ||
'zipObj': 'zipObject' | ||
}; | ||
/** Used to map method names to their aliases. */ | ||
'alias': { | ||
'ary': ['nAry'], | ||
'assignIn': ['extend'], | ||
'assignInWith': ['extendWith'], | ||
'filter': ['whereEq'], | ||
'flatten': ['unnest'], | ||
'flow': ['pipe'], | ||
'flowRight': ['compose'], | ||
'forEach': ['each'], | ||
'forEachRight': ['eachRight'], | ||
'get': ['path', 'prop'], | ||
'getOr': ['pathOr', 'propOr'], | ||
'head': ['first'], | ||
'includes': ['contains'], | ||
'initial': ['init'], | ||
'isEqual': ['equals'], | ||
'mapValues': ['mapObj'], | ||
'matchesProperty': ['pathEq'], | ||
'omit': ['dissoc', 'omitAll'], | ||
'overArgs': ['useWith'], | ||
'overEvery': ['allPass'], | ||
'overSome': ['somePass'], | ||
'pick': ['pickAll'], | ||
'propertyOf': ['propOf'], | ||
'rest': ['unapply'], | ||
'some': ['all'], | ||
'spread': ['apply'], | ||
'zipObject': ['zipObj'] | ||
}, | ||
/** Used to map method names to their iteratee ary. */ | ||
exports.aryIteratee = { | ||
'assignWith': 2, | ||
'assignInWith': 2, | ||
'cloneDeepWith': 1, | ||
'cloneWith': 1, | ||
'dropRightWhile': 1, | ||
'dropWhile': 1, | ||
'every': 1, | ||
'filter': 1, | ||
'find': 1, | ||
'findIndex': 1, | ||
'findKey': 1, | ||
'findLast': 1, | ||
'findLastIndex': 1, | ||
'findLastKey': 1, | ||
'flatMap': 1, | ||
'forEach': 1, | ||
'forEachRight': 1, | ||
'forIn': 1, | ||
'forInRight': 1, | ||
'forOwn': 1, | ||
'forOwnRight': 1, | ||
'isEqualWith': 2, | ||
'isMatchWith': 2, | ||
'map': 1, | ||
'mapKeys': 1, | ||
'mapValues': 1, | ||
'partition': 1, | ||
'reduce': 2, | ||
'reduceRight': 2, | ||
'reject': 1, | ||
'remove': 1, | ||
'some': 1, | ||
'takeRightWhile': 1, | ||
'takeWhile': 1, | ||
'times': 1, | ||
'transform': 2 | ||
}; | ||
/** Used to map method names to their iteratee ary. */ | ||
'aryIteratee': { | ||
'assignWith': 2, | ||
'assignInWith': 2, | ||
'cloneDeepWith': 1, | ||
'cloneWith': 1, | ||
'dropRightWhile': 1, | ||
'dropWhile': 1, | ||
'every': 1, | ||
'filter': 1, | ||
'find': 1, | ||
'findIndex': 1, | ||
'findKey': 1, | ||
'findLast': 1, | ||
'findLastIndex': 1, | ||
'findLastKey': 1, | ||
'flatMap': 1, | ||
'forEach': 1, | ||
'forEachRight': 1, | ||
'forIn': 1, | ||
'forInRight': 1, | ||
'forOwn': 1, | ||
'forOwnRight': 1, | ||
'isEqualWith': 2, | ||
'isMatchWith': 2, | ||
'map': 1, | ||
'mapKeys': 1, | ||
'mapValues': 1, | ||
'partition': 1, | ||
'reduce': 2, | ||
'reduceRight': 2, | ||
'reject': 1, | ||
'remove': 1, | ||
'some': 1, | ||
'takeRightWhile': 1, | ||
'takeWhile': 1, | ||
'times': 1, | ||
'transform': 2 | ||
}, | ||
/** Used to map ary to method names. */ | ||
exports.aryMethod = { | ||
1: [ | ||
'attempt', 'ceil', 'create', 'curry', 'curryRight', 'floor', 'fromPairs', | ||
'invert', 'iteratee', 'memoize', 'method', 'methodOf', 'mixin', 'over', | ||
'overEvery', 'overSome', 'rest', 'reverse', 'round', 'runInContext', | ||
'template', 'trim', 'trimEnd', 'trimStart', 'uniqueId', 'words' | ||
], | ||
2: [ | ||
'add', 'after', 'ary', 'assign', 'assignIn', 'at', 'before', 'bind', 'bindKey', | ||
'chunk', 'cloneDeepWith', 'cloneWith', 'concat', 'countBy', 'curryN', | ||
'curryRightN', 'debounce', 'defaults', 'defaultsDeep', 'delay', 'difference', | ||
'drop', 'dropRight', 'dropRightWhile', 'dropWhile', 'endsWith', 'eq', 'every', | ||
'filter', 'find', 'find', 'findIndex', 'findKey', 'findLast', 'findLastIndex', | ||
'findLastKey', 'flatMap', 'forEach', 'forEachRight', 'forIn', 'forInRight', | ||
'forOwn', 'forOwnRight', 'get', 'groupBy', 'gt', 'gte', 'has', 'hasIn', | ||
'includes', 'indexOf', 'intersection', 'invertBy', 'invoke', 'invokeMap', | ||
'isEqual', 'isMatch', 'join', 'keyBy', 'lastIndexOf', 'lt', 'lte', 'map', | ||
'mapKeys', 'mapValues', 'matchesProperty', 'maxBy', 'merge', 'minBy', 'omit', | ||
'omitBy', 'orderBy', 'overArgs', 'pad', 'padEnd', 'padStart', 'parseInt', | ||
'partition', 'pick', 'pickBy', 'pull', 'pullAll', 'pullAt', 'random', 'range', | ||
'rangeRight', 'rearg', 'reject', 'remove', 'repeat', 'result', 'sampleSize', | ||
'some', 'sortBy', 'sortedIndex', 'sortedIndexOf', 'sortedLastIndex', | ||
'sortedLastIndexOf', 'sortedUniqBy', 'split', 'startsWith', 'subtract', | ||
'sumBy', 'take', 'takeRight', 'takeRightWhile', 'takeWhile', 'tap', 'throttle', | ||
'thru', 'times', 'truncate', 'union', 'uniqBy', 'uniqWith', 'unset', 'unzipWith', | ||
'without', 'wrap', 'xor', 'zip', 'zipObject', 'zipObjectDeep' | ||
], | ||
3: [ | ||
'assignInWith', 'assignWith', 'clamp', 'differenceBy', 'differenceWith', | ||
'getOr', 'inRange', 'intersectionBy', 'intersectionWith', 'isEqualWith', | ||
'isMatchWith', 'mergeWith', 'pullAllBy', 'reduce', 'reduceRight', 'replace', | ||
'set', 'slice', 'sortedIndexBy', 'sortedLastIndexBy', 'transform', 'unionBy', | ||
'unionWith', 'xorBy', 'xorWith', 'zipWith' | ||
], | ||
4: [ | ||
'fill', 'setWith' | ||
] | ||
}; | ||
/** Used to map ary to method names. */ | ||
'aryMethod': { | ||
1:[ | ||
'attempt', 'ceil', 'create', 'curry', 'curryRight', 'floor', 'fromPairs', | ||
'invert', 'iteratee', 'memoize', 'method', 'methodOf', 'mixin', 'over', | ||
'overEvery', 'overSome', 'rest', 'reverse', 'round', 'runInContext', | ||
'template', 'trim', 'trimEnd', 'trimStart', 'uniqueId', 'words' | ||
], | ||
2:[ | ||
'add', 'after', 'ary', 'assign', 'at', 'before', 'bind', 'bindKey', | ||
'chunk', 'cloneDeepWith', 'cloneWith', 'concat', 'countBy', 'curryN', | ||
'curryRightN', 'debounce', 'defaults', 'defaultsDeep', 'delay', 'difference', | ||
'drop', 'dropRight', 'dropRightWhile', 'dropWhile', 'endsWith', 'eq', | ||
'every', 'extend', 'filter', 'find', 'find', 'findIndex', 'findKey', | ||
'findLast', 'findLastIndex', 'findLastKey', 'flatMap', 'forEach', | ||
'forEachRight', 'forIn', 'forInRight', 'forOwn', 'forOwnRight', 'get', | ||
'groupBy', 'gt', 'gte', 'has', 'hasIn', 'includes', 'indexOf', 'intersection', | ||
'invoke', 'invokeMap', 'isEqual', 'isMatch', 'join', 'keyBy', 'lastIndexOf', | ||
'lt', 'lte', 'map', 'mapKeys', 'mapValues', 'matchesProperty', 'maxBy', | ||
'merge', 'minBy', 'omit', 'omitBy', 'orderBy', 'overArgs', 'pad', 'padEnd', | ||
'padStart', 'parseInt', 'partition', 'pick', 'pickBy', 'pull', 'pullAll', | ||
'pullAt', 'random', 'range', 'rangeRight', 'rearg', 'reject', 'remove', | ||
'repeat', 'result', 'sampleSize', 'some', 'sortBy', 'sortedIndex', | ||
'sortedIndexOf', 'sortedLastIndex', 'sortedLastIndexOf', 'sortedUniqBy', | ||
'split', 'startsWith', 'subtract', 'sumBy', 'take', 'takeRight', 'takeRightWhile', | ||
'takeWhile', 'tap', 'throttle', 'thru', 'times', 'truncate', 'union', 'uniqBy', | ||
'uniqWith', 'unset', 'unzipWith', 'without', 'wrap', 'xor', 'zip', 'zipObject' | ||
], | ||
3:[ | ||
'assignInWith', 'assignWith', 'clamp', 'differenceBy', 'differenceWith', | ||
'getOr', 'inRange', 'intersectionBy', 'intersectionWith', 'isEqualWith', | ||
'isMatchWith', 'mergeWith', 'pullAllBy', 'reduce', 'reduceRight', 'replace', | ||
'set', 'slice', 'sortedIndexBy', 'sortedLastIndexBy', 'transform', 'unionBy', | ||
'unionWith', 'xorBy', 'xorWith', 'zipWith' | ||
], | ||
4:[ | ||
'fill', 'setWith' | ||
] | ||
}, | ||
/** Used to map ary to rearg configs. */ | ||
exports.aryRearg = { | ||
2: [1, 0], | ||
3: [2, 1, 0], | ||
4: [3, 2, 0, 1] | ||
}; | ||
/** Used to map ary to rearg configs. */ | ||
'aryRearg': { | ||
2: [1, 0], | ||
3: [2, 1, 0], | ||
4: [3, 2, 0, 1] | ||
}, | ||
/** Used to map method names to iteratee rearg configs. */ | ||
exports.iterateeRearg = { | ||
'findKey': [1], | ||
'findLastKey': [1], | ||
'mapKeys': [1] | ||
}; | ||
/** Used to map method names to iteratee rearg configs. */ | ||
'iterateeRearg': { | ||
'findKey': [1], | ||
'findLastKey': [1], | ||
'mapKeys': [1] | ||
}, | ||
/** Used to map method names to rearg configs. */ | ||
exports.methodRearg = { | ||
'assignInWith': [1, 2, 0], | ||
'assignWith': [1, 2, 0], | ||
'clamp': [2, 0, 1], | ||
'mergeWith': [1, 2, 0], | ||
'reduce': [2, 0, 1], | ||
'reduceRight': [2, 0, 1], | ||
'set': [2, 0, 1], | ||
'setWith': [3, 1, 2, 0], | ||
'slice': [2, 0, 1], | ||
'transform': [2, 0, 1] | ||
}; | ||
/** Used to map method names to rearg configs. */ | ||
'methodRearg': { | ||
'clamp': [2, 0, 1], | ||
'reduce': [2, 0, 1], | ||
'reduceRight': [2, 0, 1], | ||
'set': [2, 0, 1], | ||
'setWith': [3, 1, 2, 0], | ||
'slice': [2, 0, 1], | ||
'transform': [2, 0, 1] | ||
}, | ||
/** Used to iterate `mapping.aryMethod` keys. */ | ||
exports.caps = [1, 2, 3, 4]; | ||
/** Used to iterate `mapping.aryMethod` keys. */ | ||
'caps': [1, 2, 3, 4], | ||
/** Used to map keys to other keys. */ | ||
exports.key = { | ||
'curryN': 'curry', | ||
'curryRightN': 'curryRight', | ||
'getOr': 'get' | ||
}; | ||
/** Used to map keys to other keys. */ | ||
'key': { | ||
'curryN': 'curry', | ||
'curryRightN': 'curryRight', | ||
'getOr': 'get' | ||
/** Used to identify methods which mutate arrays or objects. */ | ||
exports.mutate = { | ||
'array': { | ||
'fill': true, | ||
'pull': true, | ||
'pullAll': true, | ||
'pullAllBy': true, | ||
'pullAt': true, | ||
'remove': true, | ||
'reverse': true | ||
}, | ||
/** Used to identify methods which mutate arrays or objects. */ | ||
'mutate': { | ||
'array': { | ||
'fill': true, | ||
'pull': true, | ||
'pullAll': true, | ||
'pullAllBy': true, | ||
'pullAt': true, | ||
'remove': true, | ||
'reverse': true | ||
}, | ||
'object': { | ||
'assign': true, | ||
'assignIn': true, | ||
'assignInWith': true, | ||
'assignWith': true, | ||
'defaults': true, | ||
'defaultsDeep': true, | ||
'merge': true, | ||
'mergeWith': true | ||
}, | ||
'set': { | ||
'set': true, | ||
'setWith': true | ||
} | ||
}, | ||
/** Used to track methods with placeholder support */ | ||
'placeholder': { | ||
'bind': true, | ||
'bindKey': true, | ||
'curry': true, | ||
'curryRight': true, | ||
'partial': true, | ||
'partialRight': true | ||
}, | ||
/** Used to track methods that skip `_.rearg`. */ | ||
'skipRearg': { | ||
'object': { | ||
'assign': true, | ||
'assignIn': true, | ||
'concat': true, | ||
'assignInWith': true, | ||
'assignWith': true, | ||
'defaults': true, | ||
'defaultsDeep': true, | ||
'difference': true, | ||
'matchesProperty': true, | ||
'merge': true, | ||
'random': true, | ||
'range': true, | ||
'rangeRight': true, | ||
'zip': true, | ||
'zipObject': true | ||
'mergeWith': true | ||
}, | ||
'set': { | ||
'set': true, | ||
'setWith': true | ||
} | ||
}; | ||
/** Used to track methods with placeholder support */ | ||
exports.placeholder = { | ||
'bind': true, | ||
'bindKey': true, | ||
'curry': true, | ||
'curryRight': true, | ||
'partial': true, | ||
'partialRight': true | ||
}; | ||
/** Used to map real names to their aliases. */ | ||
exports.realToAlias = (function() { | ||
var hasOwnProperty = Object.prototype.hasOwnProperty, | ||
object = exports.aliasToReal, | ||
result = {}; | ||
for (var key in object) { | ||
var value = object[key]; | ||
if (hasOwnProperty.call(result, value)) { | ||
result[value].push(key); | ||
} else { | ||
result[value] = [key]; | ||
} | ||
} | ||
return result; | ||
}()); | ||
/** Used to track methods that skip `_.rearg`. */ | ||
exports.skipRearg = { | ||
'assign': true, | ||
'assignIn': true, | ||
'concat': true, | ||
'difference': true, | ||
'matchesProperty': true, | ||
'merge': true, | ||
'random': true, | ||
'range': true, | ||
'rangeRight': true, | ||
'zip': true, | ||
'zipObject': true | ||
}; |
@@ -5,7 +5,7 @@ module.exports = { | ||
'curry': require('../curry'), | ||
'forEach': require('../internal/arrayEach'), | ||
'forEach': require('../_arrayEach'), | ||
'isFunction': require('../isFunction'), | ||
'iteratee': require('../iteratee'), | ||
'keys': require('../internal/baseKeys'), | ||
'keys': require('../_baseKeys'), | ||
'rearg': require('../rearg') | ||
}; |
@@ -1,2 +0,2 @@ | ||
var baseFunctions = require('./internal/baseFunctions'), | ||
var baseFunctions = require('./_baseFunctions'), | ||
keys = require('./keys'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseFunctions = require('./internal/baseFunctions'), | ||
var baseFunctions = require('./_baseFunctions'), | ||
keysIn = require('./keysIn'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseGet = require('./internal/baseGet'); | ||
var baseGet = require('./_baseGet'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var createAggregator = require('./internal/createAggregator'); | ||
var createAggregator = require('./_createAggregator'); | ||
@@ -3,0 +3,0 @@ /** Used for built-in method references. */ |
@@ -1,3 +0,3 @@ | ||
var baseHas = require('./internal/baseHas'), | ||
hasPath = require('./internal/hasPath'); | ||
var baseHas = require('./_baseHas'), | ||
hasPath = require('./_hasPath'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseHasIn = require('./internal/baseHasIn'), | ||
hasPath = require('./internal/hasPath'); | ||
var baseHasIn = require('./_baseHasIn'), | ||
hasPath = require('./_hasPath'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseIndexOf = require('./internal/baseIndexOf'), | ||
var baseIndexOf = require('./_baseIndexOf'), | ||
isArrayLike = require('./isArrayLike'), | ||
@@ -3,0 +3,0 @@ isString = require('./isString'), |
@@ -1,1 +0,1 @@ | ||
module.exports = require('./lodash.js'); | ||
module.exports = require('./lodash'); |
@@ -1,2 +0,2 @@ | ||
var baseIndexOf = require('./internal/baseIndexOf'), | ||
var baseIndexOf = require('./_baseIndexOf'), | ||
toInteger = require('./toInteger'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseInRange = require('./internal/baseInRange'), | ||
var baseInRange = require('./_baseInRange'), | ||
toNumber = require('./toNumber'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,5 +0,5 @@ | ||
var arrayMap = require('./internal/arrayMap'), | ||
baseIntersection = require('./internal/baseIntersection'), | ||
var arrayMap = require('./_arrayMap'), | ||
baseIntersection = require('./_baseIntersection'), | ||
rest = require('./rest'), | ||
toArrayLikeObject = require('./internal/toArrayLikeObject'); | ||
toArrayLikeObject = require('./_toArrayLikeObject'); | ||
@@ -6,0 +6,0 @@ /** |
@@ -1,7 +0,7 @@ | ||
var arrayMap = require('./internal/arrayMap'), | ||
baseIntersection = require('./internal/baseIntersection'), | ||
baseIteratee = require('./internal/baseIteratee'), | ||
var arrayMap = require('./_arrayMap'), | ||
baseIntersection = require('./_baseIntersection'), | ||
baseIteratee = require('./_baseIteratee'), | ||
last = require('./last'), | ||
rest = require('./rest'), | ||
toArrayLikeObject = require('./internal/toArrayLikeObject'); | ||
toArrayLikeObject = require('./_toArrayLikeObject'); | ||
@@ -8,0 +8,0 @@ /** |
@@ -1,6 +0,6 @@ | ||
var arrayMap = require('./internal/arrayMap'), | ||
baseIntersection = require('./internal/baseIntersection'), | ||
var arrayMap = require('./_arrayMap'), | ||
baseIntersection = require('./_baseIntersection'), | ||
last = require('./last'), | ||
rest = require('./rest'), | ||
toArrayLikeObject = require('./internal/toArrayLikeObject'); | ||
toArrayLikeObject = require('./_toArrayLikeObject'); | ||
@@ -7,0 +7,0 @@ /** |
@@ -1,14 +0,9 @@ | ||
var arrayReduce = require('./internal/arrayReduce'), | ||
keys = require('./keys'); | ||
var constant = require('./constant'), | ||
createInverter = require('./_createInverter'), | ||
identity = require('./identity'); | ||
/** Used for built-in method references. */ | ||
var objectProto = global.Object.prototype; | ||
/** Used to check objects for own properties. */ | ||
var hasOwnProperty = objectProto.hasOwnProperty; | ||
/** | ||
* Creates an object composed of the inverted keys and values of `object`. | ||
* If `object` contains duplicate values, subsequent values overwrite property | ||
* assignments of previous values unless `multiVal` is `true`. | ||
* assignments of previous values. | ||
* | ||
@@ -19,4 +14,2 @@ * @static | ||
* @param {Object} object The object to invert. | ||
* @param {boolean} [multiVal] Allow multiple values per key. | ||
* @param- {Object} [guard] Enables use as an iteratee for functions like `_.map`. | ||
* @returns {Object} Returns the new inverted object. | ||
@@ -29,24 +22,7 @@ * @example | ||
* // => { '1': 'c', '2': 'b' } | ||
* | ||
* // with `multiVal` | ||
* _.invert(object, true); | ||
* // => { '1': ['a', 'c'], '2': ['b'] } | ||
*/ | ||
function invert(object, multiVal, guard) { | ||
return arrayReduce(keys(object), function(result, key) { | ||
var value = object[key]; | ||
if (multiVal && !guard) { | ||
if (hasOwnProperty.call(result, value)) { | ||
result[value].push(key); | ||
} else { | ||
result[value] = [key]; | ||
} | ||
} | ||
else { | ||
result[value] = key; | ||
} | ||
return result; | ||
}, {}); | ||
} | ||
var invert = createInverter(function(result, value, key) { | ||
result[value] = key; | ||
}, constant(identity)); | ||
module.exports = invert; |
@@ -1,2 +0,2 @@ | ||
var baseInvoke = require('./internal/baseInvoke'), | ||
var baseInvoke = require('./_baseInvoke'), | ||
rest = require('./rest'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,6 +0,6 @@ | ||
var apply = require('./internal/apply'), | ||
baseEach = require('./internal/baseEach'), | ||
baseInvoke = require('./internal/baseInvoke'), | ||
var apply = require('./_apply'), | ||
baseEach = require('./_baseEach'), | ||
baseInvoke = require('./_baseInvoke'), | ||
isArrayLike = require('./isArrayLike'), | ||
isKey = require('./internal/isKey'), | ||
isKey = require('./_isKey'), | ||
rest = require('./rest'); | ||
@@ -7,0 +7,0 @@ |
@@ -1,2 +0,2 @@ | ||
var getLength = require('./internal/getLength'), | ||
var getLength = require('./_getLength'), | ||
isFunction = require('./isFunction'), | ||
@@ -3,0 +3,0 @@ isLength = require('./isLength'); |
@@ -1,6 +0,13 @@ | ||
var isFunction = require('./isFunction'), | ||
isObjectLike = require('./isObjectLike'), | ||
keys = require('./keys'), | ||
size = require('./size'); | ||
var isArguments = require('./isArguments'), | ||
isArray = require('./isArray'), | ||
isArrayLike = require('./isArrayLike'), | ||
isFunction = require('./isFunction'), | ||
isString = require('./isString'); | ||
/** Used for built-in method references. */ | ||
var objectProto = global.Object.prototype; | ||
/** Used to check objects for own properties. */ | ||
var hasOwnProperty = objectProto.hasOwnProperty; | ||
/** | ||
@@ -34,7 +41,14 @@ * Checks if `value` is empty. A value is considered empty unless it's an | ||
function isEmpty(value) { | ||
return (!isObjectLike(value) || isFunction(value.splice)) | ||
? !size(value) | ||
: !keys(value).length; | ||
if (isArrayLike(value) && | ||
(isArray(value) || isString(value) || isFunction(value.splice) || isArguments(value))) { | ||
return !value.length; | ||
} | ||
for (var key in value) { | ||
if (hasOwnProperty.call(value, key)) { | ||
return false; | ||
} | ||
} | ||
return true; | ||
} | ||
module.exports = isEmpty; |
@@ -1,2 +0,2 @@ | ||
var baseIsEqual = require('./internal/baseIsEqual'); | ||
var baseIsEqual = require('./_baseIsEqual'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseIsEqual = require('./internal/baseIsEqual'); | ||
var baseIsEqual = require('./_baseIsEqual'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseIsMatch = require('./internal/baseIsMatch'), | ||
getMatchData = require('./internal/getMatchData'); | ||
var baseIsMatch = require('./_baseIsMatch'), | ||
getMatchData = require('./_getMatchData'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseIsMatch = require('./internal/baseIsMatch'), | ||
getMatchData = require('./internal/getMatchData'); | ||
var baseIsMatch = require('./_baseIsMatch'), | ||
getMatchData = require('./_getMatchData'); | ||
@@ -4,0 +4,0 @@ /** |
var isFunction = require('./isFunction'), | ||
isHostObject = require('./internal/isHostObject'), | ||
isHostObject = require('./_isHostObject'), | ||
isObjectLike = require('./isObjectLike'); | ||
@@ -4,0 +4,0 @@ |
@@ -25,4 +25,2 @@ /** | ||
function isObject(value) { | ||
// Avoid a V8 JIT bug in Chrome 19-20. | ||
// See https://code.google.com/p/v8/issues/detail?id=2291 for more details. | ||
var type = typeof value; | ||
@@ -29,0 +27,0 @@ return !!value && (type == 'object' || type == 'function'); |
@@ -1,2 +0,2 @@ | ||
var isHostObject = require('./internal/isHostObject'), | ||
var isHostObject = require('./_isHostObject'), | ||
isObjectLike = require('./isObjectLike'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseIteratee = require('./internal/baseIteratee'), | ||
var baseIteratee = require('./_baseIteratee'), | ||
isArray = require('./isArray'), | ||
@@ -3,0 +3,0 @@ isObjectLike = require('./isObjectLike'), |
@@ -1,2 +0,2 @@ | ||
var createCompounder = require('./internal/createCompounder'); | ||
var createCompounder = require('./_createCompounder'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var createAggregator = require('./internal/createAggregator'); | ||
var createAggregator = require('./_createAggregator'); | ||
@@ -17,3 +17,3 @@ /** | ||
* | ||
* var keyData = [ | ||
* var array = [ | ||
* { 'dir': 'left', 'code': 97 }, | ||
@@ -23,3 +23,3 @@ * { 'dir': 'right', 'code': 100 } | ||
* | ||
* _.keyBy(keyData, function(o) { | ||
* _.keyBy(array, function(o) { | ||
* return String.fromCharCode(o.code); | ||
@@ -29,3 +29,3 @@ * }); | ||
* | ||
* _.keyBy(keyData, 'dir'); | ||
* _.keyBy(array, 'dir'); | ||
* // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } } | ||
@@ -32,0 +32,0 @@ */ |
10
keys.js
@@ -1,7 +0,7 @@ | ||
var baseHas = require('./internal/baseHas'), | ||
baseKeys = require('./internal/baseKeys'), | ||
indexKeys = require('./internal/indexKeys'), | ||
var baseHas = require('./_baseHas'), | ||
baseKeys = require('./_baseKeys'), | ||
indexKeys = require('./_indexKeys'), | ||
isArrayLike = require('./isArrayLike'), | ||
isIndex = require('./internal/isIndex'), | ||
isPrototype = require('./internal/isPrototype'); | ||
isIndex = require('./_isIndex'), | ||
isPrototype = require('./_isPrototype'); | ||
@@ -8,0 +8,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
var baseKeysIn = require('./internal/baseKeysIn'), | ||
indexKeys = require('./internal/indexKeys'), | ||
isIndex = require('./internal/isIndex'), | ||
isPrototype = require('./internal/isPrototype'); | ||
var baseKeysIn = require('./_baseKeysIn'), | ||
indexKeys = require('./_indexKeys'), | ||
isIndex = require('./_isIndex'), | ||
isPrototype = require('./_isPrototype'); | ||
@@ -6,0 +6,0 @@ /** Used for built-in method references. */ |
@@ -1,2 +0,2 @@ | ||
var indexOfNaN = require('./internal/indexOfNaN'), | ||
var indexOfNaN = require('./_indexOfNaN'), | ||
toInteger = require('./toInteger'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var createCompounder = require('./internal/createCompounder'); | ||
var createCompounder = require('./_createCompounder'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var createCaseFirst = require('./internal/createCaseFirst'); | ||
var createCaseFirst = require('./_createCaseFirst'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
var arrayMap = require('./internal/arrayMap'), | ||
baseIteratee = require('./internal/baseIteratee'), | ||
baseMap = require('./internal/baseMap'), | ||
var arrayMap = require('./_arrayMap'), | ||
baseIteratee = require('./_baseIteratee'), | ||
baseMap = require('./_baseMap'), | ||
isArray = require('./isArray'); | ||
@@ -5,0 +5,0 @@ |
@@ -1,3 +0,3 @@ | ||
var baseForOwn = require('./internal/baseForOwn'), | ||
baseIteratee = require('./internal/baseIteratee'); | ||
var baseForOwn = require('./_baseForOwn'), | ||
baseIteratee = require('./_baseIteratee'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseForOwn = require('./internal/baseForOwn'), | ||
baseIteratee = require('./internal/baseIteratee'); | ||
var baseForOwn = require('./_baseForOwn'), | ||
baseIteratee = require('./_baseIteratee'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseClone = require('./internal/baseClone'), | ||
baseMatches = require('./internal/baseMatches'); | ||
var baseClone = require('./_baseClone'), | ||
baseMatches = require('./_baseMatches'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseClone = require('./internal/baseClone'), | ||
baseMatchesProperty = require('./internal/baseMatchesProperty'); | ||
var baseClone = require('./_baseClone'), | ||
baseMatchesProperty = require('./_baseMatchesProperty'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseExtremum = require('./internal/baseExtremum'), | ||
var baseExtremum = require('./_baseExtremum'), | ||
gt = require('./gt'), | ||
@@ -3,0 +3,0 @@ identity = require('./identity'); |
@@ -1,3 +0,3 @@ | ||
var baseExtremum = require('./internal/baseExtremum'), | ||
baseIteratee = require('./internal/baseIteratee'), | ||
var baseExtremum = require('./_baseExtremum'), | ||
baseIteratee = require('./_baseIteratee'), | ||
gt = require('./gt'); | ||
@@ -4,0 +4,0 @@ |
@@ -1,2 +0,2 @@ | ||
var MapCache = require('./internal/MapCache'); | ||
var MapCache = require('./_MapCache'); | ||
@@ -3,0 +3,0 @@ /** Used as the `TypeError` message for "Functions" methods. */ |
@@ -1,3 +0,3 @@ | ||
var baseMerge = require('./internal/baseMerge'), | ||
createAssigner = require('./internal/createAssigner'); | ||
var baseMerge = require('./_baseMerge'), | ||
createAssigner = require('./_createAssigner'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseMerge = require('./internal/baseMerge'), | ||
createAssigner = require('./internal/createAssigner'); | ||
var baseMerge = require('./_baseMerge'), | ||
createAssigner = require('./_createAssigner'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseInvoke = require('./internal/baseInvoke'), | ||
var baseInvoke = require('./_baseInvoke'), | ||
rest = require('./rest'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseInvoke = require('./internal/baseInvoke'), | ||
var baseInvoke = require('./_baseInvoke'), | ||
rest = require('./rest'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseExtremum = require('./internal/baseExtremum'), | ||
var baseExtremum = require('./_baseExtremum'), | ||
identity = require('./identity'), | ||
@@ -3,0 +3,0 @@ lt = require('./lt'); |
@@ -1,3 +0,3 @@ | ||
var baseExtremum = require('./internal/baseExtremum'), | ||
baseIteratee = require('./internal/baseIteratee'), | ||
var baseExtremum = require('./_baseExtremum'), | ||
baseIteratee = require('./_baseIteratee'), | ||
lt = require('./lt'); | ||
@@ -4,0 +4,0 @@ |
@@ -1,5 +0,5 @@ | ||
var arrayEach = require('./internal/arrayEach'), | ||
arrayPush = require('./internal/arrayPush'), | ||
baseFunctions = require('./internal/baseFunctions'), | ||
copyArray = require('./internal/copyArray'), | ||
var arrayEach = require('./_arrayEach'), | ||
arrayPush = require('./_arrayPush'), | ||
baseFunctions = require('./_baseFunctions'), | ||
copyArray = require('./_copyArray'), | ||
isFunction = require('./isFunction'), | ||
@@ -6,0 +6,0 @@ isObject = require('./isObject'), |
@@ -23,2 +23,3 @@ module.exports = { | ||
'invert': require('./invert'), | ||
'invertBy': require('./invertBy'), | ||
'invoke': require('./invoke'), | ||
@@ -25,0 +26,0 @@ 'keys': require('./keys'), |
@@ -1,5 +0,5 @@ | ||
var arrayMap = require('./internal/arrayMap'), | ||
baseDifference = require('./internal/baseDifference'), | ||
baseFlatten = require('./internal/baseFlatten'), | ||
basePick = require('./internal/basePick'), | ||
var arrayMap = require('./_arrayMap'), | ||
baseDifference = require('./_baseDifference'), | ||
baseFlatten = require('./_baseFlatten'), | ||
basePick = require('./_basePick'), | ||
keysIn = require('./keysIn'), | ||
@@ -6,0 +6,0 @@ rest = require('./rest'); |
@@ -1,3 +0,3 @@ | ||
var baseIteratee = require('./internal/baseIteratee'), | ||
basePickBy = require('./internal/basePickBy'); | ||
var baseIteratee = require('./_baseIteratee'), | ||
basePickBy = require('./_basePickBy'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseOrderBy = require('./internal/baseOrderBy'), | ||
var baseOrderBy = require('./_baseOrderBy'), | ||
isArray = require('./isArray'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,3 +0,3 @@ | ||
var arrayMap = require('./internal/arrayMap'), | ||
createOver = require('./internal/createOver'); | ||
var arrayMap = require('./_arrayMap'), | ||
createOver = require('./_createOver'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
var apply = require('./internal/apply'), | ||
arrayMap = require('./internal/arrayMap'), | ||
baseFlatten = require('./internal/baseFlatten'), | ||
baseIteratee = require('./internal/baseIteratee'), | ||
var apply = require('./_apply'), | ||
arrayMap = require('./_arrayMap'), | ||
baseFlatten = require('./_baseFlatten'), | ||
baseIteratee = require('./_baseIteratee'), | ||
rest = require('./rest'); | ||
@@ -6,0 +6,0 @@ |
@@ -1,3 +0,3 @@ | ||
var arrayEvery = require('./internal/arrayEvery'), | ||
createOver = require('./internal/createOver'); | ||
var arrayEvery = require('./_arrayEvery'), | ||
createOver = require('./_createOver'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var arraySome = require('./internal/arraySome'), | ||
createOver = require('./internal/createOver'); | ||
var arraySome = require('./_arraySome'), | ||
createOver = require('./_createOver'); | ||
@@ -4,0 +4,0 @@ /** |
{ | ||
"name": "lodash", | ||
"version": "4.0.1", | ||
"version": "4.1.0", | ||
"description": "Lodash modular utilities.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
@@ -1,3 +0,3 @@ | ||
var createPadding = require('./internal/createPadding'), | ||
stringSize = require('./internal/stringSize'), | ||
var createPadding = require('./_createPadding'), | ||
stringSize = require('./_stringSize'), | ||
toInteger = require('./toInteger'), | ||
@@ -4,0 +4,0 @@ toString = require('./toString'); |
@@ -1,2 +0,2 @@ | ||
var createPadding = require('./internal/createPadding'), | ||
var createPadding = require('./_createPadding'), | ||
toString = require('./toString'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var createPadding = require('./internal/createPadding'), | ||
var createPadding = require('./_createPadding'), | ||
toString = require('./toString'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,3 +0,3 @@ | ||
var createWrapper = require('./internal/createWrapper'), | ||
replaceHolders = require('./internal/replaceHolders'), | ||
var createWrapper = require('./_createWrapper'), | ||
replaceHolders = require('./_replaceHolders'), | ||
rest = require('./rest'); | ||
@@ -4,0 +4,0 @@ |
@@ -1,3 +0,3 @@ | ||
var createWrapper = require('./internal/createWrapper'), | ||
replaceHolders = require('./internal/replaceHolders'), | ||
var createWrapper = require('./_createWrapper'), | ||
replaceHolders = require('./_replaceHolders'), | ||
rest = require('./rest'); | ||
@@ -4,0 +4,0 @@ |
@@ -1,2 +0,2 @@ | ||
var createAggregator = require('./internal/createAggregator'); | ||
var createAggregator = require('./_createAggregator'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseFlatten = require('./internal/baseFlatten'), | ||
basePick = require('./internal/basePick'), | ||
var baseFlatten = require('./_baseFlatten'), | ||
basePick = require('./_basePick'), | ||
rest = require('./rest'); | ||
@@ -4,0 +4,0 @@ |
@@ -1,3 +0,3 @@ | ||
var baseIteratee = require('./internal/baseIteratee'), | ||
basePickBy = require('./internal/basePickBy'); | ||
var baseIteratee = require('./_baseIteratee'), | ||
basePickBy = require('./_basePickBy'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseLodash = require('./internal/baseLodash'), | ||
wrapperClone = require('./internal/wrapperClone'); | ||
var baseLodash = require('./_baseLodash'), | ||
wrapperClone = require('./_wrapperClone'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
var baseProperty = require('./internal/baseProperty'), | ||
basePropertyDeep = require('./internal/basePropertyDeep'), | ||
isKey = require('./internal/isKey'); | ||
var baseProperty = require('./_baseProperty'), | ||
basePropertyDeep = require('./_basePropertyDeep'), | ||
isKey = require('./_isKey'); | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseGet = require('./internal/baseGet'); | ||
var baseGet = require('./_baseGet'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var basePullAll = require('./internal/basePullAll'); | ||
var basePullAll = require('./_basePullAll'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseIteratee = require('./internal/baseIteratee'), | ||
basePullAllBy = require('./internal/basePullAllBy'); | ||
var baseIteratee = require('./_baseIteratee'), | ||
basePullAllBy = require('./_basePullAllBy'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,6 +0,6 @@ | ||
var arrayMap = require('./internal/arrayMap'), | ||
baseAt = require('./internal/baseAt'), | ||
baseFlatten = require('./internal/baseFlatten'), | ||
basePullAt = require('./internal/basePullAt'), | ||
compareAscending = require('./internal/compareAscending'), | ||
var arrayMap = require('./_arrayMap'), | ||
baseAt = require('./_baseAt'), | ||
baseFlatten = require('./_baseFlatten'), | ||
basePullAt = require('./_basePullAt'), | ||
compareAscending = require('./_compareAscending'), | ||
rest = require('./rest'); | ||
@@ -7,0 +7,0 @@ |
@@ -1,3 +0,3 @@ | ||
var baseRandom = require('./internal/baseRandom'), | ||
isIterateeCall = require('./internal/isIterateeCall'), | ||
var baseRandom = require('./_baseRandom'), | ||
isIterateeCall = require('./_isIterateeCall'), | ||
toNumber = require('./toNumber'); | ||
@@ -4,0 +4,0 @@ |
@@ -1,2 +0,2 @@ | ||
var createRange = require('./internal/createRange'); | ||
var createRange = require('./_createRange'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var createRange = require('./internal/createRange'); | ||
var createRange = require('./_createRange'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,11 +0,5 @@ | ||
# lodash v4.0.1 | ||
# lodash v4.1.0 | ||
The [lodash](https://lodash.com/) library exported as [Node.js](https://nodejs.org/) modules. | ||
Generated using [lodash-cli](https://www.npmjs.com/package/lodash-cli): | ||
```bash | ||
$ lodash modularize exports=node -o ./ | ||
$ lodash -d -o ./lodash.js | ||
``` | ||
## Installation | ||
@@ -25,11 +19,15 @@ | ||
var _ = require('lodash/core'); | ||
// load the fp build | ||
// load the fp build for immutable auto-curried iteratee-first data-last methods | ||
var _ = require('lodash/fp'); | ||
// or a method category | ||
var array = require('lodash/array'); | ||
// or a method (great for smaller builds with browserify/webpack) | ||
var object = require('lodash/fp/object'); | ||
// or method for smaller builds with browserify/rollup/webpack | ||
var chunk = require('lodash/chunk'); | ||
var extend = require('lodash/fp/extend'); | ||
``` | ||
See the [package source](https://github.com/lodash/lodash/tree/4.0.1-npm) for more details. | ||
See the [package source](https://github.com/lodash/lodash/tree/4.1.0-npm) for more details. | ||
@@ -46,3 +44,3 @@ **Note:**<br> | ||
* [lodash-amd](https://www.npmjs.com/package/lodash-amd) | ||
* [lodash-es](https://www.npmjs.com/package/lodash-es) | ||
* [lodash-es](https://www.npmjs.com/package/lodash-es) & [babel-plugin-lodash](https://www.npmjs.com/package/babel-plugin-lodash) | ||
@@ -59,3 +57,3 @@ ## Further Reading | ||
Tested in Chrome 46-47, Firefox 42-43, IE 9-11, Edge 13, Safari 8-9, Node.js 0.10.x, 0.12.x, 4.x, & 5.x, & PhantomJS 1.9.8. | ||
Tested in Chrome 46-47, Firefox 42-43, IE 9-11, Edge 13, Safari 8-9, Node.js 0.10, 0.12, 4, & 5, & PhantomJS 1.9.8. | ||
Automated [browser](https://saucelabs.com/u/lodash) & [CI](https://travis-ci.org/lodash/lodash/) test runs are available. Special thanks to [Sauce Labs](https://saucelabs.com/) for providing automated browser testing. |
@@ -1,3 +0,3 @@ | ||
var baseFlatten = require('./internal/baseFlatten'), | ||
createWrapper = require('./internal/createWrapper'), | ||
var baseFlatten = require('./_baseFlatten'), | ||
createWrapper = require('./_createWrapper'), | ||
rest = require('./rest'); | ||
@@ -4,0 +4,0 @@ |
@@ -1,5 +0,5 @@ | ||
var arrayReduce = require('./internal/arrayReduce'), | ||
baseEach = require('./internal/baseEach'), | ||
baseIteratee = require('./internal/baseIteratee'), | ||
baseReduce = require('./internal/baseReduce'), | ||
var arrayReduce = require('./_arrayReduce'), | ||
baseEach = require('./_baseEach'), | ||
baseIteratee = require('./_baseIteratee'), | ||
baseReduce = require('./_baseReduce'), | ||
isArray = require('./isArray'); | ||
@@ -33,3 +33,3 @@ | ||
* return sum + n; | ||
* }); | ||
* }, 0); | ||
* // => 3 | ||
@@ -36,0 +36,0 @@ * |
@@ -1,5 +0,5 @@ | ||
var arrayReduceRight = require('./internal/arrayReduceRight'), | ||
baseEachRight = require('./internal/baseEachRight'), | ||
baseIteratee = require('./internal/baseIteratee'), | ||
baseReduce = require('./internal/baseReduce'), | ||
var arrayReduceRight = require('./_arrayReduceRight'), | ||
baseEachRight = require('./_baseEachRight'), | ||
baseIteratee = require('./_baseIteratee'), | ||
baseReduce = require('./_baseReduce'), | ||
isArray = require('./isArray'); | ||
@@ -6,0 +6,0 @@ |
@@ -1,4 +0,4 @@ | ||
var arrayFilter = require('./internal/arrayFilter'), | ||
baseFilter = require('./internal/baseFilter'), | ||
baseIteratee = require('./internal/baseIteratee'), | ||
var arrayFilter = require('./_arrayFilter'), | ||
baseFilter = require('./_baseFilter'), | ||
baseIteratee = require('./_baseIteratee'), | ||
isArray = require('./isArray'); | ||
@@ -5,0 +5,0 @@ |
@@ -1,3 +0,3 @@ | ||
var baseIteratee = require('./internal/baseIteratee'), | ||
basePullAt = require('./internal/basePullAt'); | ||
var baseIteratee = require('./_baseIteratee'), | ||
basePullAt = require('./_basePullAt'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var apply = require('./internal/apply'), | ||
var apply = require('./_apply'), | ||
toInteger = require('./toInteger'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,6 +0,6 @@ | ||
var baseToPath = require('./internal/baseToPath'), | ||
var baseToPath = require('./_baseToPath'), | ||
get = require('./get'), | ||
isFunction = require('./isFunction'), | ||
isKey = require('./internal/isKey'), | ||
parent = require('./internal/parent'); | ||
isKey = require('./_isKey'), | ||
parent = require('./_parent'); | ||
@@ -7,0 +7,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var createRound = require('./internal/createRound'); | ||
var createRound = require('./_createRound'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseRandom = require('./internal/baseRandom'), | ||
var baseRandom = require('./_baseRandom'), | ||
isArrayLike = require('./isArrayLike'), | ||
@@ -3,0 +3,0 @@ values = require('./values'); |
@@ -1,3 +0,3 @@ | ||
var baseClamp = require('./internal/baseClamp'), | ||
baseRandom = require('./internal/baseRandom'), | ||
var baseClamp = require('./_baseClamp'), | ||
baseRandom = require('./_baseRandom'), | ||
toArray = require('./toArray'), | ||
@@ -4,0 +4,0 @@ toInteger = require('./toInteger'); |
@@ -1,2 +0,2 @@ | ||
var baseSet = require('./internal/baseSet'); | ||
var baseSet = require('./_baseSet'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseSet = require('./internal/baseSet'); | ||
var baseSet = require('./_baseSet'); | ||
@@ -3,0 +3,0 @@ /** |
var isArrayLike = require('./isArrayLike'), | ||
isString = require('./isString'), | ||
keys = require('./keys'), | ||
stringSize = require('./internal/stringSize'); | ||
stringSize = require('./_stringSize'); | ||
@@ -6,0 +6,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseSlice = require('./internal/baseSlice'), | ||
isIterateeCall = require('./internal/isIterateeCall'), | ||
var baseSlice = require('./_baseSlice'), | ||
isIterateeCall = require('./_isIterateeCall'), | ||
toInteger = require('./toInteger'); | ||
@@ -4,0 +4,0 @@ |
@@ -1,2 +0,2 @@ | ||
var createCompounder = require('./internal/createCompounder'); | ||
var createCompounder = require('./_createCompounder'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,6 +0,6 @@ | ||
var arraySome = require('./internal/arraySome'), | ||
baseIteratee = require('./internal/baseIteratee'), | ||
baseSome = require('./internal/baseSome'), | ||
var arraySome = require('./_arraySome'), | ||
baseIteratee = require('./_baseIteratee'), | ||
baseSome = require('./_baseSome'), | ||
isArray = require('./isArray'), | ||
isIterateeCall = require('./internal/isIterateeCall'); | ||
isIterateeCall = require('./_isIterateeCall'); | ||
@@ -7,0 +7,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
var baseFlatten = require('./internal/baseFlatten'), | ||
baseOrderBy = require('./internal/baseOrderBy'), | ||
isIterateeCall = require('./internal/isIterateeCall'), | ||
var baseFlatten = require('./_baseFlatten'), | ||
baseOrderBy = require('./_baseOrderBy'), | ||
isIterateeCall = require('./_isIterateeCall'), | ||
rest = require('./rest'); | ||
@@ -5,0 +5,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseSortedIndex = require('./internal/baseSortedIndex'); | ||
var baseSortedIndex = require('./_baseSortedIndex'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseIteratee = require('./internal/baseIteratee'), | ||
baseSortedIndexBy = require('./internal/baseSortedIndexBy'); | ||
var baseIteratee = require('./_baseIteratee'), | ||
baseSortedIndexBy = require('./_baseSortedIndexBy'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseSortedIndex = require('./internal/baseSortedIndex'), | ||
var baseSortedIndex = require('./_baseSortedIndex'), | ||
eq = require('./eq'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseSortedIndex = require('./internal/baseSortedIndex'); | ||
var baseSortedIndex = require('./_baseSortedIndex'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseIteratee = require('./internal/baseIteratee'), | ||
baseSortedIndexBy = require('./internal/baseSortedIndexBy'); | ||
var baseIteratee = require('./_baseIteratee'), | ||
baseSortedIndexBy = require('./_baseSortedIndexBy'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseSortedIndex = require('./internal/baseSortedIndex'), | ||
var baseSortedIndex = require('./_baseSortedIndex'), | ||
eq = require('./eq'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseSortedUniq = require('./internal/baseSortedUniq'); | ||
var baseSortedUniq = require('./_baseSortedUniq'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseIteratee = require('./internal/baseIteratee'), | ||
baseSortedUniqBy = require('./internal/baseSortedUniqBy'); | ||
var baseIteratee = require('./_baseIteratee'), | ||
baseSortedUniqBy = require('./_baseSortedUniqBy'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var apply = require('./internal/apply'); | ||
var apply = require('./_apply'); | ||
@@ -3,0 +3,0 @@ /** Used as the `TypeError` message for "Functions" methods. */ |
var capitalize = require('./capitalize'), | ||
createCompounder = require('./internal/createCompounder'); | ||
createCompounder = require('./_createCompounder'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseClamp = require('./internal/baseClamp'), | ||
var baseClamp = require('./_baseClamp'), | ||
toInteger = require('./toInteger'), | ||
@@ -3,0 +3,0 @@ toString = require('./toString'); |
@@ -1,2 +0,2 @@ | ||
var baseSum = require('./internal/baseSum'), | ||
var baseSum = require('./_baseSum'), | ||
identity = require('./identity'); | ||
@@ -20,5 +20,5 @@ | ||
? baseSum(array, identity) | ||
: undefined; | ||
: 0; | ||
} | ||
module.exports = sum; |
@@ -1,3 +0,3 @@ | ||
var baseIteratee = require('./internal/baseIteratee'), | ||
baseSum = require('./internal/baseSum'); | ||
var baseIteratee = require('./_baseIteratee'), | ||
baseSum = require('./_baseSum'); | ||
@@ -29,5 +29,5 @@ /** | ||
? baseSum(array, baseIteratee(iteratee)) | ||
: undefined; | ||
: 0; | ||
} | ||
module.exports = sumBy; |
@@ -1,2 +0,2 @@ | ||
var baseSlice = require('./internal/baseSlice'), | ||
var baseSlice = require('./_baseSlice'), | ||
toInteger = require('./toInteger'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseSlice = require('./internal/baseSlice'), | ||
var baseSlice = require('./_baseSlice'), | ||
toInteger = require('./toInteger'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,3 +0,3 @@ | ||
var baseIteratee = require('./internal/baseIteratee'), | ||
baseWhile = require('./internal/baseWhile'); | ||
var baseIteratee = require('./_baseIteratee'), | ||
baseWhile = require('./_baseWhile'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseIteratee = require('./internal/baseIteratee'), | ||
baseWhile = require('./internal/baseWhile'); | ||
var baseIteratee = require('./_baseIteratee'), | ||
baseWhile = require('./_baseWhile'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,10 +0,10 @@ | ||
var assignInDefaults = require('./internal/assignInDefaults'), | ||
var assignInDefaults = require('./_assignInDefaults'), | ||
assignInWith = require('./assignInWith'), | ||
attempt = require('./attempt'), | ||
baseValues = require('./internal/baseValues'), | ||
escapeStringChar = require('./internal/escapeStringChar'), | ||
baseValues = require('./_baseValues'), | ||
escapeStringChar = require('./_escapeStringChar'), | ||
isError = require('./isError'), | ||
isIterateeCall = require('./internal/isIterateeCall'), | ||
isIterateeCall = require('./_isIterateeCall'), | ||
keys = require('./keys'), | ||
reInterpolate = require('./internal/reInterpolate'), | ||
reInterpolate = require('./_reInterpolate'), | ||
templateSettings = require('./templateSettings'), | ||
@@ -11,0 +11,0 @@ toString = require('./toString'); |
var escape = require('./escape'), | ||
reEscape = require('./internal/reEscape'), | ||
reEvaluate = require('./internal/reEvaluate'), | ||
reInterpolate = require('./internal/reInterpolate'); | ||
reEscape = require('./_reEscape'), | ||
reEvaluate = require('./_reEvaluate'), | ||
reInterpolate = require('./_reInterpolate'); | ||
@@ -6,0 +6,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseTimes = require('./internal/baseTimes'), | ||
toFunction = require('./internal/toFunction'), | ||
var baseTimes = require('./_baseTimes'), | ||
toFunction = require('./_toFunction'), | ||
toInteger = require('./toInteger'); | ||
@@ -4,0 +4,0 @@ |
@@ -1,10 +0,10 @@ | ||
var Symbol = require('./internal/Symbol'), | ||
copyArray = require('./internal/copyArray'), | ||
getTag = require('./internal/getTag'), | ||
var Symbol = require('./_Symbol'), | ||
copyArray = require('./_copyArray'), | ||
getTag = require('./_getTag'), | ||
isArrayLike = require('./isArrayLike'), | ||
isString = require('./isString'), | ||
iteratorToArray = require('./internal/iteratorToArray'), | ||
mapToArray = require('./internal/mapToArray'), | ||
setToArray = require('./internal/setToArray'), | ||
stringToArray = require('./internal/stringToArray'), | ||
iteratorToArray = require('./_iteratorToArray'), | ||
mapToArray = require('./_mapToArray'), | ||
setToArray = require('./_setToArray'), | ||
stringToArray = require('./_stringToArray'), | ||
values = require('./values'); | ||
@@ -11,0 +11,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseClamp = require('./internal/baseClamp'), | ||
var baseClamp = require('./_baseClamp'), | ||
toInteger = require('./toInteger'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseToPairs = require('./internal/baseToPairs'), | ||
var baseToPairs = require('./_baseToPairs'), | ||
keys = require('./keys'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseToPairs = require('./internal/baseToPairs'), | ||
var baseToPairs = require('./_baseToPairs'), | ||
keysIn = require('./keysIn'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,4 +0,4 @@ | ||
var arrayMap = require('./internal/arrayMap'), | ||
var arrayMap = require('./_arrayMap'), | ||
isArray = require('./isArray'), | ||
stringToPath = require('./internal/stringToPath'); | ||
stringToPath = require('./_stringToPath'); | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var copyObject = require('./internal/copyObject'), | ||
var copyObject = require('./_copyObject'), | ||
keysIn = require('./keysIn'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseClamp = require('./internal/baseClamp'), | ||
var baseClamp = require('./_baseClamp'), | ||
toInteger = require('./toInteger'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var Symbol = require('./internal/Symbol'), | ||
var Symbol = require('./_Symbol'), | ||
isSymbol = require('./isSymbol'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,5 +0,5 @@ | ||
var arrayEach = require('./internal/arrayEach'), | ||
baseCreate = require('./internal/baseCreate'), | ||
baseForOwn = require('./internal/baseForOwn'), | ||
baseIteratee = require('./internal/baseIteratee'), | ||
var arrayEach = require('./_arrayEach'), | ||
baseCreate = require('./_baseCreate'), | ||
baseForOwn = require('./_baseForOwn'), | ||
baseIteratee = require('./_baseIteratee'), | ||
isArray = require('./isArray'), | ||
@@ -30,3 +30,3 @@ isFunction = require('./isFunction'), | ||
* return n % 2 == 0; | ||
* }); | ||
* }, []); | ||
* // => [4, 9] | ||
@@ -36,3 +36,3 @@ * | ||
* (result[value] || (result[value] = [])).push(key); | ||
* }); | ||
* }, {}); | ||
* // => { '1': ['a', 'c'], '2': ['b'] } | ||
@@ -39,0 +39,0 @@ */ |
@@ -1,4 +0,4 @@ | ||
var charsEndIndex = require('./internal/charsEndIndex'), | ||
charsStartIndex = require('./internal/charsStartIndex'), | ||
stringToArray = require('./internal/stringToArray'), | ||
var charsEndIndex = require('./_charsEndIndex'), | ||
charsStartIndex = require('./_charsStartIndex'), | ||
stringToArray = require('./_stringToArray'), | ||
toString = require('./toString'); | ||
@@ -5,0 +5,0 @@ |
@@ -1,3 +0,3 @@ | ||
var charsEndIndex = require('./internal/charsEndIndex'), | ||
stringToArray = require('./internal/stringToArray'), | ||
var charsEndIndex = require('./_charsEndIndex'), | ||
stringToArray = require('./_stringToArray'), | ||
toString = require('./toString'); | ||
@@ -4,0 +4,0 @@ |
@@ -1,3 +0,3 @@ | ||
var charsStartIndex = require('./internal/charsStartIndex'), | ||
stringToArray = require('./internal/stringToArray'), | ||
var charsStartIndex = require('./_charsStartIndex'), | ||
stringToArray = require('./_stringToArray'), | ||
toString = require('./toString'); | ||
@@ -4,0 +4,0 @@ |
var isObject = require('./isObject'), | ||
isRegExp = require('./isRegExp'), | ||
stringSize = require('./internal/stringSize'), | ||
stringToArray = require('./internal/stringToArray'), | ||
stringSize = require('./_stringSize'), | ||
stringToArray = require('./_stringToArray'), | ||
toInteger = require('./toInteger'), | ||
@@ -6,0 +6,0 @@ toString = require('./toString'); |
var toString = require('./toString'), | ||
unescapeHtmlChar = require('./internal/unescapeHtmlChar'); | ||
unescapeHtmlChar = require('./_unescapeHtmlChar'); | ||
@@ -4,0 +4,0 @@ /** Used to match HTML entities and HTML characters. */ |
@@ -1,3 +0,3 @@ | ||
var baseFlatten = require('./internal/baseFlatten'), | ||
baseUniq = require('./internal/baseUniq'), | ||
var baseFlatten = require('./_baseFlatten'), | ||
baseUniq = require('./_baseUniq'), | ||
rest = require('./rest'); | ||
@@ -4,0 +4,0 @@ |
@@ -1,4 +0,4 @@ | ||
var baseFlatten = require('./internal/baseFlatten'), | ||
baseIteratee = require('./internal/baseIteratee'), | ||
baseUniq = require('./internal/baseUniq'), | ||
var baseFlatten = require('./_baseFlatten'), | ||
baseIteratee = require('./_baseIteratee'), | ||
baseUniq = require('./_baseUniq'), | ||
isArrayLikeObject = require('./isArrayLikeObject'), | ||
@@ -5,0 +5,0 @@ last = require('./last'), |
@@ -1,3 +0,3 @@ | ||
var baseFlatten = require('./internal/baseFlatten'), | ||
baseUniq = require('./internal/baseUniq'), | ||
var baseFlatten = require('./_baseFlatten'), | ||
baseUniq = require('./_baseUniq'), | ||
isArrayLikeObject = require('./isArrayLikeObject'), | ||
@@ -4,0 +4,0 @@ last = require('./last'), |
@@ -1,2 +0,2 @@ | ||
var baseUniq = require('./internal/baseUniq'); | ||
var baseUniq = require('./_baseUniq'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var baseIteratee = require('./internal/baseIteratee'), | ||
baseUniq = require('./internal/baseUniq'); | ||
var baseIteratee = require('./_baseIteratee'), | ||
baseUniq = require('./_baseUniq'); | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseUniq = require('./internal/baseUniq'); | ||
var baseUniq = require('./_baseUniq'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseUnset = require('./internal/baseUnset'); | ||
var baseUnset = require('./_baseUnset'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
var arrayFilter = require('./internal/arrayFilter'), | ||
arrayMap = require('./internal/arrayMap'), | ||
baseProperty = require('./internal/baseProperty'), | ||
baseTimes = require('./internal/baseTimes'), | ||
var arrayFilter = require('./_arrayFilter'), | ||
arrayMap = require('./_arrayMap'), | ||
baseProperty = require('./_baseProperty'), | ||
baseTimes = require('./_baseTimes'), | ||
isArrayLikeObject = require('./isArrayLikeObject'); | ||
@@ -6,0 +6,0 @@ |
@@ -1,3 +0,3 @@ | ||
var apply = require('./internal/apply'), | ||
arrayMap = require('./internal/arrayMap'), | ||
var apply = require('./_apply'), | ||
arrayMap = require('./_arrayMap'), | ||
unzip = require('./unzip'); | ||
@@ -4,0 +4,0 @@ |
@@ -1,2 +0,2 @@ | ||
var createCompounder = require('./internal/createCompounder'); | ||
var createCompounder = require('./_createCompounder'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var createCaseFirst = require('./internal/createCaseFirst'); | ||
var createCaseFirst = require('./_createCaseFirst'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
var baseValues = require('./internal/baseValues'), | ||
var baseValues = require('./_baseValues'), | ||
keys = require('./keys'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseValues = require('./internal/baseValues'), | ||
var baseValues = require('./_baseValues'), | ||
keysIn = require('./keysIn'); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var baseDifference = require('./internal/baseDifference'), | ||
var baseDifference = require('./_baseDifference'), | ||
isArrayLikeObject = require('./isArrayLikeObject'), | ||
@@ -3,0 +3,0 @@ rest = require('./rest'); |
@@ -1,6 +0,6 @@ | ||
var LazyWrapper = require('./internal/LazyWrapper'), | ||
LodashWrapper = require('./internal/LodashWrapper'), | ||
baseAt = require('./internal/baseAt'), | ||
baseFlatten = require('./internal/baseFlatten'), | ||
isIndex = require('./internal/isIndex'), | ||
var LazyWrapper = require('./_LazyWrapper'), | ||
LodashWrapper = require('./_LodashWrapper'), | ||
baseAt = require('./_baseAt'), | ||
baseFlatten = require('./_baseFlatten'), | ||
isIndex = require('./_isIndex'), | ||
rest = require('./rest'), | ||
@@ -7,0 +7,0 @@ thru = require('./thru'); |
@@ -1,7 +0,7 @@ | ||
var LazyWrapper = require('./internal/LazyWrapper'), | ||
LodashWrapper = require('./internal/LodashWrapper'), | ||
baseLodash = require('./internal/baseLodash'), | ||
var LazyWrapper = require('./_LazyWrapper'), | ||
LodashWrapper = require('./_LodashWrapper'), | ||
baseLodash = require('./_baseLodash'), | ||
isArray = require('./isArray'), | ||
isObjectLike = require('./isObjectLike'), | ||
wrapperClone = require('./internal/wrapperClone'); | ||
wrapperClone = require('./_wrapperClone'); | ||
@@ -60,16 +60,17 @@ /** Used for built-in method references. */ | ||
* `flowRight`, `fromPairs`, `functions`, `functionsIn`, `groupBy`, `initial`, | ||
* `intersection`, `intersectionBy`, `intersectionWith`, `invert`, `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`, and `zipWith` | ||
* `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` | ||
* | ||
@@ -76,0 +77,0 @@ * The wrapper methods that are **not** chainable by default are: |
@@ -1,3 +0,3 @@ | ||
var LazyWrapper = require('./internal/LazyWrapper'), | ||
LodashWrapper = require('./internal/LodashWrapper'), | ||
var LazyWrapper = require('./_LazyWrapper'), | ||
LodashWrapper = require('./_LodashWrapper'), | ||
reverse = require('./reverse'), | ||
@@ -4,0 +4,0 @@ thru = require('./thru'); |
@@ -1,2 +0,2 @@ | ||
var baseWrapperValue = require('./internal/baseWrapperValue'); | ||
var baseWrapperValue = require('./_baseWrapperValue'); | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
var arrayFilter = require('./internal/arrayFilter'), | ||
baseXor = require('./internal/baseXor'), | ||
var arrayFilter = require('./_arrayFilter'), | ||
baseXor = require('./_baseXor'), | ||
isArrayLikeObject = require('./isArrayLikeObject'), | ||
@@ -4,0 +4,0 @@ rest = require('./rest'); |
@@ -1,4 +0,4 @@ | ||
var arrayFilter = require('./internal/arrayFilter'), | ||
baseIteratee = require('./internal/baseIteratee'), | ||
baseXor = require('./internal/baseXor'), | ||
var arrayFilter = require('./_arrayFilter'), | ||
baseIteratee = require('./_baseIteratee'), | ||
baseXor = require('./_baseXor'), | ||
isArrayLikeObject = require('./isArrayLikeObject'), | ||
@@ -5,0 +5,0 @@ last = require('./last'), |
@@ -1,3 +0,3 @@ | ||
var arrayFilter = require('./internal/arrayFilter'), | ||
baseXor = require('./internal/baseXor'), | ||
var arrayFilter = require('./_arrayFilter'), | ||
baseXor = require('./_baseXor'), | ||
isArrayLikeObject = require('./isArrayLikeObject'), | ||
@@ -4,0 +4,0 @@ last = require('./last'), |
@@ -1,2 +0,3 @@ | ||
var baseSet = require('./internal/baseSet'); | ||
var assignValue = require('./_assignValue'), | ||
baseZipObject = require('./_baseZipObject'); | ||
@@ -15,17 +16,9 @@ /** | ||
* | ||
* _.zipObject(['fred', 'barney'], [30, 40]); | ||
* // => { 'fred': 30, 'barney': 40 } | ||
* _.zipObject(['a', 'b'], [1, 2]); | ||
* // => { 'a': 1, 'b': 2 } | ||
*/ | ||
function zipObject(props, values) { | ||
var index = -1, | ||
length = props ? props.length : 0, | ||
valsLength = values ? values.length : 0, | ||
result = {}; | ||
while (++index < length) { | ||
baseSet(result, props[index], index < valsLength ? values[index] : undefined); | ||
} | ||
return result; | ||
return baseZipObject(props || [], values || [], assignValue); | ||
} | ||
module.exports = zipObject; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1100457
858
33506
57