aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/abi_decoder.ts2
-rw-r--r--src/utils/assert.ts2
-rw-r--r--src/utils/decorators.ts2
-rw-r--r--src/utils/exchange_transfer_simulator.ts2
-rw-r--r--src/utils/filter_utils.ts2
-rw-r--r--src/utils/interval_utils.ts2
-rw-r--r--src/utils/lodash.ts55
-rw-r--r--src/utils/order_validation_utils.ts2
-rw-r--r--src/utils/utils.ts2
9 files changed, 8 insertions, 63 deletions
diff --git a/src/utils/abi_decoder.ts b/src/utils/abi_decoder.ts
index 7d0fa8b94..a6c45bee7 100644
--- a/src/utils/abi_decoder.ts
+++ b/src/utils/abi_decoder.ts
@@ -1,5 +1,5 @@
import * as Web3 from 'web3';
-import {_} from '../utils/lodash';
+import * as _ from 'lodash';
import * as BigNumber from 'bignumber.js';
import {AbiType, DecodedLogArgs, LogWithDecodedArgs, RawLog, SolidityTypes, ContractEventArgs} from '../types';
import * as SolidityCoder from 'web3/lib/solidity/coder';
diff --git a/src/utils/assert.ts b/src/utils/assert.ts
index 871553ccf..099f4490f 100644
--- a/src/utils/assert.ts
+++ b/src/utils/assert.ts
@@ -1,4 +1,4 @@
-import {_} from '../utils/lodash';
+import * as _ from 'lodash';
import * as BigNumber from 'bignumber.js';
import * as Web3 from 'web3';
import {Web3Wrapper} from '../web3_wrapper';
diff --git a/src/utils/decorators.ts b/src/utils/decorators.ts
index 6e803d985..ec750b891 100644
--- a/src/utils/decorators.ts
+++ b/src/utils/decorators.ts
@@ -1,4 +1,4 @@
-import {_} from '../utils/lodash';
+import * as _ from 'lodash';
import {constants} from './constants';
import {AsyncMethod, ZeroExError} from '../types';
diff --git a/src/utils/exchange_transfer_simulator.ts b/src/utils/exchange_transfer_simulator.ts
index b85869351..db12abd29 100644
--- a/src/utils/exchange_transfer_simulator.ts
+++ b/src/utils/exchange_transfer_simulator.ts
@@ -1,4 +1,4 @@
-import {_} from '../utils/lodash';
+import * as _ from 'lodash';
import {ExchangeContractErrs, TradeSide, TransferType} from '../types';
import {TokenWrapper} from '../contract_wrappers/token_wrapper';
diff --git a/src/utils/filter_utils.ts b/src/utils/filter_utils.ts
index 49dba0ed2..e09a95a6e 100644
--- a/src/utils/filter_utils.ts
+++ b/src/utils/filter_utils.ts
@@ -1,4 +1,4 @@
-import {_} from '../utils/lodash';
+import * as _ from 'lodash';
import * as Web3 from 'web3';
import * as uuid from 'uuid/v4';
import * as ethUtil from 'ethereumjs-util';
diff --git a/src/utils/interval_utils.ts b/src/utils/interval_utils.ts
index 66451800f..62b79f2f5 100644
--- a/src/utils/interval_utils.ts
+++ b/src/utils/interval_utils.ts
@@ -1,4 +1,4 @@
-import {_} from '../utils/lodash';
+import * as _ from 'lodash';
export const intervalUtils = {
setAsyncExcludingInterval(fn: () => Promise<void>, intervalMs: number) {
diff --git a/src/utils/lodash.ts b/src/utils/lodash.ts
deleted file mode 100644
index 67e4e5a9a..000000000
--- a/src/utils/lodash.ts
+++ /dev/null
@@ -1,55 +0,0 @@
-import assign from 'lodash-es/assign';
-import map from 'lodash-es/map';
-import values from 'lodash-es/values';
-import isUndefined from 'lodash-es/isUndefined';
-import isNull from 'lodash-es/isNull';
-import includes from 'lodash-es/includes';
-import each from 'lodash-es/each';
-import forEach from 'lodash-es/forEach';
-import filter from 'lodash-es/filter';
-import startsWith from 'lodash-es/startsWith';
-import padStart from 'lodash-es/padStart';
-import find from 'lodash-es/find';
-import zipWith from 'lodash-es/zipWith';
-import every from 'lodash-es/every';
-import isEmpty from 'lodash-es/isEmpty';
-import unzip from 'lodash-es/unzip';
-import pull from 'lodash-es/pull';
-import keys from 'lodash-es/keys';
-import uniq from 'lodash-es/uniq';
-import isArray from 'lodash-es/isArray';
-import isObject from 'lodash-es/isObject';
-import isString from 'lodash-es/isString';
-import isFinite from 'lodash-es/isFinite';
-import isNumber from 'lodash-es/isNumber';
-import isBoolean from 'lodash-es/isBoolean';
-import isFunction from 'lodash-es/isFunction';
-
-export const _ = {
- assign,
- map,
- values,
- isUndefined,
- isNull,
- includes,
- each,
- forEach,
- filter,
- startsWith,
- padStart,
- find,
- zipWith,
- every,
- isEmpty,
- unzip,
- pull,
- keys,
- uniq,
- isArray,
- isObject,
- isString,
- isFinite,
- isNumber,
- isBoolean,
- isFunction,
-};
diff --git a/src/utils/order_validation_utils.ts b/src/utils/order_validation_utils.ts
index 12a24cdea..1d9aac884 100644
--- a/src/utils/order_validation_utils.ts
+++ b/src/utils/order_validation_utils.ts
@@ -1,4 +1,4 @@
-import {_} from '../utils/lodash';
+import * as _ from 'lodash';
import {ExchangeContractErrs, SignedOrder, Order, ZeroExError, TradeSide, TransferType} from '../types';
import {ZeroEx} from '../0x';
import {TokenWrapper} from '../contract_wrappers/token_wrapper';
diff --git a/src/utils/utils.ts b/src/utils/utils.ts
index 2a02c448b..f2bf74860 100644
--- a/src/utils/utils.ts
+++ b/src/utils/utils.ts
@@ -1,4 +1,4 @@
-import {_} from '../utils/lodash';
+import * as _ from 'lodash';
import * as ethABI from 'ethereumjs-abi';
import * as ethUtil from 'ethereumjs-util';
import {Order, SignedOrder, SolidityTypes} from '../types';