From 565bad6f5e0c60c521700a41f7d1e1602fc77e88 Mon Sep 17 00:00:00 2001 From: Omer Ganim Date: Mon, 30 May 2016 11:28:19 +0300 Subject: [PATCH] update methodDataByVersion up to v4.13.x --- src/util/methodDataByVersion.js | 40 +++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/src/util/methodDataByVersion.js b/src/util/methodDataByVersion.js index ece015c..65bfb56 100644 --- a/src/util/methodDataByVersion.js +++ b/src/util/methodDataByVersion.js @@ -454,12 +454,17 @@ module.exports = { 'findKey', 'findLastIndex', 'findLastKey', + 'flatMapDeep', + 'flatMapDepth', 'groupBy', 'intersectionBy', + 'invertBy', 'map', 'mapValues', 'maxBy', 'minBy', + 'overSome', + 'overEvery', 'partition', 'reject', 'remove', @@ -473,12 +478,28 @@ module.exports = { 'uniqBy', 'xorBy' ], - chainable: ['after','ary','assign','assignIn','assignInWith','assignWith','at','before','bind','bindAll','bindKey','castArray','chain','chunk','commit','compact','concat','conforms','constant','countBy','create','curry','debounce','defaults','defaultsDeep','defer','delay','difference','differenceBy','differenceWith','drop','dropRight','dropRightWhile','dropWhile','fill','filter','flatMap','flatten','flattenDeep','flattenDepth','flip','flow','flowRight','fromPairs','functions','functionsIn','groupBy','initial','intersection','intersectionBy','intersectionWith','invert','invertBy','invokeMap','iteratee','keyBy','keys','keysIn','map','mapKeys','mapValues','matches','matchesProperty','memoize','merge','mergeWith','method','methodOf','mixin','negate','nthArg','omit','omitBy','once','orderBy','over','overArgs','overEvery','overSome','partial','partialRight','partition','pick','pickBy','plant','property','propertyOf','pull','pullAll','pullAllBy','pullAllWith','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','update','updateWith','values','valuesIn','without','wrap','xor','xorBy','xorWith','zip','zipObject','zipObjectDeep','zipWith'], + chainable: [ + 'after', 'ary', 'assign', 'assignIn', 'assignInWith', 'assignWith', 'at', 'before', 'bind', 'bindAll', 'bindKey', + 'castArray', 'chain', 'chunk', 'commit', 'compact', 'concat', 'conforms', 'constant', 'countBy', 'create', 'curry', + 'debounce', 'defaults', 'defaultsDeep', 'defer', 'delay', 'difference', 'differenceBy', 'differenceWith', 'drop', + 'dropRight', 'dropRightWhile', 'dropWhile', 'fill', 'filter', 'flatMap', 'flatMapDeep', 'flatMapDepth', 'flatten', + 'flattenDeep', 'flattenDepth', 'flip', 'flow', 'flowRight', 'fromPairs', 'functions', 'functionsIn', 'groupBy', + 'initial', 'intersection', 'intersectionBy', 'intersectionWith', 'invert', 'invertBy', 'invokeMap', 'iteratee', + 'keyBy', 'keys', 'keysIn', 'map', 'mapKeys', 'mapValues', 'matches', 'matchesProperty', 'memoize', 'merge', + 'mergeWith', 'method', 'methodOf', 'mixin', 'negate', 'nthArg', 'omit', 'omitBy', 'once', 'orderBy', 'over', + 'overArgs', 'overEvery', 'overSome', 'partial', 'partialRight', 'partition', 'pick', 'pickBy', 'plant', 'property', + 'propertyOf', 'pull', 'pullAll', 'pullAllBy', 'pullAllWith', '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', 'update', 'updateWith', 'values', 'valuesIn', + 'without', 'wrap', 'xor', 'xorBy', 'xorWith', 'zip', 'zipObject', 'zipObjectDeep', 'zipWith' + ], iteratee: { any: ['cloneDeepWith', 'cloneWith', 'countBy', 'dropRightWhile', 'dropWhile', 'every', 'filter', 'find', 'findIndex', - 'findKey', 'findLast', 'findLastIndex', 'findLastKey', 'flatMap', 'forEach', 'forEachRight', 'forIn', 'forInRight', - 'forOwn', 'forOwnRight', 'groupBy', 'indexBy', 'keyBy', 'map', 'mapKeys', 'mapValues', 'maxBy', 'minBy', 'omitBy', - 'partition', 'pickBy', 'pullAllBy', 'reduce', 'reduceRight', 'reject', 'remove', 'some', 'sortedUniqBy', + 'findKey', 'findLast', 'findLastIndex', 'findLastKey', 'flatMap', 'flatMapDeep', 'flatMapDepth', 'forEach', 'forEachRight', 'forIn', 'forInRight', + 'forOwn', 'forOwnRight', 'groupBy', 'indexBy', 'invertBy', 'keyBy', 'map', 'mapKeys', 'mapValues', 'maxBy', 'meanBy', 'minBy', 'omitBy', + 'partition', 'pickBy', 'reduce', 'reduceRight', 'reject', 'remove', 'some', 'sortedUniqBy', 'sumBy', 'takeRightWhile', 'takeWhile', 'tap', 'thru', 'times', 'transform', 'uniqBy', 'unzipWith', 'xorBy'], differentIndex: { pullAllBy: 2, @@ -514,6 +535,7 @@ module.exports = { curryRight: 2, debounce: 3, deburr: 1, + divide: 2, drop: 2, dropRight: 2, dropRightWhile: 3, @@ -532,6 +554,8 @@ module.exports = { findLastIndex: 2, findLastKey: 2, flatMap: 2, + flatMapDeep: 2, + flatMapDepth: 3, flatten: 1, flattenDeep: 1, flattenDepth: 2, @@ -615,14 +639,17 @@ module.exports = { max: 1, maxBy: 2, mean: 1, + meanBy: 2, memoize: 2, min: 1, minBy: 2, mixin: 3, + multiply: 2, negate: 1, noConflict: 0, noop: 0, now: 0, + nth: 2, nthArg: 1, once: 1, orderBy: 3, @@ -670,6 +697,11 @@ module.exports = { spread: 2, startCase: 1, startsWith: 3, + stubArray: 0, + stabFalse: 0, + stubObject: 0, + stubString: 0, + stubTrue: 0, subtract: 2, sum: 1, sumBy: 2,