ssb-git-repo
Advanced tools
Comparing version 1.8.4 to 1.8.5
@@ -46,3 +46,6 @@ var pull = require('pull-stream') | ||
var w = 0 | ||
function getBlobWithTimeout(blobs, timeout, key, cb) { | ||
if (process.env.DEBUG_BLOBS) | ||
console.error(++w + '+', 'blob req', key) | ||
if (!key) return cb(new Error('Missing blob key')) | ||
@@ -54,2 +57,4 @@ var timer = setTimeout(function () { | ||
blobs.want(key, function (err, got) { | ||
if (process.env.DEBUG_BLOBS) | ||
console.error(--w + '-', 'blob got', key) | ||
if (!timer) return console.error('Got blob after timeout', key, err || got) | ||
@@ -56,0 +61,0 @@ clearTimeout(timer) |
{ | ||
"name": "ssb-git-repo", | ||
"version": "1.8.4", | ||
"version": "1.8.5", | ||
"description": "git repos in secure-scuttlebutt", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
34241
976
2