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

scuttlebutt

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scuttlebutt - npm Package Compare versions

Comparing version 3.3.0 to 3.3.1

20

index.js

@@ -226,3 +226,2 @@

var data = out.shift()
if(!data && !tail)

@@ -236,8 +235,19 @@ return this.emit('end'), null

function onUpdate (update) {
out.push(update)
rs.emit('readable')
}
if(tail) {
this.on('_update', function (update) {
out.push(update)
rs.emit('readable')
})
this.on('_update', onUpdate)
}
var self = this
rs.destroy = function () {
rs.removeListener('_update', onUpdate)
rs.emit('close')
//should this emit end?
//this is basically close,
//does readable-stream actually support this?
return this
}

@@ -244,0 +254,0 @@ this.once('dispose', function () {

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

"description": "replicate data via scuttlebutt protocol",
"version": "3.3.0",
"version": "3.3.1",
"homepage": "https://github.com/dominictarr/scuttlebutt",

@@ -15,3 +15,3 @@ "repository": {

"duplex": "~0.1.3",
"stream-serializer": "0.0.0",
"stream-serializer": "0.0.1",
"readable-stream": "~0.0.3",

@@ -18,0 +18,0 @@ "monotonic-timestamp": "0.0.2"

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