Skip to content

lib: replace util._extend with object.assign

Rodrigo Muino Tomonari requested to merge github/fork/suryagh/objectassign into master
Checklist
  • make -j4 test (UNIX) or vcbuild test nosign (Windows) passes
  • the commit message follows commit guidelines
Affected core subsystem(s)

http, tls, child-process, cluster, domain, fs, https, tty

Description of change

Object.assign is built-in and has some performance advantage- over the polyfill.

One thing to keep an eye is that _extend used to fail silently- while assign throws an error. Let me know if there are any concerns- or if the pr need to be split based on the components.

Merge request reports

Loading