semver 7.3.1 → 7.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/classes/range.js +3 -0
  2. package/package.json +1 -1
package/classes/range.js CHANGED
@@ -358,6 +358,9 @@ const replaceXRange = (comp, options) => {
358
358
  }
359
359
  }
360
360
 
361
+ if (gtlt === '<')
362
+ pr = '-0'
363
+
361
364
  ret = `${gtlt + M}.${m}.${p}${pr}`
362
365
  } else if (xm) {
363
366
  ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semver",
3
- "version": "7.3.1",
3
+ "version": "7.3.2",
4
4
  "description": "The semantic version parser used by npm.",
5
5
  "main": "index.js",
6
6
  "scripts": {