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

cluster-client

Package Overview
Dependencies
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cluster-client - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

5

History.md
1.2.0 / 2017-02-20
==================
* feat: use serialize-json to support encode/decode buffer, date, undef… (#10)
1.1.0 / 2017-02-07

@@ -3,0 +8,0 @@ ==================

9

lib/default_transcode.js
'use strict';
exports.encode = function encode(obj) {
return new Buffer(JSON.stringify(obj));
};
const S_JSON = require('serialize-json');
exports.decode = function decode(buf) {
return JSON.parse(buf);
};
exports.encode = S_JSON.encode;
exports.decode = S_JSON.decode;
{
"name": "cluster-client",
"version": "1.1.0",
"version": "1.2.0",
"description": "Sharing Connection among Multi-Process Nodejs",

@@ -38,2 +38,3 @@ "main": "./lib/index.js",

"sdk-base": "^2.0.1",
"serialize-json": "^1.0.1",
"tcp-base": "^1.1.0",

@@ -40,0 +41,0 @@ "utility": "^1.9.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