Socket
Socket
Sign inDemoInstall

git-last-commit

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-last-commit - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

50

index.d.ts

@@ -1,25 +0,27 @@

export interface Commit {
shortHash: string;
hash: string;
subject: string;
sanitizedSubject: string;
body: string;
authoredOn: string;
committedOn: string;
author: {
name: string;
email: string;
},
committer: {
name: string;
email: string;
},
notes?: string;
branch: string;
tags: string[];
}
export interface Commit {
shortHash: string;
hash: string;
subject: string;
sanitizedSubject: string;
body: string;
authoredOn: string;
committedOn: string;
author: {
name: string;
email: string;
},
committer: {
name: string;
email: string;
},
notes?: string;
branch: string;
tags: string[];
}
export interface Options {
dst: string;
}
type GetLastCommitCallback = (err: Error, commit: Commit) => void;
export const getLastCommit: (callback: GetLastCommitCallback) => void;
type GetLastCommitCallback = (err: Error, commit: Commit) => void;
export const getLastCommit: (callback: GetLastCommitCallback, options?: Options) => void;
{
"name": "git-last-commit",
"version": "1.0.0",
"version": "1.0.1",
"description": "Read details of the last commit including tags",

@@ -5,0 +5,0 @@ "main": "./source/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