Comparing version 0.1.1 to 0.1.2
@@ -16,3 +16,3 @@ var async = require('async'); | ||
moveQueue.drain = moveQueueDone; | ||
nodes.forEach(moveQueue.push.bind(moveQueue)); | ||
moveQueue.push(nodes); | ||
function moveQueueTask(node, callback) { | ||
@@ -29,3 +29,3 @@ moves(depth, node, function(err, newNodes) { | ||
visited[newNode] = {from: node}; | ||
goalQueue.push(newNode); | ||
goalQueue.push([newNode]); | ||
}); | ||
@@ -32,0 +32,0 @@ if (!goalQueue.length()) return callback(); |
{ | ||
"name": "async-bfs", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Flexible functional async breadth first search", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
4732