simple-git
Advanced tools
Comparing version 3.11.0 to 3.12.0
@@ -94,6 +94,22 @@ /// <reference types="node" /> | ||
export interface SimpleGitOptions extends Partial<SimpleGitPluginConfig> { | ||
/** | ||
* Base directory for all tasks run through this `simple-git` instance | ||
*/ | ||
baseDir: string; | ||
/** | ||
* Name of the binary the child processes will spawn - defaults to `git` | ||
*/ | ||
binary: string; | ||
/** | ||
* Limit for the number of child processes that will be spawned concurrently from a `simple-git` instance | ||
*/ | ||
maxConcurrentProcesses: number; | ||
/** | ||
* Per-command configuration parameters to be passed with the `-c` switch to `git` | ||
*/ | ||
config: string[]; | ||
/** | ||
* Enable trimming of trailing white-space in `git.raw` | ||
*/ | ||
trimmed: boolean; | ||
} | ||
@@ -100,0 +116,0 @@ export declare type Maybe<T> = T | undefined; |
{ | ||
"name": "simple-git", | ||
"description": "Simple GIT interface for node.js", | ||
"version": "3.11.0", | ||
"version": "3.12.0", | ||
"author": "Steve King <steve@mydev.co>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -65,2 +65,3 @@ # Simple Git | ||
maxConcurrentProcesses: 6, | ||
trimmed: false, | ||
}; | ||
@@ -489,2 +490,5 @@ | ||
const result = await simpleGit(path).raw(...commands); | ||
// automatically trim trailing white-space in responses | ||
const result = await simpleGit(path, { trimmed: true }).raw(...commands); | ||
``` | ||
@@ -491,0 +495,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
833379
10178
815