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
- The source (sindresorhus/merge-descriptors) does not show evidence of active maintenance after late 2023, with the last recorded upstream push on 2023-12-21.
- Update cadence appears low, with notable changes in November 2023 (v1.0.3 and v2.0.0), and then no further documented updates afterward.
AI summary generated Today
Recent updates
v2.0.0
11/16/2023v2.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.
BreakingFeaturesv1.0.3
11/16/2023Release 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.