It is recommended to no longer use util.inherits but instead use es6 classes and extends, see https://nodejs.org/api/util.html#utilinheritsconstructor-superconstructor. In this PR we follow this advice and migrate the http2wrapper accordingly. Other instances of util.inherit are left for follow-up PRs.
It is recommended to no longer use
util.inherits
but instead use es6 classes andextends
, see https://nodejs.org/api/util.html#utilinheritsconstructor-superconstructor. In this PR we follow this advice and migrate the http2wrapper accordingly. Other instances of util.inherit are left for follow-up PRs.