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

metacom

Package Overview
Dependencies
Maintainers
0
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.2.3 to 3.2.4

8

CHANGELOG.md

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

## [3.2.4][] - 2024-09-01
- Update eslint to 9.x and prettier with configs
- Add node.js 22 to CI
## [3.2.3][] - 2024-04-27

@@ -282,3 +287,4 @@

[unreleased]: https://github.com/metarhia/metacom/compare/v3.2.3...HEAD
[unreleased]: https://github.com/metarhia/metacom/compare/v3.2.4...HEAD
[3.2.4]: https://github.com/metarhia/metacom/compare/v3.2.3...v3.2.4
[3.2.3]: https://github.com/metarhia/metacom/compare/v3.2.2...v3.2.3

@@ -285,0 +291,0 @@ [3.2.2]: https://github.com/metarhia/metacom/compare/v3.2.1...v3.2.2

7

lib/server.js

@@ -18,8 +18,9 @@ 'use strict';

get: (data, key) => {
return Reflect.get(data, key);
const value = Reflect.get(data, key);
return value;
},
set: (data, key, value) => {
const res = Reflect.set(data, key, value);
const success = Reflect.set(data, key, value);
if (save) save(data);
return res;
return success;
},

@@ -26,0 +27,0 @@ });

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

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

"scripts": {
"test": "npm run lint && npm run types && metatests test/",
"test": "npm run -s lint && npm run types && metatests test/",
"types": "tsc -p tsconfig.json",
"lint": "eslint . && prettier -c \"**/*.js\" \"**/*.json\" \"**/*.md\" \"**/*.yml\" \"**/*.ts\"",
"fmt": "prettier --write \"**/*.js\" \"**/*.json\" \"**/*.md\" \"**/*.yml\" \"**/*.ts\""
"lint": "eslint . && prettier -c \"**/*.js\" \"**/*.json\" \"**/*.md\"",
"fix": "eslint . --fix && prettier --write \"**/*.js\" \"**/*.json\" \"**/*.md\""
},
"engines": {
"node": "18 || 20 || 21"
"node": "18 || 20 || 21 || 22"
},
"dependencies": {
"metautil": "5.2.2",
"ws": "^8.16.0"
"metautil": "5.2.3",
"ws": "^8.18.0"
},
"devDependencies": {
"@types/node": "^20.11.17",
"@types/ws": "^8.5.10",
"eslint": "^8.56.0",
"eslint-config-metarhia": "^8.2.2",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"metatests": "^0.8.2",
"prettier": "^3.2.5",
"typescript": "^5.3.3"
"@types/node": "^22.5.2",
"@types/ws": "^8.5.12",
"eslint": "^9.9.1",
"eslint-config-metarhia": "^9.0.5",
"metatests": "^0.9.0",
"prettier": "^3.3.3",
"typescript": "^5.5.4"
}
}
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