Packages

yargs-parser

22.0.0 · 26 May 2025ISC371M / weekRepositoryHomepagenpmAtom feed

Your version

71 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 22.x · latest line
  2. 22.0.0

    26 May 2025
    • breaking

      Yargs is now ESM first

    • Yargs is now ESM first

  3. 21.x
  4. 21.1.1

    4 Aug 2022
  5. 21.1.0

    3 Aug 2022
    • Allow the browser build to be imported

    • halt-at-non-option: prevent known args from being parsed when "unknown-options-as-args" is enabled

    • Node version check now uses process.versions.node

  6. 21.0.1

    27 Feb 2022
    • Return deno env object

  7. 21.0.0

    16 Nov 2021
    • breaking

      Drops support for 10

    • Esm json import

    • Parser should preserve inner quotes

  8. 20.x
  9. 20.2.9

    20 Jun 2021
    • build: fixed automated release pipeline

  10. 20.2.7

    10 Mar 2021
    • deno: force relese for Deno

  11. 20.2.6

    22 Feb 2021
    • populate--: -- should always be array

  12. 20.2.5

    13 Feb 2021
    • Do not lowercase camel cased string

  13. 20.2.4

    9 Nov 2020
    • deno: address import issues in Deno

  14. 20.2.3

    16 Oct 2020
    • exports: node 13.0 and 13.1 require the dotted object form with a string fallback

  15. 20.2.2

    14 Oct 2020
    • exports: node 13.0-13.6 require a string fallback

  16. 20.2.1

    1 Oct 2020
    • deno: update types for deno ^1.4.0

  17. 20.2.0

    21 Sep 2020
    • string-utils: export looksLikeNumber helper

    • unknown-options-as-args: convert positionals that look like numbers

  18. 20.1.0

    20 Sep 2020
    • Adds parse-positional-numbers configuration

    • build: update release-please; make labels kick off builds

  19. 20.0.0

    9 Sep 2020
    • breaking

      Do not ship type definitions

    • Only strip camel case if hyphenated (#316) (95a9e78), closes #315

  20. 19.x
  21. 19.0.4

    27 Aug 2020
    • build: fixing publication

  22. 19.0.1

    9 Aug 2020
    • build: push tag created for deno

  23. 19.0.0

    9 Aug 2020
    • breaking

      Adds support for ESM and Deno

    • breaking

      ts: projects using @types/yargs-parser may see variations in type definitions.

    • breaking

      Drops Node 6. begin following Node.js LTS schedule

  24. 18.x
  25. 18.1.3

    16 Apr 2020
    • setArg: options using camel-case and dot-notation populated twice

  26. 18.1.2

    26 Mar 2020
    • array, nargs: support -o=--value and --option=--value format

  27. 18.1.1

    16 Mar 2020
    • __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.

  28. 18.1.0

    7 Mar 2020
    • Introduce single-digit boolean aliases

  29. 18.0.0

    2 Mar 2020
    • breaking

      The narg count is now enforced when parsing arrays.

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

  30. 17.x
  31. 17.1.0

    1 Mar 2020
    • Introduce greedy-arrays config, for specifying whether arrays consume multiple positionals

  32. 17.0.1

    29 Feb 2020
    • Normalized keys were not enumerable

  33. 17.0.0

    10 Feb 2020
    • breaking

      This reverts parsing behavior of booleans to that of yargs@14

    • breaking

      Objects used during parsing are now created with a null
      prototype. There may be some scenarios where this change in behavior
      leaks externally.

    • Boolean arguments will not be collected into an implicit array

  34. 16.x
  35. 16.1.0

    1 Nov 2019
    • breaking

      Populate error if incompatible narg/count or array/count options are used

    • Options that have had their default value used are now tracked

    • Populate error if incompatible narg/count or array/count options are used

  36. 16.0.0

    27 Oct 2019
  37. 15.x
  38. 15.0.3

    20 Jun 2021
    • build: should use releases_created when using manifest

  39. 15.0.2

    20 Jun 2021
    • perf: address slow parse when using unknown-options-as-args

  40. 15.0.0 – 15.0.12 releases without a noteShow each
  41. 14.x
  42. 14.0.0

    6 Sep 2019
  43. 13.x
  44. 13.1.2

    13 Mar 2020
  45. 13.1.1

    10 Jun 2019
    • Convert values to strings when tokenizing

    • Nargs should allow duplicates when duplicate-arguments-array=false

    • Should populate "_" when given config with "short-option-groups" false

  46. 13.0.0 – 13.1.02 releases without a noteShow each
  47. 12.x
  48. 12.0.0

    29 Jan 2019
  49. 11.x
  50. 11.0.0 – 11.1.13 releases without a noteShow each
  51. 10.x
  52. 10.0.0 – 10.1.02 releases without a noteShow each
  53. 9.x
  54. 9.0.0 – 9.0.23 releases without a noteShow each
  55. 8.x
  56. 8.0.0 – 8.1.02 releases without a noteShow each
  57. 7.x
  58. 7.0.0

    2 May 2017