Upgrade material ui, react and other ui dependencies (#203)

This commit is contained in:
rjwats 2020-11-10 22:30:19 +00:00 committed by GitHub
parent d9a3aac37f
commit 7aed5c0eb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 996 additions and 856 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3,30 +3,30 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@material-ui/core": "^4.9.8", "@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1", "@material-ui/icons": "^4.9.1",
"@types/jwt-decode": "^2.2.1", "@types/jwt-decode": "^3.1.0",
"@types/lodash": "^4.14.157", "@types/lodash": "^4.14.165",
"@types/node": "^12.12.32", "@types/node": "^12.12.32",
"@types/react": "^16.9.27", "@types/react": "^16.9.56",
"@types/react-dom": "^16.9.5", "@types/react-dom": "^16.9.9",
"@types/react-material-ui-form-validator": "^2.0.5", "@types/react-material-ui-form-validator": "^2.1.0",
"@types/react-router": "^5.1.3", "@types/react-router": "^5.1.8",
"@types/react-router-dom": "^5.1.3", "@types/react-router-dom": "^5.1.6",
"compression-webpack-plugin": "^4.0.0", "compression-webpack-plugin": "^4.0.0",
"jwt-decode": "^2.2.0", "jwt-decode": "^3.1.1",
"lodash": "^4.17.19", "lodash": "^4.17.20",
"mime-types": "^2.1.25", "mime-types": "^2.1.27",
"moment": "^2.26.0", "moment": "^2.29.1",
"notistack": "^0.9.17", "notistack": "^1.0.1",
"react": "^16.13.1", "react": "^16.14.0",
"react-dom": "^16.13.1", "react-dom": "^16.14.0",
"react-dropzone": "^11.0.1", "react-dropzone": "^11.2.4",
"react-form-validator-core": "^0.6.4", "react-form-validator-core": "^1.0.0",
"react-material-ui-form-validator": "^2.0.10", "react-material-ui-form-validator": "^2.1.1",
"react-router": "^5.1.2", "react-router": "^5.2.0",
"react-router-dom": "^5.1.2", "react-router-dom": "^5.2.0",
"react-scripts": "3.4.3", "react-scripts": "3.4.4",
"sockette": "^2.0.6", "sockette": "^2.0.6",
"typescript": "^4.0.2", "typescript": "^4.0.2",
"zlib": "^1.0.5" "zlib": "^1.0.5"

View File

@ -9,7 +9,7 @@ import { AuthenticationContext, Me } from './AuthenticationContext';
import FullScreenLoading from '../components/FullScreenLoading'; import FullScreenLoading from '../components/FullScreenLoading';
import { withFeatures, WithFeaturesProps } from '../features/FeaturesContext'; import { withFeatures, WithFeaturesProps } from '../features/FeaturesContext';
export const decodeMeJWT = (accessToken: string): Me => jwtDecode(accessToken); export const decodeMeJWT = (accessToken: string): Me => jwtDecode(accessToken) as Me;
interface AuthenticationWrapperState { interface AuthenticationWrapperState {
context: AuthenticationContext; context: AuthenticationContext;