NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2435 most downloaded on npm
Compare semver version strings to find greater, equal or lesser.
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 1.7 years
Nearly every release is documented
notes for 33 of 33 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
37 releases · first in 2015
Fix ESM module browser support by appending .js extension to imports.
.js extension to imports.Add new function validateStrict to validate according to strict semver rules.
validateStrict to validate according to strict semver rules.One column per quarter.
BREAKING CHANGE: satisfies() now supports npm comparator sets. This should not be a breaking change but it will assign meaning to spaces in the range…
satisfies() now supports npm comparator sets. This should not be a breaking change but it will assign meaning to spaces in the range which previously were ignored.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix npm build chache from 5.0.2.
Fix satisfies() handling of 0.x versions.
satisfies() handling of 0.x versions.Include source file in npm bundle for source maps.
BREAKING CHANGE: main export is now named.
- Fix satisfies() CJS export.
satisfies() CJS export.Export CJS style in ESM for cross compatibility.
Do not allow leading comparators in validate().
validate().Remove optional chaining operator.
Add satisfies() function to test for range match.
satisfies() function to test for range match.- Fix wildcard comparisons.
Remove { "type": "module" } from package.json and set { "sideEffects": false }.
{ "type": "module" } from package.json and set { "sideEffects": false }.Add new ESM version in addition to the original CJS version.
Add validate() function for checking whether a version number is semver-compliant.
validate() function for checking whether a version number is semver-compliant.Refactor map compare with less code.
Add api returning true or false given a comparison operator.
Show rejected version in error message.
Fix TypeScript export declaration.
- Add TypeScript declarations.
Fix rare bug in handling optional metadata.
Support Chromium version numbers.
Ignore leading zero in numbers.
- Fix for leading 'v'.
- Validate input data.
Handle numbers in pre-release versions.
Fix for versions with <3 digits.
Change global window accessor from returnExports to compareVersions.
Move patch check outside of the for loop.
- Add a base 10 radix.
Added support for semver pre-release and metadata syntax.
- Initial release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →