From 81ad83c1933bc040aed85ebca82045b53c4c6949 Mon Sep 17 00:00:00 2001 From: Alan Charles Date: Wed, 19 Apr 2023 11:17:01 -0600 Subject: [PATCH] chore: update RN gesture handler dep and error import --- example/ios/Podfile.lock | 18 +++++++++--------- example/package.json | 2 +- example/yarn.lock | 8 ++++---- packages/core/src/info.ts | 2 +- .../plugin-firebase/src/FirebasePlugin.tsx | 3 +-- yarn.lock | 7 ++++++- 6 files changed, 22 insertions(+), 18 deletions(-) diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 1d6a646f..760d8d9c 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -298,14 +298,14 @@ PODS: - React-Core - RNCMaskedView (0.1.11): - React - - RNGestureHandler (2.6.0): + - RNGestureHandler (2.9.0): - React-Core - - segment-analytics-react-native (2.13.4): + - segment-analytics-react-native (2.13.5): - React-Core - sovran-react-native - - segment-analytics-react-native-plugin-idfa (0.6.1): + - segment-analytics-react-native-plugin-idfa (0.6.2): - React-Core - - sovran-react-native (1.0.1): + - sovran-react-native (1.0.2): - React-Core - Yoga (1.14.0) @@ -483,12 +483,12 @@ SPEC CHECKSUMS: RNBootSplash: f31eba8f6d496e2029859e06e5582cac4607256d RNCAsyncStorage: 0c357f3156fcb16c8589ede67cc036330b6698ca RNCMaskedView: 0e1bc4bfa8365eba5fbbb71e07fbdc0555249489 - RNGestureHandler: 920eb17f5b1e15dae6e5ed1904045f8f90e0b11e - segment-analytics-react-native: cc12d9422f7ce863ee57c1b650ab48eec4b6d5bd - segment-analytics-react-native-plugin-idfa: 7fec83a58a2b8ad21bb4774d8b6ef4421fa1a62d - sovran-react-native: 2964014cf2b12b6f0939a38199fe70477adc92b5 + RNGestureHandler: 071d7a9ad81e8b83fe7663b303d132406a7d8f39 + segment-analytics-react-native: 76a34e456743b72adfd0f1d7a537a0dc22b52f8b + segment-analytics-react-native-plugin-idfa: 6165a8eb6c35fdfecc3e9f966a2c9895ed9abaf1 + sovran-react-native: b237e6a8b37a754b2e1123a3130d01a07cf4e91b Yoga: 0b84a956f7393ef1f37f3bb213c516184e4a689d PODFILE CHECKSUM: 148f23dc44ebce74497f5fef0651f1fea1f8a361 -COCOAPODS: 1.11.3 +COCOAPODS: 1.12.0 diff --git a/example/package.json b/example/package.json index e01ae798..41b8b418 100644 --- a/example/package.json +++ b/example/package.json @@ -27,7 +27,7 @@ "react": "18.0.0", "react-native": "0.69.7", "react-native-bootsplash": "^3.2.4", - "react-native-gesture-handler": "^2.2.0", + "react-native-gesture-handler": "^2.9.0", "react-native-get-random-values": "^1.8.0", "react-native-safe-area-context": "^3.3.0", "react-native-tracking-transparency": "^0.1.1" diff --git a/example/yarn.lock b/example/yarn.lock index 5be60764..ddea207c 100644 --- a/example/yarn.lock +++ b/example/yarn.lock @@ -6718,10 +6718,10 @@ react-native-codegen@^0.69.2: jscodeshift "^0.13.1" nullthrows "^1.1.1" -react-native-gesture-handler@^2.2.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/react-native-gesture-handler/-/react-native-gesture-handler-2.6.0.tgz#8eeb25a2be9718db2e241084f4a337bec0e30ed1" - integrity sha512-IwdYdt5FKjjbRSrSqh8hoNctlYZl5DFnqSJ6buKtrl4A4gyzkrtW6WcmOFl5LnCa6Bcw+znSD77O6UiZ8qda7g== +react-native-gesture-handler@^2.9.0: + version "2.9.0" + resolved "https://registry.yarnpkg.com/react-native-gesture-handler/-/react-native-gesture-handler-2.9.0.tgz#2f63812e523c646f25b9ad660fc6f75948e51241" + integrity sha512-a0BcH3Qb1tgVqUutc6d3VuWQkI1AM3+fJx8dkxzZs9t06qA27QgURYFoklpabuWpsUTzuKRpxleykp25E8m7tg== dependencies: "@egjs/hammerjs" "^2.0.17" hoist-non-react-statics "^3.3.0" diff --git a/packages/core/src/info.ts b/packages/core/src/info.ts index 4b9f3963..31810f57 100644 --- a/packages/core/src/info.ts +++ b/packages/core/src/info.ts @@ -1,4 +1,4 @@ export const libraryInfo = { name: '@segment/analytics-react-native', - version: '2.13.4', + version: '2.13.5', }; diff --git a/packages/plugins/plugin-firebase/src/FirebasePlugin.tsx b/packages/plugins/plugin-firebase/src/FirebasePlugin.tsx index 522312b9..c66a5443 100644 --- a/packages/plugins/plugin-firebase/src/FirebasePlugin.tsx +++ b/packages/plugins/plugin-firebase/src/FirebasePlugin.tsx @@ -4,14 +4,13 @@ import { PluginType, ScreenEventType, SegmentError, + ErrorType, TrackEventType, } from '@segment/analytics-react-native'; import screen from './methods/screen'; import track from './methods/track'; import reset from './methods/reset'; import firebaseAnalytics from '@react-native-firebase/analytics'; -import { ErrorType } from '../../../core/src/errors'; - export class FirebasePlugin extends DestinationPlugin { type = PluginType.destination; key = 'Firebase'; diff --git a/yarn.lock b/yarn.lock index 761b50cd..73bc3aac 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11466,7 +11466,12 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shell-quote@1.7.3, shell-quote@^1.6.1, shell-quote@^1.7.3: +shell-quote@1.8.0: + version "1.8.0" + resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.8.0.tgz#20d078d0eaf71d54f43bd2ba14a1b5b9bfa5c8ba" + integrity sha512-QHsz8GgQIGKlRi24yFc6a6lN69Idnx634w49ay6+jA5yFh7a1UY+4Rp6HPx/L/1zcEDPEij8cIsiqR6bQsE5VQ== + +shell-quote@^1.6.1, shell-quote@^1.7.3: version "1.7.3" resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.7.3.tgz#aa40edac170445b9a431e17bb62c0b881b9c4123" integrity sha512-Vpfqwm4EnqGdlsBFNmHhxhElJYrdfcxPThu+ryKS5J8L/fhAwLazFZtq+S+TWZ9ANj2piSQLGj6NQg+lKPmxrw==