Socket
Socket
Sign inDemoInstall

sockjs

Package Overview
Dependencies
99
Maintainers
5
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.10 to 0.3.11

17

lib/transport.js

@@ -181,2 +181,4 @@ // Generated by CoffeeScript 1.8.0

Session.prototype.unregister = function() {
var delay;
delay = this.recv.delay_disconnect;
this.recv.session = null;

@@ -187,3 +189,7 @@ this.recv = null;

}
return this.to_tref = setTimeout(this.timeout_cb, this.disconnect_delay);
if (delay) {
return this.to_tref = setTimeout(this.timeout_cb, this.disconnect_delay);
} else {
return this.timeout_cb();
}
};

@@ -333,8 +339,3 @@

GenericReceiver.prototype.didAbort = function() {
var session;
session = this.session;
this.didClose();
if (session) {
return session.didTimeout();
}
return this.didClose();
};

@@ -375,2 +376,4 @@

ResponseReceiver.prototype.delay_disconnect = true;
function ResponseReceiver(request, response, options) {

@@ -377,0 +380,0 @@ var x;

{
"name": "sockjs",
"description": "SockJS-node is a server counterpart of SockJS-client a JavaScript library that provides a WebSocket-like object in the browser. SockJS gives you a coherent, cross-browser, Javascript API which creates a low latency, full duplex, cross-domain communication channel between the browser and the web server.",
"version": "0.3.10",
"version": "0.3.11",
"author": "Marek Majkowski",

@@ -20,3 +20,3 @@ "bugs": {

"dependencies": {
"faye-websocket": "^0.7.3",
"faye-websocket": "^0.7.3 || ^0.8.0",
"node-uuid": "^1.4.1"

@@ -38,2 +38,2 @@ },

}
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc