@rushstack/package-extractor 0.10.19 → 0.10.21
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 +45 -0
- package/CHANGELOG.md +11 -1
- package/dist/scripts/create-links.js +19 -6
- package/dist/scripts/create-links.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +7 -7
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,51 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/package-extractor",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.10.21",
|
|
6
|
+
"tag": "@rushstack/package-extractor_v0.10.21",
|
|
7
|
+
"date": "Fri, 04 Apr 2025 18:34:35 GMT",
|
|
8
|
+
"comments": {
|
|
9
|
+
"dependency": [
|
|
10
|
+
{
|
|
11
|
+
"comment": "Updating dependency \"@rushstack/heft-webpack5-plugin\" to `0.11.25`"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"comment": "Updating dependency \"@rushstack/heft\" to `0.71.2`"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"comment": "Updating dependency \"@rushstack/webpack-preserve-dynamic-require-plugin\" to `0.11.94`"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"version": "0.10.20",
|
|
24
|
+
"tag": "@rushstack/package-extractor_v0.10.20",
|
|
25
|
+
"date": "Tue, 25 Mar 2025 15:11:16 GMT",
|
|
26
|
+
"comments": {
|
|
27
|
+
"dependency": [
|
|
28
|
+
{
|
|
29
|
+
"comment": "Updating dependency \"@rushstack/node-core-library\" to `5.13.0`"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"comment": "Updating dependency \"@rushstack/terminal\" to `0.15.2`"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"comment": "Updating dependency \"@rushstack/ts-command-line\" to `4.23.7`"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"comment": "Updating dependency \"@rushstack/heft-webpack5-plugin\" to `0.11.24`"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"comment": "Updating dependency \"@rushstack/heft\" to `0.71.1`"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"comment": "Updating dependency \"@rushstack/webpack-preserve-dynamic-require-plugin\" to `0.11.93`"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
4
49
|
{
|
|
5
50
|
"version": "0.10.19",
|
|
6
51
|
"tag": "@rushstack/package-extractor_v0.10.19",
|
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 Fri, 04 Apr 2025 18:34:35 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 0.10.21
|
|
6
|
+
Fri, 04 Apr 2025 18:34:35 GMT
|
|
7
|
+
|
|
8
|
+
_Version update only_
|
|
9
|
+
|
|
10
|
+
## 0.10.20
|
|
11
|
+
Tue, 25 Mar 2025 15:11:16 GMT
|
|
12
|
+
|
|
13
|
+
_Version update only_
|
|
4
14
|
|
|
5
15
|
## 0.10.19
|
|
6
16
|
Wed, 12 Mar 2025 22:41:36 GMT
|
|
@@ -14788,6 +14788,17 @@ function outputJsonSync (file, data, options) {
|
|
|
14788
14788
|
module.exports = outputJsonSync
|
|
14789
14789
|
|
|
14790
14790
|
|
|
14791
|
+
/***/ }),
|
|
14792
|
+
|
|
14793
|
+
/***/ 191943:
|
|
14794
|
+
/*!******************************!*\
|
|
14795
|
+
!*** external "fs/promises" ***!
|
|
14796
|
+
\******************************/
|
|
14797
|
+
/***/ ((module) => {
|
|
14798
|
+
|
|
14799
|
+
"use strict";
|
|
14800
|
+
module.exports = require("fs/promises");
|
|
14801
|
+
|
|
14791
14802
|
/***/ }),
|
|
14792
14803
|
|
|
14793
14804
|
/***/ 192121:
|
|
@@ -42694,10 +42705,10 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
42694
42705
|
exports.FileSystem = exports.AlreadyExistsBehavior = void 0;
|
|
42695
42706
|
const nodeJsPath = __importStar(__webpack_require__(/*! path */ 16928));
|
|
42696
42707
|
const fs = __importStar(__webpack_require__(/*! fs */ 179896));
|
|
42708
|
+
const fsPromises = __importStar(__webpack_require__(/*! fs/promises */ 191943));
|
|
42697
42709
|
const fsx = __importStar(__webpack_require__(/*! fs-extra */ 665022));
|
|
42698
42710
|
const Text_1 = __webpack_require__(/*! ./Text */ 426989);
|
|
42699
42711
|
const PosixModeBits_1 = __webpack_require__(/*! ./PosixModeBits */ 332144);
|
|
42700
|
-
const LegacyAdapters_1 = __webpack_require__(/*! ./LegacyAdapters */ 906161);
|
|
42701
42712
|
/**
|
|
42702
42713
|
* Specifies the behavior of APIs such as {@link FileSystem.copyFile} or
|
|
42703
42714
|
* {@link FileSystem.createSymbolicLinkFile} when the output file path already exists.
|
|
@@ -43043,7 +43054,7 @@ class FileSystem {
|
|
|
43043
43054
|
static async readFolderItemsAsync(folderPath, options) {
|
|
43044
43055
|
return await FileSystem._wrapExceptionAsync(async () => {
|
|
43045
43056
|
options = Object.assign(Object.assign({}, READ_FOLDER_DEFAULT_OPTIONS), options);
|
|
43046
|
-
const folderEntries = await
|
|
43057
|
+
const folderEntries = await fsPromises.readdir(folderPath, { withFileTypes: true });
|
|
43047
43058
|
if (options.absolutePaths) {
|
|
43048
43059
|
return folderEntries.map((folderEntry) => {
|
|
43049
43060
|
folderEntry.name = nodeJsPath.resolve(folderPath, folderEntry.name);
|
|
@@ -43172,7 +43183,8 @@ class FileSystem {
|
|
|
43172
43183
|
const bytesInCurrentBuffer = toCopy[buffersWritten].byteLength;
|
|
43173
43184
|
if (bytesWritten < bytesInCurrentBuffer) {
|
|
43174
43185
|
// This buffer was partially written.
|
|
43175
|
-
|
|
43186
|
+
const currentToCopy = toCopy[buffersWritten];
|
|
43187
|
+
toCopy[buffersWritten] = new Uint8Array(currentToCopy.buffer, currentToCopy.byteOffset + bytesWritten, currentToCopy.byteLength - bytesWritten);
|
|
43176
43188
|
break;
|
|
43177
43189
|
}
|
|
43178
43190
|
bytesWritten -= bytesInCurrentBuffer;
|
|
@@ -43226,7 +43238,7 @@ class FileSystem {
|
|
|
43226
43238
|
const toCopy = [...contents];
|
|
43227
43239
|
let handle;
|
|
43228
43240
|
try {
|
|
43229
|
-
handle = await
|
|
43241
|
+
handle = await fsPromises.open(filePath, 'w');
|
|
43230
43242
|
}
|
|
43231
43243
|
catch (error) {
|
|
43232
43244
|
if (!(options === null || options === void 0 ? void 0 : options.ensureFolderExists) || !FileSystem.isNotExistError(error)) {
|
|
@@ -43234,7 +43246,7 @@ class FileSystem {
|
|
|
43234
43246
|
}
|
|
43235
43247
|
const folderPath = nodeJsPath.dirname(filePath);
|
|
43236
43248
|
await FileSystem.ensureFolderAsync(folderPath);
|
|
43237
|
-
handle = await
|
|
43249
|
+
handle = await fsPromises.open(filePath, 'w');
|
|
43238
43250
|
}
|
|
43239
43251
|
try {
|
|
43240
43252
|
// In practice this loop will have exactly 1 iteration, but the spec allows
|
|
@@ -43246,7 +43258,8 @@ class FileSystem {
|
|
|
43246
43258
|
const bytesInCurrentBuffer = toCopy[buffersWritten].byteLength;
|
|
43247
43259
|
if (bytesWritten < bytesInCurrentBuffer) {
|
|
43248
43260
|
// This buffer was partially written.
|
|
43249
|
-
|
|
43261
|
+
const currentToCopy = toCopy[buffersWritten];
|
|
43262
|
+
toCopy[buffersWritten] = new Uint8Array(currentToCopy.buffer, currentToCopy.byteOffset + bytesWritten, currentToCopy.byteLength - bytesWritten);
|
|
43250
43263
|
break;
|
|
43251
43264
|
}
|
|
43252
43265
|
bytesWritten -= bytesInCurrentBuffer;
|