sockjs
Advanced tools
Comparing version 0.3.10 to 0.3.11
@@ -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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
102876
1813
5
+ Addedfaye-websocket@0.8.1(transitive)
- Removedfaye-websocket@0.7.3(transitive)