priorityqueue
Advanced tools
Comparing version 2.0.0-0 to 2.0.0
@@ -0,1 +1,10 @@ | ||
# [2.0.0](https://github.com/berlysia/priorityqueuejs/compare/v2.0.0-0...v2.0.0) (2022-11-04) | ||
### Features | ||
* export type of option ([01ff281](https://github.com/berlysia/priorityqueuejs/commit/01ff2810dd2106b5da7de494aa4cb926d3a2c6b9)) | ||
# [2.0.0-0](https://github.com/berlysia/priorityqueuejs/compare/v1.0.0...v2.0.0-0) (2022-11-04) | ||
@@ -2,0 +11,0 @@ |
export { default } from "./BinaryHeap"; | ||
export type { PriorityQueueInstance, PriorityQueueStatic, } from "./PriorityQueue"; | ||
export type { PriorityQueueInstance, PriorityQueueStatic, PriorityQueueOption, } from "./PriorityQueue"; |
{ | ||
"name": "priorityqueue", | ||
"version": "2.0.0-0", | ||
"version": "2.0.0", | ||
"description": "An implementation of Priority Queue", | ||
@@ -41,7 +41,7 @@ "main": "lib/index.js", | ||
"changelog": "conventional-changelog --preset angular --infile CHANGELOG.md --same-file --release-count 0", | ||
"preversion": "run-s lint test typecheck build", | ||
"preversion": "run-s ci build", | ||
"version": "run-s changelog && git add CHANGELOG.md", | ||
"ci": "run-s lint typecheck test:ci", | ||
"postci": "codecov", | ||
"documentation": "typedoc ./src ./src/BinaryHeap.ts ./src/PairingHeap.ts ./src/SkewHeap.ts && touch docs/.nojekyll", | ||
"documentation": "typedoc ./src/index.ts ./src/BinaryHeap.ts ./src/PairingHeap.ts ./src/SkewHeap.ts && touch docs/.nojekyll", | ||
"postpublish": "yarn documentation && gh-pages -d docs --dotfiles", | ||
@@ -48,0 +48,0 @@ "prepare": "git config --local core.hooksPath .githooks && echo 'githooks installed' || echo 'githooks install failed'" |
@@ -45,14 +45,7 @@ # PriorityQueue | ||
## Options | ||
## References | ||
## PriorityQueue(options = {}) | ||
- [instance methods](http://berlysia.github.io/priorityqueuejs/types/index.PriorityQueueInstance.html) | ||
- [static methods](http://berlysia.github.io/priorityqueuejs/types/index.PriorityQueueStatic.html) | ||
### options.comparator | ||
`options.comparator` defines an order of each values in PriorityQueue. | ||
A comparator function format is in according with an argument of [`Array.prototype.sort`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort). | ||
⚠️ The predefined order is also the same as [`Array.prototype.sort`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort). | ||
## Variation | ||
@@ -59,0 +52,0 @@ |
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 v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3
0
68834
87