mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 19:07:49 +00:00
Update fp mapping to include uniqWith. [closes #1800]
This commit is contained in:
@@ -3,8 +3,8 @@ module.exports = {
|
|||||||
/** Used to map method names to their aliases. */
|
/** Used to map method names to their aliases. */
|
||||||
'alias': {
|
'alias': {
|
||||||
'ary': ['nAry'],
|
'ary': ['nAry'],
|
||||||
'overEvery': ['allPass'],
|
'assignIn': ['extend'],
|
||||||
'overSome': ['somePass'],
|
'assignInWith': ['extendWith'],
|
||||||
'filter': ['whereEq'],
|
'filter': ['whereEq'],
|
||||||
'flatten': ['unnest'],
|
'flatten': ['unnest'],
|
||||||
'flow': ['pipe'],
|
'flow': ['pipe'],
|
||||||
@@ -19,8 +19,10 @@ module.exports = {
|
|||||||
'isEqual': ['equals'],
|
'isEqual': ['equals'],
|
||||||
'mapValues': ['mapObj'],
|
'mapValues': ['mapObj'],
|
||||||
'matchesProperty': ['pathEq'],
|
'matchesProperty': ['pathEq'],
|
||||||
'overArgs': ['useWith'],
|
|
||||||
'omit': ['dissoc', 'omitAll'],
|
'omit': ['dissoc', 'omitAll'],
|
||||||
|
'overArgs': ['useWith'],
|
||||||
|
'overEvery': ['allPass'],
|
||||||
|
'overSome': ['somePass'],
|
||||||
'pick': ['pickAll'],
|
'pick': ['pickAll'],
|
||||||
'property': ['get'],
|
'property': ['get'],
|
||||||
'propertyOf': ['propOf'],
|
'propertyOf': ['propOf'],
|
||||||
@@ -33,12 +35,12 @@ module.exports = {
|
|||||||
/** Used to map method names to their iteratee ary. */
|
/** Used to map method names to their iteratee ary. */
|
||||||
'aryIteratee': {
|
'aryIteratee': {
|
||||||
'assignWith': 2,
|
'assignWith': 2,
|
||||||
|
'assignInWith': 2,
|
||||||
'cloneDeepWith': 1,
|
'cloneDeepWith': 1,
|
||||||
'cloneWith': 1,
|
'cloneWith': 1,
|
||||||
'dropRightWhile': 1,
|
'dropRightWhile': 1,
|
||||||
'dropWhile': 1,
|
'dropWhile': 1,
|
||||||
'every': 1,
|
'every': 1,
|
||||||
'extendWith': 2,
|
|
||||||
'filter': 1,
|
'filter': 1,
|
||||||
'find': 1,
|
'find': 1,
|
||||||
'findIndex': 1,
|
'findIndex': 1,
|
||||||
@@ -88,11 +90,12 @@ module.exports = {
|
|||||||
'pullAt,random,range,rangeRight,rearg,reject,remove,repeat,result,sampleSize,' +
|
'pullAt,random,range,rangeRight,rearg,reject,remove,repeat,result,sampleSize,' +
|
||||||
'some,sortBy,sortedIndexBy,sortedLastIndexBy,sortedUniqBy,split,startsWith,' +
|
'some,sortBy,sortedIndexBy,sortedLastIndexBy,sortedUniqBy,split,startsWith,' +
|
||||||
'subtract,sumBy,take,takeRight,takeRightWhile,takeWhile,throttle,times,' +
|
'subtract,sumBy,take,takeRight,takeRightWhile,takeWhile,throttle,times,' +
|
||||||
'truncate,union,uniqBy,without,wrap,xor,zip,zipObject').split(','),
|
'truncate,union,uniqBy,uniqWith,without,wrap,xor,zip,zipObject').split(','),
|
||||||
3: (
|
3: (
|
||||||
'assignWith,clamp,differenceBy,extendWith,getOr,inRange,intersectionBy,' +
|
'assignWith,assignInWith,clamp,differenceBy,differenceWith,getOr,inRange,' +
|
||||||
'isEqualWith,isMatchWith,mergeWith,omitBy,pickBy,pullAllBy,reduce,' +
|
'intersectionBy,intersectionWith,isEqualWith,isMatchWith,mergeWith,omitBy,' +
|
||||||
'reduceRight,replace,set,slice,transform,unionBy,xorBy,zipWith').split(','),
|
'pickBy,pullAllBy,reduce,reduceRight,replace,set,slice,transform,unionBy,' +
|
||||||
|
'unionWith,xorBy,xorWith,zipWith').split(','),
|
||||||
4:
|
4:
|
||||||
['fill', 'setWith']
|
['fill', 'setWith']
|
||||||
},
|
},
|
||||||
@@ -138,11 +141,11 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
'object': {
|
'object': {
|
||||||
'assign': true,
|
'assign': true,
|
||||||
|
'assignIn': true,
|
||||||
|
'assignInWith': true,
|
||||||
'assignWith': true,
|
'assignWith': true,
|
||||||
'defaults': true,
|
'defaults': true,
|
||||||
'defaultsDeep': true,
|
'defaultsDeep': true,
|
||||||
'extend': true,
|
|
||||||
'extendWith': true,
|
|
||||||
'merge': true,
|
'merge': true,
|
||||||
'mergeWith': true
|
'mergeWith': true
|
||||||
},
|
},
|
||||||
@@ -169,7 +172,6 @@ module.exports = {
|
|||||||
'defaults': true,
|
'defaults': true,
|
||||||
'defaultsDeep': true,
|
'defaultsDeep': true,
|
||||||
'difference': true,
|
'difference': true,
|
||||||
'extend': true,
|
|
||||||
'matchesProperty': true,
|
'matchesProperty': true,
|
||||||
'merge': true,
|
'merge': true,
|
||||||
'random': true,
|
'random': true,
|
||||||
|
|||||||
Reference in New Issue
Block a user