Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@silenteer/natsu-port-server

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@silenteer/natsu-port-server - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

4

dist/index.js

@@ -61,3 +61,3 @@ "use strict";

}))
.get(configuration_1.default.wsPath, { websocket: true }, (connection, request) => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
.get(configuration_1.default.wsPath, { websocket: true }, (connection, request) => {
const connectionId = (0, crypto_1.randomUUID)();

@@ -118,3 +118,3 @@ connection.socket.on('close', () => {

}));
}))
})
.listen(configuration_1.default.port, '0.0.0.0', (error, address) => {

@@ -121,0 +121,0 @@ if (error) {

@@ -140,7 +140,7 @@ "use strict";

unsubscribeAllSubjects: (connectionId) => {
for (const [subject, { connections }] of Object.entries(subscriptions)) {
Object.entries(subscriptions).forEach(([subject, { connections }]) => {
if (connections.some((item) => item.connectionId === connectionId)) {
unsubscriptionQueue.add({ connectionId, subject });
}
}
});
},

@@ -147,0 +147,0 @@ encodeBody,

{
"name": "@silenteer/natsu-port-server",
"version": "0.0.12",
"version": "0.0.13",
"license": "MIT",

@@ -5,0 +5,0 @@ "private": false,

Sorry, the diff of this file is not supported yet

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