npm · npm:compare-versions
compare-versions active
Compare semver version strings to find greater, equal or lesser.
The latest stable version of compare-versions is 6.1.1, published on 2024-07-13. Verified by Vigia on 2026-11-12.
| Latest stable version | 6.1.1 |
|---|---|
| Published | 2024-07-13 15:16:58 UTC |
| Install | npm install compare-versions@latest |
| Requires (engines) | none declared |
| Peer dependencies | — |
| Dist-tags | latest: 6.1.1 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 14:01:30 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "compare-versions", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/compare-versions . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2024-07-13 15:16:58 UTC · 852 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 37 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
6.1.1 | 2024-07-13 15:16:58 UTC |
6.1.0 | 2023-08-08 03:35:50 UTC |
6.0.0 | 2023-07-08 18:48:27 UTC |
5.0.3 | 2022-12-13 16:32:32 UTC |
5.0.2 | 2022-12-13 08:28:56 UTC |
5.0.1 | 2022-08-26 18:01:46 UTC |
5.0.0 | 2022-08-26 01:48:45 UTC |
4.1.4 | 2022-08-24 06:07:59 UTC |
4.1.3 | 2022-01-11 17:44:14 UTC |
4.1.2 | 2021-12-10 03:21:37 UTC |
4.1.1 | 2021-11-12 22:59:44 UTC |
4.1.0 | 2021-11-12 22:41:50 UTC |
4.0.2 | 2021-11-12 19:39:15 UTC |
4.0.1 | 2021-11-02 00:31:04 UTC |
4.0.0 | 2021-10-31 02:45:37 UTC |
3.6.0 | 2020-02-14 00:39:23 UTC |
3.5.1 | 2019-07-31 20:04:15 UTC |
3.5.0 | 2019-06-23 06:19:06 UTC |
3.4.0 | 2018-08-31 04:17:59 UTC |
3.3.1 | 2018-08-18 18:04:41 UTC |
Showing the 20 most recent of 33 versions. JSON
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of compare-versions?
The latest stable version of compare-versions is 6.1.1, published on 2024-07-13. Verified by Vigia on 2026-11-12.
How do I install the latest version of compare-versions?
Run npm install compare-versions@latest. The latest stable version is 6.1.1 (verified 2026-11-12).
Is compare-versions deprecated?
No. compare-versions is not marked as deprecated in the registry.
Which Node.js version does compare-versions require?
compare-versions 6.1.1 does not declare a Node.js version requirement.
Does compare-versions 6.1.1 have known vulnerabilities?
No known advisories affect compare-versions 6.1.1 according to the data Vigia checks.
Is compare-versions still maintained?
compare-versions published 0 stable releases in the last 12 months; the most recent was 852 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- unzipper
- google-gax
- semver-compare
- next-tick
- is-path-cwd
- minimalistic-crypto-utils
- pkce-challenge
- @sindresorhus/merge-streams
- postcss-safe-parser
- chrome-launcher
- @shikijs/langs
- html2canvas
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/compare-versions) [](https://vigia.coredls.cloud/npm/compare-versions) [](https://vigia.coredls.cloud/npm/compare-versions)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/compare-versions
GET https://vigia.coredls.cloud/v1/packages/npm/compare-versions/versions/{version}