Skip to content

Commit

Permalink
Upgrade to Flow 0.200.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kassens committed Mar 6, 2023
1 parent eb616a1 commit 4dd4bcc
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
"eslint-plugin-react-internal": "link:./scripts/eslint-rules",
"fbjs-scripts": "^3.0.1",
"filesize": "^6.0.1",
"flow-bin": "^0.199.1",
"flow-remove-types": "^2.198.2",
"flow-bin": "^0.200.1",
"flow-remove-types": "^2.200.1",
"glob": "^7.1.6",
"glob-stream": "^6.1.0",
"google-closure-compiler": "^20230206.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-devtools-extensions/src/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function setup(hook: any) {
const setupNativeStyleEditor =
require('react-devtools-shared/src/backend/NativeStyleEditor/setupNativeStyleEditor').default;

const bridge = new Bridge({
const bridge = new Bridge<$FlowFixMe, $FlowFixMe>({
listen(fn) {
const listener = (event: $FlowFixMe) => {
if (
Expand Down
2 changes: 1 addition & 1 deletion packages/react-devtools-shell/src/app/console.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function ignoreStrings(
stringsToIgnore: Array<string>,
): void {
// $FlowFixMe[prop-missing] index access only allowed for objects with index keys
console[methodName] = (...args) => {
console[methodName] = (...args: $ReadOnlyArray<mixed>) => {
const maybeString = args[0];
if (typeof maybeString === 'string') {
for (let i = 0; i < stringsToIgnore.length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion scripts/flow/config/flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ inference_mode=experimental.lti
%REACT_RENDERER_FLOW_OPTIONS%

[version]
^0.199.1
^0.200.1
32 changes: 16 additions & 16 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8180,22 +8180,22 @@ flatted@^3.1.0:
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787"
integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==

flow-bin@^0.199.1:
version "0.199.1"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.199.1.tgz#678eac2303fa898227f4d103264b6ce49f4430c1"
integrity sha512-Ic0Mp9iZ2exbH0mNj/XhzUWPZa9JylHb6uQARZnnYCTRwumOpjNOP0qwyRTltWrbCpfHjnWngNO9VLaVKHz2aQ==

flow-parser@^0.198.2:
version "0.198.2"
resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.198.2.tgz#4c225995896b6be75943e9358e606a4fd86c87d9"
integrity sha512-tCQzqXbRAz0ZadIhAXGwdp/xsusADo8IK9idgc/2qCK5RmazbKDGedyykfRtzWgy7Klt4f4NZxq0o/wFUg6plQ==

flow-remove-types@^2.198.2:
version "2.198.2"
resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.198.2.tgz#1b9e0e32eead4554f0d325391bbeb0c7a2a2993f"
integrity sha512-l7ua9FnZwI0HUUUu2Khj3pYnGSlkY5vOE60bgG1ajPJ9P+KzRgXIjpCaS4iTbUEpu6olzRrAVJtJ5N8kxmvpiQ==
dependencies:
flow-parser "^0.198.2"
flow-bin@^0.200.1:
version "0.200.1"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.200.1.tgz#6d32ef92972709ab7c06b27cb7fa4137c6e2c9eb"
integrity sha512-0VCo3uZb0XIYF/sNFuLsGRpsUWnXbPi27MQ3AW7F1n7yAy2FEgMxDS/XQ3ubh5ga4M+yKrdeDsZ3IXwYyRNXMQ==

flow-parser@^0.200.1:
version "0.200.1"
resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.200.1.tgz#99a94b35b7d1815716e3db56bb797440ed340716"
integrity sha512-N6gxgo0iQx0G2m3aJjg3RLxNLUG3EBYgBN/xDDPGQXSjvqNkTdEd2t1myE36Xi7GndZQWngDP7jf0GvxdL6pRg==

flow-remove-types@^2.200.1:
version "2.200.1"
resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.200.1.tgz#04adb5d2758abd9758f25e3b92911dcb97b12320"
integrity sha512-PUBIu9hDjf2Eao8tHmNXt2+f5LOdibMX4yBIuKcVtptWCsu7C5mfmJPcPOKbpxpnwO4dDT1bXPoDKBUx1DtlYQ==
dependencies:
flow-parser "^0.200.1"
pirates "^3.0.2"
vlq "^0.2.1"

Expand Down

0 comments on commit 4dd4bcc

Please sign in to comment.