diff options
Diffstat (limited to 'node_modules/archiver/node_modules/lodash/_baseSortBy.js')
-rw-r--r-- | node_modules/archiver/node_modules/lodash/_baseSortBy.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/node_modules/archiver/node_modules/lodash/_baseSortBy.js b/node_modules/archiver/node_modules/lodash/_baseSortBy.js deleted file mode 100644 index a25c92eda..000000000 --- a/node_modules/archiver/node_modules/lodash/_baseSortBy.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * The base implementation of `_.sortBy` which uses `comparer` to define the - * sort order of `array` and replaces criteria objects with their corresponding - * values. - * - * @private - * @param {Array} array The array to sort. - * @param {Function} comparer The function to define sort order. - * @returns {Array} Returns `array`. - */ -function baseSortBy(array, comparer) { - var length = array.length; - - array.sort(comparer); - while (length--) { - array[length] = array[length].value; - } - return array; -} - -module.exports = baseSortBy; |