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 1.0.0 to 1.1.0

7

CHANGELOG.md

@@ -5,2 +5,6 @@ # Changelog

## [1.1.0][] - 2021-01-08
- Use metautil instead of metarhia/common
## [1.0.0][] - 2020-12-21

@@ -22,4 +26,5 @@

[unreleased]: https://github.com/metarhia/metacom/compare/v1.0.0...HEAD
[unreleased]: https://github.com/metarhia/metacom/compare/v1.1.0...HEAD
[1.1.0]: https://github.com/metarhia/metacom/compare/v1.0.0...v1.1.0
[1.0.0]: https://github.com/metarhia/metacom/compare/v0.0.0...v1.0.0
[0.0.0]: https://github.com/metarhia/metacom/releases/tag/v0.0.0

6

lib/server.js

@@ -7,3 +7,3 @@ 'use strict';

const common = require('@metarhia/common');
const metautil = require('metautil');
const ws = require('ws');

@@ -79,4 +79,4 @@

if (this.balancer) {
const host = common.parseHost(req.headers.host);
const port = common.sample(this.config.ports);
const host = metautil.parseHost(req.headers.host);
const port = metautil.sample(this.config.ports);
const { protocol } = this.config;

@@ -83,0 +83,0 @@ channel.redirect(`${protocol}://${host}:${port}/`);

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

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

"dependencies": {
"@metarhia/common": "^2.2.0",
"ws": "^7.4.1"
"metautil": "^3.0.0",
"ws": "^7.4.2"
},
"devDependencies": {
"eslint": "^7.15.0",
"eslint": "^7.17.0",
"eslint-config-metarhia": "^7.0.1",
"eslint-config-prettier": "^7.0.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.0",
"eslint-plugin-prettier": "^3.3.1",
"metatests": "^0.7.2",

@@ -64,0 +64,0 @@ "prettier": "^2.2.1"

# Metacom Communication Protocol for Metarhia
[![CI Status](https://github.com/metarhia/metacom/workflows/Testing%20CI/badge.svg)](https://github.com/metarhia/metacom/actions?query=workflow%3A%22Testing+CI%22+branch%3Amaster)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/80885bfdb4bd411da51f31a7593c1f65)](https://www.codacy.com/app/metarhia/metacom)
[![NPM Version](https://badge.fury.io/js/metacom.svg)](https://badge.fury.io/js/metacom)
[![NPM Downloads/Month](https://img.shields.io/npm/dm/metacom.svg)](https://www.npmjs.com/package/metacom)
[![NPM Downloads](https://img.shields.io/npm/dt/metacom.svg)](https://www.npmjs.com/package/metacom)
[![ci status](https://github.com/metarhia/metacom/workflows/Testing%20CI/badge.svg)](https://github.com/metarhia/metacom/actions?query=workflow%3A%22Testing+CI%22+branch%3Amaster)
[![codacy](https://api.codacy.com/project/badge/Grade/80885bfdb4bd411da51f31a7593c1f65)](https://www.codacy.com/app/metarhia/metacom)
[![snyk](https://snyk.io/test/github/metarhia/metacom/badge.svg)](https://snyk.io/test/github/metarhia/metacom)
[![npm version](https://badge.fury.io/js/metacom.svg)](https://badge.fury.io/js/metacom)
[![npm downloads/month](https://img.shields.io/npm/dm/metacom.svg)](https://www.npmjs.com/package/metacom)
[![npm downloads](https://img.shields.io/npm/dt/metacom.svg)](https://www.npmjs.com/package/metacom)

@@ -9,0 +10,0 @@ Metacom protocol specification:

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