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

simple-git

Package Overview
Dependencies
Maintainers
2
Versions
260
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-git - npm Package Compare versions

Comparing version 3.1.1 to 3.2.4

dist/cjs/index.js

17

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

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