Comparing version 0.5.6 to 0.5.7
@@ -40,2 +40,7 @@ var net = require('net'); | ||
} | ||
else if (!stream) { | ||
self.emit('error', new Error( | ||
'No port specified and no stream provided.' | ||
)); | ||
} | ||
@@ -140,3 +145,5 @@ var conn = self.withStream(stream, params, params.block); | ||
else { | ||
throw new Error('Not sure how to fire up this listener'); | ||
self.emit('error', new Error( | ||
'Not sure how to fire up this listener' | ||
)); | ||
} | ||
@@ -143,0 +150,0 @@ |
{ | ||
"name" : "dnode", | ||
"version" : "0.5.6", | ||
"version" : "0.5.7", | ||
"description" : "Call remote methods and callbacks with a JSON-based protocol. RMI for network sockets and the browser too!", | ||
@@ -5,0 +5,0 @@ "main" : "./lib/dnode.js", |
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
103608
59
2291