Use native Object.assign instead of xtend
jimmywarting opened this issue · 1 comments
jimmywarting commented
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)
twada commented
@jimmywarting Thanks! I'll replace it in power-assert v2, dropping support for super-old environments.