Socket
Socket
Sign inDemoInstall

cli-arguments

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.5 to 0.2.0

9

lib/index.js

@@ -100,6 +100,13 @@ /**

name = arg[1];
option = globalShortcuts[arg[1]];
option = shortcuts[arg[1]];
value = arg.substr(2) || true;
}
if (!option){
// Test --no-XXX
if (name.substr(0, 3) == 'no-'){
name = name.substr(3);
option = (commandOptions && commandOptions[name]) || config.globalOptions[name];
options[name] = undefined;
continue;
}
// Unknown option

@@ -106,0 +113,0 @@ if (!config.allowUnknownOption){

2

package.json
{
"name": "cli-arguments",
"version": "0.1.5",
"version": "0.2.0",
"main": "lib/index.js"
}
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc