Back to Explore

ljharb/own-keys

GitHub
Open source

Last release:

own-keys is a JavaScript utility that returns an object's own property keys, including both string and symbol keys. It also aims to include non-enumerable properties when possible, which makes it useful when you need a more complete view of an object’s keys than simple enumeration.

Project status

  • Actively maintained: the most recent upstream push and latest tagged update (v1.0.2) are both in 2026-07-21, which is only a few months before today (2026-10-22).
  • Apparent update cadence: there was a long gap from 2024-12-29 to 2026-07-21, followed by v1.0.2 and v1.0.1 history showing at least one update within the same day as the latest push (v1.0.2 is minutes earlier than the push timestamp).

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.0.2

    v1.0.2 updates the own-keys implementation to better preserve insertion order of own property names on platforms where Reflect.ownKeys and/or Object.getOwnPropertyNames order cannot be trusted. The release also bumps several dependencies and adjusts linting and TypeScript config for the project itself.

    Breaking
  • v1.0.1

    v1.0.1 makes small internal/test changes and a runtime tweak to the fallback export implementation when `Reflect.ownKeys` (or the intrinsic `$ownKeys`) is not available. The release notes section provided by the publisher is empty, so the actual behavior difference is only discoverable from the code diff and changelog commits.

  • v1.0.0

    Release v1.0.0 was published on 2024-12-29, but no release notes or change log details were provided by the publisher. As a result, there is no documented information here about new features, breaking changes, bug fixes, security updates, or migration requirements.