Update dependencies

This commit is contained in:
Ken-Håvard Lieng 2019-01-30 03:51:13 +01:00
parent 613d9fca6e
commit 71bfe92dae
25 changed files with 1452 additions and 1885 deletions

View file

@ -4,14 +4,11 @@ import SearchResult from './SearchResult';
const Search = ({ search, onSearch }) => {
const inputEl = useRef();
useEffect(
() => {
if (search.show) {
inputEl.current.focus();
}
},
[search.show]
);
useEffect(() => {
if (search.show) {
inputEl.current.focus();
}
}, [search.show]);
const style = {
display: search.show ? 'block' : 'none'

View file

@ -17,14 +17,11 @@ const Settings = ({
const status = settings.uploadingCert ? 'Uploading...' : 'Upload';
const error = settings.certError;
const handleInstallClick = useCallback(
async () => {
installable.prompt();
await installable.userChoice;
onInstall();
},
[installable]
);
const handleInstallClick = useCallback(async () => {
installable.prompt();
await installable.userChoice;
onInstall();
}, [installable]);
return (
<div className="settings-container">

View file

@ -21,9 +21,8 @@
"@babel/plugin-transform-react-inline-elements": "^7.0.0",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.0.0",
"babel-core": "^7.0.0-0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"babel-jest": "^24.0.0",
"babel-loader": "^8.0.5",
"brotli": "^1.3.1",
"css-loader": "^2.1.0",
@ -31,17 +30,17 @@
"del": "^3.0.0",
"eslint": "^5.12.1",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^3.6.0",
"eslint-config-prettier": "^4.0.0",
"eslint-import-resolver-webpack": "^0.11.0",
"eslint-loader": "^2.1.1",
"eslint-plugin-import": "^2.15.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.0",
"eslint-plugin-react": "^7.12.4",
"express": "^4.16.4",
"express-http-proxy": "^1.5.1",
"gulp": "4.0.0",
"gulp-util": "^3.0.8",
"jest": "^23.6.0",
"jest": "^24.0.0",
"mini-css-extract-plugin": "^0.5.0",
"postcss-flexbugs-fixes": "^4.1.0",
"postcss-loader": "^3.0.0",
@ -62,10 +61,10 @@
"backo": "^1.1.0",
"classnames": "^2.2.6",
"fontfaceobserver": "^2.0.9",
"formik": "^1.4.2",
"formik": "^1.4.3",
"history": "4.5.1",
"hsluv": "^0.0.3",
"immer": "^1.12.0",
"immer": "^1.12.1",
"js-cookie": "^2.1.4",
"lodash": "^4.17.11",
"react": "16.8.0-alpha.1",
@ -74,7 +73,7 @@
"react-modal": "^3.8.1",
"react-redux": "^6.0.0-beta.2",
"react-virtualized-auto-sizer": "^1.0.2",
"react-window": "^1.5.0",
"react-window": "^1.5.1",
"redux": "^4.0.1",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",

File diff suppressed because it is too large Load diff