Socket
Socket
Sign inDemoInstall

sockjs

Package Overview
Dependencies
68
Maintainers
4
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.7 to 0.3.8

5

lib/chunking-test.js

@@ -61,2 +61,7 @@ (function() {

};
if (typeof this.options.base_url === 'function') {
info.base_url = this.options.base_url();
} else if (this.options.base_url) {
info.base_url = this.options.base_url;
}
res.setHeader('Content-Type', 'application/json; charset=UTF-8');

@@ -63,0 +68,0 @@ res.writeHead(200);

1

lib/transport.js

@@ -250,2 +250,3 @@ (function() {

Session.bySessionId = function(session_id) {
if (!session_id) return null;
return MAP[session_id] || null;

@@ -252,0 +253,0 @@ };

4

package.json
{
"name" : "sockjs",
"author" : "Marek Majkowski",
"version" : "0.3.7",
"version" : "0.3.8",
"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.",

@@ -13,3 +13,3 @@ "keywords" : ["websockets", "websocket"],

"node-uuid" : "1.3.3",
"faye-websocket" : "0.4.4"
"faye-websocket" : "0.7.0"
},

@@ -16,0 +16,0 @@ "devDependencies": {

@@ -49,3 +49,3 @@ SockJS family:

An simplified echo SockJS server could look more or less like:
A simplified echo SockJS server could look more or less like:

@@ -334,3 +334,3 @@ ```javascript

There are two issues that needs to be considered when planning a
There are two issues that need to be considered when planning a
non-trivial SockJS-node deployment: WebSocket-compatible load balancer

@@ -337,0 +337,0 @@ and sticky sessions (aka session affinity).

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