Socket
Socket
Sign inDemoInstall

@npmcli/git

Package Overview
Dependencies
Maintainers
6
Versions
33
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.3 to 2.0.4

5

lib/is.js

@@ -6,5 +6,2 @@ // not an airtight indicator, but a good gut-check to even bother trying

module.exports = ({ cwd = process.cwd() } = {}) =>
stat(cwd + '/.git/index').then(
st => st.isFile(),
er => false
)
stat(cwd + '/.git').then(() => true, () => false)

2

package.json
{
"name": "@npmcli/git",
"version": "2.0.3",
"version": "2.0.4",
"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