-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dates should merge #31
Labels
Comments
You can fix this by changing these lines to: if (Object.prototype.toString.call(src[key]).includes("Date")) {
dst[key] = src[key];
} else if (typeof src[key] !== 'object' || !src[key]) {
dst[key] = src[key];
}
else {
if (!target[key]) {
dst[key] = src[key];
} else {
dst[key] = deepmerge(target[key], src[key]);
}
} (I don't bother to write a PR because the package seems pretty abandoned.) EDIT: If you don't need |
@neopostmodern this package isn't abandoned, it's waiting for someone like you to maintain it! ;-) Just sign up at #25 and I'll make you a collaborator + give you the release bit for NPM. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For example:
Expected behavior:
The text was updated successfully, but these errors were encountered: