New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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 0.4.1 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",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc