Socket
Socket
Sign inDemoInstall

ssb-conn-hub

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssb-conn-hub - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

4

lib/index.js

@@ -187,3 +187,3 @@ "use strict";

this._peers.delete(address);
debug('failed to connect to %s', address);
debug('failed to connect to %s because: %s', address, err.message);
this._notifyEvent({

@@ -232,3 +232,3 @@ type: 'connecting-failed',

if (err) {
debug('failed to disconnect from %s', address);
debug('failed to disconnect from %s because: %s', address, err.message);
this._notifyEvent({

@@ -235,0 +235,0 @@ type: 'disconnecting-failed',

{
"name": "ssb-conn-hub",
"description": "Module that manages active connections to SSB peers",
"version": "1.1.0",
"version": "1.2.0",
"homepage": "https://github.com/staltz/ssb-conn-hub",

@@ -25,11 +25,13 @@ "main": "lib/index.js",

"@types/node": "12.x",
"secret-stack": "6.3.2",
"secret-stack": "6.4.0",
"ssb-caps": "~1.1.0",
"ssb-keys": "~8.1.0",
"tap-bail": "^1.0.0",
"tap-spec": "^5.0.0",
"tape": "^5.2.2",
"typescript": "4.2.x"
"typescript": "~4.2.4"
},
"scripts": {
"typescript": "tsc",
"tape": "set -e; for t in test/*.js; do node $t; done",
"tape": "tape test/*.js | tap-bail | tap-spec",
"test": "npm run typescript && npm run tape"

@@ -36,0 +38,0 @@ },

@@ -236,3 +236,3 @@ import {ConnectionData as Data, ListenEvent, Address} from './types';

this._peers.delete(address);
debug('failed to connect to %s', address);
debug('failed to connect to %s because: %s', address, err.message);
this._notifyEvent({

@@ -286,3 +286,3 @@ type: 'connecting-failed',

if (err) {
debug('failed to disconnect from %s', address);
debug('failed to disconnect from %s because: %s', address, err.message);
this._notifyEvent({

@@ -289,0 +289,0 @@ type: 'disconnecting-failed',

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