@npmcli/git
Advanced tools
Comparing version 5.0.4 to 5.0.5
// not an airtight indicator, but a good gut-check to even bother trying | ||
const { promisify } = require('util') | ||
const fs = require('fs') | ||
const stat = promisify(fs.stat) | ||
const { stat } = require('fs/promises') | ||
module.exports = ({ cwd = process.cwd() } = {}) => | ||
stat(cwd + '/.git').then(() => true, () => false) |
{ | ||
"name": "@npmcli/git", | ||
"version": "5.0.4", | ||
"version": "5.0.5", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
21788
468