npm · npm:hasown
hasown active
A robust, ES3 compatible, "has own property" predicate.
The latest stable version of hasown is 2.0.4, published on 2026-05-28. Verified by Vigia on 2026-11-12.
| Latest stable version | 2.0.4 |
|---|---|
| Published | 2026-05-28 18:11:39 UTC |
| Install | npm install hasown@latest |
| Requires (engines) | {"node":">= 0.4"} |
| Peer dependencies | — |
| Dist-tags | latest: 2.0.4 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:42:26 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Is your project affected?
Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md
Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-05-28 18:11:39 UTC · 168 days ago |
| Stable releases in the last 12 months | 2 |
| Published versions | 6 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.0.4 | 2026-05-28 18:11:39 UTC |
2.0.3 | 2026-04-17 22:12:06 UTC |
2.0.2 | 2024-03-10 17:38:25 UTC |
2.0.1 | 2024-02-11 05:52:03 UTC |
2.0.0 | 2023-10-21 04:54:15 UTC |
1.0.1 | 2014-09-03 06:38:17 UTC |
Showing the 6 most recent of 6 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 | 2.0.4 |
node 18 | 2.0.4 |
node 20 | 2.0.4 |
node 22 | 2.0.4 |
node 24 | 2.0.4 |
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 hasown?
The latest stable version of hasown is 2.0.4, published on 2026-05-28. Verified by Vigia on 2026-11-12.
How do I install the latest version of hasown?
Run npm install hasown@latest. The latest stable version is 2.0.4 (verified 2026-11-12).
Is hasown deprecated?
No. hasown is not marked as deprecated in the registry.
Which Node.js version does hasown require?
hasown 2.0.4 declares this requirement: {"node":">= 0.4"}.
Does hasown 2.0.4 have known vulnerabilities?
No known advisories affect hasown 2.0.4 according to the data Vigia checks.
Is hasown still maintained?
hasown published 2 stable releases in the last 12 months; the most recent was 168 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- nanoid
- fs-extra
- yargs
- picocolors
- react-is
- resolve-from
- cross-spawn
- shebang-command
- estraverse
- pretty-format
- json5
- acorn
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/hasown) [](https://vigia.coredls.cloud/npm/hasown) [](https://vigia.coredls.cloud/npm/hasown)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/hasown
GET https://vigia.coredls.cloud/v1/packages/npm/hasown/versions/{version}