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

archiver-server

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

archiver-server - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

5

index.js

@@ -11,2 +11,3 @@ var Swarm = require('discovery-swarm')

tcp: opts.tcp || true,
hash: false,
stream: function () {

@@ -31,4 +32,6 @@ return archiver.replicate()

// random timeout so it doesn't flood DHT
setTimeout(swarm.join(archiver.discoveryKey(key)), Math.floor(Math.random() * 30 * 1000))
setTimeout(function () {
swarm.join(archiver.discoveryKey(key))
}, Math.floor(Math.random() * 30 * 1000))
}
}

2

package.json
{
"name": "archiver-server",
"version": "1.0.1",
"version": "1.0.2",
"description": "Serve keys found in a `hypercore-archiver` with `discovery-swarm`.",

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