@js-util/config-loader
Advanced tools
+1
-1
| { | ||
| "name": "@js-util/config-loader", | ||
| "version": "1.2.6", | ||
| "version": "1.2.7", | ||
| "description": "Quick and simple config loading, with sane defaults to get an application started", | ||
@@ -5,0 +5,0 @@ |
@@ -124,3 +124,3 @@ //----------------------------------------------------- | ||
| let fileList = options.fileList || ["./config.json", "./config.hjson"]; | ||
| let defaultVal = options.default || [ {} ]; | ||
| let defaultVal = options.default || {}; | ||
| let configDirList = options.configDirList || [] | ||
@@ -143,3 +143,3 @@ | ||
| } | ||
| configObjectMerge(fullConfigObj, dirConfig); | ||
| fullConfigObj = configObjectMerge(fullConfigObj, dirConfig); | ||
| } | ||
@@ -153,3 +153,3 @@ | ||
| } | ||
| configObjectMerge(fullConfigObj, fileConfig); | ||
| fullConfigObj = configObjectMerge(fullConfigObj, fileConfig); | ||
| } | ||
@@ -156,0 +156,0 @@ |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
9101
0.31%