Skip to content

Commit 290aa30

Browse files
committed
Misc
1 parent 729a220 commit 290aa30

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gmod/bgzf-filehandle",
3-
"version": "1.4.7",
3+
"version": "1.5.1",
44
"description": "read from a compressed bgzip file (with .gzi) as if it were uncompressed",
55
"license": "MIT",
66
"repository": "gmod/bgzf-filehandle",
@@ -23,11 +23,11 @@
2323
"test": "vitest",
2424
"lint": "eslint --report-unused-disable-directives --max-warnings 0",
2525
"clean": "rimraf dist esm",
26-
"prebuild": "npm run clean",
26+
"prebuild": "yarn clean",
2727
"build:esm": "tsc --target es2018 --outDir esm",
2828
"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",
3131
"postversion": "git push --follow-tags"
3232
},
3333
"keywords": [

src/bgzFilehandle.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ export default class BgzFilehandle {
7272

7373
async _readAndUncompressBlock(
7474
blockBuffer: Buffer,
75-
[compressedPosition]: [number],
76-
[nextCompressedPosition]: [number],
75+
[compressedPosition]: [number, number],
76+
[nextCompressedPosition]: [number, number],
7777
) {
7878
let next = nextCompressedPosition
7979
if (!next) {

0 commit comments

Comments
 (0)