Skip to content

Commit 3bd9607

Browse files
authored
chore(core): upgrade higlass (#1003)
* chore: upgrade higlass * chore: css import changes
1 parent 59aed49 commit 3bd9607

File tree

4 files changed

+9
-33
lines changed

4 files changed

+9
-33
lines changed

editor/html-template.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
import { version as _goslingVersion } from '../package.json';
2+
import { dependencies as _goslingDependencies } from '../package.json';
23

34
export const getHtmlTemplate = (
45
spec: string,
56
reactVersion = 18,
67
pixiVersion = 6,
7-
higlassVersion = 1.13,
8+
higlassVersion = _goslingDependencies['higlass'],
89
goslingVersion = _goslingVersion
910
) => `
1011
<!DOCTYPE html>
1112
<html>
1213
<head>
1314
<title>Gosling Visualization</title>
14-
<link rel="stylesheet" href="https://esm.sh/higlass@${higlassVersion}/dist/hglib.css">
1515
<script type="importmap">
1616
{
1717
"imports": {

editor/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { createRoot } from 'react-dom/client';
33
import { BrowserRouter, Route } from 'react-router-dom';
44
import Editor from './Editor';
55
import './index.css';
6-
import 'higlass/dist/hglib.css';
76

87
const root = createRoot(document.getElementById('root') as HTMLElement);
98

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"fflate": "^0.7.1",
6767
"generic-filehandle": "^3.0.1",
6868
"gosling-theme": "^0.0.10",
69-
"higlass": "^1.13.2",
69+
"higlass": "^1.13.3",
7070
"higlass-register": "^0.3.0",
7171
"higlass-text": "^0.1.1",
7272
"json-stringify-pretty-compact": "^2.0.0",

yarn.lock

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2778,11 +2778,6 @@ email-addresses@^3.0.1:
27782778
resolved "https://registry.yarnpkg.com/email-addresses/-/email-addresses-3.1.0.tgz#cabf7e085cbdb63008a70319a74e6136188812fb"
27792779
integrity sha512-k0/r7GrWVL32kZlGwfPNgB2Y/mMXVTq/decgLczm/j34whdaspNrZO8CnXPf1laaHxI6ptUlsnAxN+UAPw+fzg==
27802780

2781-
emitter-component@^1.1.1:
2782-
version "1.1.1"
2783-
resolved "https://registry.yarnpkg.com/emitter-component/-/emitter-component-1.1.1.tgz#065e2dbed6959bf470679edabeaf7981d1003ab6"
2784-
integrity sha512-G+mpdiAySMuB7kesVRLuyvYRqDmshB7ReKEVuyBPkzQlmiDiLrt7hHHIy4Aff552bgknVN7B2/d3lzhGO5dvpQ==
2785-
27862781
emoji-regex@^8.0.0:
27872782
version "8.0.0"
27882783
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
@@ -3670,10 +3665,10 @@ higlass-text@^0.1.1:
36703665
higlass-register "^0.3.0"
36713666
slugid "^2.0.0"
36723667

3673-
higlass@^1.13.2:
3674-
version "1.13.2"
3675-
resolved "https://registry.yarnpkg.com/higlass/-/higlass-1.13.2.tgz#54d3832a6c3c583b7418c0a386a4716f5cf3389e"
3676-
integrity sha512-B+56rUulGpkI8ep3Dt9QIowKg/Zo9eLBkNHSM/ethuSB5HngC3fVOWu7Ienr0ZAz3/eqmhbSFTh/D1IQqFI5ug==
3668+
higlass@^1.13.3:
3669+
version "1.13.3"
3670+
resolved "https://registry.yarnpkg.com/higlass/-/higlass-1.13.3.tgz#8bf01bce70f64fa333cb589433c2bca808542334"
3671+
integrity sha512-aZ+Q+ClF1TTeV81ChuGSd5CHiVJf8+1c6w6/sXGAOonkGVQ54yuZpSYafMatKAjytM6/fwSaHs3uQT2xUEE2MA==
36773672
dependencies:
36783673
ajv "^6.10.0"
36793674
box-intersect "^1.0.1"
@@ -3703,15 +3698,12 @@ higlass@^1.13.2:
37033698
pub-sub-es "^2.0.1"
37043699
react-checkbox-tree "^1.7.3"
37053700
react-color "^2.13.8"
3706-
react-contextmenu "^2.9.2"
37073701
react-grid-layout "^0.16.6"
3708-
react-resizable "^1.8.0"
37093702
react-simple-code-editor "^0.9.10"
37103703
react-sortable-hoc "^1.10.1"
37113704
reactcss "^1.2.3"
37123705
robust-point-in-polygon "^1.0.3"
37133706
slugid "^3.2.0"
3714-
stream "0.0.2"
37153707
url-parse "^1.4.3"
37163708
vkbeautify "^0.99.3"
37173709

@@ -4983,7 +4975,7 @@ nwsapi@^2.2.0:
49834975
resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.4.tgz#fd59d5e904e8e1f03c25a7d5a15cfa16c714a1e5"
49844976
integrity sha512-NHj4rzRo0tQdijE9ZqAx6kYDcoRwYwSYzCA8MY3JzfxlrvEU0jhnhJT9BhqhJs7I/dKcrDm6TyulaRqZPIhN5g==
49854977

4986-
object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
4978+
object-assign@^4.0.1, object-assign@^4.1.1:
49874979
version "4.1.1"
49884980
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
49894981
integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==
@@ -5570,14 +5562,6 @@ react-color@^2.13.8:
55705562
reactcss "^1.2.0"
55715563
tinycolor2 "^1.4.1"
55725564

5573-
react-contextmenu@^2.9.2:
5574-
version "2.14.0"
5575-
resolved "https://registry.yarnpkg.com/react-contextmenu/-/react-contextmenu-2.14.0.tgz#d8966f30614b9b780b928be4c8d92bd740d55cdd"
5576-
integrity sha512-ktqMOuad6sCFNJs/ltEwppN8F0YeXmqoZfwycgtZR/MxOXMYx1xgYC44SzWH259HdGyshk1/7sXGuIRwj9hzbw==
5577-
dependencies:
5578-
classnames "^2.2.5"
5579-
object-assign "^4.1.0"
5580-
55815565
react-dom@^18.2.0:
55825566
version "18.2.0"
55835567
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d"
@@ -5652,7 +5636,7 @@ react-refresh@^0.14.0:
56525636
resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.14.0.tgz#4e02825378a5f227079554d4284889354e5f553e"
56535637
integrity sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==
56545638

5655-
[email protected], react-resizable@^1.8.0:
5639+
56565640
version "1.11.1"
56575641
resolved "https://registry.yarnpkg.com/react-resizable/-/react-resizable-1.11.1.tgz#02ca6850afa7a22c1b3e623e64aef71ee252af69"
56585642
integrity sha512-S70gbLaAYqjuAd49utRHibtHLrHXInh7GuOR+6OO6RO6uleQfuBnWmZjRABfqNEx3C3Z6VPLg0/0uOYFrkfu9Q==
@@ -6188,13 +6172,6 @@ stream-browserify@^3.0.0:
61886172
inherits "~2.0.4"
61896173
readable-stream "^3.5.0"
61906174

6191-
6192-
version "0.0.2"
6193-
resolved "https://registry.yarnpkg.com/stream/-/stream-0.0.2.tgz#7f5363f057f6592c5595f00bc80a27f5cec1f0ef"
6194-
integrity sha512-gCq3NDI2P35B2n6t76YJuOp7d6cN/C7Rt0577l91wllh0sY9ZBuw9KaSGqH/b0hzn3CWWJbpbW0W0WvQ1H/Q7g==
6195-
dependencies:
6196-
emitter-component "^1.1.1"
6197-
61986175
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0:
61996176
version "4.2.3"
62006177
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"

0 commit comments

Comments
 (0)