Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

peer-exchange

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

peer-exchange - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

.nyc_output/98972.json

4

lib/transports.js

@@ -55,3 +55,3 @@ 'use strict';

if (!opts.port) {
throw new Error('Must specify "port" option');
return cb(new Error('Must specify "port" option'));
}

@@ -87,3 +87,3 @@ var httpsOpts;

if (!opts.port) {
throw new Error('Must specify "port" option');
return cb(new Error('Must specify "port" option'));
}

@@ -90,0 +90,0 @@ var server = net.createServer(onConnection);

{
"name": "peer-exchange",
"version": "0.5.1",
"version": "0.5.2",
"description": "Decentralized peer discovery and signaling",
"main": "index.js",
"scripts": {
"test": "standard src test index.js && tap -Rspec --cov test/*.js",
"test": "standard src test index.js && nyc tape test/*.js | faucet && nyc report",
"test-browser": "npm run build && ./test/browser.sh && npm run source",
"build": "rm -rf lib && babel --presets es2015 src -d lib",

@@ -38,5 +39,9 @@ "source": "rm -rf lib && ln -s src lib",

"babel-preset-es2015": "^6.5.0",
"electron-webrtc": "0.0.3",
"standard": "^6.0.7",
"tap": "^5.7.0"
"electron-webrtc": "^0.2.4",
"faucet": "0.0.1",
"nyc": "^6.4.4",
"standard": "^7.1.0",
"tape": "^4.5.1",
"zuul": "^3.10.1",
"zuul-ngrok": "^4.0.0"
},

@@ -43,0 +48,0 @@ "directories": {

@@ -1,2 +0,2 @@

var test = require('tap').test
var test = require('tape')
var wrtc = require('electron-webrtc')()

@@ -3,0 +3,0 @@ var Exchange = require('../lib/exchange.js')

Sorry, the diff of this file is not supported yet

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