-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Open
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.
Description
Version
v25.2.1
Platform
Linux DESKTOP-O26JEMV 6.6.87.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun 5 18:30:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
node --eval="import {parseArgs} from 'node:util';console.log(parseArgs({allowPositionals: true}))" -- arg1 arg2How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
{
values: [Object: null prototype] {},
positionals: [ 'arg1', 'arg2' ]
}
What do you see instead?
{ values: [Object: null prototype] {}, positionals: [ 'arg2' ] }
Additional information
No response
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.