diff --git a/lib/fp/mapping.js b/lib/fp/mapping.js index de71807fe..ac97db231 100644 --- a/lib/fp/mapping.js +++ b/lib/fp/mapping.js @@ -47,6 +47,7 @@ module.exports = { 'findLast': 1, 'findLastIndex': 1, 'findLastKey': 1, + 'flatMap': 1, 'forEach': 1, 'forEachRight': 1, 'forIn': 1, @@ -80,11 +81,11 @@ module.exports = { 'add,ary,assign,at,bind,bindKey,cloneDeepWith,cloneWith,concat,countBy,curryN,' + 'debounce,defaults,defaultsDeep,delay,difference,drop,dropRight,dropRightWhile,' + 'dropWhile,endsWith,every,extend,filter,find,find,findIndex,findKey,findLast,' + - 'findLastIndex,findLastKey,forEach,forEachRight,forIn,forInRight,forOwn,' + - 'forOwnRight,get,groupBy,includes,indexBy,indexOf,intersection,invoke,isMatch,' + - 'lastIndexOf,map,mapKeys,mapValues,matchesProperty,maxBy,mean,minBy,merge,' + - 'modArgs,modArgsSet,omit,pad,padLeft,padRight,parseInt,partition,pick,pull,' + - 'pullAll,pullAt,random,range,rearg,reject,remove,repeat,result,sampleSize,' + + 'findLastIndex,findLastKey,flatMap,forEach,forEachRight,forIn,forInRight,' + + 'forOwn,forOwnRight,get,groupBy,includes,indexBy,indexOf,intersection,invoke,' + + 'isMatch,lastIndexOf,map,mapKeys,mapValues,matchesProperty,maxBy,mean,minBy,' + + 'merge,modArgs,modArgsSet,omit,pad,padLeft,padRight,parseInt,partition,pick,' + + 'pull,pullAll,pullAt,random,range,rearg,reject,remove,repeat,result,sampleSize,' + 'set,some,sortBy,sortByOrder,sortedIndexBy,sortedLastIndexBy,sortedUniqBy,' + 'startsWith,subtract,sumBy,take,takeRight,takeRightWhile,takeWhile,throttle,' + 'times,truncate,union,uniqBy,without,wrap,xor,zip,zipObject').split(','), @@ -119,10 +120,7 @@ module.exports = { 'keyMap': { 'curryN': 'curry', 'curryRightN': 'curryRight', - 'debounceOpt': 'debounce', - 'fromPairs': 'zipObject', - 'getOr': 'get', - 'throttleOpt': 'throttle' + 'getOr': 'get' }, /** Used to identify methods which mutate arrays or objects. */