Upgrade material ui, react and other ui dependencies (#203)
This commit is contained in:
		
							
								
								
									
										1808
									
								
								interface/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1808
									
								
								interface/package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -3,30 +3,30 @@
 | 
			
		||||
  "version": "0.1.0",
 | 
			
		||||
  "private": true,
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "@material-ui/core": "^4.9.8",
 | 
			
		||||
    "@material-ui/core": "^4.11.0",
 | 
			
		||||
    "@material-ui/icons": "^4.9.1",
 | 
			
		||||
    "@types/jwt-decode": "^2.2.1",
 | 
			
		||||
    "@types/lodash": "^4.14.157",
 | 
			
		||||
    "@types/jwt-decode": "^3.1.0",
 | 
			
		||||
    "@types/lodash": "^4.14.165",
 | 
			
		||||
    "@types/node": "^12.12.32",
 | 
			
		||||
    "@types/react": "^16.9.27",
 | 
			
		||||
    "@types/react-dom": "^16.9.5",
 | 
			
		||||
    "@types/react-material-ui-form-validator": "^2.0.5",
 | 
			
		||||
    "@types/react-router": "^5.1.3",
 | 
			
		||||
    "@types/react-router-dom": "^5.1.3",
 | 
			
		||||
    "@types/react": "^16.9.56",
 | 
			
		||||
    "@types/react-dom": "^16.9.9",
 | 
			
		||||
    "@types/react-material-ui-form-validator": "^2.1.0",
 | 
			
		||||
    "@types/react-router": "^5.1.8",
 | 
			
		||||
    "@types/react-router-dom": "^5.1.6",
 | 
			
		||||
    "compression-webpack-plugin": "^4.0.0",
 | 
			
		||||
    "jwt-decode": "^2.2.0",
 | 
			
		||||
    "lodash": "^4.17.19",
 | 
			
		||||
    "mime-types": "^2.1.25",
 | 
			
		||||
    "moment": "^2.26.0",
 | 
			
		||||
    "notistack": "^0.9.17",
 | 
			
		||||
    "react": "^16.13.1",
 | 
			
		||||
    "react-dom": "^16.13.1",
 | 
			
		||||
    "react-dropzone": "^11.0.1",
 | 
			
		||||
    "react-form-validator-core": "^0.6.4",
 | 
			
		||||
    "react-material-ui-form-validator": "^2.0.10",
 | 
			
		||||
    "react-router": "^5.1.2",
 | 
			
		||||
    "react-router-dom": "^5.1.2",
 | 
			
		||||
    "react-scripts": "3.4.3",
 | 
			
		||||
    "jwt-decode": "^3.1.1",
 | 
			
		||||
    "lodash": "^4.17.20",
 | 
			
		||||
    "mime-types": "^2.1.27",
 | 
			
		||||
    "moment": "^2.29.1",
 | 
			
		||||
    "notistack": "^1.0.1",
 | 
			
		||||
    "react": "^16.14.0",
 | 
			
		||||
    "react-dom": "^16.14.0",
 | 
			
		||||
    "react-dropzone": "^11.2.4",
 | 
			
		||||
    "react-form-validator-core": "^1.0.0",
 | 
			
		||||
    "react-material-ui-form-validator": "^2.1.1",
 | 
			
		||||
    "react-router": "^5.2.0",
 | 
			
		||||
    "react-router-dom": "^5.2.0",
 | 
			
		||||
    "react-scripts": "3.4.4",
 | 
			
		||||
    "sockette": "^2.0.6",
 | 
			
		||||
    "typescript": "^4.0.2",
 | 
			
		||||
    "zlib": "^1.0.5"
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@ import { AuthenticationContext, Me } from './AuthenticationContext';
 | 
			
		||||
import FullScreenLoading from '../components/FullScreenLoading';
 | 
			
		||||
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 {
 | 
			
		||||
  context: AuthenticationContext;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user