minimist-options
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -70,3 +70,3 @@ 'use strict'; | ||
if (props.default) { | ||
if ({}.hasOwnProperty.call(props, 'default')) { | ||
insert(result, 'default', key, props.default); | ||
@@ -73,0 +73,0 @@ } |
{ | ||
"name": "minimist-options", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Pretty options for minimist", | ||
@@ -5,0 +5,0 @@ "repository": "vadimdemedes/minimist-options", |
@@ -17,3 +17,3 @@ # minimist-options [![Build Status](https://travis-ci.org/vadimdemedes/minimist-options.svg?branch=master)](https://travis-ci.org/vadimdemedes/minimist-options) | ||
const options = { | ||
const options = buildOptions({ | ||
name: { | ||
@@ -35,3 +35,3 @@ type: 'string', | ||
arguments: 'string' | ||
}; | ||
}); | ||
@@ -38,0 +38,0 @@ const args = minimist(options); |
4063