Socket
Socket
Sign inDemoInstall

@npmcli/git

Package Overview
Dependencies
Maintainers
7
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@npmcli/git - npm Package Compare versions

Comparing version 2.0.9 to 2.1.0

lib/errors.js

3

lib/index.js

@@ -7,3 +7,4 @@ module.exports = {

find: require('./find.js'),
isClean: require('./is-clean.js')
isClean: require('./is-clean.js'),
errors: require('./errors.js')
}
const spawn = require('@npmcli/promise-spawn')
const promiseRetry = require('promise-retry')
const shouldRetry = require('./should-retry.js')
const makeError = require('./make-error.js')
const whichGit = require('./which.js')

@@ -36,8 +36,9 @@ const makeOpts = require('./opts.js')

.catch(er => {
if (!shouldRetry(er.stderr, number)) {
throw er
const gitError = makeError(er)
if (!gitError.shouldRetry(number)) {
throw gitError
}
retry(er)
retry(gitError)
})
}, retry)
}
{
"name": "@npmcli/git",
"version": "2.0.9",
"version": "2.1.0",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "files": [

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