From 10eccef4a7f6ac94464efb6c57b532a0ba3a0fff Mon Sep 17 00:00:00 2001 From: Vitali Zaidman Date: Tue, 29 Sep 2026 07:52:46 -0700 Subject: [PATCH] Sync node.js libdef with metro and restore sync test (#58733) Summary: Pull Request resolved: https://github.com/react/react-native/pull/58733 Applies the metro #1989 node.js change (resolveObjectURL returns globalThis.Blob) to the React Native mirror copy, and re-enables flow-defs-sync-test (un-skips the parent diff). Changelog: [Internal] Differential Revision: D122321586 --- flow-typed/environment/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow-typed/environment/node.js b/flow-typed/environment/node.js index 353bf3ff75f..684b2466013 100644 --- a/flow-typed/environment/node.js +++ b/flow-typed/environment/node.js @@ -213,7 +213,7 @@ declare module 'buffer' { declare function isAscii(input: Buffer | ArrayBuffer | $TypedArray): boolean; - declare function resolveObjectURL(id: string): Blob | void; + declare function resolveObjectURL(id: string): globalThis.Blob | void; declare var Buffer: Node$Buffer; declare var Blob: typeof globalThis.Blob;