@rushstack/package-deps-hash
Advanced tools
Comparing version 4.1.3 to 4.1.4
@@ -30,7 +30,7 @@ /** | ||
*/ | ||
export declare function gitLsTree(path: string, gitPath?: string): string; | ||
export declare function gitLsTree(cwdPath: string, gitPath?: string): string; | ||
/** | ||
* Executes "git status" in a folder | ||
*/ | ||
export declare function gitStatus(path: string, gitPath?: string): string; | ||
export declare function gitStatus(cwdPath: string, gitPath?: string): string; | ||
/** | ||
@@ -37,0 +37,0 @@ * Builds an object containing hashes for the files under the specified `packagePath` folder. |
@@ -179,5 +179,5 @@ "use strict"; | ||
*/ | ||
function gitLsTree(path, gitPath) { | ||
function gitLsTree(cwdPath, gitPath) { | ||
const result = node_core_library_1.Executable.spawnSync(gitPath || 'git', ['ls-tree', 'HEAD', '-r'], { | ||
currentWorkingDirectory: path | ||
currentWorkingDirectory: cwdPath | ||
}); | ||
@@ -194,3 +194,3 @@ if (result.status !== 0) { | ||
*/ | ||
function gitStatus(path, gitPath) { | ||
function gitStatus(cwdPath, gitPath) { | ||
/** | ||
@@ -205,3 +205,3 @@ * -s - Short format. Will be printed as 'XY PATH' or 'XY ORIG_PATH -> PATH'. Paths with non-standard | ||
const result = node_core_library_1.Executable.spawnSync(gitPath || 'git', ['status', '-s', '-u', '.'], { | ||
currentWorkingDirectory: path | ||
currentWorkingDirectory: cwdPath | ||
}); | ||
@@ -208,0 +208,0 @@ if (result.status !== 0) { |
{ | ||
"name": "@rushstack/package-deps-hash", | ||
"version": "4.1.3", | ||
"version": "4.1.4", | ||
"description": "", | ||
@@ -14,9 +14,8 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@rushstack/eslint-config": "3.3.4", | ||
"@rushstack/heft": "0.61.1", | ||
"@rushstack/node-core-library": "3.60.0", | ||
"local-node-rig": "1.0.0" | ||
"@rushstack/node-core-library": "3.60.1", | ||
"local-node-rig": "1.0.0", | ||
"@rushstack/heft": "0.61.2" | ||
}, | ||
"dependencies": { | ||
"@rushstack/node-core-library": "3.60.0" | ||
"@rushstack/node-core-library": "3.60.1" | ||
}, | ||
@@ -23,0 +22,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3
90052
+ Added@rushstack/node-core-library@3.60.1(transitive)
- Removed@rushstack/node-core-library@3.60.0(transitive)