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.64.7 to 0.64.8

4

dist/heft.d.ts

@@ -23,4 +23,4 @@ /**

import { IRigConfig } from '@rushstack/rig-package';
import { ITerminal } from '@rushstack/node-core-library';
import { ITerminalProvider } from '@rushstack/node-core-library';
import { ITerminal } from '@rushstack/terminal';
import { ITerminalProvider } from '@rushstack/terminal';

@@ -27,0 +27,0 @@ export { CommandLineChoiceListParameter }

@@ -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.40.1"
"packageVersion": "7.40.2"
}
]
}

@@ -1,2 +0,2 @@

import type { ITerminal } from '@rushstack/node-core-library';
import type { ITerminal } from '@rushstack/terminal';
import { AliasCommandLineAction, type IAliasCommandLineActionOptions } from '@rushstack/ts-command-line';

@@ -3,0 +3,0 @@ export interface IAliasActionOptions extends IAliasCommandLineActionOptions {

import type { CommandLineAction } from '@rushstack/ts-command-line';
import type { ITerminal } from '@rushstack/node-core-library';
import type { ITerminal } from '@rushstack/terminal';
import type { HeftConfiguration } from '../../configuration/HeftConfiguration';

@@ -4,0 +4,0 @@ import type { MetricsCollector } from '../../metrics/MetricsCollector';

import { ScopedCommandLineAction, type CommandLineParameterProvider, type CommandLineStringListParameter } from '@rushstack/ts-command-line';
import { type ITerminal } from '@rushstack/node-core-library';
import type { ITerminal } from '@rushstack/terminal';
import type { InternalHeftSession } from '../../pluginFramework/InternalHeftSession';

@@ -4,0 +4,0 @@ import type { IHeftAction, IHeftActionOptions } from './IHeftAction';

/// <reference types="node" />
import { type ITerminal } from '@rushstack/node-core-library';
import { type ITerminal } from '@rushstack/terminal';
import { OperationStatus } from '@rushstack/operation-graph';

@@ -4,0 +4,0 @@ import type { CommandLineParameterProvider } from '@rushstack/ts-command-line';

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

const node_core_library_1 = require("@rushstack/node-core-library");
const terminal_1 = require("@rushstack/terminal");
const operation_graph_1 = require("@rushstack/operation-graph");

@@ -23,3 +24,3 @@ const HeftParameterManager_1 = require("../pluginFramework/HeftParameterManager");

// should already be `true` if the `--debug` flag was provided. This is set in HeftCommandLineParser
if (heftConfiguration.terminalProvider instanceof node_core_library_1.ConsoleTerminalProvider) {
if (heftConfiguration.terminalProvider instanceof terminal_1.ConsoleTerminalProvider) {
heftConfiguration.terminalProvider.verboseEnabled =

@@ -57,3 +58,3 @@ heftConfiguration.terminalProvider.verboseEnabled || isVerbose;

else {
terminal.writeLine(node_core_library_1.Colors.yellow(node_core_library_1.Colors.bold(`Canceling... Press Ctrl+C again to forcibly terminate.`)));
terminal.writeLine(terminal_1.Colorize.yellow(terminal_1.Colorize.bold(`Canceling... Press Ctrl+C again to forcibly terminate.`)));
}

@@ -96,3 +97,3 @@ forceTerminate = true;

const finishedLoggingLine = `-------------------- ${finishedLoggingWord} (${durationSeconds}s) --------------------`;
terminal.writeLine(node_core_library_1.Colors.bold((encounteredError ? node_core_library_1.Colors.red : encounteredWarnings ? node_core_library_1.Colors.yellow : node_core_library_1.Colors.green)(finishedLoggingLine)));
terminal.writeLine(terminal_1.Colorize.bold((encounteredError ? terminal_1.Colorize.red : encounteredWarnings ? terminal_1.Colorize.yellow : terminal_1.Colorize.green)(finishedLoggingLine)));
if (warningStrings.length > 0) {

@@ -221,3 +222,3 @@ terminal.writeWarningLine(`Encountered ${warningStrings.length} warning${warningStrings.length === 1 ? '' : 's'}`);

await watchLoop.runUntilAbortedAsync(cliAbortSignal, () => {
terminal.writeLine(node_core_library_1.Colors.bold('Waiting for changes. Press CTRL + C to exit...'));
terminal.writeLine(terminal_1.Colorize.bold('Waiting for changes. Press CTRL + C to exit...'));
terminal.writeLine('');

@@ -246,3 +247,3 @@ });

terminal.writeLine('');
terminal.writeLine(node_core_library_1.Colors.bold('Starting incremental build...'));
terminal.writeLine(terminal_1.Colorize.bold('Starting incremental build...'));
},

@@ -253,6 +254,6 @@ executeAsync: (state) => {

onRequestRun: (requestor) => {
terminal.writeLine(node_core_library_1.Colors.bold(`New run requested by ${requestor || 'unknown task'}`));
terminal.writeLine(terminal_1.Colorize.bold(`New run requested by ${requestor || 'unknown task'}`));
},
onAbort: () => {
terminal.writeLine(node_core_library_1.Colors.bold(`Cancelling incremental build...`));
terminal.writeLine(terminal_1.Colorize.bold(`Cancelling incremental build...`));
}

@@ -286,3 +287,3 @@ });

hasWarnedAboutSkippedPhases = true;
this._terminal.writeLine(node_core_library_1.Colors.bold('The provided list of phases does not contain all phase dependencies. You may need to run the ' +
this._terminal.writeLine(terminal_1.Colorize.bold('The provided list of phases does not contain all phase dependencies. You may need to run the ' +
'excluded phases manually.'));

@@ -289,0 +290,0 @@ break;

import { CommandLineParser } from '@rushstack/ts-command-line';
import { type ITerminal } from '@rushstack/node-core-library';
import { type ITerminal } from '@rushstack/terminal';
export declare class HeftCommandLineParser extends CommandLineParser {

@@ -4,0 +4,0 @@ readonly globalTerminal: ITerminal;

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

const node_core_library_1 = require("@rushstack/node-core-library");
const terminal_1 = require("@rushstack/terminal");
const MetricsCollector_1 = require("../metrics/MetricsCollector");

@@ -45,7 +46,7 @@ const HeftConfiguration_1 = require("../configuration/HeftConfiguration");

// Enable debug and verbose logging if the "--debug" flag is set
this._terminalProvider = new node_core_library_1.ConsoleTerminalProvider({
this._terminalProvider = new terminal_1.ConsoleTerminalProvider({
debugEnabled: this._debug,
verboseEnabled: this._debug
});
this.globalTerminal = new node_core_library_1.Terminal(this._terminalProvider);
this.globalTerminal = new terminal_1.Terminal(this._terminalProvider);
this._loggingManager = new LoggingManager_1.LoggingManager({ terminalProvider: this._terminalProvider });

@@ -52,0 +53,0 @@ if (this._debug) {

@@ -1,2 +0,3 @@

import { type ITerminalProvider, type IPackageJson, type ITerminal } from '@rushstack/node-core-library';
import { type IPackageJson } from '@rushstack/node-core-library';
import { type ITerminalProvider, type ITerminal } from '@rushstack/terminal';
import { type IRigConfig } from '@rushstack/rig-package';

@@ -3,0 +4,0 @@ import { type IRigPackageResolver } from './RigPackageResolver';

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

const node_core_library_1 = require("@rushstack/node-core-library");
const terminal_1 = require("@rushstack/terminal");
const true_case_path_1 = require("true-case-path");

@@ -145,3 +146,3 @@ const rig_package_1 = require("@rushstack/rig-package");

configuration._terminalProvider = options.terminalProvider;
configuration._globalTerminal = new node_core_library_1.Terminal(options.terminalProvider);
configuration._globalTerminal = new terminal_1.Terminal(options.terminalProvider);
return configuration;

@@ -148,0 +149,0 @@ }

@@ -1,2 +0,3 @@

import { type ITerminal, type IPackageJson } from '@rushstack/node-core-library';
import { type IPackageJson } from '@rushstack/node-core-library';
import type { ITerminal } from '@rushstack/terminal';
import type { IRigConfig } from '@rushstack/rig-package';

@@ -3,0 +4,0 @@ /**

@@ -1,2 +0,2 @@

import { type ITerminal } from '@rushstack/node-core-library';
import type { ITerminal } from '@rushstack/terminal';
import type { HeftPluginDefinitionBase } from '../configuration/HeftPluginDefinition';

@@ -3,0 +3,0 @@ import type { IHeftPlugin } from './IHeftPlugin';

import { ScopedLogger } from './ScopedLogger';
import { type FileLocationStyle, type ITerminalProvider, type IFileErrorFormattingOptions } from '@rushstack/node-core-library';
import { type FileLocationStyle, type IFileErrorFormattingOptions } from '@rushstack/node-core-library';
import type { ITerminalProvider } from '@rushstack/terminal';
export interface ILoggingManagerOptions {

@@ -4,0 +5,0 @@ terminalProvider: ITerminalProvider;

@@ -1,2 +0,2 @@

import type { ITerminal } from '@rushstack/node-core-library';
import type { ITerminal } from '@rushstack/terminal';
import type { IScopedLogger } from './ScopedLogger';

@@ -3,0 +3,0 @@ /**

@@ -1,2 +0,2 @@

import { type ITerminalProvider, type ITerminal } from '@rushstack/node-core-library';
import { type ITerminalProvider, type ITerminal } from '@rushstack/terminal';
/**

@@ -3,0 +3,0 @@ * A logger which is used to emit errors and warnings to the console, as well as to write

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

exports.ScopedLogger = void 0;
const node_core_library_1 = require("@rushstack/node-core-library");
const terminal_1 = require("@rushstack/terminal");
const LoggingManager_1 = require("./LoggingManager");

@@ -28,7 +28,7 @@ class ScopedLogger {

this.loggerName = options.loggerName;
this.terminalProvider = new node_core_library_1.PrefixProxyTerminalProvider({
this.terminalProvider = new terminal_1.PrefixProxyTerminalProvider({
terminalProvider: options.terminalProvider,
prefix: `[${this.loggerName}] `
});
this.terminal = new node_core_library_1.Terminal(this.terminalProvider);
this.terminal = new terminal_1.Terminal(this.terminalProvider);
}

@@ -35,0 +35,0 @@ /**

@@ -1,2 +0,2 @@

import { type ITerminal } from '@rushstack/node-core-library';
import type { ITerminal } from '@rushstack/terminal';
import { type IFileSelectionSpecifier } from './FileGlobSpecifier';

@@ -3,0 +3,0 @@ import type { HeftConfiguration } from '../configuration/HeftConfiguration';

@@ -1,2 +0,2 @@

import { type ITerminal } from '@rushstack/node-core-library';
import type { ITerminal } from '@rushstack/terminal';
import { type IFileSelectionSpecifier } from './FileGlobSpecifier';

@@ -3,0 +3,0 @@ import type { HeftConfiguration } from '../configuration/HeftConfiguration';

@@ -1,2 +0,2 @@

import { type ITerminal } from '@rushstack/node-core-library';
import type { ITerminal } from '@rushstack/terminal';
import type { IRigConfig } from '@rushstack/rig-package';

@@ -3,0 +3,0 @@ import type { IDeleteOperation } from '../plugins/DeleteFilesPlugin';

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

@@ -39,6 +39,7 @@ "keywords": [

"watchpack": "2.4.0",
"@rushstack/node-core-library": "3.66.1",
"@rushstack/operation-graph": "0.2.9",
"@rushstack/node-core-library": "4.0.0",
"@rushstack/rig-package": "0.5.2",
"@rushstack/heft-config-file": "0.14.10",
"@rushstack/heft-config-file": "0.14.11",
"@rushstack/terminal": "0.8.0",
"@rushstack/operation-graph": "0.2.10",
"@rushstack/ts-command-line": "4.17.2"

@@ -53,3 +54,3 @@ },

"typescript": "~5.3.3",
"@microsoft/api-extractor": "7.40.2",
"@microsoft/api-extractor": "7.40.3",
"local-eslint-config": "1.0.0"

@@ -56,0 +57,0 @@ },

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