fix(my-joy-beta): set fw initial values only after loading

This commit is contained in:
Sérgio Ramos 2018-02-05 13:00:23 +00:00
parent 72d5c8b18f
commit 6ad179601e
3 changed files with 125 additions and 135 deletions

View File

@ -32,6 +32,7 @@
"lodash.get": "^4.4.2", "lodash.get": "^4.4.2",
"lodash.includes": "^4.3.0", "lodash.includes": "^4.3.0",
"lodash.isarray": "^4.0.0", "lodash.isarray": "^4.0.0",
"lodash.isboolean": "^3.0.3",
"lodash.isfinite": "^3.3.2", "lodash.isfinite": "^3.3.2",
"lodash.isfunction": "^3.0.8", "lodash.isfunction": "^3.0.8",
"lodash.isstring": "^4.0.1", "lodash.isstring": "^4.0.1",

View File

@ -7,6 +7,7 @@ import ReduxForm from 'declarative-redux-form';
import { SubmissionError } from 'redux-form'; import { SubmissionError } from 'redux-form';
import { Margin } from 'styled-components-spacing'; import { Margin } from 'styled-components-spacing';
import remcalc from 'remcalc'; import remcalc from 'remcalc';
import isBoolean from 'lodash.isboolean';
import find from 'lodash.find'; import find from 'lodash.find';
import get from 'lodash.get'; import get from 'lodash.get';
@ -36,7 +37,7 @@ import parseError from '@state/parse-error';
export const Firewall = ({ export const Firewall = ({
defaultRules = [], defaultRules = [],
tagRules = [], tagRules = [],
enabled = false, enabled,
inactive = false, inactive = false,
loading = false, loading = false,
loadingError = null, loadingError = null,
@ -81,7 +82,7 @@ export const Firewall = ({
form="fw-enabled" form="fw-enabled"
destroyOnUnmount={false} destroyOnUnmount={false}
forceUnregisterOnUnmount={true} forceUnregisterOnUnmount={true}
initialValues={{ enabled }} {...{ initialValues: isBoolean(enabled) ? { enabled } : undefined }}
onSubmit={handleEnabledToggle} onSubmit={handleEnabledToggle}
> >
{props => {props =>
@ -142,7 +143,7 @@ export default compose(
const { name } = variables; const { name } = variables;
const instance = find(get(rest, 'machines', []), ['name', name]); const instance = find(get(rest, 'machines', []), ['name', name]);
const enabled = get(instance, 'firewall_enabled', false); const enabled = get(instance, 'firewall_enabled');
const rules = get(instance, 'firewall_rules', []); const rules = get(instance, 'firewall_rules', []);
return { return {
@ -175,7 +176,7 @@ export default compose(
return { return {
handleEnabledToggle: async ({ enabled }) => { handleEnabledToggle: async ({ enabled }) => {
const mutation = enabled ? enableFirewall : disableFirewall; const mutation = enabled ? disableFirewall : enableFirewall;
const [err] = await intercept( const [err] = await intercept(
mutation({ mutation({

250
yarn.lock
View File

@ -223,13 +223,13 @@ acorn-jsx@^3.0.0, acorn-jsx@^3.0.1:
dependencies: dependencies:
acorn "^3.0.4" acorn "^3.0.4"
acorn5-object-spread@^4.0.0: acorn-object-spread@^1.0.0:
version "4.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/acorn5-object-spread/-/acorn5-object-spread-4.0.0.tgz#d5758081eed97121ab0be47e31caaef2aa399697" resolved "https://registry.yarnpkg.com/acorn-object-spread/-/acorn-object-spread-1.0.0.tgz#48ead0f4a8eb16995a17a0db9ffc6acaada4ba68"
dependencies: dependencies:
acorn "^5.1.2" acorn "^3.1.0"
acorn@^3.0.4: acorn@^3.0.4, acorn@^3.1.0, acorn@^3.3.0:
version "3.3.0" version "3.3.0"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a"
@ -237,9 +237,9 @@ acorn@^4.0.3, acorn@^4.0.4:
version "4.0.13" version "4.0.13"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787" resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787"
acorn@^5.0.0, acorn@^5.1.1, acorn@^5.1.2, acorn@^5.2.1: acorn@^5.0.0, acorn@^5.1.1, acorn@^5.4.0:
version "5.3.0" version "5.4.1"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.3.0.tgz#7446d39459c54fb49a80e6ee6478149b940ec822" resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.4.1.tgz#fdc58d9d17f4a4e98d102ded826a9b9759125102"
add-stream@^1.0.0: add-stream@^1.0.0:
version "1.0.0" version "1.0.0"
@ -349,28 +349,28 @@ anymatch@^2.0.0:
normalize-path "^2.1.1" normalize-path "^2.1.1"
apollo-cache-inmemory@^1.1.5: apollo-cache-inmemory@^1.1.5:
version "1.1.5" version "1.1.7"
resolved "https://registry.yarnpkg.com/apollo-cache-inmemory/-/apollo-cache-inmemory-1.1.5.tgz#74111367fd59caee120197ef663dcb2516971300" resolved "https://registry.yarnpkg.com/apollo-cache-inmemory/-/apollo-cache-inmemory-1.1.7.tgz#15e6200f70431414d29bd5f20e86d81739e26430"
dependencies: dependencies:
apollo-cache "^1.1.0" apollo-cache "^1.1.2"
apollo-utilities "^1.0.4" apollo-utilities "^1.0.6"
graphql-anywhere "^4.1.1" graphql-anywhere "^4.1.3"
apollo-cache@^1.1.0, apollo-cache@^1.1.1: apollo-cache@^1.1.2:
version "1.1.1" version "1.1.2"
resolved "https://registry.yarnpkg.com/apollo-cache/-/apollo-cache-1.1.1.tgz#bfe9b718ebc94774fbf1981a1ef4f1391bdfc7ae" resolved "https://registry.yarnpkg.com/apollo-cache/-/apollo-cache-1.1.2.tgz#b1843a0e01d3837239e9925cfaa1d786599b77a9"
dependencies: dependencies:
apollo-utilities "^1.0.5" apollo-utilities "^1.0.6"
apollo-client@^2.2.1: apollo-client@^2.2.0:
version "2.2.1" version "2.2.2"
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.2.tgz#55d7b7a85d28161a6ecddd86cde8180be52193f6"
dependencies: dependencies:
"@types/zen-observable" "^0.5.3" "@types/zen-observable" "^0.5.3"
apollo-cache "^1.1.1" apollo-cache "^1.1.2"
apollo-link "^1.0.0" apollo-link "^1.0.0"
apollo-link-dedup "^1.0.0" apollo-link-dedup "^1.0.0"
apollo-utilities "^1.0.5" apollo-utilities "^1.0.6"
symbol-observable "^1.0.2" symbol-observable "^1.0.2"
zen-observable "^0.7.0" zen-observable "^0.7.0"
optionalDependencies: optionalDependencies:
@ -407,7 +407,7 @@ 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.4, 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.6:
version "1.0.4" version "1.0.4"
resolved "https://registry.yarnpkg.com/apollo-utilities/-/apollo-utilities-1.0.4.tgz#560009ea5541b9fdc4ee07ebb1714ee319a76c15" resolved "https://registry.yarnpkg.com/apollo-utilities/-/apollo-utilities-1.0.4.tgz#560009ea5541b9fdc4ee07ebb1714ee319a76c15"
@ -849,8 +849,8 @@ babel-eslint@^8.0.1, babel-eslint@^8.2.1:
eslint-visitor-keys "^1.0.0" eslint-visitor-keys "^1.0.0"
babel-generator@^6.18.0, babel-generator@^6.26.0: babel-generator@^6.18.0, babel-generator@^6.26.0:
version "6.26.0" version "6.26.1"
resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.0.tgz#ac1ae20070b79f6e3ca1d3269613053774f20dc5" resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90"
dependencies: dependencies:
babel-messages "^6.23.0" babel-messages "^6.23.0"
babel-runtime "^6.26.0" babel-runtime "^6.26.0"
@ -858,7 +858,7 @@ babel-generator@^6.18.0, babel-generator@^6.26.0:
detect-indent "^4.0.0" detect-indent "^4.0.0"
jsesc "^1.3.0" jsesc "^1.3.0"
lodash "^4.17.4" lodash "^4.17.4"
source-map "^0.5.6" source-map "^0.5.7"
trim-right "^1.0.1" trim-right "^1.0.1"
babel-helper-builder-binary-assignment-operator-visitor@^6.24.1: babel-helper-builder-binary-assignment-operator-visitor@^6.24.1:
@ -1983,15 +1983,15 @@ bser@^2.0.0:
dependencies: dependencies:
node-int64 "^0.4.0" node-int64 "^0.4.0"
buble@^0.18.0: buble@0.16.0:
version "0.18.0" version "0.16.0"
resolved "https://registry.yarnpkg.com/buble/-/buble-0.18.0.tgz#63b338b8248c474b46fd3e3546560ae08d8abe91" resolved "https://registry.yarnpkg.com/buble/-/buble-0.16.0.tgz#1773e7b5a383f5c722af6b1b16b2ba49cb866a98"
dependencies: dependencies:
acorn "^5.1.2" acorn "^3.3.0"
acorn-jsx "^3.0.1" acorn-jsx "^3.0.1"
acorn5-object-spread "^4.0.0" acorn-object-spread "^1.0.0"
chalk "^2.1.0" chalk "^1.1.3"
magic-string "^0.22.4" magic-string "^0.14.0"
minimist "^1.2.0" minimist "^1.2.0"
os-homedir "^1.0.1" os-homedir "^1.0.1"
vlq "^0.2.2" vlq "^0.2.2"
@ -2149,8 +2149,8 @@ caniuse-api@^1.5.2:
lodash.uniq "^4.5.0" lodash.uniq "^4.5.0"
caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639: caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639:
version "1.0.30000800" version "1.0.30000802"
resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000800.tgz#a86e6bc23bd9a707d5df42f33e64d0495cfda218" resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000802.tgz#f7dca342da1c12cf84ff2c80432e24c7e1cc36d9"
caniuse-lite@^1.0.30000748, caniuse-lite@^1.0.30000792: caniuse-lite@^1.0.30000748, caniuse-lite@^1.0.30000792:
version "1.0.30000792" version "1.0.30000792"
@ -2364,7 +2364,7 @@ cli-cursor@^2.1.0:
dependencies: dependencies:
restore-cursor "^2.0.0" restore-cursor "^2.0.0"
cli-spinners@^1.0.0: cli-spinners@^1.0.1:
version "1.1.0" version "1.1.0"
resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-1.1.0.tgz#f1847b168844d917a671eb9d147e3df497c90d06" resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-1.1.0.tgz#f1847b168844d917a671eb9d147e3df497c90d06"
@ -2377,8 +2377,8 @@ cli-width@^2.0.0:
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639"
clipboard-copy@^1.2.0, clipboard-copy@^1.2.1: clipboard-copy@^1.2.0, clipboard-copy@^1.2.1:
version "1.2.1" version "1.4.1"
resolved "https://registry.yarnpkg.com/clipboard-copy/-/clipboard-copy-1.2.1.tgz#d9a816f1ba0577a22fb36640b14b0e403756f334" resolved "https://registry.yarnpkg.com/clipboard-copy/-/clipboard-copy-1.4.1.tgz#f59f47e0295e5e7e474361c5f87f5fd6023c5001"
cliui@^2.1.0: cliui@^2.1.0:
version "2.1.0" version "2.1.0"
@ -2689,9 +2689,9 @@ content@4.x.x:
dependencies: dependencies:
boom "7.x.x" boom "7.x.x"
conventional-changelog-angular@^1.3.3, conventional-changelog-angular@^1.6.1: conventional-changelog-angular@^1.3.3, conventional-changelog-angular@^1.6.2:
version "1.6.1" version "1.6.2"
resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-1.6.1.tgz#e1434d017c854032b272f690424a8c0ca16dc318" resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-1.6.2.tgz#0a811313de46326e5e4e11dac281d61cfe1f00c4"
dependencies: dependencies:
compare-func "^1.3.1" compare-func "^1.3.1"
q "^1.4.1" q "^1.4.1"
@ -2703,11 +2703,11 @@ conventional-changelog-atom@^0.2.0:
q "^1.4.1" q "^1.4.1"
conventional-changelog-cli@^1.3.2: conventional-changelog-cli@^1.3.2:
version "1.3.8" version "1.3.9"
resolved "https://registry.yarnpkg.com/conventional-changelog-cli/-/conventional-changelog-cli-1.3.8.tgz#3b3f3591cb8d1f154bdb28e1819c5fcd8d967536" resolved "https://registry.yarnpkg.com/conventional-changelog-cli/-/conventional-changelog-cli-1.3.9.tgz#926aed3af40c76682f6e192f8a573f46dcd3894f"
dependencies: dependencies:
add-stream "^1.0.0" add-stream "^1.0.0"
conventional-changelog "^1.1.10" conventional-changelog "^1.1.11"
lodash "^4.1.0" lodash "^4.1.0"
meow "^3.7.0" meow "^3.7.0"
tempfile "^1.1.1" tempfile "^1.1.1"
@ -2718,12 +2718,12 @@ conventional-changelog-codemirror@^0.3.0:
dependencies: dependencies:
q "^1.4.1" q "^1.4.1"
conventional-changelog-core@^2.0.0: conventional-changelog-core@^2.0.1:
version "2.0.0" version "2.0.1"
resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-2.0.0.tgz#1bdf7d21f3d066427ff9e07db0a2c5dd60015b9f" resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-2.0.1.tgz#7573de89bde46e0ccf395b4b85a0869aa5388e8d"
dependencies: dependencies:
conventional-changelog-writer "^3.0.0" conventional-changelog-writer "^3.0.0"
conventional-commits-parser "^2.1.0" conventional-commits-parser "^2.1.1"
dateformat "^1.0.12" dateformat "^1.0.12"
get-pkg-repo "^1.0.0" get-pkg-repo "^1.0.0"
git-raw-commits "^1.3.0" git-raw-commits "^1.3.0"
@ -2736,9 +2736,9 @@ conventional-changelog-core@^2.0.0:
read-pkg-up "^1.0.1" read-pkg-up "^1.0.1"
through2 "^2.0.0" through2 "^2.0.0"
conventional-changelog-ember@^0.3.1: conventional-changelog-ember@^0.3.2:
version "0.3.1" version "0.3.2"
resolved "https://registry.yarnpkg.com/conventional-changelog-ember/-/conventional-changelog-ember-0.3.1.tgz#bc71dc0a57e5c7ed0bf0538c32e44220691871d1" resolved "https://registry.yarnpkg.com/conventional-changelog-ember/-/conventional-changelog-ember-0.3.2.tgz#d3dd89ffe96832384a5d3b60dc63bf5e0142a944"
dependencies: dependencies:
q "^1.4.1" q "^1.4.1"
@ -2788,15 +2788,15 @@ conventional-changelog-writer@^3.0.0:
split "^1.0.0" split "^1.0.0"
through2 "^2.0.0" through2 "^2.0.0"
conventional-changelog@^1.1.10: conventional-changelog@^1.1.11:
version "1.1.10" version "1.1.11"
resolved "https://registry.yarnpkg.com/conventional-changelog/-/conventional-changelog-1.1.10.tgz#d9bb3aad9086152d283e4707fb45a5b7a28e9e98" resolved "https://registry.yarnpkg.com/conventional-changelog/-/conventional-changelog-1.1.11.tgz#3c880f5e5ebf483642a19d9bd5c9562f0d1257b8"
dependencies: dependencies:
conventional-changelog-angular "^1.6.1" conventional-changelog-angular "^1.6.2"
conventional-changelog-atom "^0.2.0" conventional-changelog-atom "^0.2.0"
conventional-changelog-codemirror "^0.3.0" conventional-changelog-codemirror "^0.3.0"
conventional-changelog-core "^2.0.0" conventional-changelog-core "^2.0.1"
conventional-changelog-ember "^0.3.1" conventional-changelog-ember "^0.3.2"
conventional-changelog-eslint "^1.0.0" conventional-changelog-eslint "^1.0.0"
conventional-changelog-express "^0.3.0" conventional-changelog-express "^0.3.0"
conventional-changelog-jquery "^0.1.0" conventional-changelog-jquery "^0.1.0"
@ -2810,9 +2810,9 @@ conventional-commits-filter@^1.1.1:
is-subset "^0.1.1" is-subset "^0.1.1"
modify-values "^1.0.0" modify-values "^1.0.0"
conventional-commits-parser@^2.1.0: conventional-commits-parser@^2.1.1:
version "2.1.0" version "2.1.1"
resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-2.1.0.tgz#9b4b7c91124bf2a1a9a2cc1c72760d382cbbb229" resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-2.1.1.tgz#1525a01bdad3349297b4210396e283d8a8ffd044"
dependencies: dependencies:
JSONStream "^1.0.4" JSONStream "^1.0.4"
is-text-path "^1.0.0" is-text-path "^1.0.0"
@ -2823,12 +2823,12 @@ conventional-commits-parser@^2.1.0:
trim-off-newlines "^1.0.0" trim-off-newlines "^1.0.0"
conventional-recommended-bump@^1.0.1: conventional-recommended-bump@^1.0.1:
version "1.2.0" version "1.2.1"
resolved "https://registry.yarnpkg.com/conventional-recommended-bump/-/conventional-recommended-bump-1.2.0.tgz#864fb955825d9c6056620cee4657b0dc0628a3e9" resolved "https://registry.yarnpkg.com/conventional-recommended-bump/-/conventional-recommended-bump-1.2.1.tgz#1b7137efb5091f99fe009e2fe9ddb7cc490e9375"
dependencies: dependencies:
concat-stream "^1.4.10" concat-stream "^1.4.10"
conventional-commits-filter "^1.1.1" conventional-commits-filter "^1.1.1"
conventional-commits-parser "^2.1.0" conventional-commits-parser "^2.1.1"
git-raw-commits "^1.3.0" git-raw-commits "^1.3.0"
git-semver-tags "^1.3.0" git-semver-tags "^1.3.0"
meow "^3.3.0" meow "^3.3.0"
@ -3078,8 +3078,8 @@ css-selector-tokenizer@^0.7.0:
regexpu-core "^1.0.0" regexpu-core "^1.0.0"
css-to-react-native@^2.0.3: css-to-react-native@^2.0.3:
version "2.0.4" version "2.1.1"
resolved "https://registry.yarnpkg.com/css-to-react-native/-/css-to-react-native-2.0.4.tgz#cf4cc407558b3474d4ba8be1a2cd3b6ce713101b" resolved "https://registry.yarnpkg.com/css-to-react-native/-/css-to-react-native-2.1.1.tgz#ea0f6ca3cdbc37cb40f3f4f55b49d3bb28b8a43e"
dependencies: dependencies:
css-color-keywords "^1.0.0" css-color-keywords "^1.0.0"
fbjs "^0.8.5" fbjs "^0.8.5"
@ -3900,8 +3900,8 @@ eslint-plugin-markdown@^1.0.0-beta.6:
unified "^6.1.2" unified "^6.1.2"
eslint-plugin-prettier@^2.3.1: eslint-plugin-prettier@^2.3.1:
version "2.5.0" version "2.6.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.5.0.tgz#39a91dd7528eaf19cd42c0ee3f2c1f684606a05f" resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.6.0.tgz#33e4e228bdb06142d03c560ce04ec23f6c767dd7"
dependencies: dependencies:
fast-diff "^1.1.1" fast-diff "^1.1.1"
jest-docblock "^21.0.0" jest-docblock "^21.0.0"
@ -3978,8 +3978,8 @@ eslint@4.10.0:
text-table "~0.2.0" text-table "~0.2.0"
eslint@^4.16.0, eslint@^4.9.0: eslint@^4.16.0, eslint@^4.9.0:
version "4.16.0" version "4.17.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.16.0.tgz#934ada9e98715e1d7bbfd6f6f0519ed2fab35cc1" resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.17.0.tgz#dc24bb51ede48df629be7031c71d9dc0ee4f3ddf"
dependencies: dependencies:
ajv "^5.3.0" ajv "^5.3.0"
babel-code-frame "^6.22.0" babel-code-frame "^6.22.0"
@ -4020,10 +4020,10 @@ eslint@^4.16.0, eslint@^4.9.0:
text-table "~0.2.0" text-table "~0.2.0"
espree@^3.5.1, espree@^3.5.2: espree@^3.5.1, espree@^3.5.2:
version "3.5.2" version "3.5.3"
resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.2.tgz#756ada8b979e9dcfcdb30aad8d1a9304a905e1ca" resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.3.tgz#931e0af64e7fbbed26b050a29daad1fc64799fa6"
dependencies: dependencies:
acorn "^5.2.1" acorn "^5.4.0"
acorn-jsx "^3.0.0" acorn-jsx "^3.0.0"
esprima@^2.1.0, esprima@^2.6.0: esprima@^2.1.0, esprima@^2.6.0:
@ -4906,11 +4906,11 @@ graphi@^5.3.0:
graphql-server-module-graphiql "1.3.x" graphql-server-module-graphiql "1.3.x"
lodash.merge "4.6.x" lodash.merge "4.6.x"
graphql-anywhere@^4.1.0-alpha.0, graphql-anywhere@^4.1.1: graphql-anywhere@^4.1.0-alpha.0, graphql-anywhere@^4.1.3:
version "4.1.2" version "4.1.3"
resolved "https://registry.yarnpkg.com/graphql-anywhere/-/graphql-anywhere-4.1.2.tgz#55e58593158f3deb0814def522c55e948c57cabb" resolved "https://registry.yarnpkg.com/graphql-anywhere/-/graphql-anywhere-4.1.3.tgz#ddd857d45d1538f55e8364c6c7a9016817a5ea92"
dependencies: dependencies:
apollo-utilities "^1.0.5" apollo-utilities "^1.0.6"
graphql-config@~1.0.9: graphql-config@~1.0.9:
version "1.0.9" version "1.0.9"
@ -4934,25 +4934,17 @@ graphql-server-module-graphiql@1.3.x:
dependencies: dependencies:
apollo-server-module-graphiql "^1.3.2" apollo-server-module-graphiql "^1.3.2"
graphql-subscriptions@^0.5.6:
version "0.5.6"
resolved "https://registry.yarnpkg.com/graphql-subscriptions/-/graphql-subscriptions-0.5.6.tgz#0d8e960fbaaf9ecbe7900366e86da2fc143fc5b2"
dependencies:
es6-promise "^4.1.1"
iterall "^1.1.3"
graphql-tag@^2.6.1: graphql-tag@^2.6.1:
version "2.6.1" version "2.6.1"
resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.6.1.tgz#4788d509f6e29607d947fc47a40c4e18f736d34a" resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.6.1.tgz#4788d509f6e29607d947fc47a40c4e18f736d34a"
graphql-tools@^2.19.0: graphql-tools@^2.19.0:
version "2.19.0" version "2.20.0"
resolved "https://registry.yarnpkg.com/graphql-tools/-/graphql-tools-2.19.0.tgz#04e1065532ab877aff3ad1883530fb56804ce9bf" resolved "https://registry.yarnpkg.com/graphql-tools/-/graphql-tools-2.20.0.tgz#4fa7b0c403115a0b636f685263c6faec5f219a24"
dependencies: dependencies:
apollo-link "^1.0.0" apollo-link "^1.0.0"
apollo-utilities "^1.0.1" apollo-utilities "^1.0.1"
deprecated-decorator "^0.1.6" deprecated-decorator "^0.1.6"
graphql-subscriptions "^0.5.6"
uuid "^3.1.0" uuid "^3.1.0"
graphql@0.12.x, graphql@^0.12.3: graphql@0.12.x, graphql@^0.12.3:
@ -5295,8 +5287,8 @@ http-errors@1.6.2, http-errors@~1.6.2:
statuses ">= 1.3.1 < 2" statuses ">= 1.3.1 < 2"
http-parser-js@>=0.4.0: http-parser-js@>=0.4.0:
version "0.4.9" version "0.4.10"
resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.4.9.tgz#ea1a04fb64adff0242e9974f297dd4c3cad271e1" resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.4.10.tgz#92c9c1374c35085f75db359ec56cc257cbb93fa4"
http-proxy-middleware@~0.17.4: http-proxy-middleware@~0.17.4:
version "0.17.4" version "0.17.4"
@ -5896,8 +5888,8 @@ isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0:
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
isemail@3.x.x: isemail@3.x.x:
version "3.1.0" version "3.1.1"
resolved "https://registry.yarnpkg.com/isemail/-/isemail-3.1.0.tgz#d15156d67529d48241bc0e644df28281e21dd458" resolved "https://registry.yarnpkg.com/isemail/-/isemail-3.1.1.tgz#e8450fe78ff1b48347db599122adcd0668bd92b5"
dependencies: dependencies:
punycode "2.x.x" punycode "2.x.x"
@ -5997,10 +5989,6 @@ iterall@1.1.3:
version "1.1.3" version "1.1.3"
resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.1.3.tgz#1cbbff96204056dde6656e2ed2e2226d0e6d72c9" resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.1.3.tgz#1cbbff96204056dde6656e2ed2e2226d0e6d72c9"
iterall@^1.1.3:
version "1.1.4"
resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.1.4.tgz#0db40d38fdcf53ae14dc8ec674e62ab190d52cfc"
javascript-stringify@^1.6.0: javascript-stringify@^1.6.0:
version "1.6.0" version "1.6.0"
resolved "https://registry.yarnpkg.com/javascript-stringify/-/javascript-stringify-1.6.0.tgz#142d111f3a6e3dae8f4a9afd77d45855b5a9cce3" resolved "https://registry.yarnpkg.com/javascript-stringify/-/javascript-stringify-1.6.0.tgz#142d111f3a6e3dae8f4a9afd77d45855b5a9cce3"
@ -6246,8 +6234,8 @@ jest@20.0.4:
jest-cli "^20.0.4" jest-cli "^20.0.4"
joi@13.x.x: joi@13.x.x:
version "13.1.1" version "13.1.2"
resolved "https://registry.yarnpkg.com/joi/-/joi-13.1.1.tgz#1f306a5c3ded496da46629915d09e1ae3825185c" resolved "https://registry.yarnpkg.com/joi/-/joi-13.1.2.tgz#b2db260323cc7f919fafa51e09e2275bd089a97e"
dependencies: dependencies:
hoek "5.x.x" hoek "5.x.x"
isemail "3.x.x" isemail "3.x.x"
@ -6668,8 +6656,8 @@ locate-path@^2.0.0:
path-exists "^3.0.0" path-exists "^3.0.0"
lodash-es@^4.17.3, lodash-es@^4.17.4, lodash-es@^4.2.0, lodash-es@^4.2.1: lodash-es@^4.17.3, lodash-es@^4.17.4, lodash-es@^4.2.0, lodash-es@^4.2.1:
version "4.17.4" version "4.17.5"
resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.4.tgz#dcc1d7552e150a0640073ba9cb31d70f032950e7" resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.5.tgz#9fc6e737b1c4d151d8f9cae2247305d552ce748f"
lodash-webpack-plugin@^0.11.4: lodash-webpack-plugin@^0.11.4:
version "0.11.4" version "0.11.4"
@ -6758,8 +6746,8 @@ lodash.isfinite@^3.3.2:
resolved "https://registry.yarnpkg.com/lodash.isfinite/-/lodash.isfinite-3.3.2.tgz#fb89b65a9a80281833f0b7478b3a5104f898ebb3" resolved "https://registry.yarnpkg.com/lodash.isfinite/-/lodash.isfinite-3.3.2.tgz#fb89b65a9a80281833f0b7478b3a5104f898ebb3"
lodash.isfunction@^3.0.8: lodash.isfunction@^3.0.8:
version "3.0.8" version "3.0.9"
resolved "https://registry.yarnpkg.com/lodash.isfunction/-/lodash.isfunction-3.0.8.tgz#4db709fc81bc4a8fd7127a458a5346c5cdce2c6b" resolved "https://registry.yarnpkg.com/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz#06de25df4db327ac931981d1bdb067e5af68d051"
lodash.isinteger@^4.0.4: lodash.isinteger@^4.0.4:
version "4.0.4" version "4.0.4"
@ -6790,8 +6778,8 @@ lodash.memoize@^4.1.2:
resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"
lodash.merge@4.6.x: lodash.merge@4.6.x:
version "4.6.0" version "4.6.1"
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.0.tgz#69884ba144ac33fe699737a6086deffadd0f89c5" resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.1.tgz#adc25d9cb99b9391c59624f379fbba60d7111d54"
lodash.omit@^4.5.0: lodash.omit@^4.5.0:
version "4.5.0" version "4.5.0"
@ -6839,18 +6827,18 @@ lodash.values@^4.3.0:
resolved "https://registry.yarnpkg.com/lodash.values/-/lodash.values-4.3.0.tgz#a3a6c2b0ebecc5c2cba1c17e6e620fe81b53d347" resolved "https://registry.yarnpkg.com/lodash.values/-/lodash.values-4.3.0.tgz#a3a6c2b0ebecc5c2cba1c17e6e620fe81b53d347"
"lodash@>=3.5 <5", lodash@^4.0.0, lodash@^4.1.0, lodash@^4.11.1, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.2, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.5.1: "lodash@>=3.5 <5", lodash@^4.0.0, lodash@^4.1.0, lodash@^4.11.1, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.2, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.5.1:
version "4.17.4" version "4.17.5"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511"
lodash@^3.3.1: lodash@^3.3.1:
version "3.10.1" version "3.10.1"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6" resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"
log-symbols@^1.0.2: log-symbols@^2.1.0:
version "1.0.2" version "2.2.0"
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a"
dependencies: dependencies:
chalk "^1.0.0" chalk "^2.0.1"
log-update@^1.0.2: log-update@^1.0.2:
version "1.0.2" version "1.0.2"
@ -6911,9 +6899,9 @@ macaddress@^0.2.8:
version "0.2.8" version "0.2.8"
resolved "https://registry.yarnpkg.com/macaddress/-/macaddress-0.2.8.tgz#5904dc537c39ec6dbefeae902327135fa8511f12" resolved "https://registry.yarnpkg.com/macaddress/-/macaddress-0.2.8.tgz#5904dc537c39ec6dbefeae902327135fa8511f12"
magic-string@^0.22.4: magic-string@^0.14.0:
version "0.22.4" version "0.14.0"
resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.22.4.tgz#31039b4e40366395618c1d6cf8193c53917475ff" resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.14.0.tgz#57224aef1701caeed273b17a39a956e72b172462"
dependencies: dependencies:
vlq "^0.2.1" vlq "^0.2.1"
@ -7122,8 +7110,8 @@ mime@^1.3.4, mime@^1.4.1, mime@^1.5.0:
resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1"
mimic-fn@^1.0.0: mimic-fn@^1.0.0:
version "1.1.0" version "1.2.0"
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022"
mimos@4.x.x: mimos@4.x.x:
version "4.0.0" version "4.0.0"
@ -7500,8 +7488,8 @@ npmlog@^4.0.2, npmlog@^4.1.2:
set-blocking "~2.0.0" set-blocking "~2.0.0"
nspell@^1.0.0: nspell@^1.0.0:
version "1.0.4" version "1.0.5"
resolved "https://registry.yarnpkg.com/nspell/-/nspell-1.0.4.tgz#20a76769181e3a365d111f926f58d78e7b845423" resolved "https://registry.yarnpkg.com/nspell/-/nspell-1.0.5.tgz#f5ab262506f3bbf4ca51c924736e133a53a1af73"
dependencies: dependencies:
is-buffer "^1.1.4" is-buffer "^1.1.4"
trim "0.0.1" trim "0.0.1"
@ -7652,13 +7640,13 @@ optionator@^0.8.1, optionator@^0.8.2:
wordwrap "~1.0.0" wordwrap "~1.0.0"
ora@^1.3.0: ora@^1.3.0:
version "1.3.0" version "1.4.0"
resolved "https://registry.yarnpkg.com/ora/-/ora-1.3.0.tgz#80078dd2b92a934af66a3ad72a5b910694ede51a" resolved "https://registry.yarnpkg.com/ora/-/ora-1.4.0.tgz#884458215b3a5d4097592285f93321bb7a79e2e5"
dependencies: dependencies:
chalk "^1.1.1" chalk "^2.1.0"
cli-cursor "^2.1.0" cli-cursor "^2.1.0"
cli-spinners "^1.0.0" cli-spinners "^1.0.1"
log-symbols "^1.0.2" log-symbols "^2.1.0"
original@>=0.0.5: original@>=0.0.5:
version "1.0.0" version "1.0.0"
@ -8275,8 +8263,8 @@ postcss@^5.0.10, postcss@^5.0.11, postcss@^5.0.12, postcss@^5.0.13, postcss@^5.0
supports-color "^3.2.3" supports-color "^3.2.3"
postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.13: postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.13:
version "6.0.16" version "6.0.17"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.16.tgz#112e2fe2a6d2109be0957687243170ea5589e146" resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.17.tgz#e259a051ca513f81e9afd0c21f7f82eda50c65c5"
dependencies: dependencies:
chalk "^2.3.0" chalk "^2.3.0"
source-map "^0.6.1" source-map "^0.6.1"
@ -8882,11 +8870,11 @@ react-scripts@^1.1.0:
fsevents "1.1.2" fsevents "1.1.2"
react-styleguidist@^6.2.0: react-styleguidist@^6.2.0:
version "6.2.1" version "6.2.2"
resolved "https://registry.yarnpkg.com/react-styleguidist/-/react-styleguidist-6.2.1.tgz#67ceac9df3aaf1c4350633a9baed7271f20a354e" resolved "https://registry.yarnpkg.com/react-styleguidist/-/react-styleguidist-6.2.2.tgz#347d640481c1bfa04e66fc389e37514cc3472a4c"
dependencies: dependencies:
ast-types "^0.10.1" ast-types "^0.10.1"
buble "^0.18.0" buble "0.16.0"
chalk "^2.3.0" chalk "^2.3.0"
classnames "^2.2.5" classnames "^2.2.5"
clean-webpack-plugin "^0.1.17" clean-webpack-plugin "^0.1.17"
@ -9157,8 +9145,8 @@ redux-actions@^2.2.1:
reduce-reducers "^0.1.0" reduce-reducers "^0.1.0"
redux-form@^7.2.1: redux-form@^7.2.1:
version "7.2.1" version "7.2.3"
resolved "https://registry.yarnpkg.com/redux-form/-/redux-form-7.2.1.tgz#011f6ff0cf050552a4a182a271f22217f4584684" resolved "https://registry.yarnpkg.com/redux-form/-/redux-form-7.2.3.tgz#a01111116f386f3d88451b5528dfbb180561a8b4"
dependencies: dependencies:
deep-equal "^1.0.1" deep-equal "^1.0.1"
es6-error "^4.1.1" es6-error "^4.1.1"
@ -10364,8 +10352,8 @@ style-loader@^0.19.1:
schema-utils "^0.3.0" schema-utils "^0.3.0"
styled-components-breakpoint@^1.0.0-preview.3: styled-components-breakpoint@^1.0.0-preview.3:
version "1.0.1" version "1.0.2"
resolved "https://registry.yarnpkg.com/styled-components-breakpoint/-/styled-components-breakpoint-1.0.1.tgz#51fb474d9449e228b6f3f2cd232631ec65c149bc" resolved "https://registry.yarnpkg.com/styled-components-breakpoint/-/styled-components-breakpoint-1.0.2.tgz#ffdd2d7488dd409c2112112c3a5ff4ae1e2fd9c6"
styled-components-spacing@^2.1.3: styled-components-spacing@^2.1.3:
version "2.1.3" version "2.1.3"
@ -10797,8 +10785,8 @@ type-component@0.0.1:
resolved "https://registry.yarnpkg.com/type-component/-/type-component-0.0.1.tgz#952a6c81c21efd24d13d811d0c8498cb860e1956" resolved "https://registry.yarnpkg.com/type-component/-/type-component-0.0.1.tgz#952a6c81c21efd24d13d811d0c8498cb860e1956"
type-detect@^4.0.5: type-detect@^4.0.5:
version "4.0.7" version "4.0.8"
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.7.tgz#862bd2cf6058ad92799ff5a5b8cf7b6cec726198" resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"
type-is@~1.6.15: type-is@~1.6.15:
version "1.6.15" version "1.6.15"