yargs-parser
Advanced tools
Comparing version 20.2.5 to 20.2.6
@@ -173,2 +173,8 @@ import { tokenizeArgString } from './tokenize-arg-string.js'; | ||
pushPositional(arg); | ||
// ---, ---=, ----, etc, | ||
} | ||
else if (arg.match(/---+(=|$)/)) { | ||
// options without key name are invalid. | ||
pushPositional(arg); | ||
continue; | ||
// -- separated by = | ||
@@ -175,0 +181,0 @@ } |
@@ -5,2 +5,9 @@ # Changelog | ||
### [20.2.6](https://www.github.com/yargs/yargs-parser/compare/v20.2.5...v20.2.6) (2021-02-22) | ||
### Bug Fixes | ||
* **populate--:** -- should always be array ([#354](https://www.github.com/yargs/yargs-parser/issues/354)) ([585ae8f](https://www.github.com/yargs/yargs-parser/commit/585ae8ffad74cc02974f92d788e750137fd65146)) | ||
### [20.2.5](https://www.github.com/yargs/yargs-parser/compare/v20.2.4...v20.2.5) (2021-02-13) | ||
@@ -7,0 +14,0 @@ |
{ | ||
"name": "yargs-parser", | ||
"version": "20.2.5", | ||
"version": "20.2.6", | ||
"description": "the mighty option parser used by yargs", | ||
@@ -5,0 +5,0 @@ "main": "build/index.cjs", |
Sorry, the diff of this file is not supported yet
121058
2231