apidoc-core
Advanced tools
Comparing version
@@ -145,7 +145,9 @@ var _ = require('lodash'); | ||
function _recursiveMerge(block, matchedData) { | ||
_.merge(block, matchedData, function(a, b) { | ||
if(a instanceof Array) | ||
_.mergeWith(block, matchedData, function(a, b) { | ||
if(a instanceof Array) { | ||
return a.concat(b); | ||
if(_.isObject(a)) | ||
} | ||
if(_.isObject(a)) { | ||
_recursiveMerge(a, b); | ||
} | ||
return a; | ||
@@ -152,0 +154,0 @@ }); |
{ | ||
"name": "apidoc-core", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "Core parser library to generate apidoc result following the apidoc-spec", | ||
@@ -36,3 +36,3 @@ "author": "Peter Rottmann <rottmann@inveris.de>", | ||
"dependencies": { | ||
"lodash": "~4.3.0", | ||
"lodash": "~4.5.0", | ||
"semver": "~5.1.0", | ||
@@ -39,0 +39,0 @@ "wrench": "~1.5.8" |
94069
0.03%2590
0.08%+ Added
- Removed
Updated