@samitouri / QOS-React / commits / d5586e2059

Update Flow to 0.258 (#34254)

Minor new suppressions only.

Jan Kassens committed Aug 21, 2025 at 14:17 UTC d5586e2059ea40c6e42205f5ddaac618baa895cf
4 files changed +10 -9
package.json
+2 -2
@@ -73,8 +73,8 @@
73 "eslint-plugin-react-internal": "link:./scripts/eslint-rules",
74 "fbjs-scripts": "^3.0.1",
75 "filesize": "^6.0.1",
76 - "flow-bin": "^0.257",
77 - "flow-remove-types": "^2.257",
76 + "flow-bin": "^0.258",
77 + "flow-remove-types": "^2.258",
78 "glob": "^7.1.6",
79 "glob-stream": "^6.1.0",
80 "google-closure-compiler": "^20230206.0.0",
packages/react-reconciler/src/ReactFiberCacheComponent.js
+2 -2
@@ -20,8 +20,8 @@ import * as Scheduler from 'scheduler';
20 const AbortControllerLocal: typeof AbortController =
21 typeof AbortController !== 'undefined'
22 ? AbortController
23 - : // $FlowFixMe[missing-this-annot]
24 - // $FlowFixMe[prop-missing]
23 + : // $FlowFixMe[incompatible-type]
24 + // $FlowFixMe[missing-this-annot]
25 function AbortControllerShim() {
26 const listeners = [];
27 const signal = (this.signal = {
packages/react-server/src/ReactServerStreamConfigBun.js
+1
@@ -86,6 +86,7 @@ export function byteLengthOfBinaryChunk(chunk: BinaryChunk): number {
86 }
87
88 export function closeWithError(destination: Destination, error: mixed): void {
89 + // $FlowFixMe[method-unbinding]
90 if (typeof destination.error === 'function') {
91 // $FlowFixMe[incompatible-call]: This is an Error object or the destination accepts other types.
92 destination.error(error);
yarn.lock
+5 -5
@@ -9108,12 +9108,12 @@ flatted@^3.2.9:
9108 resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a"
9109 integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==
9110
9111 -flow-bin@^0.257:
9112 - version "0.257.1"
9113 - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.257.1.tgz#0cae61fb756b443b5cbbb4637905570579f9a216"
9114 - integrity sha512-jDn/4uCXX8NlnRJbQD/4B60Id7Vm1+y+LsgJMevhN+6vCPZ1jVV8LGGTcdhsogyIPf9orTt5fROo2FemRZD9kA==
9111 +flow-bin@^0.258:
9112 + version "0.258.1"
9113 + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.258.1.tgz#5580e6085196800487dae67a71777b572d0c9552"
9114 + integrity sha512-v08KZw8jiwhA01V59kuCLd628kDJ0ZTX4jguh0P2rboF9rMlGmV8Rd+io1f1U9nWGoORTP2ZUI27X42jFA6eDQ==
9115
9116 -flow-remove-types@^2.257:
9116 +flow-remove-types@^2.258:
9117 version "2.279.0"
9118 resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.279.0.tgz#3a3388d9158eba0f82c40d80d31d9640b883a3f5"
9119 integrity sha512-bPFloMR/A2b/r/sIsf7Ix0LaMicCJNjwhXc4xEEQVzJCIz5u7C7XDaEOXOiqveKlCYK7DcBNn6R01Cbbc9gsYA==