Skip to content

Commit

Permalink
update igv-utils to remove a runtime dependency on the node 'btoa' pa…
Browse files Browse the repository at this point in the history
…ckage. Fixes #1325.
  • Loading branch information
jrobinso committed May 11, 2021
1 parent 1160769 commit df0bb31
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ See the [Wiki](https://github.com/igvteam/igv.js/wiki) for more documentation.

# Examples

***[Alignments](https://igv.org/web/release/2.8.1/examples/cram-vcf.html)***
***[Alignments](https://igv.org/web/release/2.8.2/examples/cram-vcf.html)***

***[Interactions](https://igv.org/web/release/2.8.1/examples/arcs.html)***
***[Interactions](https://igv.org/web/release/2.8.2/examples/arcs.html)***

***[Copy number](https://igv.org/web/release/2.8.1/examples/copyNumber.html)***
***[Copy number](https://igv.org/web/release/2.8.2/examples/copyNumber.html)***

***[Multiple regions](https://igv.org/web/release/2.8.1/examples/multi-locus.html)***
***[Multiple regions](https://igv.org/web/release/2.8.2/examples/multi-locus.html)***

***[Mutation Annotation Format (MAF)](https://igv.org/web/release/2.8.1/examples/maf-tcga.html)***
***[Mutation Annotation Format (MAF)](https://igv.org/web/release/2.8.2/examples/maf-tcga.html)***

***[More](https://igv.org/web/release/2.8.1/examples/)***
***[More](https://igv.org/web/release/2.8.2/examples/)***


# Quickstart
Expand All @@ -35,11 +35,11 @@ See the [Wiki](https://github.com/igvteam/igv.js/wiki) for more documentation.
igv.js consists of a single javascript file with no external dependencies. To link directly to the current release copy this snippet

```html
<script src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/igv.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].2/dist/igv.min.js"></script>
```

Pre-built files for ES5 (igv.min.js) and ES6 (igv.esm.min.js)
can be downloaded from [https://cdn.jsdelivr.net/npm/[email protected].1/dist/](https://cdn.jsdelivr.net/npm/[email protected].1/dist/).
can be downloaded from [https://cdn.jsdelivr.net/npm/[email protected].2/dist/](https://cdn.jsdelivr.net/npm/[email protected].2/dist/).

Alternatively you can install with npm

Expand Down
2 changes: 1 addition & 1 deletion js/version.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const _version = "2.8.1"
const _version = "2.8.2"
function version() {
return _version;
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "igv",
"version": "2.8.1",
"version": "2.8.2",
"main": "dist/igv.esm.js",
"browser": "dist/igv.js",
"module": "dist/igv.esm.js",
Expand Down Expand Up @@ -62,6 +62,6 @@
},
"dependencies": {
"igv-ui": "git+https://github.com/igvteam/igv-ui.git#v1.1.5",
"igv-utils": "git+https://github.com/igvteam/igv-utils.git#v1.2.6"
"igv-utils": "git+https://github.com/igvteam/igv-utils.git#v1.2.7"
}
}
4 changes: 3 additions & 1 deletion test/utils/mockObjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ global.navigator = {

global.DOMParser = DOMParser;

global.atob = require('atob')
global.atob = require('atob');

global.btoa = require('btoa');


0 comments on commit df0bb31

Please sign in to comment.