@jbrowse/plugin-wiggle 3.5.1 → 3.6.1

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.
@@ -19,10 +19,9 @@ const useStyles = (0, mui_1.makeStyles)()(theme => ({
19
19
  },
20
20
  }));
21
21
  function makeFileLocation(file) {
22
- const { webUtils } = window.require('electron');
23
22
  return util_1.isElectron
24
23
  ? {
25
- localPath: webUtils.getPathForFile(file),
24
+ localPath: window.require('electron').webUtils.getPathForFile(file),
26
25
  locationType: 'LocalPathLocation',
27
26
  }
28
27
  : (0, tracks_1.storeBlobLocation)({ blob: file });
@@ -17,10 +17,9 @@ const useStyles = makeStyles()(theme => ({
17
17
  },
18
18
  }));
19
19
  function makeFileLocation(file) {
20
- const { webUtils } = window.require('electron');
21
20
  return isElectron
22
21
  ? {
23
- localPath: webUtils.getPathForFile(file),
22
+ localPath: window.require('electron').webUtils.getPathForFile(file),
24
23
  locationType: 'LocalPathLocation',
25
24
  }
26
25
  : storeBlobLocation({ blob: file });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-wiggle",
3
- "version": "3.5.1",
3
+ "version": "3.6.1",
4
4
  "description": "JBrowse 2 wiggle adapters, tracks, etc.",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -37,9 +37,9 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@gmod/bbi": "^7.0.0",
40
- "@jbrowse/core": "^3.5.1",
41
- "@jbrowse/plugin-data-management": "^3.5.1",
42
- "@jbrowse/plugin-linear-genome-view": "^3.5.1",
40
+ "@jbrowse/core": "^3.6.1",
41
+ "@jbrowse/plugin-data-management": "^3.6.1",
42
+ "@jbrowse/plugin-linear-genome-view": "^3.6.1",
43
43
  "@mui/icons-material": "^7.0.0",
44
44
  "@mui/material": "^7.0.0",
45
45
  "@mui/x-charts-vendor": "^8.0.0",
@@ -62,5 +62,5 @@
62
62
  "distModule": "esm/index.js",
63
63
  "srcModule": "src/index.ts",
64
64
  "module": "esm/index.js",
65
- "gitHead": "cb8859da9d838ad2594964777c5c54f385d98f5e"
65
+ "gitHead": "3b7ba0005a28fb0903b7b31f15259c2cfccecfa1"
66
66
  }