toposort-class
Advanced tools
Comparing version 0.3.1 to 1.0.0
{ | ||
"name": "toposort-class", | ||
"version": "0.3.1", | ||
"description": "Topological sort of directed acyclic graphs (like dependecy lists)", | ||
"main": "./toposort.js", | ||
"devDependencies": { | ||
"requirejs": "~2.1.10", | ||
"chai": "~1.8.1", | ||
"grunt": "~0.4.2", | ||
"grunt-jscs-checker": "~0.4.1", | ||
"grunt-contrib-jshint": "~0.8.0", | ||
"grunt-mocha-test": "~0.8.2", | ||
"grunt-mocha": "~0.4.9" | ||
}, | ||
"scripts": { | ||
"test": "grunt" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/gustavohenke/toposort.git" | ||
}, | ||
"keywords": [ | ||
"topological", | ||
"sort", | ||
"sorting", | ||
"graphs", | ||
"graph", | ||
"dependency", | ||
"list", | ||
"dependencies", | ||
"acyclic", | ||
"browser" | ||
], | ||
"author": ["Marcel Klehr <mklehr@gmx.net>", "Gustavo Henke <gustavo@injoin.com.br>"], | ||
"license": "MIT", | ||
"readmeFilename": "README.md" | ||
} | ||
"name": "toposort-class", | ||
"version": "1.0.0", | ||
"description": "Topological sort of directed acyclic graphs (like dependecy lists)", | ||
"main": "./index.js", | ||
"devDependencies": { | ||
"babel-eslint": "^4.0.5", | ||
"eslint": "^0.24.1", | ||
"grunt": "^0.4.5", | ||
"grunt-babel": "^5.0.1", | ||
"grunt-banner": "^0.4.0", | ||
"grunt-contrib-clean": "^0.6.0", | ||
"grunt-contrib-uglify": "^0.9.1", | ||
"matcha": "^0.6.0", | ||
"mocha": "^2.2.5" | ||
}, | ||
"scripts": { | ||
"test": "mocha -b test", | ||
"eslint": "eslint src/toposort.js test/spec.js Gruntfile.js", | ||
"benchmark": "matcha benchmark/general.js", | ||
"benchmark-save": "matcha -R csv benchmark/general.js > benchmark/results.csv" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/gustavohenke/toposort.git" | ||
}, | ||
"keywords": [ | ||
"topological", | ||
"sort", | ||
"sorting", | ||
"graphs", | ||
"graph", | ||
"dependency", | ||
"list", | ||
"dependencies", | ||
"acyclic", | ||
"browser" | ||
], | ||
"author": [ | ||
"Marcel Klehr <mklehr@gmx.net>", | ||
"Gustavo Henke <gustavo@injoin.com.br>", | ||
"Aaron Trent <novacrazy@gmail.com>" | ||
], | ||
"license": "MIT", | ||
"readmeFilename": "README.md" | ||
} |
@@ -1,2 +0,6 @@ | ||
# Toposort [![Build Status](https://travis-ci.org/gustavohenke/toposort.png?branch=master)](https://travis-ci.org/gustavohenke/toposort) [![Dependency Status](https://gemnasium.com/gustavohenke/toposort.png)](https://gemnasium.com/gustavohenke/toposort) | ||
# Toposort | ||
[![Build Status](http://img.shields.io/travis/gustavohenke/toposort.svg?branch=master&style=flat)](https://travis-ci.org/gustavohenke/toposort) | ||
[![devDependency Status](https://img.shields.io/david/gustavohenke/toposort.svg?style=flat)](https://david-dm.org/gustavohenke/toposort#info=devDependencies) | ||
[![CodeClimate](https://img.shields.io/codeclimate/github/gustavohenke/toposort.svg?style=flat)](https://codeclimate.com/github/gustavohenke/toposort) | ||
__Sorting directed acyclic graphs, for Node.js and the browser__ | ||
@@ -11,3 +15,3 @@ _This was originally done by Marcel Klehr. [Why not checkout his original repo?](https://github.com/marcelklehr/toposort)_ | ||
* Via Git: `git clone git://github.com/gustavohenke/toposort.git` | ||
* [Direct download](https://raw.github.com/gustavohenke/toposort/master/toposort.js) for use in the browser | ||
* [Direct download](https://raw.githubusercontent.com/gustavohenke/toposort/master/build/toposort.js) ([Minified](https://raw.githubusercontent.com/gustavohenke/toposort/master/build/toposort.min.js)) for use in the browser | ||
@@ -68,3 +72,12 @@ ## Example | ||
### .clear() | ||
__Returns:__ _{Toposort}_ The Toposort instance, for chaining. | ||
Clears all edges, effectively resetting the instance. | ||
### .Toposort | ||
Reference to the Toposort constructor. | ||
## Legal | ||
MIT License |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
24867
14
360
0
82
9
1