From b38ee83191b5cf81813df7442e20633b8a9a6efa Mon Sep 17 00:00:00 2001 From: Mykhailo Kravchenko Date: Tue, 12 Nov 2024 13:03:44 +0100 Subject: [PATCH] upgrade react-native-vision-camera --- ios/Podfile.lock | 27 ++++++--------------------- package-lock.json | 14 ++++++++++++-- package.json | 2 +- 3 files changed, 19 insertions(+), 24 deletions(-) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 01aefab63378..7290fd23966b 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -2717,27 +2717,12 @@ PODS: - SDWebImage/Core (~> 5.17) - SocketRocket (0.7.0) - Turf (2.8.0) - - VisionCamera (4.0.0-beta.13): - - DoubleConversion - - glog - - hermes-engine - - RCT-Folly (= 2024.01.01.00) - - RCTRequired - - RCTTypeSafety + - VisionCamera (4.6.1): + - VisionCamera/Core (= 4.6.1) + - VisionCamera/React (= 4.6.1) + - VisionCamera/Core (4.6.1) + - VisionCamera/React (4.6.1): - React-Core - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-NativeModulesApple - - React-RCTFabric - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/bridging - - ReactCommon/turbomodule/core - - Yoga - Yoga (0.0.0) DEPENDENCIES: @@ -3302,7 +3287,7 @@ SPEC CHECKSUMS: SDWebImageWebPCoder: e38c0a70396191361d60c092933e22c20d5b1380 SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d Turf: aa2ede4298009639d10db36aba1a7ebaad072a5e - VisionCamera: c6c8aa4b028501fc87644550fbc35a537d4da3fb + VisionCamera: c95a8ad535f527562be1fb05fb2fd324578e769c Yoga: a1d7895431387402a674fd0d1c04ec85e87909b8 PODFILE CHECKSUM: 15e2f095b9c80d658459723edf84005a6867debf diff --git a/package-lock.json b/package-lock.json index 0975df3d5a7d..b74a448f11b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -115,7 +115,7 @@ "react-native-tab-view": "^3.5.2", "react-native-url-polyfill": "^2.0.0", "react-native-view-shot": "3.8.0", - "react-native-vision-camera": "4.0.0-beta.13", + "react-native-vision-camera": "^4.6.1", "react-native-web": "0.19.13", "react-native-webview": "13.8.6", "react-plaid-link": "3.3.2", @@ -36078,14 +36078,24 @@ } }, "node_modules/react-native-vision-camera": { - "version": "4.0.0-beta.13", + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/react-native-vision-camera/-/react-native-vision-camera-4.6.1.tgz", + "integrity": "sha512-USp7g+Q/H7nzIS2XBJTWVdzZArxgZu+IFafgswVzxdmr0iSpLjLUtoUp+SUWxZ+nLhJriYYvqg8hfZrJtnpnlw==", "license": "MIT", "peerDependencies": { + "@shopify/react-native-skia": "*", "react": "*", "react-native": "*", + "react-native-reanimated": "*", "react-native-worklets-core": "*" }, "peerDependenciesMeta": { + "@shopify/react-native-skia": { + "optional": true + }, + "react-native-reanimated": { + "optional": true + }, "react-native-worklets-core": { "optional": true } diff --git a/package.json b/package.json index 66e729ed3875..2fdc5a7e08c5 100644 --- a/package.json +++ b/package.json @@ -172,7 +172,7 @@ "react-native-tab-view": "^3.5.2", "react-native-url-polyfill": "^2.0.0", "react-native-view-shot": "3.8.0", - "react-native-vision-camera": "4.0.0-beta.13", + "react-native-vision-camera": "^4.6.1", "react-native-web": "0.19.13", "react-native-webview": "13.8.6", "react-plaid-link": "3.3.2",