permutation-rank
Advanced tools
Comparing version 0.1.1 to 1.0.0
{ | ||
"name": "permutation-rank", | ||
"version": "0.1.1", | ||
"version": "1.0.0", | ||
"description": "Ranks and unranks permutations", | ||
@@ -10,10 +10,10 @@ "main": "index.js", | ||
"dependencies": { | ||
"invert-permutation": "~0.1.0", | ||
"typedarray-pool": "~0.1.1" | ||
"invert-permutation": "^1.0.0", | ||
"typedarray-pool": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"tap": "~0.4.0" | ||
"tape": "^2.12.3" | ||
}, | ||
"scripts": { | ||
"test": "tap test/*.js" | ||
"test": "tape test/*.js" | ||
}, | ||
@@ -20,0 +20,0 @@ "repository": { |
@@ -28,3 +28,3 @@ permutation-rank | ||
`require("permutation-rank").rank(permutation)` | ||
`prank.rank(permutation)` | ||
----------------------------------------------- | ||
@@ -38,3 +38,3 @@ Computes an integer representing the colexicographic rank of the permutation | ||
`require("permutation-rank").unrank(length, rank[, result])` | ||
`prank.unrank(length, rank[, result])` | ||
-------------------------------------------------- | ||
@@ -41,0 +41,0 @@ Computes a permutation from a rank order with the given length |
@@ -1,2 +0,2 @@ | ||
var test = require("tap").test | ||
var test = require("tape") | ||
, rank = require("../index.js").rank | ||
@@ -3,0 +3,0 @@ , unrank = require("../index.js").unrank |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
5593
+ Addedbit-twiddle@1.0.2(transitive)
+ Addeddup@1.0.0(transitive)
+ Addedinvert-permutation@1.0.0(transitive)
+ Addedtypedarray-pool@1.2.0(transitive)
- Removedbit-twiddle@0.0.2(transitive)
- Removeddup@0.0.0(transitive)
- Removedinvert-permutation@0.1.0(transitive)
- Removedtypedarray-pool@0.1.2(transitive)
Updatedinvert-permutation@^1.0.0
Updatedtypedarray-pool@^1.0.0