Socket
Socket
Sign inDemoInstall

@ms-cloudpack/task-reporter

Package Overview
Dependencies
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ms-cloudpack/task-reporter - npm Package Compare versions

Comparing version 0.3.3 to 0.4.0

6

lib-commonjs/TaskReporter.d.ts

@@ -19,2 +19,6 @@ import { TaskReporterTask, type TaskReporterTaskResult } from './TaskReporterTask.js';

/**
* Help message to display when cloudpack starts up.
*/
helpMessage?: string;
/**
* Plain text mode. This will disable all colors and formatting which depends

@@ -117,3 +121,3 @@ * on ansi codes, including stickies.

private _overideConsoleLogging;
private _reportProductName;
private _reportProductInfo;
private _reportConsoleLog;

@@ -120,0 +124,0 @@ private _reportTaskComplete;

@@ -19,2 +19,6 @@ import { TaskReporterTask, type TaskReporterTaskResult } from './TaskReporterTask.js';

/**
* Help message to display when cloudpack starts up.
*/
helpMessage?: string;
/**
* Plain text mode. This will disable all colors and formatting which depends

@@ -117,3 +121,3 @@ * on ansi codes, including stickies.

private _overideConsoleLogging;
private _reportProductName;
private _reportProductInfo;
private _reportConsoleLog;

@@ -120,0 +124,0 @@ private _reportTaskComplete;

11

lib/TaskReporter.js

@@ -76,3 +76,3 @@ import { Writer } from './Writer.js';

if (previousOptions.productName !== options.productName) {
this._reportProductName();
this._reportProductInfo();
}

@@ -175,4 +175,4 @@ }

}
_reportProductName() {
const { productName, version, description } = this._options;
_reportProductInfo() {
const { productName, version, description, helpMessage } = this._options;
if (productName) {

@@ -182,4 +182,7 @@ this._writer.write([`\n${productName}`, version && `(v${bold(white(version))})`, description && cyan(description)]

.join(' '));
this._writer.write('');
}
if (helpMessage) {
this._writer.write(helpMessage);
}
this._writer.write('');
}

@@ -186,0 +189,0 @@ _reportConsoleLog(status, message) {

@@ -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.34.7"
"packageVersion": "7.34.8"
}
]
}
{
"name": "@ms-cloudpack/task-reporter",
"version": "0.3.3",
"version": "0.4.0",
"description": "Helpers for logging tasks to the console.",

@@ -5,0 +5,0 @@ "license": "MIT",

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