slim down the lodash dependencies
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
"eslint-plugin-mocha": "~1.1.0",
|
||||
"eslint-plugin-react": "~4.2.3",
|
||||
"expect.js": "~0.3.1",
|
||||
"lodash": "~4.11.1",
|
||||
"mocha": "~2.4.5",
|
||||
"nyc": "~6.4.2",
|
||||
"proxyquire": "~1.7.4",
|
||||
@@ -41,7 +42,8 @@
|
||||
"elasticsearch": "~11.0.1",
|
||||
"error": "~7.0.2",
|
||||
"in-publish": "~2.0.0",
|
||||
"lodash": "~4.11.1",
|
||||
"lodash.isplainobject": "~4.0.4",
|
||||
"lodash.omit": "~4.2.1",
|
||||
"moment": "~2.10.6",
|
||||
"puid": "~1.0.5"
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ import indexTimestamp from './helpers/index_timestamp';
|
||||
import logger from './helpers/logger';
|
||||
import Job from './job.js';
|
||||
import Worker from './worker.js';
|
||||
import { omit } from 'lodash';
|
||||
import omit from 'lodash.omit';
|
||||
|
||||
const debug = logger('queue');
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import events from 'events';
|
||||
import { isPlainObject } from 'lodash';
|
||||
import isPlainObject from 'lodash.isplainobject';
|
||||
import Puid from 'puid';
|
||||
import logger from './helpers/logger';
|
||||
import { jobStatuses } from './helpers/constants';
|
||||
|
||||
Reference in New Issue
Block a user