Back to Explore

sindresorhus/merge-descriptors

GitHub
3 watchersOpen source

Last release:

merge-descriptors merges properties from one JavaScript object into another, including non-enumerable and accessor-defined properties, while preserving property descriptors. It is useful when you need a destination object to receive an accurate copy of a source object's property definitions, with an option to control whether existing properties are overwritten.

Project status

  • Maintenance status: The repository appears quiet/dormant, with the last upstream push on 2023-12-21 and the most recent published update (v2.0.0 on 2023-11-16), so there is no evidence of active maintenance as of 2026-09-10.
  • Update cadence: Updates are sparse, with a long gap since 2023, and no evidence of recent iteration or frequent updates.

AI summary generated

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

Recent updates

  • v2.0.0

    v2.0.0 modernizes merge-descriptors to require Node.js 18 and adds TypeScript type definitions. The runtime implementation is largely the same (descriptor-based copying), but the package metadata and export surface changed substantially, and the build/test toolchain was replaced.

    BreakingFeatures
  • v1.0.3

    Release v1.0.3 only notes an internal update to the repository URL. No functional changes, API updates, bug fixes, or security issues are described in the release notes.

  • 1.0.1

    This release is version 1.0.1. No release notes were provided, so the specific changes, fixes, or potential upgrade impacts are not documented.