-
-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
Priority: HighAfter critical issues are fixed, these should be dealt with before any further issues.After critical issues are fixed, these should be dealt with before any further issues.Status: ReleasedIt's now live.It's now live.Type: BugInconsistencies or issues which will cause a problem for users or implementors.Inconsistencies or issues which will cause a problem for users or implementors.
Description
Bug Report
If one or more values are undefined
, the mergeOthers
route is taken.
Expected behavior
const x = { a: { b: 1 } };
const y = { a: undefined };
const z = { a: { c: 3 } };
const merged = deepmerge(x, y, z); // { a: { b: 1, c: 3 } }
Actual behavior
const x = { a: { b: 1 } };
const y = { a: undefined };
const z = { a: { c: 3 } };
const merged = deepmerge(x, y, z); // { a: z.a }
Metadata
Metadata
Assignees
Labels
Priority: HighAfter critical issues are fixed, these should be dealt with before any further issues.After critical issues are fixed, these should be dealt with before any further issues.Status: ReleasedIt's now live.It's now live.Type: BugInconsistencies or issues which will cause a problem for users or implementors.Inconsistencies or issues which will cause a problem for users or implementors.