From 453618caa3204243729a7a58b2c8a52c638ba2ee Mon Sep 17 00:00:00 2001 From: Benjamin Date: Mon, 29 Jul 2024 16:04:08 +0200 Subject: [PATCH] fix: downgrade version of react-native-snap-carousel --- front/package.json | 2 +- front/yarn.lock | 27 +++++++++------------------ 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/front/package.json b/front/package.json index 68be5d39e..73c2e7763 100644 --- a/front/package.json +++ b/front/package.json @@ -103,7 +103,7 @@ "react-native-render-html": "^6.3.4", "react-native-safe-area-context": "4.10.5", "react-native-screens": "3.31.1", - "react-native-snap-carousel": "4.0.0-beta.6", + "react-native-snap-carousel": "^3.9.1", "react-native-svg": "15.2.0", "react-native-swiper-flatlist": "^3.0.16", "react-native-tab-view": "^3.1.1", diff --git a/front/yarn.lock b/front/yarn.lock index 2d61b1ee6..86d894534 100644 --- a/front/yarn.lock +++ b/front/yarn.lock @@ -3497,15 +3497,6 @@ __metadata: languageName: node linkType: hard -"@types/react-addons-shallow-compare@npm:^0.14.22": - version: 0.14.25 - resolution: "@types/react-addons-shallow-compare@npm:0.14.25" - dependencies: - "@types/react": "*" - checksum: 5be68758a05dabc32dd67550b0eace047374c667d992b616ca9245d1969947e86c3cd5b0205b5d8a8e3f187dcb392454c7844b8950d7da0e042ee7b28a9e64d4 - languageName: node - linkType: hard - "@types/react-native-calendars@npm:^1.1264.3": version: 1.1264.7 resolution: "@types/react-native-calendars@npm:1.1264.7" @@ -12193,7 +12184,7 @@ __metadata: languageName: node linkType: hard -"prop-types@npm:15.8.1, prop-types@npm:^15.5.10, prop-types@npm:^15.5.7, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1": +"prop-types@npm:15.8.1, prop-types@npm:^15.5.10, prop-types@npm:^15.5.7, prop-types@npm:^15.6.1, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1": version: 15.8.1 resolution: "prop-types@npm:15.8.1" dependencies: @@ -12622,16 +12613,16 @@ __metadata: languageName: node linkType: hard -"react-native-snap-carousel@npm:4.0.0-beta.6": - version: 4.0.0-beta.6 - resolution: "react-native-snap-carousel@npm:4.0.0-beta.6" +"react-native-snap-carousel@npm:^3.9.1": + version: 3.9.1 + resolution: "react-native-snap-carousel@npm:3.9.1" dependencies: - "@types/react-addons-shallow-compare": ^0.14.22 + prop-types: ^15.6.1 react-addons-shallow-compare: 15.6.2 peerDependencies: - react: ">=16.0.0" - react-native: ">=0.58.0" - checksum: 32ab752009b16e8d18bd7dc7defb7e454881d2ed979dd9a00cbfb92a03317752067bab7dccc6cb7b42e3a61657f29e3e12ea1e12ac7661e5539c7be037a7cfe7 + react: ">=15.0.0" + react-native: "*" + checksum: e71f6887ba8e86b4aea6d6a88c304135a7acbb5ef9173b78018fc0e6d9965da9ec1d7c794db31282dc85892c6ca89f398d07145ab3e7d1e28cf12a09c247bb9d languageName: node linkType: hard @@ -13381,7 +13372,7 @@ __metadata: react-native-render-html: ^6.3.4 react-native-safe-area-context: 4.10.5 react-native-screens: 3.31.1 - react-native-snap-carousel: 4.0.0-beta.6 + react-native-snap-carousel: ^3.9.1 react-native-svg: 15.2.0 react-native-svg-transformer: ^1.4.0 react-native-swiper-flatlist: ^3.0.16