require-folder-tree
Advanced tools
Comparing version 1.4.6 to 1.4.7
@@ -109,1 +109,8 @@ # Changelog | ||
* Update license | ||
## 1.4.7 | ||
* Fix: Correct capitalization with `flattenCamel` option | ||
* Tests: Test folder structures 2 deep | ||
* Update `lodash` dependency | ||
* Update dev dependencies |
@@ -43,3 +43,3 @@ // -------------------- | ||
options.flattenCustom = function(a, b) {return a + _.capitalize(b);}; | ||
options.flattenCustom = function(a, b) {return a + capitalize(b);}; | ||
} else if (options.flattenSeparator) { | ||
@@ -151,1 +151,5 @@ options.flattenCustom = function(a, b) {return a + options.flattenSeparator + b;}; | ||
} | ||
function capitalize(str) { | ||
return str.slice(0, 1).toUpperCase() + str.slice(1); | ||
} |
{ | ||
"name": "require-folder-tree", | ||
"version": "1.4.6", | ||
"version": "1.4.7", | ||
"description": "Utility to require multiple files in a folder tree with flexible options", | ||
@@ -17,11 +17,11 @@ "main": "./lib/", | ||
"dependencies": { | ||
"lodash": "^4.17.10" | ||
"lodash": "^4.17.11" | ||
}, | ||
"devDependencies": { | ||
"mocha": "^5.2.0", | ||
"chai": "^4.1.2", | ||
"jshint": "^2.9.5", | ||
"chai": "^4.2.0", | ||
"jshint": "^2.9.6", | ||
"istanbul": "^0.4.5", | ||
"coveralls": "^3.0.1", | ||
"cross-env": "^5.1.6" | ||
"coveralls": "^3.0.2", | ||
"cross-env": "^5.2.0" | ||
}, | ||
@@ -28,0 +28,0 @@ "keywords": [ |
18125
126
Updatedlodash@^4.17.11