@jbrowse/plugin-comparative-adapters 2.14.0 → 2.15.1

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.
@@ -61,7 +61,7 @@ function paf_chain2paf(buffer) {
61
61
  if (n === -1) {
62
62
  break;
63
63
  }
64
- const b = buffer.slice(blockStart, n);
64
+ const b = buffer.subarray(blockStart, n);
65
65
  const l = ((decoder === null || decoder === void 0 ? void 0 : decoder.decode(b)) || b.toString()).trim();
66
66
  blockStart = n + 1;
67
67
  const l_tab = l.replaceAll(' ', '\t'); // There are CHAIN files with space-separated fields
@@ -51,7 +51,7 @@ function paf_delta2paf(buffer) {
51
51
  if (n === -1) {
52
52
  break;
53
53
  }
54
- const b = buffer.slice(blockStart, n);
54
+ const b = buffer.subarray(blockStart, n);
55
55
  const line = ((decoder === null || decoder === void 0 ? void 0 : decoder.decode(b)) || b.toString()).trim();
56
56
  blockStart = n + 1;
57
57
  i++;
package/dist/util.js CHANGED
@@ -44,7 +44,7 @@ function parseLineByLine(buffer, cb) {
44
44
  if (n === -1) {
45
45
  break;
46
46
  }
47
- const b = buffer.slice(blockStart, n);
47
+ const b = buffer.subarray(blockStart, n);
48
48
  const line = ((decoder === null || decoder === void 0 ? void 0 : decoder.decode(b)) || b.toString()).trim();
49
49
  if (line) {
50
50
  entries.push(cb(line));
@@ -58,7 +58,7 @@ export function paf_chain2paf(buffer) {
58
58
  if (n === -1) {
59
59
  break;
60
60
  }
61
- const b = buffer.slice(blockStart, n);
61
+ const b = buffer.subarray(blockStart, n);
62
62
  const l = ((decoder === null || decoder === void 0 ? void 0 : decoder.decode(b)) || b.toString()).trim();
63
63
  blockStart = n + 1;
64
64
  const l_tab = l.replaceAll(' ', '\t'); // There are CHAIN files with space-separated fields
@@ -48,7 +48,7 @@ export function paf_delta2paf(buffer) {
48
48
  if (n === -1) {
49
49
  break;
50
50
  }
51
- const b = buffer.slice(blockStart, n);
51
+ const b = buffer.subarray(blockStart, n);
52
52
  const line = ((decoder === null || decoder === void 0 ? void 0 : decoder.decode(b)) || b.toString()).trim();
53
53
  blockStart = n + 1;
54
54
  i++;
package/esm/util.js CHANGED
@@ -35,7 +35,7 @@ export function parseLineByLine(buffer, cb) {
35
35
  if (n === -1) {
36
36
  break;
37
37
  }
38
- const b = buffer.slice(blockStart, n);
38
+ const b = buffer.subarray(blockStart, n);
39
39
  const line = ((decoder === null || decoder === void 0 ? void 0 : decoder.decode(b)) || b.toString()).trim();
40
40
  if (line) {
41
41
  entries.push(cb(line));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-comparative-adapters",
3
- "version": "2.14.0",
3
+ "version": "2.15.1",
4
4
  "description": "JBrowse 2 comparative adapters",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -44,7 +44,7 @@
44
44
  "@jbrowse/core": "^2.0.0",
45
45
  "@jbrowse/plugin-alignments": "^2.0.0",
46
46
  "@jbrowse/plugin-linear-genome-view": "^2.0.0",
47
- "@mui/material": "^5.0.0",
47
+ "@mui/material": "^6.0.0",
48
48
  "mobx": "^6.0.0",
49
49
  "mobx-react": "^9.0.0",
50
50
  "mobx-state-tree": "^5.0.0",
@@ -58,5 +58,5 @@
58
58
  "publishConfig": {
59
59
  "access": "public"
60
60
  },
61
- "gitHead": "9fb8231d932db40adf0a283081765431756c66ff"
61
+ "gitHead": "86ed70124fc5a0b1161266659d1ca9f8796bf3fe"
62
62
  }