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.1 to 3.1.2

8

lib/server.js

@@ -269,6 +269,6 @@ 'use strict';

} catch (error) {
if (error.message === 'Timeout reached') {
error.code = error.httpCode = 408;
}
return void client.error(error.code, { id, error });
let code = error.code === 'ETIMEOUT' ? 408 : 500;
if (typeof error.code === 'number') code = error.code;
error.httpCode = code;
return void client.error(code, { id, error });
} finally {

@@ -275,0 +275,0 @@ proc.leave();

{
"name": "metacom",
"version": "3.1.1",
"version": "3.1.2",
"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.14.0",
"metautil": "^3.15.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