I have a react project and I want to update this outdated package
npm outdated
Package Current Wanted Latest
Location
native-base 2.3.1 2.4.3 2.4.3
react 16.0.0-alpha.12 16.3.2 16.3.2
expo 20.1.2 20.1.4 27.0.1
jest-expo 20.0.0 20.0.0 27.0.1
react-native 0.47.2 0.47.2 0.55.3
react-native-calendars 1.14.2 1.19.3 1.19.3
react-native-collapsible 0.9.0 0.9.0 0.11.2
react-native-datepicker 1.6.0 1.7.2 1.7.2
First question, what is the difference between "Current" and "Wanted"?And, exactly, what I have to do? If I do "npm update", the result is:
npm WARN react-native@0.47.2 requires a peer of react@16.0.0-alpha.12 but
none is installed. You must install peer dependencies yourself.
npm WARN react-native-elements@0.16.0 requires a peer of react-native-
vector-icons@^4.2.0 but none is installed. You must install peer
dependencies yourself.
npm WARN react-native-svg@5.3.0 requires a peer of react@16.0.0-alpha.12
but none is installed. You must install peer dependencies yourself.
npm WARN react-native-keyboard-aware-scroll-view@0.5.0 requires a peer of
react-native@>=0.48.4 but none is installed. You must install peer
dependencies yourself.
And I do not understand if npm has updated something...