ucscXena / XenaGoWidget

Xena Gene Set Viewer (demo: http://xenademo.berkeleybop.io/xena)
https://xenageneset.berkeleybop.io/xena/
BSD 3-Clause "New" or "Revised" License
2 stars 5 forks source link

upgrade ucsc client via audit #213

Closed nathandunn closed 5 years ago

nathandunn commented 5 years ago
nathandunn commented 5 years ago

I get this error:

[HMR] Waiting for update signal from WDS...
underscore_ext.js:3 Uncaught ReferenceError: regeneratorRuntime is not defined
    at Object../node_modules/ucsc-xena-client/dist/underscore_ext.js (underscore_ext.js:3)
    at __webpack_require__ (bootstrap:782)
    at fn (bootstrap:150)
    at Object../node_modules/ucsc-xena-client/dist/rx.js (rx.js:5)
    at __webpack_require__ (bootstrap:782)
    at fn (bootstrap:150)
    at Object../node_modules/ucsc-xena-client/dist/xenaQuery.js (xenaQuery.js:17)
    at __webpack_require__ (bootstrap:782)
    at fn (bootstrap:150)
    at Module.<anonymous> (XenaGoViewer.js:11)
./node_modules/ucsc-xena-client/dist/underscore_ext.js @ underscore_ext.js:3
__webpack_require__ @ bootstrap:782
fn @ bootstrap:150
./node_modules/ucsc-xena-client/dist/rx.js @ rx.js:5
__webpack_require__ @ bootstrap:782
fn @ bootstrap:150
./node_modules/ucsc-xena-client/dist/xenaQuery.js @ xenaQuery.js:17
__webpack_require__ @ bootstrap:782
fn @ bootstrap:150
(anonymous) @ XenaGoViewer.js:11
./src/components/XenaGoViewer.js @ XenaGoViewer.js:400
__webpack_require__ @ bootstrap:782
fn @ bootstrap:150
(anonymous) @ VerticalGeneSetScoresView.js:137
./src/components/XenaGeneSetApp.js @ XenaGeneSetApp.js:51
__webpack_require__ @ bootstrap:782
fn @ bootstrap:150
(anonymous) @ main.demo.js:23
./demo/src/index.js @ index.js:23
__webpack_require__ @ bootstrap:782
fn @ bootstrap:150
0 @ AppStorageHandler.js:57
__webpack_require__ @ bootstrap:782
checkDeferredModules @ bootstrap:45
webpackJsonpCallback @ bootstrap:32
(anonymous) @ main.demo.js:1
client:77 [WDS] Hot Module Replacement enabled.

When making this change:

diff --git a/package.json b/package.json
index 3027a9f..62217f3 100644
--- a/package.json
+++ b/package.json
@@ -30,13 +30,25 @@
     "react-material-responsive-grid": "^1.2.1",
     "react-toolbox": "^2.0.0-beta.12",
     "tiny-lru": "^6.0.1",
-    "ucsc-xena-client": "2.42.0",
+    "ucsc-xena-client": "^2.69.0",
     "underscore": "^1.8.3"
   },
   "peerDependencies": {
     "react": "15.x"
   },
nathandunn commented 5 years ago

@acthp Some questions when you have time?

  1. should I move to react 16?
  2. it would be good to be up to date (when I can) with the ucsc-xena-client (though not essential right here). Any thoughts on how I fix this?
nathandunn commented 5 years ago

https://github.com/ucscXena/ucsc-xena-client/compare/d2d9324459b3ee3ed703679d0222c24090cca854..d8c59e225d390831f55cd362370766fed538671e