dnode-protocol
Advanced tools
Comparing version 0.0.4 to 0.0.5
var Traverse = require('traverse'); | ||
var EventEmitter = require('events').EventEmitter; | ||
var net = process.title === 'browser' ? {} : require('net'); | ||
@@ -245,3 +246,3 @@ var exports = module.exports = function (wrapper) { | ||
} | ||
else if (arg instanceof net.Stream) { | ||
else if (net.Stream && arg instanceof net.Stream) { | ||
params.stream = arg; | ||
@@ -248,0 +249,0 @@ } |
{ | ||
"name": "dnode-protocol", | ||
"description": "Implements the dnode protocol abstractly", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"repository": "https://github.com/substack/dnode-protocol.git", | ||
@@ -6,0 +6,0 @@ "author": { |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
15704
490
1