Back to Explore

TehShrike/deepmerge

GitHub
1 watchersOpen source

Last release: 3/16/2023

deepmerge is a JavaScript library for deeply merging the enumerable properties of two or more objects. It returns a new merged object, supports customizable array merge behavior (for example concatenation or overwriting), and can merge multiple objects together using merge.all.

Project status

  • The repository appears not to be actively maintained in a frequent way, with the most recent upstream push dated 2023-04-21, and the latest tagged update v4.3.1 dated 2023-03-16.
  • The apparent update cadence is irregular, with v4.3.0 on 2023-01-30 and v4.3.1 on 2023-03-16, followed by a much longer gap since v4.2.2 (2019-10-28).

AI summary generated Today

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

Recent updates

  • v4.3.1

    3/16/2023

    No publisher release notes were provided for v4.3.1. The code diff shows this release is primarily a TypeScript typing correction around the arrayMerge option, plus some documentation/test modernization and dev dependency updates.

  • v4.3.0

    1/30/2023

    v4.3.0 mainly includes a small runtime safety fix around how `deepmerge` checks symbol/property enumerability, preventing a possible thrown error. The release also updates CI configuration, regenerates the lockfile, and reformats some documentation/code style files.

  • v4.2.2

    10/28/2019

    Release v4.2.2 was published on 2019-10-28. No release notes were provided by the publisher, so there is no documented information about new features, fixes, or breaking changes in this release.

  • v4.2.1

    10/22/2019

    No release notes were provided for v4.2.1 in the supplied release data. The code changes instead indicate a targeted fix to deep-merge behavior around falsy values, plus a small internal refactor to improve prototype-safety checks.

  • v4.2.0

    10/21/2019

    Release v4.2.0 introduces new merge behavior intended to prevent prototype-pollution style issues by skipping “unsafe” properties during object merging. The only code change is a helper that filters which source keys are allowed to be merged into the destination, and it is accompanied by new regression tests.

    BreakingSecurity
  • v4.1.2

    10/21/2019

    Release v4.1.2 contains no published release notes. The code change is small but behaviorally significant in how `deepmerge` handles the `options` object, plus dev dependency bumps in the lockfile and package version increment.

  • v4.1.1

    10/8/2019

    Release v4.1.1 makes `deepmerge` stop mutating the caller-provided `options` object. It also adds a regression test to ensure `options` remains unchanged, with minor doc and version metadata updates.

  • v4.1.0

    10/7/2019

    No release notes were provided for v4.1.0. The code changes are small, centered on making the internal clone helper available to custom array merge implementations.

    Features
  • v4.0.0

    7/8/2019

    This release notes section provides no publisher documentation. The included code diff indicates a package entry point and build output change, and a version bump in package metadata.

  • v3.3.0

    6/20/2019

    Version v3.3.0 was released on 2019-06-20, but no release notes were provided by the publisher. As a result, there is no documented information here about new features, bug fixes, security updates, or breaking changes.