Socket
Socket
Sign inDemoInstall

@ms-cloudpack/task-reporter

Package Overview
Dependencies
Maintainers
3
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.14.1 to 0.14.2

1

lib-commonjs/SpinningSticky.d.ts

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

/// <reference types="node" />
import { Sticky } from './Sticky.js';

@@ -3,0 +2,0 @@ export declare class SpinningSticky extends Sticky {

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

/// <reference types="node" />
import { EventEmitter } from 'events';

@@ -3,0 +2,0 @@ export declare class Sticky extends EventEmitter {

3

lib-commonjs/TaskReporter.d.ts

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

private _hasCompleted;
private _completedWithErrors;
private _ignoredLogMessages;

@@ -130,3 +131,3 @@ private _maxHeapSize;

runTask(name: string, execute: () => Promise<void | undefined | TaskReporterTaskResult>): Promise<TaskReporterTaskResult>;
complete(completeReason?: string): void;
complete(completeReason?: string, completedWithError?: boolean): void;
hasErrors(): boolean;

@@ -133,0 +134,0 @@ private shouldIgnoreMessage;

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

/// <reference types="node" />
import { EventEmitter } from 'events';

@@ -3,0 +2,0 @@ import type { TaskReporterTaskStatus } from './types/TaskReporterTaskStatus.js';

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

/// <reference types="node" resolution-mode="require"/>
import { Sticky } from './Sticky.js';

@@ -3,0 +2,0 @@ export declare class SpinningSticky extends Sticky {

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

/// <reference types="node" resolution-mode="require"/>
import { EventEmitter } from 'events';

@@ -3,0 +2,0 @@ export declare class Sticky extends EventEmitter {

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

private _hasCompleted;
private _completedWithErrors;
private _ignoredLogMessages;

@@ -130,3 +131,3 @@ private _maxHeapSize;

runTask(name: string, execute: () => Promise<void | undefined | TaskReporterTaskResult>): Promise<TaskReporterTaskResult>;
complete(completeReason?: string): void;
complete(completeReason?: string, completedWithError?: boolean): void;
hasErrors(): boolean;

@@ -133,0 +134,0 @@ private shouldIgnoreMessage;

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

}
complete(completeReason) {
complete(completeReason, completedWithError) {
if (this._hasCompleted) {

@@ -190,2 +190,3 @@ throw new Error(`TaskReporter has already completed.`);

this._completeReason = completeReason;
this._completedWithErrors = completedWithError;
this._reportSummary();

@@ -220,3 +221,3 @@ this._hasCompleted = true;

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

@@ -231,5 +232,2 @@ this._writer.write([

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

@@ -304,2 +302,5 @@ }

}
if (this._completedWithErrors && this._options.helpMessage) {
this._writer.write(this._options.helpMessage);
}
}

@@ -306,0 +307,0 @@ _updateStickies() {

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

/// <reference types="node" resolution-mode="require"/>
import { EventEmitter } from 'events';

@@ -3,0 +2,0 @@ import type { TaskReporterTaskStatus } from './types/TaskReporterTaskStatus.js';

@@ -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.43.2"
"packageVersion": "7.47.0"
}
]
}
{
"name": "@ms-cloudpack/task-reporter",
"version": "0.14.1",
"version": "0.14.2",
"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

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