Socket
Socket
Sign inDemoInstall

sails

Package Overview
Dependencies
162
Maintainers
4
Versions
232
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.8 to 1.5.9

30

lib/hooks/pubsub/index.js

@@ -277,11 +277,10 @@ /**

_.each(ids,function (id) {
for (let id of ids) {
// Attempt to join the room for the specified instance.
if (sails.sockets.join( socket, self._room(id) )) {
sails.log.silly(
'Subscribed to the ' +
self.globalId + ' with id=' + id + '\t(room :: ' + self._room(id) + ')'
);
}
});
sails.sockets.join( socket, self._room(id) );
sails.log.silly(
'Subscribed to the ' +
self.globalId + ' with id=' + id + '\t(room :: ' + self._room(id) + ')'
);
}//∞
},

@@ -329,11 +328,10 @@

_.each(ids,function (id) {
for (let id of ids) {
// Attempt to leave the room for the specified instance.
if (sails.sockets.leave( socket, self._room(id))) {
sails.log.silly(
'Unsubscribed from the ' +
self.globalId + ' with id=' + id + '\t(room :: ' + self._room(id) + ')'
);
}
});
sails.sockets.leave( socket, self._room(id));
sails.log.silly(
'Unsubscribed from the ' +
self.globalId + ' with id=' + id + '\t(room :: ' + self._room(id) + ')'
);
}//∞
},

@@ -340,0 +338,0 @@

{
"name": "sails",
"author": "Mike McNeil <@mikermcneil>",
"version": "1.5.8",
"version": "1.5.9",
"description": "API-driven framework for building realtime apps, using MVC conventions (based on Express and Socket.io)",

@@ -84,4 +84,4 @@ "license": "MIT",

"root-require": "0.3.1",
"sails-hook-orm": "^3.0.0-0",
"sails-hook-sockets": "^1.0.0-0",
"sails-hook-orm": "^4.0.2",
"sails-hook-sockets": "^3.0.0",
"sails.io.js": "^1.0.0",

@@ -88,0 +88,0 @@ "session-file-store": "1.1.2",

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