Skip to content

Commit d5586e2

Browse files
authored
Update Flow to 0.258 (#34254)
Minor new suppressions only.
1 parent ec5dd0a commit d5586e2

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@
7373
"eslint-plugin-react-internal": "link:./scripts/eslint-rules",
7474
"fbjs-scripts": "^3.0.1",
7575
"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",
7878
"glob": "^7.1.6",
7979
"glob-stream": "^6.1.0",
8080
"google-closure-compiler": "^20230206.0.0",

packages/react-reconciler/src/ReactFiberCacheComponent.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import * as Scheduler from 'scheduler';
2020
const AbortControllerLocal: typeof AbortController =
2121
typeof AbortController !== 'undefined'
2222
? AbortController
23-
: // $FlowFixMe[missing-this-annot]
24-
// $FlowFixMe[prop-missing]
23+
: // $FlowFixMe[incompatible-type]
24+
// $FlowFixMe[missing-this-annot]
2525
function AbortControllerShim() {
2626
const listeners = [];
2727
const signal = (this.signal = {

packages/react-server/src/ReactServerStreamConfigBun.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export function byteLengthOfBinaryChunk(chunk: BinaryChunk): number {
8686
}
8787

8888
export function closeWithError(destination: Destination, error: mixed): void {
89+
// $FlowFixMe[method-unbinding]
8990
if (typeof destination.error === 'function') {
9091
// $FlowFixMe[incompatible-call]: This is an Error object or the destination accepts other types.
9192
destination.error(error);

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9108,12 +9108,12 @@ flatted@^3.2.9:
91089108
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a"
91099109
integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==
91109110

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==
91159115

9116-
flow-remove-types@^2.257:
9116+
flow-remove-types@^2.258:
91179117
version "2.279.0"
91189118
resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.279.0.tgz#3a3388d9158eba0f82c40d80d31d9640b883a3f5"
91199119
integrity sha512-bPFloMR/A2b/r/sIsf7Ix0LaMicCJNjwhXc4xEEQVzJCIz5u7C7XDaEOXOiqveKlCYK7DcBNn6R01Cbbc9gsYA==

0 commit comments

Comments
 (0)