Updating front-end dependencies (#2167)

* update to webpack 5

* update babel

* update eslint

* update cheerio

* update npm min to v7

* revert engine change

* generate package lock with npm v6 (lockfileVersion 1)

* add region to test setup

* update blueprint popover2

* tabindex changes due to blueprint popover2 revision

* update snapshots

* update lodash and pako

* fix typo

* fix lodash refactoring

* more lodash refactoring

* update babel and blueprintjs

* update jest support packages

* update puppeteer

* update regl

* update react-icons and react-helmet

* update react and react-dom
This commit is contained in:
Bruce Martin
2021-04-21 07:23:31 -07:00
committed by GitHub
parent e2ce9a90ca
commit 99a795a688
27 changed files with 4898 additions and 28029 deletions
+3 -2
View File
@@ -3,8 +3,9 @@
* @param geneString - a string of comma delimited genes
* @returns an array
*/
import _ from "lodash";
import pull from "lodash.pull";
import uniq from "lodash.uniq";
export default function parseBulkGeneString(geneString) {
return _.pull(_.uniq(geneString.split(/[ ,]+/)), "");
return pull(uniq(geneString.split(/[ ,]+/)), "");
}