@rushstack/package-extractor 0.10.39 → 0.11.0
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 +59 -0
- package/CHANGELOG.md +13 -1
- package/dist/scripts/create-links.js +137 -78
- package/dist/scripts/create-links.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/lib/ArchiveManager.d.ts.map +1 -1
- package/lib/ArchiveManager.js.map +1 -1
- package/lib/AssetHandler.d.ts.map +1 -1
- package/lib/AssetHandler.js.map +1 -1
- package/lib/PackageExtractor.d.ts.map +1 -1
- package/lib/PackageExtractor.js +1 -1
- package/lib/PackageExtractor.js.map +1 -1
- package/lib/SymlinkAnalyzer.d.ts.map +1 -1
- package/lib/SymlinkAnalyzer.js +1 -1
- package/lib/SymlinkAnalyzer.js.map +1 -1
- package/lib/Utils.d.ts.map +1 -1
- package/lib/Utils.js.map +1 -1
- package/lib/scripts/createLinks/cli/actions/CreateLinksAction.d.ts.map +1 -1
- package/lib/scripts/createLinks/cli/actions/CreateLinksAction.js.map +1 -1
- package/lib/scripts/createLinks/cli/actions/RemoveLinksAction.d.ts.map +1 -1
- package/lib/scripts/createLinks/cli/actions/RemoveLinksAction.js.map +1 -1
- package/lib/scripts/createLinks/utilities/CreateLinksUtilities.d.ts.map +1 -1
- package/lib/scripts/createLinks/utilities/CreateLinksUtilities.js.map +1 -1
- package/lib/scripts/createLinks/utilities/constants.d.ts.map +1 -1
- package/lib/scripts/createLinks/utilities/constants.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,65 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/package-extractor",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.11.0",
|
|
6
|
+
"tag": "@rushstack/package-extractor_v0.11.0",
|
|
7
|
+
"date": "Fri, 03 Oct 2025 20:09:59 GMT",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"comment": "Normalize import of builtin modules to use the `node:` protocol."
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"dependency": [
|
|
15
|
+
{
|
|
16
|
+
"comment": "Updating dependency \"@rushstack/node-core-library\" to `5.16.0`"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"comment": "Updating dependency \"@rushstack/terminal\" to `0.19.0`"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"comment": "Updating dependency \"@rushstack/ts-command-line\" to `5.1.0`"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"comment": "Updating dependency \"@rushstack/heft-webpack5-plugin\" to `1.1.0`"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"comment": "Updating dependency \"@rushstack/heft\" to `1.1.0`"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"comment": "Updating dependency \"@rushstack/webpack-preserve-dynamic-require-plugin\" to `0.11.111`"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"version": "0.10.40",
|
|
38
|
+
"tag": "@rushstack/package-extractor_v0.10.40",
|
|
39
|
+
"date": "Tue, 30 Sep 2025 23:57:45 GMT",
|
|
40
|
+
"comments": {
|
|
41
|
+
"dependency": [
|
|
42
|
+
{
|
|
43
|
+
"comment": "Updating dependency \"@rushstack/node-core-library\" to `5.15.1`"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"comment": "Updating dependency \"@rushstack/terminal\" to `0.18.0`"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"comment": "Updating dependency \"@rushstack/ts-command-line\" to `5.0.5`"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"comment": "Updating dependency \"@rushstack/heft-webpack5-plugin\" to `1.0.0`"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"comment": "Updating dependency \"@rushstack/heft\" to `1.0.0`"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"comment": "Updating dependency \"@rushstack/webpack-preserve-dynamic-require-plugin\" to `0.11.110`"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
},
|
|
4
63
|
{
|
|
5
64
|
"version": "0.10.39",
|
|
6
65
|
"tag": "@rushstack/package-extractor_v0.10.39",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
# Change Log - @rushstack/package-extractor
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 03 Oct 2025 20:09:59 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 0.11.0
|
|
6
|
+
Fri, 03 Oct 2025 20:09:59 GMT
|
|
7
|
+
|
|
8
|
+
### Minor changes
|
|
9
|
+
|
|
10
|
+
- Normalize import of builtin modules to use the `node:` protocol.
|
|
11
|
+
|
|
12
|
+
## 0.10.40
|
|
13
|
+
Tue, 30 Sep 2025 23:57:45 GMT
|
|
14
|
+
|
|
15
|
+
_Version update only_
|
|
4
16
|
|
|
5
17
|
## 0.10.39
|
|
6
18
|
Tue, 30 Sep 2025 20:33:51 GMT
|
|
@@ -150,6 +150,17 @@ var mergeWithKey =
|
|
|
150
150
|
|
|
151
151
|
/***/ }),
|
|
152
152
|
|
|
153
|
+
/***/ 1708:
|
|
154
|
+
/*!*******************************!*\
|
|
155
|
+
!*** external "node:process" ***!
|
|
156
|
+
\*******************************/
|
|
157
|
+
/***/ ((module) => {
|
|
158
|
+
|
|
159
|
+
"use strict";
|
|
160
|
+
module.exports = require("node:process");
|
|
161
|
+
|
|
162
|
+
/***/ }),
|
|
163
|
+
|
|
153
164
|
/***/ 2211:
|
|
154
165
|
/*!***********************************************!*\
|
|
155
166
|
!*** ../node-core-library/lib/PackageName.js ***!
|
|
@@ -3245,17 +3256,46 @@ const TerminalWritable_1 = __webpack_require__(/*! ./TerminalWritable */ 33900);
|
|
|
3245
3256
|
class SplitterTransform extends TerminalWritable_1.TerminalWritable {
|
|
3246
3257
|
constructor(options) {
|
|
3247
3258
|
super();
|
|
3248
|
-
this.
|
|
3259
|
+
this._destinations = new Set(options.destinations);
|
|
3260
|
+
}
|
|
3261
|
+
get destinations() {
|
|
3262
|
+
return this._destinations;
|
|
3263
|
+
}
|
|
3264
|
+
/**
|
|
3265
|
+
* Adds a destination to the set of destinations. Duplicates are ignored.
|
|
3266
|
+
* Only new chunks received after the destination is added will be sent to it.
|
|
3267
|
+
* @param destination - The destination to add.
|
|
3268
|
+
*/
|
|
3269
|
+
addDestination(destination) {
|
|
3270
|
+
this._destinations.add(destination);
|
|
3271
|
+
}
|
|
3272
|
+
/**
|
|
3273
|
+
* Removes a destination from the set of destinations. It will no longer receive chunks, and will be closed, unless
|
|
3274
|
+
* `destination.preventAutoclose` is set to `true`.
|
|
3275
|
+
* @param destination - The destination to remove.
|
|
3276
|
+
* @param close - If `true` (default), the destination will be closed when removed, unless `destination.preventAutoclose` is set to `true`.
|
|
3277
|
+
* @returns `true` if the destination was removed, `false` if it was not found.
|
|
3278
|
+
* @remarks
|
|
3279
|
+
* If the destination is not found, it will not be closed.
|
|
3280
|
+
*/
|
|
3281
|
+
removeDestination(destination, close = true) {
|
|
3282
|
+
if (this._destinations.delete(destination)) {
|
|
3283
|
+
if (close && !destination.preventAutoclose) {
|
|
3284
|
+
destination.close();
|
|
3285
|
+
}
|
|
3286
|
+
return true;
|
|
3287
|
+
}
|
|
3288
|
+
return false;
|
|
3249
3289
|
}
|
|
3250
3290
|
onWriteChunk(chunk) {
|
|
3251
|
-
for (const destination of this.
|
|
3291
|
+
for (const destination of this._destinations) {
|
|
3252
3292
|
destination.writeChunk(chunk);
|
|
3253
3293
|
}
|
|
3254
3294
|
}
|
|
3255
3295
|
onClose() {
|
|
3256
3296
|
const errors = [];
|
|
3257
3297
|
// If an exception is thrown, try to ensure that the other destinations get closed properly
|
|
3258
|
-
for (const destination of this.
|
|
3298
|
+
for (const destination of this._destinations) {
|
|
3259
3299
|
if (!destination.preventAutoclose) {
|
|
3260
3300
|
try {
|
|
3261
3301
|
destination.close();
|
|
@@ -3265,6 +3305,7 @@ class SplitterTransform extends TerminalWritable_1.TerminalWritable {
|
|
|
3265
3305
|
}
|
|
3266
3306
|
}
|
|
3267
3307
|
}
|
|
3308
|
+
this._destinations.clear();
|
|
3268
3309
|
if (errors.length > 0) {
|
|
3269
3310
|
throw errors[0];
|
|
3270
3311
|
}
|
|
@@ -3826,6 +3867,17 @@ var tap =
|
|
|
3826
3867
|
|
|
3827
3868
|
/***/ }),
|
|
3828
3869
|
|
|
3870
|
+
/***/ 51455:
|
|
3871
|
+
/*!***********************************!*\
|
|
3872
|
+
!*** external "node:fs/promises" ***!
|
|
3873
|
+
\***********************************/
|
|
3874
|
+
/***/ ((module) => {
|
|
3875
|
+
|
|
3876
|
+
"use strict";
|
|
3877
|
+
module.exports = require("node:fs/promises");
|
|
3878
|
+
|
|
3879
|
+
/***/ }),
|
|
3880
|
+
|
|
3829
3881
|
/***/ 51542:
|
|
3830
3882
|
/*!***************************************!*\
|
|
3831
3883
|
!*** ../problem-matcher/lib/index.js ***!
|
|
@@ -4489,13 +4541,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4489
4541
|
};
|
|
4490
4542
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4491
4543
|
exports.JsonSchema = void 0;
|
|
4492
|
-
const os = __importStar(__webpack_require__(/*! os */
|
|
4493
|
-
const path = __importStar(__webpack_require__(/*! path */
|
|
4494
|
-
const FileSystem_1 = __webpack_require__(/*! ./FileSystem */ 607393);
|
|
4495
|
-
const JsonFile_1 = __webpack_require__(/*! ./JsonFile */ 705026);
|
|
4544
|
+
const os = __importStar(__webpack_require__(/*! node:os */ 848161));
|
|
4545
|
+
const path = __importStar(__webpack_require__(/*! node:path */ 176760));
|
|
4496
4546
|
const ajv_1 = __importDefault(__webpack_require__(/*! ajv */ 542829));
|
|
4497
4547
|
const ajv_draft_04_1 = __importDefault(__webpack_require__(/*! ajv-draft-04 */ 399545));
|
|
4498
4548
|
const ajv_formats_1 = __importDefault(__webpack_require__(/*! ajv-formats */ 847080));
|
|
4549
|
+
const JsonFile_1 = __webpack_require__(/*! ./JsonFile */ 705026);
|
|
4550
|
+
const FileSystem_1 = __webpack_require__(/*! ./FileSystem */ 607393);
|
|
4499
4551
|
const JSON_SCHEMA_URL_PREFIX_BY_JSON_SCHEMA_VERSION = new Map([
|
|
4500
4552
|
['draft-04', 'http://json-schema.org/draft-04/schema'],
|
|
4501
4553
|
['draft-07', 'http://json-schema.org/draft-07/schema']
|
|
@@ -11794,6 +11846,17 @@ var converge =
|
|
|
11794
11846
|
|
|
11795
11847
|
/***/ }),
|
|
11796
11848
|
|
|
11849
|
+
/***/ 157075:
|
|
11850
|
+
/*!******************************!*\
|
|
11851
|
+
!*** external "node:stream" ***!
|
|
11852
|
+
\******************************/
|
|
11853
|
+
/***/ ((module) => {
|
|
11854
|
+
|
|
11855
|
+
"use strict";
|
|
11856
|
+
module.exports = require("node:stream");
|
|
11857
|
+
|
|
11858
|
+
/***/ }),
|
|
11859
|
+
|
|
11797
11860
|
/***/ 157464:
|
|
11798
11861
|
/*!********************************************************************************************************************!*\
|
|
11799
11862
|
!*** ../../common/temp/default/node_modules/.pnpm/ajv@8.13.0/node_modules/ajv/dist/vocabularies/applicator/not.js ***!
|
|
@@ -14874,17 +14937,6 @@ function outputJsonSync (file, data, options) {
|
|
|
14874
14937
|
module.exports = outputJsonSync
|
|
14875
14938
|
|
|
14876
14939
|
|
|
14877
|
-
/***/ }),
|
|
14878
|
-
|
|
14879
|
-
/***/ 191943:
|
|
14880
|
-
/*!******************************!*\
|
|
14881
|
-
!*** external "fs/promises" ***!
|
|
14882
|
-
\******************************/
|
|
14883
|
-
/***/ ((module) => {
|
|
14884
|
-
|
|
14885
|
-
"use strict";
|
|
14886
|
-
module.exports = require("fs/promises");
|
|
14887
|
-
|
|
14888
14940
|
/***/ }),
|
|
14889
14941
|
|
|
14890
14942
|
/***/ 192121:
|
|
@@ -15024,7 +15076,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
15024
15076
|
})();
|
|
15025
15077
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
15026
15078
|
exports.PackageJsonLookup = void 0;
|
|
15027
|
-
const path = __importStar(__webpack_require__(/*! path */
|
|
15079
|
+
const path = __importStar(__webpack_require__(/*! node:path */ 176760));
|
|
15028
15080
|
const JsonFile_1 = __webpack_require__(/*! ./JsonFile */ 705026);
|
|
15029
15081
|
const Constants_1 = __webpack_require__(/*! ./Constants */ 776953);
|
|
15030
15082
|
const FileSystem_1 = __webpack_require__(/*! ./FileSystem */ 607393);
|
|
@@ -16973,6 +17025,8 @@ function applyPatternCaptures(spec, reMatch, captures, defaultSeverity) {
|
|
|
16973
17025
|
}
|
|
16974
17026
|
}
|
|
16975
17027
|
function finalizeProblem(matcherName, captures, defaultSeverity) {
|
|
17028
|
+
// For multi-line patterns, use only the last non-empty message part
|
|
17029
|
+
const message = captures.messageParts.length > 0 ? captures.messageParts[captures.messageParts.length - 1] : '';
|
|
16976
17030
|
return {
|
|
16977
17031
|
matcherName,
|
|
16978
17032
|
file: captures.file,
|
|
@@ -16982,7 +17036,7 @@ function finalizeProblem(matcherName, captures, defaultSeverity) {
|
|
|
16982
17036
|
endColumn: captures.endColumn,
|
|
16983
17037
|
severity: captures.severity || defaultSeverity,
|
|
16984
17038
|
code: captures.code,
|
|
16985
|
-
message:
|
|
17039
|
+
message: message
|
|
16986
17040
|
};
|
|
16987
17041
|
}
|
|
16988
17042
|
function createSingleLineMatcher(name, compiled, defaultSeverity) {
|
|
@@ -22867,7 +22921,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
22867
22921
|
};
|
|
22868
22922
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
22869
22923
|
exports.EnvironmentMap = void 0;
|
|
22870
|
-
const
|
|
22924
|
+
const node_process_1 = __importDefault(__webpack_require__(/*! node:process */ 1708));
|
|
22871
22925
|
const InternalError_1 = __webpack_require__(/*! ./InternalError */ 576869);
|
|
22872
22926
|
/**
|
|
22873
22927
|
* A map data structure that stores process environment variables. On Windows
|
|
@@ -22886,7 +22940,7 @@ class EnvironmentMap {
|
|
|
22886
22940
|
throw new InternalError_1.InternalError('Attempt to read EnvironmentMap class as an object');
|
|
22887
22941
|
}
|
|
22888
22942
|
});
|
|
22889
|
-
this.caseSensitive =
|
|
22943
|
+
this.caseSensitive = node_process_1.default.platform !== 'win32';
|
|
22890
22944
|
this.mergeFromObject(environmentObject);
|
|
22891
22945
|
}
|
|
22892
22946
|
/**
|
|
@@ -23134,7 +23188,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
23134
23188
|
})();
|
|
23135
23189
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
23136
23190
|
exports.Path = void 0;
|
|
23137
|
-
const path = __importStar(__webpack_require__(/*! path */
|
|
23191
|
+
const path = __importStar(__webpack_require__(/*! node:path */ 176760));
|
|
23138
23192
|
/**
|
|
23139
23193
|
* Common operations for manipulating file and directory paths.
|
|
23140
23194
|
* @remarks
|
|
@@ -26986,7 +27040,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26986
27040
|
};
|
|
26987
27041
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
26988
27042
|
exports.ConsoleTerminalProvider = void 0;
|
|
26989
|
-
const
|
|
27043
|
+
const node_os_1 = __webpack_require__(/*! node:os */ 848161);
|
|
26990
27044
|
const supports_color_1 = __importDefault(__webpack_require__(/*! supports-color */ 878075));
|
|
26991
27045
|
const ITerminalProvider_1 = __webpack_require__(/*! ./ITerminalProvider */ 371016);
|
|
26992
27046
|
/**
|
|
@@ -27037,7 +27091,7 @@ class ConsoleTerminalProvider {
|
|
|
27037
27091
|
* {@inheritDoc ITerminalProvider.eolCharacter}
|
|
27038
27092
|
*/
|
|
27039
27093
|
get eolCharacter() {
|
|
27040
|
-
return
|
|
27094
|
+
return node_os_1.EOL;
|
|
27041
27095
|
}
|
|
27042
27096
|
}
|
|
27043
27097
|
exports.ConsoleTerminalProvider = ConsoleTerminalProvider;
|
|
@@ -27748,17 +27802,6 @@ class ProviderSync extends provider_1.default {
|
|
|
27748
27802
|
exports["default"] = ProviderSync;
|
|
27749
27803
|
|
|
27750
27804
|
|
|
27751
|
-
/***/ }),
|
|
27752
|
-
|
|
27753
|
-
/***/ 400932:
|
|
27754
|
-
/*!**************************!*\
|
|
27755
|
-
!*** external "process" ***!
|
|
27756
|
-
\**************************/
|
|
27757
|
-
/***/ ((module) => {
|
|
27758
|
-
|
|
27759
|
-
"use strict";
|
|
27760
|
-
module.exports = require("process");
|
|
27761
|
-
|
|
27762
27805
|
/***/ }),
|
|
27763
27806
|
|
|
27764
27807
|
/***/ 401017:
|
|
@@ -30056,7 +30099,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
30056
30099
|
})();
|
|
30057
30100
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
30058
30101
|
exports.Text = exports.NewlineKind = exports.Encoding = void 0;
|
|
30059
|
-
const os = __importStar(__webpack_require__(/*! os */
|
|
30102
|
+
const os = __importStar(__webpack_require__(/*! node:os */ 848161));
|
|
30060
30103
|
/**
|
|
30061
30104
|
* The allowed types of encodings, as supported by Node.js
|
|
30062
30105
|
* @public
|
|
@@ -39139,17 +39182,6 @@ function _pipeP(f, g) {
|
|
|
39139
39182
|
|
|
39140
39183
|
/***/ }),
|
|
39141
39184
|
|
|
39142
|
-
/***/ 535317:
|
|
39143
|
-
/*!********************************!*\
|
|
39144
|
-
!*** external "child_process" ***!
|
|
39145
|
-
\********************************/
|
|
39146
|
-
/***/ ((module) => {
|
|
39147
|
-
|
|
39148
|
-
"use strict";
|
|
39149
|
-
module.exports = require("child_process");
|
|
39150
|
-
|
|
39151
|
-
/***/ }),
|
|
39152
|
-
|
|
39153
39185
|
/***/ 535471:
|
|
39154
39186
|
/*!**********************************************************************************************************************!*\
|
|
39155
39187
|
!*** ../../common/temp/default/node_modules/.pnpm/ajv@8.13.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js ***!
|
|
@@ -43016,9 +43048,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
43016
43048
|
})();
|
|
43017
43049
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
43018
43050
|
exports.FileSystem = exports.AlreadyExistsBehavior = void 0;
|
|
43019
|
-
const nodeJsPath = __importStar(__webpack_require__(/*! path */
|
|
43020
|
-
const fs = __importStar(__webpack_require__(/*! fs */
|
|
43021
|
-
const fsPromises = __importStar(__webpack_require__(/*! fs/promises */
|
|
43051
|
+
const nodeJsPath = __importStar(__webpack_require__(/*! node:path */ 176760));
|
|
43052
|
+
const fs = __importStar(__webpack_require__(/*! node:fs */ 973024));
|
|
43053
|
+
const fsPromises = __importStar(__webpack_require__(/*! node:fs/promises */ 51455));
|
|
43022
43054
|
const fsx = __importStar(__webpack_require__(/*! fs-extra */ 665022));
|
|
43023
43055
|
const Text_1 = __webpack_require__(/*! ./Text */ 426989);
|
|
43024
43056
|
const PosixModeBits_1 = __webpack_require__(/*! ./PosixModeBits */ 332144);
|
|
@@ -44453,7 +44485,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
44453
44485
|
};
|
|
44454
44486
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
44455
44487
|
exports.StdioWritable = void 0;
|
|
44456
|
-
const
|
|
44488
|
+
const node_process_1 = __importDefault(__webpack_require__(/*! node:process */ 1708));
|
|
44457
44489
|
const ITerminalChunk_1 = __webpack_require__(/*! ./ITerminalChunk */ 254192);
|
|
44458
44490
|
const TerminalWritable_1 = __webpack_require__(/*! ./TerminalWritable */ 33900);
|
|
44459
44491
|
/**
|
|
@@ -44469,10 +44501,10 @@ const TerminalWritable_1 = __webpack_require__(/*! ./TerminalWritable */ 33900);
|
|
|
44469
44501
|
class StdioWritable extends TerminalWritable_1.TerminalWritable {
|
|
44470
44502
|
onWriteChunk(chunk) {
|
|
44471
44503
|
if (chunk.kind === ITerminalChunk_1.TerminalChunkKind.Stdout) {
|
|
44472
|
-
|
|
44504
|
+
node_process_1.default.stdout.write(chunk.text);
|
|
44473
44505
|
}
|
|
44474
44506
|
else if (chunk.kind === ITerminalChunk_1.TerminalChunkKind.Stderr) {
|
|
44475
|
-
|
|
44507
|
+
node_process_1.default.stderr.write(chunk.text);
|
|
44476
44508
|
}
|
|
44477
44509
|
}
|
|
44478
44510
|
}
|
|
@@ -47642,14 +47674,14 @@ exports.CommandLineChoiceParameter = CommandLineChoiceParameter;
|
|
|
47642
47674
|
// See LICENSE in the project root for license information.
|
|
47643
47675
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
47644
47676
|
exports.TerminalStreamWritable = void 0;
|
|
47645
|
-
const
|
|
47677
|
+
const node_stream_1 = __webpack_require__(/*! node:stream */ 157075);
|
|
47646
47678
|
const ITerminalProvider_1 = __webpack_require__(/*! ./ITerminalProvider */ 371016);
|
|
47647
47679
|
/**
|
|
47648
47680
|
* A adapter to allow writing to a provided terminal using Writable streams.
|
|
47649
47681
|
*
|
|
47650
47682
|
* @beta
|
|
47651
47683
|
*/
|
|
47652
|
-
class TerminalStreamWritable extends
|
|
47684
|
+
class TerminalStreamWritable extends node_stream_1.Writable {
|
|
47653
47685
|
constructor(options) {
|
|
47654
47686
|
const { terminal, severity, writableOptions } = options;
|
|
47655
47687
|
super(writableOptions);
|
|
@@ -47999,8 +48031,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
47999
48031
|
})();
|
|
48000
48032
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
48001
48033
|
exports.RealNodeModulePathResolver = void 0;
|
|
48002
|
-
const nodeFs = __importStar(__webpack_require__(/*! fs */
|
|
48003
|
-
const nodePath = __importStar(__webpack_require__(/*! path */
|
|
48034
|
+
const nodeFs = __importStar(__webpack_require__(/*! node:fs */ 973024));
|
|
48035
|
+
const nodePath = __importStar(__webpack_require__(/*! node:path */ 176760));
|
|
48004
48036
|
/**
|
|
48005
48037
|
* This class encapsulates a caching resolver for symlinks in node_modules directories.
|
|
48006
48038
|
* It assumes that the only symlinks that exist in input paths are those that correspond to
|
|
@@ -48767,9 +48799,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
48767
48799
|
exports.Executable = void 0;
|
|
48768
48800
|
exports.parseProcessListOutputAsync = parseProcessListOutputAsync;
|
|
48769
48801
|
exports.parseProcessListOutput = parseProcessListOutput;
|
|
48770
|
-
const os = __importStar(__webpack_require__(/*! os */
|
|
48771
|
-
const child_process = __importStar(__webpack_require__(/*! child_process */
|
|
48772
|
-
const path = __importStar(__webpack_require__(/*! path */
|
|
48802
|
+
const os = __importStar(__webpack_require__(/*! node:os */ 848161));
|
|
48803
|
+
const child_process = __importStar(__webpack_require__(/*! node:child_process */ 731421));
|
|
48804
|
+
const path = __importStar(__webpack_require__(/*! node:path */ 176760));
|
|
48773
48805
|
const EnvironmentMap_1 = __webpack_require__(/*! ./EnvironmentMap */ 298479);
|
|
48774
48806
|
const FileSystem_1 = __webpack_require__(/*! ./FileSystem */ 607393);
|
|
48775
48807
|
const PosixModeBits_1 = __webpack_require__(/*! ./PosixModeBits */ 332144);
|
|
@@ -49563,7 +49595,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
49563
49595
|
})();
|
|
49564
49596
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
49565
49597
|
exports.JsonFile = exports.JsonSyntax = void 0;
|
|
49566
|
-
const os = __importStar(__webpack_require__(/*! os */
|
|
49598
|
+
const os = __importStar(__webpack_require__(/*! node:os */ 848161));
|
|
49567
49599
|
const jju = __importStar(__webpack_require__(/*! jju */ 578648));
|
|
49568
49600
|
const Text_1 = __webpack_require__(/*! ./Text */ 426989);
|
|
49569
49601
|
const FileSystem_1 = __webpack_require__(/*! ./FileSystem */ 607393);
|
|
@@ -51536,6 +51568,17 @@ exports.CommandLineStringParameter = CommandLineStringParameter;
|
|
|
51536
51568
|
|
|
51537
51569
|
/***/ }),
|
|
51538
51570
|
|
|
51571
|
+
/***/ 731421:
|
|
51572
|
+
/*!*************************************!*\
|
|
51573
|
+
!*** external "node:child_process" ***!
|
|
51574
|
+
\*************************************/
|
|
51575
|
+
/***/ ((module) => {
|
|
51576
|
+
|
|
51577
|
+
"use strict";
|
|
51578
|
+
module.exports = require("node:child_process");
|
|
51579
|
+
|
|
51580
|
+
/***/ }),
|
|
51581
|
+
|
|
51539
51582
|
/***/ 731577:
|
|
51540
51583
|
/*!*************************************************************************************************************!*\
|
|
51541
51584
|
!*** ../../common/temp/default/node_modules/.pnpm/ramda@0.27.2/node_modules/ramda/es/internal/_isString.js ***!
|
|
@@ -53776,10 +53819,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
53776
53819
|
})();
|
|
53777
53820
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
53778
53821
|
exports.Import = void 0;
|
|
53779
|
-
const path = __importStar(__webpack_require__(/*! path */
|
|
53822
|
+
const path = __importStar(__webpack_require__(/*! node:path */ 176760));
|
|
53823
|
+
const nodeModule = __webpack_require__(/*! module */ 273339);
|
|
53780
53824
|
const importLazy = __webpack_require__(/*! import-lazy */ 753411);
|
|
53781
53825
|
const Resolve = __importStar(__webpack_require__(/*! resolve */ 868142));
|
|
53782
|
-
const nodeModule = __webpack_require__(/*! module */ 273339);
|
|
53783
53826
|
const PackageJsonLookup_1 = __webpack_require__(/*! ./PackageJsonLookup */ 193248);
|
|
53784
53827
|
const FileSystem_1 = __webpack_require__(/*! ./FileSystem */ 607393);
|
|
53785
53828
|
const PackageName_1 = __webpack_require__(/*! ./PackageName */ 2211);
|
|
@@ -56510,8 +56553,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
56510
56553
|
exports.LockFile = void 0;
|
|
56511
56554
|
exports.getProcessStartTimeFromProcStat = getProcessStartTimeFromProcStat;
|
|
56512
56555
|
exports.getProcessStartTime = getProcessStartTime;
|
|
56513
|
-
const path = __importStar(__webpack_require__(/*! path */
|
|
56514
|
-
const child_process = __importStar(__webpack_require__(/*! child_process */
|
|
56556
|
+
const path = __importStar(__webpack_require__(/*! node:path */ 176760));
|
|
56557
|
+
const child_process = __importStar(__webpack_require__(/*! node:child_process */ 731421));
|
|
56515
56558
|
const FileSystem_1 = __webpack_require__(/*! ./FileSystem */ 607393);
|
|
56516
56559
|
const FileWriter_1 = __webpack_require__(/*! ./FileWriter */ 946071);
|
|
56517
56560
|
const Async_1 = __webpack_require__(/*! ./Async */ 910992);
|
|
@@ -61174,7 +61217,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
61174
61217
|
};
|
|
61175
61218
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
61176
61219
|
exports.SubprocessTerminator = void 0;
|
|
61177
|
-
const
|
|
61220
|
+
const node_process_1 = __importDefault(__webpack_require__(/*! node:process */ 1708));
|
|
61178
61221
|
const Executable_1 = __webpack_require__(/*! ./Executable */ 701954);
|
|
61179
61222
|
/**
|
|
61180
61223
|
* When a child process is created, registering it with the SubprocessTerminator will ensure
|
|
@@ -61263,7 +61306,7 @@ class SubprocessTerminator {
|
|
|
61263
61306
|
}
|
|
61264
61307
|
else {
|
|
61265
61308
|
// Passing a negative PID terminates the entire group instead of just the one process
|
|
61266
|
-
|
|
61309
|
+
node_process_1.default.kill(-pid, 'SIGKILL');
|
|
61267
61310
|
}
|
|
61268
61311
|
}
|
|
61269
61312
|
// Install the hooks
|
|
@@ -61271,17 +61314,17 @@ class SubprocessTerminator {
|
|
|
61271
61314
|
if (!SubprocessTerminator._initialized) {
|
|
61272
61315
|
SubprocessTerminator._initialized = true;
|
|
61273
61316
|
SubprocessTerminator._logDebug('initialize');
|
|
61274
|
-
|
|
61275
|
-
|
|
61276
|
-
|
|
61317
|
+
node_process_1.default.prependListener('SIGTERM', SubprocessTerminator._onTerminateSignal);
|
|
61318
|
+
node_process_1.default.prependListener('SIGINT', SubprocessTerminator._onTerminateSignal);
|
|
61319
|
+
node_process_1.default.prependListener('exit', SubprocessTerminator._onExit);
|
|
61277
61320
|
}
|
|
61278
61321
|
}
|
|
61279
61322
|
// Uninstall the hooks and perform cleanup
|
|
61280
61323
|
static _cleanupChildProcesses() {
|
|
61281
61324
|
if (SubprocessTerminator._initialized) {
|
|
61282
61325
|
SubprocessTerminator._initialized = false;
|
|
61283
|
-
|
|
61284
|
-
|
|
61326
|
+
node_process_1.default.removeListener('SIGTERM', SubprocessTerminator._onTerminateSignal);
|
|
61327
|
+
node_process_1.default.removeListener('SIGINT', SubprocessTerminator._onTerminateSignal);
|
|
61285
61328
|
const trackedSubprocesses = Array.from(SubprocessTerminator._subprocessesByPid.values());
|
|
61286
61329
|
let firstError = undefined;
|
|
61287
61330
|
for (const trackedSubprocess of trackedSubprocesses) {
|
|
@@ -61303,8 +61346,8 @@ class SubprocessTerminator {
|
|
|
61303
61346
|
console.error('\nAn unexpected error was encountered while attempting to clean up child processes:');
|
|
61304
61347
|
// eslint-disable-next-line no-console
|
|
61305
61348
|
console.error(firstError.toString());
|
|
61306
|
-
if (!
|
|
61307
|
-
|
|
61349
|
+
if (!node_process_1.default.exitCode) {
|
|
61350
|
+
node_process_1.default.exitCode = 1;
|
|
61308
61351
|
}
|
|
61309
61352
|
}
|
|
61310
61353
|
}
|
|
@@ -61329,7 +61372,7 @@ class SubprocessTerminator {
|
|
|
61329
61372
|
// the original handler. But we can invoke it by removing our listener and then resending
|
|
61330
61373
|
// the signal to our own process.
|
|
61331
61374
|
SubprocessTerminator._logDebug(`relaying ${signal}`);
|
|
61332
|
-
|
|
61375
|
+
node_process_1.default.kill(node_process_1.default.pid, signal);
|
|
61333
61376
|
}
|
|
61334
61377
|
// For debugging
|
|
61335
61378
|
static _logDebug(message) {
|
|
@@ -61348,12 +61391,12 @@ SubprocessTerminator._initialized = false;
|
|
|
61348
61391
|
* terminate on their own.
|
|
61349
61392
|
*/
|
|
61350
61393
|
SubprocessTerminator._subprocessesByPid = new Map();
|
|
61351
|
-
SubprocessTerminator._isWindows =
|
|
61394
|
+
SubprocessTerminator._isWindows = node_process_1.default.platform === 'win32';
|
|
61352
61395
|
/**
|
|
61353
61396
|
* The recommended options when creating a child process.
|
|
61354
61397
|
*/
|
|
61355
61398
|
SubprocessTerminator.RECOMMENDED_OPTIONS = {
|
|
61356
|
-
detached:
|
|
61399
|
+
detached: node_process_1.default.platform !== 'win32'
|
|
61357
61400
|
};
|
|
61358
61401
|
//# sourceMappingURL=SubprocessTerminator.js.map
|
|
61359
61402
|
|
|
@@ -70566,6 +70609,17 @@ function hideAuthInformation(authHeaderValue) {
|
|
|
70566
70609
|
|
|
70567
70610
|
/***/ }),
|
|
70568
70611
|
|
|
70612
|
+
/***/ 973024:
|
|
70613
|
+
/*!**************************!*\
|
|
70614
|
+
!*** external "node:fs" ***!
|
|
70615
|
+
\**************************/
|
|
70616
|
+
/***/ ((module) => {
|
|
70617
|
+
|
|
70618
|
+
"use strict";
|
|
70619
|
+
module.exports = require("node:fs");
|
|
70620
|
+
|
|
70621
|
+
/***/ }),
|
|
70622
|
+
|
|
70569
70623
|
/***/ 973511:
|
|
70570
70624
|
/*!************************************************************************************************************!*\
|
|
70571
70625
|
!*** ../../common/temp/default/node_modules/.pnpm/graceful-fs@4.2.4/node_modules/graceful-fs/polyfills.js ***!
|
|
@@ -72697,6 +72751,7 @@ class ProblemCollector extends TerminalWritable_1.TerminalWritable {
|
|
|
72697
72751
|
if (this._matchers.length === 0) {
|
|
72698
72752
|
throw new Error('ProblemCollector requires at least one problem matcher.');
|
|
72699
72753
|
}
|
|
72754
|
+
this._onProblem = options.onProblem;
|
|
72700
72755
|
}
|
|
72701
72756
|
/**
|
|
72702
72757
|
* {@inheritdoc IProblemCollector}
|
|
@@ -72708,6 +72763,7 @@ class ProblemCollector extends TerminalWritable_1.TerminalWritable {
|
|
|
72708
72763
|
* {@inheritdoc TerminalWritable}
|
|
72709
72764
|
*/
|
|
72710
72765
|
onWriteChunk(chunk) {
|
|
72766
|
+
var _a;
|
|
72711
72767
|
const text = chunk.text;
|
|
72712
72768
|
if (text.length === 0 || text[text.length - 1] !== '\n') {
|
|
72713
72769
|
throw new Error('ProblemCollector expects chunks that were split into newline terminated lines. ' +
|
|
@@ -72722,6 +72778,7 @@ class ProblemCollector extends TerminalWritable_1.TerminalWritable {
|
|
|
72722
72778
|
matcherName: matcher.name
|
|
72723
72779
|
};
|
|
72724
72780
|
this._problems.add(finalized);
|
|
72781
|
+
(_a = this._onProblem) === null || _a === void 0 ? void 0 : _a.call(this, finalized);
|
|
72725
72782
|
}
|
|
72726
72783
|
}
|
|
72727
72784
|
}
|
|
@@ -72729,6 +72786,7 @@ class ProblemCollector extends TerminalWritable_1.TerminalWritable {
|
|
|
72729
72786
|
* {@inheritdoc TerminalWritable}
|
|
72730
72787
|
*/
|
|
72731
72788
|
onClose() {
|
|
72789
|
+
var _a;
|
|
72732
72790
|
for (const matcher of this._matchers) {
|
|
72733
72791
|
if (matcher.flush) {
|
|
72734
72792
|
const flushed = matcher.flush();
|
|
@@ -72739,6 +72797,7 @@ class ProblemCollector extends TerminalWritable_1.TerminalWritable {
|
|
|
72739
72797
|
matcherName: matcher.name
|
|
72740
72798
|
};
|
|
72741
72799
|
this._problems.add(finalized);
|
|
72800
|
+
(_a = this._onProblem) === null || _a === void 0 ? void 0 : _a.call(this, finalized);
|
|
72742
72801
|
}
|
|
72743
72802
|
}
|
|
72744
72803
|
}
|