node-red-viseo-helper
Advanced tools
Comparing version 0.1.24 to 0.1.25
@@ -0,0 +0,0 @@ # Contributor Covenant Code of Conduct |
@@ -0,0 +0,0 @@ # Contributing to the Project |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -10,13 +10,8 @@ const extend = require('extend'); | ||
let config = {} | ||
let config = require(process.env.CONFIG_PATH)[process.env.NODE_ENV] || {}; | ||
config.server.host = process.env.HOST || config.server.host; | ||
try { | ||
config = require(process.env.CONFIG_PATH)[process.env.NODE_ENV] || {}; | ||
config.server.host = process.env.HOST || config.server.host; | ||
} catch(e) { | ||
console.log("no project config file found"); | ||
} | ||
if (undefined === config.server.verbose) config.server.verbose = true; | ||
extend(true, CONFIG, config); | ||
}; |
{ | ||
"name" : "node-red-viseo-helper", | ||
"version" : "0.1.24", | ||
"version" : "0.1.25", | ||
"description" : "Utility libarary for Node-RED", | ||
@@ -5,0 +5,0 @@ "dependencies" : { |
@@ -0,0 +0,0 @@ # Node-RED |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23457
170
1