akveo / react-native-eva-icons

⭐Eva Icons for React Native
https://github.com/akveo/eva-icons
MIT License
203 stars 15 forks source link

v1.3.1 requires react-native-svg ^9.4.0, which is very old #49

Open joelmichael opened 3 months ago

joelmichael commented 3 months ago

🐛 Bug Report

I saw that some work had been done to create a build 1.4.0 (or 1.3.2) which was never released. Unfortunately version 1.3.1 is showing its age. Other packages I use want react-native-svg version 14.1.0, but react-native-eva-icons (which we install via @ui-kitten/eva-icons) wants to keep us at version 9.4.0. The unreleased code in version 1.4.0 on master solves this problem (by making the peer dependency less strict, at least) but this version has not been released. I do not believe this is an actually breaking bug, but it produces a warning and I am trying to resolve peer dependency warnings.

Yarn output:

➤ YN0060: │ react-native-svg is listed by your project with version 14.1.0, which doesn't satisfy what @ui-kitten/eva-icons (p3d40f) and other dependencies request (^9.4.0).

We have a problem with react-native-svg, which is provided with version 14.1.0.
It is needed by the following direct dependencies of workspaces in your project:

  ✓ @ui-kitten/eva-icons@npm:5.3.1 [b2477] (via *)

However, those packages themselves have more dependencies listing react-native-svg as peer dependency:

  ✘ react-native-eva-icons@npm:1.3.1 [3c087] (via ^9.4.0)

Put together, the final range we computed is ^9.4.0
quememo commented 1 month ago

Would love to see some improve regarding this