Socket
Socket
Sign inDemoInstall

docker-stream-cleanser

Package Overview
Dependencies
0
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.15 to 0.0.16

10

app.js

@@ -52,6 +52,3 @@ 'use strict';

// whole message (-8 to grab the header as well), and store it in the buffer
if (8 + size > dataBuffer.length) {
// If its too short, just return
return;
} else {
if (8 + size <= dataBuffer.length) {

@@ -67,7 +64,8 @@ // Basically do a splice here

// Since we've moved the data to a buffer outside of the processing, we can use a
// timeout to schedule the next iteration
setTimeout(parseDataBuffer, 10);
// timeout to schedule the next iteration.
setImmediate(parseDataBuffer);
}
}
}
// Subscribe to the data event here.
buildStream.on('data', function(data) {

@@ -74,0 +72,0 @@ // First, make sure the data is a buffer

2

package.json
{
"name": "docker-stream-cleanser",
"version": "0.0.15",
"version": "0.0.16",
"main": "app.js",

@@ -5,0 +5,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc