diff --git a/package.json b/package.json index 8c1eacf..06ee65c 100644 --- a/package.json +++ b/package.json @@ -48,8 +48,7 @@ "dependencies": { "glob": "^7.1.3", "ignore": "^5.0.5", - "lodash.difference": "^4.5.0", - "lodash.union": "^4.6.0", + "lodash": "4.x", "make-array": "^1.0.5", "util.inherits": "^1.0.3" } diff --git a/src/util.js b/src/util.js index a14e200..f688693 100644 --- a/src/util.js +++ b/src/util.js @@ -1,7 +1,7 @@ const ignore = require('ignore') const path = require('path') -const difference = require('lodash.difference') -const union = require('lodash.union') +const difference = require('lodash/difference') +const union = require('lodash/union') const make_array = require('make-array') const IGNORE = typeof Symbol === 'function'