Socket
Socket
Sign inDemoInstall

@rushstack/ts-command-line

Package Overview
Dependencies
Maintainers
3
Versions
100
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.17.2 to 4.17.3

9

lib/providers/CommandLineParser.js
"use strict";
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CommandLineParser = void 0;
const colors_1 = __importDefault(require("colors"));
const terminal_1 = require("@rushstack/terminal");
const CommandLineParameterProvider_1 = require("./CommandLineParameterProvider");

@@ -36,3 +33,3 @@ const CommandLineParserExitError_1 = require("./CommandLineParserExitError");

description: this._options.toolDescription,
epilog: colors_1.default.bold((_a = this._options.toolEpilog) !== null && _a !== void 0 ? _a : `For detailed help about a specific command, use: ${this._options.toolFilename} <command> -h`)
epilog: terminal_1.Colorize.bold((_a = this._options.toolEpilog) !== null && _a !== void 0 ? _a : `For detailed help about a specific command, use: ${this._options.toolFilename} <command> -h`)
});

@@ -126,3 +123,3 @@ (_b = this.onDefineParameters) === null || _b === void 0 ? void 0 : _b.call(this);

// eslint-disable-next-line no-console
console.error(colors_1.default.red(message));
console.error(terminal_1.Colorize.red(message));
if (!process.exitCode) {

@@ -129,0 +126,0 @@ process.exitCode = 1;

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

@@ -16,4 +16,4 @@ "repository": {

"argparse": "~1.0.9",
"colors": "~1.2.1",
"string-argv": "~0.3.1"
"string-argv": "~0.3.1",
"@rushstack/terminal": "0.9.0"
},

@@ -20,0 +20,0 @@ "devDependencies": {

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