@rushstack/package-extractor 0.13.2 → 0.13.4
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/CHANGELOG.json +42 -0
- package/CHANGELOG.md +11 -1
- package/dist/scripts/create-links.js +168 -1
- package/dist/scripts/create-links.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +6 -6
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,48 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/package-extractor",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.13.4",
|
|
6
|
+
"tag": "@rushstack/package-extractor_v0.13.4",
|
|
7
|
+
"date": "Mon, 20 Apr 2026 15:15:24 GMT",
|
|
8
|
+
"comments": {
|
|
9
|
+
"dependency": [
|
|
10
|
+
{
|
|
11
|
+
"comment": "Updating dependency \"@rushstack/heft-webpack5-plugin\" to `1.3.17`"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"comment": "Updating dependency \"@rushstack/heft\" to `1.2.16`"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"comment": "Updating dependency \"@rushstack/webpack-preserve-dynamic-require-plugin\" to `0.12.17`"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"version": "0.13.3",
|
|
24
|
+
"tag": "@rushstack/package-extractor_v0.13.3",
|
|
25
|
+
"date": "Sat, 18 Apr 2026 03:47:10 GMT",
|
|
26
|
+
"comments": {
|
|
27
|
+
"dependency": [
|
|
28
|
+
{
|
|
29
|
+
"comment": "Updating dependency \"@rushstack/terminal\" to `0.23.0`"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"comment": "Updating dependency \"@rushstack/ts-command-line\" to `5.3.8`"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"comment": "Updating dependency \"@rushstack/heft-webpack5-plugin\" to `1.3.16`"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"comment": "Updating dependency \"@rushstack/heft\" to `1.2.15`"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"comment": "Updating dependency \"@rushstack/webpack-preserve-dynamic-require-plugin\" to `0.12.16`"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
},
|
|
4
46
|
{
|
|
5
47
|
"version": "0.13.2",
|
|
6
48
|
"tag": "@rushstack/package-extractor_v0.13.2",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
# Change Log - @rushstack/package-extractor
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 20 Apr 2026 15:15:24 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 0.13.4
|
|
6
|
+
Mon, 20 Apr 2026 15:15:24 GMT
|
|
7
|
+
|
|
8
|
+
_Version update only_
|
|
9
|
+
|
|
10
|
+
## 0.13.3
|
|
11
|
+
Sat, 18 Apr 2026 03:47:10 GMT
|
|
12
|
+
|
|
13
|
+
_Version update only_
|
|
4
14
|
|
|
5
15
|
## 0.13.2
|
|
6
16
|
Sat, 18 Apr 2026 00:15:16 GMT
|
|
@@ -64320,6 +64320,171 @@ exports.TerminalStreamWritable = TerminalStreamWritable;
|
|
|
64320
64320
|
|
|
64321
64321
|
/***/ },
|
|
64322
64322
|
|
|
64323
|
+
/***/ 359171
|
|
64324
|
+
/*!*************************************************!*\
|
|
64325
|
+
!*** ../terminal/lib-commonjs/TerminalTable.js ***!
|
|
64326
|
+
\*************************************************/
|
|
64327
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
64328
|
+
|
|
64329
|
+
"use strict";
|
|
64330
|
+
|
|
64331
|
+
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
|
64332
|
+
// See LICENSE in the project root for license information.
|
|
64333
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
64334
|
+
exports.TerminalTable = void 0;
|
|
64335
|
+
const AnsiEscape_1 = __webpack_require__(/*! ./AnsiEscape */ 224799);
|
|
64336
|
+
const BORDERLESS_CHARS = {
|
|
64337
|
+
top: '',
|
|
64338
|
+
topCenter: '',
|
|
64339
|
+
topLeft: '',
|
|
64340
|
+
topRight: '',
|
|
64341
|
+
bottom: '',
|
|
64342
|
+
bottomCenter: '',
|
|
64343
|
+
bottomLeft: '',
|
|
64344
|
+
bottomRight: '',
|
|
64345
|
+
left: '',
|
|
64346
|
+
leftCenter: '',
|
|
64347
|
+
horizontalCenter: '',
|
|
64348
|
+
centerCenter: '',
|
|
64349
|
+
right: '',
|
|
64350
|
+
rightCenter: '',
|
|
64351
|
+
verticalCenter: ''
|
|
64352
|
+
};
|
|
64353
|
+
const DEFAULT_CHARS = {
|
|
64354
|
+
top: '─',
|
|
64355
|
+
topCenter: '┬',
|
|
64356
|
+
topLeft: '┌',
|
|
64357
|
+
topRight: '┐',
|
|
64358
|
+
bottom: '─',
|
|
64359
|
+
bottomCenter: '┴',
|
|
64360
|
+
bottomLeft: '└',
|
|
64361
|
+
bottomRight: '┘',
|
|
64362
|
+
left: '│',
|
|
64363
|
+
leftCenter: '├',
|
|
64364
|
+
horizontalCenter: '─',
|
|
64365
|
+
centerCenter: '┼',
|
|
64366
|
+
right: '│',
|
|
64367
|
+
rightCenter: '┤',
|
|
64368
|
+
verticalCenter: '│'
|
|
64369
|
+
};
|
|
64370
|
+
/**
|
|
64371
|
+
* Renders text data as a fixed-column table suitable for terminal output.
|
|
64372
|
+
*
|
|
64373
|
+
* Designed as a drop-in replacement for the `cli-table` and `cli-table3` npm packages,
|
|
64374
|
+
* with correct handling of ANSI escape sequences when calculating column widths.
|
|
64375
|
+
*
|
|
64376
|
+
* @example
|
|
64377
|
+
* ```typescript
|
|
64378
|
+
* const table = new TerminalTable({ head: ['Name', 'Version'] });
|
|
64379
|
+
* table.push(['@rushstack/terminal', '1.0.0']);
|
|
64380
|
+
* table.push(['@rushstack/heft', '2.0.0']);
|
|
64381
|
+
* console.log(table.toString());
|
|
64382
|
+
* ```
|
|
64383
|
+
*
|
|
64384
|
+
* @public
|
|
64385
|
+
*/
|
|
64386
|
+
class TerminalTable {
|
|
64387
|
+
constructor(options = {}) {
|
|
64388
|
+
const { head, colWidths, borderless, borderCharacters } = options;
|
|
64389
|
+
this._head = head !== null && head !== void 0 ? head : [];
|
|
64390
|
+
this._specifiedColWidths = colWidths !== null && colWidths !== void 0 ? colWidths : [];
|
|
64391
|
+
this._borderCharacters = {
|
|
64392
|
+
...(borderless ? BORDERLESS_CHARS : DEFAULT_CHARS),
|
|
64393
|
+
...borderCharacters
|
|
64394
|
+
};
|
|
64395
|
+
this._rows = [];
|
|
64396
|
+
}
|
|
64397
|
+
/**
|
|
64398
|
+
* Appends one or more rows to the table.
|
|
64399
|
+
*/
|
|
64400
|
+
push(...rows) {
|
|
64401
|
+
for (const row of rows) {
|
|
64402
|
+
this._rows.push(row);
|
|
64403
|
+
}
|
|
64404
|
+
}
|
|
64405
|
+
getLines() {
|
|
64406
|
+
const { _head: head, _rows: rows, _specifiedColWidths: specifiedColWidths, _borderCharacters: { top: topSeparator, topCenter: topCenterSeparator, topLeft: topLeftSeparator, topRight: topRightSeparator, bottom: bottomSeparator, bottomCenter: bottomCenterSeparator, bottomLeft: bottomLeftSeparator, bottomRight: bottomRightSeparator, left: leftSeparator, leftCenter: leftCenterSeparator, horizontalCenter: horizontalCenterSeparator, centerCenter: centerCenterSeparator, right: rightSeparator, rightCenter: rightCenterSeparator, verticalCenter: verticalCenterSeparator } } = this;
|
|
64407
|
+
const allRows = [head, ...rows];
|
|
64408
|
+
const columnCount = Math.max(0, ...allRows.map((r) => r.length));
|
|
64409
|
+
if (columnCount === 0) {
|
|
64410
|
+
return [];
|
|
64411
|
+
}
|
|
64412
|
+
// Resolve final column widths: use specified width if provided, otherwise auto-size from content.
|
|
64413
|
+
const columnWidths = [];
|
|
64414
|
+
for (let columnIndex = 0; columnIndex < columnCount; columnIndex++) {
|
|
64415
|
+
const specified = specifiedColWidths[columnIndex];
|
|
64416
|
+
if (specified !== undefined) {
|
|
64417
|
+
columnWidths.push(specified);
|
|
64418
|
+
}
|
|
64419
|
+
else {
|
|
64420
|
+
let maxContent = 0;
|
|
64421
|
+
for (const row of allRows) {
|
|
64422
|
+
if (columnIndex < row.length) {
|
|
64423
|
+
const width = AnsiEscape_1.AnsiEscape.removeCodes(row[columnIndex]).length;
|
|
64424
|
+
if (width > maxContent) {
|
|
64425
|
+
maxContent = width;
|
|
64426
|
+
}
|
|
64427
|
+
}
|
|
64428
|
+
}
|
|
64429
|
+
// +2 for one character of padding on each side
|
|
64430
|
+
columnWidths.push(maxContent + 2);
|
|
64431
|
+
}
|
|
64432
|
+
}
|
|
64433
|
+
// Renders a horizontal separator line. Returns undefined if the result would be empty.
|
|
64434
|
+
const renderSeparator = (leftChar, fillChar, midChar, rightChar) => {
|
|
64435
|
+
const line = leftChar + columnWidths.map((w) => fillChar.repeat(w)).join(midChar) + rightChar;
|
|
64436
|
+
return line.length > 0 ? line : undefined;
|
|
64437
|
+
};
|
|
64438
|
+
// Renders a single data row.
|
|
64439
|
+
const renderRow = (row) => {
|
|
64440
|
+
const cells = [];
|
|
64441
|
+
for (let col = 0; col < columnCount; col++) {
|
|
64442
|
+
const content = col < row.length ? row[col] : '';
|
|
64443
|
+
const visualWidth = AnsiEscape_1.AnsiEscape.removeCodes(content).length;
|
|
64444
|
+
// 1 char of left-padding; right-padding fills the remainder of the column width.
|
|
64445
|
+
const padRight = Math.max(columnWidths[col] - 1 - visualWidth, 0);
|
|
64446
|
+
cells.push(' ' + content + ' '.repeat(padRight));
|
|
64447
|
+
}
|
|
64448
|
+
return leftSeparator + cells.join(verticalCenterSeparator) + rightSeparator;
|
|
64449
|
+
};
|
|
64450
|
+
const lines = [];
|
|
64451
|
+
// Top border
|
|
64452
|
+
const topLine = renderSeparator(topLeftSeparator, topSeparator, topCenterSeparator, topRightSeparator);
|
|
64453
|
+
if (topLine !== undefined) {
|
|
64454
|
+
lines.push(topLine);
|
|
64455
|
+
}
|
|
64456
|
+
// Header row + separator
|
|
64457
|
+
if (head.length > 0) {
|
|
64458
|
+
lines.push(renderRow(head));
|
|
64459
|
+
const headerSep = renderSeparator(leftCenterSeparator, horizontalCenterSeparator, centerCenterSeparator, rightCenterSeparator);
|
|
64460
|
+
if (headerSep !== undefined) {
|
|
64461
|
+
lines.push(headerSep);
|
|
64462
|
+
}
|
|
64463
|
+
}
|
|
64464
|
+
// Data rows (no separator between them)
|
|
64465
|
+
for (const row of this._rows) {
|
|
64466
|
+
lines.push(renderRow(row));
|
|
64467
|
+
}
|
|
64468
|
+
// Bottom border
|
|
64469
|
+
const bottomLine = renderSeparator(bottomLeftSeparator, bottomSeparator, bottomCenterSeparator, bottomRightSeparator);
|
|
64470
|
+
if (bottomLine !== undefined) {
|
|
64471
|
+
lines.push(bottomLine);
|
|
64472
|
+
}
|
|
64473
|
+
return lines;
|
|
64474
|
+
}
|
|
64475
|
+
/**
|
|
64476
|
+
* Renders the table to a string.
|
|
64477
|
+
*/
|
|
64478
|
+
toString() {
|
|
64479
|
+
const lines = this.getLines();
|
|
64480
|
+
return lines.join('\n');
|
|
64481
|
+
}
|
|
64482
|
+
}
|
|
64483
|
+
exports.TerminalTable = TerminalTable;
|
|
64484
|
+
//# sourceMappingURL=TerminalTable.js.map
|
|
64485
|
+
|
|
64486
|
+
/***/ },
|
|
64487
|
+
|
|
64323
64488
|
/***/ 811227
|
|
64324
64489
|
/*!*****************************************************!*\
|
|
64325
64490
|
!*** ../terminal/lib-commonjs/TerminalTransform.js ***!
|
|
@@ -64685,7 +64850,7 @@ exports.TextRewriterTransform = TextRewriterTransform;
|
|
|
64685
64850
|
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
|
64686
64851
|
// See LICENSE in the project root for license information.
|
|
64687
64852
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
64688
|
-
exports.ProblemCollector = exports.TerminalStreamWritable = exports.NoOpTerminalProvider = exports.PrefixProxyTerminalProvider = exports.StringBufferTerminalProvider = exports.ConsoleTerminalProvider = exports.TerminalProviderSeverity = exports.Colorize = exports.Terminal = exports.AnsiEscape = exports.TextRewriterTransform = exports.TextRewriter = exports.TerminalWritable = exports.TerminalTransform = exports.StdioWritable = exports.StdioSummarizer = exports.StderrLineTransform = exports.SplitterTransform = exports.RemoveColorsTextRewriter = exports.PrintUtilities = exports.DEFAULT_CONSOLE_WIDTH = exports.NormalizeNewlinesTextRewriter = exports.MockWritable = exports.TerminalChunkKind = exports.DiscardStdoutTransform = exports.CallbackWritable = void 0;
|
|
64853
|
+
exports.TerminalTable = exports.ProblemCollector = exports.TerminalStreamWritable = exports.NoOpTerminalProvider = exports.PrefixProxyTerminalProvider = exports.StringBufferTerminalProvider = exports.ConsoleTerminalProvider = exports.TerminalProviderSeverity = exports.Colorize = exports.Terminal = exports.AnsiEscape = exports.TextRewriterTransform = exports.TextRewriter = exports.TerminalWritable = exports.TerminalTransform = exports.StdioWritable = exports.StdioSummarizer = exports.StderrLineTransform = exports.SplitterTransform = exports.RemoveColorsTextRewriter = exports.PrintUtilities = exports.DEFAULT_CONSOLE_WIDTH = exports.NormalizeNewlinesTextRewriter = exports.MockWritable = exports.TerminalChunkKind = exports.DiscardStdoutTransform = exports.CallbackWritable = void 0;
|
|
64689
64854
|
/// <reference types="node" preserve="true" />
|
|
64690
64855
|
/**
|
|
64691
64856
|
* This library implements a system for processing human readable text that
|
|
@@ -64747,6 +64912,8 @@ var TerminalStreamWritable_1 = __webpack_require__(/*! ./TerminalStreamWritable
|
|
|
64747
64912
|
Object.defineProperty(exports, "TerminalStreamWritable", ({ enumerable: true, get: function () { return TerminalStreamWritable_1.TerminalStreamWritable; } }));
|
|
64748
64913
|
var ProblemCollector_1 = __webpack_require__(/*! ./ProblemCollector */ 41133);
|
|
64749
64914
|
Object.defineProperty(exports, "ProblemCollector", ({ enumerable: true, get: function () { return ProblemCollector_1.ProblemCollector; } }));
|
|
64915
|
+
var TerminalTable_1 = __webpack_require__(/*! ./TerminalTable */ 359171);
|
|
64916
|
+
Object.defineProperty(exports, "TerminalTable", ({ enumerable: true, get: function () { return TerminalTable_1.TerminalTable; } }));
|
|
64750
64917
|
//# sourceMappingURL=index.js.map
|
|
64751
64918
|
|
|
64752
64919
|
/***/ },
|