From eb8d9b3f6044de9adffdfe589fd0f3eda17ad1f9 Mon Sep 17 00:00:00 2001 From: Liam Fitzgerald Date: Wed, 21 Apr 2021 16:39:35 +1000 Subject: [PATCH] BigIntOrderedMap: remove lodash dependency --- pkg/npm/api/lib/BigIntOrderedMap.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/npm/api/lib/BigIntOrderedMap.ts b/pkg/npm/api/lib/BigIntOrderedMap.ts index 6057931186..630445c2f6 100644 --- a/pkg/npm/api/lib/BigIntOrderedMap.ts +++ b/pkg/npm/api/lib/BigIntOrderedMap.ts @@ -1,4 +1,3 @@ -import _ from 'lodash'; import { immerable } from 'immer'; import bigInt, { BigInteger } from "big-integer"; @@ -17,7 +16,7 @@ export default class BigIntOrderedMap implements Iterable<[BigInteger, V]> { [immerable] = true; constructor(items: [BigInteger, V][] = []) { - _.forEach(items, ([key, val]) => { + items.forEach(([key, val]) => { this.set(key, val); }); this.generateCachedIter();