Update ava to 4.3.3
The [release notes](https://github.com/avajs/ava/releases/tag/v4.3.3) mention compatibility with Node 18.8.
This commit is contained in:
parent
21530f507f
commit
bea5e4b220
160 changed files with 2647 additions and 2263 deletions
4
node_modules/yargs-parser/build/lib/yargs-parser.js
generated
vendored
4
node_modules/yargs-parser/build/lib/yargs-parser.js
generated
vendored
|
|
@ -178,11 +178,11 @@ export class YargsParser {
|
|||
let next;
|
||||
let value;
|
||||
// any unknown option (except for end-of-options, "--")
|
||||
if (arg !== '--' && isUnknownOptionAsArg(arg)) {
|
||||
if (arg !== '--' && /^-/.test(arg) && isUnknownOptionAsArg(arg)) {
|
||||
pushPositional(arg);
|
||||
// ---, ---=, ----, etc,
|
||||
}
|
||||
else if (truncatedArg.match(/---+(=|$)/)) {
|
||||
else if (truncatedArg.match(/^---+(=|$)/)) {
|
||||
// options without key name are invalid.
|
||||
pushPositional(arg);
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue