Skip to content

Commit 8aafd80

Browse files
coadometa-codesync[bot]
authored andcommitted
Classify cxxreact/JSBundleType.h as for-frameworks (#58860)
Summary: Pull Request resolved: #58860 `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] Reviewed By: cortinico Differential Revision: D123395575 fbshipit-source-id: a34a486d5a33913c949c82405c4db2d88140afe5
1 parent 9063a22 commit 8aafd80

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎packages/react-native/ReactCommon/cxxreact/JSBundleType.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#pragma once
99

10-
#include <react/cxxstableapi/UmbrellaGuard.h>
10+
#include <react/cxxstableapi/FrameworksGuard.h>
1111

1212
#include <folly/Portability.h>
1313
#include <cstdint>

‎packages/react-native/ReactCommon/cxxreact/React/JSBigString.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
#define RN_UMBRELLA_CONTEXT 1
3232

3333
#include <cxxreact/JSBigString.h>
34-
#include <cxxreact/JSBundleType.h>
3534

3635
#undef RN_UMBRELLA_CONTEXT
3736
#pragma pop_macro("RN_UMBRELLA_CONTEXT")

0 commit comments

Comments
 (0)