Socket
Socket
Sign inDemoInstall

@rushstack/ts-command-line

Package Overview
Dependencies
Maintainers
3
Versions
99
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.21.5 to 4.22.0

2

dist/ts-command-line.d.ts

@@ -132,3 +132,3 @@ /**

*/
export declare const enum CommandLineConstants {
export declare enum CommandLineConstants {
/**

@@ -135,0 +135,0 @@ * The name of the built-in action that serves suggestions for tab-completion

@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.

"packageName": "@microsoft/api-extractor",
"packageVersion": "7.43.7"
"packageVersion": "7.46.1"
}
]
}

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

exports.CommandLineHelper = void 0;
const Constants_1 = require("./Constants");
/**

@@ -19,3 +20,3 @@ * Helpers for working with the ts-command-line API.

static isTabCompletionActionRequest(argv) {
return argv && argv.length > 2 && argv[2] === "tab-complete" /* CommandLineConstants.TabCompletionActionName */;
return argv && argv.length > 2 && argv[2] === Constants_1.CommandLineConstants.TabCompletionActionName;
}

@@ -22,0 +23,0 @@ }

@@ -6,3 +6,3 @@ /**

*/
export declare const enum CommandLineConstants {
export declare enum CommandLineConstants {
/**

@@ -9,0 +9,0 @@ * The name of the built-in action that serves suggestions for tab-completion

@@ -5,4 +5,16 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.SCOPING_PARAMETER_GROUP = void 0;
exports.SCOPING_PARAMETER_GROUP = exports.CommandLineConstants = void 0;
/**
* String constants for command line processing.
*
* @public
*/
var CommandLineConstants;
(function (CommandLineConstants) {
/**
* The name of the built-in action that serves suggestions for tab-completion
*/
CommandLineConstants["TabCompletionActionName"] = "tab-complete";
})(CommandLineConstants || (exports.CommandLineConstants = CommandLineConstants = {}));
exports.SCOPING_PARAMETER_GROUP = Symbol('scoping');
//# sourceMappingURL=Constants.js.map

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.CommandLineHelper = exports.DynamicCommandLineParser = exports.CommandLineParser = exports.CommandLineParameterProvider = exports.CommandLineRemainder = exports.CommandLineChoiceListParameter = exports.CommandLineChoiceParameter = exports.CommandLineIntegerListParameter = exports.CommandLineIntegerParameter = exports.CommandLineStringListParameter = exports.CommandLineStringParameter = exports.CommandLineFlagParameter = exports.CommandLineParameterWithArgument = exports.CommandLineParameter = exports.CommandLineParameterKind = exports.AliasCommandLineAction = exports.ScopedCommandLineAction = exports.DynamicCommandLineAction = exports.CommandLineAction = void 0;
exports.CommandLineHelper = exports.CommandLineConstants = exports.DynamicCommandLineParser = exports.CommandLineParser = exports.CommandLineParameterProvider = exports.CommandLineRemainder = exports.CommandLineChoiceListParameter = exports.CommandLineChoiceParameter = exports.CommandLineIntegerListParameter = exports.CommandLineIntegerParameter = exports.CommandLineStringListParameter = exports.CommandLineStringParameter = exports.CommandLineFlagParameter = exports.CommandLineParameterWithArgument = exports.CommandLineParameter = exports.CommandLineParameterKind = exports.AliasCommandLineAction = exports.ScopedCommandLineAction = exports.DynamicCommandLineAction = exports.CommandLineAction = void 0;
/**

@@ -47,4 +47,6 @@ * An object-oriented command-line parser for TypeScript projects.

Object.defineProperty(exports, "DynamicCommandLineParser", { enumerable: true, get: function () { return DynamicCommandLineParser_1.DynamicCommandLineParser; } });
var Constants_1 = require("./Constants");
Object.defineProperty(exports, "CommandLineConstants", { enumerable: true, get: function () { return Constants_1.CommandLineConstants; } });
var CommandLineHelper_1 = require("./CommandLineHelper");
Object.defineProperty(exports, "CommandLineHelper", { enumerable: true, get: function () { return CommandLineHelper_1.CommandLineHelper; } });
//# sourceMappingURL=index.js.map

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

const CommandLineAction_1 = require("./CommandLineAction");
const Constants_1 = require("../Constants");
const DEFAULT_WORD_TO_AUTOCOMPLETE = '';

@@ -44,3 +45,3 @@ const DEFAULT_POSITION = 0;

super({
actionName: "tab-complete" /* CommandLineConstants.TabCompletionActionName */,
actionName: Constants_1.CommandLineConstants.TabCompletionActionName,
summary: 'Provides tab completion.',

@@ -47,0 +48,0 @@ documentation: 'Provides tab completion.'

{
"name": "@rushstack/ts-command-line",
"version": "4.21.5",
"version": "4.22.0",
"description": "An object-oriented command-line parser for TypeScript",

@@ -17,7 +17,7 @@ "repository": {

"string-argv": "~0.3.1",
"@rushstack/terminal": "0.12.3"
"@rushstack/terminal": "0.13.0"
},
"devDependencies": {
"@rushstack/heft": "0.66.9",
"@rushstack/heft-node-rig": "2.6.7",
"@rushstack/heft": "0.66.16",
"@rushstack/heft-node-rig": "2.6.14",
"@types/heft-jest": "1.0.1",

@@ -24,0 +24,0 @@ "@types/node": "18.17.15",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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