Added the Porter Stemmer module to improve searches. This doesn't deal with some...
[yaffs-website] / node_modules / uncss / node_modules / lodash / fp / _mapping.js
1 module.exports = {
2
3   /** Used to map method names to their aliases. */
4   'alias': {
5     'ary': ['nAry'],
6     'assignIn': ['extend'],
7     'assignInWith': ['extendWith'],
8     'filter': ['whereEq'],
9     'flatten': ['unnest'],
10     'flow': ['pipe'],
11     'flowRight': ['compose'],
12     'forEach': ['each'],
13     'forEachRight': ['eachRight'],
14     'get': ['path', 'prop'],
15     'getOr': ['pathOr', 'propOr'],
16     'head': ['first'],
17     'includes': ['contains'],
18     'initial': ['init'],
19     'isEqual': ['equals'],
20     'mapValues': ['mapObj'],
21     'matchesProperty': ['pathEq'],
22     'omit': ['dissoc', 'omitAll'],
23     'overArgs': ['useWith'],
24     'overEvery': ['allPass'],
25     'overSome': ['somePass'],
26     'pick': ['pickAll'],
27     'propertyOf': ['propOf'],
28     'rest': ['unapply'],
29     'some': ['all'],
30     'spread': ['apply'],
31     'zipObject': ['zipObj']
32   },
33
34   /** Used to map method names to their iteratee ary. */
35   'aryIteratee': {
36     'assignWith': 2,
37     'assignInWith': 2,
38     'cloneDeepWith': 1,
39     'cloneWith': 1,
40     'dropRightWhile': 1,
41     'dropWhile': 1,
42     'every': 1,
43     'filter': 1,
44     'find': 1,
45     'findIndex': 1,
46     'findKey': 1,
47     'findLast': 1,
48     'findLastIndex': 1,
49     'findLastKey': 1,
50     'flatMap': 1,
51     'forEach': 1,
52     'forEachRight': 1,
53     'forIn': 1,
54     'forInRight': 1,
55     'forOwn': 1,
56     'forOwnRight': 1,
57     'isEqualWith': 2,
58     'isMatchWith': 2,
59     'map': 1,
60     'mapKeys': 1,
61     'mapValues': 1,
62     'partition': 1,
63     'reduce': 2,
64     'reduceRight': 2,
65     'reject': 1,
66     'remove': 1,
67     'some': 1,
68     'takeRightWhile': 1,
69     'takeWhile': 1,
70     'times': 1,
71     'transform': 2
72   },
73
74   /** Used to map ary to method names. */
75   'aryMethod': {
76     1:[
77         'attempt', 'ceil', 'create', 'curry', 'curryRight', 'floor', 'fromPairs',
78         'invert', 'iteratee', 'memoize', 'method', 'methodOf', 'mixin', 'over',
79         'overEvery', 'overSome', 'rest', 'reverse', 'round', 'runInContext',
80         'template', 'trim', 'trimEnd', 'trimStart', 'uniqueId', 'words'
81       ],
82     2:[
83         'add', 'after', 'ary', 'assign', 'at', 'before', 'bind', 'bindKey',
84         'chunk', 'cloneDeepWith', 'cloneWith', 'concat', 'countBy', 'curryN',
85         'curryRightN', 'debounce', 'defaults', 'defaultsDeep', 'delay', 'difference',
86         'drop', 'dropRight', 'dropRightWhile', 'dropWhile', 'endsWith', 'eq',
87         'every', 'extend', 'filter', 'find', 'find', 'findIndex', 'findKey',
88         'findLast', 'findLastIndex', 'findLastKey', 'flatMap', 'forEach',
89         'forEachRight', 'forIn', 'forInRight', 'forOwn', 'forOwnRight', 'get',
90         'groupBy', 'gt', 'gte', 'has', 'hasIn', 'includes', 'indexOf', 'intersection',
91         'invoke', 'invokeMap', 'isEqual', 'isMatch', 'join', 'keyBy', 'lastIndexOf',
92         'lt', 'lte', 'map', 'mapKeys', 'mapValues', 'matchesProperty', 'maxBy',
93         'merge', 'minBy', 'omit', 'omitBy', 'orderBy', 'overArgs', 'pad', 'padEnd',
94         'padStart', 'parseInt', 'partition', 'pick', 'pickBy', 'pull', 'pullAll',
95         'pullAt', 'random', 'range', 'rangeRight', 'rearg', 'reject', 'remove',
96         'repeat', 'result', 'sampleSize', 'some', 'sortBy', 'sortedIndex',
97         'sortedIndexOf', 'sortedLastIndex', 'sortedLastIndexOf', 'sortedUniqBy',
98         'split', 'startsWith', 'subtract', 'sumBy', 'take', 'takeRight', 'takeRightWhile',
99         'takeWhile', 'tap', 'throttle', 'thru', 'times', 'truncate', 'union', 'uniqBy',
100         'uniqWith', 'unset', 'unzipWith', 'without', 'wrap', 'xor', 'zip', 'zipObject'
101       ],
102     3:[
103         'assignInWith', 'assignWith', 'clamp', 'differenceBy', 'differenceWith',
104         'getOr', 'inRange', 'intersectionBy', 'intersectionWith', 'isEqualWith',
105         'isMatchWith', 'mergeWith', 'pullAllBy', 'reduce', 'reduceRight', 'replace',
106         'set', 'slice', 'sortedIndexBy', 'sortedLastIndexBy', 'transform', 'unionBy',
107         'unionWith', 'xorBy', 'xorWith', 'zipWith'
108       ],
109     4:[
110         'fill', 'setWith'
111       ]
112   },
113
114   /** Used to map ary to rearg configs. */
115   'aryRearg': {
116     2: [1, 0],
117     3: [2, 1, 0],
118     4: [3, 2, 0, 1]
119   },
120
121   /** Used to map method names to iteratee rearg configs. */
122   'iterateeRearg': {
123     'findKey': [1],
124     'findLastKey': [1],
125     'mapKeys': [1]
126   },
127
128   /** Used to map method names to rearg configs. */
129   'methodRearg': {
130     'clamp': [2, 0, 1],
131     'reduce': [2, 0, 1],
132     'reduceRight': [2, 0, 1],
133     'set': [2, 0, 1],
134     'setWith': [3, 1, 2, 0],
135     'slice': [2, 0, 1],
136     'transform': [2, 0, 1]
137   },
138
139   /** Used to iterate `mapping.aryMethod` keys. */
140   'caps': [1, 2, 3, 4],
141
142   /** Used to map keys to other keys. */
143   'key': {
144     'curryN': 'curry',
145     'curryRightN': 'curryRight',
146     'getOr': 'get'
147   },
148
149   /** Used to identify methods which mutate arrays or objects. */
150   'mutate': {
151     'array': {
152       'fill': true,
153       'pull': true,
154       'pullAll': true,
155       'pullAllBy': true,
156       'pullAt': true,
157       'remove': true,
158       'reverse': true
159     },
160     'object': {
161       'assign': true,
162       'assignIn': true,
163       'assignInWith': true,
164       'assignWith': true,
165       'defaults': true,
166       'defaultsDeep': true,
167       'merge': true,
168       'mergeWith': true
169     },
170     'set': {
171       'set': true,
172       'setWith': true
173     }
174   },
175
176   /** Used to track methods with placeholder support */
177   'placeholder': {
178     'bind': true,
179     'bindKey': true,
180     'curry': true,
181     'curryRight': true,
182     'partial': true,
183     'partialRight': true
184   },
185
186   /** Used to track methods that skip `_.rearg`. */
187   'skipRearg': {
188     'assign': true,
189     'assignIn': true,
190     'concat': true,
191     'defaults': true,
192     'defaultsDeep': true,
193     'difference': true,
194     'matchesProperty': true,
195     'merge': true,
196     'random': true,
197     'range': true,
198     'rangeRight': true,
199     'zip': true,
200     'zipObject': true
201   }
202 };