diff --git a/.flowconfig b/.flowconfig index 513c1c636d0..7e34e63192f 100644 --- a/.flowconfig +++ b/.flowconfig @@ -71,4 +71,4 @@ untyped-import untyped-type-import [version] -^0.175.1 +^0.176.0 diff --git a/.flowconfig.android b/.flowconfig.android index 2413b61f5fc..35788776473 100644 --- a/.flowconfig.android +++ b/.flowconfig.android @@ -71,4 +71,4 @@ untyped-import untyped-type-import [version] -^0.175.1 +^0.176.0 diff --git a/Libraries/Utilities/ReactNativeTestTools.js b/Libraries/Utilities/ReactNativeTestTools.js index c73267b905d..4c7bc91b419 100644 --- a/Libraries/Utilities/ReactNativeTestTools.js +++ b/Libraries/Utilities/ReactNativeTestTools.js @@ -17,6 +17,7 @@ const ShallowRenderer = require('react-shallow-renderer'); /* $FlowFixMe[not-a-function] (>=0.125.1 site=react_native_fb) This comment * suppresses an error found when Flow v0.125.1 was deployed. To see the error, * delete this comment and run Flow. */ +// $FlowFixMe[invalid-constructor] const shallowRenderer = new ShallowRenderer(); import type {ReactTestRenderer as ReactTestRendererType} from 'react-test-renderer'; diff --git a/package.json b/package.json index d1ffafaca46..fb97a337e8b 100644 --- a/package.json +++ b/package.json @@ -126,7 +126,7 @@ "ws": "^6.1.4" }, "devDependencies": { - "flow-bin": "^0.175.1", + "flow-bin": "^0.176.0", "react": "18.0.0", "react-test-renderer": "^18.0.0" }, diff --git a/repo-config/package.json b/repo-config/package.json index 4c23b61efd0..3463197ba3d 100644 --- a/repo-config/package.json +++ b/repo-config/package.json @@ -34,7 +34,7 @@ "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-react-native": "^3.11.0", "eslint-plugin-relay": "^1.8.2", - "flow-bin": "^0.175.1", + "flow-bin": "^0.176.0", "inquirer": "^7.1.0", "jest": "^26.6.3", "jest-junit": "^10.0.0", diff --git a/template/_flowconfig b/template/_flowconfig index 5c531aaa68c..d900c4b6d73 100644 --- a/template/_flowconfig +++ b/template/_flowconfig @@ -63,4 +63,4 @@ untyped-import untyped-type-import [version] -^0.175.1 +^0.176.0 diff --git a/yarn.lock b/yarn.lock index 41a6880c654..dfb6d968334 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3221,10 +3221,10 @@ flatted@^3.1.0: resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.2.tgz#64bfed5cb68fe3ca78b3eb214ad97b63bedce561" integrity sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA== -flow-bin@^0.175.1: - version "0.175.1" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.175.1.tgz#72237070ba4f293f9e04113481e18929c1de50df" - integrity sha512-zMCP0BPa9BrfBSR7QTcyT/XBwzUbyLdNG0eXvBuNxfHCbMRkUzSceRoOaEZIw+R+GH0UHjVfUvPJ30hXxz1Nfw== +flow-bin@^0.176.0: + version "0.176.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.176.0.tgz#581419d683474dafa0c837c10d030665695ad1f8" + integrity sha512-wJvHjsv5nUXnL7aumLdpwDxnCtNG4ysSnGgUHoqKPwHbbLx9Of/7NGK54g3Wi82WsPk9wnSmSDFv0neItHAYug== flow-parser@0.*: version "0.163.0"