From 5d309ff52cd399a6b71968a6b9a70c8ac0b98981 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Sat, 5 Mar 2022 19:02:27 +0200 Subject: Added node_modules for the updating to work properly. --- node_modules/lodash/sortedUniq.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 node_modules/lodash/sortedUniq.js (limited to 'node_modules/lodash/sortedUniq.js') diff --git a/node_modules/lodash/sortedUniq.js b/node_modules/lodash/sortedUniq.js new file mode 100644 index 0000000..866db31 --- /dev/null +++ b/node_modules/lodash/sortedUniq.js @@ -0,0 +1,24 @@ +var baseSortedUniq = require('./_baseSortedUniq'); + +/** + * This method is like `_.uniq` except that it's designed and optimized + * for sorted arrays. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to inspect. + * @returns {Array} Returns the new duplicate free array. + * @example + * + * _.sortedUniq([1, 1, 2]); + * // => [1, 2] + */ +function sortedUniq(array) { + return (array && array.length) + ? baseSortedUniq(array) + : []; +} + +module.exports = sortedUniq; -- cgit v1.2.3