Socket
Socket
Sign inDemoInstall

@jhanssen/options

Package Overview
Dependencies
3
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 1.0.6

4

index.js

@@ -115,4 +115,4 @@ /*global require,module,process*/

data.options = new Options(prefix, argv);
let ret = function(name) {
return data.options.value(name);
let ret = function(name, defaultValue) {
return data.options.value(name) || defaultValue;
};

@@ -119,0 +119,0 @@ ret.int = function(name, defaultValue) {

{
"name": "@jhanssen/options",
"version": "1.0.5",
"version": "1.0.6",
"description": "Options parser that looks at argv, environment variables and a config file.",

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

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