From 38a005ab74167fd8c44e2efe651800af5382c2b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Ma=C5=82ecki?= Date: Mon, 5 Oct 2026 07:22:07 -0700 Subject: [PATCH] Classify cxxreact/JSBundleType.h as for-frameworks Summary: `JSBundleType.h` exposes bundle-format detection internals (`BundleHeader`, `ScriptTag`, `parseTypeFromHeader`, `isHermesBytecodeBundle`). Within React Native it is only used by the bundle loaders, but out-of-tree platforms read `BundleHeader` directly, so it is classified as "for frameworks" rather than private. Changelog: [Internal] Differential Revision: D123395575 --- packages/react-native/ReactCommon/cxxreact/JSBundleType.h | 2 +- packages/react-native/ReactCommon/cxxreact/React/JSBigString.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/react-native/ReactCommon/cxxreact/JSBundleType.h b/packages/react-native/ReactCommon/cxxreact/JSBundleType.h index e31f20a5f9c0..f002744d1dc7 100644 --- a/packages/react-native/ReactCommon/cxxreact/JSBundleType.h +++ b/packages/react-native/ReactCommon/cxxreact/JSBundleType.h @@ -7,7 +7,7 @@ #pragma once -#include +#include #include #include diff --git a/packages/react-native/ReactCommon/cxxreact/React/JSBigString.h b/packages/react-native/ReactCommon/cxxreact/React/JSBigString.h index 0b068301c5fa..14e701bc417c 100644 --- a/packages/react-native/ReactCommon/cxxreact/React/JSBigString.h +++ b/packages/react-native/ReactCommon/cxxreact/React/JSBigString.h @@ -31,7 +31,6 @@ #define RN_UMBRELLA_CONTEXT 1 #include -#include #undef RN_UMBRELLA_CONTEXT #pragma pop_macro("RN_UMBRELLA_CONTEXT")