From 5c0f4cbd4ab4f3ac7a75219986dc0687f8d87795 Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Mon, 28 Sep 2026 09:58:32 -0700 Subject: [PATCH] Add missing copyright headers to Metro Flow libdefs Summary: Add Metro's standard open-source MIT copyright header to three Flow library definitions flagged by the copyright-header check. Replace the internal-only header in strip-ansi with the open-source variant, and keep overlapping React Native Flow definitions synchronized. ## Changelog: [Internal] - Reviewed By: cortinico Differential Revision: D122172879 --- flow-typed/npm/react-test-renderer_v16.x.x.js | 7 +++++++ flow-typed/npm/yargs_v17.x.x.js | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/flow-typed/npm/react-test-renderer_v16.x.x.js b/flow-typed/npm/react-test-renderer_v16.x.x.js index 067a36f54747..e5af4f1c2d1f 100644 --- a/flow-typed/npm/react-test-renderer_v16.x.x.js +++ b/flow-typed/npm/react-test-renderer_v16.x.x.js @@ -1,3 +1,10 @@ +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + // Type definitions for react-test-renderer 16.x.x // Ported from: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-test-renderer diff --git a/flow-typed/npm/yargs_v17.x.x.js b/flow-typed/npm/yargs_v17.x.x.js index cf04fbf5f37e..07077c11f282 100644 --- a/flow-typed/npm/yargs_v17.x.x.js +++ b/flow-typed/npm/yargs_v17.x.x.js @@ -1,3 +1,10 @@ +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + // flow-typed version: f7c859e705/yargs_v17.x.x/flow_>=v0.104.x declare module 'yargs' {