npm audit fix

This commit is contained in:
Timothy Clem
2019-09-30 10:04:01 -07:00
parent caa2e9e5b6
commit 63b90beb0c
7411 changed files with 1868644 additions and 6 deletions

15
node_modules/lodash/_arraySample.js generated vendored Normal file
View File

@@ -0,0 +1,15 @@
var baseRandom = require('./_baseRandom');
/**
* A specialized version of `_.sample` for arrays.
*
* @private
* @param {Array} array The array to sample.
* @returns {*} Returns the random element.
*/
function arraySample(array) {
var length = array.length;
return length ? array[baseRandom(0, length - 1)] : undefined;
}
module.exports = arraySample;