@office-iss/react-native-win32 0.75.2 → 0.76.0-preview.2
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/.eslintrc.js +11 -0
- package/.flowconfig +5 -4
- package/CHANGELOG.json +191 -47
- package/CHANGELOG.md +63 -28
- package/Libraries/Alert/Alert.js +3 -0
- package/Libraries/Animated/AnimatedEvent.js +1 -1
- package/Libraries/Animated/AnimatedImplementation.js +7 -7
- package/Libraries/Animated/NativeAnimatedAllowlist.js +111 -0
- package/Libraries/Animated/animations/Animation.js +11 -1
- package/Libraries/Animated/animations/DecayAnimation.js +1 -1
- package/Libraries/Animated/animations/SpringAnimation.js +1 -1
- package/Libraries/Animated/animations/TimingAnimation.js +2 -1
- package/Libraries/Animated/components/AnimatedScrollView.js +3 -2
- package/Libraries/Animated/createAnimatedComponent.js +10 -9
- package/Libraries/Animated/nodes/AnimatedColor.js +1 -1
- package/Libraries/Animated/nodes/AnimatedInterpolation.js +3 -2
- package/Libraries/Animated/nodes/AnimatedNode.js +42 -33
- package/Libraries/Animated/nodes/AnimatedObject.js +56 -50
- package/Libraries/Animated/nodes/AnimatedProps.js +77 -40
- package/Libraries/Animated/nodes/AnimatedStyle.js +103 -59
- package/Libraries/Animated/nodes/AnimatedTracking.js +1 -1
- package/Libraries/Animated/nodes/AnimatedTransform.js +102 -67
- package/Libraries/Animated/nodes/AnimatedValue.js +2 -1
- package/Libraries/Animated/nodes/AnimatedWithChildren.js +21 -22
- package/Libraries/Animated/useAnimatedProps.js +142 -7
- package/Libraries/BatchedBridge/NativeModules.js +2 -0
- package/Libraries/Blob/FileReader.js +1 -1
- package/Libraries/Blob/URL.js +2 -62
- package/Libraries/Blob/URLSearchParams.js +71 -0
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +1 -1
- package/Libraries/Components/Keyboard/KeyboardAvoidingView.js +17 -0
- package/Libraries/Components/RefreshControl/__mocks__/RefreshControlMock.js +1 -1
- package/Libraries/Components/ScrollView/ScrollView.js +131 -169
- package/Libraries/Components/ScrollView/ScrollViewNativeComponent.js +3 -0
- package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +1 -1
- package/Libraries/Components/StatusBar/StatusBar.js +3 -1
- package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +10 -0
- package/Libraries/Components/TextInput/TextInput.d.ts +32 -2
- package/Libraries/Components/TextInput/TextInput.js +230 -94
- package/Libraries/Components/TextInput/TextInput.win32.js +230 -100
- package/Libraries/Components/View/ReactNativeStyleAttributes.js +23 -1
- package/Libraries/Components/View/ReactNativeViewAttributes.js +2 -0
- package/Libraries/Components/View/ReactNativeViewAttributes.win32.js +2 -0
- package/Libraries/Components/View/ViewAccessibility.d.ts +15 -0
- package/Libraries/Components/View/ViewNativeComponent.js +0 -1
- package/Libraries/Components/View/ViewPropTypes.js +14 -0
- package/Libraries/Components/View/ViewPropTypes.win32.js +14 -0
- package/Libraries/Core/ExceptionsManager.js +2 -0
- package/Libraries/Core/InitializeCore.js +3 -1
- package/Libraries/Core/ReactFiberErrorDialog.js +3 -0
- package/Libraries/Core/ReactNativeVersion.js +4 -4
- package/Libraries/Core/ReactNativeVersionCheck.win32.js +1 -1
- package/Libraries/Core/setUpDeveloperTools.js +5 -1
- package/Libraries/Core/setUpErrorHandling.js +7 -1
- package/Libraries/Core/setUpGlobals.js +1 -0
- package/Libraries/Core/setUpReactRefresh.js +0 -4
- package/Libraries/Image/AssetSourceResolver.js +28 -1
- package/Libraries/Image/Image.android.js +9 -14
- package/Libraries/Image/Image.ios.js +11 -22
- package/Libraries/Image/Image.win32.js +11 -24
- package/Libraries/Image/ImageBackground.js +1 -8
- package/Libraries/Image/ImageUtils.js +9 -9
- package/Libraries/Image/ImageViewNativeComponent.js +1 -0
- package/Libraries/Inspector/Inspector.js +3 -2
- package/Libraries/Inspector/Inspector.win32.js +3 -2
- package/Libraries/Inspector/InspectorPanel.js +16 -10
- package/Libraries/Inspector/NetworkOverlay.js +1 -1
- package/Libraries/Interaction/TaskQueue.js +1 -0
- package/Libraries/Lists/FlatList.js +1 -1
- package/Libraries/Lists/SectionList.js +2 -2
- package/Libraries/Lists/SectionListModern.js +3 -3
- package/Libraries/LogBox/Data/LogBoxData.js +24 -3
- package/Libraries/LogBox/LogBoxNotificationContainer.js +3 -2
- package/Libraries/LogBox/UI/LogBoxInspectorHeader.js +9 -8
- package/Libraries/LogBox/UI/LogBoxInspectorHeader.win32.js +9 -29
- package/Libraries/Modal/Modal.js +0 -1
- package/Libraries/NativeComponent/BaseViewConfig.android.js +9 -1
- package/Libraries/NativeComponent/BaseViewConfig.ios.js +17 -1
- package/Libraries/NativeComponent/BaseViewConfig.win32.js +17 -1
- package/Libraries/NativeComponent/NativeComponentRegistry.js +22 -22
- package/Libraries/NativeComponent/StaticViewConfigValidator.js +0 -21
- package/Libraries/Network/XMLHttpRequest.js +4 -2
- package/Libraries/ReactNative/AppContainer-dev.js +1 -5
- package/Libraries/ReactNative/AppContainer-prod.js +1 -5
- package/Libraries/ReactNative/AppContainer.js +0 -1
- package/Libraries/ReactNative/AppRegistry.js +0 -6
- package/Libraries/ReactNative/BridgelessUIManager.js +1 -0
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.js +1 -1
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.js +5 -5
- package/Libraries/ReactNative/RendererImplementation.js +26 -4
- package/Libraries/ReactNative/getNativeComponentAttributes.js +12 -0
- package/Libraries/ReactNative/renderApplication.js +0 -2
- package/Libraries/Renderer/shims/ReactNativeTypes.js +11 -4
- package/Libraries/StyleSheet/StyleSheet.js +1 -1
- package/Libraries/StyleSheet/StyleSheet.win32.js +1 -1
- package/Libraries/StyleSheet/StyleSheetTypes.d.ts +152 -2
- package/Libraries/StyleSheet/StyleSheetTypes.js +60 -5
- package/Libraries/StyleSheet/processBackgroundImage.js +384 -0
- package/Libraries/StyleSheet/processBoxShadow.js +209 -0
- package/Libraries/StyleSheet/processFilter.js +231 -42
- package/Libraries/Text/Text.js +394 -196
- package/Libraries/Text/Text.win32.js +442 -229
- package/Libraries/Text/TextNativeComponent.js +2 -1
- package/Libraries/Text/TextNativeComponent.win32.js +1 -1
- package/Libraries/TurboModule/TurboModuleRegistry.js +13 -50
- package/Libraries/Types/CodegenTypes.js +3 -1
- package/Libraries/Utilities/Appearance.js +108 -84
- package/Libraries/Utilities/DevLoadingView.js +2 -4
- package/Libraries/Utilities/HMRClient.js +8 -6
- package/Libraries/Utilities/ReactNativeTestTools.js +1 -1
- package/Libraries/Utilities/createPerformanceLogger.js +0 -9
- package/Libraries/Utilities/stringifyViewConfig.js +22 -0
- package/Libraries/Utilities/useColorScheme.js +3 -3
- package/Libraries/WebSocket/WebSocket.js +1 -1
- package/Libraries/promiseRejectionTrackingOptions.js +1 -1
- package/Libraries/vendor/emitter/EventEmitter.js +6 -5
- package/flow/jest.js +2 -2
- package/index.js +3 -1
- package/index.win32.js +3 -1
- package/jest/mockComponent.js +4 -1
- package/jest/mockModal.js +1 -3
- package/jest/mockScrollView.js +1 -1
- package/jest/renderer.js +2 -2
- package/jest/setup.js +16 -13
- package/jest.config.js +1 -2
- package/overrides.json +22 -22
- package/package.json +32 -30
- package/src/private/animated/NativeAnimatedHelper.js +438 -0
- package/src/private/animated/NativeAnimatedHelper.win32.js +440 -0
- package/src/private/animated/NativeAnimatedValidation.js +64 -0
- package/src/private/components/HScrollViewNativeComponents.js +56 -0
- package/src/private/components/SafeAreaView_INTERNAL_DO_NOT_USE.js +29 -0
- package/src/private/components/VScrollViewNativeComponents.js +48 -0
- package/src/private/components/useSyncOnScroll.js +48 -0
- package/src/private/featureflags/ReactNativeFeatureFlags.js +166 -16
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +29 -5
- package/src/private/fusebox/FuseboxSessionObserver.js +42 -0
- package/{Libraries/Core → src/private/renderer/errorhandling}/ErrorHandlers.js +14 -4
- package/src/private/setup/setUpDOM.js +28 -0
- package/src/private/setup/setUpIntersectionObserver.js +27 -0
- package/src/private/setup/setUpMutationObserver.js +26 -0
- package/src/private/setup/setUpPerformanceObserver.js +64 -0
- package/src/private/specs/modules/NativeAppearance.js +3 -3
- package/src/private/specs/modules/NativeLinkingManager.js +1 -1
- package/src/private/specs/modules/NativePlatformConstantsWin.js +7 -0
- package/src/private/specs/modules/NativeSampleTurboModule.js +14 -1
- package/src/private/webapis/dom/nodes/ReadOnlyNode.js +6 -4
- package/{Libraries/IntersectionObserver → src/private/webapis/intersectionobserver}/IntersectionObserver.js +5 -3
- package/{Libraries/IntersectionObserver → src/private/webapis/intersectionobserver}/IntersectionObserverEntry.js +3 -3
- package/{Libraries/IntersectionObserver → src/private/webapis/intersectionobserver}/IntersectionObserverManager.js +14 -17
- package/src/private/{specs/modules → webapis/intersectionobserver/specs}/NativeIntersectionObserver.js +2 -2
- package/{Libraries/IntersectionObserver → src/private/webapis/intersectionobserver/specs}/__mocks__/NativeIntersectionObserver.js +4 -4
- package/{Libraries/MutationObserver → src/private/webapis/mutationobserver}/MutationObserver.js +5 -3
- package/{Libraries/MutationObserver → src/private/webapis/mutationobserver}/MutationObserverManager.js +24 -15
- package/{Libraries/MutationObserver → src/private/webapis/mutationobserver}/MutationRecord.js +4 -6
- package/src/private/{specs/modules → webapis/mutationobserver/specs}/NativeMutationObserver.js +2 -2
- package/{Libraries/MutationObserver → src/private/webapis/mutationobserver/specs}/__mocks__/NativeMutationObserver.js +5 -5
- package/src/private/webapis/performance/{EventCounts.js → EventTiming.js} +65 -3
- package/src/private/webapis/performance/LongTasks.js +39 -0
- package/src/private/webapis/performance/Performance.js +22 -9
- package/src/private/webapis/performance/PerformanceEntry.js +36 -18
- package/src/private/webapis/performance/PerformanceObserver.js +29 -43
- package/src/private/webapis/performance/RawPerformanceEntry.js +24 -1
- package/src/private/webapis/performance/UserTiming.js +17 -12
- package/src/private/webapis/performance/specs/NativePerformanceObserver.js +1 -1
- package/src-win/Libraries/Components/View/ViewAccessibility.d.ts +15 -0
- package/types/experimental.d.ts +12 -98
- package/Libraries/Animated/NativeAnimatedHelper.js +0 -615
- package/Libraries/Animated/NativeAnimatedHelper.win32.js +0 -617
- package/Libraries/Core/setUpIntersectionObserver.js +0 -16
- package/Libraries/Core/setUpMutationObserver.js +0 -16
- package/Libraries/Core/setUpPerformanceObserver.js +0 -18
- package/Libraries/IntersectionObserver/NativeIntersectionObserver.js +0 -13
- package/Libraries/MutationObserver/NativeMutationObserver.js +0 -13
- package/Libraries/Utilities/verifyComponentAttributeEquivalence.js +0 -135
- package/src/private/core/setUpDOM.js +0 -18
- package/src/private/webapis/performance/PerformanceEventTiming.js +0 -55
- /package/src/private/{core → styles}/composeStyles.js +0 -0
package/jest/setup.js
CHANGED
|
@@ -146,17 +146,17 @@ jest
|
|
|
146
146
|
remove: jest.fn(),
|
|
147
147
|
})),
|
|
148
148
|
announceForAccessibility: jest.fn(),
|
|
149
|
-
isAccessibilityServiceEnabled: jest.fn(),
|
|
150
|
-
isBoldTextEnabled: jest.fn(),
|
|
151
|
-
isGrayscaleEnabled: jest.fn(),
|
|
152
|
-
isInvertColorsEnabled: jest.fn(),
|
|
153
|
-
isReduceMotionEnabled: jest.fn(),
|
|
154
|
-
prefersCrossFadeTransitions: jest.fn(),
|
|
155
|
-
isReduceTransparencyEnabled: jest.fn(),
|
|
149
|
+
isAccessibilityServiceEnabled: jest.fn(() => Promise.resolve(false)),
|
|
150
|
+
isBoldTextEnabled: jest.fn(() => Promise.resolve(false)),
|
|
151
|
+
isGrayscaleEnabled: jest.fn(() => Promise.resolve(false)),
|
|
152
|
+
isInvertColorsEnabled: jest.fn(() => Promise.resolve(false)),
|
|
153
|
+
isReduceMotionEnabled: jest.fn(() => Promise.resolve(false)),
|
|
154
|
+
prefersCrossFadeTransitions: jest.fn(() => Promise.resolve(false)),
|
|
155
|
+
isReduceTransparencyEnabled: jest.fn(() => Promise.resolve(false)),
|
|
156
156
|
isScreenReaderEnabled: jest.fn(() => Promise.resolve(false)),
|
|
157
157
|
setAccessibilityFocus: jest.fn(),
|
|
158
158
|
sendAccessibilityEvent: jest.fn(),
|
|
159
|
-
getRecommendedTimeoutMillis: jest.fn(),
|
|
159
|
+
getRecommendedTimeoutMillis: jest.fn(() => Promise.resolve(false)),
|
|
160
160
|
},
|
|
161
161
|
}))
|
|
162
162
|
.mock('../Libraries/Components/Clipboard/Clipboard', () => ({
|
|
@@ -287,7 +287,14 @@ jest
|
|
|
287
287
|
},
|
|
288
288
|
PlatformConstants: {
|
|
289
289
|
getConstants() {
|
|
290
|
-
return {
|
|
290
|
+
return {
|
|
291
|
+
reactNativeVersion: {
|
|
292
|
+
major: 1000,
|
|
293
|
+
minor: 0,
|
|
294
|
+
patch: 0,
|
|
295
|
+
prerelease: undefined,
|
|
296
|
+
},
|
|
297
|
+
};
|
|
291
298
|
},
|
|
292
299
|
},
|
|
293
300
|
PushNotificationManager: {
|
|
@@ -385,10 +392,6 @@ jest
|
|
|
385
392
|
.mock('../Libraries/ReactNative/requireNativeComponent', () => {
|
|
386
393
|
return jest.requireActual('./mockNativeComponent');
|
|
387
394
|
})
|
|
388
|
-
.mock(
|
|
389
|
-
'../Libraries/Utilities/verifyComponentAttributeEquivalence',
|
|
390
|
-
() => function () {},
|
|
391
|
-
)
|
|
392
395
|
.mock('../Libraries/Vibration/Vibration', () => ({
|
|
393
396
|
vibrate: jest.fn(),
|
|
394
397
|
cancel: jest.fn(),
|
package/jest.config.js
CHANGED
package/overrides.json
CHANGED
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
"**/__snapshots__/**",
|
|
8
8
|
"src-win/rntypes/**"
|
|
9
9
|
],
|
|
10
|
-
"baseVersion": "0.
|
|
10
|
+
"baseVersion": "0.76.0-rc.4",
|
|
11
11
|
"overrides": [
|
|
12
12
|
{
|
|
13
13
|
"type": "derived",
|
|
14
14
|
"file": ".flowconfig",
|
|
15
15
|
"baseFile": ".flowconfig",
|
|
16
|
-
"baseHash": "
|
|
16
|
+
"baseHash": "cc375839a102263f435205df68b79d3d74c4f20a"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"type": "derived",
|
|
20
20
|
"file": "src-win/index.win32.js",
|
|
21
21
|
"baseFile": "packages/react-native/index.js",
|
|
22
|
-
"baseHash": "
|
|
22
|
+
"baseHash": "da5d9e79c8c14c56ba00f73c8514c06e6fffe8ed"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"type": "platform",
|
|
@@ -29,14 +29,7 @@
|
|
|
29
29
|
"type": "patch",
|
|
30
30
|
"file": "src-win/Libraries/Alert/Alert.win32.js",
|
|
31
31
|
"baseFile": "packages/react-native/Libraries/Alert/Alert.js",
|
|
32
|
-
"baseHash": "
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"type": "derived",
|
|
36
|
-
"file": "src-win/Libraries/Animated/NativeAnimatedHelper.win32.js",
|
|
37
|
-
"baseFile": "packages/react-native/Libraries/Animated/NativeAnimatedHelper.js",
|
|
38
|
-
"baseHash": "2cefe6e59aa26f98158be3f35452f9a49d8395c4",
|
|
39
|
-
"issue": 11041
|
|
32
|
+
"baseHash": "173b99e6ae120f14176cf3425877728787d3feed"
|
|
40
33
|
},
|
|
41
34
|
{
|
|
42
35
|
"type": "derived",
|
|
@@ -116,7 +109,7 @@
|
|
|
116
109
|
"type": "derived",
|
|
117
110
|
"file": "src-win/Libraries/Components/TextInput/TextInput.win32.js",
|
|
118
111
|
"baseFile": "packages/react-native/Libraries/Components/TextInput/TextInput.js",
|
|
119
|
-
"baseHash": "
|
|
112
|
+
"baseHash": "494c1159a38de1b57d3889a4dabdc3708204ad4d"
|
|
120
113
|
},
|
|
121
114
|
{
|
|
122
115
|
"type": "patch",
|
|
@@ -174,7 +167,7 @@
|
|
|
174
167
|
"type": "patch",
|
|
175
168
|
"file": "src-win/Libraries/Components/View/ReactNativeViewAttributes.win32.js",
|
|
176
169
|
"baseFile": "packages/react-native/Libraries/Components/View/ReactNativeViewAttributes.js",
|
|
177
|
-
"baseHash": "
|
|
170
|
+
"baseHash": "4279b8fc936dbb03599892069fb7e3ceeb86b846"
|
|
178
171
|
},
|
|
179
172
|
{
|
|
180
173
|
"type": "patch",
|
|
@@ -186,7 +179,7 @@
|
|
|
186
179
|
"type": "derived",
|
|
187
180
|
"file": "src-win/Libraries/Components/View/ViewAccessibility.d.ts",
|
|
188
181
|
"baseFile": "packages/react-native/Libraries/Components/View/ViewAccessibility.d.ts",
|
|
189
|
-
"baseHash": "
|
|
182
|
+
"baseHash": "d97e29f01e57cc2b0de209a03f8584b984cfe190"
|
|
190
183
|
},
|
|
191
184
|
{
|
|
192
185
|
"type": "derived",
|
|
@@ -204,7 +197,7 @@
|
|
|
204
197
|
"type": "patch",
|
|
205
198
|
"file": "src-win/Libraries/Components/View/ViewPropTypes.win32.js",
|
|
206
199
|
"baseFile": "packages/react-native/Libraries/Components/View/ViewPropTypes.js",
|
|
207
|
-
"baseHash": "
|
|
200
|
+
"baseHash": "a742b26e4c96fdefb07779e40bc58cd1cc872675",
|
|
208
201
|
"issue": 6240
|
|
209
202
|
},
|
|
210
203
|
{
|
|
@@ -245,7 +238,7 @@
|
|
|
245
238
|
"type": "derived",
|
|
246
239
|
"file": "src-win/Libraries/Image/Image.win32.js",
|
|
247
240
|
"baseFile": "packages/react-native/Libraries/Image/Image.ios.js",
|
|
248
|
-
"baseHash": "
|
|
241
|
+
"baseHash": "e5cd104f5060ad354072889937ea92d508a32490",
|
|
249
242
|
"issue": 4320
|
|
250
243
|
},
|
|
251
244
|
{
|
|
@@ -299,7 +292,7 @@
|
|
|
299
292
|
"type": "patch",
|
|
300
293
|
"file": "src-win/Libraries/Inspector/Inspector.win32.js",
|
|
301
294
|
"baseFile": "packages/react-native/Libraries/Inspector/Inspector.js",
|
|
302
|
-
"baseHash": "
|
|
295
|
+
"baseHash": "ac4d1824877906651f2d82ab7910dda3ecb2bd80"
|
|
303
296
|
},
|
|
304
297
|
{
|
|
305
298
|
"type": "patch",
|
|
@@ -317,7 +310,7 @@
|
|
|
317
310
|
"type": "patch",
|
|
318
311
|
"file": "src-win/Libraries/LogBox/UI/LogBoxInspectorHeader.win32.js",
|
|
319
312
|
"baseFile": "packages/react-native/Libraries/LogBox/UI/LogBoxInspectorHeader.js",
|
|
320
|
-
"baseHash": "
|
|
313
|
+
"baseHash": "9e394821ea51994288aa4626d0fdff7aae1aa0a1",
|
|
321
314
|
"issue": 7952
|
|
322
315
|
},
|
|
323
316
|
{
|
|
@@ -344,7 +337,7 @@
|
|
|
344
337
|
"type": "derived",
|
|
345
338
|
"file": "src-win/Libraries/NativeComponent/BaseViewConfig.win32.js",
|
|
346
339
|
"baseFile": "packages/react-native/Libraries/NativeComponent/BaseViewConfig.ios.js",
|
|
347
|
-
"baseHash": "
|
|
340
|
+
"baseHash": "0b4642542c2865c5cd3d542a82b295a1aca21c1a"
|
|
348
341
|
},
|
|
349
342
|
{
|
|
350
343
|
"type": "copy",
|
|
@@ -427,7 +420,7 @@
|
|
|
427
420
|
"type": "patch",
|
|
428
421
|
"file": "src-win/Libraries/StyleSheet/StyleSheet.win32.js",
|
|
429
422
|
"baseFile": "packages/react-native/Libraries/StyleSheet/StyleSheet.js",
|
|
430
|
-
"baseHash": "
|
|
423
|
+
"baseHash": "acf84f21e80cce08afd0a56a2f79690641c7228e"
|
|
431
424
|
},
|
|
432
425
|
{
|
|
433
426
|
"type": "derived",
|
|
@@ -439,13 +432,13 @@
|
|
|
439
432
|
"type": "derived",
|
|
440
433
|
"file": "src-win/Libraries/Text/Text.win32.js",
|
|
441
434
|
"baseFile": "packages/react-native/Libraries/Text/Text.js",
|
|
442
|
-
"baseHash": "
|
|
435
|
+
"baseHash": "8ad2e56ba09c1b5428d50cfd71972c60502ed2e2"
|
|
443
436
|
},
|
|
444
437
|
{
|
|
445
438
|
"type": "derived",
|
|
446
439
|
"file": "src-win/Libraries/Text/TextNativeComponent.win32.js",
|
|
447
440
|
"baseFile": "packages/react-native/Libraries/Text/TextNativeComponent.js",
|
|
448
|
-
"baseHash": "
|
|
441
|
+
"baseHash": "642b6fc1c5b5802e3612f39c2ae0135b149a65f8",
|
|
449
442
|
"issue": 7074
|
|
450
443
|
},
|
|
451
444
|
{
|
|
@@ -512,6 +505,13 @@
|
|
|
512
505
|
"baseFile": "packages/react-native/Libraries/Utilities/useMergeRefs.js",
|
|
513
506
|
"baseHash": "1f1ca637132e6e0fe1549ba520d98508269ca2bd"
|
|
514
507
|
},
|
|
508
|
+
{
|
|
509
|
+
"type": "patch",
|
|
510
|
+
"file": "src-win/src/private/animated/NativeAnimatedHelper.win32.js",
|
|
511
|
+
"baseFile": "packages/react-native/src/private/animated/NativeAnimatedHelper.js",
|
|
512
|
+
"baseHash": "c91921c31ad267817d7a38859005149473ca6da5",
|
|
513
|
+
"issue": 11041
|
|
514
|
+
},
|
|
515
515
|
{
|
|
516
516
|
"type": "derived",
|
|
517
517
|
"file": "src-win/src/private/specs/modules/NativeAccessibilityInfoWin32.js",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@office-iss/react-native-win32",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.76.0-preview.2",
|
|
4
4
|
"description": "Implementation of react native on top of Office's Win32 platform.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,38 +12,40 @@
|
|
|
12
12
|
"types": "types",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "rnw-scripts build",
|
|
15
|
-
"bundle": "rnw-scripts prepareBundle && react-native bundle --platform win32 --entry-file ../react-native-win32-tester/js/RNTesterApp.win32.js --bundle-output dist/win32/dev/js/RNTesterApp.bundle --assets-dest dist/win32/dev --sourcemap-output ./dist/win32/dev/js/RNTesterApp.bundle.map",
|
|
15
|
+
"bundle": "rnw-scripts prepareBundle && npx @react-native-community/cli bundle --platform win32 --entry-file ../react-native-win32-tester/js/RNTesterApp.win32.js --bundle-output dist/win32/dev/js/RNTesterApp.bundle --assets-dest dist/win32/dev --sourcemap-output ./dist/win32/dev/js/RNTesterApp.bundle.map",
|
|
16
16
|
"clean": "rnw-scripts clean",
|
|
17
17
|
"flow-check": "rnw-scripts flow-check",
|
|
18
18
|
"lint:fix": "rnw-scripts lint:fix",
|
|
19
19
|
"lint": "rnw-scripts lint",
|
|
20
20
|
"run-win32-devmain": "npx @office-iss/rex-win32@0.71.15-devmain.16607.10000 --bundle js/RNTesterApp --component RNTesterApp --basePath ./dist/win32/dev --jsEngine v8 --useDevMain --useDirectDebugger --useFastRefresh",
|
|
21
21
|
"run-win32": "npx @office-iss/rex-win32@0.71.15-devmain.16607.10000 --bundle js/RNTesterApp --component RNTesterApp --basePath ./dist/win32/dev --jsEngine v8 --useDirectDebugger --useFastRefresh",
|
|
22
|
-
"start": "react-native start --projectRoot ../react-native-win32-tester",
|
|
22
|
+
"start": "npx @react-native-community/cli start --projectRoot ../react-native-win32-tester",
|
|
23
23
|
"test": "jest",
|
|
24
24
|
"validate-overrides": "react-native-platform-override validate"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.0.0",
|
|
28
28
|
"@jest/create-cache-key-function": "^29.6.3",
|
|
29
|
-
"@react-native-community/cli": "
|
|
30
|
-
"@react-native-community/cli-platform-android": "
|
|
31
|
-
"@react-native-community/cli-platform-ios": "
|
|
29
|
+
"@react-native-community/cli": "15.0.0-alpha.2",
|
|
30
|
+
"@react-native-community/cli-platform-android": "15.0.0-alpha.2",
|
|
31
|
+
"@react-native-community/cli-platform-ios": "15.0.0-alpha.2",
|
|
32
32
|
"@react-native/assets": "1.0.0",
|
|
33
|
-
"@react-native/assets-registry": "0.
|
|
34
|
-
"@react-native/codegen": "0.
|
|
35
|
-
"@react-native/community-cli-plugin": "0.
|
|
36
|
-
"@react-native/gradle-plugin": "0.
|
|
37
|
-
"@react-native/js-polyfills": "0.
|
|
38
|
-
"@react-native/normalize-colors": "0.
|
|
39
|
-
"@react-native/virtualized-lists": "0.
|
|
33
|
+
"@react-native/assets-registry": "0.76.0-rc.4",
|
|
34
|
+
"@react-native/codegen": "0.76.0-rc.4",
|
|
35
|
+
"@react-native/community-cli-plugin": "0.76.0-rc.4",
|
|
36
|
+
"@react-native/gradle-plugin": "0.76.0-rc.4",
|
|
37
|
+
"@react-native/js-polyfills": "0.76.0-rc.4",
|
|
38
|
+
"@react-native/normalize-colors": "0.76.0-rc.4",
|
|
39
|
+
"@react-native/virtualized-lists": "0.76.0-rc.4",
|
|
40
40
|
"abort-controller": "^3.0.0",
|
|
41
41
|
"anser": "^1.4.9",
|
|
42
42
|
"ansi-regex": "^5.0.0",
|
|
43
43
|
"art": "^0.10.0",
|
|
44
|
+
"babel-jest": "^29.7.0",
|
|
45
|
+
"babel-plugin-syntax-hermes-parser": "^0.23.1",
|
|
44
46
|
"base64-js": "^1.5.1",
|
|
45
47
|
"chalk": "^4.0.0",
|
|
46
|
-
"commander": "^
|
|
48
|
+
"commander": "^12.0.0",
|
|
47
49
|
"event-target-shim": "^5.0.1",
|
|
48
50
|
"flow-enums-runtime": "^0.0.6",
|
|
49
51
|
"glob": "^7.1.1",
|
|
@@ -51,11 +53,11 @@
|
|
|
51
53
|
"jest-environment-node": "^29.6.3",
|
|
52
54
|
"jsc-android": "^250231.0.0",
|
|
53
55
|
"memoize-one": "^5.0.0",
|
|
54
|
-
"metro-runtime": "^0.
|
|
55
|
-
"metro-source-map": "^0.
|
|
56
|
+
"metro-runtime": "^0.81.0-alpha.2",
|
|
57
|
+
"metro-source-map": "^0.81.0-alpha.2",
|
|
56
58
|
"mkdirp": "^0.5.1",
|
|
57
59
|
"nullthrows": "^1.1.1",
|
|
58
|
-
"pretty-format": "^
|
|
60
|
+
"pretty-format": "^29.7.0",
|
|
59
61
|
"promise": "^8.3.0",
|
|
60
62
|
"react-clone-referenced-element": "^1.0.1",
|
|
61
63
|
"react-devtools-core": "^5.3.1",
|
|
@@ -66,43 +68,43 @@
|
|
|
66
68
|
"semver": "^7.1.3",
|
|
67
69
|
"stacktrace-parser": "^0.1.10",
|
|
68
70
|
"whatwg-fetch": "^3.0.0",
|
|
69
|
-
"ws": "^6.2.
|
|
71
|
+
"ws": "^6.2.3",
|
|
70
72
|
"yargs": "^17.6.2"
|
|
71
73
|
},
|
|
72
74
|
"devDependencies": {
|
|
73
|
-
"@babel/core": "^7.
|
|
74
|
-
"@babel/eslint-parser": "^7.
|
|
75
|
-
"@react-native/metro-config": "0.
|
|
75
|
+
"@babel/core": "^7.25.2",
|
|
76
|
+
"@babel/eslint-parser": "^7.25.1",
|
|
77
|
+
"@react-native/metro-config": "0.76.0-nightly-20240701-9f6cb21ed",
|
|
76
78
|
"@rnw-scripts/babel-react-native-config": "0.0.0",
|
|
77
|
-
"@rnw-scripts/eslint-config": "1.2.
|
|
78
|
-
"@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.
|
|
79
|
-
"@rnw-scripts/just-task": "2.3.
|
|
79
|
+
"@rnw-scripts/eslint-config": "1.2.27",
|
|
80
|
+
"@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.31",
|
|
81
|
+
"@rnw-scripts/just-task": "2.3.44",
|
|
80
82
|
"@rnw-scripts/metro-dev-config": "0.0.0",
|
|
81
83
|
"@rnx-kit/jest-preset": "^0.1.17",
|
|
82
84
|
"@types/node": "^18.0.0",
|
|
83
85
|
"@types/prop-types": "15.7.1",
|
|
84
86
|
"@types/react": "^18.2.6",
|
|
85
87
|
"eslint": "^8.19.0",
|
|
86
|
-
"flow-bin": "^0.
|
|
88
|
+
"flow-bin": "^0.245.2",
|
|
87
89
|
"jscodeshift": "^0.14.0",
|
|
88
90
|
"just-scripts": "^1.3.3",
|
|
89
91
|
"prettier": "2.8.8",
|
|
90
92
|
"react": "18.3.1",
|
|
91
|
-
"react-native": "0.
|
|
92
|
-
"react-native-platform-override": "^1.9.
|
|
93
|
+
"react-native": "0.76.0-rc.4",
|
|
94
|
+
"react-native-platform-override": "^1.9.46",
|
|
93
95
|
"typescript": "5.0.4"
|
|
94
96
|
},
|
|
95
97
|
"peerDependencies": {
|
|
96
98
|
"@types/react": "^18.2.6",
|
|
97
99
|
"react": "^18.2.0",
|
|
98
|
-
"react-native": "
|
|
100
|
+
"react-native": "0.76.0-rc.4"
|
|
99
101
|
},
|
|
100
102
|
"beachball": {
|
|
101
|
-
"defaultNpmTag": "
|
|
103
|
+
"defaultNpmTag": "preview",
|
|
102
104
|
"disallowedChangeTypes": [
|
|
103
105
|
"major",
|
|
104
106
|
"minor",
|
|
105
|
-
"
|
|
107
|
+
"patch",
|
|
106
108
|
"premajor",
|
|
107
109
|
"preminor",
|
|
108
110
|
"prepatch"
|