From 618d0033135085607bce7b3b39c33bc93a39bbc5 Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 29 Oct 2023 21:15:57 -0400 Subject: [PATCH] MouseCol2 --- .eslintignore | 1 + app/package.json | 12 ++-- lib/package.json | 5 +- yarn.lock | 165 +++++++++++++++++++++++++++++++++++++++++------ 4 files changed, 155 insertions(+), 28 deletions(-) diff --git a/.eslintignore b/.eslintignore index 8fb13d59..5a1ac68b 100644 --- a/.eslintignore +++ b/.eslintignore @@ -6,3 +6,4 @@ node_modules/ **/dist/ **/bundle/ .eslintrc.js +lib/output-version.js diff --git a/app/package.json b/app/package.json index eca469d0..26070b93 100644 --- a/app/package.json +++ b/app/package.json @@ -13,19 +13,19 @@ "dependencies": { "@emotion/react": "^11.10.8", "@emotion/styled": "^11.10.8", - "@jbrowse/core": "^2.4.2", - "@mui/material": "^5.12.3", - "@mui/x-data-grid": "^6.14.0", + "@jbrowse/core": "^2.7.2", + "@mui/material": "^5.14.15", + "@mui/x-data-grid": "^6.17.0", "@testing-library/jest-dom": "^6.1.3", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.5.1", "@types/jest": "^29.5.1", - "@types/node": "^20.6.2", + "@types/node": "^20.8.9", "buffer": "^6.0.3", "gh-pages": "^6.0.0", "mobx": "^6.9.0", "mobx-react": "^9.0.1", - "mobx-state-tree": "5.2.0", + "mobx-state-tree": "5.3.0", "ngl": "^2.0.0", "react": "^18.2.0", "react-dom": "^18.2.0", @@ -35,7 +35,7 @@ "tss-react": "^4.8.3" }, "devDependencies": { - "@types/react": "^18.2.0", + "@types/react": "^18.2.33", "@types/react-dom": "^18.2.1", "@vitejs/plugin-react": "^4.0.0", "typescript": "^5.0.4", diff --git a/lib/package.json b/lib/package.json index ca1b95fa..c2691321 100644 --- a/lib/package.json +++ b/lib/package.json @@ -38,13 +38,14 @@ "@rollup/plugin-commonjs": "^25.0.4", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", - "@rollup/plugin-replace": "^5.0.2", + "@rollup/plugin-replace": "^5.0.5", "@rollup/plugin-terser": "^0.4.1", "@rollup/plugin-typescript": "^11.1.0", "@types/color": "^3.0.1", "@types/d3": "^7.4.0", - "@types/react": "^18.2.0", + "@types/react": "^18.2.33", "@types/react-dom": "^18.2.1", + "eslint-plugin-unicorn": "^49.0.0", "rollup": "^3.0.2", "rollup-plugin-polyfill-node": "^0.12.0", "slugify": "^1.6.6", diff --git a/yarn.lock b/yarn.lock index 48ead508..064d57d8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -530,10 +530,10 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz#e5211452df060fa8522b55c7b3c0c4d1981cb044" integrity sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw== -"@jbrowse/core@^2.4.2": - version "2.7.1" - resolved "https://registry.yarnpkg.com/@jbrowse/core/-/core-2.7.1.tgz#0389f455b2cbb65af2094c498935bc9b971f9200" - integrity sha512-9l4byuy4pe59eM4T8M/hxqyCcc5nn4jMKF0HUd+fnOIeg0cfw/JplcswufGyEvqPzj7HhFBFsVHwVj3DZ79/LA== +"@jbrowse/core@^2.7.2": + version "2.7.2" + resolved "https://registry.yarnpkg.com/@jbrowse/core/-/core-2.7.2.tgz#1129f21aca493f0f7af40b381363514b23ef2f73" + integrity sha512-nzT1lFgdoABDs6N/T+BWWZwQfDPdsITj2rzk4U2Hum6gdO8zoXsKBc6uaZG9mK/zkpP8EkjYftpeIcAi3mEjPA== dependencies: "@babel/runtime" "^7.17.9" "@gmod/bgzf-filehandle" "^1.4.3" @@ -648,11 +648,29 @@ clsx "^2.0.0" prop-types "^15.8.1" +"@mui/base@5.0.0-beta.21": + version "5.0.0-beta.21" + resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-beta.21.tgz#5bf952c9d3703ae4f697702f0821e5dea178f34e" + integrity sha512-eTKWx3WV/nwmRUK4z4K1MzlMyWCsi3WJ3RtV4DiXZeRh4qd4JCyp1Zzzi8Wv9xM4dEBmqQntFoei716PzwmFfA== + dependencies: + "@babel/runtime" "^7.23.2" + "@floating-ui/react-dom" "^2.0.2" + "@mui/types" "^7.2.7" + "@mui/utils" "^5.14.15" + "@popperjs/core" "^2.11.8" + clsx "^2.0.0" + prop-types "^15.8.1" + "@mui/core-downloads-tracker@^5.14.14": version "5.14.14" resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.14.14.tgz#a54894e9b4dc908ab2d59eac543219d9018448e6" integrity sha512-Rw/xKiTOUgXD8hdKqj60aC6QcGprMipG7ne2giK6Mz7b4PlhL/xog9xLeclY3BxsRLkZQ05egFnIEY1CSibTbw== +"@mui/core-downloads-tracker@^5.14.15": + version "5.14.15" + resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.14.15.tgz#23a9100eb125e5ab92e350e53e613e171d80be3b" + integrity sha512-ZCDzBWtCKjAYAlKKM3PA/jG/3uVIDT9ZitOtVixIVmTCQyc5jSV1qhJX8+qIGz4RQZ9KLzPWO2tXd0O5hvzouQ== + "@mui/icons-material@^5.0.1": version "5.14.14" resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.14.14.tgz#02d33f51f0b9de238d5c47b0a31ff330144393c4" @@ -660,7 +678,7 @@ dependencies: "@babel/runtime" "^7.23.1" -"@mui/material@^5.0.0", "@mui/material@^5.12.3": +"@mui/material@^5.0.0": version "5.14.14" resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.14.14.tgz#e47f3992b609002cd57a71f70e829dc2d286028c" integrity sha512-cAmCwAHFQXxb44kWbVFkhKATN8tACgMsFwrXo8ro6WzYW73U/qsR5AcCiJIhCyYYg+gcftfkmNcpRaV3JjhHCg== @@ -678,6 +696,24 @@ react-is "^18.2.0" react-transition-group "^4.4.5" +"@mui/material@^5.14.15": + version "5.14.15" + resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.14.15.tgz#dadc58588aef4556a0ed6a2d70ad70922df5264f" + integrity sha512-Gq65rHjvLzkxmhG8bvag851Oqsmru7qkUb/cCI2xu7dQzmY345f9xJRJi72sRGjhaqHXWeRKw/yIwp/7oQoeXg== + dependencies: + "@babel/runtime" "^7.23.2" + "@mui/base" "5.0.0-beta.21" + "@mui/core-downloads-tracker" "^5.14.15" + "@mui/system" "^5.14.15" + "@mui/types" "^7.2.7" + "@mui/utils" "^5.14.15" + "@types/react-transition-group" "^4.4.7" + clsx "^2.0.0" + csstype "^3.1.2" + prop-types "^15.8.1" + react-is "^18.2.0" + react-transition-group "^4.4.5" + "@mui/private-theming@^5.14.14": version "5.14.14" resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-5.14.14.tgz#035dde1eb30c896c69a12b7dee1dce3a323c66e9" @@ -687,6 +723,15 @@ "@mui/utils" "^5.14.13" prop-types "^15.8.1" +"@mui/private-theming@^5.14.15": + version "5.14.15" + resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-5.14.15.tgz#1889c92cf8b5c3bca1cdfcc678010c24ad57102d" + integrity sha512-V2Xh+Tu6A07NoSpup0P9m29GwvNMYl5DegsGWqlOTJyAV7cuuVjmVPqxgvL8xBng4R85xqIQJRMjtYYktoPNuQ== + dependencies: + "@babel/runtime" "^7.23.2" + "@mui/utils" "^5.14.15" + prop-types "^15.8.1" + "@mui/styled-engine@^5.14.13": version "5.14.14" resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.14.14.tgz#b0ededf531fff1ef110f7b263c2d3d95a0b8ec9a" @@ -697,6 +742,16 @@ csstype "^3.1.2" prop-types "^15.8.1" +"@mui/styled-engine@^5.14.15": + version "5.14.15" + resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.14.15.tgz#01e9bd5cc0f4d83e9f636086d42b92ed1b0a360e" + integrity sha512-mbOjRf867BysNpexe5Z/P8s3bWzDPNowmKhi7gtNDP/LPEeqAfiDSuC4WPTXmtvse1dCl30Nl755OLUYuoi7Mw== + dependencies: + "@babel/runtime" "^7.23.2" + "@emotion/cache" "^11.11.0" + csstype "^3.1.2" + prop-types "^15.8.1" + "@mui/system@^5.14.14": version "5.14.14" resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.14.14.tgz#f33327e74230523169107ace960e8bb51cbdbab7" @@ -711,11 +766,30 @@ csstype "^3.1.2" prop-types "^15.8.1" +"@mui/system@^5.14.15": + version "5.14.15" + resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.14.15.tgz#d232134170c46a09414c1ec8707d42bdc043fd90" + integrity sha512-zr0Gdk1RgKiEk+tCMB900LaOpEC8NaGvxtkmMdL/CXgkqQZSVZOt2PQsxJWaw7kE4YVkIe4VukFVc43qcq9u3w== + dependencies: + "@babel/runtime" "^7.23.2" + "@mui/private-theming" "^5.14.15" + "@mui/styled-engine" "^5.14.15" + "@mui/types" "^7.2.7" + "@mui/utils" "^5.14.15" + clsx "^2.0.0" + csstype "^3.1.2" + prop-types "^15.8.1" + "@mui/types@^7.2.6": version "7.2.6" resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.6.tgz#d72b9e9eb0032e107e76033932d65c3f731d2608" integrity sha512-7sjLQrUmBwufm/M7jw/quNiPK/oor2+pGUQP2CULRcFCArYTq78oJ3D5esTaL0UMkXKJvDqXn6Ike69yAOBQng== +"@mui/types@^7.2.7": + version "7.2.7" + resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.7.tgz#726052f7d519f0f64657576109aa297def9443ac" + integrity sha512-sofpWmcBqOlTzRbr1cLQuUDKaUYVZTw8ENQrtL39TECRNENEzwgnNPh6WMfqMZlMvf1Aj9DLg74XPjnLr0izUQ== + "@mui/utils@^5.14.13", "@mui/utils@^5.14.14": version "5.14.14" resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.14.14.tgz#7b2a0bcfb44c3376fc81f85500f9bd01706682ac" @@ -726,10 +800,20 @@ prop-types "^15.8.1" react-is "^18.2.0" -"@mui/x-data-grid@^6.14.0": - version "6.16.3" - resolved "https://registry.yarnpkg.com/@mui/x-data-grid/-/x-data-grid-6.16.3.tgz#5440b7f56ee2e62a315b36c2a1f900b11da8fa59" - integrity sha512-msohYxn11JHzeQOywaH5wGSCb/fESootqHLKG6LuET7xOxjHS8GlN/GuW/4kKcbQRunSVh/ADwqpqq+SmWrSeQ== +"@mui/utils@^5.14.15": + version "5.14.15" + resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.14.15.tgz#5f8bc39f29cf9fe95fa2c725e441f2116656d9fd" + integrity sha512-QBfHovAvTa0J1jXuYDaXGk+Yyp7+Fm8GSqx6nK2JbezGqzCFfirNdop/+bL9Flh/OQ/64PeXcW4HGDdOge+n3A== + dependencies: + "@babel/runtime" "^7.23.2" + "@types/prop-types" "^15.7.8" + prop-types "^15.8.1" + react-is "^18.2.0" + +"@mui/x-data-grid@^6.17.0": + version "6.17.0" + resolved "https://registry.yarnpkg.com/@mui/x-data-grid/-/x-data-grid-6.17.0.tgz#ef8b04ddc53a9a3cf25dbd55efcc09f7d63cb01b" + integrity sha512-HlpavV9jR7bLDYfi7n05R0xSsLl5ZxCTy3J5g4OfQtxhg9Zsu1uOkkLfudsM5LFqTbi5o+3PvZ9Kh33VvNUN/w== dependencies: "@babel/runtime" "^7.23.2" "@mui/utils" "^5.14.14" @@ -820,10 +904,10 @@ is-module "^1.0.0" resolve "^1.22.1" -"@rollup/plugin-replace@^5.0.2": - version "5.0.4" - resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-5.0.4.tgz#fef548dc751d06747e8dca5b0e8e1fbf647ac7e1" - integrity sha512-E2hmRnlh09K8HGT0rOnnri9OTh+BILGr7NVJGB30S4E3cLRn3J0xjdiyOZ74adPs4NiAMgrjUMGAZNJDBgsdmQ== +"@rollup/plugin-replace@^5.0.5": + version "5.0.5" + resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-5.0.5.tgz#33d5653dce6d03cb24ef98bef7f6d25b57faefdf" + integrity sha512-rYO4fOi8lMaTg/z5Jb+hKnrHHVn8j2lwkqwyS4kTRhKyWOLf2wST2sWXr4WzWiTcoHTp2sTjqUbqIj2E39slKQ== dependencies: "@rollup/pluginutils" "^5.0.1" magic-string "^0.30.3" @@ -1280,13 +1364,20 @@ resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== -"@types/node@*", "@types/node@^20.6.2": +"@types/node@*": version "20.8.8" resolved "https://registry.yarnpkg.com/@types/node/-/node-20.8.8.tgz#adee050b422061ad5255fc38ff71b2bb96ea2a0e" integrity sha512-YRsdVxq6OaLfmR9Hy816IMp33xOBjfyOgUd77ehqg96CFywxAPbDbXvAsuN2KVg2HOT8Eh6uAfU+l4WffwPVrQ== dependencies: undici-types "~5.25.1" +"@types/node@^20.8.9": + version "20.8.9" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.8.9.tgz#646390b4fab269abce59c308fc286dcd818a2b08" + integrity sha512-UzykFsT3FhHb1h7yD4CA4YhBHq545JC0YnEz41xkipN88eKQtL6rSgocL5tbAP6Ola9Izm/Aw4Ora8He4x0BHg== + dependencies: + undici-types "~5.26.4" + "@types/normalize-package-data@^2.4.0": version "2.4.3" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.3.tgz#291c243e4b94dbfbc0c0ee26b7666f1d5c030e2c" @@ -1302,7 +1393,7 @@ resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.1.tgz#27f7559836ad796cea31acb63163b203756a5b4e" integrity sha512-3YmXzzPAdOTVljVMkTMBdBEvlOLg2cDQaDhnnhT3nT9uDbnJzjWhKlzb+desT12Y7tGqaN6d+AbozcKzyL36Ng== -"@types/prop-types@*", "@types/prop-types@^15.7.7": +"@types/prop-types@*", "@types/prop-types@^15.7.7", "@types/prop-types@^15.7.8": version "15.7.9" resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.9.tgz#b6f785caa7ea1fe4414d9df42ee0ab67f23d8a6d" integrity sha512-n1yyPsugYNSmHgxDFjicaI2+gCNjsBck8UX9kuofAKlc0h1bL+20oSF72KeNaW2DUlesbEVCFgyV2dPGTiY42g== @@ -1326,7 +1417,7 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@^18.2.0": +"@types/react@*": version "18.2.31" resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.31.tgz#74ae2630e4aa9af599584157abd3b95d96fb9b40" integrity sha512-c2UnPv548q+5DFh03y8lEDeMfDwBn9G3dRwfkrxQMo/dOtRHUUO57k6pHvBIfH/VF4Nh+98mZ5aaSe+2echD5g== @@ -1335,6 +1426,15 @@ "@types/scheduler" "*" csstype "^3.0.2" +"@types/react@^18.2.33": + version "18.2.33" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.33.tgz#055356243dc4350a9ee6c6a2c07c5cae12e38877" + integrity sha512-v+I7S+hu3PIBoVkKGpSYYpiBT1ijqEzWpzQD62/jm4K74hPpSP7FF9BnKG6+fg2+62weJYkkBWDJlZt5JO/9hg== + dependencies: + "@types/prop-types" "*" + "@types/scheduler" "*" + csstype "^3.0.2" + "@types/resolve@1.20.2": version "1.20.2" resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.20.2.tgz#97d26e00cd4a0423b4af620abecf3e6f442b7975" @@ -2366,6 +2466,26 @@ eslint-plugin-unicorn@^48.0.1: semver "^7.5.4" strip-indent "^3.0.0" +eslint-plugin-unicorn@^49.0.0: + version "49.0.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-49.0.0.tgz#4449ea954d7e1455eec8518f9417d7021b245fa8" + integrity sha512-0fHEa/8Pih5cmzFW5L7xMEfUTvI9WKeQtjmKpTUmY+BiFCDxkxrTdnURJOHKykhtwIeyYsxnecbGvDCml++z4Q== + dependencies: + "@babel/helper-validator-identifier" "^7.22.20" + "@eslint-community/eslint-utils" "^4.4.0" + ci-info "^3.8.0" + clean-regexp "^1.0.0" + esquery "^1.5.0" + indent-string "^4.0.0" + is-builtin-module "^3.2.1" + jsesc "^3.0.2" + pluralize "^8.0.0" + read-pkg-up "^7.0.1" + regexp-tree "^0.1.27" + regjsparser "^0.10.0" + semver "^7.5.4" + strip-indent "^3.0.0" + eslint-scope@^7.2.2: version "7.2.2" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f" @@ -3516,10 +3636,10 @@ mobx-react@^9.0.1: dependencies: mobx-react-lite "^4.0.4" -mobx-state-tree@5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/mobx-state-tree/-/mobx-state-tree-5.2.0.tgz#784fb22b7d2b1598c6b4fb8987d68d86eaf66d8b" - integrity sha512-TAKfMHEF9F59iAcLbD1Y9D8Kand4NoYM1h8Yv3Ol5la9X0I7T4Y/mhVN/oK/bi3g0v7dYy9wsoni2T66zCohGQ== +mobx-state-tree@5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/mobx-state-tree/-/mobx-state-tree-5.3.0.tgz#fb743c4bfe770628aaed2f4d961a4b61fdd74126" + integrity sha512-2XInCjIxGQx/UmTbpAreWKcHswmuOKOV23HJmy1x4gqyDqCcOHJcaClpWnD2/qQlGncg8gAUfP/mm+cLpTrtlQ== mobx@^6.9.0: version "6.10.2" @@ -4631,6 +4751,11 @@ undici-types@~5.25.1: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.25.3.tgz#e044115914c85f0bcbb229f346ab739f064998c3" integrity sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA== +undici-types@~5.26.4: + version "5.26.5" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" + integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== + universalify@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717"