Comparing version
@@ -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 |
@@ -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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
2828326
0.61%80
1.27%3040
0.16%332
0.61%6
-25%