Skip to content

Commit

Permalink
⬆️ Upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Errorname committed Jan 7, 2020
1 parent b53a524 commit 302ec8c
Show file tree
Hide file tree
Showing 6 changed files with 4,153 additions and 3,373 deletions.
7,453 changes: 4,118 additions & 3,335 deletions client/package-lock.json

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,38 @@
"version": "1.0.0",
"private": true,
"dependencies": {
"@apollo/react-hooks": "^3.0.0",
"algoliasearch": "^3.30.0",
"apollo-cache-inmemory": "^1.6.2",
"@apollo/react-hooks": "^3.1.3",
"algoliasearch": "^3.35.1",
"apollo-cache-inmemory": "^1.6.5",
"apollo-cache-persist": "^0.1.1",
"apollo-client": "^2.6.3",
"apollo-link": "^1.2.12",
"apollo-link-context": "^1.0.8",
"apollo-link-error": "^1.1.0",
"apollo-link-http": "^1.5.15",
"auth0-js": "^9.3.2",
"apollo-client": "^2.6.8",
"apollo-link": "^1.2.13",
"apollo-link-context": "^1.0.19",
"apollo-link-error": "^1.1.12",
"apollo-link-http": "^1.5.16",
"auth0-js": "^9.12.1",
"classnames": "^2.2.5",
"copy-to-clipboard": "^3.0.8",
"copy-to-clipboard": "^3.2.0",
"date-fns": "^1.29.0",
"emoji-mart": "^2.11.1",
"emoji-mart": "^2.11.2",
"emojilib": "^2.3.0",
"graphql": "^0.13.2",
"graphql-tag": "^2.8.0",
"lodash": "^4.17.15",
"normalize.css": "^8.0.0",
"react": "^16.8.1",
"react-dom": "^16.8.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-helmet": "^6.0.0-beta",
"react-mde": "^7.3.2",
"react-onclickoutside": "^6.7.1",
"react-pluralize": "^1.2.0",
"react-mde": "^7.9.0",
"react-onclickoutside": "^6.9.0",
"react-pluralize": "^1.6.3",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.2",
"react-scripts": "^3.0.1",
"showdown": "^1.8.6",
"react-scripts": "^3.3.0",
"showdown": "^1.9.1",
"showdown-xss-filter": "^0.2.0",
"subscriptions-transport-ws": "^0.9.7",
"uuid": "^3.2.1"
"subscriptions-transport-ws": "^0.9.16",
"uuid": "^3.3.3"
},
"scripts": {
"start": "react-scripts start",
Expand All @@ -55,17 +55,17 @@
"devDependencies": {
"dotenv": "^5.0.0",
"dotenv-cli": "^1.4.0",
"eslint-config-prettier": "^4.0.0",
"eslint-config-react-app": "^3.0.6",
"eslint-config-prettier": "^4.3.0",
"eslint-config-react-app": "^3.0.8",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"husky": "^3.0.2",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^3.1.0",
"node-sass": "^4.13.0",
"prettier": "^1.18.2",
"prettier": "^1.19.1",
"pretty-quick": "^1.11.1",
"webpack-cli": "^3.1.2"
"webpack-cli": "^3.3.10"
},
"browserslist": [
">0.2%",
Expand Down
6 changes: 5 additions & 1 deletion client/src/helpers/compose.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
const compose = (...funcs) => funcs.reduce((a, b) => (...args) => a(b(...args)), arg => arg)
const compose = (...funcs) =>
funcs.reduce(
(a, b) => (...args) => a(b(...args)),
arg => arg
)

export default compose
5 changes: 1 addition & 4 deletions client/src/scenes/Settings/Settings.container.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@ import { GET_CONFIGURATION } from './queries'

import Settings from './Settings'

export default compose(
query(GET_CONFIGURATION),
withLoading()
)(Settings)
export default compose(query(GET_CONFIGURATION), withLoading())(Settings)
6 changes: 1 addition & 5 deletions client/src/scenes/UserProfile/UserProfile.container.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,4 @@ import { GET_ME } from './queries'

import UserProfile from './UserProfile'

export default compose(
query(GET_ME),
withLoading(),
withError()
)(UserProfile)
export default compose(query(GET_ME), withLoading(), withError())(UserProfile)
2 changes: 1 addition & 1 deletion client/src/services/apollo.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const query = (query, { variables, skip, parse, ...queryProps } = {}) => Wrapped
return (
<Wrapped
{...props}
{...{ loading: loading && Object.values(data).length === 0, error, ...parsedData }}
{...{ loading: loading && Object.values(data || {}).length === 0, error, ...parsedData }}
/>
)
}
Expand Down

0 comments on commit 302ec8c

Please sign in to comment.