New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hyperswarm/secret-stream

Package Overview
Dependencies
Maintainers
3
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperswarm/secret-stream - npm Package Compare versions

Comparing version 5.1.5 to 5.1.6

9

index.js

@@ -346,2 +346,7 @@ const { Pull, Push, HEADERBYTES, KEYBYTES, ABYTES } = require('sodium-secretstream')

_predestroy () {
if (this.rawStream) {
const error = this._readableState.error || this._writableState.error
this.rawStream.destroy(error)
}
if (this._startDone !== null) {

@@ -356,3 +361,2 @@ const done = this._startDone

this._handshakeDone = null
if (this.rawStream) this.rawStream.destroy()
done(new Error('Stream destroyed'))

@@ -364,3 +368,2 @@ }

this._drainDone = null
if (this.rawStream) this.rawStream.destroy()
done(new Error('Stream destroyed'))

@@ -409,4 +412,2 @@ }

this._resolveOpened(false)
const error = this._readableState.error || this._writableState.error
if (this.rawStream) this.rawStream.destroy(error)
cb(null)

@@ -413,0 +414,0 @@ }

{
"name": "@hyperswarm/secret-stream",
"version": "5.1.5",
"version": "5.1.6",
"description": "Secret stream backed by Noise and libsodium's secretstream",

@@ -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