From 61111b10ff40d582638181f585f19c5409df4da4 Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Fri, 28 Jul 2023 11:07:29 +0500 Subject: [PATCH] mobile: remove html-entities dep --- .../@flyerhq+react-native-link-preview+1.6.0.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 apps/mobile/patches/@flyerhq+react-native-link-preview+1.6.0.patch diff --git a/apps/mobile/patches/@flyerhq+react-native-link-preview+1.6.0.patch b/apps/mobile/patches/@flyerhq+react-native-link-preview+1.6.0.patch new file mode 100644 index 000000000..100c573e3 --- /dev/null +++ b/apps/mobile/patches/@flyerhq+react-native-link-preview+1.6.0.patch @@ -0,0 +1,10 @@ +diff --git a/node_modules/@flyerhq/react-native-link-preview/lib/utils.js b/node_modules/@flyerhq/react-native-link-preview/lib/utils.js +index c1aff89..4a3f878 100644 +--- a/node_modules/@flyerhq/react-native-link-preview/lib/utils.js ++++ b/node_modules/@flyerhq/react-native-link-preview/lib/utils.js +@@ -1,4 +1,4 @@ +-import { decode } from 'html-entities'; ++import { decode } from 'entities'; + import { Image } from 'react-native'; + export const getActualImageUrl = (baseUrl, imageUrl) => { + let actualImageUrl = imageUrl === null || imageUrl === void 0 ? void 0 : imageUrl.trim();