Re:State of React Native 2018
by megaman22 on Friday June 15, 2018 @06:03AM
(#17318641)
Happens all the time when package.json defaults to foo: "^1.2.3", and some bozo does breaking changes in 1.2.5.
[ Parent
| on HN ]
Re:State of React Native 2018
by danabramov on Friday June 15, 2018 @10:16AM
(#17319912)
If you have a package lock, even caret in package.json won't automatically install it.
> Happens all the time when package.json defaults to foo: "^1.2.3", and some bozo does breaking changes in 1.2.5.
No it doesn't. Since npm 5, npm is lockfile-by-default, you don't get updates unless you ask for them. Whether one particular package correctly respects semver is irrelevant.