Skip to content

Commit

Permalink
switch to specialized lodash.assign npm module (archiverjs#335)
Browse files Browse the repository at this point in the history
this optimizes node_modules size, reducing about 5 megabytes down to 32 kilobytes
  • Loading branch information
starpit authored and ctalkington committed Aug 10, 2018
1 parent 467e5c6 commit d0fb05b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
var fs = require('fs');
var glob = require('glob');
var async = require('async');
var _ = require('lodash');
var _ = { extend: require('lodash.assign') };
var path = require('path');
var util = require('archiver-utils');

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"async": "^2.0.0",
"buffer-crc32": "^0.2.1",
"glob": "^7.0.0",
"lodash": "^4.8.0",
"lodash.assign": "^4.2.0",
"readable-stream": "^2.0.0",
"tar-stream": "^1.5.0",
"zip-stream": "^1.2.0"
Expand Down

0 comments on commit d0fb05b

Please sign in to comment.