Skip to content

feat(collections/unstable): add "union" to DeepMergeOptions.arrays#7049

Open
DonBLong wants to merge 1 commit intodenoland:mainfrom
DonBLong:feat/collections/deep-merge/arrays-union
Open

feat(collections/unstable): add "union" to DeepMergeOptions.arrays#7049
DonBLong wants to merge 1 commit intodenoland:mainfrom
DonBLong:feat/collections/deep-merge/arrays-union

Conversation

@DonBLong
Copy link

Adds a "union" MergingStrategy for arrays only, through a new exported type ArraysMergingStrategy. Implementation uses the union function imported from "./union.ts"

closes: #7048

Adds a `"union"` `MergingStrategy` for `arrays` only, through a new exported type `ArraysMergingStrategy`.
Implementation uses the `union` `function` imported from `"./union.ts"`
@DonBLong DonBLong requested a review from kt3k as a code owner March 13, 2026 16:05
@CLAassistant
Copy link

CLAassistant commented Mar 13, 2026

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Mar 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.03%. Comparing base (6df7f21) to head (8fde6b3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7049      +/-   ##
==========================================
+ Coverage   94.01%   94.03%   +0.01%     
==========================================
  Files         627      628       +1     
  Lines       50029    50140     +111     
  Branches     8807     8835      +28     
==========================================
+ Hits        47037    47148     +111     
  Misses       2413     2413              
  Partials      579      579              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "union" MergingStrategy to DeepMergingOptions.arrays in @std/collections/deep-merge

2 participants