Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

simple-argparse

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-argparse - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

4

index.js

@@ -81,3 +81,3 @@ /*

this._commands = { };
this._default = this.showHelp;
this._default = this.showHelp.bind(this);
this._width = 0;

@@ -182,3 +182,3 @@ this._out = isFunction(stdout) ? stdout : console.log;

var command = args[0];
if (command === undefined || command[0] === "-") {
if (command === undefined || command === "" || command[0] === "-") {
context = argv(args);

@@ -185,0 +185,0 @@ context._option = "default";

{
"name": "simple-argparse",
"version": "0.2.1",
"version": "0.2.2",
"description": "Simple Argument parser for Command-line Applications",
"homepage": "https://github.com/forfuture-dev/node-simple-argparse",
"homepage": "https://github.com/forfutureLLC/node-simple-argparse",
"license": "MIT",

@@ -24,3 +24,3 @@ "repository": {

"dependencies": {
"minimist": "^1.1.1"
"minimist": "^1.1.2"
},

@@ -27,0 +27,0 @@ "devDependencies": {

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