Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Aug 30, 2024
1 parent 8ae3cef commit 6a5199e
Show file tree
Hide file tree
Showing 3 changed files with 1,432 additions and 2,833 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"esm"
],
"scripts": {
"test": "vitest run",
"test": "vitest",
"lint": "eslint --report-unused-disable-directives --max-warnings 0",
"format": "prettier --write .",
"docs": "documentation readme --shallow src/indexedCramFile.ts --section=IndexedCramFile; documentation readme --shallow src/cramFile/file.ts --section=CramFile; documentation readme --shallow src/craiIndex.ts --section=CraiIndex; documentation readme --shallow errors.ts '--section=Exception Classes'; documentation readme --shallow src/cramFile/file.ts --section=CramFile; documentation readme --shallow src/cramFile/record.ts --section=CramRecord",
Expand All @@ -31,7 +31,7 @@
"build:es5": "tsc --target es2015 --module commonjs --outDir dist",
"build": "npm run build:esm && npm run build:es5",
"postbuild": "webpack",
"prepack": "npm test && npm run build && cp dist/errors.js errors.js",
"prepack": "npm test run && npm run build && cp dist/errors.js errors.js",
"postpublish": "rm errors.js",
"postversion": "git push --follow-tags"
},
Expand Down
7 changes: 3 additions & 4 deletions src/cramFile/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,9 @@ export default class CramFile {
cacheSize: args.cacheSize ?? 20000,
}

// cache of features in a slice, keyed by the
// slice offset. caches all of the features in a slice, or none.
// the cache is actually used by the slice object, it's just
// kept here at the level of the file
// cache of features in a slice, keyed by the slice offset. caches all of
// the features in a slice, or none. the cache is actually used by the
// slice object, it's just kept here at the level of the file
this.featureCache = new QuickLRU({
maxSize: this.options.cacheSize,
})
Expand Down
Loading

0 comments on commit 6a5199e

Please sign in to comment.