Comparing version 1.1.3 to 1.1.4
@@ -8,4 +8,4 @@ function toArr(any) { | ||
!!~opts.string.indexOf(key) ? (val == null || val === true ? '' : String(val)) | ||
: typeof val === 'boolean' ? val | ||
: !!~opts.boolean.indexOf(key) ? (val === 'false' ? false : val === 'true' || (out._.push((x = +val,x * 0 === 0) ? x : val),!!val)) | ||
: typeof val === 'boolean' ? val | ||
: (x = +val,x * 0 === 0) ? x : val | ||
@@ -12,0 +12,0 @@ ); |
{ | ||
"name": "mri", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Quickly scan for CLI flags and arguments", | ||
@@ -5,0 +5,0 @@ "repository": "lukeed/mri", |