lib: reduce internal usage of public require('util') · Issue #26546 · nodejs/node (original) (raw)
// Change this util.inherits(A, B);
// To this Object.setPrototypeOf(A.prototype, B.prototype); Object.setPrototypeOf(A, B);
// Change this util.inherits(A, B);
// To this Object.setPrototypeOf(A.prototype, B.prototype); Object.setPrototypeOf(A, B);