From df0bb31c1a2ecd197ea795d6dd916d4b4b1a0898 Mon Sep 17 00:00:00 2001 From: jrobinso Date: Tue, 11 May 2021 16:22:04 -0700 Subject: [PATCH] update igv-utils to remove a runtime dependency on the node 'btoa' package. Fixes #1325. --- README.md | 16 ++++++++-------- js/version.js | 2 +- package.json | 4 ++-- test/utils/mockObjects.js | 4 +++- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 591e4c905..5006ed6e0 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 - + ``` Pre-built files for ES5 (igv.min.js) and ES6 (igv.esm.min.js) -can be downloaded from [https://cdn.jsdelivr.net/npm/igv@2.8.1/dist/](https://cdn.jsdelivr.net/npm/igv@2.8.1/dist/). +can be downloaded from [https://cdn.jsdelivr.net/npm/igv@2.8.2/dist/](https://cdn.jsdelivr.net/npm/igv@2.8.2/dist/). Alternatively you can install with npm diff --git a/js/version.js b/js/version.js index b6dec0ebb..2d4358c6a 100644 --- a/js/version.js +++ b/js/version.js @@ -1,4 +1,4 @@ -const _version = "2.8.1" +const _version = "2.8.2" function version() { return _version; } diff --git a/package.json b/package.json index f421a5622..f93827640 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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" } } diff --git a/test/utils/mockObjects.js b/test/utils/mockObjects.js index 013bf8e9a..8f381c830 100644 --- a/test/utils/mockObjects.js +++ b/test/utils/mockObjects.js @@ -29,6 +29,8 @@ global.navigator = { global.DOMParser = DOMParser; -global.atob = require('atob') +global.atob = require('atob'); + +global.btoa = require('btoa');