From 4e8c4064ae306cf7947ce4bd0837aa8c92ddc85c Mon Sep 17 00:00:00 2001 From: Bartosz Grajdek Date: Thu, 8 Feb 2024 17:01:50 +0100 Subject: [PATCH] feat: upgrade react-native-image-picker --- package-lock.json | 7 ++++--- package.json | 2 +- ...t-native-image-picker+7.0.3+001+allowedMimeTypes.patch} | 0 3 files changed, 5 insertions(+), 4 deletions(-) rename patches/{react-native-image-picker+5.1.0.patch => react-native-image-picker+7.0.3+001+allowedMimeTypes.patch} (100%) diff --git a/package-lock.json b/package-lock.json index 11099886bfb0..fcbad08e51c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -89,7 +89,7 @@ "react-native-google-places-autocomplete": "2.5.6", "react-native-haptic-feedback": "^1.13.0", "react-native-image-pan-zoom": "^2.1.12", - "react-native-image-picker": "^5.1.0", + "react-native-image-picker": "^7.0.3", "react-native-image-size": "git+https://github.com/Expensify/react-native-image-size#8393b7e58df6ff65fd41f60aee8ece8822c91e2b", "react-native-key-command": "^1.0.6", "react-native-launch-arguments": "^4.0.2", @@ -44958,8 +44958,9 @@ } }, "node_modules/react-native-image-picker": { - "version": "5.1.0", - "license": "MIT", + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/react-native-image-picker/-/react-native-image-picker-7.0.3.tgz", + "integrity": "sha512-mFbu8AzZ8tysO7xHsQ+TmxYYJYaBCL66s4AujjgCBEAyTufm2nhjhVOw2uq1zvMDVtGoyekzCJfH3JqVmXK/3w==", "peerDependencies": { "react": "*", "react-native": "*" diff --git a/package.json b/package.json index 71983e0e1679..6f5c78b784bd 100644 --- a/package.json +++ b/package.json @@ -137,7 +137,7 @@ "react-native-google-places-autocomplete": "2.5.6", "react-native-haptic-feedback": "^1.13.0", "react-native-image-pan-zoom": "^2.1.12", - "react-native-image-picker": "^5.1.0", + "react-native-image-picker": "^7.0.3", "react-native-image-size": "git+https://github.com/Expensify/react-native-image-size#8393b7e58df6ff65fd41f60aee8ece8822c91e2b", "react-native-key-command": "^1.0.6", "react-native-launch-arguments": "^4.0.2", diff --git a/patches/react-native-image-picker+5.1.0.patch b/patches/react-native-image-picker+7.0.3+001+allowedMimeTypes.patch similarity index 100% rename from patches/react-native-image-picker+5.1.0.patch rename to patches/react-native-image-picker+7.0.3+001+allowedMimeTypes.patch