minimist-options
Advanced tools
Comparing version 2.0.2 to 2.1.0
@@ -30,2 +30,6 @@ 'use strict'; | ||
if (key === 'arguments') { | ||
key = '_'; | ||
} | ||
// if short form is used | ||
@@ -32,0 +36,0 @@ // convert it to long form |
{ | ||
"name": "minimist-options", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"description": "Pretty options for minimist", | ||
@@ -5,0 +5,0 @@ "repository": "vadimdemedes/minimist-options", |
@@ -30,3 +30,6 @@ # minimist-options [![Build Status](https://travis-ci.org/vadimdemedes/minimist-options.svg?branch=master)](https://travis-ci.org/vadimdemedes/minimist-options) | ||
published: 'boolean' | ||
published: 'boolean', | ||
// special option for positional arguments (`_` in minimist) | ||
arguments: 'string' | ||
}; | ||
@@ -43,3 +46,3 @@ | ||
const options = { | ||
string: ['name'], | ||
string: ['name', '_'], | ||
boolean: ['force', 'published'], | ||
@@ -46,0 +49,0 @@ alias: { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3868
51
64