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.0.0-alpha.9 to 3.0.0-alpha.10

4

dist/metacom.js
import EventEmitter from './events.js';
import { Chunk, MetaReadable, MetaWritable } from './streams.js';
import { chunkDecode, MetaReadable, MetaWritable } from './streams.js';

@@ -142,3 +142,3 @@ const CALL_TIMEOUT = 7 * 1000;

const byteView = new Uint8Array(buffer);
const { id, payload } = Chunk.decode(byteView);
const { id, payload } = chunkDecode(byteView);
const stream = this.streams.get(id);

@@ -145,0 +145,0 @@ if (stream) await stream.push(payload);

{
"name": "metacom",
"version": "3.0.0-alpha.9",
"version": "3.0.0-alpha.10",
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>",

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

},
"files": ["dist/", "lib/", "metacom.d.ts"],
"files": [
"dist/",
"lib/",
"metacom.d.ts"
],
"readmeFilename": "README.md",

@@ -50,20 +54,20 @@ "scripts": {

"engines": {
"node": "^14.18 || 16 || 18 || 19 || 20"
"node": "16 || 18 || 19 || 20"
},
"dependencies": {
"metautil": "^3.7.1",
"metautil": "^3.7.2",
"ws": "^8.13.0"
},
"devDependencies": {
"@types/node": "^18.15.2",
"@types/node": "^18.16.3",
"@types/ws": "^8.5.4",
"eslint": "^8.36.0",
"eslint": "^8.39.0",
"eslint-config-metarhia": "^8.1.0",
"eslint-config-prettier": "^8.7.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.0.0",
"metatests": "^0.8.2",
"prettier": "^2.8.4",
"prettier": "^2.8.8",
"typescript": "^4.9.5"
}
}
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