@rushstack/package-extractor 0.10.35 → 0.10.37

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 CHANGED
@@ -1,6 +1,42 @@
1
1
  {
2
2
  "name": "@rushstack/package-extractor",
3
3
  "entries": [
4
+ {
5
+ "version": "0.10.37",
6
+ "tag": "@rushstack/package-extractor_v0.10.37",
7
+ "date": "Thu, 11 Sep 2025 00:22:31 GMT",
8
+ "comments": {
9
+ "dependency": [
10
+ {
11
+ "comment": "Updating dependency \"@rushstack/terminal\" to `0.16.0`"
12
+ },
13
+ {
14
+ "comment": "Updating dependency \"@rushstack/ts-command-line\" to `5.0.3`"
15
+ },
16
+ {
17
+ "comment": "Updating dependency \"@rushstack/heft-webpack5-plugin\" to `0.11.41`"
18
+ },
19
+ {
20
+ "comment": "Updating dependency \"@rushstack/heft\" to `0.74.4`"
21
+ },
22
+ {
23
+ "comment": "Updating dependency \"@rushstack/webpack-preserve-dynamic-require-plugin\" to `0.11.107`"
24
+ }
25
+ ]
26
+ }
27
+ },
28
+ {
29
+ "version": "0.10.36",
30
+ "tag": "@rushstack/package-extractor_v0.10.36",
31
+ "date": "Fri, 29 Aug 2025 00:08:01 GMT",
32
+ "comments": {
33
+ "dependency": [
34
+ {
35
+ "comment": "Updating dependency \"@rushstack/heft-webpack5-plugin\" to `0.11.40`"
36
+ }
37
+ ]
38
+ }
39
+ },
4
40
  {
5
41
  "version": "0.10.35",
6
42
  "tag": "@rushstack/package-extractor_v0.10.35",
package/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  # Change Log - @rushstack/package-extractor
2
2
 
3
- This log was last generated on Tue, 26 Aug 2025 00:12:57 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 11 Sep 2025 00:22:31 GMT and should not be manually modified.
4
+
5
+ ## 0.10.37
6
+ Thu, 11 Sep 2025 00:22:31 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 0.10.36
11
+ Fri, 29 Aug 2025 00:08:01 GMT
12
+
13
+ _Version update only_
4
14
 
5
15
  ## 0.10.35
6
16
  Tue, 26 Aug 2025 00:12:57 GMT
@@ -45128,33 +45128,6 @@ exports.Terminal = void 0;
45128
45128
  const ITerminalProvider_1 = __webpack_require__(/*! ./ITerminalProvider */ 371016);
45129
45129
  const Colorize_1 = __webpack_require__(/*! ./Colorize */ 978443);
45130
45130
  const AnsiEscape_1 = __webpack_require__(/*! ./AnsiEscape */ 557024);
45131
- /**
45132
- * Colors used with {@link ILegacyColorableSequence}.
45133
- */
45134
- var ColorValue;
45135
- (function (ColorValue) {
45136
- ColorValue[ColorValue["Black"] = 0] = "Black";
45137
- ColorValue[ColorValue["Red"] = 1] = "Red";
45138
- ColorValue[ColorValue["Green"] = 2] = "Green";
45139
- ColorValue[ColorValue["Yellow"] = 3] = "Yellow";
45140
- ColorValue[ColorValue["Blue"] = 4] = "Blue";
45141
- ColorValue[ColorValue["Magenta"] = 5] = "Magenta";
45142
- ColorValue[ColorValue["Cyan"] = 6] = "Cyan";
45143
- ColorValue[ColorValue["White"] = 7] = "White";
45144
- ColorValue[ColorValue["Gray"] = 8] = "Gray";
45145
- })(ColorValue || (ColorValue = {}));
45146
- /**
45147
- * Text styles used with {@link ILegacyColorableSequence}.
45148
- */
45149
- var TextAttribute;
45150
- (function (TextAttribute) {
45151
- TextAttribute[TextAttribute["Bold"] = 0] = "Bold";
45152
- TextAttribute[TextAttribute["Dim"] = 1] = "Dim";
45153
- TextAttribute[TextAttribute["Underline"] = 2] = "Underline";
45154
- TextAttribute[TextAttribute["Blink"] = 3] = "Blink";
45155
- TextAttribute[TextAttribute["InvertColor"] = 4] = "InvertColor";
45156
- TextAttribute[TextAttribute["Hidden"] = 5] = "Hidden";
45157
- })(TextAttribute || (TextAttribute = {}));
45158
45131
  /**
45159
45132
  * This class facilitates writing to a console.
45160
45133
  *
@@ -45162,8 +45135,7 @@ var TextAttribute;
45162
45135
  */
45163
45136
  class Terminal {
45164
45137
  constructor(provider) {
45165
- this._providers = new Set();
45166
- this._providers.add(provider);
45138
+ this._providers = new Set([provider]);
45167
45139
  }
45168
45140
  /**
45169
45141
  * {@inheritdoc ITerminal.registerProvider}
@@ -45175,9 +45147,7 @@ class Terminal {
45175
45147
  * {@inheritdoc ITerminal.unregisterProvider}
45176
45148
  */
45177
45149
  unregisterProvider(provider) {
45178
- if (this._providers.has(provider)) {
45179
- this._providers.delete(provider);
45180
- }
45150
+ this._providers.delete(provider);
45181
45151
  }
45182
45152
  /**
45183
45153
  * {@inheritdoc ITerminal.write}
@@ -45254,26 +45224,7 @@ class Terminal {
45254
45224
  this._writeSegmentsToProviders(parts, ITerminalProvider_1.TerminalProviderSeverity.debug, true);
45255
45225
  }
45256
45226
  _writeSegmentsToProviders(segments, severity, followedByEol) {
45257
- const linesSegments = [[]];
45258
- let currentLineSegments = linesSegments[0];
45259
- for (const segment of segments) {
45260
- if (typeof segment === 'string') {
45261
- currentLineSegments.push(segment);
45262
- }
45263
- else {
45264
- if (segment.isEol) {
45265
- linesSegments.push([]);
45266
- currentLineSegments = linesSegments[linesSegments.length - 1];
45267
- }
45268
- else {
45269
- currentLineSegments.push(this._serializeLegacyColorableSequence(segment));
45270
- }
45271
- }
45272
- }
45273
- const lines = [];
45274
- for (const lineSegments of linesSegments) {
45275
- lines.push(lineSegments.join(''));
45276
- }
45227
+ const lines = [segments.join('')];
45277
45228
  if (followedByEol) {
45278
45229
  lines.push('');
45279
45230
  }
@@ -45306,151 +45257,6 @@ class Terminal {
45306
45257
  provider.write(textToWrite, severity);
45307
45258
  }
45308
45259
  }
45309
- _serializeLegacyColorableSequence(segment) {
45310
- const startColorCodes = [];
45311
- const endColorCodes = [];
45312
- switch (segment.foregroundColor) {
45313
- case ColorValue.Black: {
45314
- startColorCodes.push(Colorize_1.SgrParameterAttribute.BlackForeground);
45315
- endColorCodes.push(Colorize_1.SgrParameterAttribute.DefaultForeground);
45316
- break;
45317
- }
45318
- case ColorValue.Red: {
45319
- startColorCodes.push(Colorize_1.SgrParameterAttribute.RedForeground);
45320
- endColorCodes.push(Colorize_1.SgrParameterAttribute.DefaultForeground);
45321
- break;
45322
- }
45323
- case ColorValue.Green: {
45324
- startColorCodes.push(Colorize_1.SgrParameterAttribute.GreenForeground);
45325
- endColorCodes.push(Colorize_1.SgrParameterAttribute.DefaultForeground);
45326
- break;
45327
- }
45328
- case ColorValue.Yellow: {
45329
- startColorCodes.push(Colorize_1.SgrParameterAttribute.YellowForeground);
45330
- endColorCodes.push(Colorize_1.SgrParameterAttribute.DefaultForeground);
45331
- break;
45332
- }
45333
- case ColorValue.Blue: {
45334
- startColorCodes.push(Colorize_1.SgrParameterAttribute.BlueForeground);
45335
- endColorCodes.push(Colorize_1.SgrParameterAttribute.DefaultForeground);
45336
- break;
45337
- }
45338
- case ColorValue.Magenta: {
45339
- startColorCodes.push(Colorize_1.SgrParameterAttribute.MagentaForeground);
45340
- endColorCodes.push(Colorize_1.SgrParameterAttribute.DefaultForeground);
45341
- break;
45342
- }
45343
- case ColorValue.Cyan: {
45344
- startColorCodes.push(Colorize_1.SgrParameterAttribute.CyanForeground);
45345
- endColorCodes.push(Colorize_1.SgrParameterAttribute.DefaultForeground);
45346
- break;
45347
- }
45348
- case ColorValue.White: {
45349
- startColorCodes.push(Colorize_1.SgrParameterAttribute.WhiteForeground);
45350
- endColorCodes.push(Colorize_1.SgrParameterAttribute.DefaultForeground);
45351
- break;
45352
- }
45353
- case ColorValue.Gray: {
45354
- startColorCodes.push(Colorize_1.SgrParameterAttribute.GrayForeground);
45355
- endColorCodes.push(Colorize_1.SgrParameterAttribute.DefaultForeground);
45356
- break;
45357
- }
45358
- }
45359
- switch (segment.backgroundColor) {
45360
- case ColorValue.Black: {
45361
- startColorCodes.push(Colorize_1.SgrParameterAttribute.BlackBackground);
45362
- endColorCodes.push(Colorize_1.SgrParameterAttribute.DefaultBackground);
45363
- break;
45364
- }
45365
- case ColorValue.Red: {
45366
- startColorCodes.push(Colorize_1.SgrParameterAttribute.RedBackground);
45367
- endColorCodes.push(Colorize_1.SgrParameterAttribute.DefaultBackground);
45368
- break;
45369
- }
45370
- case ColorValue.Green: {
45371
- startColorCodes.push(Colorize_1.SgrParameterAttribute.GreenBackground);
45372
- endColorCodes.push(Colorize_1.SgrParameterAttribute.DefaultBackground);
45373
- break;
45374
- }
45375
- case ColorValue.Yellow: {
45376
- startColorCodes.push(Colorize_1.SgrParameterAttribute.YellowBackground);
45377
- endColorCodes.push(Colorize_1.SgrParameterAttribute.DefaultBackground);
45378
- break;
45379
- }
45380
- case ColorValue.Blue: {
45381
- startColorCodes.push(Colorize_1.SgrParameterAttribute.BlueBackground);
45382
- endColorCodes.push(Colorize_1.SgrParameterAttribute.DefaultBackground);
45383
- break;
45384
- }
45385
- case ColorValue.Magenta: {
45386
- startColorCodes.push(Colorize_1.SgrParameterAttribute.MagentaBackground);
45387
- endColorCodes.push(Colorize_1.SgrParameterAttribute.DefaultBackground);
45388
- break;
45389
- }
45390
- case ColorValue.Cyan: {
45391
- startColorCodes.push(Colorize_1.SgrParameterAttribute.CyanBackground);
45392
- endColorCodes.push(Colorize_1.SgrParameterAttribute.DefaultBackground);
45393
- break;
45394
- }
45395
- case ColorValue.White: {
45396
- startColorCodes.push(Colorize_1.SgrParameterAttribute.WhiteBackground);
45397
- endColorCodes.push(Colorize_1.SgrParameterAttribute.DefaultBackground);
45398
- break;
45399
- }
45400
- case ColorValue.Gray: {
45401
- startColorCodes.push(Colorize_1.SgrParameterAttribute.GrayBackground);
45402
- endColorCodes.push(49);
45403
- break;
45404
- }
45405
- }
45406
- if (segment.textAttributes) {
45407
- for (const textAttribute of segment.textAttributes) {
45408
- switch (textAttribute) {
45409
- case TextAttribute.Bold: {
45410
- startColorCodes.push(Colorize_1.SgrParameterAttribute.Bold);
45411
- endColorCodes.push(Colorize_1.SgrParameterAttribute.NormalColorOrIntensity);
45412
- break;
45413
- }
45414
- case TextAttribute.Dim: {
45415
- startColorCodes.push(Colorize_1.SgrParameterAttribute.Dim);
45416
- endColorCodes.push(Colorize_1.SgrParameterAttribute.NormalColorOrIntensity);
45417
- break;
45418
- }
45419
- case TextAttribute.Underline: {
45420
- startColorCodes.push(Colorize_1.SgrParameterAttribute.Underline);
45421
- endColorCodes.push(Colorize_1.SgrParameterAttribute.UnderlineOff);
45422
- break;
45423
- }
45424
- case TextAttribute.Blink: {
45425
- startColorCodes.push(Colorize_1.SgrParameterAttribute.Blink);
45426
- endColorCodes.push(Colorize_1.SgrParameterAttribute.BlinkOff);
45427
- break;
45428
- }
45429
- case TextAttribute.InvertColor: {
45430
- startColorCodes.push(Colorize_1.SgrParameterAttribute.InvertColor);
45431
- endColorCodes.push(Colorize_1.SgrParameterAttribute.InvertColorOff);
45432
- break;
45433
- }
45434
- case TextAttribute.Hidden: {
45435
- startColorCodes.push(Colorize_1.SgrParameterAttribute.Hidden);
45436
- endColorCodes.push(Colorize_1.SgrParameterAttribute.HiddenOff);
45437
- break;
45438
- }
45439
- }
45440
- }
45441
- }
45442
- const resultSegments = [];
45443
- for (let j = 0; j < startColorCodes.length; j++) {
45444
- const code = startColorCodes[j];
45445
- resultSegments.push(AnsiEscape_1.AnsiEscape.getEscapeSequenceForAnsiCode(code));
45446
- }
45447
- resultSegments.push(segment.text);
45448
- for (let j = endColorCodes.length - 1; j >= 0; j--) {
45449
- const code = endColorCodes[j];
45450
- resultSegments.push(AnsiEscape_1.AnsiEscape.getEscapeSequenceForAnsiCode(code));
45451
- }
45452
- return resultSegments.join('');
45453
- }
45454
45260
  _normalizeWriteParameters(parameters) {
45455
45261
  if (parameters.length === 0) {
45456
45262
  return { parts: [], options: {} };