Vigia

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 version6.1.1
Published2024-07-13 15:16:58 UTC
Installnpm install compare-versions@latest
Requires (engines)none declared
Peer dependencies—
Dist-tagslatest: 6.1.1
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-12 14:01:30 UTC
Sourcesapi.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

Check my whole package.json

Using an AI coding agent every day? Connect Vigia once and it checks this by itself.

Maintenance

Activitydormant
Last stable release2024-07-13 15:16:58 UTC · 852 days ago
Stable releases in the last 12 months0
Published versions37

Heuristic based only on release dates; it does not measure issue or security response times.

Version history

VersionPublished
6.1.12024-07-13 15:16:58 UTC
6.1.02023-08-08 03:35:50 UTC
6.0.02023-07-08 18:48:27 UTC
5.0.32022-12-13 16:32:32 UTC
5.0.22022-12-13 08:28:56 UTC
5.0.12022-08-26 18:01:46 UTC
5.0.02022-08-26 01:48:45 UTC
4.1.42022-08-24 06:07:59 UTC
4.1.32022-01-11 17:44:14 UTC
4.1.22021-12-10 03:21:37 UTC
4.1.12021-11-12 22:59:44 UTC
4.1.02021-11-12 22:41:50 UTC
4.0.22021-11-12 19:39:15 UTC
4.0.12021-11-02 00:31:04 UTC
4.0.02021-10-31 02:45:37 UTC
3.6.02020-02-14 00:39:23 UTC
3.5.12019-07-31 20:04:15 UTC
3.5.02019-06-23 06:19:06 UTC
3.4.02018-08-31 04:17:59 UTC
3.3.12018-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

Badges for your README

Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:

[![version](https://vigia.coredls.cloud/badge/npm/compare-versions/version.svg)](https://vigia.coredls.cloud/npm/compare-versions)
[![maintained](https://vigia.coredls.cloud/badge/npm/compare-versions/maintained.svg)](https://vigia.coredls.cloud/npm/compare-versions)
[![status](https://vigia.coredls.cloud/badge/npm/compare-versions/status.svg)](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}