Huge News!Announcing our $40M Series B led by Abstract Ventures.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 6.2.0 to 6.2.1

examples/acl.js

5

CHANGELOG.md

@@ -0,1 +1,6 @@

#### v 6.2.1 (2024-07-04)
* fix: ACL type, should be an array of objects. Also, fix typo in permissions key.
Pull request [346](https://github.com/yfinkelstein/node-zookeeper/pull/346) by @davidvujic
#### v 6.2.0 (2024-05-25)

@@ -2,0 +7,0 @@ * fix: build error in Node.js 22 caused by removed V8 AccessControl property

10

lib/typedeclarations.d.ts

@@ -627,6 +627,6 @@ /// <reference types="node" />

/**
* ACL
* ACL object
*/
type acl = {
perms: number;
type aclObject = {
perm: number;
scheme: string;

@@ -636,2 +636,6 @@ auth: string;

/**
* ACL
*/
type acl = Array<aclObject>;
/**
* stat

@@ -638,0 +642,0 @@ */

/**
* ACL
* @typedef {Object} acl
* @property {number} perms
* ACL object
* @typedef {Object} aclObject
* @property {number} perm
* @property {string} scheme

@@ -10,2 +10,7 @@ * @property {string} auth

/**
* ACL
* @typedef {Array.<aclObject>} acl
*/
/**
* stat

@@ -12,0 +17,0 @@ * @typedef {Object} stat

{
"name": "zookeeper",
"description": "apache zookeeper client (zookeeper async API v3.5.x - v3.8.x)",
"version": "6.2.0",
"version": "6.2.1",
"author": "Yuri Finkelstein <yurif2003@yahoo.com>",

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

@@ -220,3 +220,3 @@ # node-zookeeper

* acl is an array of acls objects, single acl object has following key
* int perms // permisions
* int perm // permisions
* string scheme // authorisation scheme (digest, auth)

@@ -223,0 +223,0 @@ * string auth // authorisation credentials (username:hashed_password)

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