Back to Explore

ljharb/define-data-property

GitHub
2 watchersOpen source

Last release:

This software defines a data property on a JavaScript object, including configurable, enumerable, writable, and value settings. It can fall back to simple assignment in engines without descriptor support, and the optional `loose` mode can also fall back when setting non-normal data properties.

Project status

  • Maintenance status: The repository shows an upstream push on 2026-01-13, but the most recent published updates in the provided data are from 2024-02-13 (v1.1.4), so it looks low-cadence (possibly still maintained, but not actively publishing frequent updates).
  • Update cadence: There is a gap of about 2+ years between the initial release series (2023-09) and the latest documented update (2024-02), and no additional published updates are shown after v1.1.4, even though an upstream push occurred in 2026-01.

AI summary generated

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

Recent updates

  • v1.1.4

    v1.1.4 refactors the internal `Object.defineProperty` support logic to rely on `es-define-property` and updates related development types. No release-note content was provided, so the behavioral implications of the refactor are not documented there.

  • v1.1.3

    v1.1.3 does not include publisher release notes. The changes in the diff are primarily packaging and TypeScript declaration related, plus small dependency bumps and CI workflow tweaks.

  • v1.1.2

    Release v1.1.2 was published on 2024-02-06, but the publisher did not provide any release notes. No changes, fixes, or migration details are documented in the provided information.

  • v1.1.1

    v1.1.1 contains a small runtime change in index.js to detect a broken Object.defineProperty implementation (notably IE 8), falling back when defineProperty throws. The rest of the diff is primarily test and TypeScript build/type packaging updates, plus dev dependency bumps.

  • v1.1.0

    This release has no publisher-provided release notes in the supplied data. The code diff shows functional changes to the defineDataProperty API, including a new optional `loose` argument and expanded validation to allow `null` for the `non*` options.

  • v1.0.1

    Release v1.0.1 mainly updates the package metadata and build toolchain to support TypeScript typings. The code changes shown are packaging, TS config, and dependency/tooling updates, with no runtime logic changes included in the diff.

    Features
  • v1.0.0

    No release notes were provided for v1.0.0, so the changes in this version cannot be determined from the release data alone. Developers should review the v1.0.0 source diff and changelog in the repository to identify any API, behavior, or dependency changes before upgrading.