git-last-commit
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -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", |
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
19412
353