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

a-star

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a-star - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

6

index.js
var assert = require('assert')
, StringSet = require('Set')
, Heap = require('heap')
// once https://github.com/domenic/dict/pull/7
// is pulled we can use that instead of this fork
, dict = require('dict_')
, dict = require('dict')

@@ -33,3 +31,3 @@ module.exports = aStar;

var startTime = new Date();
while (openDataMap.size) {
while (openHeap.size()) {
if (new Date() - startTime > params.timeout) break;

@@ -36,0 +34,0 @@ var node = openHeap.pop();

{
"name": "a-star",
"version": "0.0.1",
"version": "0.0.2",
"description": "Generic A* algorithm",

@@ -15,4 +15,4 @@ "main": "index.js",

"heap": "~0.2.1",
"dict_": "~1.1.1"
"dict": "~1.1.0"
}
}
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