@rushstack/stream-collator 4.1.53 → 4.1.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/tsdoc-metadata.json
CHANGED
package/lib/CollatedTerminal.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
// See LICENSE in the project root for license information.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.CollatedTerminal = void 0;
|
|
6
|
+
const terminal_1 = require("@rushstack/terminal");
|
|
6
7
|
/**
|
|
7
8
|
* This API was introduced as a temporary measure.
|
|
8
9
|
* @deprecated Very soon we plan to replace this with the `Terminal` API from `@rushstack/node-core-library`.
|
|
@@ -16,10 +17,10 @@ class CollatedTerminal {
|
|
|
16
17
|
this._destination.writeChunk(chunk);
|
|
17
18
|
}
|
|
18
19
|
writeStdoutLine(message) {
|
|
19
|
-
this._destination.writeChunk({ text: message + '\n', kind:
|
|
20
|
+
this._destination.writeChunk({ text: message + '\n', kind: terminal_1.TerminalChunkKind.Stdout });
|
|
20
21
|
}
|
|
21
22
|
writeStderrLine(message) {
|
|
22
|
-
this._destination.writeChunk({ text: message + '\n', kind:
|
|
23
|
+
this._destination.writeChunk({ text: message + '\n', kind: terminal_1.TerminalChunkKind.Stderr });
|
|
23
24
|
}
|
|
24
25
|
}
|
|
25
26
|
exports.CollatedTerminal = CollatedTerminal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollatedTerminal.js","sourceRoot":"","sources":["../src/CollatedTerminal.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;;
|
|
1
|
+
{"version":3,"file":"CollatedTerminal.js","sourceRoot":"","sources":["../src/CollatedTerminal.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;;AAE3D,kDAAoG;AAEpG;;;;GAIG;AACH,MAAa,gBAAgB;IAG3B,YAAmB,WAA6B;QAC9C,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;IAClC,CAAC;IAEM,UAAU,CAAC,KAAqB;QACrC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IACtC,CAAC;IAEM,eAAe,CAAC,OAAe;QACpC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI,EAAE,IAAI,EAAE,4BAAiB,CAAC,MAAM,EAAE,CAAC,CAAC;IACzF,CAAC;IAEM,eAAe,CAAC,OAAe;QACpC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI,EAAE,IAAI,EAAE,4BAAiB,CAAC,MAAM,EAAE,CAAC,CAAC;IACzF,CAAC;CACF;AAlBD,4CAkBC","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\n\nimport { type ITerminalChunk, TerminalChunkKind, type TerminalWritable } from '@rushstack/terminal';\n\n/**\n * This API was introduced as a temporary measure.\n * @deprecated Very soon we plan to replace this with the `Terminal` API from `@rushstack/node-core-library`.\n * @beta\n */\nexport class CollatedTerminal {\n private readonly _destination: TerminalWritable;\n\n public constructor(destination: TerminalWritable) {\n this._destination = destination;\n }\n\n public writeChunk(chunk: ITerminalChunk): void {\n this._destination.writeChunk(chunk);\n }\n\n public writeStdoutLine(message: string): void {\n this._destination.writeChunk({ text: message + '\\n', kind: TerminalChunkKind.Stdout });\n }\n\n public writeStderrLine(message: string): void {\n this._destination.writeChunk({ text: message + '\\n', kind: TerminalChunkKind.Stderr });\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/stream-collator",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.55",
|
|
4
4
|
"description": "Display intelligible realtime output from concurrent processes",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
"typings": "dist/stream-collator.d.ts",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@rushstack/node-core-library": "5.
|
|
15
|
-
"@rushstack/terminal": "0.
|
|
14
|
+
"@rushstack/node-core-library": "5.4.1",
|
|
15
|
+
"@rushstack/terminal": "0.13.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"
|
|
19
|
-
"
|
|
18
|
+
"@rushstack/heft": "0.66.17",
|
|
19
|
+
"local-node-rig": "1.0.0"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
22
|
"build": "heft build --clean",
|