update required libraries
This commit is contained in:
+10
-10
@@ -4,37 +4,37 @@
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@types/async-lock": "^1.1.1",
|
||||
"@types/jest": "25.1.2",
|
||||
"@types/jest": "25.2.1",
|
||||
"@types/lokijs": "^1.5.3",
|
||||
"@types/node": "13.7.1",
|
||||
"@types/react": "16.9.19",
|
||||
"@types/react-dom": "16.9.5",
|
||||
"@types/node": "13.13.4",
|
||||
"@types/react": "16.9.34",
|
||||
"@types/react-dom": "16.9.7",
|
||||
"@types/react-helmet": "^5.0.15",
|
||||
"@types/react-html-parser": "^2.0.1",
|
||||
"@types/react-overlays": "^1.1.3",
|
||||
"@types/react-router-dom": "^5.1.3",
|
||||
"@types/react-router-hash-link": "^1.2.1",
|
||||
"@types/xregexp": "^3.0.30",
|
||||
"@types/xregexp": "^4.3.0",
|
||||
"async-lock": "^1.2.2",
|
||||
"axios": "^0.19.2",
|
||||
"lokijs": "^1.5.8",
|
||||
"moment": "^2.24.0",
|
||||
"rc-tree": "3.0.0-rc.1",
|
||||
"rc-tree": "^3.1.6",
|
||||
"react": "^16.12.0",
|
||||
"react-app-polyfill": "^1.0.6",
|
||||
"react-cookie": "^4.0.3",
|
||||
"react-dom": "^16.12.0",
|
||||
"react-ga": "^2.7.0",
|
||||
"react-helmet": "^5.2.1",
|
||||
"react-helmet": "^6.0.0",
|
||||
"react-html-parser": "^2.0.2",
|
||||
"react-image-lightbox": "^5.1.1",
|
||||
"react-overlays": "^2.1.1",
|
||||
"react-overlays": "^3.1.3",
|
||||
"react-router-dom": "^5.1.2",
|
||||
"react-router-hash-link": "^1.2.2",
|
||||
"react-scripts": "3.4.0",
|
||||
"react-scripts": "3.4.1",
|
||||
"react-spinner-material": "^1.1.3",
|
||||
"react-twitter-widgets": "^1.7.1",
|
||||
"typescript": "3.7.5",
|
||||
"typescript": "3.8.3",
|
||||
"xregexp": "^4.3.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { Component } from 'react';
|
||||
import { ReactCookieProps, withCookies } from 'react-cookie';
|
||||
import ReactGA from 'react-ga';
|
||||
import Helmet from 'react-helmet';
|
||||
import { Helmet } from 'react-helmet';
|
||||
import { RouteComponentProps, withRouter } from 'react-router-dom';
|
||||
import Config, { MultiLang } from '../config';
|
||||
import Functions from '../functions';
|
||||
|
||||
@@ -3,8 +3,8 @@ import Spinner from 'react-spinner-material';
|
||||
|
||||
const Loading = () => {
|
||||
return (
|
||||
<div style={{ display: 'flex', justifyContent: 'center', alignContent: 'center', margin: '100px 0 0 0' }}>
|
||||
<Spinner size={70} spinnerColor={'#cccccc'} spinnerWidth={8} visible={true} />
|
||||
<div style={{ display: 'flex', justifyContent: 'center', alignContent: 'center', margin: '100px 0' }}>
|
||||
<Spinner radius={60} color={'#cccccc'} stroke={8} visible={true} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React, { Component } from 'react';
|
||||
import Helmet from 'react-helmet';
|
||||
import { Helmet } from 'react-helmet';
|
||||
import { RouteComponentProps, withRouter } from 'react-router';
|
||||
import { MultiLang } from '../../config';
|
||||
import Functions from '../../functions';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import Helmet from 'react-helmet';
|
||||
import { Helmet } from 'react-helmet';
|
||||
import { Route, RouteComponentProps, Switch } from 'react-router-dom';
|
||||
import PageNotFound from '../common/lib/PageNotFound';
|
||||
import { MultiLang } from '../config';
|
||||
|
||||
@@ -7,7 +7,7 @@ import { MultiLang } from '../config';
|
||||
import Functions from '../functions';
|
||||
import CreditsUtils from './lib/CreditsUtils';
|
||||
import NoticeSiteHasBeenArchived from '../common/lib/NoticeSiteHasBeenArchived';
|
||||
import Helmet from 'react-helmet';
|
||||
import { Helmet } from 'react-helmet';
|
||||
|
||||
interface Params {
|
||||
id: string;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import Helmet from 'react-helmet';
|
||||
import { Helmet } from 'react-helmet';
|
||||
import { Route, RouteComponentProps, Switch } from 'react-router-dom';
|
||||
import PageNotFound from '../common/lib/PageNotFound';
|
||||
import { MultiLang } from '../config';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React, { Component } from 'react';
|
||||
import Helmet from 'react-helmet';
|
||||
import { Helmet } from 'react-helmet';
|
||||
import { RouteComponentProps } from 'react-router';
|
||||
import Loading from '../common/lib/Loading';
|
||||
import PageNotFound from '../common/lib/PageNotFound';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React, { Component, Fragment } from 'react';
|
||||
import Helmet from 'react-helmet';
|
||||
import { Helmet } from 'react-helmet';
|
||||
import { RouteComponentProps } from 'react-router';
|
||||
import { Link } from 'react-router-dom';
|
||||
import PageNotFound from '../common/lib/PageNotFound';
|
||||
|
||||
@@ -55,7 +55,7 @@ class LicenseAgreementDialog extends Component<Props, State> {
|
||||
this.setState({ show: false });
|
||||
}
|
||||
|
||||
handleClickCancel(e: MouseEvent<HTMLButtonElement>) {
|
||||
handleClickCancel() {
|
||||
this.props.unsetShow();
|
||||
this.setState({ show: false });
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React, { Component } from 'react';
|
||||
import Helmet from 'react-helmet';
|
||||
import { Helmet } from 'react-helmet';
|
||||
import { Link } from 'react-router-dom';
|
||||
import Loading from '../common/lib/Loading';
|
||||
import PageNotFound from '../common/lib/PageNotFound';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React, { Fragment } from 'react';
|
||||
import Helmet from 'react-helmet';
|
||||
import { Helmet } from 'react-helmet';
|
||||
import { Link } from 'react-router-dom';
|
||||
import PageNotFound from '../common/lib/PageNotFound';
|
||||
import { MultiLang } from '../config';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React, { Component, Fragment } from 'react';
|
||||
import Helmet from 'react-helmet';
|
||||
import { Helmet } from 'react-helmet';
|
||||
import { Link } from 'react-router-dom';
|
||||
import { HashLink } from 'react-router-hash-link';
|
||||
import Loading from '../common/lib/Loading';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import Helmet from 'react-helmet';
|
||||
import { Helmet } from 'react-helmet';
|
||||
import { Link } from 'react-router-dom';
|
||||
import PageNotFound from '../common/lib/PageNotFound';
|
||||
import { MultiLang } from '../config';
|
||||
|
||||
Reference in New Issue
Block a user