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

graceful-git

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graceful-git - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

8

index.js
'use strict'
const which = require('@zkochan/which');
const execa = require('execa')
const execa = require('safe-execa').default
const retry = require('retry')
let gitLocation
const RETRY_OPTIONS = {

@@ -36,4 +33,3 @@ retries: 3,

opts = opts || {}
gitLocation = gitLocation || await which('git')
return execa(gitLocation, args, {cwd: opts.cwd || process.cwd()})
return execa('git', args, {cwd: opts.cwd || process.cwd()})
}
{
"name": "graceful-git",
"version": "3.1.0",
"version": "3.1.1",
"description": "Executes git commands gracefully. Retries them on errors",

@@ -12,6 +12,2 @@ "main": "index.js",

},
"scripts": {
"test": "preview && tape test.js",
"md": "preview && mos"
},
"mos": {

@@ -39,5 +35,4 @@ "plugins": [

"dependencies": {
"@zkochan/which": "^2.0.3",
"execa": "^5.0.0",
"retry": "^0.12.0"
"retry": "^0.12.0",
"safe-execa": "^0.0.1"
},

@@ -49,3 +44,7 @@ "devDependencies": {

"tape": "^5.1.1"
},
"scripts": {
"test": "preview && tape test.js",
"md": "preview && mos"
}
}
}
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