Skip to content

Commit

Permalink
Update cram-js to avoid off-by-one bug compensation
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed May 16, 2022
1 parent 33e0ed8 commit 1f83c59
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion plugins/alignments/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"dependencies": {
"@babel/runtime": "^7.17.9",
"@gmod/bam": "^1.1.15",
"@gmod/cram": "^1.6.3",
"@gmod/cram": "^1.6.4",
"@material-ui/icons": "^4.9.1",
"color": "^3.1.2",
"copy-to-clipboard": "^3.3.1",
Expand Down
3 changes: 2 additions & 1 deletion plugins/linear-comparative-view/src/ReadVsRef.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,11 @@ export function WindowSizeDlg(props: {
{
refName: saRef,
start: +saStart - 1,
end: +saStart + 1,
end: +saStart,
},
],
})) as Feature[]

const result = feats.find(
f =>
f.get('name') === preFeature.get('name') &&
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1419,10 +1419,10 @@
dependencies:
long "^4.0.0"

"@gmod/cram@^1.6.3":
version "1.6.3"
resolved "https://registry.yarnpkg.com/@gmod/cram/-/cram-1.6.3.tgz#250775a681904477cb06988a10ad0253d4dc69aa"
integrity sha512-fuKmrFbhpiQLkUnMj64kujKjF0ZC8ZF2EvL479ilwRq9vsMdlxpWdcC/pmEYdM+OgyHy8aZNBRmkt/rKrDJzrw==
"@gmod/cram@^1.6.4":
version "1.6.4"
resolved "https://registry.yarnpkg.com/@gmod/cram/-/cram-1.6.4.tgz#4c585238ba201381f2e794785f6497b0b2c3bd1a"
integrity sha512-uj3BOukiQmL9JwJFMN7qqkvhfWMVVYhymrUA6+z6YMg3u107azw9Oxip6UEUHlVtrJhh2jyLDYgpewFLghJZew==
dependencies:
"@gmod/binary-parser" "^1.3.5"
"@jkbonfield/htscodecs" "^0.5.1"
Expand Down

0 comments on commit 1f83c59

Please sign in to comment.