react-native 0.83.5 → 0.83.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Utilities/HMRClient.js +28 -1
- package/React/Base/RCTVersion.m +1 -1
- package/React/CoreModules/RCTDevLoadingView.mm +17 -0
- package/React/CoreModules/RCTJscSafeUrl+Internal.h +23 -0
- package/React/CoreModules/RCTJscSafeUrl.mm +38 -0
- package/React/CoreModules/RCTRedBox+Internal.h +42 -0
- package/React/CoreModules/RCTRedBox.mm +30 -450
- package/React/CoreModules/RCTRedBox2AnsiParser+Internal.h +22 -0
- package/React/CoreModules/RCTRedBox2AnsiParser.mm +55 -0
- package/React/CoreModules/RCTRedBox2Controller+Internal.h +34 -0
- package/React/CoreModules/RCTRedBox2Controller.mm +764 -0
- package/React/CoreModules/RCTRedBox2ErrorParser+Internal.h +46 -0
- package/React/CoreModules/RCTRedBox2ErrorParser.mm +57 -0
- package/React/CoreModules/RCTRedBoxController+Internal.h +31 -0
- package/React/CoreModules/RCTRedBoxController.mm +447 -0
- package/React/CoreModules/RCTRedBoxHMRClient+Internal.h +26 -0
- package/React/CoreModules/RCTRedBoxHMRClient.mm +125 -0
- package/React/CoreModules/React-CoreModules.podspec +1 -0
- package/React/FBReactNativeSpec/FBReactNativeSpecJSI.h +16 -0
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt +13 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxAccessor.kt +21 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxInterop.kt +5 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsDefaults.kt +5 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsLocalAccessor.kt +23 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsProvider.kt +5 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.cpp +29 -1
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.h +7 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +2 -2
- package/ReactCommon/hermes/inspector-modern/chrome/Registration.cpp +44 -2
- package/ReactCommon/jsinspector-modern/RuntimeAgent.cpp +19 -0
- package/ReactCommon/jsinspector-modern/RuntimeAgent.h +7 -0
- package/ReactCommon/jsinspector-modern/RuntimeTarget.cpp +33 -0
- package/ReactCommon/jsinspector-modern/RuntimeTarget.h +6 -0
- package/ReactCommon/react/debug/CMakeLists.txt +2 -1
- package/ReactCommon/react/debug/React-debug.podspec +7 -1
- package/ReactCommon/react/debug/redbox/AnsiParser.cpp +139 -0
- package/ReactCommon/react/debug/redbox/AnsiParser.h +35 -0
- package/ReactCommon/react/debug/redbox/JscSafeUrl.cpp +179 -0
- package/ReactCommon/react/debug/redbox/JscSafeUrl.h +27 -0
- package/ReactCommon/react/debug/redbox/RedBoxErrorParser.cpp +171 -0
- package/ReactCommon/react/debug/redbox/RedBoxErrorParser.h +40 -0
- package/ReactCommon/react/debug/redbox/tests/AnsiParserTest.cpp +97 -0
- package/ReactCommon/react/debug/redbox/tests/JscSafeUrlTest.cpp +173 -0
- package/ReactCommon/react/debug/redbox/tests/RedBoxErrorParserTest.cpp +107 -0
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.cpp +9 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h +11 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.cpp +58 -22
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.h +6 -2
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDefaults.h +9 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +19 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsProvider.h +3 -1
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.cpp +11 -1
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.h +5 -1
- package/package.json +10 -10
- package/src/private/featureflags/ReactNativeFeatureFlags.js +11 -1
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +3 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<1e23ab5dd844fae335eb7bfc2953794a>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -374,6 +374,16 @@ bool NativeReactNativeFeatureFlags::preventShadowTreeCommitExhaustion(
|
|
|
374
374
|
return ReactNativeFeatureFlags::preventShadowTreeCommitExhaustion();
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
+
bool NativeReactNativeFeatureFlags::redBoxV2Android(
|
|
378
|
+
jsi::Runtime& /*runtime*/) {
|
|
379
|
+
return ReactNativeFeatureFlags::redBoxV2Android();
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
bool NativeReactNativeFeatureFlags::redBoxV2IOS(
|
|
383
|
+
jsi::Runtime& /*runtime*/) {
|
|
384
|
+
return ReactNativeFeatureFlags::redBoxV2IOS();
|
|
385
|
+
}
|
|
386
|
+
|
|
377
387
|
bool NativeReactNativeFeatureFlags::shouldPressibilityUseW3CPointerEventsForHover(
|
|
378
388
|
jsi::Runtime& /*runtime*/) {
|
|
379
389
|
return ReactNativeFeatureFlags::shouldPressibilityUseW3CPointerEventsForHover();
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<6d3c44622ffc5392e446a19ce48b1e61>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -168,6 +168,10 @@ class NativeReactNativeFeatureFlags
|
|
|
168
168
|
|
|
169
169
|
bool preventShadowTreeCommitExhaustion(jsi::Runtime& runtime);
|
|
170
170
|
|
|
171
|
+
bool redBoxV2Android(jsi::Runtime& runtime);
|
|
172
|
+
|
|
173
|
+
bool redBoxV2IOS(jsi::Runtime& runtime);
|
|
174
|
+
|
|
171
175
|
bool shouldPressibilityUseW3CPointerEventsForHover(jsi::Runtime& runtime);
|
|
172
176
|
|
|
173
177
|
bool shouldTriggerResponderTransferOnScrollAndroid(jsi::Runtime& runtime);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native",
|
|
3
|
-
"version": "0.83.
|
|
3
|
+
"version": "0.83.7",
|
|
4
4
|
"description": "A framework for building native apps using React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -160,13 +160,13 @@
|
|
|
160
160
|
},
|
|
161
161
|
"dependencies": {
|
|
162
162
|
"@jest/create-cache-key-function": "^29.7.0",
|
|
163
|
-
"@react-native/assets-registry": "0.83.
|
|
164
|
-
"@react-native/codegen": "0.83.
|
|
165
|
-
"@react-native/community-cli-plugin": "0.83.
|
|
166
|
-
"@react-native/gradle-plugin": "0.83.
|
|
167
|
-
"@react-native/js-polyfills": "0.83.
|
|
168
|
-
"@react-native/normalize-colors": "0.83.
|
|
169
|
-
"@react-native/virtualized-lists": "0.83.
|
|
163
|
+
"@react-native/assets-registry": "0.83.7",
|
|
164
|
+
"@react-native/codegen": "0.83.7",
|
|
165
|
+
"@react-native/community-cli-plugin": "0.83.7",
|
|
166
|
+
"@react-native/gradle-plugin": "0.83.7",
|
|
167
|
+
"@react-native/js-polyfills": "0.83.7",
|
|
168
|
+
"@react-native/normalize-colors": "0.83.7",
|
|
169
|
+
"@react-native/virtualized-lists": "0.83.7",
|
|
170
170
|
"abort-controller": "^3.0.0",
|
|
171
171
|
"anser": "^1.4.9",
|
|
172
172
|
"ansi-regex": "^5.0.0",
|
|
@@ -180,8 +180,8 @@
|
|
|
180
180
|
"invariant": "^2.2.4",
|
|
181
181
|
"jest-environment-node": "^29.7.0",
|
|
182
182
|
"memoize-one": "^5.0.0",
|
|
183
|
-
"metro-runtime": "^0.83.
|
|
184
|
-
"metro-source-map": "^0.83.
|
|
183
|
+
"metro-runtime": "^0.83.6",
|
|
184
|
+
"metro-source-map": "^0.83.6",
|
|
185
185
|
"nullthrows": "^1.1.1",
|
|
186
186
|
"pretty-format": "^29.7.0",
|
|
187
187
|
"promise": "^8.3.0",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<67f332fc91b30e629da8919f82044079>>
|
|
8
8
|
* @flow strict
|
|
9
9
|
* @noformat
|
|
10
10
|
*/
|
|
@@ -116,6 +116,8 @@ export type ReactNativeFeatureFlags = $ReadOnly<{
|
|
|
116
116
|
perfMonitorV2Enabled: Getter<boolean>,
|
|
117
117
|
preparedTextCacheSize: Getter<number>,
|
|
118
118
|
preventShadowTreeCommitExhaustion: Getter<boolean>,
|
|
119
|
+
redBoxV2Android: Getter<boolean>,
|
|
120
|
+
redBoxV2IOS: Getter<boolean>,
|
|
119
121
|
shouldPressibilityUseW3CPointerEventsForHover: Getter<boolean>,
|
|
120
122
|
shouldTriggerResponderTransferOnScrollAndroid: Getter<boolean>,
|
|
121
123
|
skipActivityIdentityAssertionOnHostPause: Getter<boolean>,
|
|
@@ -482,6 +484,14 @@ export const preparedTextCacheSize: Getter<number> = createNativeFlagGetter('pre
|
|
|
482
484
|
* Enables a new mechanism in ShadowTree to prevent problems caused by multiple threads trying to commit concurrently. If a thread tries to commit a few times unsuccessfully, it will acquire a lock and try again.
|
|
483
485
|
*/
|
|
484
486
|
export const preventShadowTreeCommitExhaustion: Getter<boolean> = createNativeFlagGetter('preventShadowTreeCommitExhaustion', false);
|
|
487
|
+
/**
|
|
488
|
+
* Use the redesigned RedBox error overlay on Android, styled to match the LogBox visual language.
|
|
489
|
+
*/
|
|
490
|
+
export const redBoxV2Android: Getter<boolean> = createNativeFlagGetter('redBoxV2Android', false);
|
|
491
|
+
/**
|
|
492
|
+
* Use the redesigned RedBox error overlay on iOS, styled to match the LogBox visual language.
|
|
493
|
+
*/
|
|
494
|
+
export const redBoxV2IOS: Getter<boolean> = createNativeFlagGetter('redBoxV2IOS', false);
|
|
485
495
|
/**
|
|
486
496
|
* Function used to enable / disable Pressibility from using W3C Pointer Events for its hover callbacks
|
|
487
497
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<76ee0fb7c942f84965cece244a891d7f>>
|
|
8
8
|
* @flow strict
|
|
9
9
|
* @noformat
|
|
10
10
|
*/
|
|
@@ -91,6 +91,8 @@ export interface Spec extends TurboModule {
|
|
|
91
91
|
+perfMonitorV2Enabled?: () => boolean;
|
|
92
92
|
+preparedTextCacheSize?: () => number;
|
|
93
93
|
+preventShadowTreeCommitExhaustion?: () => boolean;
|
|
94
|
+
+redBoxV2Android?: () => boolean;
|
|
95
|
+
+redBoxV2IOS?: () => boolean;
|
|
94
96
|
+shouldPressibilityUseW3CPointerEventsForHover?: () => boolean;
|
|
95
97
|
+shouldTriggerResponderTransferOnScrollAndroid?: () => boolean;
|
|
96
98
|
+skipActivityIdentityAssertionOnHostPause?: () => boolean;
|