diff --git a/package.json b/package.json index c9325bb6fb..eb485f72ee 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "babel-jest": "^27.3.1", "babel-loader": "^8.2.3", "eslint": "^7.32.0", - "flow-bin": "^0.163.0", + "flow-bin": "^0.164.0", "glob": "^7.2.0", "jest": "^27.3.1", "jest-runner-eslint": "^1.0.0" diff --git a/src/example-relay/package.json b/src/example-relay/package.json index 5a27c22a64..8f9a7d7f53 100644 --- a/src/example-relay/package.json +++ b/src/example-relay/package.json @@ -35,7 +35,7 @@ "@testing-library/react": "^12.1.2", "@testing-library/user-event": "^13.5.0", "babel-jest": "^27.3.1", - "flow-bin": "^0.163.0", + "flow-bin": "^0.164.0", "graphql": "^15.7.2", "jest": "^27.3.1", "react-test-renderer": "^17.0.2", diff --git a/src/example-relay/src/graphql/currency/queries/Currency.js b/src/example-relay/src/graphql/currency/queries/Currency.js index 495f60bead..b2541c6c89 100644 --- a/src/example-relay/src/graphql/currency/queries/Currency.js +++ b/src/example-relay/src/graphql/currency/queries/Currency.js @@ -10,6 +10,9 @@ export default { 'Detail of a currency. Please note: This is not real data, only Math.random() is return', args: { code: { + /* $FlowFixMe[value-as-type] This comment suppresses an error when + * upgrading Flow to version 0.164.0. To see the error delete this + * comment and run Flow. */ type: (new GraphQLNonNull(GraphQLString): GraphQLNonNull), description: 'The currency code', }, diff --git a/src/example-relay/src/graphql/locations/mutations/AddLocation.js b/src/example-relay/src/graphql/locations/mutations/AddLocation.js index 8e4a4f5c19..90e0f32668 100644 --- a/src/example-relay/src/graphql/locations/mutations/AddLocation.js +++ b/src/example-relay/src/graphql/locations/mutations/AddLocation.js @@ -14,6 +14,9 @@ export default { type: AddLocationOrError, description: 'Add a new location', args: { + /* $FlowFixMe[value-as-type] This comment suppresses an error when + * upgrading Flow to version 0.164.0. To see the error delete this comment + * and run Flow. */ location: { type: (GraphQLNonNull(AddLocationInput): GraphQLNonNull) }, }, resolve: (_: mixed, { location }: Args): ValidLocationResponse | string => { diff --git a/src/sx-tailwind-website/package.json b/src/sx-tailwind-website/package.json index 83237ca664..b0c1438a56 100644 --- a/src/sx-tailwind-website/package.json +++ b/src/sx-tailwind-website/package.json @@ -15,7 +15,7 @@ "@adeira/babel-plugin-transform-sx-tailwind": "^0.18.1", "@adeira/babel-preset-adeira": "^4.0.0", "@babel/core": "^7.16.0", - "flow-bin": "^0.163.0", + "flow-bin": "^0.164.0", "next-plugin-custom-babel-config": "^1.0.5", "next-transpile-modules": "^9.0.0", "postcss": "^8.3.11", diff --git a/yarn.lock b/yarn.lock index 75a171d8c7..a22ec06248 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9590,10 +9590,10 @@ flatted@^3.1.0: resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.1.0.tgz#a5d06b4a8b01e3a63771daa5cb7a1903e2e57067" integrity sha512-tW+UkmtNg/jv9CSofAKvgVcO7c2URjhTdW1ZTkcAritblu8tajiYy7YisnIflEwtKssCtOxpnBRoCB7iap0/TA== -flow-bin@^0.163.0: - version "0.163.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.163.0.tgz#c2cb62e336cfdeac035a4cc86e143e1e5ff4d1d0" - integrity sha512-4rNdO/lT38/c+8SR4eZK+PthE9c3MFiDnr8TYBpIM77EkM2yl9Ug8N2oPPk0UJs6kG93Yb61G14s95dfSoUARA== +flow-bin@^0.164.0: + version "0.164.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.164.0.tgz#dc2a1f1cd59670e7d95320232a673c6e31b11ff3" + integrity sha512-cSAA0LLa1SlQ1YmNCYpJ19ES39WYrqjfxX8Oqhbvn6+DET8Cs+EnVkJWHVSkfK8zUupbxvSt7pDoFXePYbcJRA== flush-write-stream@^1.0.0: version "1.1.1"