Comparing version 6.2.0 to 6.2.1
@@ -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 |
@@ -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) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3223836
82
3062