Socket
Socket
Sign inDemoInstall

@microsoft/ts-command-line

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/ts-command-line - npm Package Compare versions

Comparing version 4.3.2 to 4.3.3

12

CHANGELOG.json

@@ -5,2 +5,14 @@ {

{
"version": "4.3.3",
"tag": "@microsoft/ts-command-line_v4.3.3",
"date": "Fri, 18 Oct 2019 15:15:00 GMT",
"comments": {
"patch": [
{
"comment": "Fix Choice parameter error when only one alternative value is provided"
}
]
}
},
{
"version": "4.3.2",

@@ -7,0 +19,0 @@ "tag": "@microsoft/ts-command-line_v4.3.2",

9

CHANGELOG.md
# Change Log - @microsoft/ts-command-line
This log was last generated on Sun, 29 Sep 2019 23:56:29 GMT and should not be manually modified.
This log was last generated on Fri, 18 Oct 2019 15:15:00 GMT and should not be manually modified.
## 4.3.3
Fri, 18 Oct 2019 15:15:00 GMT
### Patches
- Fix Choice parameter error when only one alternative value is provided
## 4.3.2

@@ -6,0 +13,0 @@ Sun, 29 Sep 2019 23:56:29 GMT

2

lib/CommandLineParameter.js

@@ -132,3 +132,3 @@ "use strict";

this._value = undefined;
if (definition.alternatives.length <= 1) {
if (definition.alternatives.length < 1) {
throw new Error(`When defining a choice parameter, the alternatives list must contain at least one value.`);

@@ -135,0 +135,0 @@ }

{
"name": "@microsoft/ts-command-line",
"version": "4.3.2",
"version": "4.3.3",
"description": "An object-oriented command-line parser for TypeScript",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

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