Skip to content

Commit

Permalink
Bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Nov 10, 2023
1 parent 38cc1ee commit 24a53ed
Show file tree
Hide file tree
Showing 5 changed files with 1,510 additions and 1,197 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ on: push

jobs:
test:
name: Lint, build, and test on node 14.x and ubuntu-latest
name: Lint, build, and test on node 16.x and ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v1
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16.x
- name: Install deps (with cache)
uses: bahmutov/npm-install@v1
- name: Lint codebase
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,23 +62,23 @@
"@types/long": "^4.0.2",
"@types/md5": "^2.3.2",
"@types/pako": "^1.0.3",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"buffer": "^6.0.3",
"documentation": "^14.0.1",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-prettier": "^5.0.1",
"glob": "^10.3.1",
"jest": "^29.3.1",
"mock-fs": "^5.2.0",
"prettier": "^2.8.1",
"prettier": "^3.0.3",
"rimraf": "^5.0.1",
"ts-jest": "^29.0.3",
"typescript": "^5.0.3",
"url": "^0.11.0",
"webpack": "5.88.1",
"webpack": "5.89.0",
"webpack-cli": "^5.0.1"
},
"publishConfig": {
Expand Down
5 changes: 4 additions & 1 deletion src/cramFile/container/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ import CramContainerCompressionScheme from './compressionScheme'
import CramFile from '../file'

export default class CramContainer {
constructor(public file: CramFile, public filePosition: number) {}
constructor(
public file: CramFile,
public filePosition: number,
) {}

// memoize
getHeader() {
Expand Down
5 changes: 2 additions & 3 deletions src/cramFile/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,8 @@ export default class CramFile {
let containerCount = 0
let position = sectionParsers.cramFileDefinition.maxLength
while (position + cramContainerHeader1.maxLength + 8 < fileSize) {
const currentHeader = await this.getContainerAtPosition(
position,
).getHeader()
const currentHeader =
await this.getContainerAtPosition(position).getHeader()
if (!currentHeader) {
break
}
Expand Down
Loading

0 comments on commit 24a53ed

Please sign in to comment.