Skip to content

yargs-parser v17.0.0

Compare
Choose a tag to compare
@release-please release-please released this 10 Feb 03:45

⚠ BREAKING CHANGES

  • this reverts parsing behavior of booleans to that of yargs@14
  • objects used during parsing are now created with a null
    prototype. There may be some scenarios where this change in behavior
    leaks externally.

Features

  • boolean arguments will not be collected into an implicit array (#236) (34c4e19)
  • introduce nargs-eats-options config option (#246) (d50822a)

Bug Fixes

  • address bugs with "uknown-options-as-args" (bc023e3)
  • array should take precedence over nargs, but enforce nargs (#243) (4cbc188)
  • support keys that collide with object prototypes (#234) (1587b6d)
  • unknown options terminated with digits now handled by unknown-options-as-args (#238) (d36cdfa)