Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

git-repo-info

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-repo-info - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

7

index.d.ts

@@ -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;

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc