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

@rushstack/heft

Package Overview
Dependencies
Maintainers
3
Versions
358
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rushstack/heft - npm Package Compare versions

Comparing version 0.62.3 to 0.63.0

lib/utilities/CliUtilities.d.ts

2

dist/tsdoc-metadata.json

@@ -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.37.3"
"packageVersion": "7.38.0"
}
]
}

@@ -0,0 +0,0 @@ {

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

parameterLongName: Constants_1.Constants.toParameterLongName,
parameterShortName: Constants_1.Constants.toParameterShortName,
description: `The phase to ${action.actionName} to, including all transitive dependencies.`,

@@ -52,3 +51,2 @@ argumentName: 'PHASE',

parameterLongName: Constants_1.Constants.toExceptParameterLongName,
parameterShortName: Constants_1.Constants.toExceptParameterShortName,
description: `The phase to ${action.actionName} to (but not include), including all transitive dependencies.`,

@@ -60,3 +58,2 @@ argumentName: 'PHASE',

parameterLongName: Constants_1.Constants.onlyParameterLongName,
parameterShortName: Constants_1.Constants.onlyParameterShortName,
description: `The phase to ${action.actionName}.`,

@@ -63,0 +60,0 @@ argumentName: 'PHASE',

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

exports.HeftCommandLineParser = void 0;
const argparse_1 = require("argparse");
const ts_command_line_1 = require("@rushstack/ts-command-line");

@@ -14,3 +13,2 @@ const node_core_library_1 = require("@rushstack/node-core-library");

const LoggingManager_1 = require("../pluginFramework/logging/LoggingManager");
const Constants_1 = require("../utilities/Constants");
const CleanAction_1 = require("./actions/CleanAction");

@@ -20,2 +18,4 @@ const PhaseAction_1 = require("./actions/PhaseAction");

const AliasAction_1 = require("./actions/AliasAction");
const CliUtilities_1 = require("../utilities/CliUtilities");
const Constants_1 = require("../utilities/Constants");
const HEFT_TOOL_FILENAME = 'heft';

@@ -174,8 +174,7 @@ class HeftCommandLineParser extends ts_command_line_1.CommandLineParser {

}
// This is a rough parsing of the --debug parameter
const parser = new argparse_1.ArgumentParser({ addHelp: false });
parser.addArgument(this._debugFlag.longName, { dest: 'debug', action: 'storeTrue' });
parser.addArgument(this._unmanagedFlag.longName, { dest: 'unmanaged', action: 'storeTrue' });
const [result] = parser.parseKnownArgs(args);
return result;
const toolParameters = (0, CliUtilities_1.getToolParameterNamesFromArgs)(args);
return {
debug: toolParameters.has(this._debugFlag.longName),
unmanaged: toolParameters.has(this._unmanagedFlag.longName)
};
}

@@ -182,0 +181,0 @@ async _reportErrorAndSetExitCode(error) {

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

const fs = __importStar(require("fs"));
const CliUtilities_1 = require("./utilities/CliUtilities");
const Constants_1 = require("./utilities/Constants");

@@ -68,3 +69,4 @@ const HEFT_PACKAGE_NAME = '@rushstack/heft';

function tryStartLocalHeft() {
if (process.argv.indexOf(Constants_1.Constants.unmanagedParameterLongName) >= 0) {
const toolParameters = (0, CliUtilities_1.getToolParameterNamesFromArgs)();
if (toolParameters.has(Constants_1.Constants.unmanagedParameterLongName)) {
console.log(`Bypassing the Heft version selector because ${JSON.stringify(Constants_1.Constants.unmanagedParameterLongName)} ` +

@@ -75,3 +77,3 @@ 'was specified.');

}
else if (process.argv.indexOf(Constants_1.Constants.debugParameterLongName) >= 0) {
else if (toolParameters.has(Constants_1.Constants.debugParameterLongName)) {
// The unmanaged flag could be undiscoverable if it's not in their locally installed version

@@ -78,0 +80,0 @@ console.log('Searching for a locally installed version of Heft. Use the ' +

@@ -11,8 +11,5 @@ export declare class Constants {

static onlyParameterLongName: string;
static onlyParameterShortName: string;
static productionParameterLongName: string;
static toParameterLongName: string;
static toParameterShortName: string;
static toExceptParameterLongName: string;
static toExceptParameterShortName: string;
static unmanagedParameterLongName: string;

@@ -19,0 +16,0 @@ static verboseParameterLongName: string;

@@ -17,8 +17,5 @@ "use strict";

Constants.onlyParameterLongName = '--only';
Constants.onlyParameterShortName = '-o';
Constants.productionParameterLongName = '--production';
Constants.toParameterLongName = '--to';
Constants.toParameterShortName = '-t';
Constants.toExceptParameterLongName = '--to-except';
Constants.toExceptParameterShortName = '-T';
Constants.unmanagedParameterLongName = '--unmanaged';

@@ -25,0 +22,0 @@ Constants.verboseParameterLongName = '--verbose';

{
"name": "@rushstack/heft",
"version": "0.62.3",
"version": "0.63.0",
"description": "Build all your JavaScript projects the same way: A way that works.",

@@ -32,3 +32,2 @@ "keywords": [

"@types/tapable": "1.0.6",
"argparse": "~1.0.9",
"chokidar": "~3.4.0",

@@ -45,3 +44,3 @@ "fast-glob": "~3.3.1",

"@rushstack/rig-package": "0.5.1",
"@rushstack/ts-command-line": "4.16.1"
"@rushstack/ts-command-line": "4.17.0"
},

@@ -51,3 +50,2 @@ "devDependencies": {

"@rushstack/heft-node-rig": "2.3.2",
"@types/argparse": "1.0.38",
"@types/heft-jest": "1.0.1",

@@ -57,3 +55,3 @@ "@types/node": "18.17.15",

"typescript": "~5.0.4",
"@microsoft/api-extractor": "7.38.0",
"@microsoft/api-extractor": "7.38.1",
"local-eslint-config": "1.0.0"

@@ -60,0 +58,0 @@ },

@@ -0,0 +0,0 @@ # @rushstack/heft

@@ -0,0 +0,0 @@ # Upgrade notes for @rushstack/heft

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

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

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

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

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

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

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

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

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

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