@jbrowse/plugin-gff3 2.3.2 → 2.3.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-gff3",
3
- "version": "2.3.2",
3
+ "version": "2.3.4",
4
4
  "description": "JBrowse 2 gff3.",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -48,7 +48,7 @@
48
48
  "@mui/material": "^5.0.0",
49
49
  "mobx": "^6.0.0",
50
50
  "mobx-state-tree": "^5.0.0",
51
- "rxjs": "^6.0.0"
51
+ "rxjs": "^7.0.0"
52
52
  },
53
53
  "publishConfig": {
54
54
  "access": "public"
@@ -56,5 +56,5 @@
56
56
  "distModule": "esm/index.js",
57
57
  "srcModule": "src/index.ts",
58
58
  "module": "esm/index.js",
59
- "gitHead": "467d973535bb7b2664e9f66311fb0dc21c1ce5ba"
59
+ "gitHead": "98ae48be91ee2371e1b2768a907b4997995e9915"
60
60
  }
@@ -1,4 +1,5 @@
1
1
  import { toArray } from 'rxjs/operators'
2
+ import { firstValueFrom } from 'rxjs'
2
3
  import configSchema from './configSchema'
3
4
  import Gff3Adapter from './Gff3Adapter'
4
5
 
@@ -21,7 +22,7 @@ describe('adapter can fetch features from volvox.gff3', () => {
21
22
  })
22
23
  expect(await adapter.hasDataForRefName('ctgA')).toBe(true)
23
24
  expect(await adapter.hasDataForRefName('ctgB')).toBe(true)
24
- const featuresArray = await features.pipe(toArray()).toPromise()
25
+ const featuresArray = await firstValueFrom(features.pipe(toArray()))
25
26
  // There are only 4 features in ctgB
26
27
  expect(featuresArray.length).toBe(4)
27
28
  const featuresJsonArray = featuresArray.map(f => f.toJSON())
@@ -1,4 +1,5 @@
1
1
  import { toArray } from 'rxjs/operators'
2
+ import { firstValueFrom } from 'rxjs'
2
3
  import configSchema from './configSchema'
3
4
  import Gff3TabixAdapter from './Gff3TabixAdapter'
4
5
 
@@ -27,7 +28,7 @@ describe('adapter can fetch features from volvox.gff3', () => {
27
28
  })
28
29
  expect(await adapter.hasDataForRefName('ctgA')).toBe(true)
29
30
  expect(await adapter.hasDataForRefName('ctgB')).toBe(true)
30
- const featuresArray = await features.pipe(toArray()).toPromise()
31
+ const featuresArray = await firstValueFrom(features.pipe(toArray()))
31
32
  // There are only 4 features in ctgB
32
33
  expect(featuresArray.length).toBe(4)
33
34
  const featuresJsonArray = featuresArray.map(f => f.toJSON())