Skip to content
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

Use native Object.assign instead of xtend #235

Open
jimmywarting opened this issue Oct 16, 2018 · 1 comment
Open

Use native Object.assign instead of xtend #235

jimmywarting opened this issue Oct 16, 2018 · 1 comment

Comments

@jimmywarting
Copy link

xtend can easily be replaced with Object.assign

This reduce the dependencies and possible also avoid duplicated versions where some package don't use the same version range for the xtend package

// immutable
Object.assign({}, a, b)

// mutable
Object.assign(a, b)
@mattdesl
Copy link
Owner

This would lead to a breaking version change in budo, which is fine but I may as well roll other features into the same breaking change. I don't see how removing a single dependency will have any noticeable impact, so I am not in any real rush to change this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants