diff --git a/frontend_build/baseWebpackConfig.js b/frontend_build/baseWebpackConfig.js index 02b67e9da2c..56dff0f00a2 100644 --- a/frontend_build/baseWebpackConfig.js +++ b/frontend_build/baseWebpackConfig.js @@ -256,6 +256,11 @@ module.exports = { new WebpackHooks(), + // avoids warnings caused by + // https://github.com/graphql/graphql-language-service/issues/111, should + // be removed when that issue is fixed + new webpack.IgnorePlugin(/\.flow$/), + ] .concat(process.env.SELINIMUM_RUN || process.env.SELINIMUM_CAPTURE ? [ diff --git a/package.json b/package.json index fbc1b16f0f2..cfda7e7bc21 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "fontfaceobserver": "^2.0.8", "gglobby": "0.0.3", "glob": "^7.0.3", - "graphiql": "^0.10.2", + "graphiql": "^0.11.2", "graphql": "^0.9.1", "gulp": "^3.9", "gulp-file": "^0.3.0", diff --git a/yarn.lock b/yarn.lock index 8476ef86d67..70b33fc0a8c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1671,16 +1671,16 @@ code-point-at@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" -codemirror-graphql@^0.6.4: - version "0.6.4" - resolved "https://registry.yarnpkg.com/codemirror-graphql/-/codemirror-graphql-0.6.4.tgz#df3274b8439175def211d191463725266ddc3059" +codemirror-graphql@^0.6.8: + version "0.6.11" + resolved "https://registry.yarnpkg.com/codemirror-graphql/-/codemirror-graphql-0.6.11.tgz#795efa3933523815a5245eefe8d6831d3c4ad026" dependencies: - graphql-language-service-interface "0.0.10" - graphql-language-service-parser "^0.0.9" + graphql-language-service-interface "0.0.19" + graphql-language-service-parser "0.0.15" -codemirror@^5.25.2: - version "5.26.0" - resolved "https://registry.yarnpkg.com/codemirror/-/codemirror-5.26.0.tgz#bcbee86816ed123870c260461c2b5c40b68746e5" +codemirror@^5.26.0: + version "5.28.0" + resolved "https://registry.yarnpkg.com/codemirror/-/codemirror-5.28.0.tgz#2978d9280d671351a4f5737d06bbd681a0fd6f83" coffee-loader@^0.7.2: version "0.7.3" @@ -3572,48 +3572,54 @@ graceful-fs@~2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-2.0.3.tgz#7cd2cdb228a4a3f36e95efa6cc142de7d1a136d0" -graphiql@^0.10.2: - version "0.10.2" - resolved "https://registry.yarnpkg.com/graphiql/-/graphiql-0.10.2.tgz#21f60a26cd3b942e28ce1df6165b002a3e7ad6ab" +graphiql@^0.11.2: + version "0.11.2" + resolved "https://registry.yarnpkg.com/graphiql/-/graphiql-0.11.2.tgz#7f7864552c340ab4fe6f578ce3f7197905d429db" dependencies: - codemirror "^5.25.2" - codemirror-graphql "^0.6.4" + codemirror "^5.26.0" + codemirror-graphql "^0.6.8" marked "0.3.6" -graphql-language-service-config@0.0.10: - version "0.0.10" - resolved "https://registry.yarnpkg.com/graphql-language-service-config/-/graphql-language-service-config-0.0.10.tgz#356595fc424f9597a865ce2108c2ffb0565c02c2" +graphql-language-service-config@0.0.17: + version "0.0.17" + resolved "https://registry.yarnpkg.com/graphql-language-service-config/-/graphql-language-service-config-0.0.17.tgz#36b5a9906c0bf0d356d31b7583058f9b85d1793e" dependencies: - graphql-language-service-types "0.0.15" + graphql-language-service-types "0.0.21" -graphql-language-service-interface@0.0.10: - version "0.0.10" - resolved "https://registry.yarnpkg.com/graphql-language-service-interface/-/graphql-language-service-interface-0.0.10.tgz#925e8205fa45ffa0638639dd6978c278cad95e60" +graphql-language-service-interface@0.0.19: + version "0.0.19" + resolved "https://registry.yarnpkg.com/graphql-language-service-interface/-/graphql-language-service-interface-0.0.19.tgz#c58fa7bd95d2f30e33e04937a1a2c00a9740926e" dependencies: - graphql "^0.9.6" - graphql-language-service-config "0.0.10" - graphql-language-service-parser "0.0.9" - graphql-language-service-types "0.0.15" - graphql-language-service-utils "0.0.9" + graphql "^0.10.1" + graphql-language-service-config "0.0.17" + graphql-language-service-parser "0.0.15" + graphql-language-service-types "0.0.21" + graphql-language-service-utils "0.0.17" -graphql-language-service-parser@0.0.9, graphql-language-service-parser@^0.0.9: - version "0.0.9" - resolved "https://registry.yarnpkg.com/graphql-language-service-parser/-/graphql-language-service-parser-0.0.9.tgz#522b25554076b46fce8a3e71017b5c6cdb24a676" - dependencies: - graphql-language-service-types "0.0.15" - -graphql-language-service-types@0.0.15: +graphql-language-service-parser@0.0.15: version "0.0.15" - resolved "https://registry.yarnpkg.com/graphql-language-service-types/-/graphql-language-service-types-0.0.15.tgz#3f1446beaa78146b78f49c7d7047293301a58393" + resolved "https://registry.yarnpkg.com/graphql-language-service-parser/-/graphql-language-service-parser-0.0.15.tgz#fd64afd8873624fa3c4a5831a08de9ccd6cc5182" dependencies: - graphql "^0.9.6" + graphql-language-service-types "0.0.21" -graphql-language-service-utils@0.0.9: - version "0.0.9" - resolved "https://registry.yarnpkg.com/graphql-language-service-utils/-/graphql-language-service-utils-0.0.9.tgz#de1b9fdadfa1d59a3c33a96b534b18efea84d0ad" +graphql-language-service-types@0.0.21: + version "0.0.21" + resolved "https://registry.yarnpkg.com/graphql-language-service-types/-/graphql-language-service-types-0.0.21.tgz#b9453366fc8985765034bf34056fe93603a24b82" dependencies: - graphql "^0.9.6" - graphql-language-service-types "0.0.15" + graphql "^0.10.1" + +graphql-language-service-utils@0.0.17: + version "0.0.17" + resolved "https://registry.yarnpkg.com/graphql-language-service-utils/-/graphql-language-service-utils-0.0.17.tgz#a8b91eca80c6aa5a0d461a0bbb63317986f9b989" + dependencies: + graphql "^0.10.1" + graphql-language-service-types "0.0.21" + +graphql@^0.10.1: + version "0.10.5" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.10.5.tgz#c9be17ca2bdfdbd134077ffd9bbaa48b8becd298" + dependencies: + iterall "^1.1.0" graphql@^0.9.1: version "0.9.1" @@ -3621,12 +3627,6 @@ graphql@^0.9.1: dependencies: iterall "1.0.3" -graphql@^0.9.6: - version "0.9.6" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.9.6.tgz#514421e9d225c29dfc8fd305459abae58815ef2c" - dependencies: - iterall "^1.0.0" - gulp-file@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/gulp-file/-/gulp-file-0.3.0.tgz#e8c4d763f126fb3332fc416e3d1ef46ed67d8d0d" @@ -4486,7 +4486,7 @@ iterall@1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.0.3.tgz#e0b31958f835013c323ff0b10943829ac69aa4b7" -iterall@^1.0.0: +iterall@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.1.1.tgz#f7f0af11e9a04ec6426260f5019d9fcca4d50214"