lib: remove `inherits()` usage
This switches all util.inherits()
calls to use
Object.setPrototypeOf()
instead. In fact, util.inherits()
is
mainly a small wrapper around exactly this function while adding
the _super
property on the object as well.
Refs: #24395 (closed)
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines