Comparing version 1.2.2 to 1.2.3
@@ -436,2 +436,14 @@ /** | ||
/** | ||
* Gets the vnode map. | ||
* | ||
* @returns {Object} vnodeToPnodeMap Map of {vnode -> {pnode, data}. Contains | ||
* the pnode and an optional data object. If you want the actual pnode, you'll | ||
* need to dereference as self.vnodeToPnodeMap_[vnode].pnode -- otherwise | ||
* you'll get the object. | ||
*/ | ||
ConsistentHash.prototype.getAllVnodes = function getAllVnodes() { | ||
return this.vnodeToPnodeMap_; | ||
}; | ||
/** | ||
* Serialize the current state of the ring in serialized to a JSON string. | ||
@@ -438,0 +450,0 @@ * |
@@ -18,3 +18,3 @@ { | ||
], | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"repository": { | ||
@@ -21,0 +21,0 @@ "type": "git", |
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
4089798
1352