@jbrowse/plugin-jobs-management 3.6.4 → 3.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.
@@ -27,11 +27,11 @@ function stateModelFactory(_pluginManager) {
27
27
  return addedJob;
28
28
  },
29
29
  removeJob(jobName) {
30
- const indx = self.jobs.findIndex(job => job.name === jobName);
31
- if (indx === -1) {
30
+ const index = self.jobs.findIndex(job => job.name === jobName);
31
+ if (index === -1) {
32
32
  return undefined;
33
33
  }
34
- const removed = self.jobs.splice(indx, 1);
34
+ const removed = self.jobs.splice(index, 1);
35
35
  return removed[0];
36
36
  },
37
37
  addFinishedJob(job) {
@@ -59,11 +59,11 @@ function stateModelFactory(_pluginManager) {
59
59
  return self.aborted[length - 1];
60
60
  },
61
61
  removeQueuedJob(jobName) {
62
- const indx = self.queued.findIndex(job => job.name === jobName);
63
- if (indx === -1) {
62
+ const index = self.queued.findIndex(job => job.name === jobName);
63
+ if (index === -1) {
64
64
  return undefined;
65
65
  }
66
- const removed = self.queued.splice(indx, 1);
66
+ const removed = self.queued.splice(index, 1);
67
67
  return removed[0];
68
68
  },
69
69
  updateJobStatusMessage(jobName, message) {
@@ -24,11 +24,11 @@ export function stateModelFactory(_pluginManager) {
24
24
  return addedJob;
25
25
  },
26
26
  removeJob(jobName) {
27
- const indx = self.jobs.findIndex(job => job.name === jobName);
28
- if (indx === -1) {
27
+ const index = self.jobs.findIndex(job => job.name === jobName);
28
+ if (index === -1) {
29
29
  return undefined;
30
30
  }
31
- const removed = self.jobs.splice(indx, 1);
31
+ const removed = self.jobs.splice(index, 1);
32
32
  return removed[0];
33
33
  },
34
34
  addFinishedJob(job) {
@@ -56,11 +56,11 @@ export function stateModelFactory(_pluginManager) {
56
56
  return self.aborted[length - 1];
57
57
  },
58
58
  removeQueuedJob(jobName) {
59
- const indx = self.queued.findIndex(job => job.name === jobName);
60
- if (indx === -1) {
59
+ const index = self.queued.findIndex(job => job.name === jobName);
60
+ if (index === -1) {
61
61
  return undefined;
62
62
  }
63
- const removed = self.queued.splice(indx, 1);
63
+ const removed = self.queued.splice(index, 1);
64
64
  return removed[0];
65
65
  },
66
66
  updateJobStatusMessage(jobName, message) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-jobs-management",
3
- "version": "3.6.4",
3
+ "version": "3.7.0",
4
4
  "description": "JBrowse 2 jobs management",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -36,8 +36,8 @@
36
36
  "clean": "rimraf dist esm *.tsbuildinfo"
37
37
  },
38
38
  "dependencies": {
39
- "@jbrowse/core": "^3.6.4",
40
- "@jbrowse/text-indexing": "^3.6.4",
39
+ "@jbrowse/core": "^3.7.0",
40
+ "@jbrowse/text-indexing": "^3.7.0",
41
41
  "@mui/icons-material": "^7.0.0",
42
42
  "@mui/material": "^7.0.0",
43
43
  "mobx": "^6.0.0",
@@ -54,5 +54,5 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  },
57
- "gitHead": "3db8e50ce2bd9c081efbf6c2e7ae5f342380a25a"
57
+ "gitHead": "85bdd0d58286b7adbfd408146b15847676317635"
58
58
  }