diff --git a/packages/teraslice/src/lib/utils/port_utils.ts b/packages/teraslice/src/lib/utils/port_utils.ts index 00f39c2dc4e..ff99ee9369b 100644 --- a/packages/teraslice/src/lib/utils/port_utils.ts +++ b/packages/teraslice/src/lib/utils/port_utils.ts @@ -1,14 +1,9 @@ import { - get, times, pDelay, - toIntegerOrThrow, shuffle, range + get, toIntegerOrThrow, shuffle, range } from '@terascope/utils'; import getPort from 'get-port'; import { Context } from '@terascope/job-components'; -import range from 'lodash/range.js'; -import getPort from 'get-port'; -import { get, toIntegerOrThrow } from '@terascope/utils'; -import { Context } from '@terascope/job-components'; export interface PortOptions { start?: number; diff --git a/packages/utils/src/deps.ts b/packages/utils/src/deps.ts index 6c395c43378..e7ed3db39b2 100644 --- a/packages/utils/src/deps.ts +++ b/packages/utils/src/deps.ts @@ -6,7 +6,8 @@ import { has, set, get, unset, merge, debounce, padEnd, difference, throttle, chain, - orderBy, shuffle, defaultsDeep, sortBy + orderBy, shuffle, defaultsDeep, + sortBy, range } from 'lodash-es'; import { isPlainObject as _isPlainObject } from 'is-plain-object'; import _clone from 'shallow-clone'; @@ -131,5 +132,6 @@ export { orderBy, shuffle, defaultsDeep, - multiFieldSort + multiFieldSort, + range };