Skip to content

Commit

Permalink
Bump lodash version (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
roderickhsiao authored and src-code committed Jun 30, 2017
1 parent 2dedf26 commit 1bd685f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dependencies": {
"chalk": "^1.0.0",
"commander": "^2.8.0",
"lodash": "^3.6.0",
"lodash": "^4.0.0",
"object-assign": "^4.0.0",
"xregexp": "^3.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions src/lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ utils.handleMergeArrays = function (a, b) {
// merge atomizer configs into a single config
utils.mergeConfigs = function (configs/*:Config[]*/)/*:Config*/ {
// TODO: Offer option to warn on conflicts
return _.merge.apply(null, configs.concat(utils.handleMergeArrays));
return _.mergeWith.apply(null, configs.concat(utils.handleMergeArrays));
};

// returns a repeated string by X amount
Expand All @@ -52,4 +52,4 @@ utils.repeatString = function (pattern/*:string*/, count/*:integer*/) {
return result + pattern;
};

module.exports = utils;
module.exports = utils;

0 comments on commit 1bd685f

Please sign in to comment.