react-native 0.67.0-rc.6 → 0.67.3

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 (51) hide show
  1. package/Libraries/Core/ReactNativeVersion.js +3 -3
  2. package/Libraries/Text/TextInput/Multiline/RCTUITextView.m +1 -29
  3. package/Libraries/Text/TextInput/RCTBaseTextInputView.m +2 -0
  4. package/React/Base/RCTVersion.m +3 -3
  5. package/React/CoreModules/RCTAlertController.m +6 -0
  6. package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm +4 -2
  7. package/ReactAndroid/gradle.properties +2 -2
  8. package/ReactAndroid/src/main/java/com/facebook/react/ReactRootView.java +7 -3
  9. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +3 -3
  10. package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextShadowNode.java +0 -5
  11. package/ReactAndroid/src/main/third-party/java/okhttp/BUCK +4 -4
  12. package/ReactCommon/cxxreact/ReactNativeVersion.h +3 -3
  13. package/android/com/facebook/react/react-native/{0.67.0-rc.6/react-native-0.67.0-rc.6.aar → 0.67.3/react-native-0.67.3.aar} +0 -0
  14. package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.aar.md5 +1 -0
  15. package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.aar.sha1 +1 -0
  16. package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.aar.sha256 +1 -0
  17. package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.aar.sha512 +1 -0
  18. package/android/com/facebook/react/react-native/{0.67.0-rc.6/react-native-0.67.0-rc.6.module → 0.67.3/react-native-0.67.3.module} +19 -19
  19. package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.module.md5 +1 -0
  20. package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.module.sha1 +1 -0
  21. package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.module.sha256 +1 -0
  22. package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.module.sha512 +1 -0
  23. package/android/com/facebook/react/react-native/{0.67.0-rc.6/react-native-0.67.0-rc.6.pom → 0.67.3/react-native-0.67.3.pom} +3 -3
  24. package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.pom.md5 +1 -0
  25. package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.pom.sha1 +1 -0
  26. package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.pom.sha256 +1 -0
  27. package/android/com/facebook/react/react-native/0.67.3/react-native-0.67.3.pom.sha512 +1 -0
  28. package/android/com/facebook/react/react-native/maven-metadata.xml +4 -4
  29. package/android/com/facebook/react/react-native/maven-metadata.xml.md5 +1 -1
  30. package/android/com/facebook/react/react-native/maven-metadata.xml.sha1 +1 -1
  31. package/android/com/facebook/react/react-native/maven-metadata.xml.sha256 +1 -1
  32. package/android/com/facebook/react/react-native/maven-metadata.xml.sha512 +1 -1
  33. package/jest/mockModal.js +2 -2
  34. package/package.json +3 -2
  35. package/react.gradle +0 -4
  36. package/scripts/find-node.sh +6 -2
  37. package/scripts/react_native_pods.rb +2 -1
  38. package/template/Gemfile.lock +6 -6
  39. package/template/package.json +1 -1
  40. package/android/com/facebook/react/react-native/0.67.0-rc.6/react-native-0.67.0-rc.6.aar.md5 +0 -1
  41. package/android/com/facebook/react/react-native/0.67.0-rc.6/react-native-0.67.0-rc.6.aar.sha1 +0 -1
  42. package/android/com/facebook/react/react-native/0.67.0-rc.6/react-native-0.67.0-rc.6.aar.sha256 +0 -1
  43. package/android/com/facebook/react/react-native/0.67.0-rc.6/react-native-0.67.0-rc.6.aar.sha512 +0 -1
  44. package/android/com/facebook/react/react-native/0.67.0-rc.6/react-native-0.67.0-rc.6.module.md5 +0 -1
  45. package/android/com/facebook/react/react-native/0.67.0-rc.6/react-native-0.67.0-rc.6.module.sha1 +0 -1
  46. package/android/com/facebook/react/react-native/0.67.0-rc.6/react-native-0.67.0-rc.6.module.sha256 +0 -1
  47. package/android/com/facebook/react/react-native/0.67.0-rc.6/react-native-0.67.0-rc.6.module.sha512 +0 -1
  48. package/android/com/facebook/react/react-native/0.67.0-rc.6/react-native-0.67.0-rc.6.pom.md5 +0 -1
  49. package/android/com/facebook/react/react-native/0.67.0-rc.6/react-native-0.67.0-rc.6.pom.sha1 +0 -1
  50. package/android/com/facebook/react/react-native/0.67.0-rc.6/react-native-0.67.0-rc.6.pom.sha256 +0 -1
  51. package/android/com/facebook/react/react-native/0.67.0-rc.6/react-native-0.67.0-rc.6.pom.sha512 +0 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated by scripts/bump-oss-version.js
2
+ * @generated by scripts/set-rn-version.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
5
5
  *
@@ -12,6 +12,6 @@
12
12
  exports.version = {
13
13
  major: 0,
14
14
  minor: 67,
15
- patch: 0,
16
- prerelease: 'rc.6',
15
+ patch: 3,
16
+ prerelease: null,
17
17
  };
@@ -147,21 +147,7 @@ static UIColor *defaultPlaceholderColor()
147
147
 
148
148
  - (void)setAttributedText:(NSAttributedString *)attributedText
149
149
  {
150
- // Using `setAttributedString:` while user is typing breaks some internal mechanics
151
- // when entering complex input languages such as Chinese, Korean or Japanese.
152
- // see: https://github.com/facebook/react-native/issues/19339
153
-
154
- // We try to avoid calling this method as much as we can.
155
- // If the text has changed, there is nothing we can do.
156
- if (![super.attributedText.string isEqualToString:attributedText.string]) {
157
- [super setAttributedText:attributedText];
158
- } else {
159
- // But if the text is preserved, we just copying the attributes from the source string.
160
- if (![super.attributedText isEqualToAttributedString:attributedText]) {
161
- [self copyTextAttributesFrom:attributedText];
162
- }
163
- }
164
-
150
+ [super setAttributedText:attributedText];
165
151
  [self textDidChange];
166
152
  }
167
153
 
@@ -311,18 +297,4 @@ static UIColor *defaultPlaceholderColor()
311
297
 
312
298
  #pragma mark - Utility Methods
313
299
 
314
- - (void)copyTextAttributesFrom:(NSAttributedString *)sourceString
315
- {
316
- [self.textStorage beginEditing];
317
-
318
- NSTextStorage *textStorage = self.textStorage;
319
- [sourceString enumerateAttributesInRange:NSMakeRange(0, sourceString.length)
320
- options:NSAttributedStringEnumerationReverse
321
- usingBlock:^(NSDictionary<NSAttributedStringKey,id> * _Nonnull attrs, NSRange range, BOOL * _Nonnull stop) {
322
- [textStorage setAttributes:attrs range:range];
323
- }];
324
-
325
- [self.textStorage endEditing];
326
- }
327
-
328
300
  @end
@@ -104,6 +104,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithFrame:(CGRect)frame)
104
104
  // Similarly, when the user is in the middle of inputting some text in Japanese/Chinese, there will be styling on the
105
105
  // text that we should disregard. See https://developer.apple.com/documentation/uikit/uitextinput/1614489-markedtextrange?language=objc
106
106
  // for more info.
107
+ // Also, updating the attributed text while inputting Korean language will break input mechanism.
107
108
  // If the user added an emoji, the system adds a font attribute for the emoji and stores the original font in NSOriginalFont.
108
109
  // Lastly, when entering a password, etc., there will be additional styling on the field as the native text view
109
110
  // handles showing the last character for a split second.
@@ -116,6 +117,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithFrame:(CGRect)frame)
116
117
 
117
118
  BOOL shouldFallbackToBareTextComparison =
118
119
  [self.backedTextInputView.textInputMode.primaryLanguage isEqualToString:@"dictation"] ||
120
+ [self.backedTextInputView.textInputMode.primaryLanguage isEqualToString:@"ko-KR"] ||
119
121
  self.backedTextInputView.markedTextRange ||
120
122
  self.backedTextInputView.isSecureTextEntry ||
121
123
  fontHasBeenUpdatedBySystem;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated by scripts/bump-oss-version.js
2
+ * @generated by scripts/set-rn-version.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
5
5
  *
@@ -23,8 +23,8 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(67),
26
- RCTVersionPatch: @(0),
27
- RCTVersionPrerelease: @"rc.6",
26
+ RCTVersionPatch: @(3),
27
+ RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
30
30
  return __rnVersion;
@@ -35,6 +35,12 @@
35
35
 
36
36
  - (void)hide
37
37
  {
38
+ [_alertWindow setHidden:YES];
39
+
40
+ if (@available(iOS 13, *)) {
41
+ _alertWindow.windowScene = nil;
42
+ }
43
+
38
44
  _alertWindow = nil;
39
45
  }
40
46
 
@@ -580,8 +580,9 @@ using namespace facebook::react;
580
580
  // the settings on a dictation.
581
581
  // Similarly, when the user is in the middle of inputting some text in Japanese/Chinese, there will be styling on the
582
582
  // text that we should disregard. See
583
- // https://developer.apple.com/documentation/uikit/uitextinput/1614489-markedtextrange?language=objc for more info. If
584
- // the user added an emoji, the system adds a font attribute for the emoji and stores the original font in
583
+ // https://developer.apple.com/documentation/uikit/uitextinput/1614489-markedtextrange?language=objc for more info.
584
+ // Also, updating the attributed text while inputting Korean language will break input mechanism.
585
+ // If the user added an emoji, the system adds a font attribute for the emoji and stores the original font in
585
586
  // NSOriginalFont. Lastly, when entering a password, etc., there will be additional styling on the field as the native
586
587
  // text view handles showing the last character for a split second.
587
588
  __block BOOL fontHasBeenUpdatedBySystem = false;
@@ -596,6 +597,7 @@ using namespace facebook::react;
596
597
 
597
598
  BOOL shouldFallbackToBareTextComparison =
598
599
  [_backedTextInputView.textInputMode.primaryLanguage isEqualToString:@"dictation"] ||
600
+ [_backedTextInputView.textInputMode.primaryLanguage isEqualToString:@"ko-KR"] ||
599
601
  _backedTextInputView.markedTextRange || _backedTextInputView.isSecureTextEntry || fontHasBeenUpdatedBySystem;
600
602
 
601
603
  if (shouldFallbackToBareTextComparison) {
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.67.0-rc.6
1
+ VERSION_NAME=0.67.3
2
2
  GROUP=com.facebook.react
3
3
 
4
4
  POM_NAME=ReactNative
@@ -12,7 +12,7 @@ JUNIT_VERSION=4.12
12
12
 
13
13
  ANDROIDX_TEST_VERSION=1.1.0
14
14
  FRESCO_VERSION=2.5.0
15
- OKHTTP_VERSION=4.9.1
15
+ OKHTTP_VERSION=4.9.2
16
16
  SO_LOADER_VERSION=0.10.1
17
17
 
18
18
  BOOST_VERSION=1_63_0
@@ -26,6 +26,7 @@ import android.view.Surface;
26
26
  import android.view.View;
27
27
  import android.view.ViewGroup;
28
28
  import android.view.ViewTreeObserver;
29
+ import android.view.WindowInsets;
29
30
  import android.view.WindowManager;
30
31
  import android.widget.FrameLayout;
31
32
  import androidx.annotation.Nullable;
@@ -775,9 +776,12 @@ public class ReactRootView extends FrameLayout implements RootView, ReactRoot {
775
776
  getRootView().getWindowVisibleDisplayFrame(mVisibleViewArea);
776
777
  int notchHeight = 0;
777
778
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
778
- DisplayCutout displayCutout = getRootView().getRootWindowInsets().getDisplayCutout();
779
- if (displayCutout != null) {
780
- notchHeight = displayCutout.getSafeInsetTop();
779
+ WindowInsets insets = getRootView().getRootWindowInsets();
780
+ if (insets != null) {
781
+ DisplayCutout displayCutout = insets.getDisplayCutout();
782
+ if (displayCutout != null) {
783
+ notchHeight = displayCutout.getSafeInsetTop();
784
+ }
781
785
  }
782
786
  }
783
787
  final int heightDiff =
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated by scripts/bump-oss-version.js
2
+ * @generated by scripts/set-rn-version.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
5
5
  *
@@ -17,6 +17,6 @@ public class ReactNativeVersion {
17
17
  public static final Map<String, Object> VERSION = MapBuilder.<String, Object>of(
18
18
  "major", 0,
19
19
  "minor", 67,
20
- "patch", 0,
21
- "prerelease", "rc.6");
20
+ "patch", 3,
21
+ "prerelease", null);
22
22
  }
@@ -343,11 +343,6 @@ public class ReactTextShadowNode extends ReactBaseTextShadowNode {
343
343
  mJustificationMode);
344
344
  uiViewOperationQueue.enqueueUpdateExtraData(getReactTag(), reactTextUpdate);
345
345
  }
346
-
347
- if (mAdjustsFontSizeToFit) {
348
- // Nodes with `adjustsFontSizeToFit` enabled need to be remeasured on every relayout.
349
- markUpdated();
350
- }
351
346
  }
352
347
 
353
348
  @ReactProp(name = "onTextLayout")
@@ -30,8 +30,8 @@ rn_prebuilt_jar(
30
30
 
31
31
  fb_native.remote_file(
32
32
  name = "okhttp3-binary.jar",
33
- sha1 = "51215279c3fe472c59b6b7dd7491e6ac2e28a81b",
34
- url = "mvn:com.squareup.okhttp3:okhttp:jar:4.9.1",
33
+ sha1 = "5302714ee9320b64cf65ed865e5f65981ef9ba46",
34
+ url = "mvn:com.squareup.okhttp3:okhttp:jar:4.9.2",
35
35
  )
36
36
 
37
37
  rn_prebuilt_jar(
@@ -41,6 +41,6 @@ rn_prebuilt_jar(
41
41
 
42
42
  fb_native.remote_file(
43
43
  name = "okhttp3-urlconnection-binary.jar",
44
- sha1 = "f45e809215bd0961350148cf5b78707865084e6f",
45
- url = "mvn:com.squareup.okhttp3:okhttp-urlconnection:jar:4.9.1",
44
+ sha1 = "3b9e64d3d56370bc7488ed8b336d17a8013cb336",
45
+ url = "mvn:com.squareup.okhttp3:okhttp-urlconnection:jar:4.9.2",
46
46
  )
@@ -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 by scripts/bump-oss-version.js
7
+ * @generated by scripts/set-rn-version.js
8
8
  */
9
9
 
10
10
  #pragma once
@@ -17,8 +17,8 @@ namespace facebook::react {
17
17
  constexpr struct {
18
18
  int32_t Major = 0;
19
19
  int32_t Minor = 67;
20
- int32_t Patch = 0;
21
- std::string_view Prerelease = "rc.6";
20
+ int32_t Patch = 3;
21
+ std::string_view Prerelease = "";
22
22
  } ReactNativeVersion;
23
23
 
24
24
  } // namespace facebook::react
@@ -0,0 +1 @@
1
+ 5232630d5945801200b343b59fef4024
@@ -0,0 +1 @@
1
+ 29574ca71fbf9cee70dbbb8d67885676dcb94792
@@ -0,0 +1 @@
1
+ 999db0c7049827dd43a616c0a1943d7228433be4c1595e91b730fed79c3e985a
@@ -0,0 +1 @@
1
+ 79e1b4b07d84db9c9dc6cbc27048525a56be3429179ee24618569b02e56a99420174fb180bd16598997f8e8108d53a30dea2fb907fb1bbb87fb769432d7b7108
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "com.facebook.react",
5
5
  "module": "react-native",
6
- "version": "0.67.0-rc.6",
6
+ "version": "0.67.3",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -104,14 +104,14 @@
104
104
  "group": "com.squareup.okhttp3",
105
105
  "module": "okhttp",
106
106
  "version": {
107
- "requires": "4.9.1"
107
+ "requires": "4.9.2"
108
108
  }
109
109
  },
110
110
  {
111
111
  "group": "com.squareup.okhttp3",
112
112
  "module": "okhttp-urlconnection",
113
113
  "version": {
114
- "requires": "4.9.1"
114
+ "requires": "4.9.2"
115
115
  }
116
116
  },
117
117
  {
@@ -131,13 +131,13 @@
131
131
  ],
132
132
  "files": [
133
133
  {
134
- "name": "react-native-0.67.0-rc.6.aar",
135
- "url": "react-native-0.67.0-rc.6.aar",
136
- "size": 17805009,
137
- "sha512": "87bc12cbdaa3c75d2e49a5bfd790915cc3916a5a2e570a65a4f032719731a7a76f90b79874c7d51df98beb0a0eb74874f6a8445a8d840613324af48f15ae4f7e",
138
- "sha256": "fb58e5004af9542f5fa65978eb51c91e2217f3ecef075f9a8ca48d41ac7af655",
139
- "sha1": "ca91faab9a20134935d522b3111a853502077879",
140
- "md5": "f3fe94d5a454081a3359afe7aa49e405"
134
+ "name": "react-native-0.67.3.aar",
135
+ "url": "react-native-0.67.3.aar",
136
+ "size": 17805015,
137
+ "sha512": "79e1b4b07d84db9c9dc6cbc27048525a56be3429179ee24618569b02e56a99420174fb180bd16598997f8e8108d53a30dea2fb907fb1bbb87fb769432d7b7108",
138
+ "sha256": "999db0c7049827dd43a616c0a1943d7228433be4c1595e91b730fed79c3e985a",
139
+ "sha1": "29574ca71fbf9cee70dbbb8d67885676dcb94792",
140
+ "md5": "5232630d5945801200b343b59fef4024"
141
141
  }
142
142
  ]
143
143
  },
@@ -231,14 +231,14 @@
231
231
  "group": "com.squareup.okhttp3",
232
232
  "module": "okhttp",
233
233
  "version": {
234
- "requires": "4.9.1"
234
+ "requires": "4.9.2"
235
235
  }
236
236
  },
237
237
  {
238
238
  "group": "com.squareup.okhttp3",
239
239
  "module": "okhttp-urlconnection",
240
240
  "version": {
241
- "requires": "4.9.1"
241
+ "requires": "4.9.2"
242
242
  }
243
243
  },
244
244
  {
@@ -258,13 +258,13 @@
258
258
  ],
259
259
  "files": [
260
260
  {
261
- "name": "react-native-0.67.0-rc.6.aar",
262
- "url": "react-native-0.67.0-rc.6.aar",
263
- "size": 17805009,
264
- "sha512": "87bc12cbdaa3c75d2e49a5bfd790915cc3916a5a2e570a65a4f032719731a7a76f90b79874c7d51df98beb0a0eb74874f6a8445a8d840613324af48f15ae4f7e",
265
- "sha256": "fb58e5004af9542f5fa65978eb51c91e2217f3ecef075f9a8ca48d41ac7af655",
266
- "sha1": "ca91faab9a20134935d522b3111a853502077879",
267
- "md5": "f3fe94d5a454081a3359afe7aa49e405"
261
+ "name": "react-native-0.67.3.aar",
262
+ "url": "react-native-0.67.3.aar",
263
+ "size": 17805015,
264
+ "sha512": "79e1b4b07d84db9c9dc6cbc27048525a56be3429179ee24618569b02e56a99420174fb180bd16598997f8e8108d53a30dea2fb907fb1bbb87fb769432d7b7108",
265
+ "sha256": "999db0c7049827dd43a616c0a1943d7228433be4c1595e91b730fed79c3e985a",
266
+ "sha1": "29574ca71fbf9cee70dbbb8d67885676dcb94792",
267
+ "md5": "5232630d5945801200b343b59fef4024"
268
268
  }
269
269
  ]
270
270
  }
@@ -0,0 +1 @@
1
+ f3952c0dbfccd44dabd4f21619f68f2e
@@ -0,0 +1 @@
1
+ 76805028ae7dbafda72faebb7edaead586671f9b
@@ -0,0 +1 @@
1
+ 5b9b58a4a6d744c7c2ed89b01b602cb18df410dcd488d64c17cc704616d9d268
@@ -0,0 +1 @@
1
+ 18ac25ac01903f6f97265d107d64330a27977145bebf2ea16161a87cca6412fef3e0011855df143f89b270ee15c5a637fbe10a9bb713320b20a13b1134afacf3
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>com.facebook.react</groupId>
11
11
  <artifactId>react-native</artifactId>
12
- <version>0.67.0-rc.6</version>
12
+ <version>0.67.3</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>ReactNative</name>
15
15
  <description>A framework for building native apps with React</description>
@@ -102,13 +102,13 @@
102
102
  <dependency>
103
103
  <groupId>com.squareup.okhttp3</groupId>
104
104
  <artifactId>okhttp</artifactId>
105
- <version>4.9.1</version>
105
+ <version>4.9.2</version>
106
106
  <scope>compile</scope>
107
107
  </dependency>
108
108
  <dependency>
109
109
  <groupId>com.squareup.okhttp3</groupId>
110
110
  <artifactId>okhttp-urlconnection</artifactId>
111
- <version>4.9.1</version>
111
+ <version>4.9.2</version>
112
112
  <scope>compile</scope>
113
113
  </dependency>
114
114
  <dependency>
@@ -0,0 +1 @@
1
+ d16e2872c011f3f8261750c64ad33ab3
@@ -0,0 +1 @@
1
+ f6767caa63e55ba8bda13c0b59f74b09f0dc46d6
@@ -0,0 +1 @@
1
+ 08fc890edae725b55d242dfbf759f86bb827cadf02633c523e906f9cfc01316e
@@ -0,0 +1 @@
1
+ 08859a766074c650bdfa36f1c80583e7b851be4208bb2a3c53cc97d7bfb708f9bda94750ab4966cc31ae04654ec85b98a0c4d6779927ecc206031dd4ed1473e4
@@ -3,11 +3,11 @@
3
3
  <groupId>com.facebook.react</groupId>
4
4
  <artifactId>react-native</artifactId>
5
5
  <versioning>
6
- <latest>0.67.0-rc.6</latest>
7
- <release>0.67.0-rc.6</release>
6
+ <latest>0.67.3</latest>
7
+ <release>0.67.3</release>
8
8
  <versions>
9
- <version>0.67.0-rc.6</version>
9
+ <version>0.67.3</version>
10
10
  </versions>
11
- <lastUpdated>20211214194225</lastUpdated>
11
+ <lastUpdated>20220222144631</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 15e1bcbf82e0ee597a18db605fba7bfc
1
+ 203c52a2411919050e759d94b99cee1a
@@ -1 +1 @@
1
- a3406e4f3333348aa6f63689758d7544b1ebcfef
1
+ 1626abfd87820d47a339f6a847c33002b7d36ef1
@@ -1 +1 @@
1
- 2ab4420a0ad63efd6f71675e673e85c16191b7ee24ce245b1d2d621cab97fa6b
1
+ f380fa82a13a3482ca40b2d0a754018c7f5af9546033517369f5e63a4e956a93
@@ -1 +1 @@
1
- 6acf01e53b80c7fa91a1b10b07a9dd2601ba3ffa405a868d0e48076e3d9a7fe094805e564cb650fca469b8ac58b03eade958c26f6470b48b33702d192110cf26
1
+ 27e52d6a69de2bf48895ebb89b5cca7cec72b2b3f548a09f5a115f5a51c12f60d8a41f8f0d75fce66185886f0c4dc4629cb826b878254d11503db71ed6daee97
package/jest/mockModal.js CHANGED
@@ -13,11 +13,11 @@
13
13
  'use strict';
14
14
 
15
15
  const React = require('react');
16
- const Modal = require('../Libraries/Modal/Modal');
16
+ import typeof Modal from '../Libraries/Modal/Modal';
17
17
 
18
18
  function mockModal(BaseComponent: $FlowFixMe) {
19
19
  class ModalMock extends BaseComponent {
20
- render(): React.Element<typeof Modal> {
20
+ render(): React.Element<Modal> {
21
21
  return (
22
22
  <BaseComponent {...this.props}>
23
23
  {this.props.visible !== true ? null : this.props.children}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native",
3
- "version": "0.67.0-rc.6",
3
+ "version": "0.67.3",
4
4
  "bin": "./cli.js",
5
5
  "description": "A framework for building native apps using React",
6
6
  "license": "MIT",
@@ -156,7 +156,8 @@
156
156
  "shelljs": "^0.7.8",
157
157
  "signedsource": "^1.0.0",
158
158
  "ws": "^6.1.4",
159
- "yargs": "^15.3.1"
159
+ "yargs": "^15.3.1",
160
+ "inquirer": "^7.1.0"
160
161
  },
161
162
  "detox": {
162
163
  "test-runner": "jest",
package/react.gradle CHANGED
@@ -363,10 +363,6 @@ afterEvaluate {
363
363
  } else {
364
364
  // For JSC, delete all the libhermes* files
365
365
  include "**/libhermes*.so"
366
- // Delete the libjscexecutor from release build
367
- if (cleanup) {
368
- include "**/libjscexecutor.so"
369
- }
370
366
  }
371
367
  }.visit { details ->
372
368
  def targetVariant1 = ".*/transforms/[^/]*/${targetPath}/.*"
@@ -19,12 +19,16 @@ fi
19
19
  # Define NVM_DIR and source the nvm.sh setup script
20
20
  [ -z "$NVM_DIR" ] && export NVM_DIR="$HOME/.nvm"
21
21
 
22
+ # Source nvm with '--no-use' and then `nvm use` to respect .nvmrc
23
+ # See: https://github.com/nvm-sh/nvm/issues/2053
22
24
  if [[ -s "$HOME/.nvm/nvm.sh" ]]; then
23
25
  # shellcheck source=/dev/null
24
- . "$HOME/.nvm/nvm.sh"
26
+ . "$HOME/.nvm/nvm.sh" --no-use
27
+ nvm use 2> /dev/null || nvm use default
25
28
  elif [[ -x "$(command -v brew)" && -s "$(brew --prefix nvm)/nvm.sh" ]]; then
26
29
  # shellcheck source=/dev/null
27
- . "$(brew --prefix nvm)/nvm.sh"
30
+ . "$(brew --prefix nvm)/nvm.sh" --no-use
31
+ nvm use 2> /dev/null || nvm use default
28
32
  fi
29
33
 
30
34
  # Set up the nodenv node version manager if present
@@ -393,5 +393,6 @@ def __apply_Xcode_12_5_M1_post_install_workaround(installer)
393
393
  # "Time.h:52:17: error: typedef redefinition with different types"
394
394
  # We need to make a patch to RCT-Folly - remove the `__IPHONE_OS_VERSION_MIN_REQUIRED` check.
395
395
  # See https://github.com/facebook/flipper/issues/834 for more details.
396
- `sed -i -e $'s/ && (__IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_10_0)//' Pods/RCT-Folly/folly/portability/Time.h`
396
+ time_header = "#{Pod::Config.instance.installation_root.to_s}/Pods/RCT-Folly/folly/portability/Time.h"
397
+ `sed -i -e $'s/ && (__IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_10_0)//' #{time_header}`
397
398
  end
@@ -3,7 +3,7 @@ GEM
3
3
  specs:
4
4
  CFPropertyList (3.0.5)
5
5
  rexml
6
- activesupport (6.1.4.1)
6
+ activesupport (6.1.4.6)
7
7
  concurrent-ruby (~> 1.0, >= 1.0.2)
8
8
  i18n (>= 1.6, < 2)
9
9
  minitest (>= 5.1)
@@ -15,7 +15,7 @@ GEM
15
15
  httpclient (~> 2.8, >= 2.8.3)
16
16
  json (>= 1.5.1)
17
17
  atomos (0.1.3)
18
- claide (1.0.3)
18
+ claide (1.1.0)
19
19
  cocoapods (1.11.2)
20
20
  addressable (~> 2.8)
21
21
  claide (>= 1.0.2, < 2.0)
@@ -58,15 +58,15 @@ GEM
58
58
  escape (0.0.4)
59
59
  ethon (0.15.0)
60
60
  ffi (>= 1.15.0)
61
- ffi (1.15.4)
61
+ ffi (1.15.5)
62
62
  fourflusher (2.3.1)
63
63
  fuzzy_match (2.0.4)
64
64
  gh_inspector (1.1.3)
65
65
  httpclient (2.8.3)
66
- i18n (1.8.11)
66
+ i18n (1.10.0)
67
67
  concurrent-ruby (~> 1.0)
68
68
  json (2.6.1)
69
- minitest (5.14.4)
69
+ minitest (5.15.0)
70
70
  molinillo (0.8.0)
71
71
  nanaimo (0.3.0)
72
72
  nap (1.1.0)
@@ -85,7 +85,7 @@ GEM
85
85
  colored2 (~> 3.1)
86
86
  nanaimo (~> 0.3.0)
87
87
  rexml (~> 3.2.4)
88
- zeitwerk (2.5.1)
88
+ zeitwerk (2.5.4)
89
89
 
90
90
  PLATFORMS
91
91
  ruby
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "react": "17.0.2",
14
- "react-native": "0.67.0-rc.6"
14
+ "react-native": "0.67.3"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@babel/core": "^7.12.9",
@@ -1 +0,0 @@
1
- f3fe94d5a454081a3359afe7aa49e405
@@ -1 +0,0 @@
1
- ca91faab9a20134935d522b3111a853502077879
@@ -1 +0,0 @@
1
- fb58e5004af9542f5fa65978eb51c91e2217f3ecef075f9a8ca48d41ac7af655
@@ -1 +0,0 @@
1
- 87bc12cbdaa3c75d2e49a5bfd790915cc3916a5a2e570a65a4f032719731a7a76f90b79874c7d51df98beb0a0eb74874f6a8445a8d840613324af48f15ae4f7e
@@ -1 +0,0 @@
1
- cb0a9990a8e2864c9f0fa6893d3f315a3fd750bc
@@ -1 +0,0 @@
1
- f5e8dd04c36593eb21fda4a37c5a25bb1552d78a017b11d929c573e8c1752f8e
@@ -1 +0,0 @@
1
- 0bf37d831191424f1f6d9d9c48adc22911bd94730406271bf36a778f491d47a2dc694ed7b2636dba05683d9c661e39d807e4c05d4db372ed78e0d99ebebd811b
@@ -1 +0,0 @@
1
- 2355cfe78c53cacdc03969d7711b0331
@@ -1 +0,0 @@
1
- f893613672e85b4c010619a06c4e65f36ce9ea0a
@@ -1 +0,0 @@
1
- bd4d2b6dd7f12341bc6b61a8affa9cd7cf05ef39d7fb9608d1ece5713a8a527e
@@ -1 +0,0 @@
1
- eeaa257ded7f28dd8991bd11111a58c03a08af4d1ee7190f3dd7e085892403dedcedb7cfed77b94650bffe00ffea70f856ad661d89684e922a8835eea01f305a