Skip to content

Commit

Permalink
Add node-fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
turner committed Sep 30, 2023
1 parent 249f942 commit ccb3497
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions js/ucsc/ucscHub.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
https://genome.ucsc.edu/goldenpath/help/trackDb/trackDbHub.html
*/

import fetch from 'node-fetch';

class Hub {

static async loadHub(options) {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
},
"browserslist": "> 1%, not dead",
"devDependencies": {
"html2canvas": "^1.4.1",
"@rollup/plugin-strip": "^3.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@xmldom/xmldom": "^0.7.9",
Expand All @@ -53,9 +52,11 @@
"circular-view": "github:igvteam/circular-view#v0.2.4",
"eslint": "^6.4.0",
"hdf5-indexed-reader": "github:jrobinso/hdf5-indexed-reader#v0.5.2",
"html2canvas": "^1.4.1",
"igv-ui": "github:igvteam/igv-ui#v1.5.2",
"igv-utils": "github:igvteam/igv-utils#v1.4.8",
"mocha": "^10.2.0",
"node-fetch": "^3.3.2",
"rollup": "^2.66.0",
"rollup-plugin-copy": "^3.3.0",
"sass": "^1.45.1",
Expand Down

0 comments on commit ccb3497

Please sign in to comment.