Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

commander

Package Overview
Dependencies
Maintainers
6
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commander - npm Package Compare versions

Comparing version 5.0.0-4 to 5.0.0

77

CHANGELOG.md

@@ -10,46 +10,6 @@ # Changelog

## [5.0.0-4] (2020-03-03)
## [5.0.0] (2020-03-14)
### Added
* `createCommand` factory method to simplify subclassing ([#1191])
## [5.0.0-3] (2020-02-20)
### Added
* TypeScript definition for `commands` property of `Command` ([#1184])
* export `program` property ([#1195])
## [5.0.0-2] (2020-02-10)
### Added
* suggest help option along with unknown command error ([#1179])
### Changed
* TypeScript fluent return types changed to be more subclass friendly, return `this` rather than `Command` ([#1180])
* `.parseAsync` returns `Promise<this>` to be consistent with `.parse()` ([#1180])
## [5.0.0-1] (2020-02-08)
### Added
* `.helpInformation()` returns help text as a string, previously a private routine ([#1169])
* `.parse()` implicitly uses `process.argv` if arguments not specified ([#1172])
* optionally specify where `.parse()` arguments "from", if not following node conventions ([#512] [#1172])
### Changed
* changes to error handling ([#1165])
* throw for author error, not just display message
* preflight for variadic error
* add tips to missing subcommand executable
* update dependencies
## [5.0.0-0] (2020-02-02)
### Added
* support for nested commands with action-handlers ([#1] [#764] [#1149])

@@ -64,2 +24,9 @@ * `.addCommand()` for adding a separately configured command ([#764] [#1149])

* `.parseOption()` includes short flag and long flag expansions ([#1145])
* `.helpInformation()` returns help text as a string, previously a private routine ([#1169])
* `.parse()` implicitly uses `process.argv` if arguments not specified ([#1172])
* optionally specify where `.parse()` arguments "from", if not following node conventions ([#512] [#1172])
* suggest help option along with unknown command error ([#1179])
* TypeScript definition for `commands` property of `Command` ([#1184])
* export `program` property ([#1195])
* `createCommand` factory method to simplify subclassing ([#1191])

@@ -91,2 +58,9 @@ ### Fixed

* refactor Command from prototype to class ([#1159])
* changes to error handling ([#1165])
* throw for author error, not just display message
* preflight for variadic error
* add tips to missing subcommand executable
* TypeScript fluent return types changed to be more subclass friendly, return `this` rather than `Command` ([#1180])
* `.parseAsync` returns `Promise<this>` to be consistent with `.parse()` ([#1180])
* update dependencies

@@ -107,2 +81,22 @@ ### Removed

## [5.0.0-4] (2020-03-03)
(Released in 5.0.0)
## [5.0.0-3] (2020-02-20)
(Released in 5.0.0)
## [5.0.0-2] (2020-02-10)
(Released in 5.0.0)
## [5.0.0-1] (2020-02-08)
(Released in 5.0.0)
## [5.0.0-0] (2020-02-02)
(Released in 5.0.0)
## [4.1.1] (2020-02-02)

@@ -350,2 +344,3 @@

[Unreleased]: https://github.com/tj/commander.js/compare/master...develop
[5.0.0]: https://github.com/tj/commander.js/compare/v4.1.1..v5.0.0
[5.0.0-4]: https://github.com/tj/commander.js/compare/v5.0.0-3..v5.0.0-4

@@ -352,0 +347,0 @@ [5.0.0-3]: https://github.com/tj/commander.js/compare/v5.0.0-2..v5.0.0-3

{
"name": "commander",
"version": "5.0.0-4",
"version": "5.0.0",
"description": "the complete solution for node.js command-line programs",

@@ -9,3 +9,7 @@ "keywords": [

"option",
"parser"
"parser",
"cli",
"argument",
"args",
"argv"
],

@@ -20,2 +24,3 @@ "author": "TJ Holowaychuk <tj@vision-media.ca>",

"lint": "eslint index.js \"tests/**/*.js\"",
"typescript-lint": "eslint typings/*.ts",
"test": "jest && npm run test-typings",

@@ -31,6 +36,8 @@ "test-typings": "tsc -p tsconfig.json"

"devDependencies": {
"@types/jest": "^25.1.1",
"@types/jest": "^25.1.4",
"@types/node": "^12.12.26",
"@typescript-eslint/eslint-plugin": "^2.23.0",
"eslint": "^6.8.0",
"eslint-plugin-jest": "^23.6.0",
"eslint-config-standard-with-typescript": "^14.0.0",
"eslint-plugin-jest": "^23.8.2",
"jest": "^25.1.0",

@@ -37,0 +44,0 @@ "standard": "^14.3.1",

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