yargs-unparser
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -58,3 +58,3 @@ 'use strict'; | ||
// Unparse positional arguments first | ||
// Unparse positional arguments | ||
argv._ && unparsed.push(...argv._); | ||
@@ -64,4 +64,4 @@ | ||
const optionsArgv = omitBy(argv, (value, key) => | ||
// Remove special _ & -- | ||
key === '_' || key === '--' || | ||
// Remove special _, -- and $0 | ||
key === '_' || key === '--' || key === '$0' || | ||
// Remove aliases | ||
@@ -68,0 +68,0 @@ isAlias(key, options.alias) || |
{ | ||
"name": "yargs-unparser", | ||
"description": "Converts back a yargs argv object to its original array form.", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "yargs", |
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
6951