Socket
Socket
Sign inDemoInstall

@commander-js/extra-typings

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commander-js/extra-typings - npm Package Versions

1

10.0.0

Diff

Changelog

Source

[10.0.0] (2023-01-14)

Changed

  • update peerDependencies to commander@10.0.x, which requires Node.js v14 or higher
shadowspawn
published 9.5.0 •

Changelog

Source

[9.5.0] (2023-01-07)

Added

  • .getOptionValueSourceWithGlobals() ([#18])
  • showGlobalOptions for .configureHelp{} and Help ([#19])

Changed

  • update peerDependencies to commander@9.5.x
shadowspawn
published 9.4.1 •

Changelog

Source

[9.4.1] (2022-11-01)

Fixed

  • added esm.mjs to package ([#16])
shadowspawn
published 9.4.0 •

Changelog

Source

[9.4.0] (2022-10-28)

Added

  • type processedArgs
  • infer types from .createOption()
  • infer types from .createArgument()

Changed

  • update peerDependencies to commander@9.4.x
shadowspawn
published 0.3.0 •

Changelog

Source

[0.3.0] (2022-09-07)

Added

  • add CommandUnknownOpts for when Command not strongly typed
  • use CommandUnknownOpts throughout Help, so can pass in commands which are Command or CommandUnknownOpts
  • use CommandUnknownOpts with addCommand
  • type .hook() arguments
  • add inferred option names and types to .getOptionValue(), but allow unknown and return unknown
  • add implied to OptionValueSource

Changed

  • switch OptionValues to returning unknown (goodbye another any!)
  • allow user defined source on get and set
shadowspawn
published 0.2.0 •

Changelog

Source

[0.2.0] (2022-08-23)

Fixed

  • a missing variadic optional command-line argument should be [] not undefined

Changed

  • use simple array type rather than fancy non-empty tuple, like string[] rather than [string, ...string[]]
shadowspawn
published 0.1.0 •

Changelog

Source

0.1.0 (2022-08-16)

Added

  • infer types from
    • .argument()
    • .arguments()
    • .addArgument()
    • .command()
    • .option()
    • .addOption()
  • inferred types for .action()
  • inferred types for .opts()
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc