Packages

yargs

18.2.0 · 20 Sep 2026MIT241.1M / weekRepositoryHomepagenpmAtom feed

Upgrading yargs from 15.0.1 to 15.4.1

7 releases in betweennotes for 4

Other targets from 15.0.1Latest18.2.0
1+
change to make
0
advisories fixed
14+
new
13+
fixes

Counted from 4 of 7 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

  1. 15.4.1no release note

  2. 15.4.0

    2 Jul 20202 new · 3 fixes
    • 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

  3. 15.3.1no release note

  4. 15.3.0

    8 Mar 20202 new · 1 fix
    • 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

  5. 15.2.0

    1 Mar 20207 new · 6 fixes
    • 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

  6. 15.1.0

    2 Jan 20203 new · 3 fixes
    • 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

      Populate positionals when unknown-options-as-args is set (#1508) (bb0f2eb), closes #1444

    • fixed

      Show 2 dashes on help for single digit option key or alias

  7. 15.0.2no release note

4 internal lines (docs, tests, tooling) left out.