Socket
Socket
Sign inDemoInstall

config-js

Package Overview
Dependencies
20
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.4 to 1.1.5

3

index.js

@@ -145,2 +145,3 @@ /*!

have(arguments, {propertyName: 'str', sep: 'opt str'});
debug('config.get of '+propertyName+', def='+defaultValue+', sep='+sep);

@@ -173,2 +174,3 @@ assert.ok(is.nonEmptyStr(propertyName));

envStr = process.env[envPropName];
debug('Propery '+envPropName+' found in environment: '+process.env[envPropName]);
}

@@ -185,2 +187,3 @@

if (!fromEnv) {
debug('Propery '+envPropName+' gotten from config file: ',(isValid ? currVal : defaultValue));
return isValid ? currVal : defaultValue;

@@ -187,0 +190,0 @@ } else {

2

package.json
{
"name": "config-js",
"version": "1.1.4",
"version": "1.1.5",
"description": "A simple config module. Support for regions and auto-load when file changes.",

@@ -5,0 +5,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