Skip to content

Commit

Permalink
Upgrade frontend dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Cintia Sanchez Garcia <[email protected]>
  • Loading branch information
cynthia-sg committed Aug 19, 2023
1 parent a925711 commit da35b33
Show file tree
Hide file tree
Showing 4 changed files with 392 additions and 320 deletions.
22 changes: 11 additions & 11 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dependencies": {
"apexcharts": "^3.41.1",
"classnames": "^2.3.2",
"clo-ui": "https://github.com/cncf/clo-ui.git#v0.1.14",
"clo-ui": "https://github.com/cncf/clo-ui.git#v0.1.15",
"lodash": "^4.17.21",
"moment": "^2.29.1",
"nth-check": "^2.0.1",
Expand All @@ -14,35 +14,35 @@
"react-dom": "^18.0.2",
"react-icons": "^4.10.1",
"react-markdown": "^8.0.7",
"react-router-dom": "^6.14.2",
"react-router-dom": "^6.15.0",
"react-syntax-highlighter": "^15.5.0"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/jest-dom": "^6.0.1",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.5.3",
"@types/lodash": "^4.14.196",
"@types/node": "^20.4.8",
"@types/react": "^18.2.18",
"@types/lodash": "^4.14.197",
"@types/node": "^20.5.1",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"@types/react-router-dom": "^5.3.2",
"@types/react-syntax-highlighter": "^15.5.7",
"eslint-config-prettier": "^8.10.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"jest-fetch-mock": "^3.0.3",
"minimatch": "^9.0.3",
"postcss": "^8.4.27",
"prettier": "^3.0.1",
"postcss": "^8.4.28",
"prettier": "^3.0.2",
"react-scripts": "5.0.1",
"sass": "^1.64.2",
"sass": "^1.66.1",
"shx": "^0.3.4",
"typescript": "^5.1.6"
},
"resolutions": {
"react-scripts/**/core-js-pure": "3.31.1",
"react-scripts/**/core-js-pure": "3.32.1",
"react-scripts/**/nth-check": "^2.0.1"
},
"proxy": "http://127.0.0.1:8000",
Expand Down
2 changes: 1 addition & 1 deletion web/src/layout/detail/repositories/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const RepositoriesList = (props: Props) => {
}, [props.repositories]);

useEffect(() => {
let timer: NodeJS.Timer | undefined;
let timer: NodeJS.Timeout | undefined;

const cleanInterval = () => {
if (!isUndefined(timer)) {
Expand Down
2 changes: 1 addition & 1 deletion web/src/setupTests.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// react-testing-library renders your components to document.body,
// this adds jest-dom's custom assertions
import '@testing-library/jest-dom/extend-expect';
import '@testing-library/jest-dom';

const noop = () => {};
Object.defineProperty(window, 'scrollTo', { value: noop, writable: true });
Loading

0 comments on commit da35b33

Please sign in to comment.