From cd8828f3ea978cd50fa4c66650b0182cb1825aec Mon Sep 17 00:00:00 2001 From: Antonin Cezard Date: Mon, 19 Feb 2024 15:27:59 +0100 Subject: [PATCH] fix: implement alternative tar.gz on old android --- package.json | 2 +- patches/@fengweichong+react-native-gzip+2.0.0.patch | 13 ------------- yarn.lock | 5 ++--- 3 files changed, 3 insertions(+), 17 deletions(-) delete mode 100644 patches/@fengweichong+react-native-gzip+2.0.0.patch diff --git a/package.json b/package.json index 9be10e88c..6f1c6a141 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "storybook:update": "sb-rn-get-stories" }, "dependencies": { - "@fengweichong/react-native-gzip": "^2.0.0", + "@fengweichong/react-native-gzip": "github:cozy-labs/react-native-gzip#1.0.0", "@mythologi/react-native-receive-sharing-intent": "2.2.1", "@notifee/react-native": "^7.8.0", "@react-native-async-storage/async-storage": "1.21.0", diff --git a/patches/@fengweichong+react-native-gzip+2.0.0.patch b/patches/@fengweichong+react-native-gzip+2.0.0.patch deleted file mode 100644 index a5d700f30..000000000 --- a/patches/@fengweichong+react-native-gzip+2.0.0.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/node_modules/@fengweichong/react-native-gzip/android/build.gradle b/node_modules/@fengweichong/react-native-gzip/android/build.gradle -index c2e330f..f28740e 100644 ---- a/node_modules/@fengweichong/react-native-gzip/android/build.gradle -+++ b/node_modules/@fengweichong/react-native-gzip/android/build.gradle -@@ -73,7 +73,7 @@ repositories { - dependencies { - //noinspection GradleDynamicVersion - implementation 'com.facebook.react:react-native:+' // From node_modules -- implementation 'commons-io:commons-io:2.6' -+ implementation 'commons-io:commons-io:2.5' - implementation 'org.apache.commons:commons-compress:1.1' - } - diff --git a/yarn.lock b/yarn.lock index 95ec943e7..82cfffbc2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2801,10 +2801,9 @@ resolved "https://registry.yarnpkg.com/@expo/sdk-runtime-versions/-/sdk-runtime-versions-1.0.0.tgz#d7ebd21b19f1c6b0395e50d78da4416941c57f7c" integrity sha512-Doz2bfiPndXYFPMRwPyGa1k5QaKDVpY806UJj570epIiMzWaYyCtobasyfC++qfIXVb5Ocy7r3tP9d62hAQ7IQ== -"@fengweichong/react-native-gzip@^2.0.0": +"@fengweichong/react-native-gzip@github:cozy-labs/react-native-gzip#1.0.0": version "2.0.0" - resolved "https://registry.yarnpkg.com/@fengweichong/react-native-gzip/-/react-native-gzip-2.0.0.tgz#5b3af593c06aed88a676ab21a14f4cefb4f6f489" - integrity sha512-5lVOBYND/LTrbuWHRiC6N//NeVJwRN1B04SP0Pa0y/nHMDgnjA5P1LV0Myy53B4p70kiW+my2EAGhN5kNAgPZg== + resolved "https://codeload.github.com/cozy-labs/react-native-gzip/tar.gz/fe7ca0278ceb18dcbc2a6b4be9575a7629e5f50d" "@hapi/address@2.x.x": version "2.1.4"