Socket
Socket
Sign inDemoInstall

bouncy

Package Overview
Dependencies
34
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.2.0 to 3.2.1

12

index.js

@@ -35,2 +35,3 @@ var http = require('http');

//first data event, fires once time
stream.ondata = function (buf, i, j) {

@@ -41,2 +42,8 @@ var res = ondata(buf, i, j);

};
//second data event, fires other times
stream.on('data',function(buf){
src.write(buf);
});
//does not fires with websocket connection
stream.onend = function () {

@@ -47,2 +54,7 @@ var res = onend();

};
//fires when websocket connection ends
stream.on('end',function(){
src.end();
});
}

@@ -49,0 +61,0 @@ else stream.pipe(src);

2

package.json
{
"name" : "bouncy",
"description" : "route incoming http requests to http servers",
"version" : "3.2.0",
"version" : "3.2.1",
"repository" : {

@@ -6,0 +6,0 @@ "type" : "git",

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