Index: node_modules/es-toolkit/dist/object/toMerged.mjs
===================================================================
--- node_modules/es-toolkit/dist/object/toMerged.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/object/toMerged.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,26 @@
+import { clone } from './clone.mjs';
+import { mergeWith } from './mergeWith.mjs';
+import { isPlainObject } from '../predicate/isPlainObject.mjs';
+
+function toMerged(target, source) {
+    return mergeWith(clone(target), source, function mergeRecursively(targetValue, sourceValue) {
+        if (Array.isArray(sourceValue)) {
+            if (Array.isArray(targetValue)) {
+                return mergeWith(clone(targetValue), sourceValue, mergeRecursively);
+            }
+            else {
+                return mergeWith([], sourceValue, mergeRecursively);
+            }
+        }
+        else if (isPlainObject(sourceValue)) {
+            if (isPlainObject(targetValue)) {
+                return mergeWith(clone(targetValue), sourceValue, mergeRecursively);
+            }
+            else {
+                return mergeWith({}, sourceValue, mergeRecursively);
+            }
+        }
+    });
+}
+
+export { toMerged };
