@office-iss/react-native-win32 0.69.0 → 0.70.0

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.
Files changed (157) hide show
  1. package/.eslintrc.js +0 -1
  2. package/.flowconfig +5 -1
  3. package/CHANGELOG.json +241 -31
  4. package/CHANGELOG.md +97 -18
  5. package/IntegrationTests/AsyncStorageTest.js +20 -4
  6. package/IntegrationTests/BUCK +2 -2
  7. package/IntegrationTests/LayoutEventsTest.js +4 -1
  8. package/IntegrationTests/{launchWebSocketServer.command → launchWebSocketServer.sh} +3 -9
  9. package/Libraries/Alert/Alert.js +18 -4
  10. package/Libraries/Alert/Alert.win32.js +2 -0
  11. package/Libraries/Alert/NativeAlertManager.js +1 -0
  12. package/Libraries/Animated/Animated.js +2 -2
  13. package/Libraries/Animated/AnimatedEvent.js +7 -4
  14. package/Libraries/Animated/AnimatedImplementation.js +17 -3
  15. package/Libraries/Animated/AnimatedMock.js +7 -2
  16. package/Libraries/Animated/NativeAnimatedHelper.js +220 -95
  17. package/Libraries/Animated/NativeAnimatedModule.js +3 -0
  18. package/Libraries/Animated/NativeAnimatedTurboModule.js +3 -0
  19. package/Libraries/Animated/animations/SpringAnimation.js +3 -3
  20. package/Libraries/Animated/animations/TimingAnimation.js +3 -3
  21. package/Libraries/Animated/createAnimatedComponent.js +8 -1
  22. package/Libraries/Animated/nodes/AnimatedAddition.js +3 -1
  23. package/Libraries/Animated/nodes/AnimatedColor.js +50 -29
  24. package/Libraries/Animated/nodes/AnimatedDiffClamp.js +3 -1
  25. package/Libraries/Animated/nodes/AnimatedDivision.js +3 -1
  26. package/Libraries/Animated/nodes/AnimatedInterpolation.js +22 -21
  27. package/Libraries/Animated/nodes/AnimatedModulo.js +3 -1
  28. package/Libraries/Animated/nodes/AnimatedMultiplication.js +3 -2
  29. package/Libraries/Animated/nodes/AnimatedProps.js +20 -12
  30. package/Libraries/Animated/nodes/AnimatedStyle.js +19 -16
  31. package/Libraries/Animated/nodes/AnimatedSubtraction.js +3 -1
  32. package/Libraries/Animated/nodes/AnimatedTransform.js +5 -5
  33. package/Libraries/Animated/nodes/AnimatedValue.js +14 -5
  34. package/Libraries/Animated/nodes/AnimatedValueXY.js +28 -1
  35. package/Libraries/Animated/useAnimatedProps.js +1 -0
  36. package/Libraries/AppState/AppState.js +0 -32
  37. package/Libraries/BatchedBridge/MessageQueue.js +21 -15
  38. package/Libraries/BatchedBridge/NativeModules.js +3 -4
  39. package/Libraries/Blob/FileReader.js +0 -6
  40. package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.js +0 -20
  41. package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.win32.js +0 -20
  42. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +4 -0
  43. package/Libraries/Components/Keyboard/Keyboard.js +0 -11
  44. package/Libraries/Components/Pressable/Pressable.js +2 -0
  45. package/Libraries/Components/Pressable/Pressable.win32.js +2 -0
  46. package/Libraries/Components/SafeAreaView/RCTSafeAreaViewNativeComponent.js +1 -3
  47. package/Libraries/Components/SafeAreaView/SafeAreaView.js +3 -30
  48. package/Libraries/Components/SafeAreaView/SafeAreaView.win32.js +4 -32
  49. package/Libraries/Components/ScrollView/ScrollView.js +13 -11
  50. package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +5 -3
  51. package/Libraries/Components/StatusBar/StatusBar.js +10 -7
  52. package/Libraries/Components/TextInput/InputAccessoryView.js +14 -13
  53. package/Libraries/Components/TextInput/TextInput.js +12 -2
  54. package/Libraries/Components/Touchable/PooledClass.js +16 -4
  55. package/Libraries/Components/Touchable/Touchable.js +50 -1
  56. package/Libraries/Components/Touchable/Touchable.win32.js +972 -0
  57. package/Libraries/Components/Touchable/TouchableNativeFeedback.js +6 -2
  58. package/Libraries/Components/View/ReactNativeStyleAttributes.js +0 -7
  59. package/Libraries/Components/View/ViewPropTypes.js +3 -8
  60. package/Libraries/Components/View/ViewPropTypes.win32.js +3 -8
  61. package/Libraries/Components/View/ViewWin32.Props.d.ts +1 -1
  62. package/Libraries/Components/View/ViewWin32.Props.js.map +1 -1
  63. package/Libraries/Core/ExceptionsManager.js +2 -0
  64. package/Libraries/Core/ReactNativeVersion.js +1 -1
  65. package/Libraries/Core/Timers/JSTimers.js +2 -2
  66. package/Libraries/Core/polyfillPromise.js +0 -32
  67. package/Libraries/Core/setUpBatchedBridge.js +5 -1
  68. package/Libraries/Core/setUpPerformance.js +1 -1
  69. package/Libraries/EventEmitter/NativeEventEmitter.js +0 -13
  70. package/Libraries/Image/AssetSourceResolver.js +2 -2
  71. package/Libraries/Image/Image.android.js +5 -3
  72. package/Libraries/Image/Image.ios.js +6 -3
  73. package/Libraries/Image/Image.win32.js +6 -3
  74. package/Libraries/Image/ImageSource.js +7 -5
  75. package/Libraries/Inspector/ElementBox.js +2 -2
  76. package/Libraries/Inspector/NetworkOverlay.js +13 -8
  77. package/Libraries/Interaction/PanResponder.js +16 -14
  78. package/Libraries/Linking/Linking.js +0 -11
  79. package/Libraries/Lists/FlatList.js +3 -2
  80. package/Libraries/Lists/SectionList.js +2 -0
  81. package/Libraries/Lists/ViewabilityHelper.js +7 -3
  82. package/Libraries/Lists/VirtualizeUtils.js +33 -20
  83. package/Libraries/Lists/VirtualizedList.js +93 -47
  84. package/Libraries/Lists/VirtualizedListContext.js +1 -0
  85. package/Libraries/Lists/VirtualizedSectionList.js +14 -9
  86. package/Libraries/Lists/__tests__/VirtualizeUtils-test.js +19 -18
  87. package/Libraries/Lists/__tests__/VirtualizedList-test.js +10 -6
  88. package/Libraries/LogBox/Data/LogBoxData.js +1 -1
  89. package/Libraries/LogBox/Data/parseLogBoxLog.js +1 -1
  90. package/Libraries/LogBox/LogBox.js +3 -1
  91. package/Libraries/LogBox/UI/AnsiHighlight.js +2 -0
  92. package/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js +3 -0
  93. package/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.js +0 -3
  94. package/Libraries/LogBox/UI/LogBoxInspectorStackFrames.js +8 -3
  95. package/Libraries/NativeComponent/BaseViewConfig.android.js +9 -18
  96. package/Libraries/NativeComponent/BaseViewConfig.ios.js +26 -12
  97. package/Libraries/NativeComponent/BaseViewConfig.win32.js +26 -12
  98. package/Libraries/Network/XMLHttpRequest.js +9 -11
  99. package/Libraries/Performance/PureComponentDebug.js +1 -0
  100. package/Libraries/PermissionsAndroid/NativePermissionsAndroid.js +9 -1
  101. package/Libraries/PermissionsAndroid/PermissionsAndroid.js +16 -0
  102. package/Libraries/Pressability/Pressability.js +26 -16
  103. package/Libraries/Pressability/Pressability.win32.js +26 -16
  104. package/Libraries/Promise.js +0 -1
  105. package/Libraries/ReactNative/AppRegistry.js +16 -13
  106. package/Libraries/ReactNative/BridgelessUIManager.js +2 -0
  107. package/Libraries/ReactNative/PaperUIManager.js +9 -9
  108. package/Libraries/ReactNative/PaperUIManager.win32.js +7 -8
  109. package/Libraries/ReactNative/ReactNativeFeatureFlags.js +12 -0
  110. package/Libraries/ReactNative/ReactNativeRuntimeDiagnostics.js +68 -0
  111. package/Libraries/ReactNative/getNativeComponentAttributes.js +6 -7
  112. package/Libraries/ReactNative/renderApplication.js +1 -1
  113. package/Libraries/Renderer/implementations/ReactFabric-dev.js +4443 -3615
  114. package/Libraries/Renderer/implementations/ReactFabric-prod.js +1496 -1170
  115. package/Libraries/Renderer/implementations/ReactFabric-profiling.js +1694 -1356
  116. package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +4439 -3588
  117. package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +1583 -1249
  118. package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +1719 -1372
  119. package/Libraries/Storage/AsyncStorage.js +7 -1
  120. package/Libraries/StyleSheet/PlatformColorValueTypes.ios.js +8 -0
  121. package/Libraries/StyleSheet/flattenStyle.js +1 -1
  122. package/Libraries/StyleSheet/processTransform.js +2 -0
  123. package/Libraries/StyleSheet/splitLayoutProps.js +2 -0
  124. package/Libraries/Text/Text.js +15 -7
  125. package/Libraries/Types/CoreEventTypes.js +137 -11
  126. package/Libraries/Types/CoreEventTypes.win32.js +147 -22
  127. package/Libraries/Utilities/Dimensions.js +0 -13
  128. package/Libraries/Utilities/Dimensions.win32.js +0 -9
  129. package/Libraries/Utilities/HMRClient.js +3 -3
  130. package/Libraries/Utilities/Platform.ios.js +0 -7
  131. package/Libraries/Utilities/ReactNativeTestTools.js +3 -1
  132. package/Libraries/Utilities/codegenNativeCommands.js +11 -2
  133. package/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js +2 -0
  134. package/Libraries/Utilities/stringifySafe.js +3 -1
  135. package/Libraries/Utilities/truncate.js +1 -1
  136. package/Libraries/Utilities/verifyComponentAttributeEquivalence.js +2 -2
  137. package/Libraries/Vibration/Vibration.js +1 -1
  138. package/Libraries/WebSocket/WebSocket.js +1 -0
  139. package/Libraries/vendor/emitter/EventEmitter.js +105 -12
  140. package/Libraries/vendor/emitter/__flowtests__/EventEmitter-flowtest.js +73 -117
  141. package/flow/JSITimerInternalType.js +30 -0
  142. package/jest/assetFileTransformer.js +3 -2
  143. package/jest/setup.js +4 -0
  144. package/jest.config.js +0 -1
  145. package/overrides.json +23 -16
  146. package/package.json +21 -22
  147. package/rntypes/index.d.ts +0 -1
  148. package/src/Libraries/Components/View/ViewWin32.Props.ts +2 -1
  149. package/src/rntypes/index.d.ts +0 -1
  150. package/Libraries/vendor/emitter/EventSubscription.js +0 -19
  151. package/Libraries/vendor/emitter/_EmitterSubscription.js +0 -62
  152. package/Libraries/vendor/emitter/_EventEmitter.js +0 -184
  153. package/Libraries/vendor/emitter/_EventSubscription.js +0 -45
  154. package/Libraries/vendor/emitter/_EventSubscriptionVendor.js +0 -108
  155. package/jest/preprocessor.js +0 -40
  156. package/jest/preprocessor_DO_NOT_USE.js +0 -122
  157. package/src/Libraries/Lists/__tests__/__snapshots__/VirtualizeUtils-test.js.snap +0 -3
package/.eslintrc.js CHANGED
@@ -13,7 +13,6 @@ module.exports = {
13
13
  rules: {
14
14
  '@typescript-eslint/no-unnecessary-condition': 'off',
15
15
  'no-restricted-syntax': 'off',
16
- '@typescript-eslint/no-unused-vars': 'off',
17
16
  },
18
17
  },
19
18
  ],
package/.flowconfig CHANGED
@@ -14,6 +14,7 @@
14
14
  <PROJECT_ROOT>/Libraries/Components/SafeAreaView/SafeAreaView.js
15
15
  <PROJECT_ROOT>/Libraries/Components/TextInput/TextInput.js
16
16
  <PROJECT_ROOT>/Libraries/Components/TextInput/TextInputState.js
17
+ <PROJECT_ROOT>/Libraries/Components/Touchable/Touchable.js
17
18
  <PROJECT_ROOT>/Libraries/Components/Touchable/TouchableNativeFeedback.js
18
19
  <PROJECT_ROOT>/Libraries/Components/View/ReactNativeViewAttributes.js
19
20
  <PROJECT_ROOT>/Libraries/Components/View/View.js
@@ -78,6 +79,7 @@ flow/
78
79
  emoji=true
79
80
 
80
81
  exact_by_default=true
82
+ exact_empty_objects=true
81
83
 
82
84
  format.bracket_spacing=false
83
85
 
@@ -100,6 +102,8 @@ suppress_type=$FlowFixMeProps
100
102
  suppress_type=$FlowFixMeState
101
103
  suppress_type=$FlowFixMeEmpty
102
104
 
105
+ experimental.env_mode=ssa
106
+
103
107
  [lints]
104
108
  sketchy-null-number=warn
105
109
  sketchy-null-mixed=warn
@@ -120,4 +124,4 @@ untyped-import
120
124
  untyped-type-import
121
125
 
122
126
  [version]
123
- ^0.176.3
127
+ ^0.182.0
package/CHANGELOG.json CHANGED
@@ -2,94 +2,304 @@
2
2
  "name": "@office-iss/react-native-win32",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 27 Jun 2022 15:09:11 GMT",
6
- "tag": "@office-iss/react-native-win32_v0.69.0",
7
- "version": "0.69.0",
5
+ "date": "Mon, 12 Sep 2022 17:53:24 GMT",
6
+ "tag": "@office-iss/react-native-win32_v0.70.0",
7
+ "version": "0.70.0",
8
8
  "comments": {
9
9
  "patch": [
10
+ {
11
+ "author": "krsiler@microsoft.com",
12
+ "package": "@office-iss/react-native-win32",
13
+ "commit": "5f821666aef636b2a3ac87b539610ea69c81e9ef",
14
+ "comment": "Add Toggle action to accessibilityActionName"
15
+ },
16
+ {
17
+ "author": "34109996+chiaramooney@users.noreply.github.com",
18
+ "package": "@office-iss/react-native-win32",
19
+ "commit": "a32daf434ab33a2f5507bbbfd19a5317d0050b01",
20
+ "comment": "Integrate 70 Stable"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@office-iss/react-native-win32",
25
+ "comment": "Bump @react-native-windows/virtualized-list to v0.70.0",
26
+ "commit": "a32daf434ab33a2f5507bbbfd19a5317d0050b01"
27
+ }
28
+ ]
29
+ }
30
+ },
31
+ {
32
+ "date": "Tue, 23 Aug 2022 23:36:52 GMT",
33
+ "tag": "@office-iss/react-native-win32_v0.70.0-preview.2",
34
+ "version": "0.70.0-preview.2",
35
+ "comments": {
36
+ "prerelease": [
10
37
  {
11
38
  "author": "34109996+chiaramooney@users.noreply.github.com",
12
39
  "package": "@office-iss/react-native-win32",
13
- "commit": "34b26bb3e1b807958458a386c94ae8b70cea5fbb",
14
- "comment": "Integrate 0.69.0"
40
+ "commit": "144a31db1774e3a88528560956483c63e5665b1d",
41
+ "comment": "Resolve Conflicts"
15
42
  },
16
43
  {
17
44
  "author": "beachball",
18
45
  "package": "@office-iss/react-native-win32",
19
- "comment": "Bump @react-native-windows/virtualized-list to v0.69.0",
20
- "commit": "34b26bb3e1b807958458a386c94ae8b70cea5fbb"
46
+ "comment": "Bump @react-native-windows/virtualized-list to v0.70.0-preview.2",
47
+ "commit": "144a31db1774e3a88528560956483c63e5665b1d"
21
48
  }
22
49
  ]
23
50
  }
24
51
  },
25
52
  {
26
- "date": "Mon, 13 Jun 2022 15:10:55 GMT",
27
- "tag": "@office-iss/react-native-win32_v0.69.0-preview.4",
28
- "version": "0.69.0-preview.4",
53
+ "date": "Mon, 22 Aug 2022 20:20:06 GMT",
54
+ "tag": "@office-iss/react-native-win32_v0.70.0-preview.1",
55
+ "version": "0.70.0-preview.1",
29
56
  "comments": {
30
57
  "prerelease": [
31
58
  {
32
59
  "author": "34109996+chiaramooney@users.noreply.github.com",
33
60
  "package": "@office-iss/react-native-win32",
34
- "commit": "014e0289748121cb0fc11393a98404f145b53b1c",
35
- "comment": "Integrate RC6"
61
+ "commit": "b4acd4f5d8015a953cde246e1f612f44a0767e97",
62
+ "comment": "Promote 0.70 to preview"
36
63
  },
37
64
  {
38
65
  "author": "beachball",
39
66
  "package": "@office-iss/react-native-win32",
40
- "comment": "Bump @react-native-windows/virtualized-list to v0.69.0-preview.3",
41
- "commit": "a04f5f19cb869db2b5ceea5e73c4096842e57ed4"
67
+ "comment": "Bump @react-native-windows/virtualized-list to v0.70.0-preview.1",
68
+ "commit": "a5034fc1c5336413a381652b8edefc1b4ca76832"
42
69
  }
43
70
  ]
44
71
  }
45
72
  },
46
73
  {
47
- "date": "Mon, 06 Jun 2022 15:09:03 GMT",
48
- "tag": "@office-iss/react-native-win32_v0.69.0-preview.3",
49
- "version": "0.69.0-preview.3",
74
+ "date": "Sat, 20 Aug 2022 05:08:53 GMT",
75
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.158",
76
+ "version": "0.0.0-canary.158",
50
77
  "comments": {
51
78
  "prerelease": [
79
+ {
80
+ "author": "34109996+chiaramooney@users.noreply.github.com",
81
+ "package": "@office-iss/react-native-win32",
82
+ "commit": "409648078984fc75c56d990aa2c151f419131eb3",
83
+ "comment": "Integrate 7/14"
84
+ },
85
+ {
86
+ "author": "beachball",
87
+ "package": "@office-iss/react-native-win32",
88
+ "comment": "Bump @react-native-windows/virtualized-list to v0.0.0-canary.49",
89
+ "commit": "0a49d9c313261cae2876122cd28bb1110219fb60"
90
+ }
91
+ ]
92
+ }
93
+ },
94
+ {
95
+ "date": "Wed, 03 Aug 2022 05:09:40 GMT",
96
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.157",
97
+ "version": "0.0.0-canary.157",
98
+ "comments": {
99
+ "prerelease": [
100
+ {
101
+ "author": "34109996+chiaramooney@users.noreply.github.com",
102
+ "package": "@office-iss/react-native-win32",
103
+ "commit": "d521a4704a276ec138073c14f5e37d0094fca7f2",
104
+ "comment": "Integrate 7/4"
105
+ },
52
106
  {
53
107
  "author": "beachball",
54
108
  "package": "@office-iss/react-native-win32",
55
- "comment": "Bump @react-native-windows/virtualized-list to v0.69.0-preview.2",
56
- "commit": "55fc1addf2b30c941a64ca361f78549caac88230"
109
+ "comment": "Bump @react-native-windows/virtualized-list to v0.0.0-canary.48",
110
+ "commit": "a4e3b6ddea368f38b71b0a776b2952bd1653c44f"
57
111
  }
58
112
  ]
59
113
  }
60
114
  },
61
115
  {
62
- "date": "Mon, 16 May 2022 15:09:01 GMT",
63
- "tag": "@office-iss/react-native-win32_v0.69.0-preview.2",
64
- "version": "0.69.0-preview.2",
116
+ "date": "Tue, 12 Jul 2022 05:10:12 GMT",
117
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.156",
118
+ "version": "0.0.0-canary.156",
65
119
  "comments": {
66
120
  "prerelease": [
67
121
  {
68
122
  "author": "jthysell@microsoft.com",
69
123
  "package": "@office-iss/react-native-win32",
70
- "commit": "70ed2cf44501f1ac1951638154915bc14f073406",
71
- "comment": "Upgrade to @react-native-community/cli@8.0.0-alpha.6"
124
+ "commit": "24b8aafe312aece0f8d3d4049b80f94bc078080b",
125
+ "comment": "CG: Remove dependency on deprecated `hermes-engine` package"
126
+ }
127
+ ]
128
+ }
129
+ },
130
+ {
131
+ "date": "Fri, 17 Jun 2022 05:10:04 GMT",
132
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.155",
133
+ "version": "0.0.0-canary.155",
134
+ "comments": {
135
+ "prerelease": [
136
+ {
137
+ "author": "34109996+chiaramooney@users.noreply.github.com",
138
+ "package": "@office-iss/react-native-win32",
139
+ "commit": "4b2b9ced05f9fefa5faaa3c6ec582236ffbfd500",
140
+ "comment": "Integrate 6/14"
141
+ },
142
+ {
143
+ "author": "beachball",
144
+ "package": "@office-iss/react-native-win32",
145
+ "comment": "Bump @react-native-windows/virtualized-list to v0.0.0-canary.47",
146
+ "commit": "4b2b9ced05f9fefa5faaa3c6ec582236ffbfd500"
72
147
  }
73
148
  ]
74
149
  }
75
150
  },
76
151
  {
77
- "date": "Wed, 04 May 2022 23:30:22 GMT",
78
- "tag": "@office-iss/react-native-win32_v0.69.0-preview.1",
79
- "version": "0.69.0-preview.1",
152
+ "date": "Fri, 10 Jun 2022 05:09:59 GMT",
153
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.154",
154
+ "version": "0.0.0-canary.154",
155
+ "comments": {
156
+ "prerelease": [
157
+ {
158
+ "author": "34109996+chiaramooney@users.noreply.github.com",
159
+ "package": "@office-iss/react-native-win32",
160
+ "commit": "72aca533cbb597d07e8ddc744f6dac9d260afbe2",
161
+ "comment": "Integrate 6/8"
162
+ },
163
+ {
164
+ "author": "beachball",
165
+ "package": "@office-iss/react-native-win32",
166
+ "comment": "Bump @react-native-windows/virtualized-list to v0.0.0-canary.46",
167
+ "commit": "6688554a96e3df80111c2eec9c11279351ba0e5f"
168
+ }
169
+ ]
170
+ }
171
+ },
172
+ {
173
+ "date": "Thu, 09 Jun 2022 05:09:48 GMT",
174
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.153",
175
+ "version": "0.0.0-canary.153",
176
+ "comments": {
177
+ "prerelease": [
178
+ {
179
+ "author": "tatianakapos@microsoft.com",
180
+ "package": "@office-iss/react-native-win32",
181
+ "commit": "c8b1cae46b586d81561df23c2071bad15a3afa5b",
182
+ "comment": "integrate-6-3-22"
183
+ },
184
+ {
185
+ "author": "beachball",
186
+ "package": "@office-iss/react-native-win32",
187
+ "comment": "Bump @react-native-windows/virtualized-list to v0.0.0-canary.45",
188
+ "commit": "72b5d9301e9878448c0d1a2bf8e3b238adfa9c1b"
189
+ }
190
+ ]
191
+ }
192
+ },
193
+ {
194
+ "date": "Sat, 04 Jun 2022 05:10:04 GMT",
195
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.152",
196
+ "version": "0.0.0-canary.152",
197
+ "comments": {
198
+ "prerelease": [
199
+ {
200
+ "author": "tatianakapos@microsoft.com",
201
+ "package": "@office-iss/react-native-win32",
202
+ "commit": "5dff9fb894d2e274467a37fcac5219eca8ad0ebd",
203
+ "comment": "integrate 5-16-22"
204
+ },
205
+ {
206
+ "author": "beachball",
207
+ "package": "@office-iss/react-native-win32",
208
+ "comment": "Bump @react-native-windows/virtualized-list to v0.0.0-canary.44",
209
+ "commit": "5dff9fb894d2e274467a37fcac5219eca8ad0ebd"
210
+ },
211
+ {
212
+ "author": "beachball",
213
+ "package": "@office-iss/react-native-win32",
214
+ "comment": "Bump @rnw-scripts/just-task to v2.2.5",
215
+ "commit": "5dff9fb894d2e274467a37fcac5219eca8ad0ebd"
216
+ },
217
+ {
218
+ "author": "beachball",
219
+ "package": "@office-iss/react-native-win32",
220
+ "comment": "Bump react-native-platform-override to v1.6.13",
221
+ "commit": "5dff9fb894d2e274467a37fcac5219eca8ad0ebd"
222
+ }
223
+ ]
224
+ }
225
+ },
226
+ {
227
+ "date": "Thu, 12 May 2022 05:09:43 GMT",
228
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.151",
229
+ "version": "0.0.0-canary.151",
230
+ "comments": {
231
+ "prerelease": [
232
+ {
233
+ "author": "ngerlem@microsoft.com",
234
+ "package": "@office-iss/react-native-win32",
235
+ "commit": "edf2bf35d8cba11571bb5938fc0f37044e5606d5",
236
+ "comment": "Build/dependency fixes"
237
+ },
238
+ {
239
+ "author": "beachball",
240
+ "package": "@office-iss/react-native-win32",
241
+ "comment": "Bump @react-native-windows/virtualized-list to v0.0.0-canary.43",
242
+ "commit": "a0ce0770a6161c9a8505faa6857df80e3c7c6ad0"
243
+ },
244
+ {
245
+ "author": "beachball",
246
+ "package": "@office-iss/react-native-win32",
247
+ "comment": "Bump @rnw-scripts/eslint-config to v1.1.13",
248
+ "commit": "a0ce0770a6161c9a8505faa6857df80e3c7c6ad0"
249
+ },
250
+ {
251
+ "author": "beachball",
252
+ "package": "@office-iss/react-native-win32",
253
+ "comment": "Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.0.7",
254
+ "commit": "a0ce0770a6161c9a8505faa6857df80e3c7c6ad0"
255
+ },
256
+ {
257
+ "author": "beachball",
258
+ "package": "@office-iss/react-native-win32",
259
+ "comment": "Bump @rnw-scripts/just-task to v2.2.4",
260
+ "commit": "a0ce0770a6161c9a8505faa6857df80e3c7c6ad0"
261
+ },
262
+ {
263
+ "author": "beachball",
264
+ "package": "@office-iss/react-native-win32",
265
+ "comment": "Bump react-native-platform-override to v1.6.12",
266
+ "commit": "a0ce0770a6161c9a8505faa6857df80e3c7c6ad0"
267
+ }
268
+ ]
269
+ }
270
+ },
271
+ {
272
+ "date": "Wed, 11 May 2022 05:08:51 GMT",
273
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.150",
274
+ "version": "0.0.0-canary.150",
80
275
  "comments": {
81
276
  "prerelease": [
82
277
  {
83
278
  "author": "jthysell@microsoft.com",
84
279
  "package": "@office-iss/react-native-win32",
85
- "commit": "460c63a1d225ae27c0ca64a4ef0d21ea477e546b",
86
- "comment": "Promote 0.69 to preview"
280
+ "commit": "601ce5567434a9e7b2dac151d45d641f68c7c0a4",
281
+ "comment": "Upgrade to @react-native-community/cli@8.0.0-alpha.6"
282
+ }
283
+ ]
284
+ }
285
+ },
286
+ {
287
+ "date": "Tue, 10 May 2022 05:08:46 GMT",
288
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.149",
289
+ "version": "0.0.0-canary.149",
290
+ "comments": {
291
+ "prerelease": [
292
+ {
293
+ "author": "tatianakapos@microsoft.com",
294
+ "package": "@office-iss/react-native-win32",
295
+ "commit": "69494f5f087d34b14a789967783fd4b3c929d40a",
296
+ "comment": "integrate 5-1-22"
87
297
  },
88
298
  {
89
299
  "author": "beachball",
90
300
  "package": "@office-iss/react-native-win32",
91
- "comment": "Bump @react-native-windows/virtualized-list to v0.69.0-preview.1",
92
- "commit": "4ec3e5663977bb8a0079f362fd35e21cf39dc636"
301
+ "comment": "Bump @react-native-windows/virtualized-list to v0.0.0-canary.42",
302
+ "commit": "75857a696c79a569bf47ac5917cd1d69009820b3"
93
303
  }
94
304
  ]
95
305
  }
package/CHANGELOG.md CHANGED
@@ -1,51 +1,130 @@
1
1
  # Change Log - @office-iss/react-native-win32
2
2
 
3
- This log was last generated on Mon, 27 Jun 2022 15:09:11 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 12 Sep 2022 17:53:24 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.69.0
7
+ ## 0.70.0
8
8
 
9
- Mon, 27 Jun 2022 15:09:11 GMT
9
+ Mon, 12 Sep 2022 17:53:24 GMT
10
10
 
11
11
  ### Patches
12
12
 
13
- - Integrate 0.69.0 (34109996+chiaramooney@users.noreply.github.com)
14
- - Bump @react-native-windows/virtualized-list to v0.69.0
13
+ - Add Toggle action to accessibilityActionName (krsiler@microsoft.com)
14
+ - Integrate 70 Stable (34109996+chiaramooney@users.noreply.github.com)
15
+ - Bump @react-native-windows/virtualized-list to v0.70.0
15
16
 
16
- ## 0.69.0-preview.4
17
+ ## 0.70.0-preview.2
17
18
 
18
- Mon, 13 Jun 2022 15:10:55 GMT
19
+ Tue, 23 Aug 2022 23:36:52 GMT
19
20
 
20
21
  ### Changes
21
22
 
22
- - Integrate RC6 (34109996+chiaramooney@users.noreply.github.com)
23
- - Bump @react-native-windows/virtualized-list to v0.69.0-preview.3
23
+ - Resolve Conflicts (34109996+chiaramooney@users.noreply.github.com)
24
+ - Bump @react-native-windows/virtualized-list to v0.70.0-preview.2
24
25
 
25
- ## 0.69.0-preview.3
26
+ ## 0.70.0-preview.1
26
27
 
27
- Mon, 06 Jun 2022 15:09:03 GMT
28
+ Mon, 22 Aug 2022 20:20:06 GMT
28
29
 
29
30
  ### Changes
30
31
 
31
- - Bump @react-native-windows/virtualized-list to v0.69.0-preview.2
32
+ - Promote 0.70 to preview (34109996+chiaramooney@users.noreply.github.com)
33
+ - Bump @react-native-windows/virtualized-list to v0.70.0-preview.1
32
34
 
33
- ## 0.69.0-preview.2
35
+ ## 0.0.0-canary.158
34
36
 
35
- Mon, 16 May 2022 15:09:01 GMT
37
+ Sat, 20 Aug 2022 05:08:53 GMT
38
+
39
+ ### Changes
40
+
41
+ - Integrate 7/14 (34109996+chiaramooney@users.noreply.github.com)
42
+ - Bump @react-native-windows/virtualized-list to v0.0.0-canary.49
43
+
44
+ ## 0.0.0-canary.157
45
+
46
+ Wed, 03 Aug 2022 05:09:40 GMT
47
+
48
+ ### Changes
49
+
50
+ - Integrate 7/4 (34109996+chiaramooney@users.noreply.github.com)
51
+ - Bump @react-native-windows/virtualized-list to v0.0.0-canary.48
52
+
53
+ ## 0.0.0-canary.156
54
+
55
+ Tue, 12 Jul 2022 05:10:12 GMT
56
+
57
+ ### Changes
58
+
59
+ - CG: Remove dependency on deprecated `hermes-engine` package (jthysell@microsoft.com)
60
+
61
+ ## 0.0.0-canary.155
62
+
63
+ Fri, 17 Jun 2022 05:10:04 GMT
64
+
65
+ ### Changes
66
+
67
+ - Integrate 6/14 (34109996+chiaramooney@users.noreply.github.com)
68
+ - Bump @react-native-windows/virtualized-list to v0.0.0-canary.47
69
+
70
+ ## 0.0.0-canary.154
71
+
72
+ Fri, 10 Jun 2022 05:09:59 GMT
73
+
74
+ ### Changes
75
+
76
+ - Integrate 6/8 (34109996+chiaramooney@users.noreply.github.com)
77
+ - Bump @react-native-windows/virtualized-list to v0.0.0-canary.46
78
+
79
+ ## 0.0.0-canary.153
80
+
81
+ Thu, 09 Jun 2022 05:09:48 GMT
82
+
83
+ ### Changes
84
+
85
+ - integrate-6-3-22 (tatianakapos@microsoft.com)
86
+ - Bump @react-native-windows/virtualized-list to v0.0.0-canary.45
87
+
88
+ ## 0.0.0-canary.152
89
+
90
+ Sat, 04 Jun 2022 05:10:04 GMT
91
+
92
+ ### Changes
93
+
94
+ - integrate 5-16-22 (tatianakapos@microsoft.com)
95
+ - Bump @react-native-windows/virtualized-list to v0.0.0-canary.44
96
+ - Bump @rnw-scripts/just-task to v2.2.5
97
+ - Bump react-native-platform-override to v1.6.13
98
+
99
+ ## 0.0.0-canary.151
100
+
101
+ Thu, 12 May 2022 05:09:43 GMT
102
+
103
+ ### Changes
104
+
105
+ - Build/dependency fixes (ngerlem@microsoft.com)
106
+ - Bump @react-native-windows/virtualized-list to v0.0.0-canary.43
107
+ - Bump @rnw-scripts/eslint-config to v1.1.13
108
+ - Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.0.7
109
+ - Bump @rnw-scripts/just-task to v2.2.4
110
+ - Bump react-native-platform-override to v1.6.12
111
+
112
+ ## 0.0.0-canary.150
113
+
114
+ Wed, 11 May 2022 05:08:51 GMT
36
115
 
37
116
  ### Changes
38
117
 
39
118
  - Upgrade to @react-native-community/cli@8.0.0-alpha.6 (jthysell@microsoft.com)
40
119
 
41
- ## 0.69.0-preview.1
120
+ ## 0.0.0-canary.149
42
121
 
43
- Wed, 04 May 2022 23:30:22 GMT
122
+ Tue, 10 May 2022 05:08:46 GMT
44
123
 
45
124
  ### Changes
46
125
 
47
- - Promote 0.69 to preview (jthysell@microsoft.com)
48
- - Bump @react-native-windows/virtualized-list to v0.69.0-preview.1
126
+ - integrate 5-1-22 (tatianakapos@microsoft.com)
127
+ - Bump @react-native-windows/virtualized-list to v0.0.0-canary.42
49
128
 
50
129
  ## 0.0.0-canary.148
51
130
 
@@ -33,7 +33,7 @@ const VAL_MERGE_EXPECT = {foo: 1, bar: {hoo: 2, boo: 1}, baz: 2, moo: {a: 3}};
33
33
  let done = (result: ?boolean) => {};
34
34
  let updateMessage = (message: string) => {};
35
35
 
36
- function runTestCase(description: string, fn) {
36
+ function runTestCase(description: string, fn: () => void) {
37
37
  updateMessage(description);
38
38
  fn();
39
39
  }
@@ -61,7 +61,20 @@ function stringify(
61
61
  return JSON.stringify(value);
62
62
  }
63
63
 
64
- function expectEqual(lhs, rhs, testname: string) {
64
+ function expectEqual(
65
+ lhs: ?(any | string | Array<Array<string>>),
66
+ rhs:
67
+ | null
68
+ | string
69
+ | {
70
+ bar: {boo: number, hoo: number},
71
+ baz: number,
72
+ foo: number,
73
+ moo: {a: number},
74
+ }
75
+ | Array<Array<string>>,
76
+ testname: string,
77
+ ) {
65
78
  expectTrue(
66
79
  !deepDiffer(lhs, rhs),
67
80
  'Error in test ' +
@@ -73,7 +86,10 @@ function expectEqual(lhs, rhs, testname: string) {
73
86
  );
74
87
  }
75
88
 
76
- function expectAsyncNoError(place, err) {
89
+ function expectAsyncNoError(
90
+ place: string,
91
+ err: ?(Error | string | Array<Error>),
92
+ ) {
77
93
  if (err instanceof Error) {
78
94
  err = err.message;
79
95
  }
@@ -207,7 +223,7 @@ class AsyncStorageTest extends React.Component<{...}, $FlowFixMeState> {
207
223
  this.setState({done: true}, () => {
208
224
  TestModule.markTestCompleted();
209
225
  });
210
- updateMessage = msg => {
226
+ updateMessage = (msg: string) => {
211
227
  this.setState({messages: this.state.messages.concat('\n' + msg)});
212
228
  DEBUG && console.log(msg);
213
229
  };
@@ -1,4 +1,4 @@
1
- load("@fbsource//tools/build_defs:js_glob.bzl", "js_glob")
1
+ load("@fbsource//tools/build_defs:js_library_glob.bzl", "js_library_glob")
2
2
  load("@fbsource//tools/build_defs/oss:metro_defs.bzl", "rn_library")
3
3
 
4
4
  # This file was generated by running
@@ -6,7 +6,7 @@ load("@fbsource//tools/build_defs/oss:metro_defs.bzl", "rn_library")
6
6
 
7
7
  rn_library(
8
8
  name = "IntegrationTests",
9
- srcs = js_glob(
9
+ srcs = js_library_glob(
10
10
  [
11
11
  "**/*",
12
12
  ],
@@ -19,7 +19,7 @@ import type {ViewStyleProp} from 'react-native/Libraries/StyleSheet/StyleSheet';
19
19
 
20
20
  const deepDiffer = require('react-native/Libraries/Utilities/differ/deepDiffer');
21
21
 
22
- function debug(...args) {
22
+ function debug(...args: Array<void | Layout | string>) {
23
23
  // console.log.apply(null, arguments);
24
24
  }
25
25
 
@@ -119,16 +119,19 @@ class LayoutEventsTest extends React.Component<Props, State> {
119
119
  }
120
120
 
121
121
  onViewLayout: (e: LayoutEvent) => void = (e: LayoutEvent) => {
122
+ // $FlowFixMe[incompatible-call]
122
123
  debug('received view layout event\n', e.nativeEvent);
123
124
  this.setState({viewLayout: e.nativeEvent.layout}, this.checkLayout);
124
125
  };
125
126
 
126
127
  onTextLayout: (e: LayoutEvent) => void = (e: LayoutEvent) => {
128
+ // $FlowFixMe[incompatible-call]
127
129
  debug('received text layout event\n', e.nativeEvent);
128
130
  this.setState({textLayout: e.nativeEvent.layout}, this.checkLayout);
129
131
  };
130
132
 
131
133
  onImageLayout: (e: LayoutEvent) => void = (e: LayoutEvent) => {
134
+ // $FlowFixMe[incompatible-call]
132
135
  debug('received image layout event\n', e.nativeEvent);
133
136
  this.setState({imageLayout: e.nativeEvent.layout}, this.checkLayout);
134
137
  };
@@ -1,18 +1,12 @@
1
1
  #!/bin/bash
2
-
3
2
  # Copyright (c) Meta Platforms, Inc. and affiliates.
4
3
  #
5
4
  # This source code is licensed under the MIT license found in the
6
5
  # LICENSE file in the root directory of this source tree.
7
6
 
8
- # Set terminal title
9
- echo -en "\033]0;Web Socket Test Server\a"
10
- clear
11
-
12
7
  THIS_DIR=$(cd -P "$(dirname "$(readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd)
13
- pushd "$THIS_DIR"
8
+ pushd "$THIS_DIR" || exit
14
9
  ./websocket_integration_test_server.js
15
- popd
10
+ popd || exit
16
11
 
17
- echo "Process terminated. Press <enter> to close the window"
18
- read
12
+ echo "Process terminated."