From 1f22e1c6e010d6e72af1bbcb509271de795e5863 Mon Sep 17 00:00:00 2001 From: Guillermo Espinosa Date: Thu, 6 Feb 2025 09:22:45 -0300 Subject: [PATCH] chore: upgrade react-router-dom to v5 --- CHANGELOG.md | 2 +- package.json | 2 +- packages/bio-parsers/package.json | 8 +++- packages/ove/package.json | 2 +- packages/sequence-utils/package.json | 6 +++ packages/ui/package.json | 2 +- yarn.lock | 56 ++++++++++++++++------------ 7 files changed, 50 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 80f6bcda..829719e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,5 +75,5 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - Added fix for clipboard commands when there are multiple editors on a page to resolve https://github.com/TeselaGen/tg-oss/issues/24 [`#24`](https://github.com/TeselaGen/tg-oss/issues/24) - closes #35 [`#35`](https://github.com/TeselaGen/tg-oss/issues/35) - updating yarn lock [`ff41df0`](https://github.com/TeselaGen/tg-oss/commit/ff41df0b49b8051fcba084f7eaa44cf23284926d) -- alignment view refactor [`d8bc528`](https://github.com/TeselaGen/tg-oss/commit/d8bc528a6c7a7f30300c8aa06db7b31940bca13b) - withTableParams refactor & new useTableParams [`0c2871f`](https://github.com/TeselaGen/tg-oss/commit/0c2871f731d54a51a76b27c19091e76bcee6de1e) +- feat: add multi-view column functionality to DataTable for enhanced visibility control and add example of it in the ove demo [`f47d69a`](https://github.com/TeselaGen/tg-oss/commit/f47d69a4c01078a0abd284343f4f364c7cc5d389) diff --git a/package.json b/package.json index cc30fb5c..6a6d9155 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "react-measure": "^2.5.2", "react-redux": "^8.0.5", "react-rnd": "^10.2.4", - "react-router-dom": "4", + "react-router-dom": "5", "react-sizeme": "^2.6.12", "react-transition-group": "^2.4.0", "recompose": "npm:react-recompose@0.31.1", diff --git a/packages/bio-parsers/package.json b/packages/bio-parsers/package.json index edbe16e4..2730a91a 100644 --- a/packages/bio-parsers/package.json +++ b/packages/bio-parsers/package.json @@ -1,6 +1,6 @@ { "name": "@teselagen/bio-parsers", - "version": "0.4.22", + "version": "0.4.23-beta.3", "type": "module", "dependencies": { "@gmod/gff": "^1.2.1", @@ -12,5 +12,11 @@ "lodash-es": "^4.17.21", "string_decoder": "^1.3.0", "validate.io-nonnegative-integer-array": "^1.0.1" + }, + "exports": { + ".": { + "import": "./index.js", + "require": "./index.cjs" + } } } diff --git a/packages/ove/package.json b/packages/ove/package.json index 4c7bf88c..c6e1dd9f 100644 --- a/packages/ove/package.json +++ b/packages/ove/package.json @@ -1,6 +1,6 @@ { "name": "@teselagen/ove", - "version": "0.7.20", + "version": "0.7.21-beta.1", "main": "./src/index.js", "type": "module", "exports": { diff --git a/packages/sequence-utils/package.json b/packages/sequence-utils/package.json index b379ed88..8ba8dafd 100644 --- a/packages/sequence-utils/package.json +++ b/packages/sequence-utils/package.json @@ -7,5 +7,11 @@ "escape-string-regexp": "^5.0.0", "jsondiffpatch": "0.4.1", "string-splice": "^1.3.0" + }, + "exports": { + ".": { + "import": "./index.js", + "require": "./index.cjs" + } } } diff --git a/packages/ui/package.json b/packages/ui/package.json index 0f6d4741..ac32aaf2 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@teselagen/ui", - "version": "0.7.20", + "version": "0.7.21-beta.1", "main": "./src/index.js", "type": "module", "exports": { diff --git a/yarn.lock b/yarn.lock index d91333bc..60423063 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1897,6 +1897,13 @@ dependencies: regenerator-runtime "^0.14.0" +"@babel/runtime@^7.12.13": + version "7.26.7" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.26.7.tgz#f4e7fe527cd710f8dc0618610b61b4b060c3c341" + integrity sha512-AOPI3D+a8dXnja+iwsUqGRjr1BbZIe771sXdapOtYI531gSqpi92vXivKcq2asu/DFpdl1ceFAKZyRzK2PCVcQ== + dependencies: + regenerator-runtime "^0.14.0" + "@babel/template@^7.22.15", "@babel/template@^7.24.0", "@babel/template@^7.3.3": version "7.24.0" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.24.0.tgz#c6a524aa93a4a05d66aaf31654258fae69d87d50" @@ -7672,7 +7679,7 @@ he@^1.2.0: resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== -history@^4.7.2: +history@^4.9.0: version "4.10.1" resolved "https://registry.yarnpkg.com/history/-/history-4.10.1.tgz#33371a65e3a83b267434e2b3f3b1b4c58aad4cf3" integrity sha512-36nwAD620w12kuzPAsyINPWJqlNbij+hpK1k9XRloDtym8mxzGYl2c17LnV6IAGB2Dmg4tEa7G7DlawS0+qjew== @@ -7684,12 +7691,12 @@ history@^4.7.2: tiny-warning "^1.0.0" value-equal "^1.0.1" -hoist-non-react-statics@^2.3.1, hoist-non-react-statics@^2.5.0: +hoist-non-react-statics@^2.3.1: version "2.5.5" resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz#c5903cf409c0dfd908f388e619d86b9c1174cb47" integrity sha512-rqcy4pJo55FTTLWt+bU8ukscqHeE/e9KWvsOW2b/a3afxQZhwkQdT1rPPCJ0rYXdj4vNcasY8zHTH+jF/qStxw== -hoist-non-react-statics@^3.3.0, hoist-non-react-statics@^3.3.2: +hoist-non-react-statics@^3.1.0, hoist-non-react-statics@^3.3.0, hoist-non-react-statics@^3.3.2: version "3.3.2" resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== @@ -11078,7 +11085,7 @@ react-dropzone@^11.4.2: file-selector "^0.4.0" prop-types "^15.8.1" -react-is@^16.13.1, react-is@^16.4.2, react-is@^16.7.0: +react-is@^16.13.1, react-is@^16.4.2, react-is@^16.6.0, react-is@^16.7.0: version "16.13.1" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== @@ -11163,30 +11170,33 @@ react-rnd@^10.2.4: react-draggable "4.4.5" tslib "2.3.1" -react-router-dom@4: - version "4.3.1" - resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-4.3.1.tgz#4c2619fc24c4fa87c9fd18f4fb4a43fe63fbd5c6" - integrity sha512-c/MlywfxDdCp7EnB7YfPMOfMD3tOtIjrQlj/CKfNMBxdmpJP8xcz5P/UAFn3JbnQCNUxsHyVVqllF9LhgVyFCA== +react-router-dom@5: + version "5.3.4" + resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-5.3.4.tgz#2ed62ffd88cae6db134445f4a0c0ae8b91d2e5e6" + integrity sha512-m4EqFMHv/Ih4kpcBCONHbkT68KoAeHN4p3lAGoNryfHi0dMy0kCzEZakiKRsvg5wHZ/JLrLW8o8KomWiz/qbYQ== dependencies: - history "^4.7.2" - invariant "^2.2.4" + "@babel/runtime" "^7.12.13" + history "^4.9.0" loose-envify "^1.3.1" - prop-types "^15.6.1" - react-router "^4.3.1" - warning "^4.0.1" + prop-types "^15.6.2" + react-router "5.3.4" + tiny-invariant "^1.0.2" + tiny-warning "^1.0.0" -react-router@^4.3.1: - version "4.3.1" - resolved "https://registry.yarnpkg.com/react-router/-/react-router-4.3.1.tgz#aada4aef14c809cb2e686b05cee4742234506c4e" - integrity sha512-yrvL8AogDh2X42Dt9iknk4wF4V8bWREPirFfS9gLU1huk6qK41sg7Z/1S81jjTrGHxa3B8R3J6xIkDAA6CVarg== +react-router@5.3.4: + version "5.3.4" + resolved "https://registry.yarnpkg.com/react-router/-/react-router-5.3.4.tgz#8ca252d70fcc37841e31473c7a151cf777887bb5" + integrity sha512-Ys9K+ppnJah3QuaRiLxk+jDWOR1MekYQrlytiXxC1RyfbdsZkS5pvKAzCCr031xHixZwpnsYNT5xysdFHQaYsA== dependencies: - history "^4.7.2" - hoist-non-react-statics "^2.5.0" - invariant "^2.2.4" + "@babel/runtime" "^7.12.13" + history "^4.9.0" + hoist-non-react-statics "^3.1.0" loose-envify "^1.3.1" path-to-regexp "^1.7.0" - prop-types "^15.6.1" - warning "^4.0.1" + prop-types "^15.6.2" + react-is "^16.6.0" + tiny-invariant "^1.0.2" + tiny-warning "^1.0.0" react-sizeme@^2.6.12: version "2.6.12" @@ -13203,7 +13213,7 @@ walker@^1.0.8: dependencies: makeerror "1.0.12" -warning@^4.0.1, warning@^4.0.2, warning@^4.0.3: +warning@^4.0.2, warning@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/warning/-/warning-4.0.3.tgz#16e9e077eb8a86d6af7d64aa1e05fd85b4678ca3" integrity sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==