@rushstack/rush-sdk 5.158.0 → 5.158.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.
|
@@ -65,6 +65,17 @@ export declare class DependencySpecifier {
|
|
|
65
65
|
*/
|
|
66
66
|
readonly aliasTarget: DependencySpecifier | undefined;
|
|
67
67
|
constructor(packageName: string, versionSpecifier: string);
|
|
68
|
+
/**
|
|
69
|
+
* Clears the dependency specifier parse cache.
|
|
70
|
+
*/
|
|
71
|
+
static clearCache(): void;
|
|
72
|
+
/**
|
|
73
|
+
* Parses a dependency specifier with caching.
|
|
74
|
+
* @param packageName - The name of the package the version specifier corresponds to
|
|
75
|
+
* @param versionSpecifier - The version specifier to parse
|
|
76
|
+
* @returns The parsed dependency specifier
|
|
77
|
+
*/
|
|
78
|
+
static parseWithCache(packageName: string, versionSpecifier: string): DependencySpecifier;
|
|
68
79
|
static getDependencySpecifierType(specifierType: string): DependencySpecifierType;
|
|
69
80
|
}
|
|
70
81
|
//# sourceMappingURL=DependencySpecifier.d.ts.map
|
|
@@ -89,7 +89,6 @@ export declare function parsePnpm9DependencyKey(dependencyName: string, versionS
|
|
|
89
89
|
export declare function parsePnpmDependencyKey(dependencyName: string, versionSpecifier: IPnpmVersionSpecifier): DependencySpecifier | undefined;
|
|
90
90
|
export declare function normalizePnpmVersionSpecifier(versionSpecifier: IPnpmVersionSpecifier): string;
|
|
91
91
|
export declare class PnpmShrinkwrapFile extends BaseShrinkwrapFile {
|
|
92
|
-
private static _cacheByLockfilePath;
|
|
93
92
|
readonly shrinkwrapFileMajorVersion: number;
|
|
94
93
|
readonly isWorkspaceCompatible: boolean;
|
|
95
94
|
readonly registry: string;
|
|
@@ -99,12 +98,17 @@ export declare class PnpmShrinkwrapFile extends BaseShrinkwrapFile {
|
|
|
99
98
|
readonly packages: ReadonlyMap<string, IPnpmShrinkwrapDependencyYaml>;
|
|
100
99
|
readonly overrides: ReadonlyMap<string, string>;
|
|
101
100
|
readonly packageExtensionsChecksum: undefined | string;
|
|
101
|
+
readonly hash: string;
|
|
102
102
|
private readonly _shrinkwrapJson;
|
|
103
103
|
private readonly _integrities;
|
|
104
104
|
private _pnpmfileConfiguration;
|
|
105
105
|
private constructor();
|
|
106
106
|
static getLockfileV9PackageId(name: string, version: string): string;
|
|
107
|
-
|
|
107
|
+
/**
|
|
108
|
+
* Clears the cache of PnpmShrinkwrapFile instances to free up memory.
|
|
109
|
+
*/
|
|
110
|
+
static clearCache(): void;
|
|
111
|
+
static loadFromFile(shrinkwrapYamlFilePath: string, options?: ILoadFromFileOptions): PnpmShrinkwrapFile | undefined;
|
|
108
112
|
static loadFromString(shrinkwrapContent: string): PnpmShrinkwrapFile;
|
|
109
113
|
getShrinkwrapHash(experimentsConfig?: IExperimentsJson): string;
|
|
110
114
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/rush-sdk",
|
|
3
|
-
"version": "5.158.
|
|
3
|
+
"version": "5.158.1",
|
|
4
4
|
"description": "An API for interacting with the Rush engine",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@pnpm/lockfile.types": "~1.0.3",
|
|
38
38
|
"tapable": "2.2.1",
|
|
39
|
-
"@rushstack/lookup-by-path": "0.7.4",
|
|
40
39
|
"@rushstack/node-core-library": "5.14.0",
|
|
41
40
|
"@rushstack/package-deps-hash": "4.4.5",
|
|
41
|
+
"@rushstack/lookup-by-path": "0.7.4",
|
|
42
42
|
"@rushstack/terminal": "0.15.4"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"@types/webpack-env": "1.18.8",
|
|
47
47
|
"eslint": "~9.25.1",
|
|
48
48
|
"webpack": "~5.98.0",
|
|
49
|
-
"@microsoft/rush-lib": "5.158.
|
|
49
|
+
"@microsoft/rush-lib": "5.158.1",
|
|
50
50
|
"@rushstack/heft": "0.74.3",
|
|
51
|
-
"@rushstack/heft-webpack5-plugin": "0.11.39",
|
|
52
51
|
"@rushstack/ts-command-line": "5.0.2",
|
|
52
|
+
"@rushstack/heft-webpack5-plugin": "0.11.40",
|
|
53
|
+
"@rushstack/stream-collator": "4.1.107",
|
|
53
54
|
"@rushstack/webpack-preserve-dynamic-require-plugin": "0.11.106",
|
|
54
|
-
"local-node-rig": "1.0.0"
|
|
55
|
-
"@rushstack/stream-collator": "4.1.107"
|
|
55
|
+
"local-node-rig": "1.0.0"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "heft build --clean",
|