Socket
Socket
Sign inDemoInstall

dnode

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dnode - npm Package Compare versions

Comparing version 0.9.3 to 0.9.4

8

lib/stream_socketio.js

@@ -56,3 +56,11 @@ var EventEmitter = require('events').EventEmitter;

var sock = io.listen(webserver, ioOptions);
sock.set('logger', {
error : function () {},
warn : function () {},
info : function () {},
debug : function () {}
});
var server = new EventEmitter;
server.socket = sock;

@@ -59,0 +67,0 @@ if (mount && webserver.use) {

2

package.json
{
"name" : "dnode",
"version" : "0.9.3",
"version" : "0.9.4",
"description" : "freestyle RPC",

@@ -5,0 +5,0 @@ "main" : "./index.js",

var test = require('testling');
var host = process.argv[2];
var port = process.argv[3];
var port = parseInt(process.argv[3], 10);
test('cats and dogs', function (t) {
t.log([ host, port ]);
t.log(typeof DNode);
t.end();
/*
DNode.connect(host, port, function (remote) {
t.log('connected');
t.end();
/*
remote.cat(function (theCatSays, dog) {

@@ -19,4 +19,4 @@ t.equal(theCatSays, 'meow');

});
*/
});
*/
});
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