@jbrowse/plugin-spreadsheet-view 2.15.3 → 2.16.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.
@@ -1,4 +1,5 @@
1
1
  import { ParseOptions } from './ImportUtils';
2
+ import type { Buffer } from 'buffer';
2
3
  export declare function removeBedHeaders(buffer: Buffer): Buffer;
3
4
  export declare function parseBedBuffer(buffer: Buffer, options: ParseOptions): Promise<{
4
5
  rowSet: import("./ImportUtils").RowSet;
@@ -1,3 +1,4 @@
1
+ import type { Buffer } from 'buffer';
1
2
  export declare function bufferToString(buffer: Buffer): string;
2
3
  export interface Row {
3
4
  id: string;
@@ -1,4 +1,5 @@
1
1
  import { ParseOptions } from './ImportUtils';
2
+ import type { Buffer } from 'buffer';
2
3
  export declare function parseSTARFusionBuffer(buffer: Buffer, options: ParseOptions): Promise<{
3
4
  rowSet: import("./ImportUtils").RowSet;
4
5
  columnDisplayOrder: number[];
@@ -1,4 +1,5 @@
1
1
  import { RowSet, Column, ParseOptions } from './ImportUtils';
2
+ import type { Buffer } from 'buffer';
2
3
  export declare function parseVcfBuffer(buffer: Buffer, options?: ParseOptions): {
3
4
  rowSet: RowSet;
4
5
  columnDisplayOrder: number[];
@@ -136,7 +136,7 @@ const model = mobx_state_tree_1.types
136
136
  * #action
137
137
  */
138
138
  setHeight(newHeight) {
139
- self.height = newHeight > minHeight ? newHeight : minHeight;
139
+ self.height = Math.max(newHeight, minHeight);
140
140
  return self.height;
141
141
  },
142
142
  /**
@@ -1,4 +1,5 @@
1
1
  import { ParseOptions } from './ImportUtils';
2
+ import type { Buffer } from 'buffer';
2
3
  export declare function removeBedHeaders(buffer: Buffer): Buffer;
3
4
  export declare function parseBedBuffer(buffer: Buffer, options: ParseOptions): Promise<{
4
5
  rowSet: import("./ImportUtils").RowSet;
@@ -1,3 +1,4 @@
1
+ import type { Buffer } from 'buffer';
1
2
  export declare function bufferToString(buffer: Buffer): string;
2
3
  export interface Row {
3
4
  id: string;
@@ -1,4 +1,5 @@
1
1
  import { ParseOptions } from './ImportUtils';
2
+ import type { Buffer } from 'buffer';
2
3
  export declare function parseSTARFusionBuffer(buffer: Buffer, options: ParseOptions): Promise<{
3
4
  rowSet: import("./ImportUtils").RowSet;
4
5
  columnDisplayOrder: number[];
@@ -1,4 +1,5 @@
1
1
  import { RowSet, Column, ParseOptions } from './ImportUtils';
2
+ import type { Buffer } from 'buffer';
2
3
  export declare function parseVcfBuffer(buffer: Buffer, options?: ParseOptions): {
3
4
  rowSet: RowSet;
4
5
  columnDisplayOrder: number[];
@@ -131,7 +131,7 @@ const model = types
131
131
  * #action
132
132
  */
133
133
  setHeight(newHeight) {
134
- self.height = newHeight > minHeight ? newHeight : minHeight;
134
+ self.height = Math.max(newHeight, minHeight);
135
135
  return self.height;
136
136
  },
137
137
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-spreadsheet-view",
3
- "version": "2.15.3",
3
+ "version": "2.16.0",
4
4
  "description": "JBrowse 2 spreadsheet view",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -38,7 +38,7 @@
38
38
  "dependencies": {
39
39
  "@gmod/bgzf-filehandle": "^1.4.3",
40
40
  "@gmod/vcf": "^5.0.9",
41
- "@jbrowse/plugin-variants": "^2.15.3",
41
+ "@jbrowse/plugin-variants": "^2.16.0",
42
42
  "@mui/icons-material": "^6.0.0",
43
43
  "csvtojson": "^2.0.10"
44
44
  },
@@ -60,5 +60,5 @@
60
60
  "publishConfig": {
61
61
  "access": "public"
62
62
  },
63
- "gitHead": "c0f82fe7b210622dd462e702641cc6da01109c6e"
63
+ "gitHead": "1e6d4fbc27ce684eed19e3c217f34bd2da24ab75"
64
64
  }