# What / Why ```js semver.validRange('1.x.x') // returns ">=1.0.0 <2.0.0" in 7.3.0 // returns ">=1.0.0 <2.0.0-0" in 7.3.1, 7.3.2 ``` ## When <!-- Examples * Whenever I press a button * January 1st 2001 @ 12:00pm PST * Every day @ 7:00pm PST * Every 100 milliseconds --> * n/a ## Where <!-- Examples * npm enterprise * npm public registry * npm/<repository> --> * n/a ## How ### Current Behavior <!-- Describe how it currently works --> * n/a ### Steps to Reproduce <!-- Describe how to produce the issue --> * Test case at https://runkit.com/gr2m/npm-node-semver-v7-3-1-bug ### Expected Behavior <!-- Describe how it should work --> * n/a ## Who <!-- Examples * @npm/<team> * @<username> --> * n/a ## References <!-- Examples * Related to #0 * Depends on #0 * Blocked by #0 --> * https://github.com/semantic-release/semantic-release/issues/1524