Skip to content

Commit

Permalink
Updating react-router and patternfly
Browse files Browse the repository at this point in the history
trying to resolve import error for fonts in patternfly/react-core??
  • Loading branch information
mshriver committed Dec 17, 2024
1 parent 3d4f0cb commit 79810d0
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 52 deletions.
15 changes: 7 additions & 8 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,22 @@
"@greatsumini/react-facebook-login": "^3.3.3",
"@monaco-editor/react": "^4.6.0",
"@patternfly/patternfly": "^5.2.1",
"@patternfly/react-charts": "7.4.7",
"@patternfly/react-core": "5.4.11",
"@patternfly/react-icons": "^6.0.0",
"@patternfly/react-styles": "^6.0.0",
"@patternfly/react-table": "^6.0.0",
"@patternfly/react-charts": "^7.4.7",
"@patternfly/react-icons": "^5.4.2",
"@patternfly/react-styles": "^5.4.1",
"@patternfly/react-table": "5.4.12",
"@react-oauth/google": "^0.12.1",
"@testing-library/dom": "^10.0.0",
"@testing-library/react": "^16.1.0",
"@types/react": "18",
"cypress": "^13.16.1",
"enzyme": "^3.11.0",
"fs-extra": "^11.2.0",
"globals": "^15.13.0",
"keycloak-js": "^26.0.7",
"monaco-editor": "^0.47.0",
"prop-types": "^15.8.1",
"react": "18",
"react-dom": "18",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-heatmap-grid": "^0.9.0",
"react-json-tree": "^0.19.0",
"react-linkify": "^1.0.0-alpha",
Expand All @@ -46,6 +44,7 @@
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"cypress": "^13.16.1",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-cypress": "^4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/accessibilityanalysis.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ export class AccessibilityAnalysisView extends React.Component {
<Button variant="secondary" onClick={this.refreshResults}>Refresh results</Button>
</FlexItem>
<FlexItem>
<Link to={`/results?run_id[eq]=${run.id}`} className="pf-v5-c-button pf-m-primary" style={{marginLeft: '2px'}}>See all results <ChevronRightIcon /></Link>
<Link to={`../results?run_id[eq]=${run.id}`} className="pf-v5-c-button pf-m-primary" style={{marginLeft: '2px'}}>See all results <ChevronRightIcon /></Link>
</FlexItem>
</Flex>
</CardHeader>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/accessibilitydashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function runToRow(run, filterFunc, analysisViewId) {
}
return {
'cells': [
analysisViewId ? {title: <React.Fragment><Link to={`/view/${analysisViewId}?run_list=${run.id}`}>{run.id}</Link> {badges}</React.Fragment>} : run.id,
analysisViewId ? {title: <React.Fragment><Link to={`../view/${analysisViewId}?run_list=${run.id}`}>{run.id}</Link> {badges}</React.Fragment>} : run.id,
{title: <RunSummary summary={run.summary} />},
{title: run.source},
{title: run.env},
Expand Down
57 changes: 15 additions & 42 deletions frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1720,7 +1720,7 @@
resolved "https://registry.yarnpkg.com/@patternfly/patternfly/-/patternfly-5.4.2.tgz#4a87d6a5fb2ffd526b4b9597b651f13ecf8ddd4f"
integrity sha512-+BaokNR8/AmTYMESxby9UtQXPGACg449BXQd0KejAvW/uGxlgO6mY1X1205DeBEHoK3e/vXkYXjvZPpv/tcxSA==

"@patternfly/[email protected]":
"@patternfly/react-charts@^7.4.7":
version "7.4.7"
resolved "https://registry.yarnpkg.com/@patternfly/react-charts/-/react-charts-7.4.7.tgz#a33fec6bfaf37cfbb11b5fb9f98ff31da183112a"
integrity sha512-mrIErPp7cz4/+MfpXIUEkKY52HPKbFUUljNuUfyAcN1320/3xt1n0wrf9yz43rN9yswR336guDJv96e4E+fn3g==
Expand Down Expand Up @@ -1748,7 +1748,7 @@
victory-voronoi-container "^37.1.1"
victory-zoom-container "^37.1.1"

"@patternfly/[email protected]":
"@patternfly/react-core@^5.4.11":
version "5.4.11"
resolved "https://registry.yarnpkg.com/@patternfly/react-core/-/react-core-5.4.11.tgz#bcb053f5918b0d28b7a3e0345bc5629bdcb9aa23"
integrity sha512-+WgxVnnqiZiASB+zMBA8Z1YuaX32/ehJ8Y4UB+j2xIB/tjvBqKNVn7n4VPy56F+G9nJ92Kv8Tekccau6bL6jFg==
Expand All @@ -1760,60 +1760,33 @@
react-dropzone "^14.2.3"
tslib "^2.7.0"

"@patternfly/react-core@^6.1.0":
version "6.1.0"
resolved "https://registry.yarnpkg.com/@patternfly/react-core/-/react-core-6.1.0.tgz#58d35b523c019a33f03b652b065d11cf60921734"
integrity sha512-zj0lJPZxQanXKD8ae2kYnweT0kpp1CzpHYAkaBjTrw2k6ZMfr/UPlp0/ugCjWEokBqh79RUADLkKJJPce/yoSQ==
dependencies:
"@patternfly/react-icons" "^6.1.0"
"@patternfly/react-styles" "^6.1.0"
"@patternfly/react-tokens" "^6.1.0"
focus-trap "7.6.2"
react-dropzone "^14.3.5"
tslib "^2.8.1"

"@patternfly/react-icons@^5.4.2":
version "5.4.2"
resolved "https://registry.yarnpkg.com/@patternfly/react-icons/-/react-icons-5.4.2.tgz#8937a7167a0b3abdc3c179524f456b4cbd8f0c39"
integrity sha512-CMQ5oHYzW6TPVTs2jpNJmP2vGCAKR/YeTPwHGO9dLkAUej1IcIxtCCWK2Fdo2UJsnBjuZihasyw2b6ehvbUm9Q==

"@patternfly/react-icons@^6.0.0", "@patternfly/react-icons@^6.1.0":
version "6.1.0"
resolved "https://registry.yarnpkg.com/@patternfly/react-icons/-/react-icons-6.1.0.tgz#4f982f2b8dc0b9366acca1170fcd52fa8c16b85f"
integrity sha512-V1w/j19YmOgvh72IRRf1p07k+u4M5+9P+o/IxunlF0fWzLDX4Hf+utBI11A8cRfUzpQN7eLw/vZIS3BLM8Ge3Q==

"@patternfly/react-styles@^5.4.1":
version "5.4.1"
resolved "https://registry.yarnpkg.com/@patternfly/react-styles/-/react-styles-5.4.1.tgz#c101419917bcf309dfa7469820cd7320dd0c5120"
integrity sha512-XA8PXksD8uiA3RTwxdUwJXOCf+V6sVd+2HKapWAdRLvtSV+Sdk7NgCvalb4IAQncsddLopjPQD8gAHA298+N8w==

"@patternfly/react-styles@^6.0.0", "@patternfly/react-styles@^6.1.0":
version "6.1.0"
resolved "https://registry.yarnpkg.com/@patternfly/react-styles/-/react-styles-6.1.0.tgz#e8aa12c6b1417ba1a739ea435bc02f7f8d516132"
integrity sha512-JQ3zIl5SFiSB0YWVYibcUwgZdsp6Wn8hkfZ7KhtCjHFccSDdJexPOXVV1O9f2h4PfxTlY3YntZ81ZsguBx/Q7A==

"@patternfly/react-table@^6.0.0":
version "6.1.0"
resolved "https://registry.yarnpkg.com/@patternfly/react-table/-/react-table-6.1.0.tgz#b9b09c0a99f64714880d0f88052ba54229457a32"
integrity sha512-eC8mKkvFR0btfv6yEOvE+J4gBXU8ZGe9i2RSezBM+MJaXEQt/CKRjV+SAB5EeE3PyBYKG8yYDdsOoNmaPxxvSA==
"@patternfly/[email protected]":
version "5.4.12"
resolved "https://registry.yarnpkg.com/@patternfly/react-table/-/react-table-5.4.12.tgz#986c4ca53a93ec6f57c6a2be78cc624f5e404f5e"
integrity sha512-ZpW/49bWR9JkZCyBGBCbHNdJt0Vn34g5BaXlVF/P7Tl0WPdxFLWS5EQywiXEhu8qoOhz3uGcyGwACCJCvmqCSg==
dependencies:
"@patternfly/react-core" "^6.1.0"
"@patternfly/react-icons" "^6.1.0"
"@patternfly/react-styles" "^6.1.0"
"@patternfly/react-tokens" "^6.1.0"
"@patternfly/react-core" "^5.4.11"
"@patternfly/react-icons" "^5.4.2"
"@patternfly/react-styles" "^5.4.1"
"@patternfly/react-tokens" "^5.4.1"
lodash "^4.17.21"
tslib "^2.8.1"
tslib "^2.7.0"

"@patternfly/react-tokens@^5.4.1":
version "5.4.1"
resolved "https://registry.yarnpkg.com/@patternfly/react-tokens/-/react-tokens-5.4.1.tgz#03104c5b73ef438076141f897a53d16507d8a115"
integrity sha512-eygdHE7Krta1mijAv/E8RHiKIgysD0eeNTo8EXUYC8/M4e5K6sqpr2p6rQBF8QiRMN8FnbXvZT3K2OQ28pYt9Q==

"@patternfly/react-tokens@^6.1.0":
version "6.1.0"
resolved "https://registry.yarnpkg.com/@patternfly/react-tokens/-/react-tokens-6.1.0.tgz#c2a64e68568bde81e56f4b5a8f9ac3ad8cd06e8a"
integrity sha512-t1UcHbOa4txczTR5UlnG4XcAAdnDSfSlCaOddw/HTqRF59pn2ks2JUu9sfnFRZ8SiAAxKRiYdX5bT7Mf4R24+w==

"@pkgjs/parseargs@^0.11.0":
version "0.11.0"
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
Expand Down Expand Up @@ -9293,15 +9266,15 @@ react-dev-utils@^12.0.1:
strip-ansi "^6.0.1"
text-table "^0.2.0"

react-dom@18:
react-dom@^18.3.1:
version "18.3.1"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.3.1.tgz#c2265d79511b57d479b3dd3fdfa51536494c5cb4"
integrity sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==
dependencies:
loose-envify "^1.1.0"
scheduler "^0.23.2"

react-dropzone@^14.2.3, react-dropzone@^14.3.5:
react-dropzone@^14.2.3:
version "14.3.5"
resolved "https://registry.yarnpkg.com/react-dropzone/-/react-dropzone-14.3.5.tgz#1a8bd312c8a353ec78ef402842ccb3589c225add"
integrity sha512-9nDUaEEpqZLOz5v5SUcFA0CjM4vq8YbqO0WRls+EYT7+DvxUdzDPKNCPLqGfj3YL9MsniCLCD4RFA6M95V6KMQ==
Expand Down Expand Up @@ -9438,7 +9411,7 @@ react-simple-oauth2-login@^0.5.4:
resolved "https://registry.yarnpkg.com/react-simple-oauth2-login/-/react-simple-oauth2-login-0.5.4.tgz#5d9b254fbc83484bd994f463c1f9e3643f0c639b"
integrity sha512-BkVpgGVFGpZEDK6lr1ao+hJXuPvK56aSA0t8jKST0Q+Aya504bSLXNk9A0eU8XaF2GeQqW9n/M0aWNkezvS4Pg==

react@18:
react@^18.3.1:
version "18.3.1"
resolved "https://registry.yarnpkg.com/react/-/react-18.3.1.tgz#49ab892009c53933625bd16b2533fc754cab2891"
integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==
Expand Down Expand Up @@ -10822,7 +10795,7 @@ tslib@^1.8.1:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==

tslib@^2.0.3, tslib@^2.1.0, tslib@^2.6.2, tslib@^2.7.0, tslib@^2.8.1:
tslib@^2.0.3, tslib@^2.1.0, tslib@^2.6.2, tslib@^2.7.0:
version "2.8.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f"
integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==
Expand Down

0 comments on commit 79810d0

Please sign in to comment.