npm · npm:default-compare
default-compare active
Basic sort algorithm that has similar behavior to Array.prototype.sort for null and undefined, but also allows sorting by an object property.
The latest stable version of default-compare is 1.0.0, published on 2017-09-11. Verified by Vigia on 2026-11-12.
| Latest stable version | 1.0.0 |
|---|---|
| Published | 2017-09-11 16:37:48 UTC |
| Install | npm install default-compare@latest |
| Requires (engines) | {"node":">=0.10.0"} |
| Peer dependencies | — |
| Dist-tags | latest: 1.0.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:30:44 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 "default-compare", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/default-compare . 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 | 2017-09-11 16:37:48 UTC · 3349 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 1 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
1.0.0 | 2017-09-11 16:37:48 UTC |
Showing the 1 most recent of 1 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 1.0.0 |
node 18 | 1.0.0 |
node 20 | 1.0.0 |
node 22 | 1.0.0 |
node 24 | 1.0.0 |
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 default-compare?
The latest stable version of default-compare is 1.0.0, published on 2017-09-11. Verified by Vigia on 2026-11-12.
How do I install the latest version of default-compare?
Run npm install default-compare@latest. The latest stable version is 1.0.0 (verified 2026-11-12).
Is default-compare deprecated?
No. default-compare is not marked as deprecated in the registry.
Which Node.js version does default-compare require?
default-compare 1.0.0 declares this requirement: {"node":">=0.10.0"}.
Does default-compare 1.0.0 have known vulnerabilities?
No known advisories affect default-compare 1.0.0 according to the data Vigia checks.
Is default-compare still maintained?
default-compare published 0 stable releases in the last 12 months; the most recent was 3349 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @cspell/dict-public-licenses
- @types/react-modal
- array-sort
- @cspell/dict-en_us
- @fastify/send
- read-package-tree
- @turf/explode
- @salesforce/sf-plugins-core
- @cspell/dict-filetypes
- traverse-chain
- run-parallel-limit
- nofilter
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/default-compare) [](https://vigia.coredls.cloud/npm/default-compare) [](https://vigia.coredls.cloud/npm/default-compare)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/default-compare
GET https://vigia.coredls.cloud/v1/packages/npm/default-compare/versions/{version}