simple-git
Advanced tools
Comparing version 3.1.1 to 3.2.4
{ | ||
"name": "simple-git", | ||
"description": "Simple GIT interface for node.js", | ||
"private": false, | ||
"version": "3.1.1", | ||
"version": "3.2.4", | ||
"author": "Steve King <steve@mydev.co>", | ||
@@ -45,8 +44,8 @@ "contributors": [ | ||
}, | ||
"main": "cjs/index.js", | ||
"module": "esm/index.js", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"exports": { | ||
".": { | ||
"import": "./esm/index.js", | ||
"require": "./cjs/index.js" | ||
"import": "./dist/esm/index.js", | ||
"require": "./dist/cjs/index.js" | ||
}, | ||
@@ -57,3 +56,7 @@ "./promise": { | ||
}, | ||
"types": "./typings/index.d.ts" | ||
"types": "./dist/typings/index.d.ts", | ||
"files": [ | ||
"promise.*", | ||
"dist" | ||
] | ||
} |
@@ -1,5 +0,2 @@ | ||
import * as errors from './typings/errors'; | ||
import * as types from './typings/types'; | ||
import * as resp from './typings/response'; | ||
import * as simpleGit from './typings/simple-git'; | ||
import * as SimpleGitTypes from 'simple-git'; | ||
@@ -20,3 +17,3 @@ /** | ||
type SimpleGitExport = ((basePath?: string) => simplegit.SimpleGit) & { | ||
CleanOptions: typeof types.CleanOptions | ||
CleanOptions: typeof SimpleGitTypes.CleanOptions | ||
}; | ||
@@ -33,32 +30,32 @@ | ||
*/ | ||
type SimpleGit = simpleGit.SimpleGit; | ||
type SimpleGit = SimpleGitTypes.SimpleGit; | ||
// errors | ||
type GitError = errors.GitError; | ||
type GitConstructError = errors.GitConstructError; | ||
type GitResponseError<T> = errors.GitResponseError<T>; | ||
type TaskConfigurationError = errors.TaskConfigurationError; | ||
type GitError = SimpleGitTypes.GitError; | ||
type GitConstructError = SimpleGitTypes.GitConstructError; | ||
type GitResponseError<T> = SimpleGitTypes.GitResponseError<T>; | ||
type TaskConfigurationError = SimpleGitTypes.TaskConfigurationError; | ||
// responses | ||
type BranchSummary = resp.BranchSummary | ||
type CleanSummary = resp.CleanSummary; | ||
type CleanMode = types.CleanMode; | ||
type DiffResult = resp.DiffResult; | ||
type FetchResult = resp.FetchResult; | ||
type CommitResult = resp.CommitResult; | ||
type MergeResult = resp.MergeResult; | ||
type PullResult = resp.PullResult; | ||
type StatusResult = resp.StatusResult; | ||
type TagResult = resp.TagResult; | ||
type BranchSummary = SimpleGitTypes.BranchSummary | ||
type CleanSummary = SimpleGitTypes.CleanSummary; | ||
type CleanMode = SimpleGitTypes.CleanMode; | ||
type DiffResult = SimpleGitTypes.DiffResult; | ||
type FetchResult = SimpleGitTypes.FetchResult; | ||
type CommitResult = SimpleGitTypes.CommitResult; | ||
type MergeResult = SimpleGitTypes.MergeResult; | ||
type PullResult = SimpleGitTypes.PullResult; | ||
type StatusResult = SimpleGitTypes.StatusResult; | ||
type TagResult = SimpleGitTypes.TagResult; | ||
// types | ||
type outputHandler = types.outputHandler | ||
type LogOptions<T = types.DefaultLogFields> = types.LogOptions<T>; | ||
type Options = types.Options; | ||
type outputHandler = SimpleGitTypes.outputHandler | ||
type LogOptions<T = SimpleGitTypes.DefaultLogFields> = SimpleGitTypes.LogOptions<T>; | ||
type Options = SimpleGitTypes.Options; | ||
// deprecated | ||
/** @deprecated use MergeResult */ | ||
type MergeSummary = resp.MergeSummary; | ||
type MergeSummary = SimpleGitTypes.MergeSummary; | ||
/** @deprecated use CommitResult */ | ||
type CommitSummary = resp.CommitResult; | ||
type CommitSummary = SimpleGitTypes.CommitResult; | ||
} | ||
@@ -65,0 +62,0 @@ |
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
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
793695
101
9495
3