Socket
Socket
Sign inDemoInstall

args

Package Overview
Dependencies
12
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.0.1

11

lib/utils.js

@@ -119,5 +119,7 @@ 'use strict';

// Unknown Option
const availableOptions = [].concat(
...this.details.options.map(opt => opt.usage)
);
const availableOptions = [];
this.details.options.forEach(opt => {
availableOptions.push.apply(availableOptions, opt.usage);
});
const suggestOption = stringSimilarity.findBestMatch(

@@ -277,3 +279,4 @@ option,

// Generate full name of binary
const full = this.binary +
const full =
this.binary +
'-' +

@@ -280,0 +283,0 @@ (Array.isArray(details.usage) ? details.usage[0] : details.usage);

{
"name": "args",
"version": "3.0.0",
"version": "3.0.1",
"description": "Minimal toolkit for building CLIs",

@@ -16,3 +16,3 @@ "files": [

"engines": {
"node": ">= 6.6.0"
"node": "> 4.0.0"
},

@@ -19,0 +19,0 @@ "keywords": [

@@ -19,3 +19,3 @@ # args

Install the package (you'll need at least v6.6 of [Node](https://nodejs.org/en/)):
Install the package (you'll need at least version 4.0.0 of [Node](https://nodejs.org/en/)):

@@ -22,0 +22,0 @@ ```bash

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