peer-exchange
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
91639
14
924
9