Socket
Socket
Sign inDemoInstall

minimist-options

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minimist-options - npm Package Compare versions

Comparing version 2.0.2 to 2.1.0

4

index.js

@@ -30,2 +30,6 @@ 'use strict';

if (key === 'arguments') {
key = '_';
}
// if short form is used

@@ -32,0 +36,0 @@ // convert it to long form

2

package.json
{
"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: {

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