We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f789e0 commit 1756338Copy full SHA for 1756338
package.json
@@ -53,7 +53,7 @@
53
],
54
"dependencies": {
55
"@gmod/abortable-promise-cache": "^3.0.1",
56
- "@gmod/bgzf-filehandle": "^5.0.1",
+ "@gmod/bgzf-filehandle": "^6.0.0",
57
"generic-filehandle2": "^2.0.1",
58
"quick-lru": "^4.0.0"
59
},
src/tabixIndexedFile.ts
@@ -30,7 +30,10 @@ export default class TabixIndexedFile {
30
private index: IndexFile
31
private renameRefSeq: (n: string) => string
32
private chunkCache: AbortablePromiseCache<Chunk, ReadChunk>
33
- public cache = new LRU<string, { buffer: Uint8Array; nextIn: number }>({
+ public cache = new LRU<
34
+ string,
35
+ { bytesRead: number; buffer: Uint8Array; nextIn: number }
36
+ >({
37
maxSize: 1000,
38
})
39
0 commit comments