aboutsummaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/react-native+0.69.6.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/patches/react-native+0.69.6.patch b/patches/react-native+0.69.6.patch
new file mode 100644
index 0000000..e745fa8
--- /dev/null
+++ b/patches/react-native+0.69.6.patch
@@ -0,0 +1,41 @@
+diff --git a/node_modules/react-native/index.js b/node_modules/react-native/index.js
+index d59ba34..8023167 100644
+--- a/node_modules/react-native/index.js
++++ b/node_modules/react-native/index.js
+@@ -435,32 +435,16 @@ module.exports = {
+ },
+ // Deprecated Prop Types
+ get ColorPropType(): $FlowFixMe {
+- invariant(
+- false,
+- 'ColorPropType has been removed from React Native. Migrate to ' +
+- "ColorPropType exported from 'deprecated-react-native-prop-types'.",
+- );
++ return require("deprecated-react-native-prop-types").ColorPropType
+ },
+ get EdgeInsetsPropType(): $FlowFixMe {
+- invariant(
+- false,
+- 'EdgeInsetsPropType has been removed from React Native. Migrate to ' +
+- "EdgeInsetsPropType exported from 'deprecated-react-native-prop-types'.",
+- );
++ return require("deprecated-react-native-prop-types").EdgeInsetsPropType
+ },
+ get PointPropType(): $FlowFixMe {
+- invariant(
+- false,
+- 'PointPropType has been removed from React Native. Migrate to ' +
+- "PointPropType exported from 'deprecated-react-native-prop-types'.",
+- );
++ return require("deprecated-react-native-prop-types").PointPropType
+ },
+ get ViewPropTypes(): $FlowFixMe {
+- invariant(
+- false,
+- 'ViewPropTypes has been removed from React Native. Migrate to ' +
+- "ViewPropTypes exported from 'deprecated-react-native-prop-types'.",
+- );
++ return require("deprecated-react-native-prop-types").ViewPropTypes
+ },
+ };
+