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.1 to 4.5.0

4

index.js

@@ -150,4 +150,6 @@ var events = require('events')

var encrypt = opts.private !== undefined ? opts.private : opts.encrypt
this.channels = {}
this.private = opts.private !== false
this.private = encrypt !== false

@@ -154,0 +156,0 @@ this.id = opts.id || randomBytes(32)

{
"name": "hypercore-protocol",
"version": "4.4.1",
"version": "4.5.0",
"description": "Stream that implements the hypercore protocol",

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

@@ -119,4 +119,4 @@ var tape = require('tape')

tape('can disable encryption', function (t) {
var stream1 = protocol({private: false})
var stream2 = protocol({private: false})
var stream1 = protocol({encrypt: false})
var stream2 = protocol({encrypt: false})

@@ -123,0 +123,0 @@ var foundHello = false

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