Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

consistent-hashing

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

consistent-hashing - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

4

lib/consistent_hashing.js

@@ -96,5 +96,3 @@ var crypto = require('crypto');

ConsistentHashing.prototype.getRingLength = function() {
var i = 0;
for (var key in this.ring) { i++ }
return i;
return Object.keys(this.ring).length;
};

@@ -101,0 +99,0 @@

{
"name": "consistent-hashing",
"version": "0.2.2",
"version": "0.2.3",
"description": "A pure JavaScript implementation of Consistent Hashing",

@@ -5,0 +5,0 @@ "author": "Dai Akatsuka <d.akatsuka@gmail.com>",

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