Fix security vulnerabilities

Ran `npm audit fix`.

Even though this fixes a "high" severity vulnerability, all affected
packages are dev packages only.
This commit is contained in:
Andrew Eisenberg 2021-05-10 10:07:58 -07:00
parent 224195bd22
commit 489dbb0e02
34 changed files with 528 additions and 214 deletions

View file

@ -22,11 +22,14 @@ var nativeFloor = Math.floor,
* into `array`.
*/
function baseSortedIndexBy(array, value, iteratee, retHighest) {
value = iteratee(value);
var low = 0,
high = array == null ? 0 : array.length,
valIsNaN = value !== value,
high = array == null ? 0 : array.length;
if (high === 0) {
return 0;
}
value = iteratee(value);
var valIsNaN = value !== value,
valIsNull = value === null,
valIsSymbol = isSymbol(value),
valIsUndefined = value === undefined;