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

metacom

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metacom - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

7

lib/server.js

@@ -180,3 +180,4 @@ 'use strict';

const transport = new HttpTransport(this, req, res);
if (!req.url.startsWith('/api')) {
const api = req.url.startsWith('/api');
if (!api && !(balancer && req.url === '/')) {
if (application.static.constructor.name !== 'Static') return;

@@ -199,2 +200,3 @@ return void application.static.serve(req.url, transport);

if (balancer) return;
this.wsServer = new ws.Server({ server: this.httpServer });

@@ -223,3 +225,4 @@

this.wsServer.on('error', (err) => {
const server = this.wsServer || this.httpServer;
server.on('error', (err) => {
if (err.code !== 'EADDRINUSE') return;

@@ -226,0 +229,0 @@ this.retry--;

{
"name": "metacom",
"version": "3.1.0",
"version": "3.1.1",
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>",

@@ -56,3 +56,3 @@ "description": "Communication protocol for Metarhia stack with rpc, events, binary streams, memory and db access",

"dependencies": {
"metautil": "^3.13.0",
"metautil": "^3.14.0",
"ws": "^8.14.0"

@@ -59,0 +59,0 @@ },

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