yargs-parser breaking changes

npm

10 curated breaking changes across major versions of yargs-parser. Use this as a migration checklist before bumping dependencies.

10
changes
Breaking changes by transition
  • 21.1.1 \u2192 22.0.0breaking

    yargs is now ESM first ([#503](https://github.com/yargs/yargs-parser/issues/503))

  • 20.2.9 \u2192 21.0.0breaking

    drops support for 10 (#421)

  • 19.0.4 \u2192 20.0.0breaking

    do not ship type definitions (#318)

  • 18.1.3 \u2192 19.0.0breaking

    drops Node 6. begin following Node.js LTS schedule (#278)

  • 18.1.3 \u2192 19.0.0breaking

    adds support for ESM and Deno (#295)

  • 18.1.3 \u2192 19.0.0breaking

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

  • 17.1.0 \u2192 18.0.0breaking

    the narg count is now enforced when parsing arrays.

  • 16.1.0 \u2192 17.0.0behavior

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

  • 16.1.0 \u2192 17.0.0breaking

    objects used during parsing are now created with a null

  • unknown \u2192 16.1.0breaking

    populate error if incompatible narg/count or array/count options are used (#191)

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/npm/yargs-parser
yargs-parser breaking changes — npm migration guide | DepScope