@rushstack/rush-sdk 5.121.0 → 5.122.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/dist/rush-lib.d.ts
CHANGED
|
@@ -1902,7 +1902,10 @@ export declare interface IPnpmLockfilePolicies {
|
|
|
1902
1902
|
/**
|
|
1903
1903
|
* Forbid sha1 hashes in `pnpm-lock.yaml`
|
|
1904
1904
|
*/
|
|
1905
|
-
disallowInsecureSha1?:
|
|
1905
|
+
disallowInsecureSha1?: {
|
|
1906
|
+
enabled: boolean;
|
|
1907
|
+
exemptPackageVersions: Record<string, string[]>;
|
|
1908
|
+
};
|
|
1906
1909
|
}
|
|
1907
1910
|
|
|
1908
1911
|
/**
|
|
@@ -14,6 +14,7 @@ export declare class RushPnpmCommandLineParser {
|
|
|
14
14
|
private readonly _pnpmArgs;
|
|
15
15
|
private _commandName;
|
|
16
16
|
private readonly _debugEnabled;
|
|
17
|
+
private _subspace;
|
|
17
18
|
private constructor();
|
|
18
19
|
static initializeAsync(options: IRushPnpmCommandLineParserOptions): Promise<RushPnpmCommandLineParser>;
|
|
19
20
|
executeAsync(): Promise<void>;
|
package/lib/logic/Git.d.ts
CHANGED
|
@@ -99,5 +99,10 @@ export declare class Git {
|
|
|
99
99
|
* @internal
|
|
100
100
|
*/
|
|
101
101
|
_executeGitCommandAndCaptureOutput(gitPath: string, args: string[], repositoryRoot?: string): string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @param ref Given a ref which can be branch name, commit hash, tag name, etc, check if it is a commit hash
|
|
105
|
+
*/
|
|
106
|
+
isRefACommit(ref: string): boolean;
|
|
102
107
|
}
|
|
103
108
|
//# sourceMappingURL=Git.d.ts.map
|
|
@@ -26,7 +26,10 @@ export interface IPnpmLockfilePolicies {
|
|
|
26
26
|
/**
|
|
27
27
|
* Forbid sha1 hashes in `pnpm-lock.yaml`
|
|
28
28
|
*/
|
|
29
|
-
disallowInsecureSha1?:
|
|
29
|
+
disallowInsecureSha1?: {
|
|
30
|
+
enabled: boolean;
|
|
31
|
+
exemptPackageVersions: Record<string, string[]>;
|
|
32
|
+
};
|
|
30
33
|
}
|
|
31
34
|
/**
|
|
32
35
|
* @public
|
|
@@ -143,6 +143,17 @@ export declare class PnpmShrinkwrapFile extends BaseShrinkwrapFile {
|
|
|
143
143
|
validateShrinkwrapAfterUpdate(rushConfiguration: RushConfiguration, terminal: ITerminal): void;
|
|
144
144
|
/** @override */
|
|
145
145
|
validate(packageManagerOptionsConfig: PackageManagerOptionsConfigurationBase, policyOptions: IShrinkwrapFilePolicyValidatorOptions, experimentsConfig?: IExperimentsJson): void;
|
|
146
|
+
/**
|
|
147
|
+
* This operation exactly mirrors the behavior of PNPM's own implementation:
|
|
148
|
+
* https://github.com/pnpm/pnpm/blob/73ebfc94e06d783449579cda0c30a40694d210e4/lockfile/lockfile-file/src/experiments/inlineSpecifiersLockfileConverters.ts#L162
|
|
149
|
+
*/
|
|
150
|
+
private _convertLockfileV6DepPathToV5DepPath;
|
|
151
|
+
/**
|
|
152
|
+
* Normalize dependency paths for PNPM shrinkwrap files.
|
|
153
|
+
* Example: "/eslint-utils@3.0.0(eslint@8.23.1)" --> "/eslint-utils@3.0.0"
|
|
154
|
+
* Example: "/@typescript-eslint/experimental-utils/5.9.1_eslint@8.6.0+typescript@4.4.4" --> "/@typescript-eslint/experimental-utils/5.9.1"
|
|
155
|
+
*/
|
|
156
|
+
private _parseDependencyPath;
|
|
146
157
|
/** @override */
|
|
147
158
|
getTempProjectNames(): ReadonlyArray<string>;
|
|
148
159
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/rush-sdk",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.122.0",
|
|
4
4
|
"description": "An API for interacting with the Rush engine",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@types/node-fetch": "2.6.2",
|
|
27
27
|
"tapable": "2.2.1",
|
|
28
|
-
"@rushstack/
|
|
29
|
-
"@rushstack/
|
|
28
|
+
"@rushstack/terminal": "0.10.1",
|
|
29
|
+
"@rushstack/node-core-library": "4.1.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/semver": "7.5.0",
|
|
33
33
|
"@types/webpack-env": "1.18.0",
|
|
34
|
-
"@microsoft/rush-lib": "5.121.0",
|
|
35
34
|
"@rushstack/heft": "0.66.3",
|
|
35
|
+
"@microsoft/rush-lib": "5.122.0",
|
|
36
36
|
"local-node-rig": "1.0.0",
|
|
37
37
|
"@rushstack/stream-collator": "4.1.41",
|
|
38
38
|
"@rushstack/ts-command-line": "4.19.2"
|