Packages

yargs

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

Upgrading yargs from 3.11.0 to 18.2.0

125 releases in betweennotes for 97

Other targets from 3.11.0Newest 3.x3.32.0
56+
changes to make
0
advisories fixed
151+
new
170+
fixes

Counted from 97 of 125 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • breaking18.0.0
  • breaking18.0.0
  • breaking18.0.0
  • breaking18.0.0
  • breaking17.0.0
  • breaking17.0.0
  • breaking17.0.0
  • breaking17.0.0
  • breaking17.0.0
  • breaking17.0.0

Security

  • Local prototype pollution vulnerability in apply-extends

    18.1.0

Release by release

  1. 18.2.0

    20 Sep 20261 new · 1 fix
    • new

      Support creating completions for fish shell

    • fixed

      completion: remove spurious single-quote in zsh loadautofunc detection

  2. 18.1.0

    26 Jul 20262 new · 1 fix
    • new

      Ignore bun when getting bin name

    • new

      locale: add Georgian translation

    • fixed

      lang: 'count' for de locale

  3. 18.0.0

    27 May 20253 new · 10 fixes
    • new

      commandDir now works with ESM files

    • new

      locale: adds hebrew translation

    • new

      zsh: Add default completion as fallback

    • fixed

      addDirectory do not support absolute command dir

  4. 17.7.3

    19 Jun 20261 fix
    • fixed

      Use entry point with file extension for anything that supports exports

  5. 17.7.2

    27 Apr 20231 fix
    • fixed

      Do not crash completion when having negated options

  6. 17.7.1

    21 Feb 20231 fix
    • fixed

      Address display bug with default sub-commands

  7. 17.7.0

    16 Feb 20232 new · 1 fix
    • new

      Add method to hide option extras

    • new

      Convert line break to whitespace for the description of the option

    • fixed

      Copy the description of the option to its alias in completion

  8. 17.6.2nothing new or fixed in the note

48 other lines we could not sort, mostly version bumps
  • Update yargs-parser, y18n, nyc, cliui, pkg-conf

    4.4.0
  • The rebase method is only used by tests, do not export it in two places

    4.4.0
  • Initial support for subcommands

    4.4.0
  • Strict mode was failing if no commands were registered

    4.3.2
  • Remove duplicate keys from array options configuration

    4.3.2
  • Standardize tests for .command()

    4.3.2
  • non-singleton version of yargs

    4.3.0
  • [#422, #425, #420] translations for number (@zkat, @rilut, @maxrimue, @watilde)

    4.3.0
  • All command options can be defined in module now

    4.3.0
  • Use sane default for usage strings

    4.2.0

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