chore(frontend): update dependencies to latest major version, except Mantine

This commit is contained in:
acceis-international
2025-03-26 16:50:02 +01:00
parent 81b1970099
commit be8a0d0315
3 changed files with 356 additions and 405 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -9,7 +9,7 @@
"format": "prettier --end-of-line=auto --write \"src/**/*.ts*\"" "format": "prettier --end-of-line=auto --write \"src/**/*.ts*\""
}, },
"dependencies": { "dependencies": {
"@emotion/react": "^11.13.3", "@emotion/react": "^11.14.0",
"@emotion/server": "^11.11.0", "@emotion/server": "^11.11.0",
"@mantine/core": "^6.0.21", "@mantine/core": "^6.0.21",
"@mantine/dropzone": "^6.0.21", "@mantine/dropzone": "^6.0.21",
@@ -18,38 +18,38 @@
"@mantine/modals": "^6.0.21", "@mantine/modals": "^6.0.21",
"@mantine/next": "^6.0.21", "@mantine/next": "^6.0.21",
"@mantine/notifications": "^6.0.21", "@mantine/notifications": "^6.0.21",
"axios": "^1.7.7", "axios": "^1.8.4",
"cookies-next": "^4.2.1", "cookies-next": "^5.1.0",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"jose": "^5.9.2", "jose": "^6.0.10",
"jwt-decode": "^4.0.0", "jwt-decode": "^4.0.0",
"markdown-to-jsx": "^7.5.0", "markdown-to-jsx": "^7.7.4",
"mime-types": "^2.1.35", "mime-types": "^2.1.35",
"moment": "^2.30.1", "moment": "^2.30.1",
"next": "^14.2.12", "next": "^15.2.4",
"next-http-proxy-middleware": "^1.2.6", "next-http-proxy-middleware": "^1.2.6",
"next-pwa": "^5.6.0", "next-pwa": "^5.6.0",
"p-limit": "^6.1.0", "p-limit": "^6.2.0",
"react": "^18.3.1", "react": "^19.0.0",
"react-dom": "^18.3.1", "react-dom": "^19.0.0",
"react-icons": "^5.3.0", "react-icons": "^5.5.0",
"react-intl": "^6.6.8", "react-intl": "^7.1.10",
"sharp": "^0.33.5", "sharp": "^0.33.5",
"yup": "^1.4.0" "yup": "^1.6.1"
}, },
"devDependencies": { "devDependencies": {
"@types/mime-types": "^2.1.4", "@types/mime-types": "^2.1.4",
"@types/node": "22.5.5", "@types/node": "22.13.13",
"@types/react": "18.3.7", "@types/react": "19.0.12",
"@types/react-dom": "18.3.0", "@types/react-dom": "19.0.4",
"@typescript-eslint/parser": "^8.6.0", "@typescript-eslint/parser": "^8.28.0",
"axios": "^1.7.7", "axios": "^1.8.4",
"eslint": "9.23.0", "eslint": "9.23.0",
"eslint-config-next": "^15.2.4", "eslint-config-next": "^15.2.4",
"eslint-config-prettier": "^10.1.1", "eslint-config-prettier": "^10.1.1",
"eslint-plugin-react": "^7.37.4", "eslint-plugin-react": "^7.37.4",
"prettier": "^3.3.3", "prettier": "^3.5.3",
"tar": "^7.4.3", "tar": "^7.4.3",
"typescript": "^5.6.2" "typescript": "^5.8.2"
} }
} }

View File

@@ -46,7 +46,7 @@ const Dropzone = ({
const t = useTranslate(); const t = useTranslate();
const { classes } = useStyles(); const { classes } = useStyles();
const openRef = useRef<() => void>(); const openRef = useRef<() => void>(null);
return ( return (
<div className={classes.wrapper}> <div className={classes.wrapper}>
<MantineDropzone <MantineDropzone