@jbrowse/plugin-gccontent 2.6.3 → 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.
@@ -49,14 +49,14 @@ class default_1 extends BaseAdapter_1.BaseFeatureDataAdapter {
49
49
  let nc = 0;
50
50
  let ng = 0;
51
51
  let len = 0;
52
- for (let j = 0; j < r.length; j++) {
53
- if (r[j] === 'c' || r[j] === 'C') {
52
+ for (const letter of r) {
53
+ if (letter === 'c' || letter === 'C') {
54
54
  nc++;
55
55
  }
56
- else if (r[j] === 'g' || r[j] === 'G') {
56
+ else if (letter === 'g' || letter === 'G') {
57
57
  ng++;
58
58
  }
59
- if (r[j] !== 'N') {
59
+ if (letter !== 'N') {
60
60
  len++;
61
61
  }
62
62
  }
@@ -1,5 +1,5 @@
1
1
  import PluginManager from '@jbrowse/core/PluginManager';
2
- declare const GCContentAdapterF: (pluginManager: PluginManager) => import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
+ declare const GCContentAdapterF: (_pluginManager: PluginManager) => import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
3
3
  /**
4
4
  * #slot
5
5
  */
@@ -6,7 +6,7 @@ const configuration_1 = require("@jbrowse/core/configuration");
6
6
  * #category adapter
7
7
  */
8
8
  function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
9
- const GCContentAdapterF = (pluginManager) => {
9
+ const GCContentAdapterF = (_pluginManager) => {
10
10
  return (0, configuration_1.ConfigurationSchema)('GCContentAdapter', {
11
11
  /**
12
12
  * #slot
@@ -47,14 +47,14 @@ class default_1 extends BaseFeatureDataAdapter {
47
47
  let nc = 0;
48
48
  let ng = 0;
49
49
  let len = 0;
50
- for (let j = 0; j < r.length; j++) {
51
- if (r[j] === 'c' || r[j] === 'C') {
50
+ for (const letter of r) {
51
+ if (letter === 'c' || letter === 'C') {
52
52
  nc++;
53
53
  }
54
- else if (r[j] === 'g' || r[j] === 'G') {
54
+ else if (letter === 'g' || letter === 'G') {
55
55
  ng++;
56
56
  }
57
- if (r[j] !== 'N') {
57
+ if (letter !== 'N') {
58
58
  len++;
59
59
  }
60
60
  }
@@ -1,5 +1,5 @@
1
1
  import PluginManager from '@jbrowse/core/PluginManager';
2
- declare const GCContentAdapterF: (pluginManager: PluginManager) => import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
+ declare const GCContentAdapterF: (_pluginManager: PluginManager) => import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
3
3
  /**
4
4
  * #slot
5
5
  */
@@ -4,7 +4,7 @@ import { ConfigurationSchema } from '@jbrowse/core/configuration';
4
4
  * #category adapter
5
5
  */
6
6
  function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
7
- const GCContentAdapterF = (pluginManager) => {
7
+ const GCContentAdapterF = (_pluginManager) => {
8
8
  return ConfigurationSchema('GCContentAdapter', {
9
9
  /**
10
10
  * #slot
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-gccontent",
3
- "version": "2.6.3",
3
+ "version": "2.7.0",
4
4
  "description": "JBrowse 2 gccontent concepts",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -42,7 +42,7 @@
42
42
  "@jbrowse/plugin-wiggle": "^2.0.0",
43
43
  "@mui/material": "^5.0.0",
44
44
  "mobx": "^6.0.0",
45
- "mobx-react": "^7.0.0",
45
+ "mobx-react": "^9.0.0",
46
46
  "mobx-state-tree": "^5.0.0",
47
47
  "react": ">=16.8.0",
48
48
  "rxjs": "^7.0.0"
@@ -53,5 +53,5 @@
53
53
  "distModule": "esm/index.js",
54
54
  "srcModule": "src/index.ts",
55
55
  "module": "esm/index.js",
56
- "gitHead": "ed402c87efb0904858d602c363bd1757d5742129"
56
+ "gitHead": "dbe7fb1af01fc89f833d2744635eb44a17365b41"
57
57
  }