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

multifeed

Package Overview
Dependencies
Maintainers
7
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multifeed - npm Package Compare versions

Comparing version 4.2.3 to 4.3.0

13

mux.js

@@ -198,3 +198,5 @@ var protocol = require('hypercore-protocol')

// Start replicating as requested.
this._replicateFeeds(filtered)
this._replicateFeeds(filtered, true, function () {
self.stream.emit('remote-feeds')
})
}

@@ -204,3 +206,4 @@

// the main stream.
Multiplexer.prototype._replicateFeeds = function(keys) {
Multiplexer.prototype._replicateFeeds = function(keys, terminateIfNoFeeds, cb) {
if (!cb) cb = () => {}
var self = this

@@ -223,2 +226,4 @@ keys = uniq(keys)

var pending = feeds.length
--self._pendingReplicationFeeds

@@ -235,2 +240,3 @@

self._feed.close()
process.nextTick(cb)
return

@@ -250,2 +256,3 @@ }

self.stream.expectedFeeds--
if (!--pending) cb()
return

@@ -274,2 +281,4 @@ }

fStream.once('error', cleanup)
if (!--pending) cb()
})

@@ -276,0 +285,0 @@ })

2

package.json

@@ -5,3 +5,3 @@ {

"author": "Stephen Whitmore <sww@eight.net>",
"version": "4.2.3",
"version": "4.3.0",
"repository": {

@@ -8,0 +8,0 @@ "url": "git://github.com/noffle/multifeed.git"

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