From ce15691614310b6605c9f488d5b7b353f6d03d7c Mon Sep 17 00:00:00 2001 From: DrLoopFall Date: Fri, 25 Aug 2023 04:31:41 +0530 Subject: [PATCH] Fix PDF zooming to top left on double tap --- package-lock.json | 16 ++++++++++++---- package.json | 2 +- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 21e2e6610e4e..bcb418380cca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -88,7 +88,7 @@ "react-native-modal": "^13.0.0", "react-native-onyx": "1.0.61", "react-native-pager-view": "^6.2.0", - "react-native-pdf": "^6.6.2", + "react-native-pdf": "^6.7.1", "react-native-performance": "^4.0.0", "react-native-permissions": "^3.0.1", "react-native-picker-select": "git+https://github.com/Expensify/react-native-picker-select.git#eae05855286dc699954415cc1d629bfd8e8e47e2", @@ -43161,11 +43161,17 @@ } }, "node_modules/react-native-pdf": { - "version": "6.6.2", - "license": "MIT", + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/react-native-pdf/-/react-native-pdf-6.7.1.tgz", + "integrity": "sha512-zszQygtNBYoUfEtP/fV7zhzGeohDlUksh2p3OzshLrxdY9mw7Tm5VXAxYq4d8HsomRJUbFlJ7rHaTU9AQL800g==", "dependencies": { "crypto-js": "^3.2.0", "deprecated-react-native-prop-types": "^2.3.0" + }, + "peerDependencies": { + "react": "*", + "react-native": "*", + "react-native-blob-util": ">=0.13.7" } }, "node_modules/react-native-performance": { @@ -80110,7 +80116,9 @@ "requires": {} }, "react-native-pdf": { - "version": "6.6.2", + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/react-native-pdf/-/react-native-pdf-6.7.1.tgz", + "integrity": "sha512-zszQygtNBYoUfEtP/fV7zhzGeohDlUksh2p3OzshLrxdY9mw7Tm5VXAxYq4d8HsomRJUbFlJ7rHaTU9AQL800g==", "requires": { "crypto-js": "^3.2.0", "deprecated-react-native-prop-types": "^2.3.0" diff --git a/package.json b/package.json index 582bbd9d0379..fa270e0c6392 100644 --- a/package.json +++ b/package.json @@ -128,7 +128,7 @@ "react-native-modal": "^13.0.0", "react-native-onyx": "1.0.61", "react-native-pager-view": "^6.2.0", - "react-native-pdf": "^6.6.2", + "react-native-pdf": "^6.7.1", "react-native-performance": "^4.0.0", "react-native-permissions": "^3.0.1", "react-native-picker-select": "git+https://github.com/Expensify/react-native-picker-select.git#eae05855286dc699954415cc1d629bfd8e8e47e2",