From 07cbd77af0c25633fc72db4e3e128d3b3d7f0460 Mon Sep 17 00:00:00 2001 From: Mattermost Build Date: Fri, 5 Feb 2021 19:14:01 +0100 Subject: [PATCH] [MM-32587] [MM32602] Downgrade react-native-elements (#5156) (#5157) * Downgrade react-native-elements * Trigger Build * Update package-lock.json (cherry picked from commit e4b21837810d9742822662bc133cc23734a27ed6) Co-authored-by: Miguel Alatzar --- package-lock.json | 29 +++++++++---------- package.json | 2 +- ...atch => react-native-elements+2.3.2.patch} | 0 3 files changed, 15 insertions(+), 16 deletions(-) rename patches/{react-native-elements+3.1.0.patch => react-native-elements+2.3.2.patch} (100%) diff --git a/package-lock.json b/package-lock.json index 1e46cf326..3a7dd5041 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26541,20 +26541,19 @@ } }, "react-native-elements": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/react-native-elements/-/react-native-elements-3.1.0.tgz", - "integrity": "sha512-U4CuyO+q2JlduPht4P0xz+oIbw3W53uYPpkMqvlwjJiVoFfwnpbAu+JZL01/7VMe98G4Y8nJImcBh7zK9cb3Uw==", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/react-native-elements/-/react-native-elements-2.3.2.tgz", + "integrity": "sha512-HygYYmq8JYjk/YYiUwr/64qT64H2xlPBz0JnkGTQwvnnyXZrfkHFopw8rLWCupv3iLLPDzVohvPs0Z5HLdonSQ==", "requires": { - "@types/react-native-vector-icons": "^6.4.6", - "color": "^3.1.2", + "@types/react-native-vector-icons": "^6.4.5", + "color": "^3.1.0", "deepmerge": "^4.2.2", - "hoist-non-react-statics": "^3.3.2", + "hoist-non-react-statics": "^3.1.0", "lodash.isequal": "^4.5.0", - "opencollective-postinstall": "^2.0.3", + "opencollective-postinstall": "^2.0.0", "prop-types": "^15.7.2", - "react-native-ratings": "^7.3.0", - "react-native-safe-area-context": "^3.1.9", - "react-native-size-matters": "^0.3.1" + "react-native-ratings": "^7.2.0", + "react-native-status-bar-height": "^2.5.0" }, "dependencies": { "hoist-non-react-statics": { @@ -26799,11 +26798,6 @@ "resolved": "https://registry.npmjs.org/react-native-share/-/react-native-share-5.1.0.tgz", "integrity": "sha512-QGMWOPlwboAGd/5uUh2l0jXIDhZ2q8J4CIa063NDE7ihsZRQlF/w6kd90i3bi6GF6aedvhynqZPmezwqjiyU7g==" }, - "react-native-size-matters": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/react-native-size-matters/-/react-native-size-matters-0.3.1.tgz", - "integrity": "sha512-mKOfBLIBFBcs9br1rlZDvxD5+mAl8Gfr5CounwJtxI6Z82rGrMO+Kgl9EIg3RMVf3G855a85YVqHJL2f5EDRlw==" - }, "react-native-slider": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/react-native-slider/-/react-native-slider-0.11.0.tgz", @@ -26812,6 +26806,11 @@ "prop-types": "^15.5.6" } }, + "react-native-status-bar-height": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/react-native-status-bar-height/-/react-native-status-bar-height-2.6.0.tgz", + "integrity": "sha512-z3SGLF0mHT+OlJDq7B7h/jXPjWcdBT3V14Le5L2PjntjjWM3+EJzq2BcXDwV+v67KFNJic5pgA26cCmseYek6w==" + }, "react-native-status-bar-size": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/react-native-status-bar-size/-/react-native-status-bar-size-0.3.3.tgz", diff --git a/package.json b/package.json index 80ef1b821..01e7b10e7 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "react-native-cookies": "github:mattermost/react-native-cookies#b35bafc388ae09c83bd875e887daf6a0755e0b40", "react-native-device-info": "8.0.0", "react-native-document-picker": "4.2.0", - "react-native-elements": "3.1.0", + "react-native-elements": "2.3.2", "react-native-exception-handler": "2.10.9", "react-native-fast-image": "8.3.4", "react-native-file-viewer": "2.1.4", diff --git a/patches/react-native-elements+3.1.0.patch b/patches/react-native-elements+2.3.2.patch similarity index 100% rename from patches/react-native-elements+3.1.0.patch rename to patches/react-native-elements+2.3.2.patch