Skip to content

Commit

Permalink
chore: Upgrade Lodash to 4.17.5 (vpulim#1001)
Browse files Browse the repository at this point in the history
  • Loading branch information
gazoakley authored and herom committed Feb 27, 2018
1 parent efca900 commit 7a5550a
Show file tree
Hide file tree
Showing 3 changed files with 420 additions and 659 deletions.
4 changes: 2 additions & 2 deletions lib/wsdl.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function trim(text) {
}

function deepMerge(destination, source) {
return _.merge(destination || {}, source, function(a, b) {
return _.mergeWith(destination || {}, source, function(a, b) {
return _.isArray(a) ? a.concat(b) : undefined;
});
}
Expand Down Expand Up @@ -1183,7 +1183,7 @@ WSDL.prototype._processNextInclude = function(includes, callback) {
self._includesWsdl.push(wsdl);

if (wsdl.definitions instanceof DefinitionsElement) {
_.merge(self.definitions, wsdl.definitions, function(a,b) {
_.mergeWith(self.definitions, wsdl.definitions, function(a,b) {
return (a instanceof SchemaElement) ? a.merge(b) : undefined;
});
} else {
Expand Down
Loading

0 comments on commit 7a5550a

Please sign in to comment.