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

multiplex

Package Overview
Dependencies
Maintainers
4
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multiplex - npm Package Compare versions

Comparing version 6.2.2 to 6.3.0

7

collaborators.md

@@ -5,6 +5,7 @@ ## Collaborators

<table><tbody><tr><th align="left">maxogden</th><td><a href="https://github.com/maxogden">GitHub/maxogden</a></td></tr>
<table><tbody><tr><th align="left">substack</th><td><a href="https://github.com/substack">GitHub/substack</a></td></tr>
<tr><th align="left">maxogden</th><td><a href="https://github.com/maxogden">GitHub/maxogden</a></td></tr>
<tr><th align="left">mafintosh</th><td><a href="https://github.com/mafintosh">GitHub/mafintosh</a></td></tr>
<tr><th align="left">diasdavid</th><td><a href="https://github.com/diasdavid">GitHub/diasdavid</a></td></tr>
<tr><th align="left">1N50MN14</th><td><a href="https://github.com/1N50MN14">GitHub/1N50MN14</a></td></tr>
<tr><th align="left">substack</th><td><a href="https://github.com/substack">GitHub/substack</a></td></tr>
<tr><th align="left">mafintosh</th><td><a href="https://github.com/mafintosh">GitHub/mafintosh</a></td></tr>
</tbody></table>

@@ -141,2 +141,3 @@ var stream = require('readable-stream')

this._ondrain = []
this._finished = false

@@ -264,3 +265,3 @@ this.on('finish', this._clear)

if (this._type === 0) { // open
if (this.destroyed) return
if (this.destroyed || this._finished) return

@@ -314,2 +315,4 @@ var name = data.toString() || this._channel.toString()

Multiplex.prototype._write = function (data, enc, cb) {
if (this._finished) return cb()
var offset = 0

@@ -332,2 +335,5 @@

Multiplex.prototype._clear = function () {
if (this._finished) return
this._finished = true
var list = this._local.concat(this._remote)

@@ -345,2 +351,6 @@

Multiplex.prototype.finalize = function () {
this._clear()
}
Multiplex.prototype.destroy = function (err) {

@@ -347,0 +357,0 @@ if (this.destroyed) return

{
"name": "multiplex",
"version": "6.2.2",
"version": "6.3.0",
"description": "A binary stream multiplexer. Stream multiple streams of binary data over a single binary stream.",

@@ -5,0 +5,0 @@ "main": "index.js",

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