Zero Major Caret Special Case
tarrencev opened this issue · comments
The semver specification has a special case for the caret constraint when the major version is zero. In that case it is equivalent to tilde. It is described a bit more here: https://nodesource.com/blog/semver-tilde-and-caret/
Would you be ok with me adding this logic?
Edit: Hm i see this is described here but i'm seeing a different behavior
Line 152 in 49c09bf
Ah I was pulling an old version of the lib. Works great in v3!