File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @gmod/bgzf-filehandle" ,
3
- "version" : " 1.4.7 " ,
3
+ "version" : " 1.5.1 " ,
4
4
"description" : " read from a compressed bgzip file (with .gzi) as if it were uncompressed" ,
5
5
"license" : " MIT" ,
6
6
"repository" : " gmod/bgzf-filehandle" ,
23
23
"test" : " vitest" ,
24
24
"lint" : " eslint --report-unused-disable-directives --max-warnings 0" ,
25
25
"clean" : " rimraf dist esm" ,
26
- "prebuild" : " npm run clean" ,
26
+ "prebuild" : " yarn clean" ,
27
27
"build:esm" : " tsc --target es2018 --outDir esm" ,
28
28
"build:es5" : " tsc --target es2015 --module commonjs --outDir dist" ,
29
- "build" : " npm run build:esm && npm run build:es5" ,
30
- "prepublishOnly" : " npm test --run && npm run build" ,
29
+ "build" : " yarn build:esm && yarn build:es5" ,
30
+ "prepublishOnly" : " yarn test --run && yarn build" ,
31
31
"postversion" : " git push --follow-tags"
32
32
},
33
33
"keywords" : [
Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ export default class BgzFilehandle {
72
72
73
73
async _readAndUncompressBlock (
74
74
blockBuffer : Buffer ,
75
- [ compressedPosition ] : [ number ] ,
76
- [ nextCompressedPosition ] : [ number ] ,
75
+ [ compressedPosition ] : [ number , number ] ,
76
+ [ nextCompressedPosition ] : [ number , number ] ,
77
77
) {
78
78
let next = nextCompressedPosition
79
79
if ( ! next ) {
You can’t perform that action at this time.
0 commit comments