carsondarling/node-http-error

util._extend been deprecated use Object.assign() instead

Closed this issue · 3 comments

c1tt1 commented

Since util._extend is deprecated and should not be used in new code. JavaScript comes with very similar built-in functionality through Object.assign().

https://nodejs.org/api/util.html#util_util_extend_target_source

@cryst10 I'll take a look at this at some point this week. If you want to propose a PR, that would be great.

Closing with #5

These changes are now available as node-http-error@2.0.0