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.6 to 0.0.7

9

app.js

@@ -6,5 +6,5 @@

module.exports = function(data) {
module.exports = function(data, encoding) {
if (!Buffer.isBuffer(data)) {
data = new Buffer(data);
data = new Buffer(data, encoding);
}

@@ -27,4 +27,7 @@ var result = '';

module.exports.cleanStreams = function (buildStream, clientStream) {
module.exports.cleanStreams = function (buildStream, clientStream, encoding) {
buildStream.on('data', function(data) {
if (!Buffer.isBuffer(data)) {
data = new Buffer(data, encoding);
}
var header = null, pointer = 0;

@@ -31,0 +34,0 @@ if (!data || data.length < 8 || data[1] !== 0) {

{
"name": "docker-stream-cleanser",
"version": "0.0.6",
"version": "0.0.7",
"main": "app.js",
"devDependencies": {
"lab": "^4.0.2"
"lab": "^4.0.2",
"silly-string": "^1.0.1"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc