hasown is a JavaScript utility that provides a robust “has own property” predicate, designed to be ES3 compatible. It is useful for checking whether an object has a given property directly on the object (not inherited).
Project status
- The repository appears actively maintained, with a recent upstream push on 2026-05-29 and follow-on updates released in 2026 (v2.0.4 and v2.0.3).
- Apparent update cadence: after a long gap (v2.0.2 in 2024-03-10), updates resumed with v2.0.3 on 2026-04-17 and v2.0.4 on 2026-05-28, suggesting a short-term burst of maintenance activity.
AI summary generated Today
Recent updates
v2.0.4
5 days agoRelease v2.0.4 mainly updates the TypeScript type definitions for hasOwn, removing a previously present overload and adding a type-only test to guard the remaining overload behavior. It also bumps several development dependencies and updates package version metadata, with no runtime code changes shown in the provided diff.
v2.0.3
1 month agoRelease v2.0.3 contains no publisher-provided release notes. The code diff shows a tooling-focused update (CI/workflows, lint configuration, audit command, and dev dependency bumps) plus a TypeScript typing improvement in the public .d.ts file.
v2.0.2
3/10/2024Release v2.0.2 was published on 2024-03-10, but no release notes were provided by the publisher. As a result, there is no documented information about changes, bug fixes, breaking changes, or security updates in this release.