🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

cmdenv

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmdenv - npm Package Compare versions

Comparing version

to
0.5.0

8

index.js

@@ -51,2 +51,7 @@ /**

result[optLongName] = process.env[envName]
// Also keep a copy of the value with environment variable name if
// defined.
if (result.hasOwnProperty(optLongName))
result[envName] = result[optLongName]
}

@@ -76,3 +81,4 @@ })

console.log('\nmongodb: %s, redis-server: %s', _result.mongodb, _result.redisServer)
console.log('\nmongodb: %s, redisServer: %s', _result.mongodb, _result.redisServer)
console.log('\nPREFIX_MONGODB: %s, PREFIX_REDIS_SERVER: %s\n', _result.PREFIX_MONGODB, _result.PREFIX_REDIS_SERVER)
}

2

package.json
{
"name": "cmdenv",
"version": "0.4.1",
"version": "0.5.0",
"description": "Node.js command line options parser use environment variables as fallback.",

@@ -5,0 +5,0 @@ "main": "index.js",