From 6a1742854d00a4bf57b4e47706eeecc93456bada Mon Sep 17 00:00:00 2001 From: Sam Zhou Date: Sat, 31 Oct 2026 07:12:50 -0700 Subject: [PATCH] Deploy 0.338.0 to xplat Summary: [changelog](https://github.com/facebook/flow/blob/main/Changelog.md) Changelog: [Internal] Reviewed By: gkz Differential Revision: D128734618 --- .flowconfig | 2 +- flow-typed/environment/node.js | 2 ++ package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.flowconfig b/.flowconfig index fb41bcb0b1..e94a424c6e 100644 --- a/.flowconfig +++ b/.flowconfig @@ -38,4 +38,4 @@ untyped-import untyped-type-import [version] -^0.337.0 +^0.338.0 diff --git a/flow-typed/environment/node.js b/flow-typed/environment/node.js index b636583a6e..61a4206c42 100644 --- a/flow-typed/environment/node.js +++ b/flow-typed/environment/node.js @@ -56,6 +56,7 @@ type buffer$ToJSONRet = { ... }; +// $FlowFixMe[incompatible-type] declare class Buffer extends Uint8Array { constructor( value: Array | number | string | Buffer | ArrayBuffer, @@ -71,6 +72,7 @@ declare class Buffer extends Uint8Array { sourceStart?: number, sourceEnd?: number, ): number; + // $FlowFixMe[incompatible-type] entries(): IteratorObject<[number, number]>; equals(otherBuffer: Buffer): boolean; fill( diff --git a/package.json b/package.json index 21970a157e..4e6510e298 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "eslint-plugin-react": "^7.37.5", "eslint-plugin-relay": "^1.8.3", "flow-api-translator": "0.336.0", - "flow-bin": "^0.337.0", + "flow-bin": "^0.338.0", "flow-eslint": "0.336.0", "flow-parser": "0.336.0", "invariant": "^2.2.4", diff --git a/yarn.lock b/yarn.lock index 2861359634..28684360ec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3394,10 +3394,10 @@ flow-api-translator@0.336.0: flow-transform "0.336.0" typescript "5.3.2" -flow-bin@^0.337.0: - version "0.337.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.337.0.tgz#419252403924033308160351e95f723bcf42597c" - integrity sha512-rpr+WvY30RdXPNHbioErMM8tLKUOKJ8/neXPpsDYRBp9z7WDkl4bpTBUMZiqh9ozfdcDWEACBTXwIl94h/ZA0A== +flow-bin@^0.338.0: + version "0.338.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.338.0.tgz#6c0ca72133b54d89681f13c0b742c1b6b01a51cd" + integrity sha512-Ksy1gAdQd8l3//HvNrL8J5A6h3yxSMqvKStokgRKXCXEqsq8apKY0yyupGrO3nYEimd2/xjlJBd2wFuBKpMzwA== flow-enums-runtime@^0.0.6: version "0.0.6"