Skip to content

Commit

Permalink
fix: update dependencies and fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh committed Jan 22, 2024
1 parent 313b553 commit f792b04
Show file tree
Hide file tree
Showing 5 changed files with 855 additions and 2,505 deletions.
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ enableGlobalCache: false
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.0.2.cjs
defaultSemverRangePrefix: ''
49 changes: 24 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"@emotion/cache": "11.11.0",
"@emotion/react": "11.11.3",
"@emotion/styled": "11.11.0",
"@graasp/query-client": "2.2.1",
"@graasp/sdk": "2.0.1",
"@graasp/translations": "1.19.4",
"@graasp/ui": "4.0.1",
"@mui/icons-material": "5.14.16",
"@graasp/query-client": "2.3.0",
"@graasp/sdk": "3.4.1",
"@graasp/translations": "1.22.1",
"@graasp/ui": "4.3.1",
"@mui/icons-material": "5.15.5",
"@mui/lab": "5.0.0-alpha.151",
"@mui/material": "5.14.16",
"@mui/material": "5.15.5",
"@stripe/react-stripe-js": "^1.16.5",
"@stripe/stripe-js": "^1.54.2",
"@uppy/core": "^3.5.0",
Expand All @@ -30,21 +30,20 @@
"@uppy/status-bar": "^3.2.4",
"@uppy/tus": "3.3.0",
"@uppy/xhr-upload": "3.4.0",
"axios": "0.27.2",
"axios": "1.6.5",
"connected-react-router": "6.9.3",
"filesize": "^10.0.12",
"filesize": "^10.1.0",
"http-status-codes": "2.3.0",
"immutable": "4.3.4",
"lodash.truncate": "4.4.2",
"node-fetch": "2.7.0",
"payment-icons": "1.2.1",
"qs": "6.11.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-i18next": "^13.3.1",
"react-image-crop": "9.1.1",
"react-router": "6.16.0",
"react-router-dom": "6.16.0",
"react-i18next": "^13.5.0",
"react-image-crop": "11.0.5",
"react-router": "6.21.3",
"react-router-dom": "6.21.3",
"react-toastify": "9.1.3",
"social-links": "^1.14.0",
"stylis-plugin-rtl": "2.1.1",
Expand Down Expand Up @@ -93,22 +92,22 @@
]
},
"devDependencies": {
"@commitlint/cli": "17.8.1",
"@commitlint/config-conventional": "17.8.1",
"@cypress/code-coverage": "3.12.1",
"@commitlint/cli": "18.5.0",
"@commitlint/config-conventional": "18.5.0",
"@cypress/code-coverage": "3.12.18",
"@cypress/instrument-cra": "1.4.0",
"@testing-library/jest-dom": "6.2.0",
"@testing-library/react": "14.1.2",
"@testing-library/user-event": "14.5.1",
"@testing-library/user-event": "14.5.2",
"@trivago/prettier-plugin-sort-imports": "4.3.0",
"@types/react-toastify": "^4.1.0",
"@typescript-eslint/eslint-plugin": "6.18.1",
"@typescript-eslint/parser": "6.18.1",
"@typescript-eslint/eslint-plugin": "6.19.0",
"@typescript-eslint/parser": "6.19.0",
"@vitejs/plugin-react": "4.2.1",
"concurrently": "8.2.1",
"cypress": "13.6.2",
"concurrently": "8.2.2",
"cypress": "13.6.3",
"env-cmd": "10.1.0",
"eslint": "^8.50.0",
"eslint": "^8.56.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
Expand All @@ -117,11 +116,11 @@
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"husky": "8.0.3",
"prettier": "3.1.1",
"rollup-plugin-visualizer": "^5.9.2",
"prettier": "3.2.4",
"rollup-plugin-visualizer": "^5.12.0",
"standard-version": "9.5.0",
"typescript": "5.3.3",
"vite": "4.5.1",
"vite": "5.0.12",
"vite-plugin-checker": "0.6.2",
"vite-plugin-istanbul": "5.0.0"
},
Expand Down
2 changes: 0 additions & 2 deletions src/components/main/AvatarSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,7 @@ const AvatarSettings = (): JSX.Element | null => {
}
// remove waiting files
uppy.cancelAll();

uppy.addFile({
name: croppedImage.name,
type: croppedImage.type,
data: croppedImage,
});
Expand Down
1 change: 1 addition & 0 deletions src/components/main/LanguageSwitch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const LanguageSwitch = ({ id, memberId, lang }: Props): JSX.Element => {
id={id}
defaultValue={lang}
onChange={handleChange}
buildOptionId={(value) => value}
values={Object.entries(langs).map(([value, text]) => ({ value, text }))}
/>
);
Expand Down
Loading

0 comments on commit f792b04

Please sign in to comment.