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

zerorpc

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zerorpc - npm Package Compare versions

Comparing version 0.6.1 to 0.7.0

3

lib/channel.js

@@ -84,4 +84,2 @@ // Open Source Initiative OSI - The MIT License (MIT):Licensing

//console.log("RECV", event);
if(event.name == "_zpc_more") {

@@ -167,3 +165,2 @@ //Update buffer data

} else {
//console.log("QUEUE", event);
this._outBuffer.add(event);

@@ -170,0 +167,0 @@ }

9

lib/server.js

@@ -74,7 +74,10 @@ // Open Source Initiative OSI - The MIT License (MIT):Licensing

var args = getArguments(context[name]);
var argsObjs = [];
//Remove callback argument
args.pop();
//Ignore the last arg because it is the callback
for(var i=0; i<args.length-1; i++) {
argsObjs.push({ name: args[i] });
}
results[name] = { doc: "", args: args };
results[name] = { doc: "", args: argsObjs };
}

@@ -81,0 +84,0 @@

{
"name": "zerorpc",
"version": "0.6.1",
"version": "0.7.0",
"main": "./index.js",

@@ -5,0 +5,0 @@ "author": "dotCloud <opensource@dotcloud.com>",

@@ -224,3 +224,3 @@ // Open Source Initiative OSI - The MIT License (MIT):Licensing

exports.testIntrospector = function(test) {
test.expect(14);
test.expect(15);

@@ -236,4 +236,5 @@ rpcClient.invoke("_zpc_inspect", function(error, res, more) {

test.deepEqual(res.iter.args, ["from", "to", "step"]);
test.deepEqual(res.objectError.args, []);
test.deepEqual(res.add42.args.length, 1);
test.deepEqual(res.add42.args[0].name, "n");
test.equal(more, false);

@@ -240,0 +241,0 @@ test.done();

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