Socket
Socket
Sign inDemoInstall

union

Package Overview
Dependencies
1
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.5 to 0.4.6

14

lib/response-stream.js

@@ -170,2 +170,14 @@ /*

ResponseStream.prototype.pipe = function () {
var self = this,
dest;
self.dest = dest = HttpStream.prototype.pipe.apply(self, arguments);
dest.on('drain', function() {
self.emit('drain')
})
return dest;
};
ResponseStream.prototype.write = function (data) {

@@ -175,3 +187,3 @@ this.modified = true;

if (this.writable) {
this.emit('data', data);
return this.dest.write(data);
}

@@ -178,0 +190,0 @@ };

2

package.json
{
"name": "union",
"description": "A hybrid buffered / streaming middleware kernel backwards compatible with connect.",
"version": "0.4.5",
"version": "0.4.6",
"author": "Charlie Robbins <charlie.robbins@gmail.com>",

@@ -6,0 +6,0 @@ "maintainers": [

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