ihor / react-native-scalable-image

React Native Image component which scales width or height automatically to keep the original aspect ratio
https://www.npmjs.com/package/react-native-scalable-image
MIT License
315 stars 67 forks source link

Peer dependencies warning on install #16

Closed betoharres closed 3 years ago

betoharres commented 5 years ago

Hello, thanks for this awesome library! When I installed, I got these warnings that I don't know why they appeared since my project is up to date:

warning " > react-native-scalable-image@1.0.0" has unmet peer dependency "@types/react@^16.8.23".
warning " > react-native-scalable-image@1.0.0" has unmet peer dependency "@types/react-native@^0.60.2".
warning " > react-native-scalable-image@1.0.0" has incorrect peer dependency "react-native@^0.59.0".

react-naitve info:

System:
    OS: Linux 5.1 Arch Linux undefined
    CPU: (6) x64 Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
    Memory: 1.76 GB / 15.59 GB
    Shell: 5.7.1 - /usr/bin/zsh
  Binaries:
    Node: 11.15.0 - /usr/bin/node
    Yarn: 1.16.0 - /usr/bin/yarn
    npm: 6.10.0 - /usr/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    Android SDK:
      API Levels: 26, 28, 29
      Build Tools: 26.0.3, 28.0.3, 29.0.0
      System Images: android-28 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.1 => 0.61.1
  npmGlobalPackages:
    react-native-cli: 2.0.1

I'd like to keep these warning as minimal as possible, any suggestion? Thanks