New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

zookeeper

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zookeeper - npm Package Compare versions

Comparing version

to
5.4.0

examples/in_node_worker_thread.js

3

CHANGELOG.md

@@ -0,1 +1,4 @@

#### v 5.4.0 (2022-04-18)
* feat: starting the zookeeper client in a Node.js Worker thread Pull request [310](https://github.com/yfinkelstein/node-zookeeper/pull/310) by @deepcoldy
#### v 5.3.2 (2022-02-16)

@@ -2,0 +5,0 @@ * fix: handle normalize path with slashes in all platforms. Pull request [305](https://github.com/yfinkelstein/node-zookeeper/pull/305) by @hufeng

4

examples/exists.js

@@ -7,3 +7,3 @@ const { constants } = require('./wrapper');

async function verifyResultCodeCheckInAsyncCall(client) {
const tempNode = '/my-temporary-node-to-verify-async-call';
const tempNode = `/my-temporary-node-to-verify-async-call-${Date.now()}`;
const data = 'HELLOWORLD';

@@ -23,3 +23,3 @@ const version = 0;

async function verifyNonExisting(client) {
const tempNode = '/my-temporary-node';
const tempNode = `/my-temporary-node-${Date.now()}`;

@@ -26,0 +26,0 @@ const doesExist = await client.w_pathExists(tempNode, (data) => logger.log(`Node created with data: ${data}`));

@@ -47,2 +47,4 @@ const { getClient, constants } = require('./wrapper');

init().catch(logger.error);
if (require.main === module) {
init().catch(logger.error);
}
{
"name": "zookeeper",
"description": "apache zookeeper client (zookeeper async API v3.4.x - v3.7.x)",
"version": "5.3.2",
"version": "5.4.0",
"author": "Yuri Finkelstein <yurif2003@yahoo.com>",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -22,2 +22,4 @@ # node-zookeeper

#### News
:rocket: __New since version 5.4.0__ It is possible to start the zookeeper client in a Node.js Worker thread.
:rocket: __New since version 5.1.0__ Support for `SSL`, that was introduced in Apache ZooKeeper C Client v3.6.0.

@@ -24,0 +26,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet