Socket
Socket
Sign inDemoInstall

optimist

Package Overview
Dependencies
1
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0 to 0.3.1

4

index.js

@@ -171,3 +171,5 @@ var path = require('path');

if (opt.demand) self.demand(key);
if (opt.default) self.default(key, opt.default);
if (typeof opt.default !== 'undefined') {
self.default(key, opt.default);
}

@@ -174,0 +176,0 @@ if (opt.boolean || opt.type === 'boolean') {

{
"name" : "optimist",
"version" : "0.3.0",
"version" : "0.3.1",
"description" : "Light-weight option parsing with an argv hash. No optstrings attached.",

@@ -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