Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
default to ^ instead of ~ #4589
referenced this pull request
Feb 2, 2014
Given what the semver specification says about versions < 1.0.0 , I'd propose leaving it in and comparing against "1.0.0" instead of "0.1.0". So < 1.0.0 should default to a fixed version, but gte 1.0.0 should default to the "^" operator.
 From http://semver.org: