hasown 2.0.2
A robust, ES3 compatible, "has own property" predicate.
hasown@2.0.2 was published on 2024-03-10. Its manifest declares 1 runtime dependency and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >= 0.4.
All hasown versions · Permanent reference to 2.0.2 · Latest release
Package specifications
| Version | 2.0.2 |
|---|---|
| License declaration | MIT |
| Published | 2024-03-10T17:38:25.117Z |
| Node.js requirement | >= 0.4 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 1 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 8.56 KiB |
| Published file count | 10 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 1 |
| Repository stars | 3 |
| Repository forks | 1 |
Install hasown 2.0.2
npm install hasown@2.0.2 pnpm add hasown@2.0.2 yarn add hasown@2.0.2
Runtime dependencies
- function-bind ^1.1.2
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- function-bind@1.1.2 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 5/10 — 6 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5 |
|---|---|
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Code-Review | 0/10 — Found 0/30 approved changesets -- score normalized to 0 |
| SAST | 0/10 — no SAST tool detected |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| Security-Policy | 10/10 — security policy file detected |
Evidence and freshness
- https://registry.npmjs.org/hasown/2.0.2 — retrieved 2026-10-29T11:25:37.757Z
- https://api.deps.dev/v3/projects/github.com%2Finspect-js%2FhasOwn — retrieved 2026-10-29T05:59:48.398Z
- https://api.deps.dev/v3/systems/npm/packages/hasown/versions/2.0.2 — retrieved 2026-10-29T11:25:38.248Z
- https://api.deps.dev/v3/systems/npm/packages/hasown/versions/2.0.2:dependencies — retrieved 2026-10-29T11:25:38.257Z