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.8.3 to 0.8.4

7

lib/middleware.js

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

var HEARTBEAT = 5000;
//Adds a timeout on a channel - if a response isn't received within a certain

@@ -38,2 +36,7 @@ //amount of time, we execute the callback with a timeout error.

channel.register(function(event, next) {
clearTimeout(runner);
next();
});
//Clear the timeout when the channel is closed

@@ -40,0 +43,0 @@ channel.on("closing", function() {

{
"name": "zerorpc",
"version": "0.8.3",
"version": "0.8.4",
"main": "./index.js",

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

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

var rpcClient = new zerorpc.Client();
var rpcClient = new zerorpc.Client({ timeout: 5 });
rpcClient.connect("tcp://localhost:4242");

@@ -99,0 +99,0 @@

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