yargs
18.2.0 · 20 Sep 2026MIT241.1M / weekRepositoryHomepagenpmAtom feed
Upgrading yargs from 15.0.0 to 15.4.1
8 releases in betweennotes for 4
- 1+
- change to make
- 0
- advisories fixed
- 14+
- new
- 13+
- fixes
Counted from 4 of 8 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- breaking15.2.0
Release by release
15.4.1no release note
- new
Adds deprecation option for commands
- new
Support array of examples
- fixed
i18n: Japanese translation phrasing
- fixed
strict mode: report default command unknown arguments
- fixed
usage: translate 'options' group only when displaying help
- new
15.3.1no release note
- new
yargs-parser: introduce single-digit boolean aliases
- new
Add usage for single-digit boolean aliases
- fixed
Address ambiguity between nargs of 1 and requiresArg
- new
- new
completion: takes negated flags into account when boolean-negation is set
- new
deps: pull in yargs-parser@17.0.0
- new
deprecateOption
- new
Display appropriate $0 for electron apps
- new
- new
lang: add Finnish localization (language code fi)
- new
Complete short options with a single dash
- new
onFinishCommand handler
- fixed
getCompletion() was not working for options
- fixed
- fixed
Show 2 dashes on help for single digit option key or alias
- new
15.0.1 – 15.0.22 releases, no release note
4 internal lines (docs, tests, tooling) left out.