git-repo-info
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -1,2 +0,2 @@ | ||
declare function gitRepoInfo(): gitRepoInfo.GitRepoInfo; | ||
declare function gitRepoInfo(gitPath?: string): gitRepoInfo.GitRepoInfo; | ||
@@ -15,2 +15,7 @@ declare namespace gitRepoInfo { | ||
lastTag: string | null; | ||
/** | ||
* Number of commits since the closest tagged ancestor. | ||
* `0` if this commit is tagged, or `Infinity` if no ancestor is tagged. | ||
*/ | ||
commitsSinceLastTag: number; | ||
/** The committer of the current SHA */ | ||
@@ -17,0 +22,0 @@ committer: string; |
{ | ||
"name": "git-repo-info", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Retrieve current sha and branch name from a git repo.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
14389
331