Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Nov 29, 2024
1 parent 729a220 commit 290aa30
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gmod/bgzf-filehandle",
"version": "1.4.7",
"version": "1.5.1",
"description": "read from a compressed bgzip file (with .gzi) as if it were uncompressed",
"license": "MIT",
"repository": "gmod/bgzf-filehandle",
Expand All @@ -23,11 +23,11 @@
"test": "vitest",
"lint": "eslint --report-unused-disable-directives --max-warnings 0",
"clean": "rimraf dist esm",
"prebuild": "npm run clean",
"prebuild": "yarn clean",
"build:esm": "tsc --target es2018 --outDir esm",
"build:es5": "tsc --target es2015 --module commonjs --outDir dist",
"build": "npm run build:esm && npm run build:es5",
"prepublishOnly": "npm test --run && npm run build",
"build": "yarn build:esm && yarn build:es5",
"prepublishOnly": "yarn test --run && yarn build",
"postversion": "git push --follow-tags"
},
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions src/bgzFilehandle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ export default class BgzFilehandle {

async _readAndUncompressBlock(
blockBuffer: Buffer,
[compressedPosition]: [number],
[nextCompressedPosition]: [number],
[compressedPosition]: [number, number],
[nextCompressedPosition]: [number, number],
) {
let next = nextCompressedPosition
if (!next) {
Expand Down

0 comments on commit 290aa30

Please sign in to comment.