Huge News!Announcing our $40M Series B led by Abstract Ventures.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.0 to 1.0.1

.npmignore

3

index.js

@@ -26,6 +26,5 @@ var Swarm = require('discovery-swarm')

return
return swarm
function serveArchive (key) {
console.log(`replicating ${key.toString('hex')} over Dat`)
// random timeout so it doesn't flood DHT

@@ -32,0 +31,0 @@ setTimeout(swarm.join(archiver.discoveryKey(key)), Math.floor(Math.random() * 30 * 1000))

{
"name": "archiver-server",
"version": "1.0.0",
"version": "1.0.1",
"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