hc-service-client
Advanced tools
Comparing version 1.1.7 to 1.1.8
@@ -166,10 +166,14 @@ 'use strict'; | ||
let tmpFile = path.join(os.tmpdir(), uuid()); | ||
options.stream.pipe(fs.createWriteStream(tmpFile)); | ||
options.stream.on('end', function () { | ||
const writer = fs.createWriteStream(tmpFile); | ||
writer.on('finish', function() { | ||
options.stream = fs.createReadStream(tmpFile); | ||
resolve(); | ||
resolve() | ||
}); | ||
options.stream.on('data', function (chunk) { | ||
sign.update(chunk); | ||
}); | ||
options.stream.pipe(writer); | ||
} else { | ||
@@ -176,0 +180,0 @@ let cnt; |
{ | ||
"name": "hc-service-client", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"description": "Service Client Extension for Honeybee", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
49739
1081
2