Skip to content

Commit

Permalink
move away from specialized lodash packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctalkington committed Sep 3, 2023
1 parent 27ece5d commit 0723921
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 50 deletions.
8 changes: 4 additions & 4 deletions file.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
var fs = require('graceful-fs');
var path = require('path');

var flatten = require('lodash.flatten');
var difference = require('lodash.difference');
var union = require('lodash.union');
var isPlainObject = require('lodash.isplainobject');
var flatten = require('lodash/flatten');
var difference = require('lodash/difference');
var union = require('lodash/union');
var isPlainObject = require('lodash/isPlainObject');

var glob = require('glob');

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var fs = require('graceful-fs');
var path = require('path');
var lazystream = require('lazystream');
var normalizePath = require('normalize-path');
var defaults = require('lodash.defaults');
var defaults = require('lodash/defaults');

var Stream = require('stream').Stream;
var PassThrough = require('readable-stream').PassThrough;
Expand Down
51 changes: 11 additions & 40 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,7 @@
"glob": "^8.0.0",
"graceful-fs": "^4.2.0",
"lazystream": "^1.0.0",
"lodash.defaults": "^4.2.0",
"lodash.difference": "^4.5.0",
"lodash.flatten": "^4.4.0",
"lodash.isplainobject": "^4.0.6",
"lodash.union": "^4.6.0",
"lodash": "^4.17.15",
"normalize-path": "^3.0.0",
"readable-stream": "^3.6.0"
},
Expand Down

0 comments on commit 0723921

Please sign in to comment.