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

hypercore-protocol

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hypercore-protocol - npm Package Compare versions

Comparing version 4.4.0 to 4.4.1

5

index.js

@@ -67,2 +67,3 @@ var events = require('events')

this._remoteNonce = null
this._ready = false

@@ -297,2 +298,4 @@ this._firstNonce = Buffer(24)

ch._ready = true // to avoid premature events
return ch

@@ -423,3 +426,3 @@ }

if (!channel.key || channel.buffer.length) {
if (!channel.key || channel.buffer.length || !channel._ready) {
if (channel.buffer.length === 16) return this.destroy(new Error('Buffer overflow'))

@@ -426,0 +429,0 @@ channel.buffer.push(data)

2

package.json
{
"name": "hypercore-protocol",
"version": "4.4.0",
"version": "4.4.1",
"description": "Stream that implements the hypercore protocol",

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