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

fash

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fash - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

bin/fash.js

16

lib/consistent_hash.js

@@ -255,15 +255,15 @@ /**

if (vnodes) {
vnodes.forEach(function(vnode) {
if (!vnode <= self.vnodes) {
throw new Error('vnode ' + vnode +
vnodes.forEach(function(v) {
if (!v <= self.vnodes) {
throw new Error('vnode ' + v +
' does not exist in the ring');
}
if (vnodeMap[vnode]) {
throw new Error('vnode ' + vnode + ' specified more than once');
if (vnodeMap[v]) {
throw new Error('vnode ' + v + ' specified more than once');
}
vnodeMap[vnode] = true;
vnodeMap[v] = true;
// check that the vnode doesn't already belong to the newPnode.
if (self.vnodeToPnodeMap_[vnode].pnode === newPnode) {
throw new Error('vnode ' + vnode + ' already belongs to pnode');
if (self.vnodeToPnodeMap_[v].pnode === newPnode) {
throw new Error('vnode ' + v + ' already belongs to pnode');
}

@@ -270,0 +270,0 @@ });

@@ -18,3 +18,3 @@ {

],
"version": "1.1.3",
"version": "1.1.4",
"repository": {

@@ -34,3 +34,5 @@ "type": "git",

"bignum": "0.6.0",
"bunyan": "*"
"bunyan": "*",
"cmdln": "1.1.1",
"dashdash": "1.2.1"
},

@@ -37,0 +39,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

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