react-native-windows 0.73.3 → 0.73.5

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.
@@ -203,6 +203,10 @@ class TouchableBounce extends React.Component<Props, State> {
203
203
  this.state.pressability.configure(this._createPressabilityConfig());
204
204
  }
205
205
 
206
+ componentDidMount(): mixed {
207
+ this.state.pressability.configure(this._createPressabilityConfig());
208
+ }
209
+
206
210
  componentWillUnmount(): void {
207
211
  this.state.pressability.reset();
208
212
  }
@@ -363,6 +363,7 @@ class TouchableHighlight extends React.Component<Props, State> {
363
363
 
364
364
  componentDidMount(): void {
365
365
  this._isMounted = true;
366
+ this.state.pressability.configure(this._createPressabilityConfig());
366
367
  }
367
368
 
368
369
  componentDidUpdate(prevProps: Props, prevState: State) {
@@ -378,6 +378,7 @@ class TouchableHighlight extends React.Component<Props, State> {
378
378
 
379
379
  componentDidMount(): void {
380
380
  this._isMounted = true;
381
+ this.state.pressability.configure(this._createPressabilityConfig());
381
382
  }
382
383
 
383
384
  componentDidUpdate(prevProps: Props, prevState: State) {
@@ -339,6 +339,10 @@ class TouchableNativeFeedback extends React.Component<Props, State> {
339
339
  this.state.pressability.configure(this._createPressabilityConfig());
340
340
  }
341
341
 
342
+ componentDidMount(): mixed {
343
+ this.state.pressability.configure(this._createPressabilityConfig());
344
+ }
345
+
342
346
  componentWillUnmount(): void {
343
347
  this.state.pressability.reset();
344
348
  }
@@ -314,6 +314,10 @@ class TouchableOpacity extends React.Component<Props, State> {
314
314
  }
315
315
  }
316
316
 
317
+ componentDidMount(): void {
318
+ this.state.pressability.configure(this._createPressabilityConfig());
319
+ }
320
+
317
321
  componentWillUnmount(): void {
318
322
  this.state.pressability.reset();
319
323
  }
@@ -329,6 +329,10 @@ class TouchableOpacity extends React.Component<Props, State> {
329
329
  }
330
330
  }
331
331
 
332
+ componentDidMount(): void {
333
+ this.state.pressability.configure(this._createPressabilityConfig());
334
+ }
335
+
332
336
  componentWillUnmount(): void {
333
337
  this.state.pressability.reset();
334
338
  }
@@ -189,6 +189,10 @@ class TouchableWithoutFeedback extends React.Component<Props, State> {
189
189
  this.state.pressability.configure(createPressabilityConfig(this.props));
190
190
  }
191
191
 
192
+ componentDidMount(): mixed {
193
+ this.state.pressability.configure(createPressabilityConfig(this.props));
194
+ }
195
+
192
196
  componentWillUnmount(): void {
193
197
  this.state.pressability.reset();
194
198
  }
@@ -204,6 +204,10 @@ class TouchableWithoutFeedback extends React.Component<Props, State> {
204
204
  this.state.pressability.configure(createPressabilityConfig(this.props));
205
205
  }
206
206
 
207
+ componentDidMount(): mixed {
208
+ this.state.pressability.configure(createPressabilityConfig(this.props));
209
+ }
210
+
207
211
  componentWillUnmount(): void {
208
212
  this.state.pressability.reset();
209
213
  }
@@ -12,6 +12,6 @@
12
12
  exports.version = {
13
13
  major: 0,
14
14
  minor: 73,
15
- patch: 0,
15
+ patch: 4,
16
16
  prerelease: null,
17
17
  };
@@ -34,6 +34,11 @@ let rejectionTrackingOptions: $NonMaybeType<Parameters<enable>[0]> = {
34
34
  ? rejection
35
35
  : JSON.stringify((rejection: $FlowFixMe));
36
36
  }
37
+ // It could although this object is not a standard error, it still has stack information to unwind
38
+ // $FlowFixMe ignore types just check if stack is there
39
+ if (rejection.stack && typeof rejection.stack === 'string') {
40
+ stack = rejection.stack;
41
+ }
37
42
  }
38
43
 
39
44
  const warning = `Possible unhandled promise rejection (id: ${id}):\n${
@@ -10,11 +10,11 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.73.3</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.73.5</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>73</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>3</ReactNativeWindowsPatch>
16
+ <ReactNativeWindowsPatch>5</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
- <ReactNativeWindowsCommitId>59717c0795ea777cc6590e2c07a7f41115deffb2</ReactNativeWindowsCommitId>
18
+ <ReactNativeWindowsCommitId>8f4160298ca131e01fb8c1bd6900394735a32c58</ReactNativeWindowsCommitId>
19
19
  </PropertyGroup>
20
20
  </Project>
@@ -991,7 +991,7 @@ void YogaLayoutableShadowNode::ensureConsistency() const {
991
991
  }
992
992
 
993
993
  void YogaLayoutableShadowNode::ensureYogaChildrenLookFine() const {
994
- #ifdef REACT_NATIVE_DEBUG
994
+ #if defined(REACT_NATIVE_DEBUG) && defined(WITH_FBSYSTRACE)
995
995
  // Checking that the shapes of Yoga node children object look fine.
996
996
  // This is the only heuristic that might produce false-positive results
997
997
  // (really broken dangled nodes might look fine). This is useful as an early
@@ -1009,7 +1009,7 @@ void YogaLayoutableShadowNode::ensureYogaChildrenLookFine() const {
1009
1009
  }
1010
1010
 
1011
1011
  void YogaLayoutableShadowNode::ensureYogaChildrenAlignment() const {
1012
- #ifdef REACT_NATIVE_DEBUG
1012
+ #if defined(REACT_NATIVE_DEBUG) && defined(WITH_FBSYSTRACE)
1013
1013
  // If the node is not a leaf node, checking that:
1014
1014
  // - All children are `YogaLayoutableShadowNode` subclasses.
1015
1015
  // - All Yoga children are owned/connected to corresponding children of
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.73.3",
3
+ "version": "0.73.5",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,22 +23,22 @@
23
23
  "dependencies": {
24
24
  "@babel/runtime": "^7.0.0",
25
25
  "@jest/create-cache-key-function": "^29.6.3",
26
- "@react-native-community/cli": "12.1.1",
27
- "@react-native-community/cli-platform-android": "12.1.1",
28
- "@react-native-community/cli-platform-ios": "12.1.1",
29
- "@react-native-windows/cli": "0.73.0",
30
- "@react-native/assets": "1.0.0",
31
- "@react-native/assets-registry": "^0.73.1",
32
- "@react-native/codegen": "^0.73.2",
33
- "@react-native/community-cli-plugin": "^0.73.10",
34
- "@react-native/gradle-plugin": "^0.73.4",
35
- "@react-native/js-polyfills": "^0.73.1",
36
- "@react-native/normalize-colors": "^0.73.2",
37
- "@react-native/virtualized-lists": "^0.73.3",
26
+ "@react-native-community/cli": "12.3.2",
27
+ "@react-native-community/cli-platform-android": "12.3.2",
28
+ "@react-native-community/cli-platform-ios": "12.3.2",
29
+ "@react-native-windows/cli": "0.73.2",
30
+ "@react-native/assets-registry": "0.73.1",
31
+ "@react-native/codegen": "0.73.3",
32
+ "@react-native/community-cli-plugin": "0.73.16",
33
+ "@react-native/gradle-plugin": "0.73.4",
34
+ "@react-native/js-polyfills": "0.73.1",
35
+ "@react-native/normalize-colors": "0.73.2",
36
+ "@react-native/virtualized-lists": "0.73.4",
38
37
  "abort-controller": "^3.0.0",
39
38
  "anser": "^1.4.9",
40
39
  "ansi-regex": "^5.0.0",
41
40
  "base64-js": "^1.5.1",
41
+ "chalk": "^4.0.0",
42
42
  "deprecated-react-native-prop-types": "^5.0.0",
43
43
  "event-target-shim": "^5.0.1",
44
44
  "flow-enums-runtime": "^0.0.6",
@@ -46,8 +46,8 @@
46
46
  "jest-environment-node": "^29.6.3",
47
47
  "jsc-android": "^250231.0.0",
48
48
  "memoize-one": "^5.0.0",
49
- "metro-runtime": "^0.80.0",
50
- "metro-source-map": "^0.80.0",
49
+ "metro-runtime": "^0.80.3",
50
+ "metro-source-map": "^0.80.3",
51
51
  "mkdirp": "^0.5.1",
52
52
  "nullthrows": "^1.1.1",
53
53
  "pretty-format": "^26.5.2",
@@ -81,7 +81,7 @@
81
81
  "just-scripts": "^1.3.3",
82
82
  "prettier": "^2.4.1",
83
83
  "react": "18.2.0",
84
- "react-native": "0.73.0",
84
+ "react-native": "0.73.4",
85
85
  "react-native-platform-override": "^1.9.16",
86
86
  "react-refresh": "^0.4.0",
87
87
  "typescript": "^4.9.5"