Upgrade node_modules for web build

This commit is contained in:
John Colvin committed 2021-10-10 12:01:07 -05:00
1 parent 6a53c8c587
commit 5d2136faee
55430 files changed
+4714852 -3372773

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
/**
* A specialized version of `_.map` for arrays without support for iteratee
* shorthands.
*
* @private
* @param {Array} [array] The array to iterate over.
* @param {Function} iteratee The function invoked per iteration.
* @returns {Array} Returns the new mapped array.
*/
function arrayMap(array, iteratee) {
var index = -1,
length = array == null ? 0 : array.length,
result = Array(length);
while (++index < length) {
result[index] = iteratee(array[index], index, array);
}
return result;
}
module.exports = arrayMap;