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

argparse

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

argparse - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

6

CHANGELOG.md

@@ -0,1 +1,7 @@

1.0.10 / 2018-02-15
------------------
- Use .concat instead of + for arrays, #122.
1.0.9 / 2016-09-29

@@ -2,0 +8,0 @@ ------------------

2

lib/action.js

@@ -13,3 +13,3 @@ /**

*
* #####Alowed keywords:
* ##### Allowed keywords:
*

@@ -16,0 +16,0 @@ * - `store`

@@ -417,3 +417,3 @@ /**

indent = $$.repeat(' ', prefix.length);
parts = optionalParts + positionalParts;
parts = optionalParts.concat(positionalParts);
lines = _getLines(parts, indent);

@@ -426,3 +426,3 @@ if (lines.length > 1) {

}
lines = [ prog ] + lines;
lines = [ prog ].concat(lines);
}

@@ -429,0 +429,0 @@ // join lines into usage

{
"name": "argparse",
"description": "Very powerful CLI arguments parser. Native port of argparse - python's options parsing library",
"version": "1.0.9",
"version": "1.0.10",
"keywords": [

@@ -6,0 +6,0 @@ "cli",

argparse
========
[![Build Status](https://secure.travis-ci.org/nodeca/argparse.png?branch=master)](http://travis-ci.org/nodeca/argparse)
[![Build Status](https://secure.travis-ci.org/nodeca/argparse.svg?branch=master)](http://travis-ci.org/nodeca/argparse)
[![NPM version](https://img.shields.io/npm/v/argparse.svg)](https://www.npmjs.org/package/argparse)

@@ -16,2 +16,6 @@

- Use `defaultValue` instead of `default`.
- Use `argparse.Const.REMAINDER` instead of `argparse.REMAINDER`, and
similarly for constant values `OPTIONAL`, `ZERO_OR_MORE`, and `ONE_OR_MORE`
(aliases for `nargs` values `'?'`, `'*'`, `'+'`, respectively), and
`SUPPRESS`.

@@ -86,3 +90,3 @@

```
new ArgumentParser({paramters hash});
new ArgumentParser({parameters hash});
```

@@ -105,3 +109,3 @@

**Not supportied yet**
**Not supported yet**

@@ -108,0 +112,0 @@ - ```fromfilePrefixChars``` - The set of characters that prefix files from which additional arguments should be read.

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