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

bpmux

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bpmux - npm Package Compare versions

Comparing version 8.0.6 to 8.1.0

14

index.js

@@ -293,4 +293,4 @@ /**

bpmux will emit `error` events on multiplexed streams if their underlying
(carrier) stream closes before they have closed. The error message will be one
of these two strings:
(carrier) stream closes before they have closed. The error object will have one
of the following messages:

@@ -302,2 +302,4 @@ ```

and have a property `carrier_done` set to `true`.
As this is an `error` event, you must register an event listener on multiplexed

@@ -602,3 +604,5 @@ streams [if you don't want the Node process to exit](https://nodejs.org/dist/latest-v13.x/docs/api/events.html#events_error_events).

{
duplex.destroy(new Error('carrier stream finished before duplex finished'));
const err = new Error('carrier stream finished before duplex finished');
err.carrier_done = true;
duplex.destroy(err);
}

@@ -620,3 +624,5 @@ }

duplex._ended = true; // we won't get any more messages for it
duplex.destroy(new Error('carrier stream ended before end message received'));
const err = new Error('carrier stream ended before end message received');
err.carrier_done = true;
duplex.destroy(err);
}

@@ -623,0 +629,0 @@ }

{
"name": "bpmux",
"description": "Node stream multiplexing with back-pressure on each stream",
"version": "8.0.6",
"version": "8.1.0",
"homepage": "https://github.com/davedoesdev/bpmux",

@@ -6,0 +6,0 @@ "author": {

@@ -292,4 +292,4 @@ # bpmux   [![Build Status](https://travis-ci.org/davedoesdev/bpmux.png)](https://travis-ci.org/davedoesdev/bpmux) [![Coverage Status](https://coveralls.io/repos/davedoesdev/bpmux/badge.png?branch=master&service=github)](https://coveralls.io/r/davedoesdev/bpmux?branch=master) [![NPM version](https://badge.fury.io/js/bpmux.png)](http://badge.fury.io/js/bpmux)

bpmux will emit `error` events on multiplexed streams if their underlying
(carrier) stream closes before they have closed. The error message will be one
of these two strings:
(carrier) stream closes before they have closed. The error object will have one
of the following messages:

@@ -301,2 +301,4 @@ ```

and have a property `carrier_done` set to `true`.
As this is an `error` event, you must register an event listener on multiplexed

@@ -303,0 +305,0 @@ streams [if you don't want the Node process to exit](https://nodejs.org/dist/latest-v13.x/docs/api/events.html#events_error_events).

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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