topological-sort
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -44,3 +44,3 @@ 'use strict'; | ||
for (let i = this._sortedKeysStack.length - 1; i >= 0; i--) { | ||
output.set(this._sortedKeysStack[i], this._nodes.get(this._sortedKeysStack[i])); | ||
output.set(this._sortedKeysStack[i], this._nodes.get(this._sortedKeysStack[i]).node); | ||
} | ||
@@ -79,4 +79,2 @@ | ||
// TODO: check circular dependencies | ||
this._nodes.set(key, { | ||
@@ -83,0 +81,0 @@ node, |
{ | ||
"name": "topological-sort", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Topological sort implemented in Javascript", | ||
"main": "index.js", | ||
"repositories": [ | ||
{ | ||
"type": "git", | ||
"url": "https://github.com/1999/topological-sort.git" | ||
} | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/1999/topological-sort.git" | ||
}, | ||
"scripts": { | ||
@@ -13,0 +11,0 @@ "test": "mocha test/" |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
0
5805
70