Re:Volta
by jiofih on Monday May 03, 2021 @01:37PM
(#27028124)
Semantic versioning was supposed to prevent breaking changes. I guess this is more akin to package-lock.json then.
[ Parent
| on HN ]
Re:Volta
by charlespierce on Monday May 03, 2021 @01:50PM
(#27028299)
Yeah, conceptually the setting is intended to be closer to a lockfile than a semantic version.
Additionally, even with semantic versions, `engines` is often specified as something like `12 || 14 || >= 16`, so they span multiple major versions, which is where breaking changes can (and do) show up.