Packages

yargs-parser

22.0.0 · 26 May 2025ISC371M / weekRepositoryHomepagenpmAtom feed

Upgrading yargs-parser From 17.1.0 to 18.1.1

3 releases in betweenevery note read

Other targets from 17.1.0Latest22.0.0
  1. 17.1.0yours
  2. 18.0.0major
  3. 18.1.0
  4. 18.1.1target

Before you upgrade

Tick each one off as you go
  • breaking18.0.0

Security

Fixes 1 advisory affecting 17.1.0

  • __proto__ will now be replaced with ___proto___ in parse (#258), patching a potential prototype pollution vulnerability. This was reported by the Snyk Security Research Team.

    18.1.1

Release by release

  1. 18.1.1

    Security fix16 Mar 2020
    • security

      __proto__ will now be replaced with ___proto___ in parse (#258), patching a potential prototype pollution vulnerability. This was reported by the Snyk Security Research Team.

  2. 18.1.0

    7 Mar 20201 new
    • new

      Introduce single-digit boolean aliases

  3. 18.0.0

    Migration needed2 Mar 20201 new
    • breaking

      The narg count is now enforced when parsing arrays.

    • new

      NaN can now be provided as a value for nargs, indicating "at least" one value is expected for array