@jbrowse/plugin-gff3 2.14.0 → 2.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -30,8 +30,8 @@ class Gff3Adapter extends BaseAdapter_1.BaseFeatureDataAdapter {
|
|
|
30
30
|
let i = 0;
|
|
31
31
|
while (blockStart < buffer.length) {
|
|
32
32
|
const n = buffer.indexOf('\n', blockStart);
|
|
33
|
-
// could be a non-newline ended file, so
|
|
34
|
-
const b = n === -1 ? buffer.
|
|
33
|
+
// could be a non-newline ended file, so subarray to end of file if n===-1
|
|
34
|
+
const b = n === -1 ? buffer.subarray(blockStart) : buffer.subarray(blockStart, n);
|
|
35
35
|
const line = ((decoder === null || decoder === void 0 ? void 0 : decoder.decode(b)) || b.toString()).trim();
|
|
36
36
|
if (line) {
|
|
37
37
|
if (line.startsWith('#')) {
|
|
@@ -25,8 +25,8 @@ export default class Gff3Adapter extends BaseFeatureDataAdapter {
|
|
|
25
25
|
let i = 0;
|
|
26
26
|
while (blockStart < buffer.length) {
|
|
27
27
|
const n = buffer.indexOf('\n', blockStart);
|
|
28
|
-
// could be a non-newline ended file, so
|
|
29
|
-
const b = n === -1 ? buffer.
|
|
28
|
+
// could be a non-newline ended file, so subarray to end of file if n===-1
|
|
29
|
+
const b = n === -1 ? buffer.subarray(blockStart) : buffer.subarray(blockStart, n);
|
|
30
30
|
const line = ((decoder === null || decoder === void 0 ? void 0 : decoder.decode(b)) || b.toString()).trim();
|
|
31
31
|
if (line) {
|
|
32
32
|
if (line.startsWith('#')) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-gff3",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.15.0",
|
|
4
4
|
"description": "JBrowse 2 gff3.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@jbrowse/core": "^2.0.0",
|
|
46
46
|
"@jbrowse/plugin-linear-genome-view": "^2.0.0",
|
|
47
|
-
"@mui/material": "^
|
|
47
|
+
"@mui/material": "^6.0.0",
|
|
48
48
|
"mobx": "^6.0.0",
|
|
49
49
|
"mobx-state-tree": "^5.0.0",
|
|
50
50
|
"rxjs": "^7.0.0"
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"distModule": "esm/index.js",
|
|
56
56
|
"srcModule": "src/index.ts",
|
|
57
57
|
"module": "esm/index.js",
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "87eeb1fbf8311dbf88d5e75b5a265f03beffdda8"
|
|
59
59
|
}
|