From 478928ec7dc8717df20aed6b60bfe2ad8bf6ae20 Mon Sep 17 00:00:00 2001 From: danstepanov Date: Wed, 18 May 2022 17:24:43 -0700 Subject: [PATCH] [runtime] Resolve peer dependency issue with react-native-reanimated 2.8 - Upgrade react-native-gesture-handler to ~2.4.2 for snack-sdk and runtime --- .../snack-sdk/src/__fixtures__/bundledNativeModules.json | 2 +- .../src/__tests__/__snapshots__/dependencies-test.ts.snap | 2 +- runtime/package.json | 2 +- runtime/yarn.lock | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/snack-sdk/src/__fixtures__/bundledNativeModules.json b/packages/snack-sdk/src/__fixtures__/bundledNativeModules.json index 613350a64..4ba71315a 100644 --- a/packages/snack-sdk/src/__fixtures__/bundledNativeModules.json +++ b/packages/snack-sdk/src/__fixtures__/bundledNativeModules.json @@ -320,7 +320,7 @@ "react-native": "0.68.2", "react-native-web": "0.17.7", "react-native-branch": "5.0.0", - "react-native-gesture-handler": "~2.2.1", + "react-native-gesture-handler": "~2.4.2", "react-native-get-random-values": "~1.8.0", "react-native-maps": "0.30.1", "react-native-pager-view": "5.4.15", diff --git a/packages/snack-sdk/src/__tests__/__snapshots__/dependencies-test.ts.snap b/packages/snack-sdk/src/__tests__/__snapshots__/dependencies-test.ts.snap index fa46bbaf3..b8470b8dd 100644 --- a/packages/snack-sdk/src/__tests__/__snapshots__/dependencies-test.ts.snap +++ b/packages/snack-sdk/src/__tests__/__snapshots__/dependencies-test.ts.snap @@ -200,7 +200,7 @@ Object { "react-native-gesture-handler": "1.6.0", }, "version": "1.6.0", - "wantedVersion": "~2.2.1", + "wantedVersion": "~2.4.2", }, } `; diff --git a/runtime/package.json b/runtime/package.json index 9cc91f0a2..acb3af3f5 100644 --- a/runtime/package.json +++ b/runtime/package.json @@ -45,7 +45,7 @@ "react": "17.0.2", "react-dom": "17.0.2", "react-native": "0.68.2", - "react-native-gesture-handler": "~2.2.1", + "react-native-gesture-handler": "~2.4.2", "react-native-reanimated": "~2.8.0", "react-native-safe-area-context": "4.2.4", "react-native-view-shot": "3.1.2", diff --git a/runtime/yarn.lock b/runtime/yarn.lock index 7c60c5609..9c392f9ec 100644 --- a/runtime/yarn.lock +++ b/runtime/yarn.lock @@ -11549,10 +11549,10 @@ react-native-codegen@^0.0.17: jscodeshift "^0.13.1" nullthrows "^1.1.1" -react-native-gesture-handler@~2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/react-native-gesture-handler/-/react-native-gesture-handler-2.2.1.tgz#672258aa5a40c92a97c736bdde0a8bd6c8c6c692" - integrity sha512-P4kAPbSY8VFAjvFNzfePgFsbZEldfEnEfNqOJw6MlpcdXrPGwRbvMqWMVkA9lifdKTZ3XifvAgJ8+R+uEZN0zA== +react-native-gesture-handler@~2.4.2: + version "2.4.2" + resolved "https://registry.yarnpkg.com/react-native-gesture-handler/-/react-native-gesture-handler-2.4.2.tgz#de93760b0bc251d94e8ae692f9850ec3ed2e4f27" + integrity sha512-K3oMiQV7NOVB5RvNlxkyJxU1Gn6m1cYu53MoFA542FVDSTR491d1eQkWDdqy4lW52rfF7IK7eE1LCi+kTJx7jw== dependencies: "@egjs/hammerjs" "^2.0.17" hoist-non-react-statics "^3.3.0"