New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rushstack/ts-command-line

Package Overview
Dependencies
Maintainers
2
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 4.9.1 to 4.10.0

12

CHANGELOG.json

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

{
"version": "4.10.0",
"tag": "@rushstack/ts-command-line_v4.10.0",
"date": "Mon, 04 Oct 2021 15:10:18 GMT",
"comments": {
"minor": [
{
"comment": "Add safety check parametersProcessed to CommandLineParameterProvider"
}
]
}
},
{
"version": "4.9.1",

@@ -7,0 +19,0 @@ "tag": "@rushstack/ts-command-line_v4.9.1",

9

CHANGELOG.md
# Change Log - @rushstack/ts-command-line
This log was last generated on Thu, 23 Sep 2021 00:10:41 GMT and should not be manually modified.
This log was last generated on Mon, 04 Oct 2021 15:10:18 GMT and should not be manually modified.
## 4.10.0
Mon, 04 Oct 2021 15:10:18 GMT
### Minor changes
- Add safety check parametersProcessed to CommandLineParameterProvider
## 4.9.1

@@ -6,0 +13,0 @@ Thu, 23 Sep 2021 00:10:41 GMT

@@ -276,2 +276,3 @@ /**

private _parametersByLongName;
private _parametersProcessed;
private _remainder;

@@ -284,2 +285,6 @@ /* Excluded from this release type: __constructor */

/**
* Informs the caller if the argparse data has been processed into parameters.
*/
get parametersProcessed(): boolean;
/**
* If {@link CommandLineParameterProvider.defineCommandLineRemainder} was called,

@@ -286,0 +291,0 @@ * this object captures any remaining command line arguments after the recognized portion.

@@ -30,2 +30,3 @@ import * as argparse from 'argparse';

private _parametersByLongName;
private _parametersProcessed;
private _remainder;

@@ -39,2 +40,6 @@ /** @internal */

/**
* Informs the caller if the argparse data has been processed into parameters.
*/
get parametersProcessed(): boolean;
/**
* If {@link CommandLineParameterProvider.defineCommandLineRemainder} was called,

@@ -41,0 +46,0 @@ * this object captures any remaining command line arguments after the recognized portion.

@@ -47,2 +47,3 @@ "use strict";

this._parametersByLongName = new Map();
this._parametersProcessed = false;
}

@@ -56,2 +57,8 @@ /**

/**
* Informs the caller if the argparse data has been processed into parameters.
*/
get parametersProcessed() {
return this._parametersProcessed;
}
/**
* If {@link CommandLineParameterProvider.defineCommandLineRemainder} was called,

@@ -284,2 +291,5 @@ * this object captures any remaining command line arguments after the recognized portion.

_processParsedData(data) {
if (this._parametersProcessed) {
throw new Error('Command Line Parser Data was already processed');
}
// Fill in the values for the parameters

@@ -293,2 +303,3 @@ for (const parameter of this._parameters) {

}
this._parametersProcessed = true;
}

@@ -295,0 +306,0 @@ _generateKey() {

2

package.json
{
"name": "@rushstack/ts-command-line",
"version": "4.9.1",
"version": "4.10.0",
"description": "An object-oriented command-line parser for TypeScript",

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

Sorry, the diff of this file is not supported yet

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