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

@oclif/multi-stage-output

Package Overview
Dependencies
Maintainers
0
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oclif/multi-stage-output - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

lib/index.d.ts

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

export { MultiStageOutput } from './multi-stage-output.js';
export { MultiStageOutput, MultiStageOutputOptions } from './multi-stage-output.js';
import { KeyValuePair, SimpleMessage, StageInfoBlock } from './components/stages.js';
import { Design } from './design.js';
type MultiStageOutputOptions<T extends Record<string, unknown>> = {
export type MultiStageOutputOptions<T extends Record<string, unknown>> = {
/**

@@ -45,8 +45,2 @@ * Stages to render.

/**
* Whether JSON output is enabled. Defaults to false.
*
* Pass in this.jsonEnabled() from the command class to determine if JSON output is enabled.
*/
readonly jsonEnabled: boolean;
/**
* Design options to customize the output.

@@ -71,3 +65,3 @@ */

private readonly title?;
constructor({ data, design, jsonEnabled, postStagesBlock, preStagesBlock, showElapsedTime, showStageTime, stageSpecificBlock, stages, timerUnit, title, }: MultiStageOutputOptions<T>);
constructor({ data, design, postStagesBlock, preStagesBlock, showElapsedTime, showStageTime, stageSpecificBlock, stages, timerUnit, title, }: MultiStageOutputOptions<T>);
goto(stage: string, data?: Partial<T>): void;

@@ -83,2 +77,1 @@ next(data?: Partial<T>): void;

}
export {};

@@ -147,3 +147,3 @@ import { ux } from '@oclif/core/ux';

title;
constructor({ data, design, jsonEnabled, postStagesBlock, preStagesBlock, showElapsedTime, showStageTime, stageSpecificBlock, stages, timerUnit, title, }) {
constructor({ data, design, postStagesBlock, preStagesBlock, showElapsedTime, showStageTime, stageSpecificBlock, stages, timerUnit, title, }) {
this.data = data;

@@ -160,4 +160,2 @@ this.design = constructDesignParams(design);

this.stageSpecificBlock = stageSpecificBlock;
if (jsonEnabled)
return;
if (isInCi) {

@@ -167,3 +165,2 @@ this.ciInstance = new CIMultiStageOutput({

design,
jsonEnabled,
postStagesBlock,

@@ -170,0 +167,0 @@ preStagesBlock,

{
"name": "@oclif/multi-stage-output",
"description": "Terminal output for oclif commands with multiple stages",
"version": "0.2.0",
"version": "0.2.1",
"author": "Salesforce",

@@ -6,0 +6,0 @@ "bugs": "https://github.com/oclif/multi-stage-output/issues",

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