react-native 0.66.0-rc.4 → 0.66.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/Components/Keyboard/Keyboard.js +2 -2
  2. package/Libraries/Core/ReactNativeVersion.js +2 -2
  3. package/Libraries/LogBox/Data/LogBoxData.js +18 -18
  4. package/React/Base/RCTVersion.m +2 -2
  5. package/React/CoreModules/RCTAppearance.mm +3 -1
  6. package/React/CoreModules/RCTLogBox.mm +1 -0
  7. package/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec-generated.mm +2096 -0
  8. package/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec.h +2554 -0
  9. package/ReactAndroid/gradle.properties +1 -1
  10. package/ReactAndroid/src/main/java/com/facebook/react/ReactActivity.java +7 -0
  11. package/ReactAndroid/src/main/java/com/facebook/react/ReactActivityDelegate.java +7 -0
  12. package/ReactAndroid/src/main/java/com/facebook/react/modules/appearance/AppearanceModule.java +10 -1
  13. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +2 -2
  14. package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewBackgroundDrawable.java +8 -8
  15. package/ReactCommon/cxxreact/ReactNativeVersion.h +2 -2
  16. package/android/com/facebook/react/react-native/{0.66.0-rc.4/react-native-0.66.0-rc.4.aar → 0.66.3/react-native-0.66.3.aar} +0 -0
  17. package/android/com/facebook/react/react-native/0.66.3/react-native-0.66.3.aar.md5 +1 -0
  18. package/android/com/facebook/react/react-native/0.66.3/react-native-0.66.3.aar.sha1 +1 -0
  19. package/android/com/facebook/react/react-native/0.66.3/react-native-0.66.3.aar.sha256 +1 -0
  20. package/android/com/facebook/react/react-native/0.66.3/react-native-0.66.3.aar.sha512 +1 -0
  21. package/android/com/facebook/react/react-native/{0.66.0-rc.4/react-native-0.66.0-rc.4.module → 0.66.3/react-native-0.66.3.module} +16 -16
  22. package/android/com/facebook/react/react-native/0.66.3/react-native-0.66.3.module.md5 +1 -0
  23. package/android/com/facebook/react/react-native/0.66.3/react-native-0.66.3.module.sha1 +1 -0
  24. package/android/com/facebook/react/react-native/0.66.3/react-native-0.66.3.module.sha256 +1 -0
  25. package/android/com/facebook/react/react-native/0.66.3/react-native-0.66.3.module.sha512 +1 -0
  26. package/android/com/facebook/react/react-native/{0.66.0-rc.4/react-native-0.66.0-rc.4.pom → 0.66.3/react-native-0.66.3.pom} +1 -1
  27. package/android/com/facebook/react/react-native/0.66.3/react-native-0.66.3.pom.md5 +1 -0
  28. package/android/com/facebook/react/react-native/0.66.3/react-native-0.66.3.pom.sha1 +1 -0
  29. package/android/com/facebook/react/react-native/0.66.3/react-native-0.66.3.pom.sha256 +1 -0
  30. package/android/com/facebook/react/react-native/0.66.3/react-native-0.66.3.pom.sha512 +1 -0
  31. package/android/com/facebook/react/react-native/maven-metadata.xml +4 -4
  32. package/android/com/facebook/react/react-native/maven-metadata.xml.md5 +1 -1
  33. package/android/com/facebook/react/react-native/maven-metadata.xml.sha1 +1 -1
  34. package/android/com/facebook/react/react-native/maven-metadata.xml.sha256 +1 -1
  35. package/android/com/facebook/react/react-native/maven-metadata.xml.sha512 +1 -1
  36. package/jest/preprocessor.js +9 -77
  37. package/package.json +3 -2
  38. package/scripts/react-native-xcode.sh +1 -1
  39. package/template/package.json +1 -1
  40. package/android/com/facebook/react/react-native/0.66.0-rc.4/react-native-0.66.0-rc.4.aar.md5 +0 -1
  41. package/android/com/facebook/react/react-native/0.66.0-rc.4/react-native-0.66.0-rc.4.aar.sha1 +0 -1
  42. package/android/com/facebook/react/react-native/0.66.0-rc.4/react-native-0.66.0-rc.4.aar.sha256 +0 -1
  43. package/android/com/facebook/react/react-native/0.66.0-rc.4/react-native-0.66.0-rc.4.aar.sha512 +0 -1
  44. package/android/com/facebook/react/react-native/0.66.0-rc.4/react-native-0.66.0-rc.4.module.md5 +0 -1
  45. package/android/com/facebook/react/react-native/0.66.0-rc.4/react-native-0.66.0-rc.4.module.sha1 +0 -1
  46. package/android/com/facebook/react/react-native/0.66.0-rc.4/react-native-0.66.0-rc.4.module.sha256 +0 -1
  47. package/android/com/facebook/react/react-native/0.66.0-rc.4/react-native-0.66.0-rc.4.module.sha512 +0 -1
  48. package/android/com/facebook/react/react-native/0.66.0-rc.4/react-native-0.66.0-rc.4.pom.md5 +0 -1
  49. package/android/com/facebook/react/react-native/0.66.0-rc.4/react-native-0.66.0-rc.4.pom.sha1 +0 -1
  50. package/android/com/facebook/react/react-native/0.66.0-rc.4/react-native-0.66.0-rc.4.pom.sha256 +0 -1
  51. package/android/com/facebook/react/react-native/0.66.0-rc.4/react-native-0.66.0-rc.4.pom.sha512 +0 -1
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.66.0-rc.4
1
+ VERSION_NAME=0.66.3
2
2
  GROUP=com.facebook.react
3
3
 
4
4
  POM_NAME=ReactNative
@@ -8,6 +8,7 @@
8
8
  package com.facebook.react;
9
9
 
10
10
  import android.content.Intent;
11
+ import android.content.res.Configuration;
11
12
  import android.os.Bundle;
12
13
  import android.view.KeyEvent;
13
14
  import androidx.annotation.Nullable;
@@ -121,6 +122,12 @@ public abstract class ReactActivity extends AppCompatActivity
121
122
  mDelegate.onWindowFocusChanged(hasFocus);
122
123
  }
123
124
 
125
+ @Override
126
+ public void onConfigurationChanged(Configuration newConfig) {
127
+ super.onConfigurationChanged(newConfig);
128
+ mDelegate.onConfigurationChanged(newConfig);
129
+ }
130
+
124
131
  protected final ReactNativeHost getReactNativeHost() {
125
132
  return mDelegate.getReactNativeHost();
126
133
  }
@@ -11,6 +11,7 @@ import android.annotation.TargetApi;
11
11
  import android.app.Activity;
12
12
  import android.content.Context;
13
13
  import android.content.Intent;
14
+ import android.content.res.Configuration;
14
15
  import android.os.Build;
15
16
  import android.os.Bundle;
16
17
  import android.view.KeyEvent;
@@ -154,6 +155,12 @@ public class ReactActivityDelegate {
154
155
  }
155
156
  }
156
157
 
158
+ public void onConfigurationChanged(Configuration newConfig) {
159
+ if (getReactNativeHost().hasInstance()) {
160
+ getReactInstanceManager().onConfigurationChanged(getContext(), newConfig);
161
+ }
162
+ }
163
+
157
164
  @TargetApi(Build.VERSION_CODES.M)
158
165
  public void requestPermissions(
159
166
  String[] permissions, int requestCode, PermissionListener listener) {
@@ -7,6 +7,7 @@
7
7
 
8
8
  package com.facebook.react.modules.appearance;
9
9
 
10
+ import android.app.Activity;
10
11
  import android.content.Context;
11
12
  import android.content.res.Configuration;
12
13
  import androidx.annotation.Nullable;
@@ -74,7 +75,15 @@ public class AppearanceModule extends NativeAppearanceSpec {
74
75
 
75
76
  @Override
76
77
  public String getColorScheme() {
77
- mColorScheme = colorSchemeForCurrentConfiguration(getReactApplicationContext());
78
+ // Attempt to use the Activity context first in order to get the most up to date
79
+ // scheme. This covers the scenario when AppCompatDelegate.setDefaultNightMode()
80
+ // is called directly (which can occur in Brownfield apps for example).
81
+ Activity activity = getCurrentActivity();
82
+
83
+ mColorScheme =
84
+ colorSchemeForCurrentConfiguration(
85
+ activity != null ? activity : getReactApplicationContext());
86
+
78
87
  return mColorScheme;
79
88
  }
80
89
 
@@ -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", 66,
20
- "patch", 0,
21
- "prerelease", "rc.4");
20
+ "patch", 3,
21
+ "prerelease", null);
22
22
  }
@@ -1106,8 +1106,8 @@ public class ReactViewBackgroundDrawable extends Drawable {
1106
1106
  int width = Math.round(borderWidth.left);
1107
1107
  updatePathEffect(width);
1108
1108
  mPaint.setStrokeWidth(width);
1109
- mPathForSingleBorder.moveTo(left, top - borderWidth.top / 2);
1110
- mPathForSingleBorder.lineTo(left, bottom + borderWidth.bottom / 2);
1109
+ mPathForSingleBorder.moveTo(left + width / 2, top);
1110
+ mPathForSingleBorder.lineTo(left + width / 2, bottom);
1111
1111
  canvas.drawPath(mPathForSingleBorder, mPaint);
1112
1112
  }
1113
1113
  if (borderTop > 0) {
@@ -1115,8 +1115,8 @@ public class ReactViewBackgroundDrawable extends Drawable {
1115
1115
  int width = Math.round(borderWidth.top);
1116
1116
  updatePathEffect(width);
1117
1117
  mPaint.setStrokeWidth(width);
1118
- mPathForSingleBorder.moveTo(left, top);
1119
- mPathForSingleBorder.lineTo(right, top);
1118
+ mPathForSingleBorder.moveTo(left, top + width / 2);
1119
+ mPathForSingleBorder.lineTo(right, top + width / 2);
1120
1120
  canvas.drawPath(mPathForSingleBorder, mPaint);
1121
1121
  }
1122
1122
  if (borderRight > 0) {
@@ -1124,8 +1124,8 @@ public class ReactViewBackgroundDrawable extends Drawable {
1124
1124
  int width = Math.round(borderWidth.right);
1125
1125
  updatePathEffect(width);
1126
1126
  mPaint.setStrokeWidth(width);
1127
- mPathForSingleBorder.moveTo(right, top - borderWidth.top / 2);
1128
- mPathForSingleBorder.lineTo(right, bottom + borderWidth.bottom / 2);
1127
+ mPathForSingleBorder.moveTo(right - width / 2, top);
1128
+ mPathForSingleBorder.lineTo(right - width / 2, bottom);
1129
1129
  canvas.drawPath(mPathForSingleBorder, mPaint);
1130
1130
  }
1131
1131
  if (borderBottom > 0) {
@@ -1133,8 +1133,8 @@ public class ReactViewBackgroundDrawable extends Drawable {
1133
1133
  int width = Math.round(borderWidth.bottom);
1134
1134
  updatePathEffect(width);
1135
1135
  mPaint.setStrokeWidth(width);
1136
- mPathForSingleBorder.moveTo(left, bottom);
1137
- mPathForSingleBorder.lineTo(right, bottom);
1136
+ mPathForSingleBorder.moveTo(left, bottom - width / 2);
1137
+ mPathForSingleBorder.lineTo(right, bottom - width / 2);
1138
1138
  canvas.drawPath(mPathForSingleBorder, mPaint);
1139
1139
  }
1140
1140
  }
@@ -17,8 +17,8 @@ namespace facebook::react {
17
17
  constexpr struct {
18
18
  int32_t Major = 0;
19
19
  int32_t Minor = 66;
20
- int32_t Patch = 0;
21
- std::string_view Prerelease = "rc.4";
20
+ int32_t Patch = 3;
21
+ std::string_view Prerelease = "";
22
22
  } ReactNativeVersion;
23
23
 
24
24
  } // namespace facebook::react
@@ -0,0 +1 @@
1
+ ed78b13e5cd3fe7f866332255030c062
@@ -0,0 +1 @@
1
+ d7843bea0bbe6a3979545e5b4b229e451a724911
@@ -0,0 +1 @@
1
+ a8373042073d9974ed595db0427a2ed55ddf1e86847577cd19a7b9c3cb248042
@@ -0,0 +1 @@
1
+ fee2b61eaa87bb3421ac60967022a39e470b4f1ae6c93f10187d8a50cb20d76271d331ec45ee85504df0a2e76749229cae2a9000f92b72cf86927c0b7ed72a2a
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "com.facebook.react",
5
5
  "module": "react-native",
6
- "version": "0.66.0-rc.4",
6
+ "version": "0.66.3",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -11,7 +11,7 @@
11
11
  "createdBy": {
12
12
  "gradle": {
13
13
  "version": "6.9",
14
- "buildId": "ske4xvyfrzamrnncy7gqmks5se"
14
+ "buildId": "h4cdgi2pw5d2lpm3zrgyiceimu"
15
15
  }
16
16
  },
17
17
  "variants": [
@@ -132,13 +132,13 @@
132
132
  ],
133
133
  "files": [
134
134
  {
135
- "name": "react-native-0.66.0-rc.4.aar",
136
- "url": "react-native-0.66.0-rc.4.aar",
137
- "size": 17709972,
138
- "sha512": "33bed82712cbb52c63b74efe2808d164de65ca657f83aae3affaa1a5c6b6b92d54be609906c94476a0fffefee03ec514a3f9e689294e27b274cd791ab85c56db",
139
- "sha256": "e81bb1a0d2006dbef157c8c959412b30873c0ed235e33a61fb8241eb2980949c",
140
- "sha1": "f5ee0b6332a19c50b67832605c75eb044a9a0b84",
141
- "md5": "d405242915b13049481386dd2e79bdb5"
135
+ "name": "react-native-0.66.3.aar",
136
+ "url": "react-native-0.66.3.aar",
137
+ "size": 17710264,
138
+ "sha512": "fee2b61eaa87bb3421ac60967022a39e470b4f1ae6c93f10187d8a50cb20d76271d331ec45ee85504df0a2e76749229cae2a9000f92b72cf86927c0b7ed72a2a",
139
+ "sha256": "a8373042073d9974ed595db0427a2ed55ddf1e86847577cd19a7b9c3cb248042",
140
+ "sha1": "d7843bea0bbe6a3979545e5b4b229e451a724911",
141
+ "md5": "ed78b13e5cd3fe7f866332255030c062"
142
142
  }
143
143
  ]
144
144
  },
@@ -259,13 +259,13 @@
259
259
  ],
260
260
  "files": [
261
261
  {
262
- "name": "react-native-0.66.0-rc.4.aar",
263
- "url": "react-native-0.66.0-rc.4.aar",
264
- "size": 17709972,
265
- "sha512": "33bed82712cbb52c63b74efe2808d164de65ca657f83aae3affaa1a5c6b6b92d54be609906c94476a0fffefee03ec514a3f9e689294e27b274cd791ab85c56db",
266
- "sha256": "e81bb1a0d2006dbef157c8c959412b30873c0ed235e33a61fb8241eb2980949c",
267
- "sha1": "f5ee0b6332a19c50b67832605c75eb044a9a0b84",
268
- "md5": "d405242915b13049481386dd2e79bdb5"
262
+ "name": "react-native-0.66.3.aar",
263
+ "url": "react-native-0.66.3.aar",
264
+ "size": 17710264,
265
+ "sha512": "fee2b61eaa87bb3421ac60967022a39e470b4f1ae6c93f10187d8a50cb20d76271d331ec45ee85504df0a2e76749229cae2a9000f92b72cf86927c0b7ed72a2a",
266
+ "sha256": "a8373042073d9974ed595db0427a2ed55ddf1e86847577cd19a7b9c3cb248042",
267
+ "sha1": "d7843bea0bbe6a3979545e5b4b229e451a724911",
268
+ "md5": "ed78b13e5cd3fe7f866332255030c062"
269
269
  }
270
270
  ]
271
271
  }
@@ -0,0 +1 @@
1
+ 0661cbf49b29bdac4f345a242875fc7d
@@ -0,0 +1 @@
1
+ d532d69d9551531deed2fa71e5760c96bbae7273
@@ -0,0 +1 @@
1
+ 0f40aacccd2e34f7c71565f4ac622915c83787d618b234e9f11519fc5c60db6a
@@ -0,0 +1 @@
1
+ 2d14d9e836c2c9451a2094f807a00831532ca65045651e867c6c3f76644940d55491489cd1bca42a2a8f7c948143d7d53bac2008d594ab9add07619af0ee1cee
@@ -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.66.0-rc.4</version>
12
+ <version>0.66.3</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>ReactNative</name>
15
15
  <description>A framework for building native apps with React</description>
@@ -0,0 +1 @@
1
+ 9eef166659d1f6f7c688964bf68c67b7
@@ -0,0 +1 @@
1
+ 0ff2fcd41fbe6607e757cdb0dd95dc4f1861aaa4
@@ -0,0 +1 @@
1
+ dae958ddf78897e3d747d04da491fe84be8d404026775e3e50c05936af74a55c
@@ -0,0 +1 @@
1
+ 152172449e18a62c6d54f5a4b38726dd0a84f327b083f015fcfea7ef671d69a253a75544fd36680215e6082e1bf26a26af1f2c1d673a34580960c75a4d9d80fd
@@ -3,11 +3,11 @@
3
3
  <groupId>com.facebook.react</groupId>
4
4
  <artifactId>react-native</artifactId>
5
5
  <versioning>
6
- <latest>0.66.0-rc.4</latest>
7
- <release>0.66.0-rc.4</release>
6
+ <latest>0.66.3</latest>
7
+ <release>0.66.3</release>
8
8
  <versions>
9
- <version>0.66.0-rc.4</version>
9
+ <version>0.66.3</version>
10
10
  </versions>
11
- <lastUpdated>20210924024254</lastUpdated>
11
+ <lastUpdated>20211110070525</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- be114c2d103fdf963552fdbc53f2daa8
1
+ 32955ce0bf60129c8ef0849a2be848e6
@@ -1 +1 @@
1
- 505c6b55998a9858a729cc958d24124685bed5aa
1
+ e2f77f18bf12ce92b8bdb90328ee6f36cb4548b6
@@ -1 +1 @@
1
- 704aa6d9a5db7792bdbac715671f640b294e1908a5fe189070f8c40fe61c8085
1
+ 3c36503a2cc1a8559427d55ef2a05394d707c0c1abb4744dbdcc45007a806c65
@@ -1 +1 @@
1
- 66d3c4109db406b2bed600a08cd2d843a6686fc052c822181adb5a38c4a604c900bb6106540d7e6228db3b5b74adf1acfd1b9b98d0ed685fc39302ed6e904d10
1
+ 863508160ab34566e1d3aa11c092f156347080266db2d91a60440cce1a37611f23dc687835df749d9907f8f3b2434e77d768feef1b6304bde43e8ca50e3245db
@@ -13,42 +13,10 @@
13
13
  'use strict';
14
14
 
15
15
  const babelRegisterOnly = require('metro-babel-register');
16
- const nullthrows = require('nullthrows');
17
- const createCacheKeyFunction = require('@jest/create-cache-key-function')
18
- .default;
19
- const t = require('@babel/types');
20
- const {statements} = require('@babel/template').default;
16
+ const createCacheKeyFunction =
17
+ require('@jest/create-cache-key-function').default;
21
18
 
22
- const importDefault = '__importDefault__';
23
- const importAll = '__importAll__';
24
-
25
- // prelude
26
- const importPrelude = statements(`
27
- function ${importDefault}(moduleId) {
28
- const exports = require(moduleId);
29
-
30
- if (exports && exports.__esModule) {
31
- return exports.default;
32
- }
33
-
34
- return exports;
35
- };
36
-
37
- function ${importAll}(moduleId) {
38
- const exports = require(moduleId);
39
-
40
- if (exports && exports.__esModule) {
41
- return exports;
42
- }
43
-
44
- return Object.assign({}, exports, {default: exports});
45
- };
46
- `);
47
-
48
- const {
49
- transformSync: babelTransformSync,
50
- transformFromAstSync: babelTransformFromAstSync,
51
- } = require('@babel/core');
19
+ const {transformSync: babelTransformSync} = require('@babel/core');
52
20
  const generate = require('@babel/generator').default;
53
21
 
54
22
  const nodeFiles = new RegExp(
@@ -73,13 +41,13 @@ module.exports = {
73
41
  }).code;
74
42
  }
75
43
 
76
- let {ast} = transformer.transform({
44
+ const {ast} = transformer.transform({
77
45
  filename: file,
78
46
  options: {
79
47
  ast: true, // needed for open source (?) https://github.com/facebook/react-native/commit/f8d6b97140cffe8d18b2558f94570c8d1b410d5c#r28647044
80
48
  dev: true,
81
49
  enableBabelRuntime: false,
82
- experimentalImportSupport: true,
50
+ experimentalImportSupport: false,
83
51
  globalPrefix: '',
84
52
  hot: false,
85
53
  inlineRequires: true,
@@ -111,6 +79,10 @@ module.exports = {
111
79
  [require('@babel/plugin-transform-regenerator')],
112
80
  [require('@babel/plugin-transform-sticky-regex')],
113
81
  [require('@babel/plugin-transform-unicode-regex')],
82
+ [
83
+ require('@babel/plugin-transform-modules-commonjs'),
84
+ {strict: false, allowTopLevelThis: true},
85
+ ],
114
86
  [require('@babel/plugin-transform-classes')],
115
87
  [require('@babel/plugin-transform-arrow-functions')],
116
88
  [require('@babel/plugin-transform-spread')],
@@ -127,46 +99,6 @@ module.exports = {
127
99
  ],
128
100
  });
129
101
 
130
- // We're not using @babel/plugin-transform-modules-commonjs so
131
- // we need to add 'use strict' manually
132
- const directives = ast.program.directives;
133
-
134
- if (
135
- ast.program.sourceType === 'module' &&
136
- (directives == null ||
137
- directives.findIndex(d => d.value.value === 'use strict') === -1)
138
- ) {
139
- ast.program.directives = [
140
- ...(directives || []),
141
- t.directive(t.directiveLiteral('use strict')),
142
- ];
143
- }
144
-
145
- // Postprocess the transformed module to handle ESM and inline requires.
146
- // We need to do this in a separate pass to avoid issues tracking references.
147
- const babelTransformResult = babelTransformFromAstSync(ast, src, {
148
- ast: true,
149
- retainLines: true,
150
- plugins: [
151
- [
152
- require('metro-transform-plugins').importExportPlugin,
153
- {importDefault, importAll},
154
- ],
155
- [
156
- require('babel-preset-fbjs/plugins/inline-requires.js'),
157
- {inlineableCalls: [importDefault, importAll]},
158
- ],
159
- ],
160
- sourceType: 'module',
161
- });
162
-
163
- ast = nullthrows(babelTransformResult.ast);
164
-
165
- // Inject import helpers *after* running the inline-requires transform,
166
- // because otherwise it will assume they are user code and bail out of
167
- // inlining calls to them.
168
- ast.program.body.unshift(...importPrelude());
169
-
170
102
  return generate(
171
103
  ast,
172
104
  // $FlowFixMe[prop-missing] Error found when improving flow typing for libs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native",
3
- "version": "0.66.0-rc.4",
3
+ "version": "0.66.3",
4
4
  "bin": "./cli.js",
5
5
  "description": "A framework for building native apps using React",
6
6
  "license": "MIT",
@@ -157,7 +157,8 @@
157
157
  "shelljs": "^0.7.8",
158
158
  "signedsource": "^1.0.0",
159
159
  "ws": "^6.1.4",
160
- "yargs": "^15.3.1"
160
+ "yargs": "^15.3.1",
161
+ "metro-babel-register": "0.66.2"
161
162
  },
162
163
  "detox": {
163
164
  "test-runner": "jest",
@@ -81,7 +81,7 @@ fi
81
81
 
82
82
  # Find path to Node
83
83
  # shellcheck source=/dev/null
84
- source "$RN_DIR/scripts/find-node.sh"
84
+ source "$REACT_NATIVE_DIR/scripts/find-node.sh"
85
85
 
86
86
  # check and assign NODE_BINARY env
87
87
  # shellcheck source=/dev/null
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "react": "17.0.2",
14
- "react-native": "0.66.0-rc.4"
14
+ "react-native": "0.66.3"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@babel/core": "^7.12.9",
@@ -1 +0,0 @@
1
- d405242915b13049481386dd2e79bdb5
@@ -1 +0,0 @@
1
- f5ee0b6332a19c50b67832605c75eb044a9a0b84
@@ -1 +0,0 @@
1
- e81bb1a0d2006dbef157c8c959412b30873c0ed235e33a61fb8241eb2980949c
@@ -1 +0,0 @@
1
- 33bed82712cbb52c63b74efe2808d164de65ca657f83aae3affaa1a5c6b6b92d54be609906c94476a0fffefee03ec514a3f9e689294e27b274cd791ab85c56db
@@ -1 +0,0 @@
1
- 807c8543041d44a348b6cc19672f1a111b0cdd4c
@@ -1 +0,0 @@
1
- e234776a3ae2ba2f7aa0dd7c916e48cdc71e6bd5963e005abdb0509676495ff8
@@ -1 +0,0 @@
1
- 0cc42d0bce5c2a76b054aed103260616db68a58ef482b2f4b58dbaf5652cf78575b103a74d87570b7999d9c820b607dbd9bcb72d535512ec3a7924653a1e3c48
@@ -1 +0,0 @@
1
- 41644c075b6351f7ee0c7b96721a9786
@@ -1 +0,0 @@
1
- 7404aa899f5fa3d8f824a5aa37c93e887cab8025
@@ -1 +0,0 @@
1
- 9b39d9df287f033f38a00a3cfd38a5037f1ec3196b9c8c75bfa92894ae246ed5
@@ -1 +0,0 @@
1
- d3730c1d79f9b8be18e48c93ac40edce4f4260838f88b50e12162cf4ccfbacfb31a20c591c2e2495e4fb984da7fb1c8a085e30b30f8ba1eec45c20027c899ccf