1 /** Used to map aliases to their real names. */
2 exports.aliasToReal = {
5 'allPass': 'overEvery',
9 'compose': 'flowRight',
10 'contains': 'includes',
12 'dissocPath': 'unset',
14 'eachRight': 'forEachRight',
17 'extendWith': 'assignInWith',
20 'mapObj': 'mapValues',
24 'pathEq': 'matchesProperty',
29 'propOf': 'propertyOf',
31 'somePass': 'overSome',
34 'useWith': 'overArgs',
39 /** Used to map ary to method names. */
42 'attempt', 'castArray', 'ceil', 'create', 'curry', 'curryRight', 'floor',
43 'fromPairs', 'invert', 'iteratee', 'memoize', 'method', 'methodOf', 'mixin',
44 'over', 'overEvery', 'overSome', 'rest', 'reverse', 'round', 'runInContext',
45 'spread', 'template', 'trim', 'trimEnd', 'trimStart', 'uniqueId', 'words'
48 'add', 'after', 'ary', 'assign', 'assignIn', 'at', 'before', 'bind', 'bindKey',
49 'chunk', 'cloneDeepWith', 'cloneWith', 'concat', 'countBy', 'curryN',
50 'curryRightN', 'debounce', 'defaults', 'defaultsDeep', 'delay', 'difference',
51 'drop', 'dropRight', 'dropRightWhile', 'dropWhile', 'endsWith', 'eq', 'every',
52 'filter', 'find', 'find', 'findIndex', 'findKey', 'findLast', 'findLastIndex',
53 'findLastKey', 'flatMap', 'flattenDepth', 'forEach', 'forEachRight', 'forIn',
54 'forInRight', 'forOwn', 'forOwnRight', 'get', 'groupBy', 'gt', 'gte', 'has',
55 'hasIn', 'includes', 'indexOf', 'intersection', 'invertBy', 'invoke', 'invokeMap',
56 'isEqual', 'isMatch', 'join', 'keyBy', 'lastIndexOf', 'lt', 'lte', 'map',
57 'mapKeys', 'mapValues', 'matchesProperty', 'maxBy', 'merge', 'minBy', 'omit',
58 'omitBy', 'overArgs', 'pad', 'padEnd', 'padStart', 'parseInt',
59 'partial', 'partialRight', 'partition', 'pick', 'pickBy', 'pull', 'pullAll',
60 'pullAt', 'random', 'range', 'rangeRight', 'rearg', 'reject', 'remove',
61 'repeat', 'result', 'sampleSize', 'some', 'sortBy', 'sortedIndex',
62 'sortedIndexOf', 'sortedLastIndex', 'sortedLastIndexOf', 'sortedUniqBy',
63 'split', 'startsWith', 'subtract', 'sumBy', 'take', 'takeRight', 'takeRightWhile',
64 'takeWhile', 'tap', 'throttle', 'thru', 'times', 'trimChars', 'trimCharsEnd',
65 'trimCharsStart', 'truncate', 'union', 'uniqBy', 'uniqWith', 'unset',
66 'unzipWith', 'without', 'wrap', 'xor', 'zip', 'zipObject', 'zipObjectDeep'
69 'assignInWith', 'assignWith', 'clamp', 'differenceBy', 'differenceWith',
70 'getOr', 'inRange', 'intersectionBy', 'intersectionWith', 'isEqualWith',
71 'isMatchWith', 'mergeWith', 'orderBy', 'pullAllBy', 'reduce', 'reduceRight',
72 'replace', 'set', 'slice', 'sortedIndexBy', 'sortedLastIndexBy', 'transform',
73 'unionBy', 'unionWith', 'xorBy', 'xorWith', 'zipWith'
80 /** Used to map ary to rearg configs. */
87 /** Used to map method names to their iteratee ary. */
88 exports.iterateeAry = {
127 /** Used to map method names to iteratee rearg configs. */
128 exports.iterateeRearg = {
132 /** Used to map method names to rearg configs. */
133 exports.methodRearg = {
134 'assignInWith': [1, 2, 0],
135 'assignWith': [1, 2, 0],
137 'isMatchWith': [2, 1, 0],
138 'mergeWith': [1, 2, 0],
139 'pullAllBy': [2, 1, 0],
140 'setWith': [3, 1, 2, 0],
141 'sortedIndexBy': [2, 1, 0],
142 'sortedLastIndexBy': [2, 1, 0],
146 /** Used to map method names to spread configs. */
147 exports.methodSpread = {
152 /** Used to identify methods which mutate arrays or objects. */
166 'assignInWith': true,
169 'defaultsDeep': true,
180 /** Used to track methods with placeholder support */
181 exports.placeholder = {
190 /** Used to map real names to their aliases. */
191 exports.realToAlias = (function() {
192 var hasOwnProperty = Object.prototype.hasOwnProperty,
193 object = exports.aliasToReal,
196 for (var key in object) {
197 var value = object[key];
198 if (hasOwnProperty.call(result, value)) {
199 result[value].push(key);
201 result[value] = [key];
207 /** Used to map method names to other names. */
210 'curryRightN': 'curryRight',
213 'trimCharsEnd': 'trimEnd',
214 'trimCharsStart': 'trimStart'
217 /** Used to track methods that skip `_.rearg`. */
218 exports.skipRearg = {
228 'matchesProperty': true,
231 'partialRight': true,