@jbrowse/plugin-bed 2.6.2 → 2.7.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.
@@ -13,9 +13,7 @@ export default class BedAdapter extends BaseFeatureDataAdapter {
13
13
  colStart: number;
14
14
  colEnd: number;
15
15
  }>;
16
- protected intervalTrees: {
17
- [key: string]: Promise<IntervalTree | undefined> | undefined;
18
- };
16
+ protected intervalTrees: Record<string, Promise<IntervalTree | undefined> | undefined>;
19
17
  static capabilities: string[];
20
18
  private loadDataP;
21
19
  private loadData;
@@ -9,9 +9,7 @@ export default class BedpeAdapter extends BaseFeatureDataAdapter {
9
9
  feats2: Record<string, string[] | undefined>;
10
10
  columnNames: string[];
11
11
  }>;
12
- protected intervalTrees: {
13
- [key: string]: Promise<IntervalTree | undefined> | undefined;
14
- };
12
+ protected intervalTrees: Record<string, Promise<IntervalTree | undefined> | undefined>;
15
13
  static capabilities: string[];
16
14
  private loadDataP;
17
15
  private loadData;
@@ -91,9 +91,7 @@ class BedpeAdapter extends BaseAdapter_1.BaseFeatureDataAdapter {
91
91
  if (!feats2[r2]) {
92
92
  feats2[r2] = [];
93
93
  }
94
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
95
94
  feats1[r1].push(line);
96
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
97
95
  feats2[r2].push(line);
98
96
  }
99
97
  const columnNames = this.getConf('columnNames');
@@ -13,9 +13,7 @@ export default class BedAdapter extends BaseFeatureDataAdapter {
13
13
  colStart: number;
14
14
  colEnd: number;
15
15
  }>;
16
- protected intervalTrees: {
17
- [key: string]: Promise<IntervalTree | undefined> | undefined;
18
- };
16
+ protected intervalTrees: Record<string, Promise<IntervalTree | undefined> | undefined>;
19
17
  static capabilities: string[];
20
18
  private loadDataP;
21
19
  private loadData;
@@ -9,9 +9,7 @@ export default class BedpeAdapter extends BaseFeatureDataAdapter {
9
9
  feats2: Record<string, string[] | undefined>;
10
10
  columnNames: string[];
11
11
  }>;
12
- protected intervalTrees: {
13
- [key: string]: Promise<IntervalTree | undefined> | undefined;
14
- };
12
+ protected intervalTrees: Record<string, Promise<IntervalTree | undefined> | undefined>;
15
13
  static capabilities: string[];
16
14
  private loadDataP;
17
15
  private loadData;
@@ -84,9 +84,7 @@ class BedpeAdapter extends BaseFeatureDataAdapter {
84
84
  if (!feats2[r2]) {
85
85
  feats2[r2] = [];
86
86
  }
87
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
88
87
  feats1[r1].push(line);
89
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
90
88
  feats2[r2].push(line);
91
89
  }
92
90
  const columnNames = this.getConf('columnNames');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-bed",
3
- "version": "2.6.2",
3
+ "version": "2.7.0",
4
4
  "description": "JBrowse 2 bed adapters, tracks, etc.",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -45,7 +45,7 @@
45
45
  "peerDependencies": {
46
46
  "@jbrowse/core": "^2.0.0",
47
47
  "mobx": "^6.0.0",
48
- "mobx-react": "^7.0.0",
48
+ "mobx-react": "^9.0.0",
49
49
  "mobx-state-tree": "^5.0.0",
50
50
  "rxjs": "^7.0.0"
51
51
  },
@@ -55,5 +55,5 @@
55
55
  "distModule": "esm/index.js",
56
56
  "srcModule": "src/index.ts",
57
57
  "module": "esm/index.js",
58
- "gitHead": "bbea587a402d9974acdd804a33f4b77f31a2fd5f"
58
+ "gitHead": "dbe7fb1af01fc89f833d2744635eb44a17365b41"
59
59
  }