@rushstack/package-extractor 0.12.15 → 0.13.1
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 +39 -0
- package/CHANGELOG.md +13 -1
- package/dist/package-extractor.d.ts +6 -0
- package/dist/scripts/create-links.js +77 -1
- package/dist/scripts/create-links.js.map +1 -1
- package/lib-commonjs/PackageExtractor.js +11 -5
- package/lib-commonjs/PackageExtractor.js.map +1 -1
- package/lib-dts/PackageExtractor.d.ts +6 -0
- package/lib-dts/PackageExtractor.d.ts.map +1 -1
- package/lib-esm/PackageExtractor.js +11 -5
- package/lib-esm/PackageExtractor.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,45 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/package-extractor",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.13.1",
|
|
6
|
+
"tag": "@rushstack/package-extractor_v0.13.1",
|
|
7
|
+
"date": "Fri, 17 Apr 2026 15:14:57 GMT",
|
|
8
|
+
"comments": {
|
|
9
|
+
"dependency": [
|
|
10
|
+
{
|
|
11
|
+
"comment": "Updating dependency \"@rushstack/node-core-library\" to `5.23.0`"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"comment": "Updating dependency \"@rushstack/terminal\" to `0.22.6`"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"comment": "Updating dependency \"@rushstack/ts-command-line\" to `5.3.6`"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"comment": "Updating dependency \"@rushstack/heft-webpack5-plugin\" to `1.3.14`"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"comment": "Updating dependency \"@rushstack/heft\" to `1.2.13`"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"comment": "Updating dependency \"@rushstack/webpack-preserve-dynamic-require-plugin\" to `0.12.14`"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"version": "0.13.0",
|
|
33
|
+
"tag": "@rushstack/package-extractor_v0.13.0",
|
|
34
|
+
"date": "Tue, 14 Apr 2026 15:19:52 GMT",
|
|
35
|
+
"comments": {
|
|
36
|
+
"minor": [
|
|
37
|
+
{
|
|
38
|
+
"comment": "Update `_collectFoldersAsync` to process all starting folders in a single shared queue instead of serially. Add `pnpmNodeModulesHoistingEnabled` option to `IExtractorSubspace` to skip virtual store hoisting lookup when hoisting is disabled."
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
},
|
|
4
43
|
{
|
|
5
44
|
"version": "0.12.15",
|
|
6
45
|
"tag": "@rushstack/package-extractor_v0.12.15",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
# Change Log - @rushstack/package-extractor
|
|
2
2
|
|
|
3
|
-
This log was last generated on Fri,
|
|
3
|
+
This log was last generated on Fri, 17 Apr 2026 15:14:57 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 0.13.1
|
|
6
|
+
Fri, 17 Apr 2026 15:14:57 GMT
|
|
7
|
+
|
|
8
|
+
_Version update only_
|
|
9
|
+
|
|
10
|
+
## 0.13.0
|
|
11
|
+
Tue, 14 Apr 2026 15:19:52 GMT
|
|
12
|
+
|
|
13
|
+
### Minor changes
|
|
14
|
+
|
|
15
|
+
- Update `_collectFoldersAsync` to process all starting folders in a single shared queue instead of serially. Add `pnpmNodeModulesHoistingEnabled` option to `IExtractorSubspace` to skip virtual store hoisting lookup when hoisting is disabled.
|
|
4
16
|
|
|
5
17
|
## 0.12.15
|
|
6
18
|
Fri, 10 Apr 2026 22:46:34 GMT
|
|
@@ -213,6 +213,12 @@ export declare interface IExtractorSubspace {
|
|
|
213
213
|
* transform the package.json prior to extraction.
|
|
214
214
|
*/
|
|
215
215
|
transformPackageJson?: (packageJson: IPackageJson) => IPackageJson;
|
|
216
|
+
/**
|
|
217
|
+
* Whether PNPM hoisting is enabled for this subspace. When set to `false`,
|
|
218
|
+
* the extractor will skip looking for hoisted packages in the PNPM virtual store, since no
|
|
219
|
+
* hoisting symlinks will exist. Default is `true`.
|
|
220
|
+
*/
|
|
221
|
+
pnpmNodeModulesHoistingEnabled?: boolean;
|
|
216
222
|
}
|
|
217
223
|
|
|
218
224
|
/**
|
|
@@ -61817,13 +61817,89 @@ function areDeepEqual(a, b) {
|
|
|
61817
61817
|
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
|
61818
61818
|
// See LICENSE in the project root for license information.
|
|
61819
61819
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
61820
|
-
exports.areDeepEqual = void 0;
|
|
61820
|
+
exports.mergeWith = exports.isRecord = exports.areDeepEqual = void 0;
|
|
61821
61821
|
var areDeepEqual_1 = __webpack_require__(/*! ./areDeepEqual */ 746716);
|
|
61822
61822
|
Object.defineProperty(exports, "areDeepEqual", ({ enumerable: true, get: function () { return areDeepEqual_1.areDeepEqual; } }));
|
|
61823
|
+
var isRecord_1 = __webpack_require__(/*! ./isRecord */ 750665);
|
|
61824
|
+
Object.defineProperty(exports, "isRecord", ({ enumerable: true, get: function () { return isRecord_1.isRecord; } }));
|
|
61825
|
+
var mergeWith_1 = __webpack_require__(/*! ./mergeWith */ 176550);
|
|
61826
|
+
Object.defineProperty(exports, "mergeWith", ({ enumerable: true, get: function () { return mergeWith_1.mergeWith; } }));
|
|
61823
61827
|
//# sourceMappingURL=index.js.map
|
|
61824
61828
|
|
|
61825
61829
|
/***/ },
|
|
61826
61830
|
|
|
61831
|
+
/***/ 750665
|
|
61832
|
+
/*!*************************************************************!*\
|
|
61833
|
+
!*** ../node-core-library/lib-commonjs/objects/isRecord.js ***!
|
|
61834
|
+
\*************************************************************/
|
|
61835
|
+
(__unused_webpack_module, exports) {
|
|
61836
|
+
|
|
61837
|
+
"use strict";
|
|
61838
|
+
|
|
61839
|
+
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
|
61840
|
+
// See LICENSE in the project root for license information.
|
|
61841
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
61842
|
+
exports.isRecord = isRecord;
|
|
61843
|
+
/**
|
|
61844
|
+
* Returns `true` if `value` is a non-null, non-array plain object (i.e. assignable to
|
|
61845
|
+
* `Record<string, unknown>`), narrowing the type accordingly.
|
|
61846
|
+
*
|
|
61847
|
+
* @public
|
|
61848
|
+
*/
|
|
61849
|
+
function isRecord(value) {
|
|
61850
|
+
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
61851
|
+
}
|
|
61852
|
+
//# sourceMappingURL=isRecord.js.map
|
|
61853
|
+
|
|
61854
|
+
/***/ },
|
|
61855
|
+
|
|
61856
|
+
/***/ 176550
|
|
61857
|
+
/*!**************************************************************!*\
|
|
61858
|
+
!*** ../node-core-library/lib-commonjs/objects/mergeWith.js ***!
|
|
61859
|
+
\**************************************************************/
|
|
61860
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
61861
|
+
|
|
61862
|
+
"use strict";
|
|
61863
|
+
|
|
61864
|
+
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
|
61865
|
+
// See LICENSE in the project root for license information.
|
|
61866
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
61867
|
+
exports.mergeWith = mergeWith;
|
|
61868
|
+
const isRecord_1 = __webpack_require__(/*! ./isRecord */ 750665);
|
|
61869
|
+
/**
|
|
61870
|
+
* Recursively merges own enumerable string-keyed properties of `source` into `target`, invoking
|
|
61871
|
+
* `customizer` for each property. Mutates and returns `target`.
|
|
61872
|
+
*
|
|
61873
|
+
* @remarks
|
|
61874
|
+
* For each property in `source`, `customizer` is called with `(targetValue, sourceValue, key)`.
|
|
61875
|
+
* If the customizer returns a value other than `undefined`, that value is assigned directly.
|
|
61876
|
+
* Otherwise the default behavior applies: plain objects are merged recursively; all other values
|
|
61877
|
+
* (arrays, primitives, `null`) overwrite the corresponding target property.
|
|
61878
|
+
*
|
|
61879
|
+
* @public
|
|
61880
|
+
*/
|
|
61881
|
+
function mergeWith(target, source, customizer) {
|
|
61882
|
+
const targetRecord = target;
|
|
61883
|
+
const sourceRecord = source;
|
|
61884
|
+
for (const [key, srcValue] of Object.entries(sourceRecord)) {
|
|
61885
|
+
const objValue = targetRecord[key];
|
|
61886
|
+
const customized = customizer === null || customizer === void 0 ? void 0 : customizer(objValue, srcValue, key);
|
|
61887
|
+
if (customized !== undefined) {
|
|
61888
|
+
targetRecord[key] = customized;
|
|
61889
|
+
}
|
|
61890
|
+
else if ((0, isRecord_1.isRecord)(srcValue) && (0, isRecord_1.isRecord)(objValue)) {
|
|
61891
|
+
mergeWith(objValue, srcValue, customizer);
|
|
61892
|
+
}
|
|
61893
|
+
else {
|
|
61894
|
+
targetRecord[key] = srcValue;
|
|
61895
|
+
}
|
|
61896
|
+
}
|
|
61897
|
+
return target;
|
|
61898
|
+
}
|
|
61899
|
+
//# sourceMappingURL=mergeWith.js.map
|
|
61900
|
+
|
|
61901
|
+
/***/ },
|
|
61902
|
+
|
|
61827
61903
|
/***/ 901814
|
|
61828
61904
|
/*!***************************************************************!*\
|
|
61829
61905
|
!*** ../node-core-library/lib-commonjs/user/getHomeFolder.js ***!
|