Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

docker-stream-cleanser

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docker-stream-cleanser - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

14

app.js

@@ -16,6 +16,5 @@ module.exports = function(data, encoding, fixCarriageReturns) {

if (payload === null) break;
if (fixCarriageReturns) {
payload = payload.replace(/\r?\n/g, '\r\n');
}
result += payload.toString();
payload = (fixCarriageReturns) ?
payload.toString().replace(/\r?\n/g, '\r\n') : payload.toString();
result += payload;
}

@@ -50,6 +49,5 @@ return result;

if (payload === null) break;
if (fixCarriageReturns) {
payload = payload.replace(/\r?\n/g, '\r\n');
}
clientStream.write(payload.toString());
payload = (fixCarriageReturns) ?
payload.toString().replace(/\r?\n/g, '\r\n') : payload.toString();
clientStream.write(payload);
}

@@ -56,0 +54,0 @@ }

{
"name": "docker-stream-cleanser",
"version": "0.0.8",
"version": "0.0.9",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc