Comparing version 5.0.1 to 5.0.2
@@ -24,2 +24,4 @@ /// <reference types="node" /> | ||
export type CommitField = keyof typeof fieldMap; | ||
declare const notOptFields: readonly ["status", "files"]; | ||
type NotOptField = (typeof notOptFields)[number]; | ||
export interface FileLineRange { | ||
@@ -104,5 +106,3 @@ /** Will be pass as -L <startLine>,<endLine>:<file> */ | ||
type CommitBase<Field extends string> = Record<Field, string>; | ||
type CommitBaseWithFiles<Field extends string> = Record<Field | "status", string> & { | ||
files: string[]; | ||
}; | ||
type CommitBaseWithFiles<Field extends string> = CommitBase<Field> & Record<NotOptField, string[]>; | ||
declare function gitlog<Field extends CommitField = DefaultField>(userOptions: GitlogOptions<Field> & { | ||
@@ -109,0 +109,0 @@ nameStatus: false; |
{ | ||
"name": "gitlog", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "Git log parser for Node.JS", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
37571
0