Socket
Socket
Sign inDemoInstall

yargs

Package Overview
Dependencies
15
Maintainers
2
Versions
250
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
25Next

17.7.2

Diff

Changelog

Source

17.7.2 (2023-04-27)

Bug Fixes

  • do not crash completion when having negated options (#2322) (7f42848)
oss-bot
published 17.7.1 •

Changelog

Source

17.7.1 (2023-02-21)

Bug Fixes

  • address display bug with default sub-commands (#2303) (9aa2490)
oss-bot
published 17.7.0 •

Changelog

Source

17.7.0 (2023-02-13)

Features

  • add method to hide option extras (#2156) (2c144c4)
  • convert line break to whitespace for the description of the option (#2271) (4cb41dc)

Bug Fixes

  • copy the description of the option to its alias in completion (#2269) (f37ee6f)
oss-bot
published 17.6.2 •

Changelog

Source

17.6.2 (2022-11-03)

Bug Fixes

  • deps: update dependency yargs-parser to v21.1.1 (#2231) (75b4d52)
  • lang: typo in Finnish unknown argument singular form (#2222) (a6dfd0a)
oss-bot
published 17.6.1 •

Changelog

Source

17.6.1 (2022-11-02)

Bug Fixes

  • lang: fix "Not enough non-option arguments" message for the Czech language (#2242) (3987b13)
oss-bot
published 17.6.0 •

Changelog

Source

17.6.0 (2022-10-01)

Features

Bug Fixes

  • deno: use 'globalThis' instead of 'window' (#2186) (#2215) (561fc7a)
  • deps: cliui with forced strip-ansi update (#2241) (38e8df1)
  • dont clobber description for multiple option calls (#2171) (f91d9b3)
  • typescript: address warning with objectKeys (394f5f8)
oss-bot
published 17.5.1 •

Changelog

Source

17.5.1 (2022-05-16)

Bug Fixes

  • add missing entries to published files (#2185) (5685382)
  • address bug when strict and async middleware used together (#2164) (cbc2eb7)
  • completion: correct zsh installation instructions (22e9af2)
  • handle multiple node_modules folders determining mainFilename for ESM (#2123) (e0823dd)
  • lang: add missing terms to Russian translation (#2181) (1c331f2)
  • prevent infinite loop with empty locale (#2179) (b672e70)
  • veriadic arguments override array provided in config (the same as multiple dash arguments). (4dac5b8)
oss-bot
published 17.5.0 •

Changelog

Source

17.5.0 (2022-05-11)

Features

  • add browser.d.ts and check for existence of Error.captureStackTrace() (#2144) (6192990)

Bug Fixes

  • completion: support for default flags (db35423)
  • import yargs/yargs in esm projects (#2151) (95aed1c)
oss-bot
published 17.4.1 •

Changelog

Source

17.4.1 (2022-04-09)

Bug Fixes

oss-bot
published 17.4.0 •

Changelog

Source

17.4.0 (2022-03-19)

Features

  • completion: choices will now work for all possible aliases of an option and not just the default long option (30edd50)
  • completion: positional arguments completion (#2090) (00e4ebb)

Bug Fixes

  • completion: changed the check for option arguments to match options that begin with '-', instead of '--', to include short options (30edd50)
  • completion: fix for completions that contain non-leading hyphens (30edd50)
  • failed command usage string is missing arg descriptions and optional args (#2105) (d6e342d)
  • wrap unknown args in quotes (#2092) (6a29778)
2345
25Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc