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

topological-sort

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

topological-sort - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

4

index.js

@@ -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/"

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