Socket
Socket
Sign inDemoInstall

rpc-websockets

Package Overview
Dependencies
Maintainers
1
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rpc-websockets - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

3

dist/lib/client.js

@@ -344,4 +344,5 @@ /**

this.socket.on("close", function (code, message) {
if (_this4.ready) _this4.emit("close", code, message);
_this4.ready = false;
_this4.emit("close", code, message);

@@ -348,0 +349,0 @@ if (code === 1000) return;

@@ -120,3 +120,3 @@ /**

// cleanup after the socket get disconnected
// cleanup after the socket gets disconnected
socket.on("close", function () {

@@ -123,0 +123,0 @@ _this.clients.delete(socket._id);

{
"name": "rpc-websockets",
"version": "2.0.3",
"version": "2.0.4",
"description": "JSON-RPC 2.0 implementation over WebSockets for Node.js",

@@ -20,3 +20,3 @@ "main": "./dist/index.js",

"babel-runtime": "^6.11.6",
"uuid": "^2.0.3",
"uuid": "^3.0.0",
"ws": "^1.1.1"

@@ -23,0 +23,0 @@ },

Sorry, the diff of this file is not supported yet

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