New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.0.8 to 1.0.9

9

index.js

@@ -44,6 +44,7 @@ var MAX_LINE_WIDTH = process.stdout.columns || 200;

function parseParams(str, multiple){
function parseParams(str){
// params [..<required>] [..[optional]]
// <foo> - require
// [foo] - optional
var tmp;
var left = str.trim();

@@ -642,3 +643,3 @@ var result = {

usage || '-v, --version',
description || 'Output the version',
description || 'Output version',
function(){

@@ -674,4 +675,2 @@ console.log(this.version_);

parse: function(args, suggest){
var suggestions;
if (!args)

@@ -856,3 +855,3 @@ args = process.argv.slice(2);

name: option.usage
.replace(/^(?:-., |)/, function(m, short){
.replace(/^(?:-., |)/, function(m){
return m || (hasShortOptions ? ' ' : '');

@@ -859,0 +858,0 @@ })

@@ -6,3 +6,3 @@ {

"author": "Roman Dvornov <rdvornov@gmail.com>",
"version": "1.0.8",
"version": "1.0.9",
"keywords": [

@@ -28,3 +28,3 @@ "cli",

"dependencies": {
"chalk": "1.1.0"
"chalk": "1.1.1"
},

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

@@ -1,2 +0,4 @@

[![NPM version](https://badge.fury.io/js/clap.png)](http://badge.fury.io/js/clap) [![Build Status](https://travis-ci.org/lahmatiy/clap.png?branch=master)](https://travis-ci.org/lahmatiy/clap)
[![NPM version](https://img.shields.io/npm/v/clap.svg)](https://www.npmjs.com/package/clap)
[![Dependency Status](https://img.shields.io/david/lahmatiy/clap.svg)](https://david-dm.org/lahmatiy/clap)
[![Build Status](https://travis-ci.org/lahmatiy/clap.svg?branch=master)](https://travis-ci.org/lahmatiy/clap)

@@ -3,0 +5,0 @@ # Clap.js

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