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

flex-algo

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flex-algo - npm Package Compare versions

Comparing version 0.1.23 to 0.1.24

3

lib/dijkstra.d.ts

@@ -8,5 +8,6 @@ declare class Dijkstra {

create(times: number[][], numNodes: number): void;
adjacentList(): number[][][];
get adjacentList(): number[][][];
shortestPath(k: number): number;
get distances(): number[];
}
export { Dijkstra };

@@ -26,5 +26,9 @@ "use strict";

};
Dijkstra.prototype.adjacentList = function () {
return this._adjList;
};
Object.defineProperty(Dijkstra.prototype, "adjacentList", {
get: function () {
return this._adjList;
},
enumerable: false,
configurable: true
});
Dijkstra.prototype.shortestPath = function (k) {

@@ -52,4 +56,11 @@ var queue = new priorityQueue_1.PriorityQueue(this._comparator);

};
Object.defineProperty(Dijkstra.prototype, "distances", {
get: function () {
return this._distances;
},
enumerable: false,
configurable: true
});
return Dijkstra;
}());
exports.Dijkstra = Dijkstra;
{
"name": "flex-algo",
"version": "0.1.23",
"version": "0.1.24",
"description": "\"SDK for commonly used data structure and algorithms\"",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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