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

dat

Package Overview
Dependencies
Maintainers
3
Versions
212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dat - npm Package Compare versions

Comparing version 9.1.2 to 9.2.0

5

cli.js

@@ -213,7 +213,8 @@ #!/usr/bin/env node

var downloadCount = stats.files + stats.directories
var activeCount = swarm.peersConnected
var activePeers = swarm.connections.length
var totalPeers = swarm.connecting + swarm.connections.length
var msg = ''
var count = '0'
if (activeCount > 0) count = activeCount + '/' + (swarm.peersConnecting)
if (activePeers > 0) count = activePeers + '/' + totalPeers
if ((swarm.downloading || swarm.downloadComplete) && stats.downloaded > 0) {

@@ -220,0 +221,0 @@ msg += 'Downloaded ' + downloadCount + '/' + totalCount + ' files' +

1

index.js

@@ -31,2 +31,3 @@ var collect = require('collect-stream')

this.swarm = discoverySwarm({
id: drive.core.id,
dns: discovery && {server: DEFAULT_DISCOVERY, domain: DAT_DOMAIN},

@@ -33,0 +34,0 @@ dht: discovery,

{
"name": "dat",
"version": "9.1.2",
"version": "9.2.0",
"description": "Share datasets on the Internet",

@@ -29,3 +29,3 @@ "keywords": [

"debug": "^2.2.0",
"discovery-swarm": "^1.2.0",
"discovery-swarm": "^2.0.3",
"folder-walker": "^1.3.0",

@@ -32,0 +32,0 @@ "home-dir": "^1.0.0",

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