Comparing version 2.2.1 to 2.3.0
@@ -58,4 +58,6 @@ function Node (list, val) { | ||
FIFO.prototype.bump = function (node) { | ||
if (node.list !== this) return false | ||
this.remove(node) | ||
this.add(node) | ||
return true | ||
} | ||
@@ -62,0 +64,0 @@ |
{ | ||
"name": "fifo", | ||
"version": "2.2.1", | ||
"version": "2.3.0", | ||
"description": "FIFO queue implemented using a double linked-list", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
8177
172