Socket
Socket
Sign inDemoInstall

require-folder-tree

Package Overview
Dependencies
1
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.6 to 1.4.7

7

changelog.md

@@ -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

6

lib/index.js

@@ -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);
}

12

package.json
{
"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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc