3 ms·
This is about using open version ranges. Closed ranges are slightly less evil, though errors can creep in, too.
by _pmf_ 9y ago
This is about using open version ranges. Closed ranges are slightly less evil, though errors can creep in, too.
- yuchi 9y agoVery nice point. If you look at all npm examples in the article it shows the >= M.m.b pattern which is never found in the wild. You’ll find ~M.m.b for VERY old packages and ^M.m.b for modern ones (last 4 years). Those let the minor and build increase, but not the major.