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

clap

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clap - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

5

HISTORY.md

@@ -0,1 +1,6 @@

## 1.2.2 (September 18, 2017)
- Fixed context passed to `Command#args()`, now it's a command as expected (#10)
- Fixed consuming of literal arguments that wrongly concating with other arguments (i.e. anything going after `--` concats with arguments before `--`)
## 1.2.1 (September 18, 2017)

@@ -2,0 +7,0 @@

4

index.js

@@ -355,2 +355,4 @@ var MAX_LINE_WIDTH = process.stdout.columns || 200;

{
resultToken.args = commandArgs;
commandArgs = [];
noOptionsYet = false;

@@ -733,3 +735,3 @@ collectArgs = true;

if (item.args.length)
command.args_.apply(command.args_, item.args);
command.args_.apply(command, item.args);

@@ -736,0 +738,0 @@ // apply regular options

@@ -7,3 +7,3 @@ {

"license": "MIT",
"version": "1.2.1",
"version": "1.2.2",
"keywords": [

@@ -10,0 +10,0 @@ "cli",

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