fix(navigation): downgrade apollo-utilities because of regression

This commit is contained in:
Sérgio Ramos 2018-02-01 12:30:02 +00:00
parent 20b6525eda
commit 47f2aa06c6
4 changed files with 11 additions and 10 deletions

View File

@ -68,6 +68,7 @@
"component-type": "1.2.1", "component-type": "1.2.1",
"styled-components": "3.1.4", "styled-components": "3.1.4",
"axios": "0.16.2", "axios": "0.16.2",
"apollo-utilities": "1.0.4",
"follow-redirects": "1.4.1", "follow-redirects": "1.4.1",
"debug": "3.1.0", "debug": "3.1.0",
"node-fetch": "1.7.3", "node-fetch": "1.7.3",

View File

@ -40,7 +40,7 @@ const GetProducts = gql`
} }
`; `;
const Services = ({ expanded = false, categories = [], products }) => const Services = ({ expanded = false, categories = [], products = [] }) =>
expanded ? ( expanded ? (
<Overlay> <Overlay>
<Container> <Container>

View File

@ -99,7 +99,6 @@ export default compose(
graphql(getAccount, { graphql(getAccount, {
props: ({ data }) => { props: ({ data }) => {
const { account = {}, loading = false, error = null } = data; const { account = {}, loading = false, error = null } = data;
const { login } = account; const { login } = account;
return { login, loading, error }; return { login, loading, error };

View File

@ -362,7 +362,7 @@ apollo-cache@^1.1.0, apollo-cache@^1.1.1:
dependencies: dependencies:
apollo-utilities "^1.0.5" apollo-utilities "^1.0.5"
apollo-client@^2.2.0: apollo-client@^2.2.1:
version "2.2.1" version "2.2.1"
resolved "https://registry.yarnpkg.com/apollo-client/-/apollo-client-2.2.1.tgz#9402ea5aa71d49c668c5a8451025001e135b0beb" resolved "https://registry.yarnpkg.com/apollo-client/-/apollo-client-2.2.1.tgz#9402ea5aa71d49c668c5a8451025001e135b0beb"
dependencies: dependencies:
@ -407,9 +407,9 @@ apollo-server-module-graphiql@^1.3.2:
version "1.3.2" version "1.3.2"
resolved "https://registry.yarnpkg.com/apollo-server-module-graphiql/-/apollo-server-module-graphiql-1.3.2.tgz#0a9e4c48dece3af904fee333f95f7b9817335ca7" resolved "https://registry.yarnpkg.com/apollo-server-module-graphiql/-/apollo-server-module-graphiql-1.3.2.tgz#0a9e4c48dece3af904fee333f95f7b9817335ca7"
apollo-utilities@^1.0.0, apollo-utilities@^1.0.1, apollo-utilities@^1.0.4, apollo-utilities@^1.0.5: apollo-utilities@1.0.4, apollo-utilities@^1.0.0, apollo-utilities@^1.0.1, apollo-utilities@^1.0.4, apollo-utilities@^1.0.5:
version "1.0.5" version "1.0.4"
resolved "https://registry.yarnpkg.com/apollo-utilities/-/apollo-utilities-1.0.5.tgz#a5e99507d730ce21e84e07c7a9c7586b2ccdc58e" resolved "https://registry.yarnpkg.com/apollo-utilities/-/apollo-utilities-1.0.4.tgz#560009ea5541b9fdc4ee07ebb1714ee319a76c15"
apollo@^0.2.2: apollo@^0.2.2:
version "0.2.2" version "0.2.2"
@ -543,10 +543,11 @@ argparse@^1.0.7:
sprintf-js "~1.0.2" sprintf-js "~1.0.2"
aria-query@^0.7.0: aria-query@^0.7.0:
version "0.7.0" version "0.7.1"
resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-0.7.0.tgz#4af10a1e61573ddea0cf3b99b51c52c05b424d24" resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-0.7.1.tgz#26cbb5aff64144b0a825be1846e0b16cfa00b11e"
dependencies: dependencies:
ast-types-flow "0.0.7" ast-types-flow "0.0.7"
commander "^2.11.0"
arr-diff@^2.0.0: arr-diff@^2.0.0:
version "2.0.0" version "2.0.0"
@ -3568,8 +3569,8 @@ ee-first@1.1.1:
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.30: electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.30:
version "1.3.31" version "1.3.32"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.31.tgz#00d832cba9fe2358652b0c48a8816c8e3a037e9f" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.32.tgz#11d0684c0840e003c4be8928f8ac5f35dbc2b4e6"
elliptic@^6.0.0: elliptic@^6.0.0:
version "6.4.0" version "6.4.0"