2

I just want to upgrade some library in my project. I found that some dependencies have ^ in their version code like "react-native-i18n": "^1.0.0" but some don't have. I don't know what ^ means.

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
Yunyuen Chan
  • 135
  • 1
  • 11
  • 1
    maybe your question can expalined on this link https://stackoverflow.com/questions/22343224/whats-the-difference-between-tilde-and-caret-in-package-json – Maulana Prambadi Aug 16 '17 at 07:01
  • 2
    Possible duplicate of [What's the difference between tilde(~) and caret(^) in package.json?](https://stackoverflow.com/questions/22343224/whats-the-difference-between-tilde-and-caret-in-package-json) – jonrsharpe Aug 16 '17 at 07:07

1 Answers1

3

In short its using for Compatible with version

you can check complete details on Semver

Please check complete explanation here

you can also check Package.json related documentation here

Love Trivedi
  • 3,899
  • 3
  • 20
  • 26