mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
Bump to v4.1.0.
This commit is contained in:
@@ -149,6 +149,7 @@ function baseConvert(util, name, func) {
|
||||
};
|
||||
|
||||
var wrap = function(name, func) {
|
||||
name = mapping.aliasToReal[name] || name;
|
||||
var wrapper = wrappers[name];
|
||||
if (wrapper) {
|
||||
return wrapper(func);
|
||||
@@ -215,7 +216,7 @@ function baseConvert(util, name, func) {
|
||||
|
||||
// Wrap the lodash method and its aliases.
|
||||
each(keys(_), function(key) {
|
||||
each(mapping.alias[key] || [], function(alias) {
|
||||
each(mapping.realToAlias[key] || [], function(alias) {
|
||||
_[alias] = _[key];
|
||||
});
|
||||
});
|
||||
|
||||
404
fp/_mapping.js
404
fp/_mapping.js
@@ -1,202 +1,220 @@
|
||||
module.exports = {
|
||||
/** Used to map aliases to their real names. */
|
||||
exports.aliasToReal = {
|
||||
'all': 'some',
|
||||
'allPass': 'overEvery',
|
||||
'apply': 'spread',
|
||||
'compose': 'flowRight',
|
||||
'contains': 'includes',
|
||||
'dissoc': 'omit',
|
||||
'each': 'forEach',
|
||||
'eachRight': 'forEachRight',
|
||||
'equals': 'isEqual',
|
||||
'extend': 'assignIn',
|
||||
'extendWith': 'assignInWith',
|
||||
'first': 'head',
|
||||
'init': 'initial',
|
||||
'mapObj': 'mapValues',
|
||||
'omitAll': 'omit',
|
||||
'nAry': 'ary',
|
||||
'path': 'get',
|
||||
'pathEq': 'matchesProperty',
|
||||
'pathOr': 'getOr',
|
||||
'pickAll': 'pick',
|
||||
'pipe': 'flow',
|
||||
'prop': 'get',
|
||||
'propOf': 'propertyOf',
|
||||
'propOr': 'getOr',
|
||||
'somePass': 'overSome',
|
||||
'unapply': 'rest',
|
||||
'unnest': 'flatten',
|
||||
'useWith': 'overArgs',
|
||||
'whereEq': 'filter',
|
||||
'zipObj': 'zipObject'
|
||||
};
|
||||
|
||||
/** Used to map method names to their aliases. */
|
||||
'alias': {
|
||||
'ary': ['nAry'],
|
||||
'assignIn': ['extend'],
|
||||
'assignInWith': ['extendWith'],
|
||||
'filter': ['whereEq'],
|
||||
'flatten': ['unnest'],
|
||||
'flow': ['pipe'],
|
||||
'flowRight': ['compose'],
|
||||
'forEach': ['each'],
|
||||
'forEachRight': ['eachRight'],
|
||||
'get': ['path', 'prop'],
|
||||
'getOr': ['pathOr', 'propOr'],
|
||||
'head': ['first'],
|
||||
'includes': ['contains'],
|
||||
'initial': ['init'],
|
||||
'isEqual': ['equals'],
|
||||
'mapValues': ['mapObj'],
|
||||
'matchesProperty': ['pathEq'],
|
||||
'omit': ['dissoc', 'omitAll'],
|
||||
'overArgs': ['useWith'],
|
||||
'overEvery': ['allPass'],
|
||||
'overSome': ['somePass'],
|
||||
'pick': ['pickAll'],
|
||||
'propertyOf': ['propOf'],
|
||||
'rest': ['unapply'],
|
||||
'some': ['all'],
|
||||
'spread': ['apply'],
|
||||
'zipObject': ['zipObj']
|
||||
/** Used to map method names to their iteratee ary. */
|
||||
exports.aryIteratee = {
|
||||
'assignWith': 2,
|
||||
'assignInWith': 2,
|
||||
'cloneDeepWith': 1,
|
||||
'cloneWith': 1,
|
||||
'dropRightWhile': 1,
|
||||
'dropWhile': 1,
|
||||
'every': 1,
|
||||
'filter': 1,
|
||||
'find': 1,
|
||||
'findIndex': 1,
|
||||
'findKey': 1,
|
||||
'findLast': 1,
|
||||
'findLastIndex': 1,
|
||||
'findLastKey': 1,
|
||||
'flatMap': 1,
|
||||
'forEach': 1,
|
||||
'forEachRight': 1,
|
||||
'forIn': 1,
|
||||
'forInRight': 1,
|
||||
'forOwn': 1,
|
||||
'forOwnRight': 1,
|
||||
'isEqualWith': 2,
|
||||
'isMatchWith': 2,
|
||||
'map': 1,
|
||||
'mapKeys': 1,
|
||||
'mapValues': 1,
|
||||
'partition': 1,
|
||||
'reduce': 2,
|
||||
'reduceRight': 2,
|
||||
'reject': 1,
|
||||
'remove': 1,
|
||||
'some': 1,
|
||||
'takeRightWhile': 1,
|
||||
'takeWhile': 1,
|
||||
'times': 1,
|
||||
'transform': 2
|
||||
};
|
||||
|
||||
/** Used to map ary to method names. */
|
||||
exports.aryMethod = {
|
||||
1: [
|
||||
'attempt', 'ceil', 'create', 'curry', 'curryRight', 'floor', 'fromPairs',
|
||||
'invert', 'iteratee', 'memoize', 'method', 'methodOf', 'mixin', 'over',
|
||||
'overEvery', 'overSome', 'rest', 'reverse', 'round', 'runInContext',
|
||||
'template', 'trim', 'trimEnd', 'trimStart', 'uniqueId', 'words'
|
||||
],
|
||||
2: [
|
||||
'add', 'after', 'ary', 'assign', 'assignIn', 'at', 'before', 'bind', 'bindKey',
|
||||
'chunk', 'cloneDeepWith', 'cloneWith', 'concat', 'countBy', 'curryN',
|
||||
'curryRightN', 'debounce', 'defaults', 'defaultsDeep', 'delay', 'difference',
|
||||
'drop', 'dropRight', 'dropRightWhile', 'dropWhile', 'endsWith', 'eq', 'every',
|
||||
'filter', 'find', 'find', 'findIndex', 'findKey', 'findLast', 'findLastIndex',
|
||||
'findLastKey', 'flatMap', 'forEach', 'forEachRight', 'forIn', 'forInRight',
|
||||
'forOwn', 'forOwnRight', 'get', 'groupBy', 'gt', 'gte', 'has', 'hasIn',
|
||||
'includes', 'indexOf', 'intersection', 'invertBy', 'invoke', 'invokeMap',
|
||||
'isEqual', 'isMatch', 'join', 'keyBy', 'lastIndexOf', 'lt', 'lte', 'map',
|
||||
'mapKeys', 'mapValues', 'matchesProperty', 'maxBy', 'merge', 'minBy', 'omit',
|
||||
'omitBy', 'orderBy', 'overArgs', 'pad', 'padEnd', 'padStart', 'parseInt',
|
||||
'partition', 'pick', 'pickBy', 'pull', 'pullAll', 'pullAt', 'random', 'range',
|
||||
'rangeRight', 'rearg', 'reject', 'remove', 'repeat', 'result', 'sampleSize',
|
||||
'some', 'sortBy', 'sortedIndex', 'sortedIndexOf', 'sortedLastIndex',
|
||||
'sortedLastIndexOf', 'sortedUniqBy', 'split', 'startsWith', 'subtract',
|
||||
'sumBy', 'take', 'takeRight', 'takeRightWhile', 'takeWhile', 'tap', 'throttle',
|
||||
'thru', 'times', 'truncate', 'union', 'uniqBy', 'uniqWith', 'unset', 'unzipWith',
|
||||
'without', 'wrap', 'xor', 'zip', 'zipObject', 'zipObjectDeep'
|
||||
],
|
||||
3: [
|
||||
'assignInWith', 'assignWith', 'clamp', 'differenceBy', 'differenceWith',
|
||||
'getOr', 'inRange', 'intersectionBy', 'intersectionWith', 'isEqualWith',
|
||||
'isMatchWith', 'mergeWith', 'pullAllBy', 'reduce', 'reduceRight', 'replace',
|
||||
'set', 'slice', 'sortedIndexBy', 'sortedLastIndexBy', 'transform', 'unionBy',
|
||||
'unionWith', 'xorBy', 'xorWith', 'zipWith'
|
||||
],
|
||||
4: [
|
||||
'fill', 'setWith'
|
||||
]
|
||||
};
|
||||
|
||||
/** Used to map ary to rearg configs. */
|
||||
exports.aryRearg = {
|
||||
2: [1, 0],
|
||||
3: [2, 1, 0],
|
||||
4: [3, 2, 0, 1]
|
||||
};
|
||||
|
||||
/** Used to map method names to iteratee rearg configs. */
|
||||
exports.iterateeRearg = {
|
||||
'findKey': [1],
|
||||
'findLastKey': [1],
|
||||
'mapKeys': [1]
|
||||
};
|
||||
|
||||
/** Used to map method names to rearg configs. */
|
||||
exports.methodRearg = {
|
||||
'assignInWith': [1, 2, 0],
|
||||
'assignWith': [1, 2, 0],
|
||||
'clamp': [2, 0, 1],
|
||||
'mergeWith': [1, 2, 0],
|
||||
'reduce': [2, 0, 1],
|
||||
'reduceRight': [2, 0, 1],
|
||||
'set': [2, 0, 1],
|
||||
'setWith': [3, 1, 2, 0],
|
||||
'slice': [2, 0, 1],
|
||||
'transform': [2, 0, 1]
|
||||
};
|
||||
|
||||
/** Used to iterate `mapping.aryMethod` keys. */
|
||||
exports.caps = [1, 2, 3, 4];
|
||||
|
||||
/** Used to map keys to other keys. */
|
||||
exports.key = {
|
||||
'curryN': 'curry',
|
||||
'curryRightN': 'curryRight',
|
||||
'getOr': 'get'
|
||||
};
|
||||
|
||||
/** Used to identify methods which mutate arrays or objects. */
|
||||
exports.mutate = {
|
||||
'array': {
|
||||
'fill': true,
|
||||
'pull': true,
|
||||
'pullAll': true,
|
||||
'pullAllBy': true,
|
||||
'pullAt': true,
|
||||
'remove': true,
|
||||
'reverse': true
|
||||
},
|
||||
|
||||
/** Used to map method names to their iteratee ary. */
|
||||
'aryIteratee': {
|
||||
'assignWith': 2,
|
||||
'assignInWith': 2,
|
||||
'cloneDeepWith': 1,
|
||||
'cloneWith': 1,
|
||||
'dropRightWhile': 1,
|
||||
'dropWhile': 1,
|
||||
'every': 1,
|
||||
'filter': 1,
|
||||
'find': 1,
|
||||
'findIndex': 1,
|
||||
'findKey': 1,
|
||||
'findLast': 1,
|
||||
'findLastIndex': 1,
|
||||
'findLastKey': 1,
|
||||
'flatMap': 1,
|
||||
'forEach': 1,
|
||||
'forEachRight': 1,
|
||||
'forIn': 1,
|
||||
'forInRight': 1,
|
||||
'forOwn': 1,
|
||||
'forOwnRight': 1,
|
||||
'isEqualWith': 2,
|
||||
'isMatchWith': 2,
|
||||
'map': 1,
|
||||
'mapKeys': 1,
|
||||
'mapValues': 1,
|
||||
'partition': 1,
|
||||
'reduce': 2,
|
||||
'reduceRight': 2,
|
||||
'reject': 1,
|
||||
'remove': 1,
|
||||
'some': 1,
|
||||
'takeRightWhile': 1,
|
||||
'takeWhile': 1,
|
||||
'times': 1,
|
||||
'transform': 2
|
||||
},
|
||||
|
||||
/** Used to map ary to method names. */
|
||||
'aryMethod': {
|
||||
1:[
|
||||
'attempt', 'ceil', 'create', 'curry', 'curryRight', 'floor', 'fromPairs',
|
||||
'invert', 'iteratee', 'memoize', 'method', 'methodOf', 'mixin', 'over',
|
||||
'overEvery', 'overSome', 'rest', 'reverse', 'round', 'runInContext',
|
||||
'template', 'trim', 'trimEnd', 'trimStart', 'uniqueId', 'words'
|
||||
],
|
||||
2:[
|
||||
'add', 'after', 'ary', 'assign', 'at', 'before', 'bind', 'bindKey',
|
||||
'chunk', 'cloneDeepWith', 'cloneWith', 'concat', 'countBy', 'curryN',
|
||||
'curryRightN', 'debounce', 'defaults', 'defaultsDeep', 'delay', 'difference',
|
||||
'drop', 'dropRight', 'dropRightWhile', 'dropWhile', 'endsWith', 'eq',
|
||||
'every', 'extend', 'filter', 'find', 'find', 'findIndex', 'findKey',
|
||||
'findLast', 'findLastIndex', 'findLastKey', 'flatMap', 'forEach',
|
||||
'forEachRight', 'forIn', 'forInRight', 'forOwn', 'forOwnRight', 'get',
|
||||
'groupBy', 'gt', 'gte', 'has', 'hasIn', 'includes', 'indexOf', 'intersection',
|
||||
'invoke', 'invokeMap', 'isEqual', 'isMatch', 'join', 'keyBy', 'lastIndexOf',
|
||||
'lt', 'lte', 'map', 'mapKeys', 'mapValues', 'matchesProperty', 'maxBy',
|
||||
'merge', 'minBy', 'omit', 'omitBy', 'orderBy', 'overArgs', 'pad', 'padEnd',
|
||||
'padStart', 'parseInt', 'partition', 'pick', 'pickBy', 'pull', 'pullAll',
|
||||
'pullAt', 'random', 'range', 'rangeRight', 'rearg', 'reject', 'remove',
|
||||
'repeat', 'result', 'sampleSize', 'some', 'sortBy', 'sortedIndex',
|
||||
'sortedIndexOf', 'sortedLastIndex', 'sortedLastIndexOf', 'sortedUniqBy',
|
||||
'split', 'startsWith', 'subtract', 'sumBy', 'take', 'takeRight', 'takeRightWhile',
|
||||
'takeWhile', 'tap', 'throttle', 'thru', 'times', 'truncate', 'union', 'uniqBy',
|
||||
'uniqWith', 'unset', 'unzipWith', 'without', 'wrap', 'xor', 'zip', 'zipObject'
|
||||
],
|
||||
3:[
|
||||
'assignInWith', 'assignWith', 'clamp', 'differenceBy', 'differenceWith',
|
||||
'getOr', 'inRange', 'intersectionBy', 'intersectionWith', 'isEqualWith',
|
||||
'isMatchWith', 'mergeWith', 'pullAllBy', 'reduce', 'reduceRight', 'replace',
|
||||
'set', 'slice', 'sortedIndexBy', 'sortedLastIndexBy', 'transform', 'unionBy',
|
||||
'unionWith', 'xorBy', 'xorWith', 'zipWith'
|
||||
],
|
||||
4:[
|
||||
'fill', 'setWith'
|
||||
]
|
||||
},
|
||||
|
||||
/** Used to map ary to rearg configs. */
|
||||
'aryRearg': {
|
||||
2: [1, 0],
|
||||
3: [2, 1, 0],
|
||||
4: [3, 2, 0, 1]
|
||||
},
|
||||
|
||||
/** Used to map method names to iteratee rearg configs. */
|
||||
'iterateeRearg': {
|
||||
'findKey': [1],
|
||||
'findLastKey': [1],
|
||||
'mapKeys': [1]
|
||||
},
|
||||
|
||||
/** Used to map method names to rearg configs. */
|
||||
'methodRearg': {
|
||||
'clamp': [2, 0, 1],
|
||||
'reduce': [2, 0, 1],
|
||||
'reduceRight': [2, 0, 1],
|
||||
'set': [2, 0, 1],
|
||||
'setWith': [3, 1, 2, 0],
|
||||
'slice': [2, 0, 1],
|
||||
'transform': [2, 0, 1]
|
||||
},
|
||||
|
||||
/** Used to iterate `mapping.aryMethod` keys. */
|
||||
'caps': [1, 2, 3, 4],
|
||||
|
||||
/** Used to map keys to other keys. */
|
||||
'key': {
|
||||
'curryN': 'curry',
|
||||
'curryRightN': 'curryRight',
|
||||
'getOr': 'get'
|
||||
},
|
||||
|
||||
/** Used to identify methods which mutate arrays or objects. */
|
||||
'mutate': {
|
||||
'array': {
|
||||
'fill': true,
|
||||
'pull': true,
|
||||
'pullAll': true,
|
||||
'pullAllBy': true,
|
||||
'pullAt': true,
|
||||
'remove': true,
|
||||
'reverse': true
|
||||
},
|
||||
'object': {
|
||||
'assign': true,
|
||||
'assignIn': true,
|
||||
'assignInWith': true,
|
||||
'assignWith': true,
|
||||
'defaults': true,
|
||||
'defaultsDeep': true,
|
||||
'merge': true,
|
||||
'mergeWith': true
|
||||
},
|
||||
'set': {
|
||||
'set': true,
|
||||
'setWith': true
|
||||
}
|
||||
},
|
||||
|
||||
/** Used to track methods with placeholder support */
|
||||
'placeholder': {
|
||||
'bind': true,
|
||||
'bindKey': true,
|
||||
'curry': true,
|
||||
'curryRight': true,
|
||||
'partial': true,
|
||||
'partialRight': true
|
||||
},
|
||||
|
||||
/** Used to track methods that skip `_.rearg`. */
|
||||
'skipRearg': {
|
||||
'object': {
|
||||
'assign': true,
|
||||
'assignIn': true,
|
||||
'concat': true,
|
||||
'assignInWith': true,
|
||||
'assignWith': true,
|
||||
'defaults': true,
|
||||
'defaultsDeep': true,
|
||||
'difference': true,
|
||||
'matchesProperty': true,
|
||||
'merge': true,
|
||||
'random': true,
|
||||
'range': true,
|
||||
'rangeRight': true,
|
||||
'zip': true,
|
||||
'zipObject': true
|
||||
'mergeWith': true
|
||||
},
|
||||
'set': {
|
||||
'set': true,
|
||||
'setWith': true
|
||||
}
|
||||
};
|
||||
|
||||
/** Used to track methods with placeholder support */
|
||||
exports.placeholder = {
|
||||
'bind': true,
|
||||
'bindKey': true,
|
||||
'curry': true,
|
||||
'curryRight': true,
|
||||
'partial': true,
|
||||
'partialRight': true
|
||||
};
|
||||
|
||||
/** Used to map real names to their aliases. */
|
||||
exports.realToAlias = (function() {
|
||||
var hasOwnProperty = Object.prototype.hasOwnProperty,
|
||||
object = exports.aliasToReal,
|
||||
result = {};
|
||||
|
||||
for (var key in object) {
|
||||
var value = object[key];
|
||||
if (hasOwnProperty.call(result, value)) {
|
||||
result[value].push(key);
|
||||
} else {
|
||||
result[value] = [key];
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}());
|
||||
|
||||
/** Used to track methods that skip `_.rearg`. */
|
||||
exports.skipRearg = {
|
||||
'assign': true,
|
||||
'assignIn': true,
|
||||
'concat': true,
|
||||
'difference': true,
|
||||
'matchesProperty': true,
|
||||
'merge': true,
|
||||
'random': true,
|
||||
'range': true,
|
||||
'rangeRight': true,
|
||||
'zip': true,
|
||||
'zipObject': true
|
||||
};
|
||||
|
||||
@@ -2,9 +2,9 @@ module.exports = {
|
||||
'ary': require('../ary'),
|
||||
'cloneDeep': require('../cloneDeep'),
|
||||
'curry': require('../curry'),
|
||||
'forEach': require('../internal/arrayEach'),
|
||||
'forEach': require('../_arrayEach'),
|
||||
'isFunction': require('../isFunction'),
|
||||
'iteratee': require('../iteratee'),
|
||||
'keys': require('../internal/baseKeys'),
|
||||
'keys': require('../_baseKeys'),
|
||||
'rearg': require('../rearg')
|
||||
};
|
||||
|
||||
2
fp/add.js
Normal file
2
fp/add.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('add', require('../add'));
|
||||
2
fp/after.js
Normal file
2
fp/after.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('after', require('../after'));
|
||||
1
fp/allPass.js
Normal file
1
fp/allPass.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('./overEvery');
|
||||
1
fp/apply.js
Normal file
1
fp/apply.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('./spread');
|
||||
2
fp/array.js
Normal file
2
fp/array.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert(require('../array'));
|
||||
2
fp/ary.js
Normal file
2
fp/ary.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('ary', require('../ary'));
|
||||
2
fp/assign.js
Normal file
2
fp/assign.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('assign', require('../assign'));
|
||||
2
fp/assignIn.js
Normal file
2
fp/assignIn.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('assignIn', require('../assignIn'));
|
||||
2
fp/assignInWith.js
Normal file
2
fp/assignInWith.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('assignInWith', require('../assignInWith'));
|
||||
2
fp/assignWith.js
Normal file
2
fp/assignWith.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('assignWith', require('../assignWith'));
|
||||
2
fp/at.js
Normal file
2
fp/at.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('at', require('../at'));
|
||||
2
fp/attempt.js
Normal file
2
fp/attempt.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('attempt', require('../attempt'));
|
||||
2
fp/before.js
Normal file
2
fp/before.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('before', require('../before'));
|
||||
2
fp/bind.js
Normal file
2
fp/bind.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('bind', require('../bind'));
|
||||
1
fp/bindAll.js
Normal file
1
fp/bindAll.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../bindAll');
|
||||
2
fp/bindKey.js
Normal file
2
fp/bindKey.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('bindKey', require('../bindKey'));
|
||||
1
fp/camelCase.js
Normal file
1
fp/camelCase.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../camelCase');
|
||||
1
fp/capitalize.js
Normal file
1
fp/capitalize.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../capitalize');
|
||||
2
fp/ceil.js
Normal file
2
fp/ceil.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('ceil', require('../ceil'));
|
||||
1
fp/chain.js
Normal file
1
fp/chain.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../chain');
|
||||
2
fp/chunk.js
Normal file
2
fp/chunk.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('chunk', require('../chunk'));
|
||||
2
fp/clamp.js
Normal file
2
fp/clamp.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('clamp', require('../clamp'));
|
||||
1
fp/clone.js
Normal file
1
fp/clone.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../clone');
|
||||
1
fp/cloneDeep.js
Normal file
1
fp/cloneDeep.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../cloneDeep');
|
||||
2
fp/cloneDeepWith.js
Normal file
2
fp/cloneDeepWith.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('cloneDeepWith', require('../cloneDeepWith'));
|
||||
2
fp/cloneWith.js
Normal file
2
fp/cloneWith.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('cloneWith', require('../cloneWith'));
|
||||
2
fp/collection.js
Normal file
2
fp/collection.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert(require('../collection'));
|
||||
1
fp/commit.js
Normal file
1
fp/commit.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../commit');
|
||||
1
fp/compact.js
Normal file
1
fp/compact.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../compact');
|
||||
1
fp/compose.js
Normal file
1
fp/compose.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('./flowRight');
|
||||
2
fp/concat.js
Normal file
2
fp/concat.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('concat', require('../concat'));
|
||||
1
fp/cond.js
Normal file
1
fp/cond.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../cond');
|
||||
1
fp/conforms.js
Normal file
1
fp/conforms.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../conforms');
|
||||
1
fp/constant.js
Normal file
1
fp/constant.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../constant');
|
||||
1
fp/contains.js
Normal file
1
fp/contains.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('./includes');
|
||||
2
fp/countBy.js
Normal file
2
fp/countBy.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('countBy', require('../countBy'));
|
||||
2
fp/create.js
Normal file
2
fp/create.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('create', require('../create'));
|
||||
2
fp/curry.js
Normal file
2
fp/curry.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('curry', require('../curry'));
|
||||
2
fp/curryN.js
Normal file
2
fp/curryN.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('curryN', require('../curry'));
|
||||
2
fp/curryRight.js
Normal file
2
fp/curryRight.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('curryRight', require('../curryRight'));
|
||||
2
fp/curryRightN.js
Normal file
2
fp/curryRightN.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('curryRightN', require('../curryRight'));
|
||||
2
fp/date.js
Normal file
2
fp/date.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert(require('../date'));
|
||||
2
fp/debounce.js
Normal file
2
fp/debounce.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('debounce', require('../debounce'));
|
||||
1
fp/deburr.js
Normal file
1
fp/deburr.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../deburr');
|
||||
2
fp/defaults.js
Normal file
2
fp/defaults.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('defaults', require('../defaults'));
|
||||
2
fp/defaultsDeep.js
Normal file
2
fp/defaultsDeep.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('defaultsDeep', require('../defaultsDeep'));
|
||||
1
fp/defer.js
Normal file
1
fp/defer.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../defer');
|
||||
2
fp/delay.js
Normal file
2
fp/delay.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('delay', require('../delay'));
|
||||
2
fp/difference.js
Normal file
2
fp/difference.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('difference', require('../difference'));
|
||||
2
fp/differenceBy.js
Normal file
2
fp/differenceBy.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('differenceBy', require('../differenceBy'));
|
||||
2
fp/differenceWith.js
Normal file
2
fp/differenceWith.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('differenceWith', require('../differenceWith'));
|
||||
1
fp/dissoc.js
Normal file
1
fp/dissoc.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('./omit');
|
||||
2
fp/drop.js
Normal file
2
fp/drop.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('drop', require('../drop'));
|
||||
2
fp/dropRight.js
Normal file
2
fp/dropRight.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('dropRight', require('../dropRight'));
|
||||
2
fp/dropRightWhile.js
Normal file
2
fp/dropRightWhile.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('dropRightWhile', require('../dropRightWhile'));
|
||||
2
fp/dropWhile.js
Normal file
2
fp/dropWhile.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('dropWhile', require('../dropWhile'));
|
||||
1
fp/each.js
Normal file
1
fp/each.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('./forEach');
|
||||
1
fp/eachRight.js
Normal file
1
fp/eachRight.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('./forEachRight');
|
||||
2
fp/endsWith.js
Normal file
2
fp/endsWith.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('endsWith', require('../endsWith'));
|
||||
2
fp/eq.js
Normal file
2
fp/eq.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('eq', require('../eq'));
|
||||
1
fp/equals.js
Normal file
1
fp/equals.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('./isEqual');
|
||||
1
fp/escape.js
Normal file
1
fp/escape.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../escape');
|
||||
1
fp/escapeRegExp.js
Normal file
1
fp/escapeRegExp.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../escapeRegExp');
|
||||
2
fp/every.js
Normal file
2
fp/every.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('every', require('../every'));
|
||||
1
fp/extend.js
Normal file
1
fp/extend.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('./assignIn');
|
||||
1
fp/extendWith.js
Normal file
1
fp/extendWith.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('./assignInWith');
|
||||
2
fp/fill.js
Normal file
2
fp/fill.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('fill', require('../fill'));
|
||||
2
fp/filter.js
Normal file
2
fp/filter.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('filter', require('../filter'));
|
||||
2
fp/find.js
Normal file
2
fp/find.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('find', require('../find'));
|
||||
2
fp/findIndex.js
Normal file
2
fp/findIndex.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('findIndex', require('../findIndex'));
|
||||
2
fp/findKey.js
Normal file
2
fp/findKey.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('findKey', require('../findKey'));
|
||||
2
fp/findLast.js
Normal file
2
fp/findLast.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('findLast', require('../findLast'));
|
||||
2
fp/findLastIndex.js
Normal file
2
fp/findLastIndex.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('findLastIndex', require('../findLastIndex'));
|
||||
2
fp/findLastKey.js
Normal file
2
fp/findLastKey.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('findLastKey', require('../findLastKey'));
|
||||
1
fp/first.js
Normal file
1
fp/first.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('./head');
|
||||
2
fp/flatMap.js
Normal file
2
fp/flatMap.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('flatMap', require('../flatMap'));
|
||||
1
fp/flatten.js
Normal file
1
fp/flatten.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../flatten');
|
||||
1
fp/flattenDeep.js
Normal file
1
fp/flattenDeep.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../flattenDeep');
|
||||
1
fp/flip.js
Normal file
1
fp/flip.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../flip');
|
||||
2
fp/floor.js
Normal file
2
fp/floor.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('floor', require('../floor'));
|
||||
1
fp/flow.js
Normal file
1
fp/flow.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../flow');
|
||||
1
fp/flowRight.js
Normal file
1
fp/flowRight.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../flowRight');
|
||||
2
fp/forEach.js
Normal file
2
fp/forEach.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('forEach', require('../forEach'));
|
||||
2
fp/forEachRight.js
Normal file
2
fp/forEachRight.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('forEachRight', require('../forEachRight'));
|
||||
2
fp/forIn.js
Normal file
2
fp/forIn.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('forIn', require('../forIn'));
|
||||
2
fp/forInRight.js
Normal file
2
fp/forInRight.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('forInRight', require('../forInRight'));
|
||||
2
fp/forOwn.js
Normal file
2
fp/forOwn.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('forOwn', require('../forOwn'));
|
||||
2
fp/forOwnRight.js
Normal file
2
fp/forOwnRight.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('forOwnRight', require('../forOwnRight'));
|
||||
2
fp/fromPairs.js
Normal file
2
fp/fromPairs.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('fromPairs', require('../fromPairs'));
|
||||
2
fp/function.js
Normal file
2
fp/function.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert(require('../function'));
|
||||
1
fp/functions.js
Normal file
1
fp/functions.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../functions');
|
||||
1
fp/functionsIn.js
Normal file
1
fp/functionsIn.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('../functionsIn');
|
||||
2
fp/get.js
Normal file
2
fp/get.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('get', require('../get'));
|
||||
2
fp/getOr.js
Normal file
2
fp/getOr.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('getOr', require('../get'));
|
||||
2
fp/groupBy.js
Normal file
2
fp/groupBy.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('groupBy', require('../groupBy'));
|
||||
2
fp/gt.js
Normal file
2
fp/gt.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var convert = require('./convert');
|
||||
module.exports = convert('gt', require('../gt'));
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user